module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={i:r,l:false,exports:{}};var i=true;try{e[r].call(n.exports,n,n.exports,__webpack_require__);i=false}finally{if(i)delete t[r]}n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(691)}r(__webpack_require__);return startup()}({1:function(e,r,t){"use strict";var n=this&&this.__awaiter||function(e,r,t,n){function adopt(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(t,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?t(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:true});const i=t(129);const a=t(622);const o=t(669);const u=t(672);const s=o.promisify(i.exec);function cp(e,r,t={}){return n(this,void 0,void 0,function*(){const{force:n,recursive:i}=readCopyOptions(t);const o=(yield u.exists(r))?yield u.stat(r):null;if(o&&o.isFile()&&!n){return}const s=o&&o.isDirectory()?a.join(r,a.basename(e)):r;if(!(yield u.exists(e))){throw new Error(`no such file or directory: ${e}`)}const f=yield u.stat(e);if(f.isDirectory()){if(!i){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,s,0,n)}}else{if(a.relative(e,s)===""){throw new Error(`'${s}' and '${e}' are the same file`)}yield copyFile(e,s,n)}})}r.cp=cp;function mv(e,r,t={}){return n(this,void 0,void 0,function*(){if(yield u.exists(r)){let n=true;if(yield u.isDirectory(r)){r=a.join(r,a.basename(e));n=yield u.exists(r)}if(n){if(t.force==null||t.force){yield rmRF(r)}else{throw new Error("Destination already exists")}}}yield mkdirP(a.dirname(r));yield u.rename(e,r)})}r.mv=mv;function rmRF(e){return n(this,void 0,void 0,function*(){if(u.IS_WINDOWS){try{if(yield u.isDirectory(e,true)){yield s(`rd /s /q "${e}"`)}else{yield s(`del /f /a "${e}"`)}}catch(e){if(e.code!=="ENOENT")throw e}try{yield u.unlink(e)}catch(e){if(e.code!=="ENOENT")throw e}}else{let r=false;try{r=yield u.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throw e;return}if(r){yield s(`rm -rf "${e}"`)}else{yield u.unlink(e)}}})}r.rmRF=rmRF;function mkdirP(e){return n(this,void 0,void 0,function*(){yield u.mkdirP(e)})}r.mkdirP=mkdirP;function which(e,r){return n(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}if(r){const r=yield which(e,false);if(!r){if(u.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}}try{const r=[];if(u.IS_WINDOWS&&process.env.PATHEXT){for(const e of process.env.PATHEXT.split(a.delimiter)){if(e){r.push(e)}}}if(u.isRooted(e)){const t=yield u.tryGetExecutablePath(e,r);if(t){return t}return""}if(e.includes("/")||u.IS_WINDOWS&&e.includes("\\")){return""}const t=[];if(process.env.PATH){for(const e of process.env.PATH.split(a.delimiter)){if(e){t.push(e)}}}for(const n of t){const t=yield u.tryGetExecutablePath(n+a.sep+e,r);if(t){return t}}return""}catch(e){throw new Error(`which failed with message ${e.message}`)}})}r.which=which;function readCopyOptions(e){const r=e.force==null?true:e.force;const t=Boolean(e.recursive);return{force:r,recursive:t}}function cpDirRecursive(e,r,t,i){return n(this,void 0,void 0,function*(){if(t>=255)return;t++;yield mkdirP(r);const n=yield u.readdir(e);for(const a of n){const n=`${e}/${a}`;const o=`${r}/${a}`;const s=yield u.lstat(n);if(s.isDirectory()){yield cpDirRecursive(n,o,t,i)}else{yield copyFile(n,o,i)}}yield u.chmod(r,(yield u.stat(e)).mode)})}function copyFile(e,r,t){return n(this,void 0,void 0,function*(){if((yield u.lstat(e)).isSymbolicLink()){try{yield u.lstat(r);yield u.unlink(r)}catch(e){if(e.code==="EPERM"){yield u.chmod(r,"0666");yield u.unlink(r)}}const t=yield u.readlink(e);yield u.symlink(t,r,u.IS_WINDOWS?"junction":null)}else if(!(yield u.exists(r))||t){yield u.copyFile(e,r)}})}},9:function(e,r,t){"use strict";var n=this&&this.__awaiter||function(e,r,t,n){function adopt(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(t,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?t(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,r||[])).next())})};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)if(Object.hasOwnProperty.call(e,t))r[t]=e[t];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const a=i(t(87));const o=i(t(614));const u=i(t(129));const s=i(t(622));const f=i(t(1));const c=i(t(672));const l=process.platform==="win32";class ToolRunner extends o.EventEmitter{constructor(e,r,t){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=r||[];this.options=t||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,r){const t=this._getSpawnFileName();const n=this._getSpawnArgs(e);let i=r?"":"[command]";if(l){if(this._isCmdFile()){i+=t;for(const e of n){i+=` ${e}`}}else if(e.windowsVerbatimArguments){i+=`"${t}"`;for(const e of n){i+=` ${e}`}}else{i+=this._windowsQuoteCmdArg(t);for(const e of n){i+=` ${this._windowsQuoteCmdArg(e)}`}}}else{i+=t;for(const e of n){i+=` ${e}`}}return i}_processLineBuffer(e,r,t){try{let n=r+e.toString();let i=n.indexOf(a.EOL);while(i>-1){const e=n.substring(0,i);t(e);n=n.substring(i+a.EOL.length);i=n.indexOf(a.EOL)}r=n}catch(e){this._debug(`error processing line. Failed with error ${e}`)}}_getSpawnFileName(){if(l){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(l){if(this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const t of this.args){r+=" ";r+=e.windowsVerbatimArguments?t:this._windowsQuoteCmdArg(t)}r+='"';return[r]}}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const r=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let t=false;for(const n of e){if(r.some(e=>e===n)){t=true;break}}if(!t){return e}let n='"';let i=true;for(let r=e.length;r>0;r--){n+=e[r-1];if(i&&e[r-1]==="\\"){n+="\\"}else if(e[r-1]==='"'){i=true;n+='"'}else{i=false}}n+='"';return n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let r='"';let t=true;for(let n=e.length;n>0;n--){r+=e[n-1];if(t&&e[n-1]==="\\"){r+="\\"}else if(e[n-1]==='"'){t=true;r+="\\"}else{t=false}}r+='"';return r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};r.outStream=e.outStream||process.stdout;r.errStream=e.errStream||process.stderr;return r}_getSpawnOptions(e,r){e=e||{};const t={};t.cwd=e.cwd;t.env=e.env;t["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){t.argv0=`"${r}"`}return t}exec(){return n(this,void 0,void 0,function*(){if(!c.isRooted(this.toolPath)&&(this.toolPath.includes("/")||l&&this.toolPath.includes("\\"))){this.toolPath=s.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield f.which(this.toolPath,true);return new Promise((e,r)=>{this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const t=this._cloneExecOptions(this.options);if(!t.silent&&t.outStream){t.outStream.write(this._getCommandString(t)+a.EOL)}const n=new ExecState(t,this.toolPath);n.on("debug",e=>{this._debug(e)});const i=this._getSpawnFileName();const o=u.spawn(i,this._getSpawnArgs(t),this._getSpawnOptions(this.options,i));const s="";if(o.stdout){o.stdout.on("data",e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!t.silent&&t.outStream){t.outStream.write(e)}this._processLineBuffer(e,s,e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}})})}const f="";if(o.stderr){o.stderr.on("data",e=>{n.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!t.silent&&t.errStream&&t.outStream){const r=t.failOnStdErr?t.errStream:t.outStream;r.write(e)}this._processLineBuffer(e,f,e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}})})}o.on("error",e=>{n.processError=e.message;n.processExited=true;n.processClosed=true;n.CheckComplete()});o.on("exit",e=>{n.processExitCode=e;n.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);n.CheckComplete()});o.on("close",e=>{n.processExitCode=e;n.processExited=true;n.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);n.CheckComplete()});n.on("done",(t,n)=>{if(s.length>0){this.emit("stdline",s)}if(f.length>0){this.emit("errline",f)}o.removeAllListeners();if(t){r(t)}else{e(n)}});if(this.options.input){if(!o.stdin){throw new Error("child process missing stdin")}o.stdin.end(this.options.input)}})})}}r.ToolRunner=ToolRunner;function argStringToArray(e){const r=[];let t=false;let n=false;let i="";function append(e){if(n&&e!=='"'){i+="\\"}i+=e;n=false}for(let a=0;a0){r.push(i);i=""}continue}append(o)}if(i.length>0){r.push(i.trim())}return r}r.argStringToArray=argStringToArray;class ExecState extends o.EventEmitter{constructor(e,r){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!r){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=r;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const r=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(r)}e._setResult()}}},82:function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:true});function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}r.toCommandValue=toCommandValue},87:function(e){e.exports=require("os")},102:function(e,r,t){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)if(Object.hasOwnProperty.call(e,t))r[t]=e[t];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const i=n(t(747));const a=n(t(87));const o=t(82);function issueCommand(e,r){const t=process.env[`GITHUB_${e}`];if(!t){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!i.existsSync(t)){throw new Error(`Missing file at path: ${t}`)}i.appendFileSync(t,`${o.toCommandValue(r)}${a.EOL}`,{encoding:"utf8"})}r.issueCommand=issueCommand},129:function(e){e.exports=require("child_process")},357:function(e){e.exports=require("assert")},431:function(e,r,t){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)if(Object.hasOwnProperty.call(e,t))r[t]=e[t];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const i=n(t(87));const a=t(82);function issueCommand(e,r,t){const n=new Command(e,r,t);process.stdout.write(n.toString()+i.EOL)}r.issueCommand=issueCommand;function issue(e,r=""){issueCommand(e,{},r)}r.issue=issue;const o="::";class Command{constructor(e,r,t){if(!e){e="missing.command"}this.command=e;this.properties=r;this.message=t}toString(){let e=o+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=true;for(const t in this.properties){if(this.properties.hasOwnProperty(t)){const n=this.properties[t];if(n){if(r){r=false}else{e+=","}e+=`${t}=${escapeProperty(n)}`}}}}e+=`${o}${escapeData(this.message)}`;return e}}function escapeData(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},470:function(e,r,t){"use strict";var n=this&&this.__awaiter||function(e,r,t,n){function adopt(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(t,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?t(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,r||[])).next())})};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)if(Object.hasOwnProperty.call(e,t))r[t]=e[t];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const a=t(431);const o=t(102);const u=t(82);const s=i(t(87));const f=i(t(622));var c;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(c=r.ExitCode||(r.ExitCode={}));function exportVariable(e,r){const t=u.toCommandValue(r);process.env[e]=t;const n=process.env["GITHUB_ENV"]||"";if(n){const r="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${r}${s.EOL}${t}${s.EOL}${r}`;o.issueCommand("ENV",n)}else{a.issueCommand("set-env",{name:e},t)}}r.exportVariable=exportVariable;function setSecret(e){a.issueCommand("add-mask",{},e)}r.setSecret=setSecret;function addPath(e){const r=process.env["GITHUB_PATH"]||"";if(r){o.issueCommand("PATH",e)}else{a.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${f.delimiter}${process.env["PATH"]}`}r.addPath=addPath;function getInput(e,r){const t=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(r&&r.required&&!t){throw new Error(`Input required and not supplied: ${e}`)}return t.trim()}r.getInput=getInput;function setOutput(e,r){a.issueCommand("set-output",{name:e},r)}r.setOutput=setOutput;function setCommandEcho(e){a.issue("echo",e?"on":"off")}r.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=c.Failure;error(e)}r.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}r.isDebug=isDebug;function debug(e){a.issueCommand("debug",{},e)}r.debug=debug;function error(e){a.issue("error",e instanceof Error?e.toString():e)}r.error=error;function warning(e){a.issue("warning",e instanceof Error?e.toString():e)}r.warning=warning;function info(e){process.stdout.write(e+s.EOL)}r.info=info;function startGroup(e){a.issue("group",e)}r.startGroup=startGroup;function endGroup(){a.issue("endgroup")}r.endGroup=endGroup;function group(e,r){return n(this,void 0,void 0,function*(){startGroup(e);let t;try{t=yield r()}finally{endGroup()}return t})}r.group=group;function saveState(e,r){a.issueCommand("save-state",{name:e},r)}r.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}r.getState=getState},614:function(e){e.exports=require("events")},622:function(e){e.exports=require("path")},669:function(e){e.exports=require("util")},672:function(e,r,t){"use strict";var n=this&&this.__awaiter||function(e,r,t,n){function adopt(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(t,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?t(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,r||[])).next())})};var i;Object.defineProperty(r,"__esModule",{value:true});const a=t(357);const o=t(747);const u=t(622);i=o.promises,r.chmod=i.chmod,r.copyFile=i.copyFile,r.lstat=i.lstat,r.mkdir=i.mkdir,r.readdir=i.readdir,r.readlink=i.readlink,r.rename=i.rename,r.rmdir=i.rmdir,r.stat=i.stat,r.symlink=i.symlink,r.unlink=i.unlink;r.IS_WINDOWS=process.platform==="win32";function exists(e){return n(this,void 0,void 0,function*(){try{yield r.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true})}r.exists=exists;function isDirectory(e,t=false){return n(this,void 0,void 0,function*(){const n=t?yield r.stat(e):yield r.lstat(e);return n.isDirectory()})}r.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(r.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}r.isRooted=isRooted;function mkdirP(e,t=1e3,i=1){return n(this,void 0,void 0,function*(){a.ok(e,"a path argument must be provided");e=u.resolve(e);if(i>=t)return r.mkdir(e);try{yield r.mkdir(e);return}catch(n){switch(n.code){case"ENOENT":{yield mkdirP(u.dirname(e),t,i+1);yield r.mkdir(e);return}default:{let t;try{t=yield r.stat(e)}catch(e){throw n}if(!t.isDirectory())throw n}}}})}r.mkdirP=mkdirP;function tryGetExecutablePath(e,t){return n(this,void 0,void 0,function*(){let n=undefined;try{n=yield r.stat(e)}catch(r){if(r.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${r}`)}}if(n&&n.isFile()){if(r.IS_WINDOWS){const r=u.extname(e).toUpperCase();if(t.some(e=>e.toUpperCase()===r)){return e}}else{if(isUnixExecutable(n)){return e}}}const i=e;for(const a of t){e=i+a;n=undefined;try{n=yield r.stat(e)}catch(r){if(r.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${r}`)}}if(n&&n.isFile()){if(r.IS_WINDOWS){try{const t=u.dirname(e);const n=u.basename(e).toUpperCase();for(const i of yield r.readdir(t)){if(n===i.toUpperCase()){e=u.join(t,i);break}}}catch(r){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${r}`)}return e}else{if(isUnixExecutable(n)){return e}}}}return""})}r.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(r.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}},691:function(e,r,t){"use strict";t.r(r);var n=t(470);var i=t(622);var a=t.n(i);class action_Action{static get supportedPlatforms(){return["linux"]}static get isRunningLocally(){return process.env.RUNNER_WORKSPACE===undefined}static get isRunningFromSource(){return a().basename(__dirname)==="model"}static get name(){return"unity-test-runner"}static get rootFolder(){if(action_Action.isRunningFromSource){return a().dirname(a().dirname(a().dirname(__filename)))}return a().dirname(a().dirname(__filename))}static get actionFolder(){return`${action_Action.rootFolder}/action`}static get dockerfile(){return`${action_Action.actionFolder}/Dockerfile`}static get workspace(){return process.env.GITHUB_WORKSPACE}static checkCompatibility(){const e=process.platform;if(!action_Action.supportedPlatforms.includes(e)){throw new Error(`Currently ${e}-platform is not supported`)}}}var o=action_Action;var u=t(986);var s=typeof global=="object"&&global&&global.Object===Object&&global;var f=s;var c=typeof self=="object"&&self&&self.Object===Object&&self;var l=f||c||Function("return this")();var v=l;var d=v.Symbol;var p=d;var h=Object.prototype;var y=h.hasOwnProperty;var g=h.toString;var b=p?p.toStringTag:undefined;function getRawTag(e){var r=y.call(e,b),t=e[b];try{e[b]=undefined;var n=true}catch(e){}var i=g.call(e);if(n){if(r){e[b]=t}else{delete e[b]}}return i}var _=getRawTag;var m=Object.prototype;var w=m.toString;function objectToString(e){return w.call(e)}var O=objectToString;var x="[object Null]",S="[object Undefined]";var E=p?p.toStringTag:undefined;function baseGetTag(e){if(e==null){return e===undefined?S:x}return E&&E in Object(e)?_(e):O(e)}var j=baseGetTag;function isObjectLike(e){return e!=null&&typeof e=="object"}var I=isObjectLike;var A="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||I(e)&&j(e)==A}var R=isSymbol;var C=0/0;function baseToNumber(e){if(typeof e=="number"){return e}if(R(e)){return C}return+e}var k=baseToNumber;function arrayMap(e,r){var t=-1,n=e==null?0:e.length,i=Array(n);while(++t0){if(++r>=ur){return arguments[0]}}else{r=0}return e.apply(undefined,arguments)}}var cr=shortOut;var lr=cr(Ce);var vr=lr;var dr=/\{\n\/\* \[wrapped with (.+)\] \*/,pr=/,? & /;function getWrapDetails(e){var r=e.match(dr);return r?r[1].split(pr):[]}var hr=getWrapDetails;var yr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function insertWrapDetails(e,r){var t=r.length;if(!t){return e}var n=t-1;r[n]=(t>1?"& ":"")+r[n];r=r.join(t>2?", ":" ");return e.replace(yr,"{\n/* [wrapped with "+r+"] */\n")}var gr=insertWrapDetails;function constant(e){return function(){return e}}var br=constant;var _r=function(){try{var e=Se(Object,"defineProperty");e({},"",{});return e}catch(e){}}();var mr=_r;var wr=!mr?te:function(e,r){return mr(e,"toString",{configurable:true,enumerable:false,value:br(r),writable:true})};var Or=wr;var xr=cr(Or);var Sr=xr;function arrayEach(e,r){var t=-1,n=e==null?0:e.length;while(++t-1}var Cr=arrayIncludes;var kr=1,Wr=2,Mr=8,Tr=16,Pr=32,Br=64,Dr=128,$r=256,Lr=512;var Nr=[["ary",Dr],["bind",kr],["bindKey",Wr],["curry",Mr],["curryRight",Tr],["flip",Lr],["partial",Pr],["partialRight",Br],["rearg",$r]];function updateWrapDetails(e,r){Er(Nr,function(t){var n="_."+t[0];if(r&t[1]&&!Cr(e,n)){e.push(n)}});return e.sort()}var Fr=updateWrapDetails;function setWrapToString(e,r,t){var n=r+"";return Sr(e,gr(n,Fr(hr(n),t)))}var zr=setWrapToString;var Ur=1,qr=2,Hr=4,Gr=8,Kr=32,Zr=64;function createRecurry(e,r,t,n,i,a,o,u,s,f){var c=r&Gr,l=c?o:undefined,v=c?undefined:o,d=c?a:undefined,p=c?undefined:a;r|=c?Kr:Zr;r&=~(c?Zr:Kr);if(!(r&Hr)){r&=~(Ur|qr)}var h=[e,r,i,d,l,p,v,u,s,f];var y=t.apply(undefined,h);if(or(e)){vr(y,h)}y.placeholder=n;return zr(y,e,r)}var Yr=createRecurry;function getHolder(e){var r=e;return r.placeholder}var Jr=getHolder;var Xr=9007199254740991;var Qr=/^(?:0|[1-9]\d*)$/;function isIndex(e,r){var t=typeof e;r=r==null?Xr:r;return!!r&&(t=="number"||t!="symbol"&&Qr.test(e))&&(e>-1&&e%1==0&&e1){b.reverse()}if(c&&s-1&&e%1==0&&e<=Ut}var qt=isLength;function isArrayLike(e){return e!=null&&qt(e.length)&&!ue(e)}var Ht=isArrayLike;function isIterateeCall(e,r,t){if(!z(t)){return false}var n=typeof r;if(n=="number"?Ht(t)&&Vr(r,t.length):n=="string"&&r in t){return Pt(t[r],e)}return false}var Gt=isIterateeCall;function createAssigner(e){return zt(function(r,t){var n=-1,i=t.length,a=i>1?t[i-1]:undefined,o=i>2?t[2]:undefined;a=e.length>3&&typeof a=="function"?(i--,a):undefined;if(o&&Gt(t[0],t[1],o)){a=i<3?undefined:a;i=1}r=Object(r);while(++n-1}var Ui=listCacheHas;function listCacheSet(e,r){var t=this.__data__,n=$i(t,e);if(n<0){++this.size;t.push([e,r])}else{t[n][1]=r}return this}var qi=listCacheSet;function ListCache(e){var r=-1,t=e==null?0:e.length;this.clear();while(++r0&&t(u)){if(r>1){baseFlatten(u,r-1,t,n,i)}else{ga(i,u)}}else if(!n){i[i.length]=u}}return i}var ma=baseFlatten;function flatten(e){var r=e==null?0:e.length;return r?ma(e,1):[]}var wa=flatten;function flatRest(e){return Sr(Ft(e,undefined,wa),e+"")}var Oa=flatRest;var xa=Oa(ya);var Sa=xa;var Ea=Qn(Object.getPrototypeOf,Object);var ja=Ea;var Ia="[object Object]";var Aa=Function.prototype,Ra=Object.prototype;var Ca=Aa.toString;var ka=Ra.hasOwnProperty;var Wa=Ca.call(Object);function isPlainObject(e){if(!I(e)||j(e)!=Ia){return false}var r=ja(e);if(r===null){return true}var t=ka.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&Ca.call(t)==Wa}var Ma=isPlainObject;var Ta="[object DOMException]",Pa="[object Error]";function isError(e){if(!I(e)){return false}var r=j(e);return r==Pa||r==Ta||typeof e.message=="string"&&typeof e.name=="string"&&!Ma(e)}var Ba=isError;var Da=zt(function(e,r){try{return De(e,undefined,r)}catch(e){return Ba(e)?e:new Error(e)}});var $a=Da;var La="Expected a function";function before(e,r){var t;if(typeof r!="function"){throw new TypeError(La)}e=V(e);return function(){if(--e>0){t=r.apply(this,arguments)}if(e<=1){r=undefined}return t}}var Na=before;var Fa=1,za=32;var Ua=zt(function(e,r,t){var n=Fa;if(t.length){var i=nt(t,Jr(Ua));n|=za}return kt(e,n,r,t,i)});Ua.placeholder={};var qa=Ua;var Ha=Oa(function(e,r){Er(r,function(r){r=da(r);Tt(e,r,qa(e[r],e))});return e});var Ga=Ha;var Ka=1,Za=2,Ya=32;var Ja=zt(function(e,r,t){var n=Ka|Za;if(t.length){var i=nt(t,Jr(Ja));n|=Ya}return kt(r,n,e,t,i)});Ja.placeholder={};var Xa=Ja;function baseSlice(e,r,t){var n=-1,i=e.length;if(r<0){r=-r>i?0:i+r}t=t>i?i:t;if(t<0){t+=i}i=r>t?0:t-r>>>0;r>>>=0;var a=Array(i);while(++n=n?e:Qa(e,r,t)}var Va=castSlice;var eo="\\ud800-\\udfff",ro="\\u0300-\\u036f",to="\\ufe20-\\ufe2f",no="\\u20d0-\\u20ff",io=ro+to+no,ao="\\ufe0e\\ufe0f";var oo="\\u200d";var uo=RegExp("["+oo+eo+io+ao+"]");function hasUnicode(e){return uo.test(e)}var so=hasUnicode;function asciiToArray(e){return e.split("")}var fo=asciiToArray;var co="\\ud800-\\udfff",lo="\\u0300-\\u036f",vo="\\ufe20-\\ufe2f",po="\\u20d0-\\u20ff",ho=lo+vo+po,yo="\\ufe0e\\ufe0f";var go="["+co+"]",bo="["+ho+"]",_o="\\ud83c[\\udffb-\\udfff]",mo="(?:"+bo+"|"+_o+")",wo="[^"+co+"]",Oo="(?:\\ud83c[\\udde6-\\uddff]){2}",xo="[\\ud800-\\udbff][\\udc00-\\udfff]",So="\\u200d";var Eo=mo+"?",jo="["+yo+"]?",Io="(?:"+So+"(?:"+[wo,Oo,xo].join("|")+")"+jo+Eo+")*",Ao=jo+Eo+Io,Ro="(?:"+[wo+bo+"?",bo,Oo,xo,go].join("|")+")";var Co=RegExp(_o+"(?="+_o+")|"+Ro+Ao,"g");function unicodeToArray(e){return e.match(Co)||[]}var ko=unicodeToArray;function stringToArray(e){return so(e)?ko(e):fo(e)}var Wo=stringToArray;function createCaseFirst(e){return function(r){r=ca(r);var t=so(r)?Wo(r):undefined;var n=t?t[0]:r.charAt(0);var i=t?Va(t,1).join(""):r.slice(1);return n[e]()+i}}var Mo=createCaseFirst;var To=Mo("toUpperCase");var Po=To;function capitalize(e){return Po(ca(e).toLowerCase())}var Bo=capitalize;function arrayReduce(e,r,t,n){var i=-1,a=e==null?0:e.length;if(n&&a){t=e[++i]}while(++i=r?e:r}}return e}var ns=baseClamp;function clamp(e,r,t){if(t===undefined){t=r;r=undefined}if(t!==undefined){t=Y(t);t=t===t?t:0}if(r!==undefined){r=Y(r);r=r===r?r:0}return ns(Y(e),r,t)}var is=clamp;function stackClear(){this.__data__=new Hi;this.size=0}var as=stackClear;function stackDelete(e){var r=this.__data__,t=r["delete"](e);this.size=r.size;return t}var os=stackDelete;function stackGet(e){return this.__data__.get(e)}var us=stackGet;function stackHas(e){return this.__data__.has(e)}var ss=stackHas;var fs=200;function stackSet(e,r){var t=this.__data__;if(t instanceof Hi){var n=t.__data__;if(!Ki||n.lengthu)){return false}var f=a.get(e);var c=a.get(r);if(f&&c){return f==r&&c==e}var l=-1,v=true,d=t&zc?new $c:undefined;a.set(e,r);a.set(r,e);while(++l=r||t<0||l&&n>=a}function timerExpired(){var e=cv();if(shouldInvoke(e)){return trailingEdge(e)}u=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){u=undefined;if(v&&n){return invokeFunc(e)}n=i=undefined;return o}function cancel(){if(u!==undefined){clearTimeout(u)}f=0;n=s=i=u=undefined}function flush(){return u===undefined?o:trailingEdge(cv())}function debounced(){var e=cv(),t=shouldInvoke(e);n=arguments;i=this;s=e;if(t){if(u===undefined){return leadingEdge(s)}if(l){clearTimeout(u);u=setTimeout(timerExpired,r);return invokeFunc(s)}}if(u===undefined){u=setTimeout(timerExpired,r)}return o}debounced.cancel=cancel;debounced.flush=flush;return debounced}var pv=debounce;function defaultTo(e,r){return e==null||e!==e?r:e}var hv=defaultTo;var yv=Object.prototype;var gv=yv.hasOwnProperty;var bv=zt(function(e,r){e=Object(e);var t=-1;var n=r.length;var i=n>2?r[2]:undefined;if(i&&Gt(r[0],r[1],i)){n=1}while(++t=$v){a=Nc;o=false;r=new $c(r)}e:while(++i=0&&e.slice(t,i)==r}var fd=endsWith;function baseToPairs(e,r){return W(r,function(r){return[r,e[r]]})}var cd=baseToPairs;function setToPairs(e){var r=-1,t=Array(e.size);e.forEach(function(e){t[++r]=[e,e]});return t}var ld=setToPairs;var vd="[object Map]",dd="[object Set]";function createToPairs(e){return function(r){var t=Vs(r);if(t==vd){return qc(r)}if(t==dd){return ld(r)}return cd(r,e(r))}}var pd=createToPairs;var hd=pd(ii);var yd=hd;var gd=pd(di);var bd=gd;var _d={"&":"&","<":"<",">":">",'"':""","'":"'"};var md=$o(_d);var wd=md;var Od=/[&<>"']/g,xd=RegExp(Od.source);function escape_escape(e){e=ca(e);return e&&xd.test(e)?e.replace(Od,wd):e}var Sd=escape_escape;var Ed=/[\\^$.*+?()[\]{}|]/g,jd=RegExp(Ed.source);function escapeRegExp(e){e=ca(e);return e&&jd.test(e)?e.replace(Ed,"\\$&"):e}var Id=escapeRegExp;function arrayEvery(e,r){var t=-1,n=e==null?0:e.length;while(++ti?0:i+t}n=n===undefined||n>i?i:V(n);if(n<0){n+=i}n=t>n?0:Wd(n);while(t-1?i[a?r[o]:o]:undefined}}var Dd=createFind;var $d=Math.max;function findIndex(e,r,t){var n=e==null?0:e.length;if(!n){return-1}var i=t==null?0:V(t);if(i<0){i=$d(n+i,0)}return jr(e,Bl(r,3),i)}var Ld=findIndex;var Nd=Dd(Ld);var Fd=Nd;function baseFindKey(e,r,t){var n;t(e,function(e,t,i){if(r(e,t,i)){n=t;return false}});return n}var zd=baseFindKey;function findKey(e,r){return zd(e,Bl(r,3),Zl)}var Ud=findKey;var qd=Math.max,Hd=Math.min;function findLastIndex(e,r,t){var n=e==null?0:e.length;if(!n){return-1}var i=n-1;if(t!==undefined){i=V(t);i=t<0?qd(n+i,0):Hd(i,n-1)}return jr(e,Bl(r,3),i,true)}var Gd=findLastIndex;var Kd=Dd(Gd);var Zd=Kd;function findLastKey(e,r){return zd(e,Bl(r,3),ad)}var Yd=findLastKey;function head(e){return e&&e.length?e[0]:undefined}var Jd=head;function baseMap(e,r){var t=-1,n=Ht(e)?Array(e.length):[];Xl(e,function(e,i,a){n[++t]=r(e,i,a)});return n}var Xd=baseMap;function map_map(e,r){var t=T(e)?W:Xd;return t(e,Bl(r,3))}var Qd=map_map;function flatMap(e,r){return ma(Qd(e,r),1)}var Vd=flatMap;var ep=1/0;function flatMapDeep(e,r){return ma(Qd(e,r),ep)}var rp=flatMapDeep;function flatMapDepth(e,r,t){t=t===undefined?1:V(t);return ma(Qd(e,r),t)}var tp=flatMapDepth;var np=1/0;function flattenDeep(e){var r=e==null?0:e.length;return r?ma(e,np):[]}var ip=flattenDeep;function flattenDepth(e,r){var t=e==null?0:e.length;if(!t){return[]}r=r===undefined?1:V(r);return ma(e,r)}var ap=flattenDepth;var op=512;function flip(e){return kt(e,op)}var up=flip;var sp=Ju("floor");var fp=sp;var cp="Expected a function";var lp=8,vp=32,dp=128,pp=256;function createFlow(e){return Oa(function(r){var t=r.length,n=t,i=er.prototype.thru;if(e){r.reverse()}while(n--){var a=r[n];if(typeof a!="function"){throw new TypeError(cp)}if(i&&!o&&Ve(a)=="wrapper"){var o=new er([],true)}}n=o?n:t;while(++nr}var Wp=baseGt;function createRelationalOperation(e){return function(r,t){if(!(typeof r=="string"&&typeof t=="string")){r=Y(r);t=Y(t)}return e(r,t)}}var Mp=createRelationalOperation;var Tp=Mp(Wp);var Pp=Tp;var Bp=Mp(function(e,r){return e>=r});var Dp=Bp;var $p=Object.prototype;var Lp=$p.hasOwnProperty;function baseHas(e,r){return e!=null&&Lp.call(e,r)}var Np=baseHas;function has(e,r){return e!=null&&Al(e,r,Np)}var Fp=has;var zp=Math.max,Up=Math.min;function baseInRange(e,r,t){return e>=Up(r,t)&&e-1:!!i&&Rr(e,r,t)>-1}var Xp=includes_includes;var Qp=Math.max;function indexOf_indexOf(e,r,t){var n=e==null?0:e.length;if(!n){return-1}var i=t==null?0:V(t);if(i<0){i=Qp(n+i,0)}return Rr(e,r,i)}var Vp=indexOf_indexOf;function initial(e){var r=e==null?0:e.length;return r?Qa(e,0,-1):[]}var eh=initial;var rh=Math.min;function baseIntersection(e,r,t){var n=t?Dv:Cr,i=e[0].length,a=e.length,o=a,u=Array(a),s=Infinity,f=[];while(o--){var c=e[o];if(o&&r){c=W(c,Ln(r))}s=rh(c.length,s);u[o]=!t&&(r||i>=120&&c.length>=120)?new $c(o&&c):undefined}c=e[0];var l=-1,v=u[0];e:while(++l=-vy&&e<=vy}var dy=isSafeInteger;function isUndefined(e){return e===undefined}var py=isUndefined;var hy="[object WeakMap]";function isWeakMap(e){return I(e)&&Vs(e)==hy}var yy=isWeakMap;var gy="[object WeakSet]";function isWeakSet(e){return I(e)&&j(e)==gy}var by=isWeakSet;var _y=1;function iteratee_iteratee(e){return Bl(typeof e=="function"?e:wc(e,_y))}var my=iteratee_iteratee;var wy=Array.prototype;var Oy=wy.join;function join(e,r){return e==null?"":Oy.call(e,r)}var xy=join;var Sy=qu(function(e,r,t){return e+(t?"-":"")+r.toLowerCase()});var Ey=Sy;var jy=Vl(function(e,r,t){Tt(e,t,r)});var Iy=jy;function strictLastIndexOf(e,r,t){var n=t+1;while(n--){if(e[n]===r){return n}}return n}var Ay=strictLastIndexOf;var Ry=Math.max,Cy=Math.min;function lastIndexOf(e,r,t){var n=e==null?0:e.length;if(!n){return-1}var i=n;if(t!==undefined){i=V(t);i=i<0?Ry(n+i,0):Cy(i,n-1)}return r===r?Ay(e,r,i):jr(e,Ir,i,true)}var ky=lastIndexOf;var Wy=qu(function(e,r,t){return e+(t?" ":"")+r.toLowerCase()});var My=Wy;var Ty=Mo("toLowerCase");var Py=Ty;function baseLt(e,r){return e=this.__values__.length,r=e?undefined:this.__values__[this.__index__++];return{done:e,value:r}}var _g=wrapperNext;function baseNth(e,r){var t=e.length;if(!t){return}r+=r<0?t:0;return Vr(r,t)?e[r]:undefined}var mg=baseNth;function nth(e,r){return e&&e.length?mg(e,V(r)):undefined}var wg=nth;function nthArg(e){e=V(e);return zt(function(r){return mg(r,e)})}var Og=nthArg;function baseUnset(e,r){r=la(r,e);e=wh(e,r);return e==null||delete e[da(zv(r))]}var xg=baseUnset;function customOmitClone(e){return Ma(e)?undefined:e}var Sg=customOmitClone;var Eg=1,jg=2,Ig=4;var Ag=Oa(function(e,r){var t={};if(e==null){return t}var n=false;r=W(r,function(r){r=la(r,e);n||(n=r.length>1);return r});Lt(e,Ts(e),t);if(n){t=wc(t,Eg|jg|Ig,Sg)}var i=r.length;while(i--){xg(t,r[i])}return t});var Rg=Ag;function baseSet(e,r,t,n){if(!z(e)){return e}r=la(r,e);var i=-1,a=r.length,o=a-1,u=e;while(u!=null&&++ir||a&&o&&s&&!u&&!f||n&&o&&s||!t&&s||!i){return 1}if(!n&&!a&&!f&&e=u){return s}var f=t[n];return s*(f=="desc"?-1:1)}}return e.index-r.index}var Dg=compareMultiple;function baseOrderBy(e,r,t){if(r.length){r=W(r,function(e){if(T(e)){return function(r){return pa(r,e.length===1?e[0]:e)}}return e})}else{r=[te]}var n=-1;r=W(r,Ln(Bl));var i=Xd(e,function(e,t,i){var a=W(r,function(r){return r(e)});return{criteria:a,index:++n,value:e}});return Pg(i,function(e,r){return Dg(e,r,t)})}var $g=baseOrderBy;function orderBy(e,r,t,n){if(e==null){return[]}if(!T(r)){r=r==null?[]:[r]}t=n?undefined:t;if(!T(t)){t=t==null?[]:[t]}return $g(e,r,t)}var Lg=orderBy;function createOver(e){return Oa(function(r){r=W(r,Ln(Bl));return zt(function(t){var n=this;return e(r,function(e){return De(e,n,t)})})})}var Ng=createOver;var Fg=Ng(W);var zg=Fg;var Ug=zt;var qg=Ug;var Hg=Math.min;var Gg=qg(function(e,r){r=r.length==1&&T(r[0])?W(r[0],Ln(Bl)):W(ma(r,1),Ln(Bl));var t=r.length;return zt(function(n){var i=-1,a=Hg(n.length,t);while(++iQg){return t}do{if(r%2){t+=e}r=Vg(r/2);if(r){e+=e}}while(r);return t}var eb=baseRepeat;var rb=Ml("length");var tb=rb;var nb="\\ud800-\\udfff",ib="\\u0300-\\u036f",ab="\\ufe20-\\ufe2f",ob="\\u20d0-\\u20ff",ub=ib+ab+ob,sb="\\ufe0e\\ufe0f";var fb="["+nb+"]",cb="["+ub+"]",lb="\\ud83c[\\udffb-\\udfff]",vb="(?:"+cb+"|"+lb+")",db="[^"+nb+"]",pb="(?:\\ud83c[\\udde6-\\uddff]){2}",hb="[\\ud800-\\udbff][\\udc00-\\udfff]",yb="\\u200d";var gb=vb+"?",bb="["+sb+"]?",_b="(?:"+yb+"(?:"+[db,pb,hb].join("|")+")"+bb+gb+")*",mb=bb+gb+_b,wb="(?:"+[db+cb+"?",cb,pb,hb,fb].join("|")+")";var Ob=RegExp(lb+"(?="+lb+")|"+wb+mb,"g");function unicodeSize(e){var r=Ob.lastIndex=0;while(Ob.test(e)){++r}return r}var xb=unicodeSize;function stringSize(e){return so(e)?xb(e):tb(e)}var Sb=stringSize;var Eb=Math.ceil;function createPadding(e,r){r=r===undefined?" ":$(r);var t=r.length;if(t<2){return t?eb(r,e):r}var n=eb(r,Eb(e/Sb(r)));return so(r)?Va(Wo(n),0,e).join(""):n.slice(0,e)}var jb=createPadding;var Ib=Math.ceil,Ab=Math.floor;function pad(e,r,t){e=ca(e);r=V(r);var n=r?Sb(e):0;if(!r||n>=r){return e}var i=(r-n)/2;return jb(Ab(i),t)+e+jb(Ib(i),t)}var Rb=pad;function padEnd(e,r,t){e=ca(e);r=V(r);var n=r?Sb(e):0;return r&&n-1){if(u!==e){Jb.call(u,s,1)}Jb.call(e,s,1)}}return e}var Xb=basePullAll;function pullAll(e,r){return e&&e.length&&r&&r.length?Xb(e,r):e}var Qb=pullAll;var Vb=zt(Qb);var e_=Vb;function pullAllBy(e,r,t){return e&&e.length&&r&&r.length?Xb(e,r,Bl(t,2)):e}var r_=pullAllBy;function pullAllWith(e,r,t){return e&&e.length&&r&&r.length?Xb(e,r,undefined,t):e}var t_=pullAllWith;var n_=Array.prototype;var i_=n_.splice;function basePullAt(e,r){var t=e?r.length:0,n=t-1;while(t--){var i=r[t];if(t==n||i!==a){var a=i;if(Vr(i)){i_.call(e,i,1)}else{xg(e,i)}}}return e}var a_=basePullAt;var o_=Oa(function(e,r){var t=e==null?0:e.length,n=ya(e,r);a_(e,W(r,function(e){return Vr(e,t)?+e:e}).sort(Bg));return n});var u_=o_;var s_=Math.floor,f_=Math.random;function baseRandom(e,r){return e+s_(f_()*(r-e+1))}var c_=baseRandom;var l_=parseFloat;var v_=Math.min,d_=Math.random;function random(e,r,t){if(t&&typeof t!="boolean"&&Gt(e,r,t)){r=t=undefined}if(t===undefined){if(typeof r=="boolean"){t=r;r=undefined}else if(typeof e=="boolean"){t=e;e=undefined}}if(e===undefined&&r===undefined){e=0;r=1}else{e=Q(e);if(r===undefined){r=e;e=0}else{r=Q(r)}}if(e>r){var n=e;e=r;r=n}if(t||e%1||r%1){var i=d_();return v_(e+i*(r-e+l_("1e-"+((i+"").length-1))),r)}return c_(e,r)}var p_=random;var h_=Math.ceil,y_=Math.max;function baseRange(e,r,t,n){var i=-1,a=y_(h_((r-e)/(t||1)),0),o=Array(a);while(a--){o[n?a:++i]=e;e+=t}return o}var g_=baseRange;function createRange(e){return function(r,t,n){if(n&&typeof n!="number"&&Gt(r,t,n)){t=n=undefined}r=Q(r);if(t===undefined){t=r;r=0}else{t=Q(t)}n=n===undefined?r1&&Gt(e,r[0],r[1])){r=[]}else if(t>2&&Gt(r[0],r[1],r[2])){r=[r[0]]}return $g(e,ma(r,1),[])});var fm=sm;var cm=4294967295,lm=cm-1;var vm=Math.floor,dm=Math.min;function baseSortedIndexBy(e,r,t,n){var i=0,a=e==null?0:e.length;if(a===0){return 0}r=t(r);var o=r!==r,u=r===null,s=R(r),f=r===undefined;while(i>>1;function baseSortedIndex(e,r,t){var n=0,i=e==null?n:e.length;if(typeof r=="number"&&r===r&&i<=ym){while(n>>1,o=e[a];if(o!==null&&!R(o)&&(t?o<=r:o>>0;if(!t){return[]}e=ca(e);if(e&&(typeof r=="string"||r!=null&&!ly(r))){r=$(r);if(!r&&so(e)){return Va(Wo(e),0,t)}}return e.split(r,t)}var Am=split;var Rm="Expected a function";var Cm=Math.max;function spread(e,r){if(typeof e!="function"){throw new TypeError(Rm)}r=r==null?0:Cm(V(r),0);return zt(function(t){var n=t[r],i=Va(t,0,r);if(n){ga(i,n)}return De(e,this,i)})}var km=spread;var Wm=qu(function(e,r,t){return e+(t?" ":"")+Po(r)});var Mm=Wm;function startsWith(e,r,t){e=ca(e);t=t==null?0:ns(V(t),0,e.length);r=$(r);return e.slice(t,t+r.length)==r}var Tm=startsWith;function stubObject(){return{}}var Pm=stubObject;function stubString(){return""}var Bm=stubString;function stubTrue(){return true}var Dm=stubTrue;var $m=L(function(e,r){return e-r},0);var Lm=$m;function sum(e){return e&&e.length?Jy(e,te):0}var Nm=sum;function sumBy(e,r){return e&&e.length?Jy(e,Bl(r,2)):0}var Fm=sumBy;function tail(e){var r=e==null?0:e.length;return r?Qa(e,1,r):[]}var zm=tail;function take(e,r,t){if(!(e&&e.length)){return[]}r=t||r===undefined?1:V(r);return Qa(e,0,r<0?0:r)}var Um=take;function takeRight(e,r,t){var n=e==null?0:e.length;if(!n){return[]}r=t||r===undefined?1:V(r);r=n-r;return Qa(e,r<0?0:r,n)}var qm=takeRight;function takeRightWhile(e,r){return e&&e.length?Xv(e,Bl(r,3),false,true):[]}var Hm=takeRightWhile;function takeWhile(e,r){return e&&e.length?Xv(e,Bl(r,3)):[]}var Gm=takeWhile;function tap(e,r){r(e);return e}var Km=tap;var Zm=Object.prototype;var Ym=Zm.hasOwnProperty;function customDefaultsAssignIn(e,r,t,n){if(e===undefined||Pt(e,Zm[t])&&!Ym.call(n,t)){return r}return e}var Jm=customDefaultsAssignIn;var Xm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar(e){return"\\"+Xm[e]}var Qm=escapeStringChar;var Vm=/<%=([\s\S]+?)%>/g;var ew=Vm;var rw=/<%-([\s\S]+?)%>/g;var tw=rw;var nw=/<%([\s\S]+?)%>/g;var iw=nw;var aw={escape:tw,evaluate:iw,interpolate:ew,variable:"",imports:{_:{escape:Sd}}};var ow=aw;var uw=/\b__p \+= '';/g,sw=/\b(__p \+=) '' \+/g,fw=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var cw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var lw=/($^)/;var vw=/['\n\r\u2028\u2029\\]/g;var dw=Object.prototype;var pw=dw.hasOwnProperty;function template(e,r,t){var n=ow.imports._.templateSettings||ow;if(t&&Gt(e,r,t)){r=undefined}e=ca(e);r=gi({},r,n,Jm);var i=gi({},r.imports,n.imports,Jm),a=ii(i),o=Zp(i,a);var u,s,f=0,c=r.interpolate||lw,l="__p += '";var v=RegExp((r.escape||lw).source+"|"+c.source+"|"+(c===ew?cw:lw).source+"|"+(r.evaluate||lw).source+"|$","g");var d=pw.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(v,function(r,t,n,i,a,o){n||(n=i);l+=e.slice(f,o).replace(vw,Qm);if(t){u=true;l+="' +\n__e("+t+") +\n'"}if(a){s=true;l+="';\n"+a+";\n__p += '"}if(n){l+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"}f=o+r.length;return r});l+="';\n";var p=pw.call(r,"variable")&&r.variable;if(!p){l="with (obj) {\n"+l+"\n}\n"}l=(s?l.replace(uw,""):l).replace(sw,"$1").replace(fw,"$1;");l="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var h=$a(function(){return Function(a,d+"return "+l).apply(undefined,o)});h.source=l;if(Ba(h)){throw h}return h}var hw=template;var yw="Expected a function";function throttle(e,r,t){var n=true,i=true;if(typeof e!="function"){throw new TypeError(yw)}if(z(t)){n="leading"in t?!!t.leading:n;i="trailing"in t?!!t.trailing:i}return pv(e,r,{leading:n,maxWait:r,trailing:i})}var gw=throttle;function thru(e,r){return r(e)}var bw=thru;var _w=9007199254740991;var mw=4294967295;var ww=Math.min;function times(e,r){e=V(e);if(e<1||e>_w){return[]}var t=mw,n=ww(e,mw);r=ed(r);e-=mw;var i=Jt(n,r);while(++t-1){}return t}var Ww=charsEndIndex;function charsStartIndex(e,r){var t=-1,n=e.length;while(++t-1){}return t}var Mw=charsStartIndex;var Tw=/^\s+|\s+$/g;function trim(e,r,t){e=ca(e);if(e&&(t||r===undefined)){return e.replace(Tw,"")}if(!e||!(r=$(r))){return e}var n=Wo(e),i=Wo(r),a=Mw(n,i),o=Ww(n,i)+1;return Va(n,a,o).join("")}var Pw=trim;var Bw=/\s+$/;function trimEnd(e,r,t){e=ca(e);if(e&&(t||r===undefined)){return e.replace(Bw,"")}if(!e||!(r=$(r))){return e}var n=Wo(e),i=Ww(n,Wo(r))+1;return Va(n,0,i).join("")}var Dw=trimEnd;var $w=/^\s+/;function trimStart(e,r,t){e=ca(e);if(e&&(t||r===undefined)){return e.replace($w,"")}if(!e||!(r=$(r))){return e}var n=Wo(e),i=Mw(n,Wo(r));return Va(n,i).join("")}var Lw=trimStart;var Nw=30,Fw="...";var zw=/\w*$/;function truncate(e,r){var t=Nw,n=Fw;if(z(r)){var i="separator"in r?r.separator:i;t="length"in r?V(r.length):t;n="omission"in r?$(r.omission):n}e=ca(e);var a=e.length;if(so(e)){var o=Wo(e);a=o.length}if(t>=a){return e}var u=t-Sb(n);if(u<1){return n}var s=o?Va(o,0,u).join(""):e.slice(0,u);if(i===undefined){return s+n}if(o){u+=s.length-u}if(ly(i)){if(e.slice(u).search(i)){var f,c=s;if(!i.global){i=RegExp(i.source,ca(zw.exec(i))+"g")}i.lastIndex=0;while(f=i.exec(c)){var l=f.index}s=s.slice(0,l===undefined?u:l)}}else if(e.indexOf($(i),u)!=u){var v=s.lastIndexOf(i);if(v>-1){s=s.slice(0,v)}}return s+n}var Uw=truncate;function unary(e){return Mt(e,1)}var qw=unary;var Hw={"&":"&","<":"<",">":">",""":'"',"'":"'"};var Gw=$o(Hw);var Kw=Gw;var Zw=/&(?:amp|lt|gt|quot|#39);/g,Yw=RegExp(Zw.source);function unescape_unescape(e){e=ca(e);return e&&Yw.test(e)?e.replace(Zw,Kw):e}var Jw=unescape_unescape;var Xw=1/0;var Qw=!(Ns&&1/Hc(new Ns([,-0]))[1]==Xw)?Ge:function(e){return new Ns(e)};var Vw=Qw;var eO=200;function baseUniq(e,r,t){var n=-1,i=Cr,a=e.length,o=true,u=[],s=u;if(t){o=false;i=Dv}else if(a>=eO){var f=r?null:Vw(e);if(f){return Hc(f)}o=false;i=Nc;s=new $c}else{s=r?[]:u}e:while(++n1||this.__actions__.length||!(n instanceof He)||!Vr(t)){return this.thru(i)}n=n.slice(t,+t+(r?1:0));n.__actions__.push({func:bw,args:[i],thisArg:undefined});return new er(n,this.__chain__).thru(function(e){if(r&&!e.length){e.push(undefined)}return e})});var IO=jO;function wrapperChain(){return Vu(this)}var AO=wrapperChain;function wrapperReverse(){var e=this.__wrapped__;if(e instanceof He){var r=e;if(this.__actions__.length){r=new He(this)}r=r.reverse();r.__actions__.push({func:bw,args:[L_],thisArg:undefined});return new er(r,this.__chain__)}return this.thru(L_)}var RO=wrapperReverse;function baseXor(e,r,t){var n=e.length;if(n<2){return n?rO(e[0]):[]}var i=-1,a=Array(n);while(++i1?e[r-1]:undefined;t=typeof t=="function"?(e.pop(),t):undefined;return yO(e,t)});var UO=zO;var qO={chunk:ts,compact:Mc,concat:Tc,difference:Fv,differenceBy:qv,differenceWith:Gv,drop:Yv,dropRight:Jv,dropRightWhile:Qv,dropWhile:Vv,fill:Td,findIndex:Ld,findLastIndex:Gd,first:Jd,flatten:wa,flattenDeep:ip,flattenDepth:ap,fromPairs:Sp,head:Jd,indexOf:Vp,initial:eh,intersection:ah,intersectionBy:uh,intersectionWith:fh,join:xy,last:zv,lastIndexOf:ky,nth:wg,pull:e_,pullAll:Qb,pullAllBy:r_,pullAllWith:t_,pullAt:u_,remove:k_,reverse:L_,slice:nm,sortedIndex:bm,sortedIndexBy:_m,sortedIndexOf:mm,sortedLastIndex:wm,sortedLastIndexBy:Om,sortedLastIndexOf:xm,sortedUniq:Em,sortedUniqBy:jm,tail:zm,take:Um,takeRight:qm,takeRightWhile:Hm,takeWhile:Gm,union:nO,unionBy:aO,unionWith:uO,uniq:sO,uniqBy:fO,uniqWith:cO,unzip:hO,unzipWith:yO,without:SO,xor:WO,xorBy:TO,xorWith:BO,zip:$O,zipObject:NO,zipObjectDeep:FO,zipWith:UO};var HO={countBy:nv,each:rd,eachRight:sd,every:Cd,filter:Bd,find:Fd,findLast:Zd,flatMap:Vd,flatMapDeep:rp,flatMapDepth:tp,forEach:rd,forEachRight:sd,groupBy:kp,includes:Xp,invokeMap:jh,keyBy:Iy,map:Qd,orderBy:Lg,partition:zb,reduce:I_,reduceRight:R_,reject:C_,sample:q_,sampleSize:Z_,shuffle:V_,size:tm,some:um,sortBy:fm};var GO={now:cv};var KO={after:re,ary:Mt,before:Na,bind:qa,bindKey:Xa,curry:ov,curryRight:sv,debounce:pv,defer:Tv,delay:Bv,flip:up,memoize:na,negate:dg,once:Tg,overArgs:Kg,partial:Db,partialRight:Nb,rearg:E_,rest:P_,spread:km,throttle:gw,unary:qw,wrap:EO};var ZO={castArray:Ku,clone:xc,cloneDeep:jc,cloneDeepWith:Rc,cloneWith:kc,conformsTo:Ul,eq:Pt,gt:Pp,gte:Dp,isArguments:nn,isArray:T,isArrayBuffer:kh,isArrayLike:Ht,isArrayLikeObject:wv,isBoolean:Mh,isBuffer:vn,isDate:$h,isElement:Lh,isEmpty:qh,isEqual:Hh,isEqualWith:Gh,isError:Ba,isFinite:Zh,isFunction:ue,isInteger:Yh,isLength:qt,isMap:Lf,isMatch:Jh,isMatchWith:Xh,isNaN:ey,isNative:iy,isNil:ay,isNull:oy,isNumber:Vh,isObject:z,isObjectLike:I,isPlainObject:Ma,isRegExp:ly,isSafeInteger:dy,isSet:qf,isString:Kp,isSymbol:R,isTypedArray:Zn,isUndefined:py,isWeakMap:yy,isWeakSet:by,lt:$y,lte:Ny,toArray:bg,toFinite:Q,toInteger:V,toLength:Wd,toNumber:Y,toPlainObject:xv,toSafeInteger:Rw,toString:ca};var YO={add:F,ceil:Qu,divide:Zv,floor:fp,max:Zy,maxBy:Yy,mean:Vy,meanBy:eg,min:ug,minBy:sg,multiply:lg,round:F_,subtract:Lm,sum:Nm,sumBy:Fm};var JO={clamp:is,inRange:Hp,random:p_};var XO={assign:si,assignIn:hi,assignInWith:gi,assignWith:_i,at:Sa,create:iv,defaults:_v,defaultsDeep:Cv,entries:yd,entriesIn:bd,extend:hi,extendWith:gi,findKey:Ud,findLastKey:Yd,forIn:mp,forInRight:wp,forOwn:Op,forOwnRight:xp,functions:jp,functionsIn:Ip,get:ha,has:Fp,hasIn:Rl,invert:hh,invertBy:mh,invoke:Sh,keys:ii,keysIn:di,mapKeys:Fy,mapValues:zy,merge:tg,mergeWith:Av,omit:Rg,omitBy:Mg,pick:Hb,pickBy:Wg,result:B_,set:Y_,setWith:J_,toPairs:yd,toPairsIn:bd,transform:kw,unset:dO,update:bO,updateWith:_O,values:Yp,valuesIn:OO};var QO={at:IO,chain:Vu,commit:Wc,lodash:ar,next:_g,plant:Gb,reverse:RO,tap:Km,thru:bw,toIterator:xw,toJSON:Ew,value:Ew,valueOf:Ew,wrapperChain:AO};var VO={camelCase:Gu,capitalize:Bo,deburr:Yo,endsWith:fd,escape:Sd,escapeRegExp:Id,kebabCase:Ey,lowerCase:My,lowerFirst:Py,pad:Rb,padEnd:Cb,padStart:kb,parseInt:Tb,repeat:W_,replace:M_,snakeCase:am,split:Am,startCase:Mm,startsWith:Tm,template:hw,templateSettings:ow,toLower:jw,toUpper:Cw,trim:Pw,trimEnd:Dw,trimStart:Lw,truncate:Uw,unescape:Jw,upperCase:wO,upperFirst:Po,words:Fu};var ex={attempt:$a,bindAll:Ga,cond:$l,conforms:zl,constant:br,defaultTo:hv,flow:gp,flowRight:_p,identity:te,iteratee:my,matches:qy,matchesProperty:Gy,method:ig,methodOf:og,mixin:fg,noop:Ge,nthArg:Og,over:zg,overEvery:Yg,overSome:Xg,property:Pl,propertyOf:Kb,range:m_,rangeRight:O_,stubArray:ws,stubFalse:an,stubObject:Pm,stubString:Bm,stubTrue:Dm,times:Ow,toPath:Iw,uniqueId:vO};function lazyClone(){var e=new He(this.__wrapped__);e.__actions__=rr(this.__actions__);e.__dir__=this.__dir__;e.__filtered__=this.__filtered__;e.__iteratees__=rr(this.__iteratees__);e.__takeCount__=this.__takeCount__;e.__views__=rr(this.__views__);return e}var rx=lazyClone;function lazyReverse(){if(this.__filtered__){var e=new He(this);e.__dir__=-1;e.__filtered__=true}else{e=this.clone();e.__dir__*=-1}return e}var tx=lazyReverse;var nx=Math.max,ix=Math.min;function getView(e,r,t){var n=-1,i=t.length;while(++n0||r<0)){return new He(t)}if(e<0){t=t.takeRight(-e)}else if(e){t=t.drop(e)}if(r!==undefined){r=V(r);t=r<0?t.dropRight(-r):t.take(r-e)}return t};He.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};He.prototype.toArray=function(){return this.take(px)};Zl(He.prototype,function(e,r){var t=/^(?:filter|find|map|reject)|While$/.test(r),n=/^(?:head|last)$/.test(r),i=ar[n?"take"+(r=="last"?"Right":""):r],a=n||/^find/.test(r);if(!i){return}ar.prototype[r]=function(){var r=this.__wrapped__,o=n?[1]:arguments,u=r instanceof He,s=o[0],f=u||T(r);var c=function(e){var r=i.apply(ar,ga([e],o));return n&&l?r[0]:r};if(f&&t&&typeof s=="function"&&s.length!=1){u=f=false}var l=this.__chain__,v=!!this.__actions__.length,d=a&&!l,p=u&&!v;if(!a&&f){r=p?r:new He(this);var h=e.apply(r,o);h.__actions__.push({func:bw,args:[c],thisArg:undefined});return new er(h,l)}if(d&&p){return e.apply(this,o)}h=this.thru(c);return d?n?h.value()[0]:h.value():h}});Er(["pop","push","shift","sort","splice","unshift"],function(e){var r=hx[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);ar.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return r.apply(T(i)?i:[],e)}return this[t](function(t){return r.apply(T(t)?t:[],e)})}});Zl(He.prototype,function(e,r){var t=ar[r];if(t){var n=t.name+"";if(!gx.call(Je,n)){Je[n]=[]}Je[n].push({name:r,func:t})}});Je[ct(undefined,lx).name]=[{name:"wrapper",func:undefined}];He.prototype.clone=rx;He.prototype.reverse=tx;He.prototype.value=fx;ar.prototype.at=QO.at;ar.prototype.chain=QO.wrapperChain;ar.prototype.commit=QO.commit;ar.prototype.next=QO.next;ar.prototype.plant=QO.plant;ar.prototype.reverse=QO.reverse;ar.prototype.toJSON=ar.prototype.valueOf=ar.prototype.value=QO.value;ar.prototype.first=ar.prototype.head;if(bx){ar.prototype[bx]=QO.toIterator}var Ox=ar;class image_tag_ImageTag{static createForBase({version:e,customImage:r}){const t="unityci";const n="editor";return new this({repository:t,name:n,version:e,customImage:r})}static createForAction(e){const r="";const t="unity-action";return new this({repository:r,name:t,version:e})}constructor({repository:e="",name:r,version:t,customImage:n}){if(!image_tag_ImageTag.versionPattern.test(t)){throw new Error(`Invalid version "${t}".`)}Object.assign(this,{repository:e,name:r,version:t,customImage:n})}static get versionPattern(){return/^20\d{2}\.\d\.\w{3,4}|3$/}get tag(){return this.version}get image(){return Lw(`${this.repository}/${this.name}`,"/")}toString(){if(this.customImage&&this.customImage!==""){return this.customImage}return`${this.image}:${this.tag}-base-0`}}var xx=image_tag_ImageTag;class docker_Docker{static async build(e,r=false){const{path:t,dockerfile:n,baseImage:i}=e;const{version:a}=i;const o=xx.createForAction(a);const s=`docker build ${t} --file ${n} --build-arg IMAGE=${i} --tag ${o}`;await Object(u.exec)(s,undefined,{silent:r});return o}static async run(e,r,t=false){const{unityVersion:n,workspace:i,projectPath:a,testMode:o,artifactsPath:s,useHostNetwork:f,customParameters:c}=r;const l=`docker run --workdir /github/workspace --rm --env UNITY_LICENSE --env UNITY_LICENSE_FILE --env UNITY_EMAIL --env UNITY_PASSWORD --env UNITY_SERIAL --env UNITY_VERSION="${n}" --env PROJECT_PATH="${a}" --env TEST_MODE="${o}" --env ARTIFACTS_PATH="${s}" --env CUSTOM_PARAMETERS="${c}" --env HOME=/github/home --env GITHUB_REF --env GITHUB_SHA --env GITHUB_REPOSITORY --env GITHUB_ACTOR --env GITHUB_WORKFLOW --env GITHUB_HEAD_REF --env GITHUB_BASE_REF --env GITHUB_EVENT_NAME --env GITHUB_WORKSPACE=/github/workspace --env GITHUB_ACTION --env GITHUB_EVENT_PATH --env RUNNER_OS --env RUNNER_TOOL_CACHE --env RUNNER_TEMP --env RUNNER_WORKSPACE --volume "/var/run/docker.sock":"/var/run/docker.sock" --volume "/home/runner/work/_temp/_github_home":"/github/home" --volume "/home/runner/work/_temp/_github_workflow":"/github/workflow" --volume "${i}":"/github/workspace" ${f?"--net=host":""} ${e}`;await Object(u.exec)(l,undefined,{silent:t})}}var Sx=docker_Docker;var Ex=t(747);var jx=t.n(Ex);class unity_version_parser_UnityVersionParser{static get versionPattern(){return/20\d{2}\.\d\.\w{3,4}|3/}static parse(e){const r=e.match(unity_version_parser_UnityVersionParser.versionPattern);if(!r||r.length===0){throw new Error(`Failed to parse version from "${e}".`)}return r[0]}static read(e){const r=a().join(e,"ProjectSettings","ProjectVersion.txt");if(!jx().existsSync(r)){return"auto"}return unity_version_parser_UnityVersionParser.parse(jx().readFileSync(r,"utf8"))}}var Ix=unity_version_parser_UnityVersionParser;class input_Input{static get testModes(){return["all","playmode","editmode"]}static isValidFolderName(e){const r=new RegExp(/^(\.|\.\/)?(\.?\w+([_-]?\w+)*\/?)*$/);return r.test(e)}static getFromUser(){const e=Object(n.getInput)("unityVersion")||"auto";const r=Object(n.getInput)("customImage")||"";const t=Object(n.getInput)("testMode")||"all";const i=Object(n.getInput)("projectPath")||".";const a=Object(n.getInput)("artifactsPath")||"artifacts";const o=Object(n.getInput)("useHostNetwork")||"false";const u=Object(n.getInput)("customParameters")||"";if(!Xp(this.testModes,t)){throw new Error(`Invalid testMode ${t}`)}if(!this.isValidFolderName(a)){throw new Error(`Invalid artifactsPath "${a}"`)}if(!this.isValidFolderName(i)){throw new Error(`Invalid projectPath "${i}"`)}if(o!=="true"&&o!=="false"){throw new Error(`Invalid useHostNetwork "${o}"`)}const s=i.replace(/\/$/,"");const f=a.replace(/\/$/,"");const c=o==="true";const l=e==="auto"?Ix.read(s):e;return{unityVersion:l,customImage:r,projectPath:s,testMode:t,artifactsPath:f,useHostNetwork:c,customParameters:u}}}var Ax=input_Input;const Rx=t(470);class Output{static async setArtifactsPath(e){await Rx.setOutput("artifactsPath",e)}}var Cx=Output;async function src_action(){o.checkCompatibility();const{dockerfile:e,workspace:r,actionFolder:t}=o;const{unityVersion:n,customImage:i,projectPath:a,testMode:u,artifactsPath:s,useHostNetwork:f,customParameters:c}=Ax.getFromUser();const l=xx.createForBase({version:n,customImage:i});const v=await Sx.build({path:t,dockerfile:e,baseImage:l});await Sx.run(v,{workspace:r,unityVersion:n,projectPath:a,testMode:u,artifactsPath:s,useHostNetwork:f,customParameters:c});await Cx.setArtifactsPath(s)}src_action().catch(e=>{Object(n.setFailed)(e.message)})},747:function(e){e.exports=require("fs")},986:function(e,r,t){"use strict";var n=this&&this.__awaiter||function(e,r,t,n){function adopt(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(t,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?t(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,r||[])).next())})};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)if(Object.hasOwnProperty.call(e,t))r[t]=e[t];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const a=i(t(9));function exec(e,r,t){return n(this,void 0,void 0,function*(){const n=a.argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const i=n[0];r=n.slice(1).concat(r||[]);const o=new a.ToolRunner(i,r,t);return o.exec()})}r.exec=exec}},function(e){"use strict";!function(){e.r=function(e){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}}();!function(){var r=Object.prototype.hasOwnProperty;e.d=function(e,t,n){if(!r.call(e,t)){Object.defineProperty(e,t,{enumerable:true,get:n})}}}();!function(){e.t=function(r,t){if(t&1)r=this(r);if(t&8)return r;if(t&4&&typeof r==="object"&&r&&r.__esModule)return r;var n=Object.create(null);e.r(n);Object.defineProperty(n,"default",{enumerable:true,value:r});if(t&2&&typeof r!="string")for(var i in r)e.d(n,i,function(e){return r[e]}.bind(null,i));return n}}();!function(){e.n=function(r){var t=r&&r.__esModule?function getDefault(){return r["default"]}:function getModuleExports(){return r};e.d(t,"a",t);return t}}();!function(){e.hmd=function(e){e=Object.create(e);if(!e.children)e.children=[];Object.defineProperty(e,"loaded",{enumerable:true,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:true,get:function(){return e.i}});Object.defineProperty(e,"exports",{enumerable:true,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}});return e}}()});