
/*************************************************************************
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2017 Adobe. All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
**************************************************************************/

(function(modules){function webpackJsonpCallback(data){for(var chunkIds=data[0],moreModules=data[1],i=0,resolves=[],moduleId,chunkId;i<chunkIds.length;i++)chunkId=chunkIds[i],installedChunks[chunkId]&&resolves.push(installedChunks[chunkId][0]),installedChunks[chunkId]=0;for(moduleId in moreModules)Object.prototype.hasOwnProperty.call(moreModules,moduleId)&&(modules[moduleId]=moreModules[moduleId]);for(parentJsonpFunction&&parentJsonpFunction(data);resolves.length;)resolves.shift()()}function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}var installedModules={},installedCssChunks={245:0},installedChunks={245:0};__webpack_require__.e=function(chunkId){var promises=[];installedCssChunks[chunkId]?promises.push(installedCssChunks[chunkId]):0!==installedCssChunks[chunkId]&&{2:1,4:1}[chunkId]&&promises.push(installedCssChunks[chunkId]=new Promise(function(resolve,reject){for(var href="css/"+({0:"appentry~hostadapter",1:"vendors~appentry~hostadapter",2:"styles",3:"vendors~appentry",4:"appentry",5:"locales/zu",6:"locales/zh",7:"locales/zgh",8:"locales/yue",9:"locales/yo",10:"locales/yi",11:"locales/yav",12:"locales/xog",13:"locales/xh",14:"locales/wo",15:"locales/wae",16:"locales/wa",17:"locales/vun",18:"locales/vo",19:"locales/vi",20:"locales/ve",21:"locales/vai",22:"locales/uz",23:"locales/ur",24:"locales/uk",25:"locales/ug",26:"locales/tzm",27:"locales/twq",28:"locales/ts",29:"locales/tr",30:"locales/to",31:"locales/tn",32:"locales/tl",33:"locales/tk",34:"locales/tig",35:"locales/ti",36:"locales/th",37:"locales/teo",38:"locales/te",39:"locales/ta",40:"locales/syr",41:"locales/sw",42:"locales/sv",43:"locales/st",44:"locales/ssy",45:"locales/ss",46:"locales/sr",47:"locales/sq",48:"locales/so",49:"locales/sn",50:"locales/sms",51:"locales/smn",52:"locales/smj",53:"locales/smi",54:"locales/sma",55:"locales/sl",56:"locales/sk",57:"locales/si",58:"locales/shi",59:"locales/sh",60:"locales/sg",61:"locales/ses",62:"locales/seh",63:"locales/se",64:"locales/sdh",65:"locales/sbp",66:"locales/saq",67:"locales/sah",68:"locales/rwk",69:"locales/rw",70:"locales/ru",71:"locales/rof",72:"locales/ro",73:"locales/rn",74:"locales/rm",75:"locales/qu",76:"locales/pt",77:"locales/ps",78:"locales/prg",79:"locales/pl",80:"locales/pap",81:"locales/pa",82:"locales/os",83:"locales/or",84:"locales/om",85:"locales/nyn",86:"locales/ny",87:"locales/nus",88:"locales/nso",89:"locales/nr",90:"locales/nqo",91:"locales/no",92:"locales/nnh",93:"locales/nn",94:"locales/nmg",95:"locales/nl",96:"locales/ne",97:"locales/nds",98:"locales/nd",99:"locales/nb",100:"locales/naq",101:"locales/nah",102:"locales/mzn",103:"locales/my",104:"locales/mua",105:"locales/mt",106:"locales/ms",107:"locales/mr",108:"locales/mo",109:"locales/mn",110:"locales/ml",111:"locales/mk",112:"locales/mgo",113:"locales/mgh",114:"locales/mg",115:"locales/mfe",116:"locales/mer",117:"locales/mas",118:"locales/lv",119:"locales/luy",120:"locales/luo",121:"locales/lu",122:"locales/lt",123:"locales/lrc",124:"locales/lo",125:"locales/ln",126:"locales/lkt",127:"locales/lg",128:"locales/lb",129:"locales/lag",130:"locales/ky",131:"locales/kw",132:"locales/ku",133:"locales/ksh",134:"locales/ksf",135:"locales/ksb",136:"locales/ks",137:"locales/kok",138:"locales/ko",139:"locales/kn",140:"locales/km",141:"locales/kln",142:"locales/kl",143:"locales/kkj",144:"locales/kk",145:"locales/ki",146:"locales/khq",147:"locales/kea",148:"locales/kde",149:"locales/kcg",150:"locales/kam",151:"locales/kaj",152:"locales/kab",153:"locales/ka",154:"locales/jw",155:"locales/jv",156:"locales/jmc",157:"locales/ji",158:"locales/jgo",159:"locales/jbo",160:"locales/ja",161:"locales/iw",162:"locales/iu",163:"locales/it",164:"locales/is",165:"locales/in",166:"locales/ii",167:"locales/ig",168:"locales/id",169:"locales/hy",170:"locales/hu",171:"locales/hsb",172:"locales/hr",173:"locales/hi",174:"locales/he",175:"locales/haw",176:"locales/ha",177:"locales/gv",178:"locales/guz",179:"locales/guw",180:"locales/gu",181:"locales/gsw",182:"locales/gl",183:"locales/gd",184:"locales/ga",185:"locales/fy",186:"locales/fur",187:"locales/fr",188:"locales/fo",189:"locales/fil",190:"locales/fi",191:"locales/ff",192:"locales/fa",193:"locales/ewo",194:"locales/eu",195:"locales/et",196:"locales/es",197:"locales/eo",198:"locales/en",199:"locales/el",200:"locales/ee",201:"locales/ebu",202:"locales/dz",203:"locales/dyo",204:"locales/dv",205:"locales/dua",206:"locales/dsb",207:"locales/dje",208:"locales/de",209:"locales/dav",210:"locales/da",211:"locales/cy",212:"locales/cu",213:"locales/cs",214:"locales/ckb",215:"locales/chr",216:"locales/cgg",217:"locales/ce",218:"locales/ca",219:"locales/bs",220:"locales/brx",221:"locales/br",222:"locales/bo",223:"locales/bn",224:"locales/bm",225:"locales/bh",226:"locales/bg",227:"locales/bez",228:"locales/bem",229:"locales/be",230:"locales/bas",231:"locales/az",232:"locales/ast",233:"locales/asa",234:"locales/as",235:"locales/ars",236:"locales/ar",237:"locales/am",238:"locales/ak",239:"locales/agq",240:"locales/af",241:"photos",242:"locales/index-js",243:"locales/index",244:"locales/"}[chunkId]||chunkId)+".css",fullhref=__webpack_require__.p+href,existingLinkTags=document.getElementsByTagName("link"),i=0;i<existingLinkTags.length;i++){var tag=existingLinkTags[i],dataHref=tag.getAttribute("data-href")||tag.getAttribute("href");if("stylesheet"===tag.rel&&(dataHref===href||dataHref===fullhref))return resolve()}for(var existingStyleTags=document.getElementsByTagName("style"),i=0;i<existingStyleTags.length;i++){var tag=existingStyleTags[i],dataHref=tag.getAttribute("data-href");if(dataHref===href||dataHref===fullhref)return resolve()}var linkTag=document.createElement("link");linkTag.rel="stylesheet",linkTag.type="text/css",linkTag.onload=resolve,linkTag.onerror=function(event){var request=event&&event.target&&event.target.src||fullhref,err=new Error("Loading CSS chunk "+chunkId+" failed.\n("+request+")");err.request=request,reject(err)},linkTag.href=fullhref;var head=document.getElementsByTagName("head")[0];head.appendChild(linkTag)}).then(function(){installedCssChunks[chunkId]=0}));var installedChunkData=installedChunks[chunkId];if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else{function onScriptComplete(event){script.onerror=script.onload=null,clearTimeout(timeout);var chunk=installedChunks[chunkId];if(0!==chunk){if(chunk){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src,error=new Error("Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")");error.type=errorType,error.request=realSrc,chunk[1](error)}installedChunks[chunkId]=void 0}}var promise=new Promise(function(resolve,reject){installedChunkData=installedChunks[chunkId]=[resolve,reject]});promises.push(installedChunkData[2]=promise);var head=document.getElementsByTagName("head")[0],script=document.createElement("script");script.charset="utf-8",script.timeout=120,__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.src=__webpack_require__.p+"./js/"+chunkId+".bundle.js";var timeout=setTimeout(function(){onScriptComplete({type:"timeout",target:script})},12e4);script.onerror=script.onload=onScriptComplete,head.appendChild(script)}return Promise.all(promises)},__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.r=function(exports){Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module["default"]}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="./",__webpack_require__.oe=function(err){throw console.error(err),err};var jsonpArray=window.webpackJsonp=window.webpackJsonp||[],oldJsonpFunction=jsonpArray.push.bind(jsonpArray);jsonpArray.push=webpackJsonpCallback,jsonpArray=jsonpArray.slice();for(var i=0;i<jsonpArray.length;i++)webpackJsonpCallback(jsonpArray[i]);var parentJsonpFunction=oldJsonpFunction;return __webpack_require__(__webpack_require__.s=152)})({1:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return Log});class Log{static async init(host=""){if("DRWV"===host)return void clearTimeout(this.logPoll);const platform=__webpack_require__(56).default,cep=__webpack_require__(11).default;cep.available&&(Log.file=platform.isWindowsOS()?platform.getTempDir():cep.getUserData()+"/../Logs",Log.file+="/CreativeCloud",window.cep.fs.makedir(Log.file),Log.file+="/CCX Welcome",window.cep.fs.makedir(Log.file),Log.file+="/",Log.file+=`Start(${cep.getExtensionVersion().version})-${cep.applicationID}-${cep.applicationVersion}`,Log.flushEnabled=!0,Log.logs.push("Initialize logging"),await Log.flush())}static async rotateLog(){return new Promise(resolve=>{const cep=__webpack_require__(11).default;cep.evalExtendScript(`var f = new File('${Log.file}.log'); f.length`,length=>{const len=parseInt(length);len>5242880&&(window.cep.fs.deleteFile(Log.file+"-prev.log"),window.cep.fs.rename(Log.file+".log",Log.file+"-prev.log")),resolve()})})}static async flush(){return!Log.flushEnabled||0===Log.logs.length||Log.idleCallBackRequested?void 0:new Promise(resolve=>{Log.idleCallBackRequested=!0,window.requestIdleCallback(()=>{Log.idleCallBackRequested=!1,Log.rotateLog().then(()=>{const cep=__webpack_require__(11).default,punycode=__webpack_require__(144),data=Log.logs.splice(0,Log.logs.length).join("\n").replace(/\'/g,"\\'").replace(/\n/g,"\\n").split("\\n").map(x=>punycode.encode(x)).join("\\n");cep.evalExtendScript(`
				var f = new File("${Log.file}.log");
				f.open('a');
				f.write('${data}');`,result=>{console.log("Log to disk result: ",result),resolve()})})})})}static configure(isEnabled,prefixString){window.addEventListener("error",function(event){Log.toConsole(`Received unhandled error event: ${event.message} @ ${event.filename}, Line ${event.lineno}, Col ${event.colno}, ${event.error&&event.error.stack}`)}),window.addEventListener("unhandledrejection",e=>{Log.toConsole(`Received unhandled rejection event: ${e.reason} ${e.error&&e.error.stack}`)}),Log._enabled=isEnabled,prefixString&&(Log.logPrefix=prefixString),this.logPoll=window.setTimeout(()=>{Log.flushEnabled||Log.init()},1e4)}static toConsole(msg,optParam){if(!Log._enabled)return;let prefix="",depth=0,error=!1;"object"==typeof optParam?(prefix=optParam.prefix?" - "+optParam.prefix:prefix,depth=optParam.indent?optParam.indent:depth,error=optParam.error?optParam.error:error):"string"==typeof optParam&&(prefix=" - "+optParam);let logmsg=Log.logPrefix+prefix+" :: ";for(;0<depth;depth--)logmsg+="     ";logmsg+=msg,Log.logs.push(new Date().toString()+" "+logmsg),error?console.error(logmsg):console.log(logmsg),Log.flush()}static debug(msg,halt){halt&&window.alert("DEBUG BREAK: "+msg),Log.toConsole(msg,"DEBUG");debugger}static mark(msg,prefix){Log.toConsole("@"+Date()+" "+msg,prefix)}static logJSON(msg,jsonData){window.__adobe_cep__?Log.toConsole(msg+" "+JSON.stringify(jsonData)):Log.toConsole(msg+"\n"+JSON.stringify(jsonData,null,4))}static logJSONDelayed(msg,jsonData){setTimeout(()=>{Log.logJSON(msg,jsonData)},1e3)}}Log.logs=["\n\n\n\n\n"],Log.file="",Log.flushEnabled=!1,Log._enabled=!0,Log.logPrefix="",Log.logPoll=0,Log.idleCallBackRequested=!1},10:function(module,__webpack_exports__,__webpack_require__){"use strict";function _globalDelta(){const start=_startMark||window.perfGlobalStart,delta=window.performance.now()-start;return _Mathround(delta)}function _setHighBeamMode(params){params&&(_logToHighBeam=params.enabled||!1,_highBeamCategory=params.category||null,!_highBeamCategory&&(iaw_log__WEBPACK_IMPORTED_MODULE_1__.a.toConsole("CCX-Performance: Error 'category' parameter is required for HighBeam perfromance logging, data will NOT be sent."),_logToHighBeam=!1))}function set(strID){console.time(strID),_timers[strID]=window.performance.now(),_measures.push({mode:"set",id:strID,globalDelta:_globalDelta()});let strIdLog=strID+" Start";for(let i=strID.length;24>i;i++)strIdLog+=" ";iaw_log__WEBPACK_IMPORTED_MODULE_1__.a.toConsole(`Timeline: ${strIdLog}: ${(_timers[strID]-_startMark).toFixed(2)}ms`)}function measure(strID,start){start=start||_timers[strID]||_startMark;const now=window.performance.now(),measure={mode:"measure",id:strID,deltaT:_Mathround(now-start),globalDelta:_globalDelta()};_timers[strID]&&console.timeEnd(strID);let strIdLog=strID;for(let i=strID.length;30>i;i++)strIdLog+=" ";iaw_log__WEBPACK_IMPORTED_MODULE_1__.a.toConsole(`Timeline measure: ${strIdLog}: ${(now-_startMark).toFixed(2)}ms`),-1===DO_NOT_LOG.indexOf(strIdLog.trim())&&iaw_analytics_ingest__WEBPACK_IMPORTED_MODULE_2__.a.logMiscellaneousEvent("perf",{time:(now-_startMark).toFixed(2),perf:strIdLog||null}),_measures.push(measure)}function report(clearMeasures){const count=_measures.length,pipDataGroup={};iaw_log__WEBPACK_IMPORTED_MODULE_1__.a.toConsole("[perf.report] ----------------------------------------------");for(let index=0;index<count;++index){const measure=_measures[index];let message;"measure"===measure.mode?(message="[perf.measure] "+measure.id+": "+measure.deltaT+" ms (global: "+measure.globalDelta+" ms)",pipDataGroup[measure.id]=measure.deltaT):_reportMarks&&(message="[perf.set] mark for: "+measure.id+" (global: "+measure.globalDelta+" ms)"),message&&iaw_log__WEBPACK_IMPORTED_MODULE_1__.a.toConsole(message)}_logToHighBeam&&_analytics_pip__WEBPACK_IMPORTED_MODULE_0__.a.logDataGroupEvent("Startup Performance",pipDataGroup,_highBeamCategory,"performance"),clearMeasures&&(_measures.length=0)}var _Mathround=Math.round,_analytics_pip__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(62),iaw_log__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),iaw_analytics_ingest__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(50);const TIMERS={JSLOAD:"scripts loaded",COMPLETE:"complete",HOSTJS:"JS code after host data",RENDER:"render",APPDATA:"app.data",LOADTIME:"total load time",SOPHIA_DATA:"sophia.data",LEARN_DATA:"learn.data",AVATAR_IMG:"avatar.img",I18N:"i18n.data",SEARCH:"Search",FILES:"CC Files",PHOTOS:"CC Photos",JSINIT:"JS Init",CEP:"CEP Configure",DEPENDENCIES:"Dependencies",HOSTADAPTER:"host adapter",DOCUMENTLISTENERS:"document listeners",READY:"App JS ready"},DO_NOT_LOG=[TIMERS.COMPLETE,TIMERS.DOCUMENTLISTENERS];let _logToHighBeam=!1,_reportMarks=!1,_highBeamCategory=null,_startMark=0;const _timers={},_measures=[];__webpack_exports__.a={TIMERS:TIMERS,configure:function(opts){opts&&(opts.highbeam&&_setHighBeamMode(opts.highbeam),_reportMarks=opts.reportMarks||!1,opts.start&&(_startMark=opts.start))},markStart:function(start){_startMark=start||window.performance.now()},set:set,measure:measure,report:report}},104:function(module,__webpack_exports__,__webpack_require__){"use strict";var xhr__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(141),xhr__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(xhr__WEBPACK_IMPORTED_MODULE_0__),iaw_imsBridge__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(25),iaw_log__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1);const requestWithAccessToken=function(){let lastRequest={};return function requestWithAccessToken(requestOptions={},cancelPreviousRequest=!1){return new Promise((resolve,reject)=>{iaw_imsBridge__WEBPACK_IMPORTED_MODULE_1__.a.getAccessToken(accessToken=>{if(!accessToken)return reject(new Error("No access token"));const newRequestOptions=Object.assign({},{retries:1,retryInterval:500,requestNewToken:null},requestOptions);newRequestOptions.headers=Object.assign({},newRequestOptions.headers||{},{Authorization:"Bearer "+accessToken}),cancelPreviousRequest&&lastRequest.abort&&lastRequest.abort(),lastRequest=xhr__WEBPACK_IMPORTED_MODULE_0___default()(newRequestOptions,(err,resp)=>{err||200>resp.statusCode||300<=resp.statusCode?(--newRequestOptions.retries,0>=newRequestOptions.retries?reject(err):setTimeout(()=>{resolve(requestWithAccessToken(newRequestOptions))},newRequestOptions.retryInterval)):resolve(resp)})})})}}();__webpack_exports__.a={downLoadImage:function(url,callback){iaw_log__WEBPACK_IMPORTED_MODULE_2__.a.toConsole("Request downloading image from: "+url);const xhr=new XMLHttpRequest;xhr.onreadystatechange=function(){4===this.readyState&&200===this.status&&callback(this.response)},xhr.onerror=function(error){iaw_log__WEBPACK_IMPORTED_MODULE_2__.a.toConsole("downLoadImage error: "+JSON.stringify(error)),callback(null)},xhr.open("GET",url,!0),xhr.responseType="blob",xhr.send()},ajax:function(url,callback,scope){const xhr=new XMLHttpRequest;xhr.onreadystatechange=function(){4===this.readyState&&(200===this.status||0===this.status)&&callback.call(scope||null,this.response)},xhr.onerror=function(error){iaw_log__WEBPACK_IMPORTED_MODULE_2__.a.toConsole("[netUtil.ajax] Error: "+JSON.stringify(error)),callback.call(scope||null,error)},xhr.open("GET",url,!0),xhr.send()},promise:function(method,url,token,headers){return new Promise((resolve,reject)=>{const request=new XMLHttpRequest;request.open(method,url,!0),request.onload=function(){200===request.status||202===request.status?resolve(request.response):reject(request.statusText)},request.onerror=function(){reject(request.statusText||"Network Error")},token&&(request.setRequestHeader("x-api-key","CCXInAppWelcomeStart"),request.setRequestHeader("Content-Type","application/json"),request.setRequestHeader("Authorization","Bearer "+token),headers&&Object.keys(headers).forEach(key=>{"undefined"!=typeof headers[key]&&request.setRequestHeader(key,headers[key])})),request.send()})},readPlaceholderJSONData:function(filepath,jsonReceiver){return new Promise((resolve,reject)=>{const request=new XMLHttpRequest;request.open("GET","./placeholder/"+filepath,!0),request.onload=function(){200===request.status||0===request.status?resolve(JSON.parse(request.response,jsonReceiver)):reject(request.statusText)},request.onerror=function(){reject(request.statusText)},request.send()})},loadExternalScript:function(scriptPath){return new Promise((resolve,reject)=>{const scriptTag=document.createElement("script");scriptTag.type="text/javascript",scriptTag.charset="utf-8",scriptTag.async=!0,scriptTag.defer=!1,scriptTag.src=scriptPath,scriptTag.onload=function(){resolve(scriptTag)},scriptTag.onerror=function(error){reject(error)},document.body.appendChild(scriptTag)})},requestWithAccessToken:requestWithAccessToken}},105:function(module,__webpack_exports__,__webpack_require__){"use strict";function setColorTheme(theme,callbackOnceColorIsDetermined){switch(theme){case"light":document.body.classList.add("theme-light"),document.body.classList.remove("theme-dark");break;case"dark":document.body.classList.add("theme-dark"),document.body.classList.remove("theme-light");break;default:{const interfaceColor=iaw_cepBridge__WEBPACK_IMPORTED_MODULE_0__["default"].getUIThemeColor(),themeColor=interfaceColor&&184<=interfaceColor.red?"light":"dark";callbackOnceColorIsDetermined&&callbackOnceColorIsDetermined(themeColor),setColorTheme(themeColor);break}}}__webpack_require__.d(__webpack_exports__,"a",function(){return setColorTheme});var iaw_cepBridge__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(11)},106:function(module){module.exports=function(fn){var string=toString.call(fn);return"[object Function]"===string||"function"==typeof fn&&"[object RegExp]"!==string||"undefined"!=typeof window&&(fn===window.setTimeout||fn===window.alert||fn===window.confirm||fn===window.prompt)};var toString=Object.prototype.toString},11:function(module,__webpack_exports__,__webpack_require__){"use strict";function configure(){_csInterface=window.__adobe_cep__?new src_CEP_CSInterface__WEBPACK_IMPORTED_MODULE_3__.b:null,_available=!!(window.__adobe_cep__&&_csInterface),_available&&_csInterface?(_applicationID=iaw_localstorage__WEBPACK_IMPORTED_MODULE_2__.a.getGlobalItem("appId"),_applicationVersion=iaw_localstorage__WEBPACK_IMPORTED_MODULE_2__.a.getGlobalItem("appVersion"),(!_applicationID||!_applicationVersion)&&(_applicationID=_csInterface.getApplicationID(),_applicationVersion=_csInterface.hostEnvironment.appVersion,iaw_localstorage__WEBPACK_IMPORTED_MODULE_2__.a.setGlobalItem("appId",_applicationID),iaw_localstorage__WEBPACK_IMPORTED_MODULE_2__.a.setGlobalItem("appVersion",_applicationVersion))):(_applicationID="!CEP",_applicationVersion="0.0.0"),_extensionID="com.adobe.ccx.start"}function evalExtendScript(script,completionFn=()=>{}){_available?window.__adobe_cep__.evalScript(script,completionFn):completionFn(null)}function getExtensionPath(){let path;if(_available){const os=_csInterface.getOSInformation(),pathSeparator=0<=os.indexOf("Win")?"\\":"/";path=_csInterface.getSystemPath(src_CEP_CSInterface__WEBPACK_IMPORTED_MODULE_3__.c.EXTENSION)+pathSeparator}return path}function getUIThemeColor(){return _available?_csInterface.getHostEnvironment().appSkinInfo.panelBackgroundColor.color:null}function addEventListener(eventID,handlerFn){_available&&_csInterface.addEventListener(eventID,handlerFn,void 0)}function removeEventListener(eventID,handlerFn){_available&&_csInterface.removeEventListener(eventID,handlerFn,void 0)}function sendCEPEvent(eventType,eventData,optExtensionID){if(_available){const event=new src_CEP_CSInterface__WEBPACK_IMPORTED_MODULE_3__.a(void 0,void 0,void 0,void 0);event.scope="APPLICATION",event.appId=_applicationID,event.extensionId=optExtensionID||_extensionID,event.type=eventType,event.data=eventData,_csInterface.dispatchEvent(event)}}function closeExtensionOnStatus(status){"true"===status.toLowerCase()&&("PHXS"===_applicationID?evalExtendScript(`PHXSBridge.hideHomescreen()`):"ILST"===_applicationID?sendCEPEvent("com.adobe.ccx.start.requestHostClose",null):_available&&window.__adobe_cep__.closeExtension())}function showLibraryInPanel(libraryId){const emitEvent=function(){const setLibEvent=new src_CEP_CSInterface__WEBPACK_IMPORTED_MODULE_3__.a("dlSetCurrentLibrary","APPLICATION",void 0,void 0);setLibEvent.data={libraryId:libraryId},_csInterface.dispatchEvent(setLibEvent)},handlePanelInitialized=function(){_csInterface.removeEventListener("dlPanelInitialized",handlePanelInitialized,void 0),setTimeout(emitEvent,200)};emitEvent(),_csInterface.addEventListener("dlPanelInitialized",handlePanelInitialized,void 0),_csInterface.requestOpenExtension("com.adobe.DesignLibraries.angular","")}/**
 * Show license dialog. This is not platform-independent but it's an IAW-only thing we need to do, so...?
 *
 * @param element	element {type: 'application/vnd.adobe.element.template+dcx'}
 * @param contentId template Id
 * @skipQuotaCheck 	skip quota check
 * @licenseType 	license type
 */function registerKeyEventsInterest(keyEvent){_available&&_csInterface.registerKeyEventsInterest(keyEvent)}function getUserData(){return _available?_csInterface.getSystemPath(src_CEP_CSInterface__WEBPACK_IMPORTED_MODULE_3__.c.USER_DATA):""}function fileExists(localAbsolutePath){if("PPRO"===_applicationID&&localAbsolutePath&&!localAbsolutePath.endsWith(".debug"))return!0;if(-1===navigator.userAgent.indexOf("Mac OS X"))localAbsolutePath&&0===localAbsolutePath.indexOf("file://")&&(localAbsolutePath=localAbsolutePath.replace("file://",""));else if(localAbsolutePath&&0<localAbsolutePath.length&&"/"!==localAbsolutePath.charAt(0)){let parts=localAbsolutePath.split(/:/);parts=parts.map(x=>x.replace(/\//,":")),parts.unshift("Volumes"),localAbsolutePath="/"+parts.join("/")}return!_available||!window.cep.fs.stat(localAbsolutePath).err}function isSilentSupported(){return-1!==iaw_jsUtil__WEBPACK_IMPORTED_MODULE_1__.a.compareMajorMinorPatchVersions({AEFT:"16.1",DRWV:"19.2",IDSN:"14.0.2",ILST:"23.0.3",PHXS:"20.0.4",PPRO:"13.1"}[_applicationID],_applicationVersion)}__webpack_require__.r(__webpack_exports__);var iaw_log__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),iaw_jsUtil__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(57),iaw_localstorage__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(17),src_CEP_CSInterface__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(34);let _csInterface,_available,_applicationID,_extensionID,_applicationVersion;__webpack_exports__["default"]={get available(){return _available},get debugMode(){return!_available||fileExists(getExtensionPath()+".debug")},get applicationID(){return _applicationID},get applicationVersion(){return _applicationVersion},get extensionID(){return _extensionID},configure:configure,evalExtendScript:evalExtendScript,evalExtendScriptWithParams:function(..._){if(2>arguments.length)throw new Error("evalExtendScriptWithParams needs at least two arguments: script and callback");const args=Array.prototype.slice.call(arguments),callback=args.pop(),commandName=args.shift();let script;const paramsArray=args.map(arg=>{const param="object"==typeof arg?JSON.stringify(arg):arg;return"string"==typeof param?"\""+param.replace(/\\/g,"\\\\").replace(/"/g,"\\\"")+"\"":param});script=commandName+"("+paramsArray.join(",")+")",evalExtendScript(script,callback)},getExtensionVersion:function(){return{version:window.appVersionNumber||"0.0.0",sha:null}},getExtensionPath:getExtensionPath,fileExists:fileExists,addEventListener:addEventListener,removeEventListener:removeEventListener,getUIThemeColor:getUIThemeColor,addThemeChangeListener:function(handlerFn){addEventListener("com.adobe.csxs.events.ThemeColorChanged",handlerFn)},removeThemeChangeListener:function(handlerFn){removeEventListener("com.adobe.csxs.events.ThemeColorChanged",handlerFn)},sendEvent:sendCEPEvent,openDefaultBrowser:function(url){window.cep.util.openURLInDefaultBrowser&&window.cep.util.openURLInDefaultBrowser(url)},closeExtensionOnStatus:closeExtensionOnStatus,showLibraryInPanel:showLibraryInPanel,/**
   * Show license dialog. This is not platform-independent but it's an IAW-only thing we need to do, so...?
   *
   * @param element	element {type: 'application/vnd.adobe.element.template+dcx'}
   * @param contentId {String} template Id
   * @skipQuotaCheck 	{Boolean} skip quota check
   * @licenseType 	{String} license type
   */showLicenseDialog:function(element,contentId,skipQuotaCheck,libraryId,renditionDetails,licenseType){const PURCHASE_DIALOG_INIT_EVENT_NAME="com.adobe.inapp.purchase.init",PURCHASE_DIALOG_CLOSED_EVENT_NAME="com.adobe.inapp.purchase.closed",PURCHASE_DIALOG_EXTENSION_ID="com.adobe.inapp.purchase";return new Promise((resolve,reject)=>{function onPurchaseDialogInit(){_csInterface.removeEventListener(PURCHASE_DIALOG_INIT_EVENT_NAME,onPurchaseDialogInit,void 0);const csEvent=new src_CEP_CSInterface__WEBPACK_IMPORTED_MODULE_3__.a("com.adobe.inapp.purchase.perform","APPLICATION","CCInAppCmdN",_csInterface.getExtensionID());csEvent.data={elementType:element.type,contentId:contentId+"",skipQuotaCheck:skipQuotaCheck,licenseType:licenseType,addToLibraryID:libraryId,renditionDetails:renditionDetails},_csInterface.dispatchEvent(csEvent),iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.logJSON("Dispatch CEP event to start purchase dialog: ",csEvent)}function onPurchaseDialogClosed(event){if(iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.logJSON("Data from purchase dialog: ",event),_csInterface.removeEventListener(PURCHASE_DIALOG_CLOSED_EVENT_NAME,onPurchaseDialogClosed,void 0),_csInterface.removeEventListener("com.adobe.csxs.events.ExtensionUnloaded",onPurchaseDialogClosed,void 0),"com.adobe.csxs.events.ExtensionUnloaded"===event.type){const xmlParser=new DOMParser,xmlDoc=xmlParser.parseFromString(event.data,"text/xml");if(xmlDoc.getElementsByTagName("Id")[0].childNodes[0].nodeValue!==PURCHASE_DIALOG_EXTENSION_ID||"1"!==xmlDoc.getElementsByTagName("ClosingType")[0].childNodes[0].nodeValue)return}const eventData=event.data;eventData&&eventData.didFinish?resolve(eventData.data):reject(eventData&&eventData.data)}return _csInterface?void(_csInterface.addEventListener(PURCHASE_DIALOG_INIT_EVENT_NAME,onPurchaseDialogInit,void 0),_csInterface.addEventListener(PURCHASE_DIALOG_CLOSED_EVENT_NAME,onPurchaseDialogClosed,void 0),_csInterface.addEventListener("com.adobe.csxs.events.ExtensionUnloaded",onPurchaseDialogClosed,void 0),_csInterface.requestOpenExtension(PURCHASE_DIALOG_EXTENSION_ID,void 0)):void reject(new Error("CSInterface not available"))})},registerKeyEventsInterest:registerKeyEventsInterest,getUserData:getUserData,launchNGLBanner:function(responseId){const uuid=iaw_jsUtil__WEBPACK_IMPORTED_MODULE_1__.a.generateGUID(),data={type:isSilentSupported()?"SILENT_BANNER_WORKFLOW":"BANNER_WORKFLOW",version:"1",id:responseId,instanceId:uuid,response:"banner_click::workflow_result"},response={workflow:JSON.stringify(data)};iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.toConsole(`Banner Clicked. Sending ${responseId} to the product with id ${uuid}`),sendCEPEvent("com.adobe.ccx.start.handleLicenseBanner",JSON.stringify(response))}}},141:function(module,exports,__webpack_require__){"use strict";function isEmpty(obj){for(var i in obj)if(obj.hasOwnProperty(i))return!1;return!0}function initParams(uri,options,callback){var params=uri;return isFunction(options)?(callback=options,"string"==typeof uri&&(params={uri:uri})):params=xtend(options,{uri:uri}),params.callback=callback,params}function createXHR(uri,options,callback){return options=initParams(uri,options,callback),_createXHR(options)}function _createXHR(options){function readystatechange(){4===xhr.readyState&&setTimeout(loadFunc,0)}function getBody(){var body;if(body=xhr.response?xhr.response:xhr.responseText||getXml(xhr),isJson)try{body=JSON.parse(body)}catch(e){}return body}function errorFunc(evt){return clearTimeout(timeoutTimer),evt instanceof Error||(evt=new Error(""+(evt||"Unknown XMLHttpRequest Error"))),evt.statusCode=0,callback(evt,failureResponse)}function loadFunc(){if(!aborted){var status;clearTimeout(timeoutTimer),status=options.useXDR&&void 0===xhr.status?200:1223===xhr.status?204:xhr.status;var response=failureResponse,err=null;return 0===status?err=new Error("Internal XMLHttpRequest Error"):(response={body:getBody(),statusCode:status,method:method,headers:{},url:uri,rawRequest:xhr},xhr.getAllResponseHeaders&&(response.headers=parseHeaders(xhr.getAllResponseHeaders()))),callback(err,response,response.body)}}if("undefined"==typeof options.callback)throw new Error("callback argument missing");var called=!1,callback=function(err,response,body){called||(called=!0,options.callback(err,response,body))},xhr=options.xhr||null;xhr||(options.cors||options.useXDR?xhr=new createXHR.XDomainRequest:xhr=new createXHR.XMLHttpRequest);var uri=xhr.url=options.uri||options.url,method=xhr.method=options.method||"GET",body=options.body||options.data,headers=xhr.headers=options.headers||{},sync=!!options.sync,isJson=!1,failureResponse={body:void 0,headers:{},statusCode:0,method:method,url:uri,rawRequest:xhr},key,aborted,timeoutTimer;if("json"in options&&!1!==options.json&&(isJson=!0,headers.accept||headers.Accept||(headers.Accept="application/json"),"GET"!==method&&"HEAD"!==method&&(headers["content-type"]||headers["Content-Type"]||(headers["Content-Type"]="application/json"),body=JSON.stringify(!0===options.json?body:options.json))),xhr.onreadystatechange=readystatechange,xhr.onload=loadFunc,xhr.onerror=errorFunc,xhr.onprogress=function(){},xhr.onabort=function(){aborted=!0},xhr.ontimeout=errorFunc,xhr.open(method,uri,!sync,options.username,options.password),sync||(xhr.withCredentials=!!options.withCredentials),!sync&&0<options.timeout&&(timeoutTimer=setTimeout(function(){if(!aborted){aborted=!0,xhr.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",errorFunc(e)}},options.timeout)),xhr.setRequestHeader)for(key in headers)headers.hasOwnProperty(key)&&xhr.setRequestHeader(key,headers[key]);else if(options.headers&&!isEmpty(options.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in options&&(xhr.responseType=options.responseType),"beforeSend"in options&&"function"==typeof options.beforeSend&&options.beforeSend(xhr),xhr.send(body||null),xhr}function getXml(xhr){try{if("document"===xhr.responseType)return xhr.responseXML;var firefoxBugTakenEffect=xhr.responseXML&&"parsererror"===xhr.responseXML.documentElement.nodeName;if(""===xhr.responseType&&!firefoxBugTakenEffect)return xhr.responseXML}catch(e){}return null}var window=__webpack_require__(150),isFunction=__webpack_require__(106),parseHeaders=__webpack_require__(149),xtend=__webpack_require__(146);module.exports=createXHR,createXHR.XMLHttpRequest=window.XMLHttpRequest||function(){},createXHR.XDomainRequest="withCredentials"in new createXHR.XMLHttpRequest?createXHR.XMLHttpRequest:window.XDomainRequest,function(array,iterator){for(var i=0;i<array.length;i++)iterator(array[i])}(["get","put","post","patch","head","delete"],function(method){createXHR["delete"===method?"del":method]=function(uri,options,callback){return options=initParams(uri,options,callback),options.method=method.toUpperCase(),_createXHR(options)}})},142:function(module){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],!module.children&&(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},143:function(module){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}var process=module.exports={},cachedSetTimeout,cachedClearTimeout;(function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();var queue=[],draining=!1,queueIndex=-1,currentQueue;process.nextTick=function(fun){var args=Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(){return[]},process.binding=function(){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(){throw new Error("process.chdir is not supported")},process.umask=function(){return 0}},144:function(module,exports,__webpack_require__){(function(module,global){var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(root){function error(type){throw new RangeError(errors[type])}function map(array,fn){for(var length=array.length,result=[];length--;)result[length]=fn(array[length]);return result}function mapDomain(string,fn){var parts=string.split("@"),result="";1<parts.length&&(result=parts[0]+"@",string=parts[1]),string=string.replace(regexSeparators,".");var labels=string.split("."),encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){for(var output=[],counter=0,length=string.length,value,extra;counter<length;)value=string.charCodeAt(counter++),55296<=value&&56319>=value&&counter<length?(extra=string.charCodeAt(counter++),56320==(64512&extra)?output.push(((1023&value)<<10)+(1023&extra)+65536):(output.push(value),counter--)):output.push(value);return output}function ucs2encode(array){return map(array,function(value){var output="";return 65535<value&&(value-=65536,output+=stringFromCharCode(55296|1023&value>>>10),value=56320|1023&value),output+=stringFromCharCode(value),output}).join("")}function basicToDigit(codePoint){return 10>codePoint-48?codePoint-22:26>codePoint-65?codePoint-65:26>codePoint-97?codePoint-97:base}function digitToBasic(digit,flag){return digit+22+75*(26>digit)-((0!=flag)<<5)}function adapt(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/damp):delta>>1,delta+=floor(delta/numPoints);delta>baseMinusTMin*tMax>>1;k+=base)delta=floor(delta/baseMinusTMin);return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var output=[],inputLength=input.length,i=0,n=initialN,bias=initialBias,out,basic,j,index,oldi,w,k,digit,t,baseMinusT;for(basic=input.lastIndexOf(delimiter),0>basic&&(basic=0),j=0;j<basic;++j)128<=input.charCodeAt(j)&&error("not-basic"),output.push(input.charCodeAt(j));for(index=0<basic?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=base;;k+=base){if(index>=inputLength&&error("invalid-input"),digit=basicToDigit(input.charCodeAt(index++)),(digit>=base||digit>floor((maxInt-i)/w))&&error("overflow"),i+=digit*w,t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,digit<t)break;baseMinusT=base-t,w>floor(maxInt/baseMinusT)&&error("overflow"),w*=baseMinusT}out=output.length+1,bias=adapt(i-oldi,out,0==oldi),floor(i/out)>maxInt-n&&error("overflow"),n+=floor(i/out),i%=out,output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var output=[],n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,inputLength,handledCPCountPlusOne,baseMinusT,qMinusT;for(input=ucs2decode(input),inputLength=input.length,n=initialN,delta=0,bias=initialBias,j=0;j<inputLength;++j)currentValue=input[j],128>currentValue&&output.push(stringFromCharCode(currentValue));for(handledCPCount=basicLength=output.length,basicLength&&output.push(delimiter);handledCPCount<inputLength;){for(m=maxInt,j=0;j<inputLength;++j)currentValue=input[j],currentValue>=n&&currentValue<m&&(m=currentValue);for(handledCPCountPlusOne=handledCPCount+1,m-n>floor((maxInt-delta)/handledCPCountPlusOne)&&error("overflow"),delta+=(m-n)*handledCPCountPlusOne,n=m,j=0;j<inputLength;++j)if(currentValue=input[j],currentValue<n&&++delta>maxInt&&error("overflow"),currentValue==n){for(q=delta,k=base;;k+=base){if(t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,q<t)break;qMinusT=q-t,baseMinusT=base-t,output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0))),q=floor(qMinusT/baseMinusT)}output.push(stringFromCharCode(digitToBasic(q,0))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,++handledCPCount}++delta,++n}return output.join("")}var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule="object"==typeof module&&module&&!module.nodeType&&module,freeGlobal="object"==typeof global&&global;(freeGlobal.global===freeGlobal||freeGlobal.window===freeGlobal||freeGlobal.self===freeGlobal)&&(root=freeGlobal);var maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,punycode;punycode={version:"1.4.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:function(input){return mapDomain(input,function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string})},toUnicode:function(input){return mapDomain(input,function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string})}},__WEBPACK_AMD_DEFINE_RESULT__=function(){return punycode}.call(exports,__webpack_require__,exports,module),!(__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})(this)}).call(this,__webpack_require__(142)(module),__webpack_require__(37))},145:function(module,exports,__webpack_require__){var _Mathmax=Math.max,_Mathabs=Math.abs,_Mathfloor=Math.floor;(function(global){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(e,t){__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=t,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,!(__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(this,function(){var e=window.nodeRequire?window.nodeRequire:function(){};var t,n,i;if(function(e){function o(e,t){return T.call(e,t)}function s(e,t){var f=t&&t.split("/"),p=v.map,h=p&&p["*"]||{},n,i,o,s,r,u,a,c,d,l,_;if(e&&"."===e.charAt(0))if(t){for(e=e.split("/"),r=e.length-1,v.nodeIdCompat&&N.test(e[r])&&(e[r]=e[r].replace(N,"")),e=f.slice(0,f.length-1).concat(e),d=0;d<e.length;d+=1)if(_=e[d],"."===_)e.splice(d,1),d-=1;else if(".."===_){if(1===d&&(".."===e[2]||".."===e[0]))break;0<d&&(e.splice(d-1,2),d-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((f||h)&&p){for(n=e.split("/"),d=n.length;0<d;d-=1){if(i=n.slice(0,d).join("/"),f)for(l=f.length;0<l;l-=1)if(o=p[f.slice(0,l).join("/")],o&&(o=o[i])){s=o,u=d;break}if(s)break;!a&&h&&h[i]&&(a=h[i],c=d)}!s&&a&&(s=a,u=c),s&&(n.splice(0,u,s),e=n.join("/"))}return e}function r(t,n){return function(){var i=y.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),f.apply(e,i.concat([t,n]))}}function u(e){return function(t){return s(t,e)}}function a(e){return function(t){g[e]=t}}function c(t){if(o(A,t)){var n=A[t];delete A[t],E[t]=!0,_.apply(e,n)}if(!o(g,t)&&!o(E,t))throw new Error("No "+t);return g[t]}function d(e){var n=e?e.indexOf("!"):-1,t;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function l(e){return function(){return v&&v.config&&v.config[e]||{}}}var g={},A={},v={},E={},T=Object.prototype.hasOwnProperty,y=[].slice,N=/\.js$/,_,f,p,h;p=function(e,t){var i=d(e),o=i[0],n;return e=i[1],o&&(o=s(o,t),n=c(o)),o?e=n&&n.normalize?n.normalize(e,u(t)):s(e,t):(e=s(e,t),i=d(e),o=i[0],e=i[1],o&&(n=c(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},h={require:function(e){return r(e)},exports:function(e){var t=g[e];return"undefined"==typeof t?g[e]={}:t},module:function(e){return{id:e,uri:"",exports:g[e],config:l(e)}}},_=function(t,n,i,s){var T=[],y=typeof i,u,d,l,_,f,v;if(s=s||t,"undefined"==y||"function"==y){for(n=!n.length&&i.length?["require","exports","module"]:n,f=0;f<n.length;f+=1)if(_=p(n[f],s),d=_.f,"require"===d)T[f]=h.require(t);else if("exports"===d)T[f]=h.exports(t),v=!0;else if("module"===d)u=T[f]=h.module(t);else if(o(g,d)||o(A,d)||o(E,d))T[f]=c(d);else{if(!_.p)throw new Error(t+" missing "+d);_.p.load(_.n,r(s,!0),a(d),{}),T[f]=g[d]}l=i?i.apply(g[t],T):void 0,t&&(u&&u.exports!==e&&u.exports!==g[t]?g[t]=u.exports:l===e&&v||(g[t]=l))}else t&&(g[t]=i)},t=n=f=function(t,n,i,o,s){if("string"==typeof t)return h[t]?h[t](n):c(p(t,n).f);if(!t.splice){if(v=t,v.deps&&f(v.deps,v.callback),!n)return;n.splice?(t=n,n=i,i=null):t=e}return n=n||function(){},"function"==typeof i&&(i=o,o=s),o?_(e,t,n,i):setTimeout(function(){_(e,t,n,i)},4),f},f.config=function(e){return f(e)},t._defined=g,i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),o(g,e)||o(A,e)||(A[e]=[e,t,n])},i.amd={jQuery:!0}}(),i("../node_modules/almond/almond",function(){}),"function"!=typeof e)var e=n;return i("Ingest",["require","exports","module"],function(){"use strict";function o(){return"undefined"!=typeof global&&global.Buffer}function s(){var e=function(){return _Mathfloor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}function r(e,t){var n=e;if(e&&e.length>t&&0<t){var i=e.length-t;n=e.slice(i,e.length)}return n}function u(e,t){var n=e.toString();if(n.length<t){var i=[];i.length=t-n.length+1,n=i.join("0")+n}return n}function a(e,t){var n=Object.getOwnPropertyNames(t);return n.forEach(function(n){if("object"==typeof t[n])"object"!=typeof e[n]&&(e[n]={}),a(e[n],t[n]);else{var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i)}}),e}function c(e){var t=function(){};e.on("data",t),e.on("end",t)}function d(e,t,n){e.forEach(function(e){setTimeout(function(){e(t,n)})})}function l(e,t){var n=this;e=e||{},t=t||{};var i=function(e){throw n._log(e),new Error("ERROR: "+e)};this._queuedEvents=[],this._sendingEvents=[],this._queuedCallbacks=[],this._lastSendTime=0,this._isEnabled=!1,this._dependencies=a({},e),e.getAccessToken&&"function"==typeof e.getAccessToken||i("Missing dependency: getAccessToken"),this._options={},Object.keys(g).forEach(function(e){this._options[e]=t[e]||g[e]},this),A.forEach(function(e){this._options[e]||i("Missing option: "+e)},this)}var f={prod:"cc-api-data.adobe.io",stage:"cc-api-data-stage.adobe.io",dev:"cc-api-data-dev.adobe.io"},p="/ingest",g={ENVIRONMENT:"prod",ALLOW_NO_TOKEN:!1,ANALYTICS_INGEST_TYPE:"dunamis",ANALYTICS_MAX_QUEUED_EVENTS:50,ANALYTICS_DEBOUNCE:1e4,ANALYTICS_API_KEY:null,ANALYTICS_X_PRODUCT:null,ANALYTICS_X_PRODUCT_LOCATION:void 0,ANALYTICS_PROJECT:null,ANALYTICS_USER_REGION:"UNKNOWN",TIMESTAMP_PROPERTY_NAME:"event.dts_end"},A=["ANALYTICS_API_KEY","ANALYTICS_X_PRODUCT","ANALYTICS_PROJECT"];return l.prototype._log=function(e){var t=this._dependencies.log||console.log.bind(console);t("Ingest :: "+e)},l.prototype._getAgent=function(e,t){return this._dependencies.getAgent?void this._dependencies.getAgent(e,t):void t(null,{})},l.prototype._getAccessToken=function(e){this._dependencies.getAccessToken(e)},l.prototype._clearAccessToken=function(){this._dependencies.clearAccessToken&&this._dependencies.clearAccessToken()},l.prototype._getEnvironment=function(){return f[this._options.ENVIRONMENT]?this._options.ENVIRONMENT:"prod"},l.prototype._getAnalyticsHost=function(){return f[this._getEnvironment()]},l.prototype._formatTimestamp=function(e){var t=e.getFullYear(),n=u(e.getMonth()+1,2),i=u(e.getDate(),2),o=u(e.getHours(),2),s=u(e.getMinutes(),2),r=u(e.getSeconds(),2),a=u(e.getMilliseconds(),3),c=e.getTimezoneOffset(),d=0>c?"+":"-",l=_Mathfloor(_Mathabs(c)/60),_=_Mathabs(c)%60,f=d+u(l,2)+u(_,2);return t+"-"+n+"-"+i+"T"+o+":"+s+":"+r+"."+a+f},l.prototype._updateDebounce=function(e){var t=e&&(e["retry-after"]||e["Retry-After"]),n=0;if(t){var i;try{i=parseInt(t,10)}catch(o){}if(i)n=_Mathmax(0,i);else{var s=Date.parse(t);if(s){var r=new Date().valueOf(),u=_Mathmax(0,s-r)/1e3,a=_Mathfloor(Math.random()*10);n=u+a}}}this._options.ANALYTICS_DEBOUNCE=_Mathmax(1e3*n,this._options.ANALYTICS_DEBOUNCE)},l.prototype._queueEvent=function(e){this._queuedEvents.length>=this._options.ANALYTICS_MAX_QUEUED_EVENTS&&this._queuedEvents.shift(),this._queuedEvents.push(e)},l.prototype._requeueEvents=function(e){this._queuedEvents=e.concat(this._queuedEvents),this._queuedEvents=r(this._queuedEvents,this._options.ANALYTICS_MAX_QUEUED_EVENTS)},l.prototype._sendAnalytics=function(t,n,i){var r=this;if(i=i||0,n&&this._queuedCallbacks.push(n),!this._isEnabled||0===this._queuedEvents.length){var u=this._queuedCallbacks;return this._queuedCallbacks=[],void(this._isEnabled?d(u,null,0):d(u,new Error("Analytics Disabled")))}var l=this._options.ANALYTICS_DEBOUNCE;if(t&&(l=0,clearTimeout(this._pendingSendAnalyticsTimeout),this._pendingSendAnalyticsTimeout=void 0),this._sendingEvents.length||this._pendingSendAnalyticsTimeout)return void this._log("Queued "+this._queuedEvents.length+" events to be sent.");var _=new Date().valueOf();if(_-this._lastSendTime<l)return void(this._pendingSendAnalyticsTimeout=setTimeout(function(){r._pendingSendAnalyticsTimeout=void 0,r._sendAnalytics()},l));this._lastSendTime=_,this._sendingEvents=this._queuedEvents,this._sendingCallbacks=this._queuedCallbacks,this._queuedEvents=[],this._queuedCallbacks=[];var f=s(),h="["+f+"] ",g={events:this._sendingEvents},A=function(e){var t=r._queuedEvents.length,n=r._sendingEvents.length;e?(r._requeueEvents(r._sendingEvents),r._log(h+"Error sending "+n+" events: "+e)):r._log(h+"Success sending "+n+" events: "+JSON.stringify(r._sendingEvents)),r._sendingEvents=[];var i=r._sendingCallbacks;r._sendingCallbacks=[],e?d(i,e):d(i,null,n),0<t&&r._sendAnalytics()},v=function(e,t){return r._updateDebounce(t),401===e&&0===i?(r._clearAccessToken(),r._requeueEvents(r._sendingEvents),r._sendingEvents=[],r._queuedCallbacks=r._sendingCallbacks.concat(r._queuedCallbacks),r._sendingCallbacks=[],r._log(h+"Access token is expired. Retry one more time."),void r._sendAnalytics(!0,void 0,i+1)):200===e?void A():void A(new Error("Unexpected Response: "+e))};this._getAccessToken(function(t,n){if(t)return void A(t);if(!(n&&0!==n.length||r._options.ALLOW_NO_TOKEN))return void A(new Error("No access token"));var i="https://"+r._getAnalyticsHost();if(r._log(h+"Sending analytics to "+i+p),o()){var s={"x-api-key":r._options.ANALYTICS_API_KEY,"X-Product":r._options.ANALYTICS_X_PRODUCT,"X-Request-Id":f,"Content-Type":"application/json"};n&&(s.Authorization="Bearer "+n);var u={hostname:r._getAnalyticsHost(),port:443,path:p,method:"POST",headers:s};r._options.ANALYTICS_X_PRODUCT_LOCATION&&(u.headers["X-Product-Location"]=r._options.ANALYTICS_X_PRODUCT_LOCATION),r._getAgent(i,function(t,n){n&&n.agent?u.agent=n&&n.agent:a(u,n||{});var i=e("https"),o=i.request(u,function(e){e&&c(e);var t=e&&e.statusCode,n=e&&e.headers;v(t,n)});o.once("error",function(e){A(e)}),o.end(JSON.stringify(g))})}else{var d=JSON.stringify(g),l=function(e){var t=new XMLHttpRequest;t.onreadystatechange=function(){if(4===this.readyState){var e=t.getAllResponseHeaders();v(this.status,e)}},t.onerror=function(e){A(new Error(e))},t.open("POST",i+p,!0),t.setRequestHeader("x-api-key",r._options.ANALYTICS_API_KEY),t.setRequestHeader("x-user-region",r._options.ANALYTICS_USER_REGION),t.setRequestHeader("Content-Type","application/json"),n&&t.setRequestHeader("Authorization","Bearer "+n),t.setRequestHeader("X-Product",r._options.ANALYTICS_X_PRODUCT),t.setRequestHeader("X-Product-Location",r._options.ANALYTICS_X_PRODUCT_LOCATION),t.setRequestHeader("X-Request-Id",f),t.send(e)};l(d)}})},l.prototype.enable=function(e){this._isEnabled=e,e&&this._sendAnalytics(!0)},l.prototype.postEvent=function(e,t){var n=this._formatTimestamp(new Date);e[this._options.TIMESTAMP_PROPERTY_NAME]=n;var i={time:n,project:this._options.ANALYTICS_PROJECT,environment:this._getEnvironment(),ingesttype:this._options.ANALYTICS_INGEST_TYPE,data:e};this._queueEvent(i),this._sendAnalytics(!1,t)},l.prototype.flush=function(e,t){this._sendAnalytics(e,t)},l}),i("main",["require","exports","module","./Ingest"],function(e){"use strict";var i=e("./Ingest"),o={};return o.createInstance=function(e,t){return new i(e,t)},o}),n("main")})}).call(this,__webpack_require__(37))},146:function(module){module.exports=function(){for(var target={},i=0,source;i<arguments.length;i++)for(var key in source=arguments[i],source)hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target};var hasOwnProperty=Object.prototype.hasOwnProperty},147:function(module,exports,__webpack_require__){function forEachArray(array,iterator,context){for(var i=0,len=array.length;i<len;i++)hasOwnProperty.call(array,i)&&iterator.call(context,array[i],i,array)}function forEachString(string,iterator,context){for(var i=0,len=string.length;i<len;i++)iterator.call(context,string.charAt(i),i,string)}function forEachObject(object,iterator,context){for(var k in object)hasOwnProperty.call(object,k)&&iterator.call(context,object[k],k,object)}var isFunction=__webpack_require__(106);module.exports=function(list,iterator,context){if(!isFunction(iterator))throw new TypeError("iterator must be a function");3>arguments.length&&(context=this),"[object Array]"===toString.call(list)?forEachArray(list,iterator,context):"string"==typeof list?forEachString(list,iterator,context):forEachObject(list,iterator,context)};var toString=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty},148:function(module,exports){exports=module.exports=function(str){return str.replace(/^\s*|\s*$/g,"")},exports.left=function(str){return str.replace(/^\s*/,"")},exports.right=function(str){return str.replace(/\s*$/,"")}},149:function(module,exports,__webpack_require__){var trim=__webpack_require__(148),forEach=__webpack_require__(147),isArray=function(arg){return"[object Array]"===Object.prototype.toString.call(arg)};module.exports=function(headers){if(!headers)return{};var result={};return forEach(trim(headers).split("\n"),function(row){var index=row.indexOf(":"),key=trim(row.slice(0,index)).toLowerCase(),value=trim(row.slice(index+1));"undefined"==typeof result[key]?result[key]=value:isArray(result[key])?result[key].push(value):result[key]=[result[key],value]}),result}},150:function(module,exports,__webpack_require__){(function(global){var win;win="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?{}:self:global:window,module.exports=win}).call(this,__webpack_require__(37))},151:function(module,__webpack_exports__,__webpack_require__){"use strict";function preload(src,type="image"){const res=document.createElement("link");res.rel="preload",res.setAttribute("as",type),res.href=src,document.head.appendChild(res)}function attachDocumentListeners(host){function preventDefaultDragEvents(e){e=e||window.event,e.preventDefault()}window.addEventListener("dragstart",preventDefaultDragEvents,!1),window.addEventListener("dragenter",preventDefaultDragEvents,!1),window.addEventListener("dragover",preventDefaultDragEvents,!1),window.addEventListener("drop",e=>{e=e||window.event,e.preventDefault();const files=e.dataTransfer.files,numfiles=files?files.length||0:0;let dropfiles={path:[]};const hostID=host.data.hostID;for(let index=0,rawpath;index<numfiles;index++)(rawpath=files[index.toString()].path,!!rawpath)&&(rawpath="PHXS"===hostID?rawpath.replace(/\\/g,"/"):rawpath,dropfiles.path.push(rawpath));src_js_iaw_analytics_ingest__WEBPACK_IMPORTED_MODULE_5__.a.logDropEvent("drag-drop",{numfiles}),host.openDroppedFiles(JSON.stringify(dropfiles))},!1),window.__adobe_cep__&&(document.oncontextmenu=()=>!1)}function getHostData(host){iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.set(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.APPDATA);const hostData=iaw_localstorage__WEBPACK_IMPORTED_MODULE_4__.a.getGlobalItem("hostdata");return hostData&&hostData.startVersion===window.appVersionNumber&&hostData.language===window.hostEnvironment.appLocale?new Promise(resolve=>{hostData.isCached=!0,resolve(hostData),iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.measure(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.APPDATA),window.addLateLoadCallBack(()=>{iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.set(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.APPDATA),host.getData().then(newHostData=>{appEntry.updateHostData(newHostData)})})}):host.getData()}__webpack_require__.r(__webpack_exports__);var iaw_perf__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10),iaw_log__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),iaw_cepBridge__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(11),iaw_platform__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(56),iaw_localstorage__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(17),src_js_iaw_analytics_ingest__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(50),_themeUtils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(105);let appEntry;iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.configure({start:window.perfGlobalStart,highbeam:{enabled:!1,category:"CCXSTART-PERF"}}),iaw_log__WEBPACK_IMPORTED_MODULE_1__.a.configure(!0,"CCXSTART"),iaw_log__WEBPACK_IMPORTED_MODULE_1__.a.mark("Init Started: ",window.appVersionNumber),iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.measure(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.JSLOAD);let lateloadCallbacks=[];window.addLateLoadCallBack=fn=>{lateloadCallbacks?lateloadCallbacks.push(fn):fn()},window.lateLoad=()=>{const callbacks=lateloadCallbacks;lateloadCallbacks=null,callbacks.forEach(fn=>fn())},function(){iaw_platform__WEBPACK_IMPORTED_MODULE_3__["default"].launchCCXProcess(),iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.measure(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.JSINIT),iaw_cepBridge__WEBPACK_IMPORTED_MODULE_2__["default"].configure(),Object(_themeUtils__WEBPACK_IMPORTED_MODULE_6__.a)(),preload(`./images/products/product-rune-${iaw_cepBridge__WEBPACK_IMPORTED_MODULE_2__["default"].applicationID.toUpperCase()}.svg`),iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.measure(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.DEPENDENCIES),Promise.all([__webpack_require__.e(1),__webpack_require__.e(0)]).then(__webpack_require__.bind(null,355)).then(({default:host})=>(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.measure(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.HOSTADAPTER),attachDocumentListeners(host),iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.measure(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.DOCUMENTLISTENERS),Promise.all([getHostData(host),Promise.all([__webpack_require__.e(2),__webpack_require__.e(1),__webpack_require__.e(3),__webpack_require__.e(0),__webpack_require__.e(4)]).then(__webpack_require__.bind(null,356))]))).then(details=>{const hostData=details[0];appEntry=details[1],appEntry.handleData(hostData,hostData.isCached),iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.measure(iaw_perf__WEBPACK_IMPORTED_MODULE_0__.a.TIMERS.READY)})}()},152:function(module,exports,__webpack_require__){module.exports=__webpack_require__(151)},17:function(module,__webpack_exports__){"use strict";class LocalStorage{static getInstance(){return this._instance||(this._instance=new LocalStorage),this._instance}configure(userID){this._userID=userID}setUserItem(key,val){this._userID&&key&&"undefined"!=typeof val&&(window.localStorage[this._userID+"_"+key]=JSON.stringify(val))}getUserItem(key){let val;this._userID&&key&&(val=window.localStorage[this._userID+"_"+key]||null);try{val=JSON.parse(val)}catch(err){val=null}return val}setGlobalItem(key,val){key&&"undefined"!=typeof val&&(window.localStorage[key]=JSON.stringify(val))}getGlobalItem(key){let val;key&&(val=window.localStorage[key]||null);try{val=JSON.parse(val)}catch(err){val=null}return val}}__webpack_exports__.a=LocalStorage.getInstance()},25:function(module,__webpack_exports__,__webpack_require__){"use strict";function imsBridge_isStagingRedirectInEffect(){let answer=!1;if(imsBridge_imsInterface&&window.DOMParser)try{const csInterface=new CSInterface.b,path=Vulcan.a.getAppPath("creativecloud")+(-1<csInterface.getOSInformation().indexOf("Win")?"\\..\\..\\C3Config.xml":"/../../C3Config.xml");log.a.toConsole("IMS checking for redirection file S3Config.xml on: "+path);const result=window.cep.fs.readFile(path);if(0!==result.err)return answer;const xmlDoc=new DOMParser().parseFromString(result.data,"text/xml"),configNode=xmlDoc.getElementsByTagName("C3Config")[0].getElementsByTagName("config")[0];if(configNode){const namespaces=configNode.getElementsByTagName("namespace");for(let index=0;index<namespaces.length;index++){const namespace=namespaces[index];if(namespace&&"accc.container"===namespace.getAttribute("name")){const properties=namespace.getElementsByTagName("property");for(let i=0;i<properties.length;i++){const property=properties[i];if(property&&"IMS_ENV"===property.getAttribute("name")){const pVal=property.firstChild.nodeValue;"STG"===pVal&&(answer=!0)}}}}}}catch(err){log.a.toConsole(err)}return answer}function imsBridge_createFetchContinueTokenCall(imsJumpClientID,imsJumpScope,url,callback){if(imsBridge_imsInterface){const baseURL=encodeURIComponent(url);log.a.toConsole("IMS: createFetchContinueTokenCall attempting SSO workflows"),imsBridge_imsInterface.addEventListener(imsBridge_imsInterface.events.imsFetchContinueToken,callback),imsBridge_imsInterface.imsFetchContinueToken(imsBridge_imsRef,imsBridge_accessToken,imsJumpClientID,baseURL,imsJumpScope,"token","")}}function imsBridge_isIMSEventDataValid(event){return event&&event.data&&""!==event.data}function imsBridge_accessTokenTimeout(){log.a.toConsole("Warning - IMS access token fetch has timed out"),analytics_ingest.a.logErrorEvent("accessToken",{error:{desc:"IMS access token fetch has timed out",type:"timeout"}}),imsBridge_imsTimeout=null,imsBridge_handleFetchAccessToken(null)}function imsBridge_isUserSignedIn(callback){imsBridge_imsInterface&&callback(!!imsBridge_adobeUserGUID,imsBridge_adobeUserGUID)}function imsBridge_jumpURL(clientKey,url,callback){const imsJumpClientID=imsBridge_JUMPAUTHENTICATIONINFO[clientKey].clientID,imsJumpScope=imsBridge_JUMPAUTHENTICATIONINFO[clientKey].clientScope,handleJumpURL=function(event){imsBridge_imsInterface&&(imsBridge_imsInterface.removeEventListener(imsBridge_imsInterface.events.imsFetchContinueToken,handleJumpURL),callback&&callback(imsBridge_isIMSEventDataValid(event)&&event.data.details.jump?event.data.details.jump:url))};log.a.toConsole("IMS: Attempting SSO-URL: "+url),imsBridge_accessToken?imsBridge_createFetchContinueTokenCall(imsJumpClientID,imsJumpScope,url,handleJumpURL):callback(url)}function imsBridge_clearAccessToken(){imsBridge_adobeUserGUID=null,imsBridge_accessToken=null}function imsBridge_handleQueuedCallbacks(){const numCallbacks=imsBridge_accessTokenCallbacks.length;if(numCallbacks){imsBridge_lastAccessTokenTime=new Date().valueOf();for(let index=0;index<numCallbacks;++index){const callback=imsBridge_accessTokenCallbacks[index];callback&&callback(imsBridge_accessToken)}imsBridge_accessTokenCallbacks=[]}}function imsBridge_handleFetchAccessToken(event){if(!(event&&event.extensionId!==cepBridge["default"].extensionID)&&!(event&&event.data&&event.data.jump)&&imsBridge_imsInterface){if(imsBridge_imsTimeout&&(clearTimeout(imsBridge_imsTimeout),imsBridge_imsTimeout=null),imsBridge_imsInterface.removeEventListener(imsBridge_imsInterface.events.imsFetchAccessToken,imsBridge_handleFetchAccessToken),imsBridge_isIMSEventDataValid(event)){switch(typeof event.data){case"string":{let imsData;try{imsData=JSON.parse(event.data)}catch(err){log.a.toConsole(err)}imsBridge_accessToken=imsData&&imsData.access_token?imsData.access_token:null;break}case"object":imsBridge_accessToken=event.data.access_token||null;break;default:imsBridge_accessToken=null;}imsBridge_accessToken||log.a.toConsole("IMS response event: "+JSON.stringify(event))}else log.a.toConsole("Failed to get access token: "+JSON.stringify(event));return imsBridge_accessTokenInProgress=!1,log.a.toConsole("IMS accessToken is : "+imsBridge_accessToken),window.accessToken=imsBridge_accessToken,null===imsBridge_accessToken&&imsBridge_needRetry?(imsBridge_needRetry=!1,void imsBridge_getAccessToken()):void imsBridge_handleQueuedCallbacks()}}function imsBridge_isCachedAccessTokenExpired(){const currentTime=new Date().valueOf();try{const data=JSON.parse(window.atob(imsBridge_accessToken.split(".")[1])),expiryTime=new Date(parseInt(data.created_at)+parseInt(data.expires_in)-imsBridge_EXPIRY_BUFFER).valueOf();return currentTime>expiryTime}catch(e){return!!(currentTime-imsBridge_lastAccessTokenTime>=82800000)}}function imsBridge_getClientId(){return imsBridge_activeConfig||(imsBridge_activeConfig=imsBridge_PRODUCTIONCONFIG),imsBridge_activeConfig.clientId}function imsBridge_getCachedAccessToken(){return imsBridge_accessToken}function imsBridge_getAccessToken(callback=(data=null)=>{}){if(imsBridge_adobeUserGUID&&0!==imsBridge_adobeUserGUID.length||callback(null),imsBridge_activeConfig||(imsBridge_activeConfig=imsBridge_PRODUCTIONCONFIG),!imsBridge_accessTokenInProgress){if(!imsBridge_imsInterface)return imsBridge_clearAccessToken(),imsBridge_accessTokenInProgress=!0,imsBridge_accessTokenCallbacks.push(callback),void netUtil.a.readPlaceholderJSONData("imstoken.json").then(response=>{imsBridge_accessToken=response.accessToken,imsBridge_accessTokenInProgress=!1,log.a.toConsole("IMS accessToken is : "+imsBridge_accessToken),imsBridge_handleQueuedCallbacks()}).catch(err=>{log.a.toConsole("getAccessToken error: "+err),imsBridge_accessTokenInProgress=!1,imsBridge_handleQueuedCallbacks()});if(imsBridge_isCachedAccessTokenExpired()&&(log.a.toConsole("IMS: Clear expired access token."),imsBridge_accessToken=null),imsBridge_accessToken&&0!==imsBridge_accessToken.length&&callback)return void callback(imsBridge_accessToken);imsBridge_accessTokenInProgress=!0,callback&&imsBridge_accessTokenCallbacks.push(callback),(!imsBridge_imsRef||"NO_VALID_USER"===imsBridge_imsRef)&&imsBridge_imsInterface&&(imsBridge_imsRef=imsBridge_imsInterface.imsConnectWithEndpoint(imsBridge_activeConfig.imsServer)),imsBridge_imsInterface.addEventListener(imsBridge_imsInterface.events.imsFetchAccessToken,event=>{imsBridge_handleFetchAccessToken(event)}),imsBridge_adobeUserGUID&&""!==imsBridge_adobeUserGUID&&imsBridge_imsInterface.imsFetchAccessToken(imsBridge_imsRef,imsBridge_activeConfig.clientId,imsBridge_activeConfig.clientSecret,imsBridge_adobeUserGUID,imsBridge_activeConfig.redirectUri,imsBridge_activeConfig.scope),imsBridge_imsTimeout&&clearTimeout(imsBridge_imsTimeout),imsBridge_imsTimeout=setTimeout(imsBridge_accessTokenTimeout,1e4)}else imsBridge_accessTokenCallbacks.push(callback)}function imsBridge_configure(adobeGUID){imsBridge_imsInterface?imsBridge_adobeUserGUID=adobeGUID:log.a.toConsole("IMS services unavailable.")}var log=__webpack_require__(1),cepBridge=__webpack_require__(11),netUtil=__webpack_require__(104);class IMSInterface{constructor(){this.events=IMSInterface.events}addEventListener(type,listener){window.__adobe_cep__.addEventListener(type,listener)}removeEventListener(type,listener){window.__adobe_cep__.removeEventListener(type,listener)}imsDisconnect(imsRef){window.__adobe_cep__.imsDisconnect(imsRef)}imsFetchAccounts(imsRef,clientId){var accounts=window.__adobe_cep__.imsFetchAccounts(imsRef,clientId);return accounts}imsFetchAccessToken(imsRef,clientId,clientSecret,userAccountGuid,serviceAccountGuid,scope){return window.__adobe_cep__.imsFetchAccessToken(imsRef,clientId,clientSecret,userAccountGuid,serviceAccountGuid,scope)}imsRevokeDeviceToken(imsRef,clientId,clientSecret,userAccountGuid,serviceAccountGuid){return window.__adobe_cep__.imsFetchAccessToken(imsRef,clientId,clientSecret,userAccountGuid,serviceAccountGuid,"REVOKE")}imsSetProxyCredentials(proxyUsername,proxyPassword){window.__adobe_cep__.imsSetProxyCredentials(proxyUsername,proxyPassword)}showAAM(clientId,clientSecret,redirectUri,userAccountGuid,serviceAccountGuid,scope){return window.__adobe_cep__.showAAM(clientId,clientSecret,redirectUri,userAccountGuid,serviceAccountGuid,scope)}imsGetCurrentUserId(){var userId=window.__adobe_cep__.getCurrentImsUserId();return userId}imsGetCurrentUserIdHelper(callback){var hostEnvironment=JSON.parse(window.__adobe_cep__.getHostEnvironment()),appName=hostEnvironment.appName;if("ILST"===appName)window.__adobe_cep__.evalScript("app.userGUID",function(result){callback(result)});else if("IDSN"===appName)window.__adobe_cep__.evalScript("app.userGuid",function(result){callback(result)});else if("PHSP"===appName||"PHXS"===appName)window.__adobe_cep__.evalScript("var getUserIdPhotoshop = function() {var userId = '';try {var bhnc = app.charIDToTypeID('bhnc');var ref = new ActionReference();ref.putProperty(app.charIDToTypeID('Prpr'), bhnc);ref.putEnumerated(app.charIDToTypeID('capp'), app.charIDToTypeID('Ordn'), app.charIDToTypeID('Trgt'));var appDesc = app.executeActionGet(ref);if (appDesc.hasKey(bhnc)) {userId = appDesc.getString(bhnc);}} catch (e) {}return userId;};",function(){window.__adobe_cep__.evalScript("getUserIdPhotoshop()",function(result2){callback(result2)})});else{var userId=window.__adobe_cep__.getCurrentImsUserId();callback(userId)}}imsConnectWithEndpoint(imsEndpoint){var params={imsEndpoint:imsEndpoint===void 0||null===imsEndpoint||""===imsEndpoint?"undefined":imsEndpoint};return JSON.parse(window.__adobe_cep__.invokeSync("imsConnectWithEndpoint",JSON.stringify(params))).result}imsFetchContinueToken(imsRef,bearerToken,targetClientId,redirectUri,scope,responseType,locale){(redirectUri===void 0||null===redirectUri)&&(redirectUri=""),(scope===void 0||null===scope)&&(scope=""),(responseType===void 0||null===responseType)&&(responseType=""),(locale===void 0||null===locale)&&(locale="");var params={imsRef:imsRef,bearerToken:bearerToken,targetClientId:targetClientId,redirectUri:redirectUri,scope:scope,responseType:responseType,locale:locale};return JSON.parse(window.__adobe_cep__.invokeSync("imsFetchContinueToken",JSON.stringify(params))).result}imsLogoutUser(imsRef,userAccountGuid,clientId){return JSON.parse(window.__adobe_cep__.invokeSync("imsLogoutUser",JSON.stringify({imsRef:imsRef,userAccountGuid:userAccountGuid,clientId:clientId}))).result}imsFetchUserProfileData(imsRef,userAccountGuid){return window.__adobe_cep__.invokeSync("imsFetchUserProfileData",JSON.stringify({imsRef:imsRef,userAccountGuid:userAccountGuid}))}imsAttemptSSOJumpWorkflows(openBrowser,url,imsRef,clientID,clientSecret,scope,userAccountGuid,targetClientId,targetScope,targetResponseType,targetLocale){openBrowser||(openBrowser=!1),(clientID===void 0||null===clientID)&&(clientID=""),(clientSecret===void 0||null===clientSecret)&&(clientSecret=""),(scope===void 0||null===scope)&&(scope=""),(targetClientId===void 0||null===targetClientId)&&(targetClientId=""),(targetScope===void 0||null===targetScope)&&(targetScope=""),(targetResponseType===void 0||null===targetResponseType)&&(targetResponseType=""),(imsRef===void 0||null===imsRef)&&(imsRef=""),(userAccountGuid===void 0||null===userAccountGuid)&&(userAccountGuid="");var params={imsRef:imsRef,openBrowser:openBrowser,url:url,clientId:clientID,clientSecret:clientSecret,scope:scope,userAccountGuid:userAccountGuid,targetClientId:targetClientId,targetScope:targetScope,targetResponseType:targetResponseType,targetLocale:targetLocale};return JSON.parse(window.__adobe_cep__.invokeSync("imsAttemptSSOJumpWorkflows",JSON.stringify(params))).result}}IMSInterface.events={imsFetchAccessTokenWithStatus:"com.adobe.csxs.events.internal.ims.FetchAccessTokenWithStatus",imsFetchAccessToken:"com.adobe.csxs.events.internal.ims.FetchAccessToken",imsRevokeAccessToken:"com.adobe.csxs.events.internal.ims.FetchAccessTokenWithStatus",imsFetchContinueToken:"com.adobe.csxs.events.internal.ims.FetchAccessTokenWithStatus",imsAAMIMSStatus:"vulcan.SuiteMessage.com.adobe.aam.AAMIMSStatus",imsLogoutUser:"com.adobe.csxs.events.internal.ims.LogoutUser",imsSSOStatus:"com.adobe.csxs.events.internal.ims.SSOStatus"},IMSInterface.status={IMS_SUCCESS:"0",IMS_ERROR_FAILURE:"1",IMS_ERROR_INVALID_ARGUMENTS:"2",IMS_ERROR_CANCEL:"20",IMS_ERROR_TIMEOUT:"21",IMS_ERROR_HTTPFAILURE:"22",IMS_ERROR_SSLFAILURE:"23",IMS_ERROR_AUTH_PROXY_REQUIRED:"24",IMS_ERROR_AUTH_PROXY_FAILED:"25",IMS_ERROR_IN_ACCESS_IDP:"26",IMS_ERROR_ANOTHER_REQUEST_IN_PROCESS:"40",IMS_ERROR_IN_READ_USER_DATA:"60",IMS_ERROR_IN_SAVE_USER_DATA:"61",IMS_ERROR_IN_REMOVE_USER_DATA:"62",IMS_ERROR_USER_DATA_NOT_PRESENT:"63",IMS_ERROR_IN_READ_DEVICE_TOKEN:"64",IMS_ERROR_IN_SAVE_DEVICE_TOKEN:"65",IMS_ERROR_IN_REMOVE_DEVICE_TOKEN:"66",IMS_ERROR_DEVICE_TOKEN_NOT_PRESENT:"67",IMS_ERROR_INVALID_DEVICE_TOKEN:"68",IMS_ERROR_CLIENTID_NOT_PRESENT:"69",IMS_ERROR_IN_FETCH_USER_ACCOUNTS:"70",IMS_ERROR_IN_SAVE_USER_FOR_CLIENTID:"71",IMS_ERROR_DEVICE_ID_NOT_PRESENT:"72",IMS_ERROR_DEFAULT_USER_FOR_CLIENTID_NOT_PRESENT:"73",IMS_ERROR_NO_USER_RECORDS_PRESENT:"74",IMS_ERROR_ACCESS_DENIED:"80",IMS_ERROR_INVALID_REQUEST:"81",IMS_ERROR_INVALID_CLIENT:"82",IMS_ERROR_INVALID_GRANT:"83",IMS_ERROR_UNAUTHORIZED_CLIENT:"84",IMS_ERROR_UNSUPPORTED_RESPONSE_TYPE:"85",IMS_ERROR_INVALID_SCOPE:"86",IMS_ERROR_UNSUPPORTED_GRANT_TYPE:"87",IMS_ERROR_BAD_REQUEST:"88",IMS_ERROR_INVALID_CREDENTIALS:"89",IMS_ERROR_IN_GET_AUTH_DATA_FROM_IDP:"100",IMS_ERROR_IN_GET_DEVICE_TOKEN_FROM_IDP:"101",IMS_ERROR_IN_GET_REFRESH_TOKEN_FROM_IDP:"102",IMS_ERROR_IN_GET_ACCESS_TOKEN_FROM_IDP:"103",IMS_ERROR_IN_GET_PROFILE_DATA_FROM_IDP:"104",IMS_ERROR_TOU_CHANGED:"120",IMS_ERROR_IN_REVOKE_DEVICE_TOKEN:"121",IMS_ERROR_TOU_NOT_CURRENT:"122",IMS_ERROR_EVS_INVALID:"123",IMS_ERROR_ACCT_ACT_REQ:"124",IMS_ERROR_ACCT_DISABLED:"125",IMS_ERROR_SUBS_ACT_REQ:"126",IMS_ERROR_SUBS_NO_SUB:"127",IMS_ERROR_NO_BUDDY_GROUP_FOR_CLIENT:"150",IMS_ERROR_CLIENT_REGISTERED_FOR_OTHER_GROUP:"151",IMS_ERROR_GROUP_ENTRY_NOT_PRESENT:"152",IMS_ERROR_IN_SAVE_GROUP_DATA:"153",IMS_ERROR_CNAME_ENTRY_NOT_PRESENT:"154",IMS_ERROR_IN_SAVE_BACKOFF_DATA:"155",IMSMANAGER_ERROR_EXCEPTION:"3000",IMSMANAGER_ERROR_ENCODING:"3001",IMSMANAGER_SUCCESS_BROWSER_OPENED:"3002",IMSMANAGER_ERROR_BROWSER_FAILED_TO_OPEN:"3003",IMS_UNKNOWN_ERROR:"0xFFFF"};var CSInterface=__webpack_require__(34),Vulcan=__webpack_require__(58),analytics_ingest=__webpack_require__(50);const imsBridge_EXPIRY_BUFFER=1e4;let imsBridge_imsInterface=window.__adobe_cep__?new IMSInterface:null,imsBridge_imsRef=null,imsBridge_imsTimeout=null,imsBridge_adobeUserGUID=null;const imsBridge_PRODUCTIONCONFIG={label:"Production",clientId:"CCXInAppWelcomeStart",clientSecret:"f031a4a7-4676-4c3b-8c8d-e15d9b2a4ccb",scope:"openid,AdobeID,creative_cloud",redirectUri:"https://oobe.adobe.com",imsServer:"ims-na1.adobelogin.com"},imsBridge_isStage=imsBridge_isStagingRedirectInEffect();let imsBridge_activeConfig=imsBridge_isStage?{label:"Stage",clientId:"CCXInAppWelcomeStart",clientSecret:"4c13fcee-27ee-47b8-9e24-15878b6ceef1",scope:"openid,AdobeID,creative_cloud",redirectUri:"https://oobe.adobe.com",imsServer:"ims-na1-stg1.adobelogin.com"}:imsBridge_PRODUCTIONCONFIG,imsBridge_accessToken=null,imsBridge_accessTokenCallbacks=[],imsBridge_accessTokenInProgress=!1,imsBridge_lastAccessTokenTime=new Date().valueOf(),imsBridge_needRetry=!0;const imsBridge_JUMPAUTHENTICATIONINFO={ADOBESTOCK:{clientID:"AdobeStockClient1",clientScope:"AdobeID,openid,creative_cloud,read_organizations,gnav,additional_info.address.mail_to,sao.stock"},ADOBELEARN:{clientID:"adobedotcom2",clientScope:"creative_cloud,AdobeID,openid,gnav,read_organizations,additional_info.projectedProductContext"},ADOBESEARCH:{clientID:"AdobeSearchService1",clientScope:"creative_cloud,AdobeID,openid,gnav,read_organizations,additional_info.projectedProductContext"},ADOBEACCOUNT:{clientID:"adobedotcom2",clientScope:"creative_cloud,AdobeID,openid,gnav,read_organizations,additional_info.projectedProductContext"}};__webpack_exports__.a={available:imsBridge_imsInterface,stage:imsBridge_isStage,environment:imsBridge_isStage?"stage":"prod",configure:imsBridge_configure,isUserSignedIn:imsBridge_isUserSignedIn,clearAccessToken:imsBridge_clearAccessToken,getAccessToken:imsBridge_getAccessToken,getCachedAccessToken:imsBridge_getCachedAccessToken,getClientId:imsBridge_getClientId,getAccessTokenP:function(){return new Promise((resolve,reject)=>{imsBridge_getAccessToken(token=>{token?resolve(token):reject(Error("ims.getAccessToken failed"))})})},jumpURL:imsBridge_jumpURL,isAuthTokenExpired:imsBridge_isCachedAccessTokenExpired,__TESTS_resetConfig:function(options={_adobeUserGUID:""}){imsBridge_imsInterface=window.__adobe_cep__?new IMSInterface:null,imsBridge_adobeUserGUID=options._adobeUserGUID}}},34:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return CSEvent}),__webpack_require__.d(__webpack_exports__,"c",function(){return SystemPath}),__webpack_require__.d(__webpack_exports__,"b",function(){return CSInterface});class CSXSWindowType{}CSXSWindowType._PANEL="Panel",CSXSWindowType._MODELESS="Modeless",CSXSWindowType._MODAL_DIALOG="ModalDialog";(class{constructor(major,minor,micro,special){this.major=major,this.minor=minor,this.micro=micro,this.special=special}}).MAX_NUM=999999999;class CSEvent{constructor(type,scope,appId,extensionId){this.type=type,this.scope=scope,this.appId=appId,this.extensionId=extensionId,this.data=""}}class SystemPath{}SystemPath.USER_DATA="userData",SystemPath.COMMON_FILES="commonFiles",SystemPath.MY_DOCUMENTS="myDocuments",SystemPath.APPLICATION="application",SystemPath.EXTENSION="extension",SystemPath.HOST_APPLICATION="hostApplication";var ColorType;(function(ColorType){ColorType.RGB="rgb",ColorType.GRADIENT="gradient",ColorType.NONE="none"})(ColorType||(ColorType={}));class MenuItemStatus{constructor(menuItemLabel,enabled,checked){this.menuItemLabel=menuItemLabel,this.enabled=enabled,this.checked=checked}}class ContextMenuItemStatus{constructor(menuItemID,enabled,checked){this.menuItemID=menuItemID,this.enabled=enabled,this.checked=checked}}class CSInterface{constructor(){this.hostEnvironment=window.hostEnvironment}getHostEnvironment(){return this.hostEnvironment=JSON.parse(window.__adobe_cep__.getHostEnvironment()),this.hostEnvironment}closeExtension(){window.__adobe_cep__.closeExtension()}getSystemPath(pathType){var path=decodeURI(window.__adobe_cep__.getSystemPath(pathType)),OSVersion=this.getOSInformation();return 0<=OSVersion.indexOf("Windows")?path=path.replace("file:///",""):0<=OSVersion.indexOf("Mac")&&(path=path.replace("file://","")),path}evalScript(script,callback){(null===callback||callback===void 0)&&(callback=function(){}),window.__adobe_cep__.evalScript(script,callback)}getApplicationID(){var appId=this.getHostEnvironment().appId;return appId}getHostCapabilities(){var hostCapabilities=JSON.parse(window.__adobe_cep__.getHostCapabilities());return hostCapabilities}dispatchEvent(event){"object"==typeof event.data&&(event.data=JSON.stringify(event.data)),window.__adobe_cep__.dispatchEvent(event)}addEventListener(type,listener,obj){window.__adobe_cep__.addEventListener(type,listener,obj)}removeEventListener(type,listener,obj){window.__adobe_cep__.removeEventListener(type,listener,obj)}requestOpenExtension(extensionId,params){window.__adobe_cep__.requestOpenExtension(extensionId,params)}getExtensions(extensionIds){var extensionIdsStr=JSON.stringify(extensionIds),extensionsStr=window.__adobe_cep__.getExtensions(extensionIdsStr),extensions=JSON.parse(extensionsStr);return extensions}getNetworkPreferences(){var result=window.__adobe_cep__.getNetworkPreferences(),networkPre=JSON.parse(result);return networkPre}initResourceBundle(){for(var resourceBundle=JSON.parse(window.__adobe_cep__.initResourceBundle()),resElms=document.querySelectorAll("[data-locale]"),n=0;n<resElms.length;n++){var resEl=resElms[n],resKey=resEl.getAttribute("data-locale");if(resKey)for(var key in resourceBundle)if(0===key.indexOf(resKey)){var resValue=resourceBundle[key];if(key.length==resKey.length)resEl.innerHTML=resValue;else if("."==key.charAt(resKey.length)){var attrKey=key.substring(resKey.length+1);resEl[attrKey]=resValue}}}return resourceBundle}dumpInstallationInfo(){return window.__adobe_cep__.dumpInstallationInfo()}getOSInformation(){var userAgent=navigator.userAgent;if("Win32"==navigator.platform||"Windows"==navigator.platform){var winVersion="Windows",winBit="";return-1<userAgent.indexOf("Windows")&&(-1<userAgent.indexOf("Windows NT 5.0")?winVersion="Windows 2000":-1<userAgent.indexOf("Windows NT 5.1")?winVersion="Windows XP":-1<userAgent.indexOf("Windows NT 5.2")?winVersion="Windows Server 2003":-1<userAgent.indexOf("Windows NT 6.0")?winVersion="Windows Vista":-1<userAgent.indexOf("Windows NT 6.1")?winVersion="Windows 7":-1<userAgent.indexOf("Windows NT 6.2")?winVersion="Windows 8":-1<userAgent.indexOf("Windows NT 6.3")?winVersion="Windows 8.1":-1<userAgent.indexOf("Windows NT 10")&&(winVersion="Windows 10"),winBit=-1<userAgent.indexOf("WOW64")||-1<userAgent.indexOf("Win64")?" 64-bit":" 32-bit"),winVersion+winBit}if("MacIntel"==navigator.platform||"Macintosh"==navigator.platform){var result="Mac OS X";return-1<userAgent.indexOf("Mac OS X")&&(result=userAgent.substring(userAgent.indexOf("Mac OS X"),userAgent.indexOf(")")),result=result.replace(/_/g,".")),result}return"Unknown Operation System"}openURLInDefaultBrowser(url){return window.cep.util.openURLInDefaultBrowser(url)}getExtensionID(){return window.__adobe_cep__.getExtensionId()}getScaleFactor(){return window.__adobe_cep__.getScaleFactor()}setScaleFactorChangedHandler(handler){window.__adobe_cep__.setScaleFactorChangedHandler(handler)}getCurrentApiVersion(){var apiVersion=JSON.parse(window.__adobe_cep__.getCurrentApiVersion());return apiVersion}setPanelFlyoutMenu(menu){"string"!=typeof menu||window.__adobe_cep__.invokeSync("setPanelFlyoutMenu",menu)}updatePanelMenuItem(menuItemLabel,enabled,checked){var ret=!1;if(this.getHostCapabilities().EXTENDED_PANEL_MENU){var itemStatus=new MenuItemStatus(menuItemLabel,enabled,checked);ret=window.__adobe_cep__.invokeSync("updatePanelMenuItem",JSON.stringify(itemStatus))}return ret}setContextMenu(menu,callback){"string"!=typeof menu||window.__adobe_cep__.invokeAsync("setContextMenu",menu,callback)}setContextMenuByJSON(menu,callback){"string"!=typeof menu||window.__adobe_cep__.invokeAsync("setContextMenuByJSON",menu,callback)}updateContextMenuItem(menuItemID,enabled,checked){var itemStatus=new ContextMenuItemStatus(menuItemID,enabled,checked);return window.__adobe_cep__.invokeSync("updateContextMenuItem",JSON.stringify(itemStatus))}isWindowVisible(){return window.__adobe_cep__.invokeSync("isWindowVisible","")}resizeContent(width,height){window.__adobe_cep__.resizeContent(width,height)}registerInvalidCertificateCallback(callback){return window.__adobe_cep__.registerInvalidCertificateCallback(callback)}registerKeyEventsInterest(keyEventsInterest){return window.__adobe_cep__.registerKeyEventsInterest(keyEventsInterest)}setWindowTitle(title){window.__adobe_cep__.invokeSync("setWindowTitle",title)}getWindowTitle(){return window.__adobe_cep__.invokeSync("getWindowTitle","")}}CSInterface.THEME_COLOR_CHANGED_EVENT="com.adobe.csxs.events.ThemeColorChanged"},37:function(module){var g=function(){return this}();try{g=g||Function("return this")()||(1,eval)("this")}catch(e){"object"==typeof window&&(g=window)}module.exports=g},49:function(module,__webpack_exports__,__webpack_require__){"use strict";var _log__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),iaw_localstorage__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(17),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(51),__decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},__metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};const MISSING_KEY_PREFIX="",COUNTRYCODEMAP={US:"us",CA:"us",AI:"us",AG:"us",AR:"us",AW:"us",BS:"us",BB:"us",BZ:"us",BM:"us",BO:"us",BR:"us",KY:"us",CL:"us",CO:"us",CR:"us",DM:"us",DO:"us",EC:"us",SV:"us",FK:"us",GF:"us",GD:"us",GP:"us",GT:"us",GY:"us",HT:"us",HN:"us",JM:"us",MQ:"us",MX:"us",MS:"us",AN:"us",NI:"us",PA:"us",PY:"us",PE:"us",KN:"us",LC:"us",PM:"us",VC:"us",GS:"us",SR:"us",TT:"us",TC:"us",UM:"us",UY:"us",VE:"us",VG:"us",AS:"us",PR:"us",GB:"eu",AL:"eu",DZ:"eu",AD:"eu",AO:"eu",AM:"eu",AT:"eu",AZ:"eu",BY:"eu",BE:"eu",BJ:"eu",BA:"eu",BW:"eu",IO:"eu",BG:"eu",BF:"eu",BI:"eu",CM:"eu",CV:"eu",CF:"eu",TD:"eu",KM:"eu",CD:"eu",CG:"eu",HR:"eu",CY:"eu",CZ:"eu",DK:"eu",DJ:"eu",EG:"eu",GQ:"eu",ER:"eu",EE:"eu",ET:"eu",FO:"eu",FI:"eu",FR:"eu",GA:"eu",GM:"eu",GE:"eu",DE:"eu",GH:"eu",GI:"eu",GR:"eu",GL:"eu",GN:"eu",GW:"eu",HU:"eu",IS:"eu",IE:"eu",IT:"eu",CI:"eu",KE:"eu",LV:"eu",LS:"eu",LR:"eu",LY:"eu",LI:"eu",LT:"eu",LU:"eu",MK:"eu",MG:"eu",MW:"eu",ML:"eu",MT:"eu",MR:"eu",MU:"eu",YT:"eu",MD:"eu",MC:"eu",ME:"eu",MA:"eu",MZ:"eu",NA:"eu",NL:"eu",NE:"eu",NG:"eu",NO:"eu",PS:"eu",PL:"eu",PT:"eu",RE:"eu",RO:"eu",RW:"eu",SH:"eu",SM:"eu",ST:"eu",SN:"eu",CS:"eu",RS:"eu",SC:"eu",SL:"eu",SK:"eu",SI:"eu",SO:"eu",ZA:"eu",ES:"eu",SJ:"eu",SZ:"eu",SE:"eu",CH:"eu",TZ:"eu",TG:"eu",TN:"eu",UG:"eu",UA:"eu",VA:"eu",EH:"eu",ZM:"eu",ZW:"eu",AF:"ap",AQ:"ap",AU:"ap",BH:"ap",BD:"ap",BT:"ap",BN:"ap",MM:"ap",KH:"ap",CN:"ap",CX:"ap",CC:"ap",CK:"ap",TL:"ap",FJ:"ap",PF:"ap",HK:"ap",IN:"ap",ID:"ap",IQ:"ap",IL:"ap",JP:"ap",JO:"ap",KZ:"ap",KI:"ap",KR:"ap",KW:"ap",KG:"ap",LA:"ap",LB:"ap",MO:"ap",MY:"ap",MV:"ap",MH:"ap",FM:"ap",MN:"ap",NR:"ap",NP:"ap",NC:"ap",NZ:"ap",NU:"ap",NF:"ap",OM:"ap",PK:"ap",PG:"ap",PH:"ap",PN:"ap",QA:"ap",RU:"ap",WS:"ap",SA:"ap",SG:"ap",SB:"ap",LK:"ap",TW:"ap",TJ:"ap",TH:"ap",TK:"ap",TO:"ap",TR:"ap",TM:"ap",TV:"ap",AE:"ap",UZ:"ap",VU:"ap",VN:"ap",WF:"ap",YE:"ap"};class I18N{constructor(){this._localeDataPath="./locale",this._localeDataFile="strings.json",this._useZString=!1}static getInstance(){return this._instance||(this._instance=new this)}_readLocalJSONTable(filepath,responderFn){const xmlhttp=new XMLHttpRequest;xmlhttp.overrideMimeType("application/json"),xmlhttp.onreadystatechange=function(){if(4===xmlhttp.readyState&&xmlhttp.responseText&&responderFn)try{responderFn(JSON.parse(xmlhttp.responseText))}catch(err){_log__WEBPACK_IMPORTED_MODULE_0__.a.toConsole(err)}},xmlhttp.open("GET",filepath,!0),xmlhttp.send()}addFromLocalLocaleJSON(localeID,continueFn){const callback=table=>{iaw_localstorage__WEBPACK_IMPORTED_MODULE_1__.a.setGlobalItem("strings",{data:table,localeID:localeID,version:window.appVersionNumber}),this._localizedStringTable=table,document.getElementsByTagName("html")[0].setAttribute("lang",localeID.toLowerCase().replace(/_/,"-")),continueFn&&continueFn()},strings=iaw_localstorage__WEBPACK_IMPORTED_MODULE_1__.a.getGlobalItem("strings");strings&&strings.localeID===localeID&&strings.version===window.appVersionNumber?callback(strings.data):this._readLocalJSONTable(this._localeDataPath+"/"+localeID+"/"+this._localeDataFile,callback)}addLocalGoURLJSON(){const goUrl=iaw_localstorage__WEBPACK_IMPORTED_MODULE_1__.a.getGlobalItem("goUrl");goUrl&&goUrl.version===window.appVersionNumber?this._urlLocalizationTable=goUrl.data:this._readLocalJSONTable(this._localeDataPath+"/goURL.json",table=>{iaw_localstorage__WEBPACK_IMPORTED_MODULE_1__.a.setGlobalItem("goUrl",{version:window.appVersionNumber,data:table}),this._urlLocalizationTable=table})}getLocalizedString(stringID){if(!this._localizedStringTable||!stringID)return"";let defaultDelimiter=stringID.indexOf("=");0>defaultDelimiter&&(defaultDelimiter=stringID.length);const strKey=stringID.slice(0,defaultDelimiter),strDefaultValue=stringID.slice(defaultDelimiter+1),locStr=this._localizedStringTable[strKey];let translatedStr=locStr?locStr.replace("^n","<br>"):null;return translatedStr=translatedStr||strDefaultValue,translatedStr||MISSING_KEY_PREFIX+stringID}getLocalizedSubstitutionString(stringID,subArray){let locStr=this.getLocalizedString(stringID);if(locStr&&subArray)for(let index=0;index<subArray.length;index++)locStr=locStr.replace("^"+index,subArray[index]);else locStr=MISSING_KEY_PREFIX+stringID;return locStr}getLocalizedGoURLSuffix(appLang,tableID){let suffixTable=null;this._urlLocalizationTable&&(suffixTable=this._urlLocalizationTable[tableID]||this._urlLocalizationTable.common);const suffix=suffixTable&&appLang?suffixTable[appLang]:null;return suffix||"en"}normalizeLocaleID(localeID){return localeID?localeID.toLowerCase().replace("_","-"):localeID}configure(localeID,params){let continueFn;params&&(this._localeDataPath=params.localePath||this._localeDataPath,this._localeDataFile=params.localeFile||this._localeDataFile,this._useZString=params.useZString||this._useZString,continueFn=params.continueFn||null),this.addLocalGoURLJSON(),this.addFromLocalLocaleJSON(localeID,continueFn)}regionFromCountryCode(countryCode){return COUNTRYCODEMAP[countryCode.toUpperCase()]||"us"}}__decorate([mobx__WEBPACK_IMPORTED_MODULE_2__.t,__metadata("design:type",Object)],I18N.prototype,"_localizedStringTable",void 0),__decorate([mobx__WEBPACK_IMPORTED_MODULE_2__.t,__metadata("design:type",Object)],I18N.prototype,"_urlLocalizationTable",void 0),__decorate([mobx__WEBPACK_IMPORTED_MODULE_2__.t,__metadata("design:type",Object)],I18N.prototype,"_localeDataPath",void 0),__decorate([mobx__WEBPACK_IMPORTED_MODULE_2__.t,__metadata("design:type",Object)],I18N.prototype,"_localeDataFile",void 0),__decorate([mobx__WEBPACK_IMPORTED_MODULE_2__.t,__metadata("design:type",Object)],I18N.prototype,"_useZString",void 0),__webpack_exports__.a=I18N.getInstance()},50:function(module,__webpack_exports__,__webpack_require__){"use strict";function configure(enabled,adapter,mode){_adapter=adapter,mode=mode||iaw_imsBridge__WEBPACK_IMPORTED_MODULE_1__.a.environment,_basePayloadData=_adapter.configureBasePayload();const options=_adapter.configurationOptions(),libOptions={ENVIRONMENT:mode,ANALYTICS_API_KEY:options.API_KEY,ANALYTICS_X_PRODUCT:options.X_PRODUCT,ANALYTICS_PROJECT:options.PROJECT,ANALYTICS_USER_REGION:options.USER_REGION,ANALYTICS_INGEST_TYPE:options.INGEST_TYPE,ANALYTICS_MAX_QUEUED_EVENTS:50,ANALYTICS_DEBOUNCE:0,TIMESTAMP_PROPERTY_NAME:"event.dts_end",ALLOW_NO_TOKEN:!0};_ingest=Ingest.createInstance(INGESTLIB_DEPENDENCIES,libOptions),_ingest.enable(enabled),_enabled=enabled&&adapter&&_ingest,iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.toConsole("analytics.ingest: ("+mode+") "+(_enabled?"active":"disabled")),_enabled&&_processPrequeuedEvents()}function setEnabledDelayed(enabled,sessionGUID){_ingest&&(_enabled=enabled&&_adapter,_ingest.enable(enabled),_processPrequeuedEvents(sessionGUID))}function _createPayload(eventType){const payload=JSON.parse(JSON.stringify(_basePayloadData));return payload["event.guid"]=iaw_jsUtil__WEBPACK_IMPORTED_MODULE_2__.a.generateGUID(),payload["event.type"]=eventType||null,payload["ccxp.hasAccessToken"]=!!iaw_imsBridge__WEBPACK_IMPORTED_MODULE_1__.a.getCachedAccessToken(),payload}function getAnalyticsQueryString(){return _adapter?_adapter.getAnalyticsQueryString():""}function postEvent(payload){payload=payload||{},_ingest&&_enabled?(payload["event.offline"]=!navigator.onLine,_ingest.postEvent(payload)):_prequeuedEvents.push(payload)}function _processPrequeuedEvents(sessionGUID){_prequeuedEvents.forEach(payload=>{for(const prop in sessionGUID&&(payload["event.context_guid"]=sessionGUID),_basePayloadData)!payload[prop]&&_basePayloadData[prop]&&(payload[prop]=_basePayloadData[prop]);postEvent(payload)})}function logRenderedEvent(eventID,eventData){if(_adapter){const payload="widget"===eventID?eventData:_createPayload("render");return"widget"===eventID&&(eventData={},delete payload.fieldData),_adapter.processRenderEvent(eventID,eventData,payload),payload&&postEvent(payload),payload}}function logClickedEvent(eventID,eventData){if(_adapter){const payload="widget"===eventID?eventData:_createPayload("click");return"widget"===eventID&&(eventData={},delete payload.fieldData),_adapter.processClickEvent(eventID,eventData,payload),payload&&postEvent(payload),payload}}function logDropEvent(eventID,eventData){if(_adapter){const payload="widget"===eventID?eventData:_createPayload("drop");"widget"===eventID&&(eventData={},delete payload.fieldData),_adapter.processMiscellaneousEvent(eventID,eventData,payload),payload&&postEvent(payload)}}function logMiscellaneousEvent(eventID,eventData){if(_adapter){const payload="widget"===eventID?eventData:_createPayload("misc");"widget"===eventID&&(eventData={},delete payload.fieldData),_adapter.processMiscellaneousEvent(eventID,eventData,payload),payload&&postEvent(payload)}}function logErrorEvent(eventID,eventData){if(_adapter){const payload="widget"===eventID?eventData:_createPayload("error");"widget"===eventID&&(eventData={},delete payload.fieldData),_adapter.processErrorEvent(eventID,eventData,payload),payload&&postEvent(payload)}}var _Mathabs2=Math.abs,iaw_log__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),iaw_imsBridge__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(25),iaw_jsUtil__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(57);const Ingest=__webpack_require__(145);let _enabled=!1,_adapter,_ingest,_basePayloadData;const _prequeuedEvents=[],INGESTLIB_DEPENDENCIES={log:function(msg){iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.toConsole(msg)},getAccessToken:function(callback){const token=iaw_imsBridge__WEBPACK_IMPORTED_MODULE_1__.a.getCachedAccessToken();try{callback(null,token)}catch(e){iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.toConsole(`Ingest crashed with error ${e}`)}},clearAccessToken:function(){iaw_imsBridge__WEBPACK_IMPORTED_MODULE_1__.a.clearAccessToken()}};__webpack_exports__.a={enabled:_enabled,configure:configure,getAnalyticsQueryString:getAnalyticsQueryString,composeURLWithAnalyticsQueryString:function(url){let composedURL=url;if(composedURL){const deepLinkIndex=composedURL.indexOf("#");let deepLink="";0<=deepLinkIndex&&(deepLink=composedURL.substr(deepLinkIndex),composedURL=composedURL.substr(0,deepLinkIndex));const querySep=0>composedURL.indexOf("?")?"?":"&",analyticsQuery=getAnalyticsQueryString();composedURL+=querySep+analyticsQuery+deepLink}return composedURL},logClickedEvent:logClickedEvent,logRenderedEvent:logRenderedEvent,logMiscellaneousEvent:logMiscellaneousEvent,logErrorEvent:logErrorEvent,logDropEvent:logDropEvent,setEnabledDelayed:setEnabledDelayed,postEvent:postEvent}},51:function(module,__webpack_exports__,__webpack_require__){"use strict";var _Mathmax2=Math.max;(function(process,global){function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}function __read(o,n){var m="function"==typeof Symbol&&o[Symbol.iterator];if(!m)return o;var i=m.call(o),ar=[],r,e;try{for(;(void 0===n||0<n--)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error:error}}finally{try{r&&!r.done&&(m=i["return"])&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar}function createPropertyInitializerDescriptor(prop,enumerable){var cache=enumerable?enumerableDescriptorCache:nonEnumerableDescriptorCache;return cache[prop]||(cache[prop]={configurable:!0,enumerable:enumerable,get:function(){return initializeInstance(this),this[prop]},set:function(value){initializeInstance(this),this[prop]=value}})}function initializeInstance(target){if(!0!==target.__mobxDidRunLazyInitializers){var decorators=target.__mobxDecorators;if(decorators)for(var key in addHiddenProp(target,"__mobxDidRunLazyInitializers",!0),decorators){var d=decorators[key];d.propertyCreator(target,d.prop,d.descriptor,d.decoratorTarget,d.decoratorArguments)}}}function createPropDecorator(propertyInitiallyEnumerable,propertyCreator){return function(){var decorator=function(target,prop,descriptor,applyImmediately){if(!0===applyImmediately)return propertyCreator(target,prop,descriptor,target,decoratorArguments),null;if(!1,!Object.prototype.hasOwnProperty.call(target,"__mobxDecorators")){var inheritedDecorators=target.__mobxDecorators;addHiddenProp(target,"__mobxDecorators",__assign({},inheritedDecorators))}return target.__mobxDecorators[prop]={prop:prop,propertyCreator:propertyCreator,descriptor:descriptor,decoratorTarget:target,decoratorArguments:decoratorArguments},createPropertyInitializerDescriptor(prop,propertyInitiallyEnumerable)},decoratorArguments;return quacksLikeADecorator(arguments)?(decoratorArguments=EMPTY_ARRAY,decorator.apply(null,arguments)):(decoratorArguments=Array.prototype.slice.call(arguments),decorator)}}function quacksLikeADecorator(args){return(2===args.length||3===args.length)&&"string"==typeof args[1]||4===args.length&&!0===args[3]}function isSpyEnabled(){return!!globalState.spyListeners.length}function spyReport(event){if(globalState.spyListeners.length)for(var listeners=globalState.spyListeners,i=0,l=listeners.length;i<l;i++)listeners[i](event)}function spyReportStart(event){var change=__assign({},event,{spyReportStart:!0});spyReport(change)}function spyReportEnd(change){change?spyReport(__assign({},change,{spyReportEnd:!0})):spyReport(END_EVENT)}function spy(listener){return globalState.spyListeners.push(listener),once(function(){globalState.spyListeners=globalState.spyListeners.filter(function(l){return l!==listener})})}function createAction(actionName,fn){var res=function(){return executeAction(actionName,fn,this,arguments)};return res.isMobxAction=!0,res}function executeAction(actionName,fn,scope,args){var runInfo=startAction(actionName,fn,scope,args);try{return fn.apply(scope,args)}finally{endAction(runInfo)}}function startAction(actionName,fn,scope,args){var notifySpy=isSpyEnabled()&&!!actionName,startTime=0;if(notifySpy){startTime=Date.now();var l=args&&args.length||0,flattendArgs=Array(l);if(0<l)for(var i=0;i<l;i++)flattendArgs[i]=args[i];spyReportStart({type:"action",name:actionName,object:scope,arguments:flattendArgs})}var prevDerivation=untrackedStart();startBatch();var prevAllowStateChanges=allowStateChangesStart(!0);return{prevDerivation:prevDerivation,prevAllowStateChanges:prevAllowStateChanges,notifySpy:notifySpy,startTime:startTime}}function endAction(runInfo){allowStateChangesEnd(runInfo.prevAllowStateChanges),endBatch(),untrackedEnd(runInfo.prevDerivation),runInfo.notifySpy&&spyReportEnd({time:Date.now()-runInfo.startTime})}function allowStateChanges(allowStateChanges,func){var prev=allowStateChangesStart(allowStateChanges),res;try{res=func()}finally{allowStateChangesEnd(prev)}return res}function allowStateChangesStart(allowStateChanges){var prev=globalState.allowStateChanges;return globalState.allowStateChanges=allowStateChanges,prev}function allowStateChangesEnd(prev){globalState.allowStateChanges=prev}function dontReassignFields(){fail$1(!1)}function namedActionDecorator(name){return function(target,prop,descriptor){if(descriptor){if(!1,descriptor.value)return{value:createAction(name,descriptor.value),enumerable:!1,configurable:!1,writable:!0};var initializer_1=descriptor.initializer;return{enumerable:!1,configurable:!1,writable:!1,initializer:function(){return createAction(name,initializer_1.call(this))}}}return actionFieldDecorator(name).apply(this,arguments)}}function actionFieldDecorator(name){return function(target,prop){Object.defineProperty(target,prop,{configurable:!0,enumerable:!1,get:function(){},set:function(value){addHiddenFinalProp(this,prop,action(name,value))}})}}function runInAction(arg1,arg2){var actionName="string"==typeof arg1?arg1:arg1.name||"<unnamed action>",fn="function"==typeof arg1?arg1:arg2;return!1,executeAction(actionName,fn,this,void 0)}function defineBoundAction(target,propertyName,fn){addHiddenProp(target,propertyName,createAction(propertyName,fn.bind(target)))}function deepEqual(a,b){return eq(a,b)}function eq(a,b,aStack,bStack){if(a===b)return 0!==a||1/a==1/b;if(null==a||null==b)return!1;if(a!==a)return b!==b;var type=typeof a;return("function"==type||"object"==type||"object"==typeof b)&&deepEq(a,b,aStack,bStack)}function deepEq(a,b,aStack,bStack){a=unwrap(a),b=unwrap(b);var className=toString.call(a);if(className!==toString.call(b))return!1;switch(className){case"[object RegExp]":case"[object String]":return""+a==""+b;case"[object Number]":return+a==+a?0==+a?1/+a==1/b:+a==+b:+b!=+b;case"[object Date]":case"[object Boolean]":return+a==+b;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(a)===Symbol.valueOf.call(b);}var areArrays="[object Array]"===className;if(!areArrays){if("object"!=typeof a||"object"!=typeof b)return!1;var aCtor=a.constructor,bCtor=b.constructor;if(aCtor!==bCtor&&!("function"==typeof aCtor&&aCtor instanceof aCtor&&"function"==typeof bCtor&&bCtor instanceof bCtor)&&"constructor"in a&&"constructor"in b)return!1}aStack=aStack||[],bStack=bStack||[];for(var length=aStack.length;length--;)if(aStack[length]===a)return bStack[length]===b;if(aStack.push(a),bStack.push(b),areArrays){if(length=a.length,length!==b.length)return!1;for(;length--;)if(!eq(a[length],b[length],aStack,bStack))return!1}else{var keys$$1=Object.keys(a),key;if(length=keys$$1.length,Object.keys(b).length!==length)return!1;for(;length--;)if(key=keys$$1[length],!(has$$1(b,key)&&eq(a[key],b[key],aStack,bStack)))return!1}return aStack.pop(),bStack.pop(),!0}function unwrap(a){return isObservableArray(a)?a.peek():isES6Map(a)||isObservableMap(a)?iteratorToArray(a.entries()):a}function has$$1(a,key){return Object.prototype.hasOwnProperty.call(a,key)}function identityComparer(a,b){return a===b}function autorun(view,opts){function reactionRunner(){view(reaction)}void 0===opts&&(opts=EMPTY_OBJECT),!1;var name=opts&&opts.name||view.name||"Autorun@"+getNextId(),runSync=!opts.scheduler&&!opts.delay,reaction;if(runSync)reaction=new Reaction(name,function(){this.track(reactionRunner)},opts.onError);else{var scheduler_1=createSchedulerFromOptions(opts),isScheduled_1=!1;reaction=new Reaction(name,function(){isScheduled_1||(isScheduled_1=!0,scheduler_1(function(){isScheduled_1=!1,reaction.isDisposed||reaction.track(reactionRunner)}))},opts.onError)}return reaction.schedule(),reaction.getDisposer()}function createSchedulerFromOptions(opts){return opts.scheduler?opts.scheduler:opts.delay?function(f){return setTimeout(f,opts.delay)}:run}function reaction(expression,effect,opts){function reactionRunner(){if(isScheduled=!1,!r.isDisposed){var changed=!1;r.track(function(){var nextValue=expression(r);changed=firstTime||!equals(value,nextValue),value=nextValue}),firstTime&&opts.fireImmediately&&effectAction(value,r),firstTime||!0!==changed||effectAction(value,r),firstTime&&(firstTime=!1)}}void 0===opts&&(opts=EMPTY_OBJECT),"boolean"==typeof opts&&(opts={fireImmediately:opts},deprecated("Using fireImmediately as argument is deprecated. Use '{ fireImmediately: true }' instead")),!1;var name=opts.name||"Reaction@"+getNextId(),effectAction=action(name,opts.onError?wrapErrorHandler(opts.onError,effect):effect),runSync=!opts.scheduler&&!opts.delay,scheduler=createSchedulerFromOptions(opts),firstTime=!0,isScheduled=!1,equals=opts.compareStructural?comparer.structural:opts.equals||comparer.default,r=new Reaction(name,function(){firstTime||runSync?reactionRunner():!isScheduled&&(isScheduled=!0,scheduler(reactionRunner))},opts.onError),value;return r.schedule(),r.getDisposer()}function wrapErrorHandler(errorHandler,baseFn){return function(){try{return baseFn.apply(this,arguments)}catch(e){errorHandler.call(this,e)}}}function hasInterceptors(interceptable){return interceptable.interceptors!==void 0&&0<interceptable.interceptors.length}function registerInterceptor(interceptable,handler){var interceptors=interceptable.interceptors||(interceptable.interceptors=[]);return interceptors.push(handler),once(function(){var idx=interceptors.indexOf(handler);-1!==idx&&interceptors.splice(idx,1)})}function interceptChange(interceptable,change){var prevU=untrackedStart();try{var interceptors=interceptable.interceptors;if(interceptors)for(var i=0,l=interceptors.length;i<l&&(change=interceptors[i](change),invariant(!change||change.type,"Intercept handlers should return nothing or a change object"),!!change);i++);return change}finally{untrackedEnd(prevU)}}function hasListeners(listenable){return listenable.changeListeners!==void 0&&0<listenable.changeListeners.length}function registerListener(listenable,handler){var listeners=listenable.changeListeners||(listenable.changeListeners=[]);return listeners.push(handler),once(function(){var idx=listeners.indexOf(handler);-1!==idx&&listeners.splice(idx,1)})}function notifyListeners(listenable,change){var prevU=untrackedStart(),listeners=listenable.changeListeners;if(listeners){listeners=listeners.slice();for(var i=0,l=listeners.length;i<l;i++)listeners[i](change);untrackedEnd(prevU)}}function asObservableObject(target,name,defaultEnhancer){void 0===name&&(name=""),void 0===defaultEnhancer&&(defaultEnhancer=deepEnhancer);var adm=target.$mobx;return adm?adm:(!1,isPlainObject(target)||(name=(target.constructor.name||"ObservableObject")+"@"+getNextId()),name||(name="ObservableObject@"+getNextId()),adm=new ObservableObjectAdministration(target,name,defaultEnhancer),addHiddenFinalProp(target,"$mobx",adm),adm)}function defineObservableProperty(target,propName,newValue,enhancer){var adm=asObservableObject(target);if(assertPropertyConfigurable(target,propName),hasInterceptors(adm)){var change=interceptChange(adm,{object:target,name:propName,type:"add",newValue:newValue});if(!change)return;newValue=change.newValue}var observable=adm.values[propName]=new ObservableValue(newValue,enhancer,adm.name+"."+propName,!1);newValue=observable.value,Object.defineProperty(target,propName,generateObservablePropConfig(propName)),adm.keys&&adm.keys.push(propName),notifyPropertyAddition(adm,target,propName,newValue)}function defineComputedProperty(target,propName,options){var adm=asObservableObject(target);options.name=adm.name+"."+propName,options.context=target,adm.values[propName]=new ComputedValue(options),Object.defineProperty(target,propName,generateComputedPropConfig(propName))}function generateObservablePropConfig(propName){return observablePropertyConfigs[propName]||(observablePropertyConfigs[propName]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.read(this,propName)},set:function(v){this.$mobx.write(this,propName,v)}})}function getAdministrationForComputedPropOwner(owner){var adm=owner.$mobx;return adm?adm:(initializeInstance(owner),owner.$mobx)}function generateComputedPropConfig(propName){return computedPropertyConfigs[propName]||(computedPropertyConfigs[propName]={configurable:!0,enumerable:!1,get:function(){return getAdministrationForComputedPropOwner(this).read(this,propName)},set:function(v){getAdministrationForComputedPropOwner(this).write(this,propName,v)}})}function notifyPropertyAddition(adm,object,key,newValue){var notify=hasListeners(adm),notifySpy=isSpyEnabled(),change=notify||notifySpy?{type:"add",object:object,name:key,newValue:newValue}:null;notifySpy&&spyReportStart(__assign({},change,{name:adm.name,key:key})),notify&&notifyListeners(adm,change),notifySpy&&spyReportEnd()}function isObservableObject(thing){return!!isObject(thing)&&(initializeInstance(thing),isObservableObjectAdministration(thing.$mobx))}function createDecoratorForEnhancer(enhancer){var decorator=createPropDecorator(!0,function(target,propertyName,descriptor){var initialValue=descriptor?descriptor.initializer?descriptor.initializer.call(target):descriptor.value:void 0;defineObservableProperty(target,propertyName,initialValue,enhancer)}),res=decorator;return res.enhancer=enhancer,res}function _isObservable(value,property){if(null===value||value===void 0)return!1;if(void 0!==property){if(!1,isObservableObject(value)){var o=value.$mobx;return o.values&&!!o.values[property]}return!1}return isObservableObject(value)||!!value.$mobx||isAtom(value)||isReaction(value)||isComputedValue(value)}function isObservable(value){return 1!==arguments.length&&fail$1(!1),_isObservable(value)}function isObservableProp(value,propName){return"string"==typeof propName?_isObservable(value,propName):fail$1(!1)}function _isComputed(value,property){if(null===value||value===void 0)return!1;if(void 0!==property){if(!1===isObservableObject(value))return!1;if(!value.$mobx.values[property])return!1;var atom=getAtom(value,property);return isComputedValue(atom)}return isComputedValue(value)}function isComputed(value){return 1<arguments.length?fail$1(!1):_isComputed(value)}function isComputedProp(value,propName){return"string"==typeof propName?_isComputed(value,propName):fail$1(!1)}function extendObservable(target,properties,decorators,options){var key;options=asCreateObservableOptions(options);var defaultDecorator=options.defaultDecorator||(!1===options.deep?refDecorator:deepDecorator);asObservableObject(target,options.name,defaultDecorator.enhancer),startBatch();try{for(var key in properties){var descriptor=Object.getOwnPropertyDescriptor(properties,key);var decorator=decorators&&key in decorators?decorators[key]:descriptor.get?computedDecorator:defaultDecorator;var resultDescriptor=decorator(target,key,descriptor,!0);resultDescriptor&&Object.defineProperty(target,key,resultDescriptor)}}finally{endBatch()}return target}function asCreateObservableOptions(thing){return null===thing||void 0===thing?defaultCreateObservableOptions:"string"==typeof thing?{name:thing,deep:!0}:(!1,thing)}function getEnhancerFromOptions(options){return options.defaultDecorator?options.defaultDecorator.enhancer:!1===options.deep?referenceEnhancer:deepEnhancer}function incorrectlyUsedAsDecorator(methodName){fail$1("Expected one or two arguments to observable."+methodName+". Did you accidentally try to use observable."+methodName+" as decorator?")}function deepEnhancer(v,_,name){return isObservable(v)?v:Array.isArray(v)?observable.array(v,{name:name}):isPlainObject(v)?observable.object(v,void 0,{name:name}):isES6Map(v)?observable.map(v,{name:name}):v}function referenceEnhancer(newValue){return newValue}function iteratorSymbol(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function declareIterator(prototType,iteratorFactory){addHiddenFinalProp(prototType,iteratorSymbol(),iteratorFactory)}function makeIterable(iterator){return iterator[iteratorSymbol()]=self,iterator}function self(){return this}function transaction(action,thisArg){void 0===thisArg&&(thisArg=void 0),startBatch();try{return action.apply(thisArg)}finally{endBatch()}}function getAtom(thing,property){if("object"==typeof thing&&null!==thing){if(isObservableArray(thing))return void 0!==property&&fail$1(!1),thing.$mobx.atom;if(isObservableMap(thing)){var anyThing=thing;if(void 0===property)return getAtom(anyThing._keys);var observable=anyThing._data.get(property)||anyThing._hasMap.get(property);return observable||fail$1(!1),observable}if(initializeInstance(thing),property&&!thing.$mobx&&thing[property],isObservableObject(thing)){if(!property)return fail$1(!1);var observable=thing.$mobx.values[property];return observable||fail$1(!1),observable}if(isAtom(thing)||isComputedValue(thing)||isReaction(thing))return thing}else if("function"==typeof thing&&isReaction(thing.$mobx))return thing.$mobx;return fail$1(!1)}function getAdministration(thing,property){return(thing||fail$1("Expecting some object"),void 0!==property)?getAdministration(getAtom(thing,property)):isAtom(thing)||isComputedValue(thing)||isReaction(thing)?thing:isObservableMap(thing)?thing:(initializeInstance(thing),thing.$mobx?thing.$mobx:void fail$1(!1))}function getDebugName(thing,property){var named;return named=void 0===property?isObservableObject(thing)||isObservableMap(thing)?getAdministration(thing):getAtom(thing):getAtom(thing,property),named.name}function onBecomeObserved(thing,arg2,arg3){return interceptHook("onBecomeObserved",thing,arg2,arg3)}function onBecomeUnobserved(thing,arg2,arg3){return interceptHook("onBecomeUnobserved",thing,arg2,arg3)}function interceptHook(hook,thing,arg2,arg3){var atom="string"==typeof arg2?getAtom(thing,arg2):getAtom(thing),cb="string"==typeof arg2?arg3:arg2,orig=atom[hook];return"function"==typeof orig?(atom[hook]=function(){orig.call(this),cb.call(this)},function(){atom[hook]=orig}):fail$1(!1)}function declareAtom(){Atom||(Atom=function(){function AtomImpl(name){void 0===name&&(name="Atom@"+getNextId()),this.name=name,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=IDerivationState.NOT_TRACKING}return AtomImpl.prototype.onBecomeUnobserved=function(){},AtomImpl.prototype.onBecomeObserved=function(){},AtomImpl.prototype.reportObserved=function(){return reportObserved(this)},AtomImpl.prototype.reportChanged=function(){startBatch(),propagateChanged(this),endBatch()},AtomImpl.prototype.toString=function(){return this.name},AtomImpl}(),isAtom=createInstanceofPredicate("Atom",Atom))}function createAtom(name,onBecomeObservedHandler,onBecomeUnobservedHandler){void 0===onBecomeObservedHandler&&(onBecomeObservedHandler=noop),void 0===onBecomeUnobservedHandler&&(onBecomeUnobservedHandler=noop);var atom=new Atom(name);return onBecomeObserved(atom,onBecomeObservedHandler),onBecomeUnobserved(atom,onBecomeUnobservedHandler),atom}function createArrayEntryDescriptor(index){return{enumerable:!1,configurable:!1,get:function(){return this.get(index)},set:function(value){this.set(index,value)}}}function createArrayBufferItem(index){Object.defineProperty(ObservableArray.prototype,""+index,createArrayEntryDescriptor(index))}function reserveArrayBuffer(max){for(var index=OBSERVABLE_ARRAY_BUFFER_SIZE;index<max;index++)createArrayBufferItem(index);OBSERVABLE_ARRAY_BUFFER_SIZE=max}function isObservableArray(thing){return isObject(thing)&&isObservableArrayAdministration(thing.$mobx)}function getGlobal(){return"undefined"==typeof window?global:window}function getNextId(){return++globalState.mobxGuid}function fail$1(message){throw invariant(!1,message),"X"}function invariant(check,message){if(!check)throw new Error("[mobx] "+(message||OBFUSCATED_ERROR))}function deprecated(msg,thing){return!1}function once(func){var invoked=!1;return function(){if(!invoked)return invoked=!0,func.apply(this,arguments)}}function unique(list){var res=[];return list.forEach(function(item){-1===res.indexOf(item)&&res.push(item)}),res}function isObject(value){return null!==value&&"object"==typeof value}function isPlainObject(value){if(null===value||"object"!=typeof value)return!1;var proto=Object.getPrototypeOf(value);return proto===Object.prototype||null===proto}function addHiddenProp(object,propName,value){Object.defineProperty(object,propName,{enumerable:!1,writable:!0,configurable:!0,value:value})}function addHiddenFinalProp(object,propName,value){Object.defineProperty(object,propName,{enumerable:!1,writable:!1,configurable:!0,value:value})}function assertPropertyConfigurable(){}function createInstanceofPredicate(name,clazz){var propName="isMobX"+name;return clazz.prototype[propName]=!0,function(x){return isObject(x)&&!0===x[propName]}}function areBothNaN(a,b){return"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function isES6Map(thing){return!!(void 0!==getGlobal().Map&&thing instanceof getGlobal().Map)}function getMapLikeKeys(map){return isPlainObject(map)?Object.keys(map):Array.isArray(map)?map.map(function(_a){var _b=__read(_a,1),key=_b[0];return key}):isES6Map(map)||isObservableMap(map)?iteratorToArray(map.keys()):fail$1("Cannot get keys from '"+map+"'")}function iteratorToArray(it){for(var res=[];;){var r=it.next();if(r.done)break;res.push(r.value)}return res}function primitiveSymbol(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function toPrimitive(value){return null===value?null:"object"==typeof value?""+value:value}function isolateGlobalState(){runInIsolationCalled=!0,getGlobal().__mobxInstanceCount--}function getDependencyTree(thing,property){return nodeToDependencyTree(getAtom(thing,property))}function nodeToDependencyTree(node){var result={name:node.name};return node.observing&&0<node.observing.length&&(result.dependencies=unique(node.observing).map(nodeToDependencyTree)),result}function addObserver(observable,node){var l=observable.observers.length;l&&(observable.observersIndexes[node.__mapid]=l),observable.observers[l]=node,observable.lowestObserverState>node.dependenciesState&&(observable.lowestObserverState=node.dependenciesState)}function removeObserver(observable,node){if(1===observable.observers.length)observable.observers.length=0,queueForUnobservation(observable);else{var list=observable.observers,map=observable.observersIndexes,filler=list.pop();if(filler!==node){var index=map[node.__mapid]||0;index?map[filler.__mapid]=index:delete map[filler.__mapid],list[index]=filler}delete map[node.__mapid]}}function queueForUnobservation(observable){!1===observable.isPendingUnobservation&&(observable.isPendingUnobservation=!0,globalState.pendingUnobservations.push(observable))}function startBatch(){globalState.inBatch++}function endBatch(){if(0==--globalState.inBatch){runReactions();for(var list=globalState.pendingUnobservations,i=0,observable;i<list.length;i++)observable=list[i],observable.isPendingUnobservation=!1,0===observable.observers.length&&(observable.isBeingObserved&&(observable.isBeingObserved=!1,observable.onBecomeUnobserved()),observable instanceof ComputedValue&&observable.suspend());globalState.pendingUnobservations=[]}}function reportObserved(observable){var derivation=globalState.trackingDerivation;return null===derivation?(0===observable.observers.length&&0<globalState.inBatch&&queueForUnobservation(observable),!1):(derivation.runId!==observable.lastAccessedBy&&(observable.lastAccessedBy=derivation.runId,derivation.newObserving[derivation.unboundDepsCount++]=observable,!observable.isBeingObserved&&(observable.isBeingObserved=!0,observable.onBecomeObserved())),!0)}function propagateChanged(observable){if(observable.lowestObserverState!==IDerivationState.STALE){observable.lowestObserverState=IDerivationState.STALE;for(var observers=observable.observers,i=observers.length,d;i--;)d=observers[i],d.dependenciesState===IDerivationState.UP_TO_DATE&&(d.isTracing!==TraceMode.NONE&&logTraceInfo(d,observable),d.onBecomeStale()),d.dependenciesState=IDerivationState.STALE}}function propagateChangeConfirmed(observable){if(observable.lowestObserverState!==IDerivationState.STALE){observable.lowestObserverState=IDerivationState.STALE;for(var observers=observable.observers,i=observers.length,d;i--;)d=observers[i],d.dependenciesState===IDerivationState.POSSIBLY_STALE?d.dependenciesState=IDerivationState.STALE:d.dependenciesState===IDerivationState.UP_TO_DATE&&(observable.lowestObserverState=IDerivationState.UP_TO_DATE)}}function propagateMaybeChanged(observable){if(observable.lowestObserverState===IDerivationState.UP_TO_DATE){observable.lowestObserverState=IDerivationState.POSSIBLY_STALE;for(var observers=observable.observers,i=observers.length,d;i--;)d=observers[i],d.dependenciesState===IDerivationState.UP_TO_DATE&&(d.dependenciesState=IDerivationState.POSSIBLY_STALE,d.isTracing!==TraceMode.NONE&&logTraceInfo(d,observable),d.onBecomeStale())}}function logTraceInfo(derivation,observable){if(console.log("[mobx.trace] '"+derivation.name+"' is invalidated due to a change in: '"+observable.name+"'"),derivation.isTracing===TraceMode.BREAK){var lines=[];printDepTree(getDependencyTree(derivation),lines,1),new Function("debugger;\n/*\nTracing '"+derivation.name+"'\n\nYou are entering this break point because derivation '"+derivation.name+"' is being traced and '"+observable.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(derivation instanceof ComputedValue?derivation.derivation.toString():"")+"\n\nThe dependencies for this derivation are:\n\n"+lines.join("\n")+"\n*/\n    ")()}}function printDepTree(tree,lines,depth){return 1e3<=lines.length?void lines.push("(and many more)"):void(lines.push(""+Array(depth).join("\t")+tree.name),tree.dependencies&&tree.dependencies.forEach(function(child){return printDepTree(child,lines,depth+1)}))}function isCaughtException(e){return e instanceof CaughtException}function shouldCompute(derivation){switch(derivation.dependenciesState){case IDerivationState.UP_TO_DATE:return!1;case IDerivationState.NOT_TRACKING:case IDerivationState.STALE:return!0;case IDerivationState.POSSIBLY_STALE:{for(var prevUntracked=untrackedStart(),obs=derivation.observing,l=obs.length,i=0,obj;i<l;i++)if(obj=obs[i],isComputedValue(obj)){if(globalState.disableErrorBoundaries)obj.get();else try{obj.get()}catch(e){return untrackedEnd(prevUntracked),!0}if(derivation.dependenciesState===IDerivationState.STALE)return untrackedEnd(prevUntracked),!0}return changeDependenciesStateTo0(derivation),untrackedEnd(prevUntracked),!1}}}function checkIfStateModificationsAreAllowed(atom){var hasObservers$$1=0<atom.observers.length;0<globalState.computationDepth&&hasObservers$$1&&fail$1(!1),!globalState.allowStateChanges&&hasObservers$$1&&fail$1(!1)}function trackDerivedFunction(derivation,f,context){changeDependenciesStateTo0(derivation),derivation.newObserving=Array(derivation.observing.length+100),derivation.unboundDepsCount=0,derivation.runId=++globalState.runId;var prevTracking=globalState.trackingDerivation;globalState.trackingDerivation=derivation;var result;if(!0===globalState.disableErrorBoundaries)result=f.call(context);else try{result=f.call(context)}catch(e){result=new CaughtException(e)}return globalState.trackingDerivation=prevTracking,bindDependencies(derivation),result}function bindDependencies(derivation){for(var prevObserving=derivation.observing,observing=derivation.observing=derivation.newObserving,lowestNewObservingDerivationState=IDerivationState.UP_TO_DATE,i0=0,l=derivation.unboundDepsCount,i=0,dep;i<l;i++)dep=observing[i],0===dep.diffValue&&(dep.diffValue=1,i0!==i&&(observing[i0]=dep),i0++),dep.dependenciesState>lowestNewObservingDerivationState&&(lowestNewObservingDerivationState=dep.dependenciesState);for(observing.length=i0,derivation.newObserving=null,l=prevObserving.length;l--;){var dep=prevObserving[l];0===dep.diffValue&&removeObserver(dep,derivation),dep.diffValue=0}for(;i0--;){var dep=observing[i0];1===dep.diffValue&&(dep.diffValue=0,addObserver(dep,derivation))}lowestNewObservingDerivationState!==IDerivationState.UP_TO_DATE&&(derivation.dependenciesState=lowestNewObservingDerivationState,derivation.onBecomeStale())}function clearObserving(derivation){var obs=derivation.observing;derivation.observing=[];for(var i=obs.length;i--;)removeObserver(obs[i],derivation);derivation.dependenciesState=IDerivationState.NOT_TRACKING}function untracked(action){var prev=untrackedStart(),res=action();return untrackedEnd(prev),res}function untrackedStart(){var prev=globalState.trackingDerivation;return globalState.trackingDerivation=null,prev}function untrackedEnd(prev){globalState.trackingDerivation=prev}function changeDependenciesStateTo0(derivation){if(derivation.dependenciesState!==IDerivationState.UP_TO_DATE){derivation.dependenciesState=IDerivationState.UP_TO_DATE;for(var obs=derivation.observing,i=obs.length;i--;)obs[i].lowestObserverState=IDerivationState.UP_TO_DATE}}function trace(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];var enterBreakPoint=!1;"boolean"==typeof args[args.length-1]&&(enterBreakPoint=args.pop());var derivation=getAtomFromArgs(args);return derivation?void(derivation.isTracing===TraceMode.NONE&&console.log("[mobx.trace] '"+derivation.name+"' tracing enabled"),derivation.isTracing=enterBreakPoint?TraceMode.BREAK:TraceMode.LOG):fail$1(!1)}function getAtomFromArgs(args){switch(args.length){case 0:return globalState.trackingDerivation;case 1:return getAtom(args[0]);case 2:return getAtom(args[0],args[1]);}}function runReactions(){0<globalState.inBatch||globalState.isRunningReactions||reactionScheduler(runReactionsHelper)}function runReactionsHelper(){globalState.isRunningReactions=!0;for(var allReactions=globalState.pendingReactions,iterations=0;0<allReactions.length;){++iterations===MAX_REACTION_ITERATIONS&&(console.error("Reaction doesn't converge to a stable state after "+MAX_REACTION_ITERATIONS+" iterations."+(" Probably there is a cycle in the reactive function: "+allReactions[0])),allReactions.splice(0));for(var remainingReactions=allReactions.splice(0),i=0,l=remainingReactions.length;i<l;i++)remainingReactions[i].runReaction()}globalState.isRunningReactions=!1}function setReactionScheduler(fn){var baseScheduler=reactionScheduler;reactionScheduler=function(f){return fn(function(){return baseScheduler(f)})}}function observe(thing,propOrCb,cbOrFire,fireImmediately){return"function"==typeof cbOrFire?observeObservableProperty(thing,propOrCb,cbOrFire,fireImmediately):observeObservable(thing,propOrCb,cbOrFire)}function observeObservable(thing,listener,fireImmediately){return getAdministration(thing).observe(listener,fireImmediately)}function observeObservableProperty(thing,property,listener,fireImmediately){return getAdministration(thing,property).observe(listener,fireImmediately)}function intercept(thing,propOrHandler,handler){return"function"==typeof handler?interceptProperty(thing,propOrHandler,handler):interceptInterceptable(thing,propOrHandler)}function interceptInterceptable(thing,handler){return getAdministration(thing).intercept(handler)}function interceptProperty(thing,property,handler){return getAdministration(thing,property).intercept(handler)}function when(predicate,arg1,arg2){return 1===arguments.length||arg1&&"object"==typeof arg1?whenPromise(predicate,arg1):_when(predicate,arg1,arg2||{})}function _when(predicate,effect,opts){var timeoutHandle;"number"==typeof opts.timeout&&(timeoutHandle=setTimeout(function(){if(!disposer.$mobx.isDisposed){disposer();var error=new Error("WHEN_TIMEOUT");if(opts.onError)opts.onError(error);else throw error}},opts.timeout)),opts.name=opts.name||"When@"+getNextId();var effectAction=createAction(opts.name+"-effect",effect),disposer=autorun(function(r){predicate()&&(r.dispose(),timeoutHandle&&clearTimeout(timeoutHandle),effectAction())},opts);return disposer}function whenPromise(predicate,opts){var res=new Promise(function(resolve,reject){var disposer=_when(predicate,resolve,__assign({},opts,{onError:reject}));cancel=function(){disposer(),reject("WHEN_CANCELLED")}}),cancel;return res.cancel=cancel,res}function keys(obj){return isObservableObject(obj)?obj.$mobx.getKeys():isObservableMap(obj)?obj._keys.slice():fail$1(!1)}function values(obj){return isObservableObject(obj)?keys(obj).map(function(key){return obj[key]}):isObservableMap(obj)?keys(obj).map(function(key){return obj.get(key)}):isObservableArray(obj)?obj.slice():fail$1(!1)}function configure(options){options.enforceActions!==void 0&&(globalState.enforceActions=!!options.enforceActions,globalState.allowStateChanges=!options.enforceActions),options.computedRequiresReaction!==void 0&&(globalState.computedRequiresReaction=!!options.computedRequiresReaction),!0===options.isolateGlobalState&&isolateGlobalState(),options.disableErrorBoundaries!==void 0&&(!0===options.disableErrorBoundaries&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors if this is on."),globalState.disableErrorBoundaries=!!options.disableErrorBoundaries),"number"==typeof options.arrayBuffer&&reserveArrayBuffer(options.arrayBuffer),options.reactionScheduler&&setReactionScheduler(options.reactionScheduler)}function interceptReads(thing,propOrHandler,handler){var target;if(isObservableMap(thing)||isObservableArray(thing)||isObservableValue(thing))target=getAdministration(thing);else if(isObservableObject(thing)){if("string"!=typeof propOrHandler)return fail$1(!1);target=getAdministration(thing,propOrHandler)}else return fail$1(!1);return void 0===target.dehancer?(target.dehancer="function"==typeof propOrHandler?propOrHandler:handler,function(){target.dehancer=void 0}):fail$1(!1)}__webpack_require__.d(__webpack_exports__,"a",function(){return Reaction}),__webpack_require__.d(__webpack_exports__,"y",function(){return untracked}),__webpack_require__.d(__webpack_exports__,"i",function(){return createAtom}),__webpack_require__.d(__webpack_exports__,"x",function(){return spy}),__webpack_require__.d(__webpack_exports__,"r",function(){return isObservableObject}),__webpack_require__.d(__webpack_exports__,"p",function(){return isObservableArray}),__webpack_require__.d(__webpack_exports__,"q",function(){return isObservableMap}),__webpack_require__.d(__webpack_exports__,"t",function(){return observable}),__webpack_require__.d(__webpack_exports__,"g",function(){return computed}),__webpack_require__.d(__webpack_exports__,"s",function(){return isObservableProp}),__webpack_require__.d(__webpack_exports__,"n",function(){return isComputed}),__webpack_require__.d(__webpack_exports__,"o",function(){return isComputedProp}),__webpack_require__.d(__webpack_exports__,"j",function(){return extendObservable}),__webpack_require__.d(__webpack_exports__,"u",function(){return observe}),__webpack_require__.d(__webpack_exports__,"m",function(){return intercept}),__webpack_require__.d(__webpack_exports__,"f",function(){return autorun}),__webpack_require__.d(__webpack_exports__,"v",function(){return reaction}),__webpack_require__.d(__webpack_exports__,"A",function(){return when}),__webpack_require__.d(__webpack_exports__,"e",function(){return action}),__webpack_require__.d(__webpack_exports__,"w",function(){return runInAction}),__webpack_require__.d(__webpack_exports__,"z",function(){return values}),__webpack_require__.d(__webpack_exports__,"h",function(){return configure}),__webpack_require__.d(__webpack_exports__,"l",function(){return getDebugName}),__webpack_require__.d(__webpack_exports__,"k",function(){return getAtom}),__webpack_require__.d(__webpack_exports__,"c",function(){return getAdministration}),__webpack_require__.d(__webpack_exports__,"b",function(){return allowStateChanges}),__webpack_require__.d(__webpack_exports__,"d",function(){return interceptReads});/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},__assign=Object.assign||function(t){for(var i=1,n=arguments.length,s;i<n;i++)for(var p in s=arguments[i],s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},enumerableDescriptorCache={},nonEnumerableDescriptorCache={},END_EVENT={spyReportEnd:!0},action=function(arg1,arg2,arg3,arg4){return 1===arguments.length&&"function"==typeof arg1?createAction(arg1.name||"<unnamed action>",arg1):2===arguments.length&&"function"==typeof arg2?createAction(arg1,arg2):1===arguments.length&&"string"==typeof arg1?namedActionDecorator(arg1):!0===arg4?void(arg1[arg2]=createAction(arg1.name||arg2,arg3.value)):namedActionDecorator(arg2).apply(null,arguments)};action.bound=function(target,propertyName,descriptor,applyToInstance){return!0===applyToInstance?(defineBoundAction(target,propertyName,descriptor.value),null):descriptor?{configurable:!0,enumerable:!1,get:function(){return defineBoundAction(this,propertyName,descriptor.value||descriptor.initializer.call(this)),this[propertyName]},set:dontReassignFields}:{enumerable:!1,configurable:!0,set:function(v){defineBoundAction(this,propertyName,v)},get:function(){}}};var toString=Object.prototype.toString,comparer={identity:identityComparer,structural:function(a,b){return deepEqual(a,b)},default:function(a,b){return areBothNaN(a,b)||identityComparer(a,b)}},run=function(f){return f()},ComputedValue=function(){function ComputedValue(options){var _this=this;return this.dependenciesState=IDerivationState.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=IDerivationState.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+getNextId(),this.value=new CaughtException(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=TraceMode.NONE,options.get?void(this.derivation=options.get,this.name=options.name||"ComputedValue@"+getNextId(),options.set&&(this.setter=createAction(this.name+"-setter",options.set)),this.equals=options.equals||(options.compareStructural||options.struct?comparer.structural:comparer.default),this.scope=options.context,this.requiresReaction=!!options.requiresReaction,!0===options.keepAlive&&autorun(function(){return _this.get()})):fail$1("missing option for computed: get")}return ComputedValue.prototype.onBecomeStale=function(){propagateMaybeChanged(this)},ComputedValue.prototype.onBecomeUnobserved=function(){},ComputedValue.prototype.onBecomeObserved=function(){},ComputedValue.prototype.get=function(){this.isComputing&&fail$1("Cycle detected in computation "+this.name+": "+this.derivation),0===globalState.inBatch?shouldCompute(this)&&(this.warnAboutUntrackedRead(),startBatch(),this.value=this.computeValue(!1),endBatch()):(reportObserved(this),shouldCompute(this)&&this.trackAndCompute()&&propagateChangeConfirmed(this));var result=this.value;if(isCaughtException(result))throw result.cause;return result},ComputedValue.prototype.peek=function(){var res=this.computeValue(!1);if(isCaughtException(res))throw res.cause;return res},ComputedValue.prototype.set=function(value){if(this.setter){invariant(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,value)}finally{this.isRunningSetter=!1}}else invariant(!1,!1)},ComputedValue.prototype.trackAndCompute=function(){isSpyEnabled()&&spyReport({object:this.scope,type:"compute",name:this.name});var oldValue=this.value,wasSuspended=this.dependenciesState===IDerivationState.NOT_TRACKING,newValue=this.value=this.computeValue(!0);return wasSuspended||isCaughtException(oldValue)||isCaughtException(newValue)||!this.equals(oldValue,newValue)},ComputedValue.prototype.computeValue=function(track){this.isComputing=!0,globalState.computationDepth++;var res;if(track)res=trackDerivedFunction(this,this.derivation,this.scope);else if(!0===globalState.disableErrorBoundaries)res=this.derivation.call(this.scope);else try{res=this.derivation.call(this.scope)}catch(e){res=new CaughtException(e)}return globalState.computationDepth--,this.isComputing=!1,res},ComputedValue.prototype.suspend=function(){clearObserving(this),this.value=void 0},ComputedValue.prototype.observe=function(listener,fireImmediately){var _this=this,firstTime=!0,prevValue;return autorun(function(){var newValue=_this.get();if(!firstTime||fireImmediately){var prevU=untrackedStart();listener({type:"update",object:_this,newValue:newValue,oldValue:prevValue}),untrackedEnd(prevU)}firstTime=!1,prevValue=newValue})},ComputedValue.prototype.warnAboutUntrackedRead=function(){},ComputedValue.prototype.toJSON=function(){return this.get()},ComputedValue.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},ComputedValue.prototype.valueOf=function(){return toPrimitive(this.get())},ComputedValue}();ComputedValue.prototype[primitiveSymbol()]=ComputedValue.prototype.valueOf;var isComputedValue=createInstanceofPredicate("ComputedValue",ComputedValue),UNCHANGED={};declareAtom();var ObservableValue=function(_super){function ObservableValue(value,enhancer,name,notifySpy){void 0===name&&(name="ObservableValue@"+getNextId()),void 0===notifySpy&&(notifySpy=!0);var _this=_super.call(this,name)||this;return _this.enhancer=enhancer,_this.hasUnreportedChange=!1,_this.value=enhancer(value,void 0,name),notifySpy&&isSpyEnabled()&&spyReport({type:"create",name:_this.name,newValue:""+_this.value}),_this}return __extends(ObservableValue,_super),ObservableValue.prototype.dehanceValue=function(value){return void 0===this.dehancer?value:this.dehancer(value)},ObservableValue.prototype.set=function(newValue){var oldValue=this.value;if(newValue=this.prepareNewValue(newValue),newValue!==UNCHANGED){var notifySpy=isSpyEnabled();notifySpy&&spyReportStart({type:"update",name:this.name,newValue:newValue,oldValue:oldValue}),this.setNewValue(newValue),notifySpy&&spyReportEnd()}},ObservableValue.prototype.prepareNewValue=function(newValue){if(checkIfStateModificationsAreAllowed(this),hasInterceptors(this)){var change=interceptChange(this,{object:this,type:"update",newValue:newValue});if(!change)return UNCHANGED;newValue=change.newValue}return newValue=this.enhancer(newValue,this.value,this.name),this.value===newValue?UNCHANGED:newValue},ObservableValue.prototype.setNewValue=function(newValue){var oldValue=this.value;this.value=newValue,this.reportChanged(),hasListeners(this)&&notifyListeners(this,{type:"update",object:this,newValue:newValue,oldValue:oldValue})},ObservableValue.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},ObservableValue.prototype.intercept=function(handler){return registerInterceptor(this,handler)},ObservableValue.prototype.observe=function(listener,fireImmediately){return fireImmediately&&listener({object:this,type:"update",newValue:this.value,oldValue:void 0}),registerListener(this,listener)},ObservableValue.prototype.toJSON=function(){return this.get()},ObservableValue.prototype.toString=function(){return this.name+"["+this.value+"]"},ObservableValue.prototype.valueOf=function(){return toPrimitive(this.get())},ObservableValue}(Atom);ObservableValue.prototype[primitiveSymbol()]=ObservableValue.prototype.valueOf;var isObservableValue=createInstanceofPredicate("ObservableValue",ObservableValue),ObservableObjectAdministration=function(){function ObservableObjectAdministration(target,name,defaultEnhancer){this.target=target,this.name=name,this.defaultEnhancer=defaultEnhancer,this.values={}}return ObservableObjectAdministration.prototype.read=function(owner,key){return this.target===owner?this.values[key].get():void this.illegalAccess(owner,key)},ObservableObjectAdministration.prototype.write=function(owner,key,newValue){var instance=this.target;if(instance!==owner)return void this.illegalAccess(owner,key);var observable=this.values[key];if(observable instanceof ComputedValue)return void observable.set(newValue);if(hasInterceptors(this)){var change=interceptChange(this,{type:"update",object:instance,name:key,newValue:newValue});if(!change)return;newValue=change.newValue}if(newValue=observable.prepareNewValue(newValue),newValue!==UNCHANGED){var notify=hasListeners(this),notifySpy=isSpyEnabled(),change=notify||notifySpy?{type:"update",object:instance,oldValue:observable.value,name:key,newValue:newValue}:null;notifySpy&&spyReportStart(__assign({},change,{name:this.name,key:key})),observable.setNewValue(newValue),notify&&notifyListeners(this,change),notifySpy&&spyReportEnd()}},ObservableObjectAdministration.prototype.remove=function(key){if(this.values[key]){var target=this.target;if(hasInterceptors(this)){var change=interceptChange(this,{object:target,name:key,type:"remove"});if(!change)return}try{startBatch();var notify=hasListeners(this),notifySpy=isSpyEnabled(),oldValue=this.values[key].get();this.keys&&this.keys.remove(key),delete this.values[key],delete this.target[key];var change=notify||notifySpy?{type:"remove",object:target,oldValue:oldValue,name:key}:null;notifySpy&&spyReportStart(__assign({},change,{name:this.name,key:key})),notify&&notifyListeners(this,change),notifySpy&&spyReportEnd()}finally{endBatch()}}},ObservableObjectAdministration.prototype.illegalAccess=function(owner,propName){return fail$1("Property '"+propName+"' of '"+owner+"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner")},ObservableObjectAdministration.prototype.observe=function(callback){return!1,registerListener(this,callback)},ObservableObjectAdministration.prototype.intercept=function(handler){return registerInterceptor(this,handler)},ObservableObjectAdministration.prototype.getKeys=function(){var _this=this;return void 0===this.keys&&(this.keys=new ObservableArray(Object.keys(this.values).filter(function(key){return _this.values[key]instanceof ObservableValue}),referenceEnhancer,"keys("+this.name+")",!0)),this.keys.slice()},ObservableObjectAdministration}(),observablePropertyConfigs={},computedPropertyConfigs={},isObservableObjectAdministration=createInstanceofPredicate("ObservableObjectAdministration",ObservableObjectAdministration),computedDecorator=createPropDecorator(!1,function(instance,propertyName,descriptor,decoratorTarget,decoratorArgs){var get=descriptor.get,set=descriptor.set,options=decoratorArgs[0]||{};defineComputedProperty(instance,propertyName,__assign({},options,{get:get,set:set}))}),computedStructDecorator=computedDecorator({equals:comparer.structural}),computed=function(arg1,arg2){if("string"==typeof arg2)return computedDecorator.apply(null,arguments);if(null!==arg1&&"object"==typeof arg1&&1===arguments.length)return computedDecorator.apply(null,arguments);var opts="object"==typeof arg2?arg2:{};return opts.get=arg1,opts.set="function"==typeof arg2?arg2:opts.set,opts.name=opts.name||arg1.name||"",new ComputedValue(opts)};computed.struct=computedStructDecorator;var defaultCreateObservableOptions={deep:!0,name:void 0,defaultDecorator:void 0},shallowCreateObservableOptions={deep:!1,name:void 0,defaultDecorator:void 0};Object.freeze(defaultCreateObservableOptions),Object.freeze(shallowCreateObservableOptions);var deepDecorator=createDecoratorForEnhancer(deepEnhancer),shallowDecorator=createDecoratorForEnhancer(function(v,_,name){return void 0===v||null===v?v:isObservableObject(v)||isObservableArray(v)||isObservableMap(v)?v:Array.isArray(v)?observable.array(v,{name:name,deep:!1}):isPlainObject(v)?observable.object(v,void 0,{name:name,deep:!1}):isES6Map(v)?observable.map(v,{name:name,deep:!1}):fail$1(!1)}),refDecorator=createDecoratorForEnhancer(referenceEnhancer),refStructDecorator=createDecoratorForEnhancer(function(v,oldValue){return!1,deepEqual(v,oldValue)?oldValue:v}),observableFactories={box:function(value,options){2<arguments.length&&incorrectlyUsedAsDecorator("box");var o=asCreateObservableOptions(options);return new ObservableValue(value,getEnhancerFromOptions(o),o.name)},shallowBox:function(value,name){return 2<arguments.length&&incorrectlyUsedAsDecorator("shallowBox"),deprecated("observable.shallowBox","observable.box(value, { deep: false })"),observable.box(value,{name:name,deep:!1})},array:function(initialValues,options){2<arguments.length&&incorrectlyUsedAsDecorator("array");var o=asCreateObservableOptions(options);return new ObservableArray(initialValues,getEnhancerFromOptions(o),o.name)},shallowArray:function(initialValues,name){return 2<arguments.length&&incorrectlyUsedAsDecorator("shallowArray"),deprecated("observable.shallowArray","observable.array(values, { deep: false })"),observable.array(initialValues,{name:name,deep:!1})},map:function(initialValues,options){2<arguments.length&&incorrectlyUsedAsDecorator("map");var o=asCreateObservableOptions(options);return new ObservableMap(initialValues,getEnhancerFromOptions(o),o.name)},shallowMap:function(initialValues,name){return 2<arguments.length&&incorrectlyUsedAsDecorator("shallowMap"),deprecated("observable.shallowMap","observable.map(values, { deep: false })"),observable.map(initialValues,{name:name,deep:!1})},object:function(props,decorators,options){"string"==typeof arguments[1]&&incorrectlyUsedAsDecorator("object");var o=asCreateObservableOptions(options);return extendObservable({},props,decorators,o)},shallowObject:function(props,name){return"string"==typeof arguments[1]&&incorrectlyUsedAsDecorator("shallowObject"),deprecated("observable.shallowObject","observable.object(values, {}, { deep: false })"),observable.object(props,{},{name:name,deep:!1})},ref:refDecorator,shallow:shallowDecorator,deep:deepDecorator,struct:refStructDecorator},observable=function(v,arg2,arg3){if("string"==typeof arguments[1])return deepDecorator.apply(null,arguments);if(isObservable(v))return v;var res=isPlainObject(v)?observable.object(v,arg2,arg3):Array.isArray(v)?observable.array(v,arg2):isES6Map(v)?observable.map(v,arg2):v;return res===v?void fail$1(!1):res};Object.keys(observableFactories).forEach(function(name){return observable[name]=observableFactories[name]});var ObservableMapMarker={},ObservableMap=function(){function ObservableMap(initialData,enhancer,name){if(void 0===enhancer&&(enhancer=deepEnhancer),void 0===name&&(name="ObservableMap@"+getNextId()),this.enhancer=enhancer,this.name=name,this.$mobx=ObservableMapMarker,this._keys=new ObservableArray(void 0,referenceEnhancer,this.name+".keys()",!0),"function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(initialData)}return ObservableMap.prototype._has=function(key){return this._data.has(key)},ObservableMap.prototype.has=function(key){return this._hasMap.has(key)?this._hasMap.get(key).get():this._updateHasMapEntry(key,!1).get()},ObservableMap.prototype.set=function(key,value){var hasKey=this._has(key);if(hasInterceptors(this)){var change=interceptChange(this,{type:hasKey?"update":"add",object:this,newValue:value,name:key});if(!change)return this;value=change.newValue}return hasKey?this._updateValue(key,value):this._addValue(key,value),this},ObservableMap.prototype.delete=function(key){var _this=this;if(hasInterceptors(this)){var change=interceptChange(this,{type:"delete",object:this,name:key});if(!change)return!1}if(this._has(key)){var notifySpy=isSpyEnabled(),notify=hasListeners(this),change=notify||notifySpy?{type:"delete",object:this,oldValue:this._data.get(key).value,name:key}:null;return notifySpy&&spyReportStart(__assign({},change,{name:this.name,key:key})),transaction(function(){_this._keys.remove(key),_this._updateHasMapEntry(key,!1);var observable=_this._data.get(key);observable.setNewValue(void 0),_this._data.delete(key)}),notify&&notifyListeners(this,change),notifySpy&&spyReportEnd(),!0}return!1},ObservableMap.prototype._updateHasMapEntry=function(key,value){var entry=this._hasMap.get(key);return entry?entry.setNewValue(value):(entry=new ObservableValue(value,referenceEnhancer,this.name+"."+key+"?",!1),this._hasMap.set(key,entry)),entry},ObservableMap.prototype._updateValue=function(key,newValue){var observable=this._data.get(key);if(newValue=observable.prepareNewValue(newValue),newValue!==UNCHANGED){var notifySpy=isSpyEnabled(),notify=hasListeners(this),change=notify||notifySpy?{type:"update",object:this,oldValue:observable.value,name:key,newValue:newValue}:null;notifySpy&&spyReportStart(__assign({},change,{name:this.name,key:key})),observable.setNewValue(newValue),notify&&notifyListeners(this,change),notifySpy&&spyReportEnd()}},ObservableMap.prototype._addValue=function(key,newValue){var _this=this;transaction(function(){var observable=new ObservableValue(newValue,_this.enhancer,_this.name+"."+key,!1);_this._data.set(key,observable),newValue=observable.value,_this._updateHasMapEntry(key,!0),_this._keys.push(key)});var notifySpy=isSpyEnabled(),notify=hasListeners(this),change=notify||notifySpy?{type:"add",object:this,name:key,newValue:newValue}:null;notifySpy&&spyReportStart(__assign({},change,{name:this.name,key:key})),notify&&notifyListeners(this,change),notifySpy&&spyReportEnd()},ObservableMap.prototype.get=function(key){return this.has(key)?this.dehanceValue(this._data.get(key).get()):this.dehanceValue(void 0)},ObservableMap.prototype.dehanceValue=function(value){return void 0===this.dehancer?value:this.dehancer(value)},ObservableMap.prototype.keys=function(){return this._keys[iteratorSymbol()]()},ObservableMap.prototype.values=function(){var self=this,nextIndex=0;return makeIterable({next:function(){return nextIndex<self._keys.length?{value:self.get(self._keys[nextIndex++]),done:!1}:{value:void 0,done:!0}}})},ObservableMap.prototype.entries=function(){var self=this,nextIndex=0;return makeIterable({next:function(){if(nextIndex<self._keys.length){var key=self._keys[nextIndex++];return{value:[key,self.get(key)],done:!1}}return{done:!0}}})},ObservableMap.prototype.forEach=function(callback,thisArg){var _this=this;this._keys.forEach(function(key){return callback.call(thisArg,_this.get(key),key,_this)})},ObservableMap.prototype.merge=function(other){var _this=this;return isObservableMap(other)&&(other=other.toJS()),transaction(function(){isPlainObject(other)?Object.keys(other).forEach(function(key){return _this.set(key,other[key])}):Array.isArray(other)?other.forEach(function(_a){var _b=__read(_a,2),key=_b[0],value=_b[1];return _this.set(key,value)}):isES6Map(other)?other.forEach(function(value,key){return _this.set(key,value)}):null!==other&&void 0!==other&&fail$1("Cannot initialize map from "+other)}),this},ObservableMap.prototype.clear=function(){var _this=this;transaction(function(){untracked(function(){_this._keys.slice().forEach(function(key){return _this.delete(key)})})})},ObservableMap.prototype.replace=function(values){var _this=this;return transaction(function(){var newKeys=getMapLikeKeys(values),oldKeys=_this._keys,missingKeys=oldKeys.filter(function(k){return-1===newKeys.indexOf(k)});missingKeys.forEach(function(k){return _this.delete(k)}),_this.merge(values)}),this},Object.defineProperty(ObservableMap.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),ObservableMap.prototype.toPOJO=function(){var _this=this,res={};return this._keys.forEach(function(key){return res[""+key]=_this.get(key)}),res},ObservableMap.prototype.toJS=function(){var _this=this,res=new Map;return this._keys.forEach(function(key){return res.set(key,_this.get(key))}),res},ObservableMap.prototype.toJSON=function(){return this.toPOJO()},ObservableMap.prototype.toString=function(){var _this=this;return this.name+"[{ "+this._keys.map(function(key){return key+": "+(""+_this.get(key))}).join(", ")+" }]"},ObservableMap.prototype.observe=function(listener){return!1,registerListener(this,listener)},ObservableMap.prototype.intercept=function(handler){return registerInterceptor(this,handler)},ObservableMap}();declareIterator(ObservableMap.prototype,function(){return this.entries()}),addHiddenFinalProp(ObservableMap.prototype,"undefined"==typeof Symbol?"@@toStringTag":Symbol.toStringTag,"Map");var isObservableMap=createInstanceofPredicate("ObservableMap",ObservableMap),safariPrototypeSetterInheritanceBug=function(){var v=!1,p={};return Object.defineProperty(p,"0",{set:function(){v=!0}}),Object.create(p)[0]=1,!1==v}(),OBSERVABLE_ARRAY_BUFFER_SIZE=0,StubArray=function(){return function(){}}(),Atom,isAtom;(function(ctor,proto){"undefined"==typeof Object.setPrototypeOf?"undefined"==typeof ctor.prototype.__proto__?ctor.prototype=proto:ctor.prototype.__proto__=proto:Object.setPrototypeOf(ctor.prototype,proto)})(StubArray,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(key){Object.defineProperty(StubArray.prototype,key,{configurable:!0,writable:!0,value:Array.prototype[key]})});var ObservableArrayAdministration=function(){function ObservableArrayAdministration(name,enhancer,array,owned){this.array=array,this.owned=owned,this.values=[],this.lastKnownLength=0,this.atom=new Atom(name||"ObservableArray@"+getNextId()),this.enhancer=function(newV,oldV){return enhancer(newV,oldV,name+"[..]")}}return ObservableArrayAdministration.prototype.dehanceValue=function(value){return void 0===this.dehancer?value:this.dehancer(value)},ObservableArrayAdministration.prototype.dehanceValues=function(values){return void 0!==this.dehancer&&0<this.values.length?values.map(this.dehancer):values},ObservableArrayAdministration.prototype.intercept=function(handler){return registerInterceptor(this,handler)},ObservableArrayAdministration.prototype.observe=function(listener,fireImmediately){return void 0===fireImmediately&&(fireImmediately=!1),fireImmediately&&listener({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),registerListener(this,listener)},ObservableArrayAdministration.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},ObservableArrayAdministration.prototype.setArrayLength=function(newLength){if("number"!=typeof newLength||0>newLength)throw new Error("[mobx.array] Out of range: "+newLength);var currentLength=this.values.length;if(newLength!==currentLength)if(newLength>currentLength){for(var newItems=Array(newLength-currentLength),i=0;i<newLength-currentLength;i++)newItems[i]=void 0;this.spliceWithArray(currentLength,0,newItems)}else this.spliceWithArray(newLength,currentLength-newLength)},ObservableArrayAdministration.prototype.updateArrayLength=function(oldLength,delta){if(oldLength!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=delta,0<delta&&oldLength+delta+1>OBSERVABLE_ARRAY_BUFFER_SIZE&&reserveArrayBuffer(oldLength+delta+1)},ObservableArrayAdministration.prototype.spliceWithArray=function(index,deleteCount,newItems){var _this=this;checkIfStateModificationsAreAllowed(this.atom);var length=this.values.length;if(void 0===index?index=0:index>length?index=length:0>index&&(index=_Mathmax2(0,length+index)),deleteCount=1===arguments.length?length-index:void 0===deleteCount||null===deleteCount?0:_Mathmax2(0,Math.min(deleteCount,length-index)),void 0===newItems&&(newItems=EMPTY_ARRAY),hasInterceptors(this)){var change=interceptChange(this,{object:this.array,type:"splice",index:index,removedCount:deleteCount,added:newItems});if(!change)return EMPTY_ARRAY;deleteCount=change.removedCount,newItems=change.added}newItems=0===newItems.length?newItems:newItems.map(function(v){return _this.enhancer(v,void 0)});var lengthDelta=newItems.length-deleteCount;this.updateArrayLength(length,lengthDelta);var res=this.spliceItemsIntoValues(index,deleteCount,newItems);return(0!==deleteCount||0!==newItems.length)&&this.notifyArraySplice(index,newItems,res),this.dehanceValues(res)},ObservableArrayAdministration.prototype.spliceItemsIntoValues=function(index,deleteCount,newItems){if(newItems.length<1e4)return(_a=this.values).splice.apply(_a,__spread([index,deleteCount],newItems));var res=this.values.slice(index,index+deleteCount);return this.values=this.values.slice(0,index).concat(newItems,this.values.slice(index+deleteCount)),res;var _a},ObservableArrayAdministration.prototype.notifyArrayChildUpdate=function(index,newValue,oldValue){var notifySpy=!this.owned&&isSpyEnabled(),notify=hasListeners(this),change=notify||notifySpy?{object:this.array,type:"update",index:index,newValue:newValue,oldValue:oldValue}:null;notifySpy&&spyReportStart(__assign({},change,{name:this.atom.name})),this.atom.reportChanged(),notify&&notifyListeners(this,change),notifySpy&&spyReportEnd()},ObservableArrayAdministration.prototype.notifyArraySplice=function(index,added,removed){var notifySpy=!this.owned&&isSpyEnabled(),notify=hasListeners(this),change=notify||notifySpy?{object:this.array,type:"splice",index:index,removed:removed,added:added,removedCount:removed.length,addedCount:added.length}:null;notifySpy&&spyReportStart(__assign({},change,{name:this.atom.name})),this.atom.reportChanged(),notify&&notifyListeners(this,change),notifySpy&&spyReportEnd()},ObservableArrayAdministration}(),ObservableArray=function(_super){function ObservableArray(initialValues,enhancer,name,owned){void 0===name&&(name="ObservableArray@"+getNextId()),void 0===owned&&(owned=!1);var _this=_super.call(this)||this,adm=new ObservableArrayAdministration(name,enhancer,_this,owned);return addHiddenFinalProp(_this,"$mobx",adm),initialValues&&initialValues.length&&_this.spliceWithArray(0,0,initialValues),safariPrototypeSetterInheritanceBug&&Object.defineProperty(adm.array,"0",ENTRY_0),_this}return __extends(ObservableArray,_super),ObservableArray.prototype.intercept=function(handler){return this.$mobx.intercept(handler)},ObservableArray.prototype.observe=function(listener,fireImmediately){return void 0===fireImmediately&&(fireImmediately=!1),this.$mobx.observe(listener,fireImmediately)},ObservableArray.prototype.clear=function(){return this.splice(0)},ObservableArray.prototype.concat=function(){for(var arrays=[],_i=0;_i<arguments.length;_i++)arrays[_i]=arguments[_i];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),arrays.map(function(a){return isObservableArray(a)?a.peek():a}))},ObservableArray.prototype.replace=function(newItems){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,newItems)},ObservableArray.prototype.toJS=function(){return this.slice()},ObservableArray.prototype.toJSON=function(){return this.toJS()},ObservableArray.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},ObservableArray.prototype.find=function(predicate,thisArg,fromIndex){void 0===fromIndex&&(fromIndex=0),3===arguments.length&&deprecated("The array.find fromIndex argument to find will not be supported anymore in the next major");var idx=this.findIndex.apply(this,arguments);return-1===idx?void 0:this.get(idx)},ObservableArray.prototype.findIndex=function(predicate,thisArg,fromIndex){void 0===fromIndex&&(fromIndex=0),3===arguments.length&&deprecated("The array.findIndex fromIndex argument to find will not be supported anymore in the next major");for(var items=this.peek(),l=items.length,i=fromIndex;i<l;i++)if(predicate.call(thisArg,items[i],i,this))return i;return-1},ObservableArray.prototype.splice=function(index,deleteCount){for(var newItems=[],_i=2;_i<arguments.length;_i++)newItems[_i-2]=arguments[_i];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(index);case 2:return this.$mobx.spliceWithArray(index,deleteCount);}return this.$mobx.spliceWithArray(index,deleteCount,newItems)},ObservableArray.prototype.spliceWithArray=function(index,deleteCount,newItems){return this.$mobx.spliceWithArray(index,deleteCount,newItems)},ObservableArray.prototype.push=function(){for(var items=[],_i=0;_i<arguments.length;_i++)items[_i]=arguments[_i];var adm=this.$mobx;return adm.spliceWithArray(adm.values.length,0,items),adm.values.length},ObservableArray.prototype.pop=function(){return this.splice(_Mathmax2(this.$mobx.values.length-1,0),1)[0]},ObservableArray.prototype.shift=function(){return this.splice(0,1)[0]},ObservableArray.prototype.unshift=function(){for(var items=[],_i=0;_i<arguments.length;_i++)items[_i]=arguments[_i];var adm=this.$mobx;return adm.spliceWithArray(0,0,items),adm.values.length},ObservableArray.prototype.reverse=function(){var clone=this.slice();return clone.reverse.apply(clone,arguments)},ObservableArray.prototype.sort=function(){var clone=this.slice();return clone.sort.apply(clone,arguments)},ObservableArray.prototype.remove=function(value){var idx=this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);return!!(-1<idx)&&(this.splice(idx,1),!0)},ObservableArray.prototype.move=function(fromIndex,toIndex){function checkIndex(index){if(0>index)throw new Error("[mobx.array] Index out of bounds: "+index+" is negative");var length=this.$mobx.values.length;if(index>=length)throw new Error("[mobx.array] Index out of bounds: "+index+" is not smaller than "+length)}if(deprecated("observableArray.move is deprecated, use .slice() & .replace() instead"),checkIndex.call(this,fromIndex),checkIndex.call(this,toIndex),fromIndex!==toIndex){var oldItems=this.$mobx.values,newItems;newItems=fromIndex<toIndex?__spread(oldItems.slice(0,fromIndex),oldItems.slice(fromIndex+1,toIndex+1),[oldItems[fromIndex]],oldItems.slice(toIndex+1)):__spread(oldItems.slice(0,toIndex),[oldItems[fromIndex]],oldItems.slice(toIndex,fromIndex),oldItems.slice(fromIndex+1)),this.replace(newItems)}},ObservableArray.prototype.get=function(index){var impl=this.$mobx;if(impl){if(index<impl.values.length)return impl.atom.reportObserved(),impl.dehanceValue(impl.values[index]);console.warn("[mobx.array] Attempt to read an array index ("+index+") that is out of bounds ("+impl.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},ObservableArray.prototype.set=function(index,newValue){var adm=this.$mobx,values=adm.values;if(index<values.length){checkIfStateModificationsAreAllowed(adm.atom);var oldValue=values[index];if(hasInterceptors(adm)){var change=interceptChange(adm,{type:"update",object:this,index:index,newValue:newValue});if(!change)return;newValue=change.newValue}newValue=adm.enhancer(newValue,oldValue);var changed=newValue!==oldValue;changed&&(values[index]=newValue,adm.notifyArrayChildUpdate(index,newValue,oldValue))}else if(index===values.length)adm.spliceWithArray(index,0,[newValue]);else throw new Error("[mobx.array] Index out of bounds, "+index+" is larger than "+values.length)},ObservableArray}(StubArray);declareIterator(ObservableArray.prototype,function(){this.$mobx.atom.reportObserved();var self=this,nextIndex=0;return makeIterable({next:function(){return nextIndex<self.length?{value:self[nextIndex++],done:!1}:{done:!0,value:void 0}}})}),Object.defineProperty(ObservableArray.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(newLength){this.$mobx.setArrayLength(newLength)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(funcName){var baseFunc=Array.prototype[funcName];invariant("function"==typeof baseFunc,"Base function not defined on Array prototype: '"+funcName+"'"),addHiddenProp(ObservableArray.prototype,funcName,function(){return baseFunc.apply(this.peek(),arguments)})}),function(object,propNames){for(var i=0;i<propNames.length;i++)addHiddenProp(object,propNames[i],object[propNames[i]])}(ObservableArray.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var ENTRY_0=createArrayEntryDescriptor(0);reserveArrayBuffer(1e3);var isObservableArrayAdministration=createInstanceofPredicate("ObservableArrayAdministration",ObservableArrayAdministration),OBFUSCATED_ERROR="An invariant failed, however the error is obfuscated because this is an production build.",EMPTY_ARRAY=[];Object.freeze(EMPTY_ARRAY);var EMPTY_OBJECT={};Object.freeze(EMPTY_OBJECT);var deprecatedMessages=[],noop=function(){},persistentKeys=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","disableErrorBoundaries","runId"],MobXGlobals=function(){return function(){this.version=5,this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.disableErrorBoundaries=!1}}(),globalState=new MobXGlobals,runInIsolationCalled=!1;{var global_1=getGlobal();global_1.__mobxInstanceCount?(global_1.__mobxInstanceCount++,setTimeout(function(){runInIsolationCalled||fail$1(!1)},1)):global_1.__mobxInstanceCount=1}var IDerivationState;(function(IDerivationState){IDerivationState[IDerivationState.NOT_TRACKING=-1]="NOT_TRACKING",IDerivationState[IDerivationState.UP_TO_DATE=0]="UP_TO_DATE",IDerivationState[IDerivationState.POSSIBLY_STALE=1]="POSSIBLY_STALE",IDerivationState[IDerivationState.STALE=2]="STALE"})(IDerivationState||(IDerivationState={}));var TraceMode;(function(TraceMode){TraceMode[TraceMode.NONE=0]="NONE",TraceMode[TraceMode.LOG=1]="LOG",TraceMode[TraceMode.BREAK=2]="BREAK"})(TraceMode||(TraceMode={}));var CaughtException=function(){return function(cause){this.cause=cause}}(),Reaction=function(){function Reaction(name,onInvalidate,errorHandler){void 0===name&&(name="Reaction@"+getNextId()),this.name=name,this.onInvalidate=onInvalidate,this.errorHandler=errorHandler,this.observing=[],this.newObserving=[],this.dependenciesState=IDerivationState.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+getNextId(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=TraceMode.NONE}return Reaction.prototype.onBecomeStale=function(){this.schedule()},Reaction.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,globalState.pendingReactions.push(this),runReactions())},Reaction.prototype.isScheduled=function(){return this._isScheduled},Reaction.prototype.runReaction=function(){this.isDisposed||(startBatch(),this._isScheduled=!1,shouldCompute(this)&&(this._isTrackPending=!0,this.onInvalidate(),this._isTrackPending&&isSpyEnabled()&&spyReport({name:this.name,type:"scheduled-reaction"})),endBatch())},Reaction.prototype.track=function(fn){startBatch();var notify=isSpyEnabled(),startTime;notify&&(startTime=Date.now(),spyReportStart({name:this.name,type:"reaction"})),this._isRunning=!0;var result=trackDerivedFunction(this,fn,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&clearObserving(this),isCaughtException(result)&&this.reportExceptionInDerivation(result.cause),notify&&spyReportEnd({time:Date.now()-startTime}),endBatch()},Reaction.prototype.reportExceptionInDerivation=function(error){var _this=this;if(this.errorHandler)return void this.errorHandler(error,this);var message="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this;console.error(message,error),isSpyEnabled()&&spyReport({type:"error",name:this.name,message:message,error:""+error}),globalState.globalReactionErrorHandlers.forEach(function(f){return f(error,_this)})},Reaction.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,!this._isRunning&&(startBatch(),clearObserving(this),endBatch()))},Reaction.prototype.getDisposer=function(){var r=this.dispose.bind(this);return r.$mobx=this,r},Reaction.prototype.toString=function(){return"Reaction["+this.name+"]"},Reaction.prototype.trace=function(enterBreakPoint){void 0===enterBreakPoint&&(enterBreakPoint=!1),trace(this,enterBreakPoint)},Reaction}(),MAX_REACTION_ITERATIONS=100,reactionScheduler=function(f){return f()},isReaction=createInstanceofPredicate("Reaction",Reaction),generatorId=0;try{}catch(e){var g="undefined"==typeof window?global:window;"undefined"==typeof process&&(g.process={}),g.process.env={}}(function(){"testCodeMinification"!==function(){}.name})(),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:spy,extras:{getDebugName:getDebugName}})}).call(this,__webpack_require__(143),__webpack_require__(37))},56:function(module,__webpack_exports__,__webpack_require__){"use strict";function isWindowsOS(){return-1===navigator.userAgent.indexOf("Mac OS X")}function openDefaultBrowser(url,isAuthenticated){isAuthenticated=isAuthenticated||!1,isAuthenticated||iaw_analytics_pip__WEBPACK_IMPORTED_MODULE_3__.a.logInteractionEvent("OpenExtLink:"+url),iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__["default"].available?iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__["default"].openDefaultBrowser(url):window.open(url,"_blank")}function pad(n,count=2){let def="";for(let i=0;i<count;++i)def+="0";return(def+n+"").slice(-count)}function launchCCXProcess(callback){function onFinished(status){callback(status),_ccxProcessLaunchPending=!1}function started(){_ccxProcessLaunchPending=!1,onFinished(1)}function startLaunchCCXProcess(){src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_4__.a.launchApp("ccxprocess",!1,void 0),started()}if(!_ccxProcessLaunchPending&&window.__adobe_cep__){iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.toConsole("Start to launch CCX Process");callback=callback||function(){},_ccxProcessLaunchPending=!0,startLaunchCCXProcess()}}__webpack_require__.r(__webpack_exports__);var iaw_log__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(11),iaw_imsBridge__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(25),iaw_analytics_pip__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(62),src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(58);let _ccxProcessLaunchPending=!1;__webpack_exports__["default"]={isWindowsOS:isWindowsOS,osVersion:function(){let ver="unsupported";return"MacIntel"===navigator.platform||"Macintosh"===navigator.platform?ver=navigator.userAgent.split(")").shift().split(" ").pop().replace(/_/g,"."):("Win32"===navigator.platform||"Windows"===navigator.platform)&&(ver=navigator.userAgent.split(";").shift().split(" ").pop()),ver},openDefaultBrowser:openDefaultBrowser,openDefaultBrowserAuthenicated:function(clientKey,url){if(iaw_imsBridge__WEBPACK_IMPORTED_MODULE_2__.a.available){const query=url.indexOf("?");iaw_analytics_pip__WEBPACK_IMPORTED_MODULE_3__.a.logInteractionEvent("OpenExtLink:"+url.substr(0,0<query?query:url.length)),iaw_imsBridge__WEBPACK_IMPORTED_MODULE_2__.a.jumpURL(clientKey,url,authenticatedURL=>{openDefaultBrowser(authenticatedURL,!0)})}else openDefaultBrowser(url)},formatTimeStamp:function(stamp){const date=new Date(stamp),offset=date.getTimezoneOffset();return date.getFullYear()+"-"+pad(date.getMonth()+1)+"-"+pad(date.getDate())+"T"+pad(date.getHours())+":"+pad(date.getMinutes())+":"+pad(date.getSeconds())+"."+pad(date.getMilliseconds(),3)+(0>offset?"+":"-")+pad(Math.abs(offset)/.6,4)},launchCCXProcess:launchCCXProcess,isCCXProcessInstalled:function(){return src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_4__.a.isAppInstalled("ccxprocess")},separatorsToSystem:function(path,hostId){let realpath=path;return isWindowsOS()&&"PPRO"===hostId?realpath=path.split("/").join("\\\\"):isWindowsOS()&&"ILST"==hostId&&(realpath=path.split("/").join("\\")),realpath},getTempDir:function(){return isWindowsOS()?iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__["default"].getUserData().replace("Roaming","Local/Temp/"):"/tmp/"}}},57:function(module,__webpack_exports__,__webpack_require__){"use strict";var iaw_i18n__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(49),iaw_platform__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(56);__webpack_exports__.a={generateGUID:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,c=>{const r=0|16*Math.random(),v="x"===c?r:8|3&r;return v.toString(16)}).toUpperCase()},createFileSizeString:function(isize){if(isNaN(isize))return"--";let val="";return val=1099511627776<=isize?(isize/1099511627776).toFixed(1).toString()+iaw_i18n__WEBPACK_IMPORTED_MODULE_0__.a.getLocalizedString("filesize_key_TB"):1073741824<=isize?(isize/1073741824).toFixed(1).toString()+iaw_i18n__WEBPACK_IMPORTED_MODULE_0__.a.getLocalizedString("filesize_key_GB"):1048576<=isize?(isize/1048576).toFixed(1).toString()+iaw_i18n__WEBPACK_IMPORTED_MODULE_0__.a.getLocalizedString("filesize_key_MB"):1024<=isize?(isize/1024).toFixed(1).toString()+iaw_i18n__WEBPACK_IMPORTED_MODULE_0__.a.getLocalizedString("filesize_key_KB"):0<isize?isize.toString()+iaw_i18n__WEBPACK_IMPORTED_MODULE_0__.a.getLocalizedString("filesize_key_B"):"--",val.replace(".",iaw_i18n__WEBPACK_IMPORTED_MODULE_0__.a.getLocalizedString("filesize_key_decimal"))},hashStr:function(str){let hash=0,i,chr,len;if(0===str.length)return hash;for(i=0,len=str.length;i<len;i++)chr=str.charCodeAt(i),hash=(hash<<5)-hash+chr,hash|=0;return hash},assign:function(target,..._){if(target===void 0||null===target)throw new TypeError("Cannot convert undefined or null to object");const output=Object(target);for(let index=1;index<arguments.length;index++){const source=arguments[index];if(source!==void 0&&null!==source)for(const nextKey in source)source.hasOwnProperty(nextKey)&&void 0!==source[nextKey]&&(output[nextKey]=source[nextKey])}return output},parseQueryString:function(str){const ret=Object.create(null);return"string"==typeof str?(str=str.trim().replace(/^(\?|#|&)/,""),!str)?ret:(str.split("&").forEach(param=>{const parts=param.replace(/\+/g," ").split("=");let key=parts.shift(),val=0<parts.length?parts.join("="):void 0;key=decodeURIComponent(key),val=void 0===val?null:decodeURIComponent(val),void 0===ret[key]?ret[key]=val:Array.isArray(ret[key])?ret[key].push(val):ret[key]=[ret[key],val]}),ret):ret},fixedEncodeURIComponent:function(str){const encoded=str&&str.length?encodeURIComponent(str).replace(/[!'()*]/g,c=>"%"+c.charCodeAt(0).toString(16)):str;return encoded},capitalize:function(str){return str?str.charAt(0).toUpperCase()+str.slice(1):null},prettifyFilePath:function(path){let prettifiedPath=path;return iaw_platform__WEBPACK_IMPORTED_MODULE_1__["default"].isWindowsOS()&&(prettifiedPath=prettifiedPath.replace("file://","").split("/").join("\\")),prettifiedPath},convertToNglProfile:function(snapshot){const op={isNGL:!1,UserProfile:{userId:snapshot.adobeGUID,firstName:snapshot.firstName,lastName:snapshot.lastName,countryCode:snapshot.countryCode,accountType:snapshot.accountType,displayName:snapshot.firstName+" "+snapshot.lastName},LegacyProfile:{licenseType:"trial"===snapshot.accountStatus?1:3},RelationshipProfile:[{usedForLegacyProfile:!0,appEntitlementStatus:"trial"===snapshot.accountStatus?"TRIAL":"SUBSCRIPTION",licenseExpiryTimestamp:new Date(new Date().valueOf()+1e3*parseInt(snapshot.secondsLeftInTrial,10)).valueOf()}]};return op},compareMajorMinorPatchVersions:function(ver1,ver2){let major1,major2,minor1,minor2,patch1,patch2;try{major1=parseInt(ver1.split(".")[0],10),minor1=parseInt(ver1.split(".")[1]||"0",10),patch1=parseInt(ver1.split(".")[2]||"0",10)}catch(e){return 1}try{major2=parseInt(ver2.split(".")[0],10),minor2=parseInt(ver2.split(".")[1]||"0",10),patch2=parseInt(ver2.split(".")[2]||"0",10)}catch(e){return-1}return major1===major2&&minor1===minor2&&patch1===patch2?0:major1<major2||major1===major2&&minor1<minor2||major1===major2&&minor1===minor2&&patch1<patch2?1:-1}}},58:function(module,__webpack_exports__,__webpack_require__){"use strict";function formatString(src,...args){return 0===arguments.length?null:src.replace(/\{(\d+)\}/g,function(m,i){return args[i]})}function GetValueByKey(xmlStr,key){if(window.DOMParser){var parser=new window.DOMParser;try{var xmlDoc=parser.parseFromString(xmlStr,"text/xml"),node=xmlDoc.getElementsByTagName(key)[0];if(node&&node.childNodes[0])return node.childNodes[0].nodeValue}catch(e){}}return""}function requiredParamsValid(...args){for(var i=0,argument;i<args.length;i++)if(argument=args[i],void 0===argument||null===argument)return!1;return!0}function strStartsWith(str,prefix){return!("string"!=typeof str)&&0===str.indexOf(prefix)}__webpack_require__.d(__webpack_exports__,"a",function(){return VulcanInterface}),__webpack_require__.d(__webpack_exports__,"b",function(){return VulcanMessage});let VulcanInterface=new class{getTargetSpecifiers(){return JSON.parse(window.__adobe_cep__.invokeSync("vulcanGetTargetSpecifiers",JSON.stringify({})))}launchApp(targetSpecifier,focus,cmdLine){if(!requiredParamsValid(targetSpecifier))return!1;var params={targetSpecifier:targetSpecifier,focus:focus?"true":"false",cmdLine:requiredParamsValid(cmdLine)?cmdLine:""};return JSON.parse(window.__adobe_cep__.invokeSync("vulcanLaunchApp",JSON.stringify(params))).result}isAppRunning(targetSpecifier){if(!requiredParamsValid(targetSpecifier))return!1;return JSON.parse(window.__adobe_cep__.invokeSync("vulcanIsAppRunning",JSON.stringify({targetSpecifier:targetSpecifier}))).result}isAppInstalled(targetSpecifier){if(!requiredParamsValid(targetSpecifier))return!1;return JSON.parse(window.__adobe_cep__.invokeSync("vulcanIsAppInstalled",JSON.stringify({targetSpecifier:targetSpecifier}))).result}getAppPath(targetSpecifier){if(!requiredParamsValid(targetSpecifier))return"";return JSON.parse(window.__adobe_cep__.invokeSync("vulcanGetAppPath",JSON.stringify({targetSpecifier:targetSpecifier}))).result}addMessageListener(type,callback,obj){if(requiredParamsValid(type,callback)&&strStartsWith(type,VulcanMessage.TYPE_PREFIX)){var params={};params.type=type,window.__adobe_cep__.invokeAsync("vulcanAddMessageListener",JSON.stringify(params),callback,obj)}}removeMessageListener(type,callback,obj){if(requiredParamsValid(type,callback)&&strStartsWith(type,VulcanMessage.TYPE_PREFIX)){var params={};params.type=type,window.__adobe_cep__.invokeAsync("vulcanRemoveMessageListener",JSON.stringify(params),callback,obj)}}dispatchMessage(vulcanMessage){if(requiredParamsValid(vulcanMessage)&&strStartsWith(vulcanMessage.type,VulcanMessage.TYPE_PREFIX)){var params={},message=new VulcanMessage(vulcanMessage.type);message.initialize(vulcanMessage),params.vulcanMessage=message,window.__adobe_cep__.invokeSync("vulcanDispatchMessage",JSON.stringify(params))}}getPayload(vulcanMessage){if(!requiredParamsValid(vulcanMessage)||!strStartsWith(vulcanMessage.type,VulcanMessage.TYPE_PREFIX))return null;var message=new VulcanMessage(vulcanMessage.type);return message.initialize(vulcanMessage),message.getPayload()}getEndPoints(){return JSON.parse(window.__adobe_cep__.invokeSync("vulcanGetEndPoints",JSON.stringify({})))}getSelfEndPoint(){return window.__adobe_cep__.invokeSync("vulcanGetSelfEndPoint",JSON.stringify({}))}};class VulcanMessage{constructor(type,appId,appVersion){this.type=type,this.scope=VulcanMessage.SCOPE_SUITE,this.appId=requiredParamsValid(appId)?appId:VulcanMessage.DEFAULT_APP_ID,this.appVersion=requiredParamsValid(appVersion)?appVersion:VulcanMessage.DEFAULT_APP_VERSION,this.data=VulcanMessage.DEFAULT_DATA}initialize(message){this.type=message.type,this.scope=message.scope,this.appId=message.appId,this.appVersion=message.appVersion,this.data=message.data}xmlData(){if(this.data===void 0){var str="";str=formatString(VulcanMessage.payloadTemplate,str),this.data=formatString(VulcanMessage.dataTemplate,str)}return this.data}setPayload(payload){var str=window.cep.encoding.convertion.utf8_to_b64(payload);str=formatString(VulcanMessage.payloadTemplate,str),this.data=formatString(VulcanMessage.dataTemplate,str)}getPayload(){var str=GetValueByKey(this.data,"payload");return null===str?null:window.cep.encoding.convertion.b64_to_utf8(str)}toString(){var str="type="+this.type;return str+=", scope="+this.scope,str+=", appId="+this.appId,str+=", appVersion="+this.appVersion,str+=", data="+this.xmlData(),str}}VulcanMessage.TYPE_PREFIX="vulcan.SuiteMessage.",VulcanMessage.SCOPE_SUITE="GLOBAL",VulcanMessage.DEFAULT_APP_ID="UNKNOWN",VulcanMessage.DEFAULT_APP_VERSION="UNKNOWN",VulcanMessage.DEFAULT_DATA="<data><payload></payload></data>",VulcanMessage.dataTemplate="<data>{0}</data>",VulcanMessage.payloadTemplate="<payload>{0}</payload>"},62:function(module,__webpack_exports__,__webpack_require__){"use strict";function configure(enabled,category){_enabled=!!enabled,_pipCategory=category,_pipCategory||(_enabled=!1),iaw_log__WEBPACK_IMPORTED_MODULE_0__.a.toConsole("analytics.highbeam: "+(_enabled?"active":"disabled"))}function logEvent(pipCategory,pipSubCategory,pipEvent){if(_enabled&&iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__["default"].available&&pipEvent){pipEvent=128>pipEvent.length?pipEvent:pipEvent.substr(0,127);const pipJSON=JSON.stringify({dataType:"event",category:pipCategory,subcategory:pipSubCategory,eventname:pipEvent});iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__["default"].sendEvent(LOGPIPEVENT,pipJSON)}}function logDataGroupEvent(pipGroupName,data,category,subcategory){if(_enabled&&iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__["default"].available){const groupDataArray=[];if(data){Object.keys(data).forEach(key=>{groupDataArray.push({columnname:key,value:data[key]})});const pipJSON=JSON.stringify({dataType:"group",category:category,subcategory:subcategory,groupname:pipGroupName,Group_Data_Array:groupDataArray});iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__["default"].sendEvent(LOGPIPEVENT,pipJSON)}}}function logInteractionEvent(interactionEvent){logEvent(_pipCategory,"Interaction",interactionEvent)}function logFailureEvent(failEvent){logEvent(_pipCategory,"Failure",failEvent)}var iaw_log__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),iaw_cepBridge__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(11);const LOGPIPEVENT="com.adobe.ccx.start.LOGPIP";let _pipCategory=null,_enabled=!0;__webpack_exports__.a={configure:configure,logEvent:logEvent,logDataGroupEvent:logDataGroupEvent,logInteractionEvent:logInteractionEvent,logFailureEvent:logFailureEvent}}});