   4  0  *  {"files":{".webpack":{"files":{"main":{"files":{"index.js":{"size":1114464,"offset":"0","integrity":{"algorithm":"SHA256","hash":"58be5d0b5dd48ac624fcbe3356ec41af8909db90cbec8463b8835366641cf759","blockSize":4194304,"blocks":["58be5d0b5dd48ac624fcbe3356ec41af8909db90cbec8463b8835366641cf759"]}},"index.js.LICENSE.txt":{"size":350,"offset":"1114464","integrity":{"algorithm":"SHA256","hash":"62627ecf8d2981355b02f35756105cde7513fee3d86aa0f931ec611fd4b75de8","blockSize":4194304,"blocks":["62627ecf8d2981355b02f35756105cde7513fee3d86aa0f931ec611fd4b75de8"]}},"native_modules":{"files":{"index.js":{"size":933,"offset":"1114814","integrity":{"algorithm":"SHA256","hash":"e4b22195f31071f0ae501c352e54d69022ec5fa638fd79a6b8479a94799053f6","blockSize":4194304,"blocks":["e4b22195f31071f0ae501c352e54d69022ec5fa638fd79a6b8479a94799053f6"]}},"legacy.js":{"size":1308,"offset":"1115747","integrity":{"algorithm":"SHA256","hash":"921343765e92f8731b5f773533d2356494655d73052318592a8074c1e1a90872","blockSize":4194304,"blocks":["921343765e92f8731b5f773533d2356494655d73052318592a8074c1e1a90872"]}}}}}},"renderer":{"files":{"7":{"files":{"index.js":{"size":1041116,"offset":"1385335","integrity":{"algorithm":"SHA256","hash":"a2f76e5c6786284a9a9161e935be216003c6bc4d415a0399d09c6f0c540be455","blockSize":4194304,"blocks":["a2f76e5c6786284a9a9161e935be216003c6bc4d415a0399d09c6f0c540be455"]}},"index.js.LICENSE.txt":{"size":1031,"offset":"2426451","integrity":{"algorithm":"SHA256","hash":"c174e100964215a0a84a9be8876aaa4b38c11eb04ac07dc558f068684f3f42bc","blockSize":4194304,"blocks":["c174e100964215a0a84a9be8876aaa4b38c11eb04ac07dc558f068684f3f42bc"]}}}},"43cc81b496222dc9ce3ce7d6970a95a6.ttf":{"size":268280,"offset":"1117055","integrity":{"algorithm":"SHA256","hash":"3ba5c382a7ee6a8831bdf90192addceabe6db4278a679e67fe7e9c0226b729cf","blockSize":4194304,"blocks":["3ba5c382a7ee6a8831bdf90192addceabe6db4278a679e67fe7e9c0226b729cf"]}},"efa76f8326aa5cee3bdd07d37e2a63d2.ttf":{"size":269108,"offset":"2427482","integrity":{"algorithm":"SHA256","hash":"c9868de61ff2bab0b5a3a6d01c4b76f299459f08c6ae2f2c0383b4f9f6bedbf3","blockSize":4194304,"blocks":["c9868de61ff2bab0b5a3a6d01c4b76f299459f08c6ae2f2c0383b4f9f6bedbf3"]}},"main_window":{"files":{"index.html":{"size":187,"offset":"2696590","integrity":{"algorithm":"SHA256","hash":"32c10e20adbdab7baa64fa7bbb1740113a9d0bea723308d8fde9a69682d3f372","blockSize":4194304,"blocks":["32c10e20adbdab7baa64fa7bbb1740113a9d0bea723308d8fde9a69682d3f372"]}},"index.js":{"size":2862763,"offset":"2696777","integrity":{"algorithm":"SHA256","hash":"5917347e4eb42e09dd8c0304e3705593f171f0d74e91c80c626248f29cdee9a0","blockSize":4194304,"blocks":["5917347e4eb42e09dd8c0304e3705593f171f0d74e91c80c626248f29cdee9a0"]}},"index.js.LICENSE.txt":{"size":2436,"offset":"5559540","integrity":{"algorithm":"SHA256","hash":"5e1fbef67fc68899f377010c6836bcf7298947fad0fe79cf7bfda1f777ff7c7d","blockSize":4194304,"blocks":["5e1fbef67fc68899f377010c6836bcf7298947fad0fe79cf7bfda1f777ff7c7d"]}},"preload.js":{"size":536,"offset":"5561976","integrity":{"algorithm":"SHA256","hash":"2099d78d94af67f20e1baae39cb0fea9731fcaa606ffb908a6f318e73725063c","blockSize":4194304,"blocks":["2099d78d94af67f20e1baae39cb0fea9731fcaa606ffb908a6f318e73725063c"]}}}},"native_modules":{"files":{"prebuilds":{"files":{"win32-x64":{"files":{"node.napi.node":{"size":150528,"offset":"5562512","integrity":{"algorithm":"SHA256","hash":"48b7275f47cd44a05d349eb4fdb6cfc451ccbf609a4a56fa34452bcf231c1208","blockSize":4194304,"blocks":["48b7275f47cd44a05d349eb4fdb6cfc451ccbf609a4a56fa34452bcf231c1208"]}},"node.napi1.node":{"size":151552,"offset":"5713040","integrity":{"algorithm":"SHA256","hash":"27ec96008c48052d5f493683297c26b9136f1d6a9e73c3722e243bc959d7cc93","blockSize":4194304,"blocks":["27ec96008c48052d5f493683297c26b9136f1d6a9e73c3722e243bc959d7cc93"]}}}}}}}}}}}},"node_modules":{"files":{}},"package.json":{"size":4662,"offset":"5864592","integrity":{"algorithm":"SHA256","hash":"81f1283e90018768913f234e0dc502b539b565bc5921dfb005e83aafa6551272","blockSize":4194304,"blocks":["81f1283e90018768913f234e0dc502b539b565bc5921dfb005e83aafa6551272"]}}}}  /*! For license information please see index.js.LICENSE.txt */
(()=>{var e={3737:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElectronBinding=void 0,t.getElectronBinding=e=>process._linkedBinding?process._linkedBinding("electron_common_"+e):process.electronBinding?process.electronBinding(e):null},4973:(e,t,n)=>{"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.browserModuleNames=t.commonModuleNames=void 0;const i=n(3737);t.commonModuleNames=["clipboard","nativeImage","shell"],t.browserModuleNames=["app","autoUpdater","BaseWindow","BrowserView","BrowserWindow","contentTracing","crashReporter","dialog","globalShortcut","ipcMain","inAppPurchase","Menu","MenuItem","nativeTheme","net","netLog","MessageChannelMain","Notification","powerMonitor","powerSaveBlocker","protocol","pushNotifications","safeStorage","screen","session","ShareMenu","systemPreferences","TopLevelWindow","TouchBar","Tray","utilityProcess","View","webContents","WebContentsView","webFrameMain"].concat(t.commonModuleNames);const s=i.getElectronBinding("features");!1!==(null===(r=null==s?void 0:s.isDesktopCapturerEnabled)||void 0===r?void 0:r.call(s))&&t.browserModuleNames.push("desktopCapturer"),!1!==(null===(o=null==s?void 0:s.isViewApiEnabled)||void 0===o?void 0:o.call(s))&&t.browserModuleNames.push("ImageView")},1380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserialize=t.serialize=t.isSerializableObject=t.isPromise=void 0;const r=n(4157);t.isPromise=function(e){return e&&e.then&&e.then instanceof Function&&e.constructor&&e.constructor.reject&&e.constructor.reject instanceof Function&&e.constructor.resolve&&e.constructor.resolve instanceof Function};const o=[Boolean,Number,String,Date,Error,RegExp,ArrayBuffer];function i(e){return null===e||ArrayBuffer.isView(e)||o.some((t=>e instanceof t))}t.isSerializableObject=i;const s=function(e,t){const n=Object.entries(e).map((([e,n])=>[e,t(n)]));return Object.fromEntries(n)};t.serialize=function e(t){return t&&t.constructor&&"NativeImage"===t.constructor.name?function(e){const t=[],n=e.getScaleFactors();if(1===n.length){const r=n[0],o=e.getSize(r),i=e.toBitmap({scaleFactor:r});t.push({scaleFactor:r,size:o,buffer:i})}else for(const r of n){const n=e.getSize(r),o=e.toDataURL({scaleFactor:r});t.push({scaleFactor:r,size:n,dataURL:o})}return{__ELECTRON_SERIALIZED_NativeImage__:!0,representations:t}}(t):Array.isArray(t)?t.map(e):i(t)?t:t instanceof Object?s(t,e):t},t.deserialize=function e(t){return t&&t.__ELECTRON_SERIALIZED_NativeImage__?function(e){const t=r.nativeImage.createEmpty();if(1===e.representations.length){const{buffer:n,size:r,scaleFactor:o}=e.representations[0],{width:i,height:s}=r;t.addRepresentation({buffer:n,scaleFactor:o,width:i,height:s})}else for(const n of e.representations){const{dataURL:e,size:r,scaleFactor:o}=n,{width:i,height:s}=r;t.addRepresentation({dataURL:e,scaleFactor:o,width:i,height:s})}return t}(t):Array.isArray(t)?t.map(e):i(t)?t:t instanceof Object?s(t,e):t}},3386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enable=t.isInitialized=t.initialize=void 0;var r=n(3951);Object.defineProperty(t,"initialize",{enumerable:!0,get:function(){return r.initialize}}),Object.defineProperty(t,"isInitialized",{enumerable:!0,get:function(){return r.isInitialized}}),Object.defineProperty(t,"enable",{enumerable:!0,get:function(){return r.enable}})},4488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=(e,t)=>`${e.id}-${t}`;t.default=new class{constructor(){this.nextId=0,this.storage={},this.owners={},this.electronIds=new WeakMap}add(e,t,r){const o=this.saveToStorage(r),i=n(e,t);let s=this.owners[i];return s||(s=this.owners[i]=new Map,this.registerDeleteListener(e,t)),s.has(o)||(s.set(o,0),this.storage[o].count++),s.set(o,s.get(o)+1),o}get(e){const t=this.storage[e];if(null!=t)return t.object}remove(e,t,r){const o=n(e,t),i=this.owners[o];if(i&&i.has(r)){const e=i.get(r)-1;e<=0?(i.delete(r),this.dereference(r)):i.set(r,e)}}clear(e,t){const r=n(e,t),o=this.owners[r];if(o){for(const e of o.keys())this.dereference(e);delete this.owners[r]}}saveToStorage(e){let t=this.electronIds.get(e);return t||(t=++this.nextId,this.storage[t]={count:0,object:e},this.electronIds.set(e,t)),t}dereference(e){const t=this.storage[e];null!=t&&(t.count-=1,0===t.count&&(this.electronIds.delete(t.object),delete this.storage[e]))}registerDeleteListener(e,t){const n=t.split("-")[0],r=(o,i)=>{i&&i.toString()===n&&(e.removeListener("render-view-deleted",r),this.clear(e,t))};e.on("render-view-deleted",r)}}},3951:function(e,t,n){"use strict";e=n.nmd(e);var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=t.isInitialized=t.enable=t.isRemoteModuleEnabled=void 0;const o=n(4434),i=r(n(4488)),s=n(1380),a=n(4157),c=n(3737),{Promise:l}=global,u=c.getElectronBinding("v8_util"),d=(()=>{var e,t;const n=Number(null===(t=null===(e=process.versions.electron)||void 0===e?void 0:e.split("."))||void 0===t?void 0:t[0]);return Number.isNaN(n)||n<14})(),g=["length","name","arguments","caller","prototype"],p=new Map,h=new FinalizationRegistry((e=>{const t=e.id[0]+"~"+e.id[1],n=p.get(t);if(void 0!==n&&void 0===n.deref()&&(p.delete(t),!e.webContents.isDestroyed()))try{e.webContents.sendToFrame(e.frameId,"REMOTE_RENDERER_RELEASE_CALLBACK",e.id[0],e.id[1])}catch(e){console.warn(`sendToFrame() failed: ${e}`)}}));function m(e){const t=e[0]+"~"+e[1],n=p.get(t);if(void 0!==n){const e=n.deref();if(void 0!==e)return e}}const f=new WeakMap,I=function(e){let t=Object.getOwnPropertyNames(e);return"function"==typeof e&&(t=t.filter((e=>!g.includes(e)))),t.map((t=>{const n=Object.getOwnPropertyDescriptor(e,t);let r,o=!1;return void 0===n.get&&"function"==typeof e[t]?r="method":((n.set||n.writable)&&(o=!0),r="get"),{name:t,enumerable:n.enumerable,writable:o,type:r}}))},b=function(e){const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype?null:{members:I(t),proto:b(t)}},C=function(e,t,n,r=!1){let o;switch(typeof n){case"object":o=n instanceof Buffer?"buffer":n&&n.constructor&&"NativeImage"===n.constructor.name?"nativeimage":Array.isArray(n)?"array":n instanceof Error?"error":s.isSerializableObject(n)?"value":s.isPromise(n)?"promise":Object.prototype.hasOwnProperty.call(n,"callee")&&null!=n.length?"array":r&&u.getHiddenValue(n,"simple")?"value":"object";break;case"function":o="function";break;default:o="value"}return"array"===o?{type:o,members:n.map((n=>C(e,t,n,r)))}:"nativeimage"===o?{type:o,value:s.serialize(n)}:"object"===o||"function"===o?{type:o,name:n.constructor?n.constructor.name:"",id:i.default.add(e,t,n),members:I(n),proto:b(n)}:"buffer"===o?{type:o,value:n}:"promise"===o?(n.then((function(){}),(function(){})),{type:o,then:C(e,t,(function(e,t){n.then(e,t)}))}):"error"===o?{type:o,value:n,members:Object.keys(n).map((r=>({name:r,value:C(e,t,n[r])})))}:{type:"value",value:n}},y=function(e){const t=new Error(e);throw t.code="EBADRPC",t.errno=-72,t},v=(e,t)=>{let n=`Attempting to call a function in a renderer window that has been closed or released.\nFunction provided here: ${f.get(t)}`;if(e instanceof o.EventEmitter){const r=e.eventNames().filter((n=>e.listeners(n).includes(t)));r.length>0&&(n+=`\nRemote event names: ${r.join(", ")}`,r.forEach((n=>{e.removeListener(n,t)})))}console.warn(n)},A=function(e,t,n,r){const o=function(r){switch(r.type){case"nativeimage":return s.deserialize(r.value);case"value":return r.value;case"remote-object":return i.default.get(r.id);case"array":return A(e,t,n,r.value);case"buffer":return Buffer.from(r.value.buffer,r.value.byteOffset,r.value.byteLength);case"promise":return l.resolve({then:o(r.then)});case"object":{const e="Object"!==r.name?Object.create({constructor:(a=r.name,new Proxy(Object,{get:(e,t,n)=>"name"===t?a:Reflect.get(e,t,n)}))}):{};for(const{name:t,value:n}of r.members)e[t]=o(n);return e}case"function-with-return-value":{const e=o(r.value);return function(){return e}}case"function":{const o=[n,r.id],i=m(o);if(void 0!==i)return i;const s=function(...o){let i=!1;if(!e.isDestroyed())try{i=!1!==e.sendToFrame(t,"REMOTE_RENDERER_CALLBACK",n,r.id,C(e,n,o))}catch(e){console.warn(`sendToFrame() failed: ${e}`)}i||v(this,s)};return f.set(s,r.location),Object.defineProperty(s,"length",{value:r.length}),function(e,t,n,r){const o=new WeakRef(r),i=e[0]+"~"+e[1];p.set(i,o),h.register(r,{id:e,webContents:t,frameId:n})}(o,e,t,s),s}default:throw new TypeError(`Unknown type: ${r.type}`)}var a};return r.map(o)},G=new WeakMap;t.isRemoteModuleEnabled=function(e){return d&&!G.has(e)&&G.set(e,function(e){const t=e.getLastWebPreferences()||{};return null!=t.enableRemoteModule&&!!t.enableRemoteModule}(e)),G.get(e)},t.enable=function(e){G.set(e,!0)};const Z=function(e,n){a.ipcMain.on(e,((e,r,...o)=>{let i;if(t.isRemoteModuleEnabled(e.sender)){try{i=n(e,r,...o)}catch(t){i={type:"exception",value:C(e.sender,r,t)}}void 0!==i&&(e.returnValue=i)}else e.returnValue={type:"exception",value:C(e.sender,r,new Error('@electron/remote is disabled for this WebContents. Call require("@electron/remote/main").enable(webContents) to enable it.'))}}))},B=function(e,t,...n){const r={sender:e,returnValue:void 0,defaultPrevented:!1};return a.app.emit(t,r,e,...n),e.emit(t,r,...n),r},S=function(e,t,n){n&&console.warn(`WebContents (${e.id}): ${t}`,n)};let w=!1;t.isInitialized=function(){return w},t.initialize=function(){if(w)throw new Error("@electron/remote has already been initialized");w=!0,Z("REMOTE_BROWSER_WRONG_CONTEXT_ERROR",(function(e,t,n,r){const o=m([n,r]);void 0!==o&&v(e.sender,o)})),Z("REMOTE_BROWSER_REQUIRE",(function(t,n,r,o){S(t.sender,`remote.require('${r}')`,o);const i=B(t.sender,"remote-require",r);if(void 0===i.returnValue){if(i.defaultPrevented)throw new Error(`Blocked remote.require('${r}')`);if(process.mainModule)i.returnValue=process.mainModule.require(r);else{let t=e;for(;t.parent;)t=t.parent;i.returnValue=t.require(r)}}return C(t.sender,n,i.returnValue)})),Z("REMOTE_BROWSER_GET_BUILTIN",(function(e,t,r,o){S(e.sender,`remote.getBuiltin('${r}')`,o);const i=B(e.sender,"remote-get-builtin",r);if(void 0===i.returnValue){if(i.defaultPrevented)throw new Error(`Blocked remote.getBuiltin('${r}')`);i.returnValue=n(4157)[r]}return C(e.sender,t,i.returnValue)})),Z("REMOTE_BROWSER_GET_GLOBAL",(function(e,t,n,r){S(e.sender,`remote.getGlobal('${n}')`,r);const o=B(e.sender,"remote-get-global",n);if(void 0===o.returnValue){if(o.defaultPrevented)throw new Error(`Blocked remote.getGlobal('${n}')`);o.returnValue=global[n]}return C(e.sender,t,o.returnValue)})),Z("REMOTE_BROWSER_GET_CURRENT_WINDOW",(function(e,t,n){S(e.sender,"remote.getCurrentWindow()",n);const r=B(e.sender,"remote-get-current-window");if(void 0===r.returnValue){if(r.defaultPrevented)throw new Error("Blocked remote.getCurrentWindow()");r.returnValue=e.sender.getOwnerBrowserWindow()}return C(e.sender,t,r.returnValue)})),Z("REMOTE_BROWSER_GET_CURRENT_WEB_CONTENTS",(function(e,t,n){S(e.sender,"remote.getCurrentWebContents()",n);const r=B(e.sender,"remote-get-current-web-contents");if(void 0===r.returnValue){if(r.defaultPrevented)throw new Error("Blocked remote.getCurrentWebContents()");r.returnValue=e.sender}return C(e.sender,t,r.returnValue)})),Z("REMOTE_BROWSER_CONSTRUCTOR",(function(e,t,n,r){r=A(e.sender,e.frameId,t,r);const o=i.default.get(n);return null==o&&y(`Cannot call constructor on missing remote object ${n}`),C(e.sender,t,new o(...r))})),Z("REMOTE_BROWSER_FUNCTION_CALL",(function(e,t,n,r){r=A(e.sender,e.frameId,t,r);const o=i.default.get(n);null==o&&y(`Cannot call function on missing remote object ${n}`);try{return C(e.sender,t,o(...r),!0)}catch(e){const t=new Error(`Could not call remote function '${o.name||"anonymous"}'. Check that the function signature is correct. Underlying error: ${e}\n`+(e instanceof Error?`Underlying stack: ${e.stack}\n`:""));throw t.cause=e,t}})),Z("REMOTE_BROWSER_MEMBER_CONSTRUCTOR",(function(e,t,n,r,o){o=A(e.sender,e.frameId,t,o);const s=i.default.get(n);return null==s&&y(`Cannot call constructor '${r}' on missing remote object ${n}`),C(e.sender,t,new s[r](...o))})),Z("REMOTE_BROWSER_MEMBER_CALL",(function(e,t,n,r,o){o=A(e.sender,e.frameId,t,o);const s=i.default.get(n);null==s&&y(`Cannot call method '${r}' on missing remote object ${n}`);try{return C(e.sender,t,s[r](...o),!0)}catch(e){const t=new Error(`Could not call remote method '${r}'. Check that the method signature is correct. Underlying error: ${e}`+(e instanceof Error?`Underlying stack: ${e.stack}\n`:""));throw t.cause=e,t}})),Z("REMOTE_BROWSER_MEMBER_SET",(function(e,t,n,r,o){o=A(e.sender,e.frameId,t,o);const s=i.default.get(n);return null==s&&y(`Cannot set property '${r}' on missing remote object ${n}`),s[r]=o[0],null})),Z("REMOTE_BROWSER_MEMBER_GET",(function(e,t,n,r){const o=i.default.get(n);return null==o&&y(`Cannot get property '${r}' on missing remote object ${n}`),C(e.sender,t,o[r])})),Z("REMOTE_BROWSER_DEREFERENCE",(function(e,t,n){i.default.remove(e.sender,t,n)})),Z("REMOTE_BROWSER_CONTEXT_RELEASE",((e,t)=>(i.default.clear(e.sender,t),null)))}},9998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallbacksRegistry=void 0,t.CallbacksRegistry=class{constructor(){this.nextId=0,this.callbacks={},this.callbackIds=new WeakMap,this.locationInfo=new WeakMap}add(e){let t=this.callbackIds.get(e);if(null!=t)return t;t=this.nextId+=1,this.callbacks[t]=e,this.callbackIds.set(e,t);const n=/at (.*)/gi,r=(new Error).stack;if(!r)return t;let o,i;for(;null!==(i=n.exec(r));){const e=i[1];if(e.includes("(native)"))continue;if(e.includes("(<anonymous>)"))continue;if(e.includes("callbacks-registry.js"))continue;if(e.includes("remote.js"))continue;if(e.includes("@electron/remote/dist"))continue;const t=/([^/^)]*)\)?$/gi.exec(e);t&&(o=t[1]);break}return this.locationInfo.set(e,o),t}get(e){return this.callbacks[e]||function(){}}getLocation(e){return this.locationInfo.get(e)}apply(e,...t){return this.get(e).apply(global,...t)}remove(e){const t=this.callbacks[e];t&&(this.callbackIds.delete(t),delete this.callbacks[e])}}},2888:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};if(Object.defineProperty(t,"__esModule",{value:!0}),"browser"===process.type)throw new Error('"@electron/remote" cannot be required in the browser process. Instead require("@electron/remote/main").');o(n(7864),t)},7864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFunctionWithReturnValue=t.getGlobal=t.getCurrentWebContents=t.getCurrentWindow=t.getBuiltin=void 0;const r=n(9998),o=n(1380),i=n(4157),s=n(4973),a=n(3737),{Promise:c}=global,l=new r.CallbacksRegistry,u=new Map,d=new FinalizationRegistry((e=>{const t=u.get(e);void 0!==t&&void 0===t.deref()&&(u.delete(e),i.ipcRenderer.send("REMOTE_BROWSER_DEREFERENCE",h,e,0))})),g=new WeakMap,p=new WeakSet,h=process.contextId||function(){const e=a.getElectronBinding("v8_util");if(e)return e.getHiddenValue(global,"contextId");throw new Error("Electron >=v13.0.0-beta.6 required to support sandboxed renderers")}();process.on("exit",(()=>{i.ipcRenderer.send("REMOTE_BROWSER_CONTEXT_RELEASE",h)}));const m=Symbol("is-remote-proxy");function f(e,t=new Set){const n=e=>{if(t.has(e))return{type:"value",value:null};if(e&&e.constructor&&"NativeImage"===e.constructor.name)return{type:"nativeimage",value:o.serialize(e)};if(Array.isArray(e)){t.add(e);const n={type:"array",value:f(e,t)};return t.delete(e),n}if(e instanceof Buffer)return{type:"buffer",value:e};if(o.isSerializableObject(e))return{type:"value",value:e};if("object"==typeof e){if(o.isPromise(e))return{type:"promise",then:n((function(t,n){e.then(t,n)}))};if(g.has(e))return{type:"remote-object",id:g.get(e)};const r={type:"object",name:e.constructor?e.constructor.name:"",members:[]};t.add(e);for(const t in e)r.members.push({name:t,value:n(e[t])});return t.delete(e),r}return"function"==typeof e&&p.has(e)?{type:"function-with-return-value",value:n(e())}:"function"==typeof e?{type:"function",id:l.add(e),location:l.getLocation(e),length:e.length}:{type:"value",value:e}};return e.map(n)}function I(e,t,n,r){if(Array.isArray(r))for(const o of r){if(Object.prototype.hasOwnProperty.call(t,o.name))continue;const r={enumerable:o.enumerable};if("method"===o.type){const t=function(...e){let r;return r=this&&this.constructor===t?"REMOTE_BROWSER_MEMBER_CONSTRUCTOR":"REMOTE_BROWSER_MEMBER_CALL",y(i.ipcRenderer.sendSync(r,h,n,o.name,f(e)))};let s=C(t,n,o.name);r.get=()=>(s.ref=e,s),r.set=e=>(s=e,e),r.configurable=!0}else"get"===o.type&&(r.get=()=>y(i.ipcRenderer.sendSync("REMOTE_BROWSER_MEMBER_GET",h,n,o.name)),o.writable&&(r.set=e=>{const t=f([e]),r=i.ipcRenderer.sendSync("REMOTE_BROWSER_MEMBER_SET",h,n,o.name,t);return null!=r&&y(r),e}));Object.defineProperty(t,o.name,r)}}function b(e,t,n,r){if(null===r)return;const o={};I(e,o,n,r.members),b(e,o,n,r.proto),Object.setPrototypeOf(t,o)}function C(e,t,n){let r=!1;const o=()=>{if(r)return;r=!0;const o=i.ipcRenderer.sendSync("REMOTE_BROWSER_MEMBER_GET",h,t,n);I(e,e,o.id,o.members)};return new Proxy(e,{set:(e,t,n)=>("ref"!==t&&o(),e[t]=n,!0),get:(e,t)=>{if(t===m)return!0;Object.prototype.hasOwnProperty.call(e,t)||o();const n=e[t];return"toString"===t&&"function"==typeof n?n.bind(e):n},ownKeys:e=>(o(),Object.getOwnPropertyNames(e)),getOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t)||(o(),Object.getOwnPropertyDescriptor(e,t))})}function y(e){if(!e)return{};if("value"===e.type)return e.value;if("array"===e.type)return e.members.map((e=>y(e)));if("nativeimage"===e.type)return o.deserialize(e.value);if("buffer"===e.type)return Buffer.from(e.value.buffer,e.value.byteOffset,e.value.byteLength);if("promise"===e.type)return c.resolve({then:y(e.then)});if("error"===e.type)return v(e);if("exception"===e.type)throw"error"===e.value.type?v(e.value):new Error(`Unexpected value type in exception: ${e.value.type}`);{let t;if("id"in e){const t=function(e){const t=u.get(e);if(void 0!==t){const e=t.deref();if(void 0!==e)return e}}(e.id);if(void 0!==t)return t}if("function"===e.type){const n=function(...t){let r;return r=this&&this.constructor===n?"REMOTE_BROWSER_CONSTRUCTOR":"REMOTE_BROWSER_FUNCTION_CALL",y(i.ipcRenderer.sendSync(r,h,e.id,f(t)))};t=n}else t={};return I(t,t,e.id,e.members),b(t,t,e.id,e.proto),t.constructor&&t.constructor[m]&&Object.defineProperty(t.constructor,"name",{value:e.name}),g.set(t,e.id),function(e,t){const n=new WeakRef(t);u.set(e,n),d.register(t,e)}(e.id,t),t}}function v(e){const t=e.value;for(const{name:n,value:r}of e.members)t[n]=y(r);return t}function A(e,t){i.ipcRenderer.on(e,((n,r,o,...s)=>{"number"!=typeof n.senderId||0===n.senderId||void 0===n.senderId?r===h?t(o,...s):i.ipcRenderer.send("REMOTE_BROWSER_WRONG_CONTEXT_ERROR",h,r,o):console.error(`Message ${e} sent by unexpected WebContents (${n.senderId})`)}))}const G=process.argv.includes("--enable-api-filtering-logging");function Z(){const e={stack:void 0};return G&&Error.captureStackTrace(e,Z),e.stack}A("REMOTE_RENDERER_CALLBACK",((e,t)=>{l.apply(e,y(t))})),A("REMOTE_RENDERER_RELEASE_CALLBACK",(e=>{l.remove(e)})),t.require=e=>y(i.ipcRenderer.sendSync("REMOTE_BROWSER_REQUIRE",h,e,Z())),t.getBuiltin=function(e){return y(i.ipcRenderer.sendSync("REMOTE_BROWSER_GET_BUILTIN",h,e,Z()))},t.getCurrentWindow=function(){return y(i.ipcRenderer.sendSync("REMOTE_BROWSER_GET_CURRENT_WINDOW",h,Z()))},t.getCurrentWebContents=function(){return y(i.ipcRenderer.sendSync("REMOTE_BROWSER_GET_CURRENT_WEB_CONTENTS",h,Z()))},t.getGlobal=function(e){return y(i.ipcRenderer.sendSync("REMOTE_BROWSER_GET_GLOBAL",h,e,Z()))},Object.defineProperty(t,"process",{enumerable:!0,get:()=>t.getGlobal("process")}),t.createFunctionWithReturnValue=function(e){const t=()=>e;return p.add(t),t},s.browserModuleNames.forEach((e=>{Object.defineProperty(t,e,{enumerable:!0,get:()=>t.getBuiltin(e)})}))},2550:(e,t,n)=>{e.exports=n(3386)},3260:(e,t,n)=>{e.exports=n(2888)},573:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},8548:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(1110);e=n.hmd(e);const o=[()=>new((0,r.fj)(e,"./apollo").Apollo),()=>new((0,r.fj)(e,"./apollo").Apollo)({useNestjs:!0}),()=>new((0,r.fj)(e,"./graphql").GraphQL),()=>new((0,r.fj)(e,"./mongo").Mongo),()=>new((0,r.fj)(e,"./mongo").Mongo)({mongoose:!0}),()=>new((0,r.fj)(e,"./mysql").Mysql),()=>new((0,r.fj)(e,"./postgres").Postgres)]},7159:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs:()=>Fe,BrowserClient:()=>ee,BrowserProfilingIntegration:()=>Wc,BrowserTracing:()=>La,Dedupe:()=>Te,Feedback:()=>Qs,FunctionToString:()=>i.$,GlobalHandlers:()=>je,HttpContext:()=>et,Hub:()=>s.YZ,InboundFilters:()=>a.H,Integrations:()=>Vc,LinkedErrors:()=>ot,ModuleMetadata:()=>c.Y,Replay:()=>Ji,ReplayCanvas:()=>As,SDK_VERSION:()=>l.M,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>u.uT,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>u.JD,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>u.sy,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>u.i_,Scope:()=>d.HG,TryCatch:()=>ct,WINDOW:()=>W,addBreadcrumb:()=>g.ZQ,addEventProcessor:()=>p.S,addGlobalEventProcessor:()=>h.lb,addIntegration:()=>m.Q8,addTracingExtensions:()=>f.U,breadcrumbsIntegration:()=>He,browserApiErrorsIntegration:()=>at,browserProfilingIntegration:()=>Rc,browserTracingIntegration:()=>za,captureConsoleIntegration:()=>ta.q,captureEvent:()=>g.r,captureException:()=>g.Cp,captureMessage:()=>g.wd,captureSession:()=>g.J5,captureUserFeedback:()=>yt,chromeStackLineParser:()=>de,close:()=>g.VN,configureScope:()=>g.PN,contextLinesIntegration:()=>ea,continueTrace:()=>I.V4,createTransport:()=>b.o,createUserFeedbackEnvelope:()=>q,debugIntegration:()=>na._,dedupeIntegration:()=>ra.sn,defaultIntegrations:()=>pt,defaultRequestInstrumentationOptions:()=>Fa,defaultStackLineParsers:()=>ve,defaultStackParser:()=>Ae,endSession:()=>g.ky,eventFromException:()=>M,eventFromMessage:()=>j,exceptionFromError:()=>L,extraErrorDataIntegration:()=>oa.X,extractTraceparentData:()=>C.nc,feedbackIntegration:()=>Ds,flush:()=>g.bX,forceLoad:()=>It,functionToStringIntegration:()=>i.Z,geckoStackLineParser:()=>he,getActiveSpan:()=>I.Bk,getActiveTransaction:()=>C.Z7,getClient:()=>g.KU,getCurrentHub:()=>s.BF,getCurrentScope:()=>g.o5,getDefaultIntegrations:()=>ht,getHubFromCarrier:()=>s.Me,getReplay:()=>Mi,getSpanStatusFromHttpCode:()=>y.AJ,globalHandlersIntegration:()=>Me,httpClientIntegration:()=>ia.c,httpContextIntegration:()=>qe,inboundFiltersIntegration:()=>a.D,init:()=>mt,instrumentOutgoingRequests:()=>Ya,isInitialized:()=>g.Dp,lastEventId:()=>g.Q,linkedErrorsIntegration:()=>rt,makeBrowserOfflineTransport:()=>nc,makeFetchTransport:()=>re,makeMain:()=>s.gM,makeMultiplexedTransport:()=>v.N,makeXHRTransport:()=>ie,metrics:()=>A.qd,moduleMetadataIntegration:()=>c.Q,onLoad:()=>bt,onProfilingStartRouteTransaction:()=>Bc,opera10StackLineParser:()=>be,opera11StackLineParser:()=>ye,parameterize:()=>G.y,replayCanvasIntegration:()=>vs,replayIntegration:()=>Oi,reportingObserverIntegration:()=>sa.n,rewriteFramesIntegration:()=>aa.D,sendFeedback:()=>ks,sessionTimingIntegration:()=>ca.Z,setContext:()=>g.o,setCurrentClient:()=>Z.B,setExtra:()=>g.l7,setExtras:()=>g.cx,setHttpStatus:()=>y.N8,setMeasurement:()=>B.X,setTag:()=>g.NA,setTags:()=>g.Wt,setUser:()=>g.gV,showReportDialog:()=>ft,spanStatusfromHttpCode:()=>y.o6,startBrowserTracingNavigationSpan:()=>ja,startBrowserTracingPageLoadSpan:()=>Ma,startInactiveSpan:()=>I.Uk,startSession:()=>g.J0,startSpan:()=>I.Lk,startSpanManual:()=>I.nV,startTransaction:()=>g.nb,trace:()=>I.uP,winjsStackLineParser:()=>fe,withActiveSpan:()=>g.hb,withIsolationScope:()=>g.rB,withScope:()=>g.v4,wrap:()=>Ct});var r={};n.r(r),n.d(r,{Breadcrumbs:()=>Fe,Dedupe:()=>Te,GlobalHandlers:()=>je,HttpContext:()=>et,LinkedErrors:()=>ot,TryCatch:()=>ct});var o=n(453),i=n(972),s=n(5959),a=n(2800),c=n(9065),l=n(72),u=n(651),d=n(6036),g=n(3827),p=n(5062),h=n(6581),m=n(1234),f=n(6515),I=n(7568),b=n(4606),C=n(4064),y=n(3927),v=n(5902),A=n(9573),G=n(9855),Z=n(3236),B=n(9197),S=n(2859),w=n(1085),R=n(1666);const W=S.OW;let N=0;function V(){return N>0}function _(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,w.sp)(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const o=r.map((e=>_(e,t)));return e.apply(this,o)}catch(e){throw N++,setTimeout((()=>{N--})),(0,g.v4)((n=>{n.addEventProcessor((e=>(t.mechanism&&((0,R.gO)(e,void 0,void 0),(0,R.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),(0,g.Cp)(e)})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}(0,w.pO)(r,e),(0,w.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}var k=n(3843),E=n(1347),H=n(4870),F=n(5107),Y=n(1965);const X="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var T=n(3390),x=n(9659),K=n(8336);function L(e,t){const n=O(e,t),r={type:t&&t.name,value:z(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function U(e,t){return{exception:{values:[L(e,t)]}}}function O(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(J.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}const J=/Minified React error #\d+;/i;function z(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function M(e,t,n,r){const o=P(e,t,n&&n.syntheticException||void 0,r);return(0,R.M6)(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),(0,K.XW)(o)}function j(e,t,n="info",r,o){const i=D(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),(0,K.XW)(i)}function P(e,t,n,r,o){let i;if((0,T.T2)(t)&&t.error)return U(e,t.error);if((0,T.BD)(t)||(0,T.W6)(t)){const o=t;if("stack"in t)i=U(e,t);else{const t=o.name||((0,T.BD)(o)?"DOMError":"DOMException"),s=o.message?`${t}: ${o.message}`:t;i=D(e,s,n,r),(0,R.gO)(i,s)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return(0,T.bJ)(t)?U(e,t):(0,T.Qd)(t)||(0,T.xH)(t)?(i=function(e,t,n,r){const o=(0,g.KU)(),i=o&&o.getOptions().normalizeDepth,s={exception:{values:[{type:(0,T.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Q(t,{isUnhandledRejection:r})}]},extra:{__serialized__:(0,x.cd)(t,i)}};if(n){const t=O(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,o),(0,R.M6)(i,{synthetic:!0}),i):(i=D(e,t,n,r),(0,R.gO)(i,`${t}`,void 0),(0,R.M6)(i,{synthetic:!0}),i)}function D(e,t,n,r){const o={};if(r&&n){const r=O(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]})}if((0,T.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function Q(e,{isUnhandledRejection:t}){const n=(0,w.HF)(e),r=t?"promise rejection":"exception";return(0,T.T2)(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:(0,T.xH)(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}var $=n(358);function q(e,{metadata:t,tunnel:n,dsn:r}){const o={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,Y.SB)(r)}},i=function(e){return[{type:"user_report"},e]}(e);return(0,$.h4)(o,[i])}class ee extends p.V{constructor(e){const t=W.SENTRY_SDK_SOURCE||(0,E.e)();(0,k.K)(e,"browser",["browser"],t),super(e),e.sendClientReports&&W.document&&W.document.addEventListener("visibilitychange",(()=>{"hidden"===W.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return M(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return j(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(X&&H.vF.warn("SDK not enabled, will not capture user feedback."));const t=q(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(X&&H.vF.log("No outcomes to send"));if(!this._dsn)return void(X&&H.vF.log("No dsn provided, will not send outcomes"));X&&H.vF.log("Sending outcomes:",e);const t=(0,F.m)(e,this._options.tunnel&&(0,Y.SB)(this._dsn));this._sendEnvelope(t)}}var te=n(8970);let ne;function re(e,t=function(){if(ne)return ne;if((0,te.ap)(W.fetch))return ne=W.fetch.bind(W);const e=W.document;let t=W.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){X&&H.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return ne=t.bind(W)}()){let n=0,r=0;return(0,b.o)(e,(function(o){const i=o.body.length;n+=i,r++;const s={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,s).then((e=>(n-=i,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return ne=void 0,n-=i,r--,(0,K.xg)(e)}}))}const oe=4;function ie(e){return(0,b.o)(e,(function(t){return new K.T2(((n,r)=>{const o=new XMLHttpRequest;o.onerror=r,o.onreadystatechange=()=>{o.readyState===oe&&n({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&o.setRequestHeader(t,e.headers[t]);o.send(t.body)}))}))}var se=n(6819);const ae="?";function ce(e,t,n,r){const o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const le=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ue=/\((\S*)(?::(\d+))(?::(\d+))\)/,de=[30,e=>{const t=le.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=ue.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=Ge(t[1]||ae,t[2]);return ce(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],ge=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,pe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,he=[50,e=>{const t=ge.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=pe.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||ae;return[n,e]=Ge(n,e),ce(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],me=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fe=[40,e=>{const t=me.exec(e);return t?ce(t[2],t[1]||ae,+t[3],t[4]?+t[4]:void 0):void 0}],Ie=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,be=[10,e=>{const t=Ie.exec(e);return t?ce(t[2],t[3]||ae,+t[1]):void 0}],Ce=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,ye=[20,e=>{const t=Ce.exec(e);return t?ce(t[5],t[3]||t[4]||ae,+t[1],+t[2]):void 0}],ve=[de,he,fe],Ae=(0,se.gd)(...ve),Ge=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:ae,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};var Ze=n(456),Be=n(6764),Se=n(7669),we=n(1096),Re=n(1102),We=n(1232),Ne=n(8660),Ve=n(6877),_e=n(8647),ke=n(1961);const Ee="Breadcrumbs",He=(0,m._C)(((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Ee,setupOnce(){},setup(e){t.console&&(0,Se.P)(function(e){return function(t){if((0,g.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(0,Ve.te)(t.level),message:(0,_e.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,_e.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,g.ZQ)(n,{input:t.args,level:t.level})}}(e)),t.dom&&(0,we.i)(function(e,t){return function(n){if((0,g.KU)()!==e)return;let r,o,i="object"==typeof t?t.serializeAttribute:void 0,s="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;s&&s>1024&&(X&&H.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=1024),"string"==typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=(0,Ne.Hd)(t,{keyAttrs:i,maxStringLength:s}),o=(0,Ne.xE)(t)}catch(e){r="<unknown>"}if(0===r.length)return;const a={category:`ui.${n.name}`,message:r};o&&(a.data={"ui.component_name":o}),(0,g.ZQ)(a,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&(0,Re.Mn)(function(e){return function(t){if((0,g.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[Re.Er];if(!n||!r||!o)return;const{method:i,url:s,status_code:a,body:c}=o,l={method:i,url:s,status_code:a},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r};(0,g.ZQ)({category:"xhr",data:l,type:"http"},u)}}(e)),t.fetch&&(0,We.u)(function(e){return function(t){if((0,g.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const e=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r};(0,g.ZQ)({category:"fetch",data:e,level:"error",type:"http"},o)}else{const e=t.response,o={...t.fetchData,status_code:e&&e.status},i={input:t.args,response:e,startTimestamp:n,endTimestamp:r};(0,g.ZQ)({category:"fetch",data:o,type:"http"},i)}}}(e)),t.history&&(0,Be._)(function(e){return function(t){if((0,g.KU)()!==e)return;let n=t.from,r=t.to;const o=(0,ke.Dl)(W.location.href);let i=n?(0,ke.Dl)(n):void 0;const s=(0,ke.Dl)(r);i&&i.path||(i=o),o.protocol===s.protocol&&o.host===s.host&&(r=s.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),(0,g.ZQ)({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on&&e.on("beforeSendEvent",function(e){return function(t){(0,g.KU)()===e&&(0,g.ZQ)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,R.$X)(t)},{event:t})}}(e))}}})),Fe=(0,m.F)(Ee,He),Ye="Dedupe",Xe=(0,m._C)((()=>{let e;return{name:Ye,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Ke(e,t)&&!!xe(e,t))))}(e,t)||!!function(e,t){const n=Le(t),r=Le(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Ke(e,t)&&!!xe(e,t)))}(e,t))}(t,e))return X&&H.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}})),Te=(0,m.F)(Ye,Xe);function xe(e,t){let n=Ue(e),r=Ue(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],o=n[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function Ke(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function Le(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Ue(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}var Oe=n(2775),Je=n(7383);const ze="GlobalHandlers",Me=(0,m._C)(((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:ze,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){(0,Oe.L)((t=>{const{stackParser:n,attachStacktrace:r}=Qe();if((0,g.KU)()!==e||V())return;const{msg:o,url:i,line:s,column:a,error:c}=t,l=void 0===c&&(0,T.Kg)(o)?function(e,t,n,r){let o=(0,T.T2)(e)?e.message:e,i="Error";const s=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);s&&(i=s[1],o=s[2]);return Pe({exception:{values:[{type:i,value:o}]}},t,n,r)}(o,i,s,a):Pe(P(n,c||o,void 0,r,!1),i,s,a);l.level="error",(0,g.r)(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),De("onerror")),t.onunhandledrejection&&(function(e){(0,Je.r)((t=>{const{stackParser:n,attachStacktrace:r}=Qe();if((0,g.KU)()!==e||V())return;const o=function(e){if((0,T.sO)(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(e){}return e}(t),i=(0,T.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:P(n,o,void 0,r,!0);i.level="error",(0,g.r)(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),De("onunhandledrejection"))}}})),je=(0,m.F)(ze,Me);function Pe(e,t,n,r){const o=e.exception=e.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],l=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=(0,T.Kg)(t)&&t.length>0?t:(0,Ne.$N)();return 0===c.length&&c.push({colno:l,filename:d,function:"?",in_app:!0,lineno:u}),e}function De(e){X&&H.vF.log(`Global Handler attached: ${e}`)}function Qe(){const e=(0,g.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const $e="HttpContext",qe=(0,m._C)((()=>({name:$e,setupOnce(){},preprocessEvent(e){if(!W.navigator&&!W.location&&!W.document)return;const t=e.request&&e.request.url||W.location&&W.location.href,{referrer:n}=W.document||{},{userAgent:r}=W.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:o};e.request=i}}))),et=(0,m.F)($e,qe);var tt=n(7931);const nt="LinkedErrors",rt=(0,m._C)(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:nt,setupOnce(){},preprocessEvent(e,r,o){const i=o.getOptions();(0,tt.Q)(L,i.stackParser,i.maxValueLength,n,t,e,r)}}})),ot=(0,m.F)(nt,rt),it=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],st="TryCatch",at=(0,m._C)(((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:st,setupOnce(){t.setTimeout&&(0,w.GS)(W,"setTimeout",lt),t.setInterval&&(0,w.GS)(W,"setInterval",lt),t.requestAnimationFrame&&(0,w.GS)(W,"requestAnimationFrame",ut),t.XMLHttpRequest&&"XMLHttpRequest"in W&&(0,w.GS)(XMLHttpRequest.prototype,"send",dt);const e=t.eventTarget;e&&(Array.isArray(e)?e:it).forEach(gt)}}})),ct=(0,m.F)(st,at);function lt(e){return function(...t){const n=t[0];return t[0]=_(n,{mechanism:{data:{function:(0,se.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function ut(e){return function(t){return e.apply(this,[_(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,se.qQ)(e)},handled:!1,type:"instrument"}})])}}function dt(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&(0,w.GS)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,se.qQ)(t)},handled:!1,type:"instrument"}},r=(0,w.sp)(t);return r&&(n.mechanism.data.handler=(0,se.qQ)(r)),_(t,n)}))})),e.apply(this,t)}}function gt(e){const t=W,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,w.GS)(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=_(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,se.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,_(r,{mechanism:{data:{function:"addEventListener",handler:(0,se.qQ)(r),target:e},handled:!1,type:"instrument"}}),o])}})),(0,w.GS)(n,"removeEventListener",(function(e){return function(t,n,r){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,o,r)}})))}const pt=[(0,a.D)(),(0,i.Z)(),at(),He(),Me(),rt(),Xe(),qe()];function ht(e){return[...pt]}function mt(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=ht()),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),W.SENTRY_RELEASE&&W.SENTRY_RELEASE.id&&(e.release=W.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(0,se.vk)(e.stackParser||Ae),integrations:(0,m.mH)(e),transport:e.transport||((0,te.vm)()?re:ie)};(0,Z.J)(ee,t),e.autoSessionTracking&&(void 0!==W.document?((0,g.J0)({ignoreDuration:!0}),(0,g.J5)(),(0,Be._)((({from:e,to:t})=>{void 0!==e&&e!==t&&((0,g.J0)({ignoreDuration:!0}),(0,g.J5)())}))):X&&H.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported."))}const ft=(e={},t=(0,s.BF)())=>{if(!W.document)return void(X&&H.vF.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=t.getStackTop(),o=e.dsn||n&&n.getDsn();if(!o)return void(X&&H.vF.error("DSN not configured for showReportDialog call"));r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const i=W.document.createElement("script");i.async=!0,i.crossOrigin="anonymous",i.src=(0,Ze.k)(o,e),e.onLoad&&(i.onload=e.onLoad);const{onClose:a}=e;if(a){const e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{a()}finally{W.removeEventListener("message",e)}};W.addEventListener("message",e)}const c=W.document.head||W.document.body;c?c.appendChild(i):X&&H.vF.error("Not injecting report dialog. No injection point found in HTML")};function It(){}function bt(e){e()}function Ct(e){return _(e)()}function yt(e){const t=(0,g.KU)();t&&t.captureUserFeedback(e)}var vt=n(4290),At=n(6615),Gt=n(3545),Zt=n(9833),Bt=n(3075),St=n(3771),wt=n(413),Rt=n(900),Wt=n(573);const Nt=(e,t,n)=>{let r,o;return i=>{t.value>=0&&(i||n)&&(o=t.value-(r||0),(o||void 0===r)&&(r=t.value,t.delta=o,e(t)))}},Vt=S.OW,_t=()=>Vt.__WEB_VITALS_POLYFILL__?Vt.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=Vt.performance.timing,t=Vt.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n})()):Vt.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],kt=()=>{const e=_t();return e&&e.activationStart||0},Et=(e,t)=>{const n=_t();let r="navigate";return n&&(r=Vt.document&&Vt.document.prerendering||kt()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},Ht=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},Ft=(e,t)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==Vt.document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};Vt.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))},Yt=e=>{const t=Et("CLS",0);let n,r=0,o=[];const i=e=>{e.forEach((e=>{if(!e.hadRecentInput){const i=o[0],s=o[o.length-1];r&&0!==o.length&&e.startTime-s.startTime<1e3&&e.startTime-i.startTime<5e3?(r+=e.value,o.push(e)):(r=e.value,o=[e]),r>t.value&&(t.value=r,t.entries=o,n&&n())}}))},s=Ht("layout-shift",i);if(s){n=Nt(e,t);const r=()=>{i(s.takeRecords()),n(!0)};return Ft(r),r}};let Xt=-1;const Tt=()=>(Xt<0&&(Vt.document&&Vt.document.visibilityState&&(Xt="hidden"!==Vt.document.visibilityState||Vt.document.prerendering?1/0:0),Ft((({timeStamp:e})=>{Xt=e}),!0)),{get firstHiddenTime(){return Xt}}),xt=e=>{const t=Tt(),n=Et("FID");let r;const o=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),r(!0))},i=e=>{e.forEach(o)},s=Ht("first-input",i);r=Nt(e,n),s&&Ft((()=>{i(s.takeRecords()),s.disconnect()}),!0)};let Kt=0,Lt=1/0,Ut=0;const Ot=e=>{e.forEach((e=>{e.interactionId&&(Lt=Math.min(Lt,e.interactionId),Ut=Math.max(Ut,e.interactionId),Kt=Ut?(Ut-Lt)/7+1:0)}))};let Jt;const zt=()=>{"interactionCount"in performance||Jt||(Jt=Ht("event",Ot,{type:"event",buffered:!0,durationThreshold:0}))},Mt=()=>Jt?Kt:performance.interactionCount||0,jt=[],Pt={},Dt=e=>{const t=jt[jt.length-1],n=Pt[e.interactionId];if(n||jt.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};Pt[t.id]=t,jt.push(t)}jt.sort(((e,t)=>t.latency-e.latency)),jt.splice(10).forEach((e=>{delete Pt[e.id]}))}},Qt=(e,t)=>{t=t||{},zt();const n=Et("INP");let r;const o=e=>{e.forEach((e=>{e.interactionId&&Dt(e),"first-input"===e.entryType&&!jt.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&Dt(e)}));const t=(()=>{const e=Math.min(jt.length-1,Math.floor(Mt()/50));return jt[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},i=Ht("event",o,{durationThreshold:t.durationThreshold||40});r=Nt(e,n,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),Ft((()=>{o(i.takeRecords()),n.value<0&&Mt()>0&&(n.value=0,n.entries=[]),r(!0)})))},$t={},qt=e=>{const t=Tt(),n=Et("LCP");let r;const o=e=>{const o=e[e.length-1];if(o){const e=Math.max(o.startTime-kt(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[o],r())}},i=Ht("largest-contentful-paint",o);if(i){r=Nt(e,n);const t=()=>{$t[n.id]||(o(i.takeRecords()),i.disconnect(),$t[n.id]=!0,r(!0))};return["keydown","click"].forEach((e=>{Vt.document&&addEventListener(e,t,{once:!0,capture:!0})})),Ft(t,!0),t}},en=e=>{Vt.document&&(Vt.document.prerendering?addEventListener("prerenderingchange",(()=>en(e)),!0):"complete"!==Vt.document.readyState?addEventListener("load",(()=>en(e)),!0):setTimeout(e,0))},tn=(e,t)=>{t=t||{};const n=Et("TTFB"),r=Nt(e,n,t.reportAllChanges);en((()=>{const e=_t();if(e){if(n.value=Math.max(e.responseStart-kt(),0),n.value<0||n.value>performance.now())return;n.entries=[e],r(!0)}}))},nn={},rn={};let on,sn,an,cn,ln;function un(e,t=!1){return bn("lcp",e,mn,an,t)}function dn(e,t){return Cn(e,t),rn[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),Ht(e,(t=>{gn(e,{entries:t})}),t)}(e),rn[e]=!0),yn(e,t)}function gn(e,t){const n=nn[e];if(n&&n.length)for(const r of n)try{r(t)}catch(t){Wt.T&&H.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,se.qQ)(r)}\nError:`,t)}}function pn(){return Yt((e=>{gn("cls",{metric:e}),on=e}))}function hn(){return xt((e=>{gn("fid",{metric:e}),sn=e}))}function mn(){return qt((e=>{gn("lcp",{metric:e}),an=e}))}function fn(){return tn((e=>{gn("ttfb",{metric:e}),cn=e}))}function In(){return Qt((e=>{gn("inp",{metric:e}),ln=e}))}function bn(e,t,n,r,o=!1){let i;return Cn(e,t),rn[e]||(i=n(),rn[e]=!0),r&&t({metric:r}),yn(e,t,o?i:void 0)}function Cn(e,t){nn[e]=nn[e]||[],nn[e].push(t)}function yn(e,t,n){return()=>{n&&n();const r=nn[e];if(!r)return;const o=r.indexOf(t);-1!==o&&r.splice(o,1)}}const vn=S.OW,An="sentryReplaySession",Gn="replay_event",Zn="Unable to send Replay",Bn=15e4,Sn=5e3,wn=2e7;function Rn(e){let t,n=e[0],r=1;for(;r<e.length;){const o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):"call"!==o&&"optionalCall"!==o||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}var Wn;function Nn(e){const t=Rn([e,"optionalAccess",e=>e.host]);return Boolean(Rn([t,"optionalAccess",e=>e.shadowRoot])===e)}function Vn(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function _n(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,kn).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}var t}function kn(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=_n(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return e.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return t||e.cssText}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Wn||(Wn={}));class En{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){if(!e)return-1;return()=>-1,null!=(t=Rn([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]))?t:-1;var t}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Hn({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function Fn({isMasked:e,element:t,value:n,maskInputFn:r}){let o=n||"";return e?(r&&(o=r(o,t)),"*".repeat(o.length)):o}function Yn(e){return e.toLowerCase()}function Xn(e){return e.toUpperCase()}const Tn="__rrweb_original__";function xn(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Yn(t):null}function Kn(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}let Ln=1;const Un=new RegExp("[^a-z0-9-_:]"),On=-2;function Jn(){return Ln++}let zn,Mn;const jn=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Pn=/^(?:[a-z+]+:)?\/\//i,Dn=/^www\..*/i,Qn=/^(data:)([^,]*),(.*)/i;function $n(e,t){return(e||"").replace(jn,((e,n,r,o,i,s)=>{const a=r||i||s,c=n||o||"";if(!a)return e;if(Pn.test(a)||Dn.test(a))return`url(${c}${a}${c})`;if(Qn.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${c})`;const l=t.split("/"),u=a.split("/");l.pop();for(const e of u)"."!==e&&(".."===e?l.pop():l.push(e));return`url(${c}${l.join("/")}${c})`}))}const qn=/^[^ \t\n\r\u000c]+/,er=/^[, \t\n\r\u000c]+/;function tr(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function nr(){const e=document.createElement("a");return e.href="",e.href}function rr(e,t,n,r,o,i){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?tr(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const o=e.exec(t.substring(n));return o?(r=o[0],n+=r.length,r):""}const o=[];for(;r(er),!(n>=t.length);){let i=r(qn);if(","===i.slice(-1))i=tr(e,i.substring(0,i.length-1)),o.push(i);else{let r="";i=tr(e,i);let s=!1;for(;;){const e=t.charAt(n);if(""===e){o.push((i+r).trim());break}if(s)")"===e&&(s=!1);else{if(","===e){n+=1,o.push((i+r).trim());break}"("===e&&(s=!0)}r+=e,n+=1}}}return o.join(", ")}(e,r):"style"===n?$n(r,nr()):"object"===t&&"data"===n?tr(e,r):"function"==typeof i?i(n,r,o):r:tr(e,r):r}function or(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function ir(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:ir(e.parentNode,t,n,r+1):-1}function sr(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(e){return!1}}}function ar(e,t,n,r,o,i){try{const s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===s)return!1;if("INPUT"===s.tagName){const e=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let a=-1,c=-1;if(i){if(c=ir(s,sr(r,o)),c<0)return!0;a=ir(s,sr(t,n),c>=0?c:1/0)}else{if(a=ir(s,sr(t,n)),a<0)return!1;c=ir(s,sr(r,o),a>=0?a:1/0)}return a>=0?!(c>=0)||a<=c:!(c>=0||!i)}catch(e){}return!!i}function cr(e){return null==e?"":e.toLowerCase()}function lr(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:g=!1,inlineStylesheet:p=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:f,maskInputFn:I,slimDOMOptions:b,dataURLOptions:C={},inlineImages:y=!1,recordCanvas:v=!1,onSerialize:A,onIframeLoad:G,iframeLoadTimeout:Z=5e3,onStylesheetLoad:B,stylesheetLoadTimeout:S=5e3,keepIframeSrcFn:w=(()=>!1),newlyAddedElement:R=!1}=t;let{preserveWhiteSpace:W=!0}=t;const N=function(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:g,inlineStylesheet:p,maskInputOptions:h={},maskTextFn:m,maskInputFn:f,dataURLOptions:I={},inlineImages:b,recordCanvas:C,keepIframeSrcFn:y,newlyAddedElement:v=!1}=t,A=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:Wn.Document,childNodes:[],compatMode:e.compatMode}:{type:Wn.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Wn.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:A};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:o,unblockSelector:i,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:d,recordCanvas:g,keepIframeSrcFn:p,newlyAddedElement:h=!1,rootId:m,maskAllText:f,maskTextClass:I,unmaskTextClass:b,maskTextSelector:C,unmaskTextSelector:y}=t,v=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,r,o,i),A=function(e){if(e instanceof HTMLFormElement)return"form";const t=Yn(e.tagName);return Un.test(t)?"div":t}(e);let G={};const Z=e.attributes.length;for(let t=0;t<Z;t++){const r=e.attributes[t];r.name&&!or(A,r.name,r.value)&&(G[r.name]=rr(n,A,Yn(r.name),r.value,e,c))}if("link"===A&&s){const t=Array.from(n.styleSheets).find((t=>t.href===e.href));let r=null;t&&(r=_n(t)),r&&(delete G.rel,delete G.href,G._cssText=$n(r,t.href))}if("style"===A&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=_n(e.sheet);t&&(G._cssText=$n(t,nr()))}if("input"===A||"textarea"===A||"select"===A||"option"===A){const t=e,n=xn(t),r=Kn(t,Xn(A),n),o=t.checked;if("submit"!==n&&"button"!==n&&r){const e=ar(t,I,C,b,y,Hn({type:n,tagName:Xn(A),maskInputOptions:a}));G.value=Fn({isMasked:e,element:t,value:r,maskInputFn:l})}o&&(G.checked=o)}if("option"===A&&(e.selected&&!a.select?G.selected=!0:delete G.selected),"canvas"===A&&g)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const o=t.getImageData,i=Tn in o?o[Tn]:o;if(new Uint32Array(i.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(G.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const t=e.toDataURL(u.type,u.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(u.type,u.quality)&&(G.rr_dataURL=t)}if("img"===A&&d){zn||(zn=n.createElement("canvas"),Mn=zn.getContext("2d"));const t=e,r=t.crossOrigin;t.crossOrigin="anonymous";const o=()=>{t.removeEventListener("load",o);try{zn.width=t.naturalWidth,zn.height=t.naturalHeight,Mn.drawImage(t,0,0),G.rr_dataURL=zn.toDataURL(u.type,u.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}r?G.crossOrigin=r:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o)}if("audio"!==A&&"video"!==A||(G.rr_mediaState=e.paused?"paused":"played",G.rr_mediaCurrentTime=e.currentTime),h||(e.scrollLeft&&(G.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(G.rr_scrollTop=e.scrollTop)),v){const{width:t,height:n}=e.getBoundingClientRect();G={class:G.class,rr_width:`${t}px`,rr_height:`${n}px`}}let B;"iframe"!==A||p(G.src)||(e.contentDocument||(G.rr_src=G.src),delete G.src);try{customElements.get(A)&&(B=!0)}catch(e){}return{type:Wn.Element,tagName:A,attributes:G,childNodes:[],isSVG:(S=e,Boolean("svg"===S.tagName||S.ownerSVGElement)||void 0),needBlock:v,rootId:m,isCustom:B};var S}(e,{doc:n,blockClass:o,blockSelector:i,unblockSelector:s,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:h,maskInputFn:f,dataURLOptions:I,inlineImages:b,recordCanvas:C,keepIframeSrcFn:y,newlyAddedElement:v,rootId:A,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:g});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:o,maskTextSelector:i,unmaskTextSelector:s,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName;let g=e.textContent;const p="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&g){try{e.nextSibling||e.previousSibling||Rn([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(g=_n(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}g=$n(g,nr())}h&&(g="SCRIPT_PLACEHOLDER");const f=ar(e,r,i,o,s,n);return p||h||m||!g||!f||(g=a?a(g):g.replace(/[\S]/g,"*")),m&&g&&(c.textarea||f)&&(g=l?l(g,e.parentNode):g.replace(/[\S]/g,"*")),"OPTION"===d&&g&&(g=Fn({isMasked:ar(e,r,i,o,s,Hn({type:null,tagName:d,maskInputOptions:c})),element:e,value:g,maskInputFn:l})),{type:Wn.Text,textContent:g||"",isStyle:p,rootId:u}}(e,{maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:g,maskTextFn:m,maskInputOptions:h,maskInputFn:f,rootId:A});case e.CDATA_SECTION_NODE:return{type:Wn.CDATA,textContent:"",rootId:A};case e.COMMENT_NODE:return{type:Wn.Comment,textContent:e.textContent||"",rootId:A};default:return!1}}(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:f,maskInputFn:I,dataURLOptions:C,inlineImages:y,recordCanvas:v,keepIframeSrcFn:w,newlyAddedElement:R});if(!N)return console.warn(e,"not serialized"),null;let V;V=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===Wn.Comment)return!0;if(e.type===Wn.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(cr(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===cr(e.attributes.name)||"icon"===cr(e.attributes.rel)||"apple-touch-icon"===cr(e.attributes.rel)||"shortcut icon"===cr(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&cr(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(cr(e.attributes.property).match(/^(og|twitter|fb):/)||cr(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===cr(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===cr(e.attributes.name)||"googlebot"===cr(e.attributes.name)||"bingbot"===cr(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===cr(e.attributes.name)||"generator"===cr(e.attributes.name)||"framework"===cr(e.attributes.name)||"publisher"===cr(e.attributes.name)||"progid"===cr(e.attributes.name)||cr(e.attributes.property).match(/^article:/)||cr(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===cr(e.attributes.name)||"yandex-verification"===cr(e.attributes.name)||"csrf-token"===cr(e.attributes.name)||"p:domain_verify"===cr(e.attributes.name)||"verify-v1"===cr(e.attributes.name)||"verification"===cr(e.attributes.name)||"shopify-checkout-api-token"===cr(e.attributes.name)))return!0}}return!1}(N,b)&&(W||N.type!==Wn.Text||N.isStyle||N.textContent.replace(/^\s+|\s+$/gm,"").length)?Jn():On;const _=Object.assign(N,{id:V});if(r.add(e,_),V===On)return null;A&&A(e);let k=!g;if(_.type===Wn.Element){k=k&&!_.needBlock,delete _.needBlock;const t=e.shadowRoot;t&&Vn(t)&&(_.isShadowHost=!0)}if((_.type===Wn.Document||_.type===Wn.Element)&&k){b.headWhitespace&&_.type===Wn.Element&&"head"===_.tagName&&(W=!1);const t={doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:g,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:f,maskInputFn:I,slimDOMOptions:b,dataURLOptions:C,inlineImages:y,recordCanvas:v,preserveWhiteSpace:W,onSerialize:A,onIframeLoad:G,iframeLoadTimeout:Z,onStylesheetLoad:B,stylesheetLoadTimeout:S,keepIframeSrcFn:w};for(const n of Array.from(e.childNodes)){const e=lr(n,t);e&&_.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=lr(n,t);r&&(Vn(e.shadowRoot)&&(r.isShadow=!0),_.childNodes.push(r))}}return e.parentNode&&Nn(e.parentNode)&&Vn(e.parentNode)&&(_.isShadow=!0),_.type===Wn.Element&&"iframe"===_.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let o,i=!1;try{o=r.document.readyState}catch(e){return}if("complete"!==o){const r=setTimeout((()=>{i||(t(),i=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),i=!0,t()}))}const s="about:blank";if(r.location.href!==s||e.src===s||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&G){const n=lr(t,{doc:t,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:f,maskInputFn:I,slimDOMOptions:b,dataURLOptions:C,inlineImages:y,recordCanvas:v,preserveWhiteSpace:W,onSerialize:A,onIframeLoad:G,iframeLoadTimeout:Z,onStylesheetLoad:B,stylesheetLoadTimeout:S,keepIframeSrcFn:w});n&&G(e,n)}}),Z),_.type===Wn.Element&&"link"===_.tagName&&"stylesheet"===_.attributes.rel&&function(e,t,n){let r,o=!1;try{r=e.sheet}catch(e){return}if(r)return;const i=setTimeout((()=>{o||(t(),o=!0)}),n);e.addEventListener("load",(()=>{clearTimeout(i),o=!0,t()}))}(e,(()=>{if(B){const t=lr(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:f,maskInputFn:I,slimDOMOptions:b,dataURLOptions:C,inlineImages:y,recordCanvas:v,preserveWhiteSpace:W,onSerialize:A,onIframeLoad:G,iframeLoadTimeout:Z,onStylesheetLoad:B,stylesheetLoadTimeout:S,keepIframeSrcFn:w});t&&B(e,t)}}),S),_}function ur(e){let t,n=e[0],r=1;for(;r<e.length;){const o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):"call"!==o&&"optionalCall"!==o||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}function dr(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const gr="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let pr={map:{},getId:()=>(console.error(gr),-1),getNode:()=>(console.error(gr),null),removeNodeFromMap(){console.error(gr)},has:()=>(console.error(gr),!1),reset(){console.error(gr)}};function hr(e,t,n={}){let r=null,o=0;return function(...i){const s=Date.now();o||!1!==n.leading||(o=s);const a=t-(s-o),c=this;a<=0||a>t?(r&&(clearTimeout(r),r=null),o=s,e.apply(c,i)):r||!1===n.trailing||(r=setTimeout((()=>{o=!1===n.leading?0:Date.now(),r=null,e.apply(c,i)}),a))}}function mr(e,t,n,r,o=window){const i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),i&&i.set&&i.set.call(this,e)}}),()=>mr(e,t,i||{},!0)}function fr(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],o=n(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(pr=new Proxy(pr,{get:(e,t,n)=>("map"===t&&console.error(gr),Reflect.get(e,t,n))}));let Ir,br=Date.now;function Cr(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:ur([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:ur([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function yr(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function vr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Ar(e,t,n,r,o){if(!e)return!1;const i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!i)return!1;const s=sr(t,n);if(!o){const e=r&&i.matches(r);return s(i)&&!e}const a=ir(i,s);let c=-1;return!(a<0)&&(r&&(c=ir(i,sr(null,r))),a>-1&&c<0||a<c)}function Gr(e,t){return t.getId(e)===On}function Zr(e,t){if(Nn(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||Zr(e.parentNode,t))}function Br(e){return Boolean(e.changedTouches)}function Sr(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function wr(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Rr(e){return Boolean(ur([e,"optionalAccess",e=>e.shadowRoot]))}/[1-9][0-9]{12}/.test(Date.now().toString())||(br=()=>(new Date).getTime());class Wr{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return(0,vt.S)(this.styleIDMap.get(e),(()=>-1))}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Nr(e){let t=null;return ur([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Vr(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Nr(n);)n=t;return n}(e);return t.contains(n)}(e))}var _r=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(_r||{}),kr=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(kr||{}),Er=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Er||{}),Hr=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Hr||{});function Fr(e){let t,n=e[0],r=1;for(;r<e.length;){const o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):"call"!==o&&"optionalCall"!==o||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}function Yr(e){return"__ln"in e}class Xr{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=Fr([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Yr(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Yr(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const Tr=(e,t)=>`${e}@${t}`;class xr{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new Xr,r=e=>{let t=e,n=On;for(;n===On;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},o=o=>{if(!o.parentNode||!Vr(o))return;const i=Nn(o.parentNode)?this.mirror.getId(Nr(o)):this.mirror.getId(o.parentNode),s=r(o);if(-1===i||-1===s)return n.addNode(o);const a=lr(o,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Sr(e,this.mirror)&&this.iframeManager.addIframe(e),wr(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Rr(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});a&&(e.push({parentId:i,nextId:s,node:a}),t.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)Lr(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||o(e);for(const e of this.addedSet)Or(this.droppedSet,e)||Lr(this.removes,e,this.mirror)?Or(this.movedSet,e)?o(e):this.droppedSet.add(e):o(e);let i=null;for(;n.length;){let e=null;if(i){const t=this.mirror.getId(i.value.parentNode),n=r(i.value);-1!==t&&-1!==n&&(e=i)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}i=e.previous,n.removeNode(e.value),o(e.value)}const s={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(s.texts.length||s.attributes.length||s.removes.length||s.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=e=>{if(Gr(e.target,this.mirror))return;let t;try{t=document.implementation.createHTMLDocument()}catch(e){t=this.doc}switch(e.type){case"characterData":{const t=e.target.textContent;Ar(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:ar(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let r=e.attributeName,o=e.target.getAttribute(r);if("value"===r){const t=xn(n),r=n.tagName;o=Kn(n,r,t);const i=Hn({maskInputOptions:this.maskInputOptions,tagName:r,type:t});o=Fn({isMasked:ar(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:n,value:o,maskInputFn:this.maskInputFn})}if(Ar(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||o===e.oldValue)return;let i=this.attributes.find((t=>t.node===e.target));if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(o)){if(n.contentDocument)return;r="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!or(n.tagName,r)&&(i.attributes[r]=rr(this.doc,Yn(n.tagName),Yn(r),o,n,this.maskAttributeFn),"style"===r)){const r=t.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(n.style)){const t=n.style.getPropertyValue(e),o=n.style.getPropertyPriority(e);t!==r.style.getPropertyValue(e)||o!==r.style.getPropertyPriority(e)?i.styleDiff[e]=""===o?t:[t,o]:i._unchangedStyles[e]=[t,o]}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(Ar(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=Nn(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Ar(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Gr(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Kr(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||Zr(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Tr(n,r)]?Kr(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!Nn(e.target)||!Vn(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(Gr(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[Tr(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Ar(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),Rr(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Kr(e,t){e.delete(t),t.childNodes.forEach((t=>Kr(e,t)))}function Lr(e,t,n){return 0!==e.length&&Ur(e,t,n)}function Ur(e,t,n){const{parentNode:r}=t;if(!r)return!1;const o=n.getId(r);return!!e.some((e=>e.id===o))||Ur(e,r,n)}function Or(e,t){return 0!==e.size&&Jr(e,t)}function Jr(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||Jr(e,n))}let zr;function Mr(e){zr=e}function jr(){zr=void 0}const Pr=e=>zr?(...t)=>{try{return e(...t)}catch(e){if(zr&&!0===zr(e))return()=>{};throw e}}:e;function Dr(e){let t,n=e[0],r=1;for(;r<e.length;){const o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):"call"!==o&&"optionalCall"!==o||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}const Qr=[];function $r(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function qr(e,t){const n=new xr;Qr.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const o=Dr([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);o&&window[o]&&(r=window[o]);const i=new r(Pr((t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)})));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function eo({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:s}){return dr("scroll",Pr(hr(Pr((s=>{const a=$r(s);if(!a||Ar(a,r,o,i,!0))return;const c=n.getId(a);if(a===t&&t.defaultView){const n=Cr(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:a.scrollLeft,y:a.scrollTop})})),s.scroll||100)),t)}const to=["INPUT","TEXTAREA","SELECT"],no=new WeakMap;function ro({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,ignoreClass:s,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:d,maskTextClass:g,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function f(e){let n=$r(e);const u=e.isTrusted,f=n&&Xn(n.tagName);if("OPTION"===f&&(n=n.parentElement),!n||!f||to.indexOf(f)<0||Ar(n,r,o,i,!0))return;const b=n;if(b.classList.contains(s)||a&&b.matches(a))return;const C=xn(n);let y=Kn(b,f,C),v=!1;const A=Hn({maskInputOptions:c,tagName:f,type:C}),G=ar(n,g,h,p,m,A);"radio"!==C&&"checkbox"!==C||(v=n.checked),y=Fn({isMasked:G,element:n,value:y,maskInputFn:l}),I(n,d?{text:y,isChecked:v,userTriggered:u}:{text:y,isChecked:v});const Z=n.name;"radio"===C&&Z&&v&&t.querySelectorAll(`input[type="radio"][name="${Z}"]`).forEach((e=>{if(e!==n){const t=Fn({isMasked:G,element:e,value:Kn(e,f,C),maskInputFn:l});I(e,d?{text:t,isChecked:!v,userTriggered:!1}:{text:t,isChecked:!v})}}))}function I(t,r){const o=no.get(t);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){no.set(t,r);const o=n.getId(t);Pr(e)({...r,id:o})}}const b=("last"===u.input?["change"]:["input","change"]).map((e=>dr(e,Pr(f),t))),C=t.defaultView;if(!C)return()=>{b.forEach((e=>e()))};const y=C.Object.getOwnPropertyDescriptor(C.HTMLInputElement.prototype,"value"),v=[[C.HTMLInputElement.prototype,"value"],[C.HTMLInputElement.prototype,"checked"],[C.HTMLSelectElement.prototype,"value"],[C.HTMLTextAreaElement.prototype,"value"],[C.HTMLSelectElement.prototype,"selectedIndex"],[C.HTMLOptionElement.prototype,"selected"]];return y&&y.set&&b.push(...v.map((e=>mr(e[0],e[1],{set(){Pr(f)({target:this,isTrusted:!1})}},!1,C)))),Pr((()=>{b.forEach((e=>e()))}))}function oo(e){return function(e,t){if(co("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||co("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||co("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||co("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function io(e,t,n){let r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function so({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const o="#document"===n.nodeName?Dr([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):Dr([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),i=Dr([o,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(Dr([o,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&o&&i?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return Dr([i,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){const n=Dr([i,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),Pr((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))):()=>{}}function ao(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};const r=qr(e,e.doc),o=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const o="number"==typeof t.mousemove?t.mousemove:50,i="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let s,a=[];const c=hr(Pr((t=>{const n=Date.now()-s;e(a.map((e=>(e.timeOffset-=n,e))),t),a=[],s=null})),i),l=Pr(hr(Pr((e=>{const t=$r(e),{clientX:n,clientY:o}=Br(e)?e.changedTouches[0]:e;s||(s=br()),a.push({x:n,y:o,id:r.getId(t),timeOffset:br()-s}),c("undefined"!=typeof DragEvent&&e instanceof DragEvent?kr.Drag:e instanceof MouseEvent?kr.MouseMove:kr.TouchMove)})),o,{trailing:!1})),u=[dr("mousemove",l,n),dr("touchmove",l,n),dr("drag",l,n)];return Pr((()=>{u.forEach((e=>e()))}))}(e),i=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:s}){if(!1===s.mouseInteraction)return()=>{};const a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,c=[];let l=null;return Object.keys(Er).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e])).forEach((s=>{let a=Yn(s);const u=(t=>s=>{const a=$r(s);if(Ar(a,r,o,i,!0))return;let c=null,u=t;if("pointerType"in s){switch(s.pointerType){case"mouse":c=Hr.Mouse;break;case"touch":c=Hr.Touch;break;case"pen":c=Hr.Pen}c===Hr.Touch?Er[t]===Er.MouseDown?u="TouchStart":Er[t]===Er.MouseUp&&(u="TouchEnd"):Hr.Pen}else Br(s)&&(c=Hr.Touch);null!==c?(l=c,(u.startsWith("Touch")&&c===Hr.Touch||u.startsWith("Mouse")&&c===Hr.Mouse)&&(c=null)):Er[t]===Er.Click&&(c=l,l=null);const d=Br(s)?s.changedTouches[0]:s;if(!d)return;const g=n.getId(a),{clientX:p,clientY:h}=d;Pr(e)({type:Er[u],id:g,x:p,y:h,...null!==c&&{pointerType:c}})})(s);if(window.PointerEvent)switch(Er[s]){case Er.MouseDown:case Er.MouseUp:a=a.replace("mouse","pointer");break;case Er.TouchStart:case Er.TouchEnd:return}c.push(dr(a,u,t))})),Pr((()=>{c.forEach((e=>e()))}))}(e),s=eo(e),a=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return dr("resize",Pr(hr(Pr((()=>{const t=yr(),o=vr();n===t&&r===o||(e({width:Number(o),height:Number(t)}),n=t,r=o)})),200)),t)}(e,{win:n}),c=ro(e),l=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:o,sampling:i,doc:s}){const a=Pr((s=>hr(Pr((i=>{const a=$r(i);if(!a||Ar(a,t,n,r,!0))return;const{currentTime:c,volume:l,muted:u,playbackRate:d}=a;e({type:s,id:o.getId(a),currentTime:c,volume:l,muted:u,playbackRate:d})})),i.media||500))),c=[dr("play",a(0),s),dr("pause",a(1),s),dr("seeked",a(2),s),dr("volumechange",a(3),s),dr("ratechange",a(4),s)];return Pr((()=>{c.forEach((e=>e()))}))}(e),u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:Pr(((r,o,i)=>{const[s,a]=i,{id:c,styleId:l}=io(o,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:s,index:a}]}),r.apply(o,i)}))});const i=r.CSSStyleSheet.prototype.deleteRule;let s,a;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Pr(((r,o,i)=>{const[s]=i,{id:a,styleId:c}=io(o,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:s}]}),r.apply(o,i)}))}),r.CSSStyleSheet.prototype.replace&&(s=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:Pr(((r,o,i)=>{const[s]=i,{id:a,styleId:c}=io(o,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replace:s}),r.apply(o,i)}))})),r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:Pr(((r,o,i)=>{const[s]=i,{id:a,styleId:c}=io(o,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replaceSync:s}),r.apply(o,i)}))}));const c={};lo("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(lo("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),lo("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),lo("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach((([r,o])=>{l[r]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(l[r].insertRule,{apply:Pr(((r,o,i)=>{const[s,a]=i,{id:c,styleId:l}=io(o.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:s,index:[...oo(o),a||0]}]}),r.apply(o,i)}))}),o.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:Pr(((r,o,i)=>{const[s]=i,{id:a,styleId:c}=io(o.parentStyleSheet,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:[...oo(o),s]}]}),r.apply(o,i)}))})})),Pr((()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=i,s&&(r.CSSStyleSheet.prototype.replace=s),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach((([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule}))}))}(e,{win:n}),d=so(e,e.doc),g=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:o}){const i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:Pr(((o,s,a)=>{const[c,l,u]=a;if(n.has(c))return i.apply(s,[c,l,u]);const{id:d,styleId:g}=io(Dr([s,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&-1!==d||g&&-1!==g)&&e({id:d,styleId:g,set:{property:c,value:l,priority:u},index:oo(s.parentRule)}),o.apply(s,a)}))});const s=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:Pr(((o,i,a)=>{const[c]=a;if(n.has(c))return s.apply(i,[c]);const{id:l,styleId:u}=io(Dr([i,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,remove:{property:c},index:oo(i.parentRule)}),o.apply(i,a)}))}),Pr((()=>{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=s}))}(e,{win:n}),p=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],o=new WeakMap,i=n.FontFace;n.FontFace=function(e,t,n){const r=new i(e,t,n);return o.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const s=fr(t.fonts,"add",(function(t){return function(n){return setTimeout(Pr((()=>{const t=o.get(n);t&&(e(t),o.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=i})),r.push(s),Pr((()=>{r.forEach((e=>e()))}))}(e):()=>{},h=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,selectionCb:s}=e;let a=!0;const c=Pr((()=>{const e=t.getSelection();if(!e||a&&Dr([e,"optionalAccess",e=>e.isCollapsed]))return;a=e.isCollapsed||!1;const c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const s=e.getRangeAt(t),{startContainer:a,startOffset:l,endContainer:u,endOffset:d}=s;Ar(a,r,o,i,!0)||Ar(u,r,o,i,!0)||c.push({start:n.getId(a),startOffset:l,end:n.getId(u),endOffset:d})}s({ranges:c})}));return c(),dr("selectionchange",c)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?fr(n.customElements,"define",(function(e){return function(n,r,o){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,o])}})):()=>{}}(e),f=[];for(const t of e.plugins)f.push(t.observer(t.callback,n,t.options));return Pr((()=>{Qr.forEach((e=>e.reset())),r.disconnect(),o(),i(),s(),a(),c(),l(),u(),d(),g(),p(),h(),m(),f.forEach((e=>e()))}))}function co(e){return void 0!==window[e]}function lo(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class uo{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const o=n||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e);let s=o.get(t);return s||(s=this.generateIdFn(),o.set(t,s),i.set(s,t)),s}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;return r.get(t)||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function go(e){let t,n=e[0],r=1;for(;r<e.length;){const o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):"call"!==o&&"optionalCall"!==o||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}class po{constructor(){this.crossOriginIframeMirror=new uo(Jn),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class ho{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new uo(Jn),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new uo(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),go([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case _r.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:_r.IncrementalSnapshot,data:{source:kr.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case _r.Meta:case _r.Load:case _r.DomContentLoaded:return!1;case _r.Plugin:return t;case _r.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case _r.IncrementalSnapshot:switch(t.data.source){case kr.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case kr.Drag:case kr.TouchMove:case kr.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case kr.ViewportResize:return!1;case kr.MediaInteraction:case kr.MouseInteraction:case kr.Scroll:case kr.CanvasMutation:case kr.Input:return this.replaceIds(t.data,e,["id"]),t;case kr.StyleSheetRule:case kr.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case kr.Font:return t;case kr.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case kr.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),go([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t((t=>{this.replaceStyleIds(t,e,["styleId"])}))]),t}}return!1}replace(e,t,n,r){for(const o of r)(Array.isArray(t[o])||"number"==typeof t[o])&&(Array.isArray(t[o])?t[o]=e.getIds(n,t[o]):t[o]=e.getId(n,t[o]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===Wn.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class mo{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class fo{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Vn(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=qr({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(eo({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(so({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(fr(e.prototype,"attachShadow",(function(e){return function(r){const o=e.call(this,r);return this.shadowRoot&&Vr(this)&&n.addShadowRoot(this.shadowRoot,t),o}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(e){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class Io{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class bo{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Wr,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,((e,t)=>({rule:kn(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class Co{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){!function(...e){(function(){if(Ir)return Ir;const e=window.document;let t=window.requestAnimationFrame;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.requestAnimationFrame&&(t=r.requestAnimationFrame),e.head.removeChild(n)}catch(e){}return Ir=t.bind(window)})()(...e)}((()=>{this.clear(),this.loop&&this.periodicallyClear()}))}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function yo(e){const t=e;return t.timestamp=br(),t}let vo;const Ao=new En;function Go(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:o="rr-block",blockSelector:i=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u="rr-mask",unmaskTextClass:d=null,maskTextSelector:g=null,unmaskTextSelector:p=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:f,slimDOMOptions:I,maskAttributeFn:b,maskInputFn:C,maskTextFn:y,maxCanvasSize:v=null,packFn:A,sampling:G={},dataURLOptions:Z={},mousemoveWait:B,recordCanvas:S=!1,recordCrossOriginIframes:w=!1,recordAfter:R=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:W=!1,collectFonts:N=!1,inlineImages:V=!1,plugins:_,keepIframeSrcFn:k=(()=>!1),ignoreCSSAttributes:E=new Set([]),errorHandler:H,onMutation:F,getCanvasManager:Y}=e;Mr(H);const X=!w||window.parent===window;let T=!1;if(!X)try{window.parent.document&&(T=!1)}catch(e){T=!0}if(X&&!t)throw new Error("emit function is required");void 0!==B&&void 0===G.mousemove&&(G.mousemove=B),Ao.reset();const x=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==f?f:{},K=!0===I||"all"===I?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===I,headMetaDescKeywords:"all"===I}:I||{};let L;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let U=0;const O=e=>{for(const t of _||[])t.eventProcessor&&(e=t.eventProcessor(e));return A&&!T&&(e=A(e)),e},J=(e,o)=>{if(!(0,At.z)([Qr,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])||e.type===_r.FullSnapshot||e.type===_r.IncrementalSnapshot&&e.data.source===kr.Mutation||Qr.forEach((e=>e.unfreeze())),X)(0,At.z)([t,"optionalCall",t=>t(O(e),o)]);else if(T){const t={type:"rrweb",event:O(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(t,"*")}if(e.type===_r.FullSnapshot)L=e,U=0;else if(e.type===_r.IncrementalSnapshot){if(e.data.source===kr.Mutation&&e.data.isAttachIframe)return;U++;const t=r&&U>=r,o=n&&L&&e.timestamp-L.timestamp>n;(t||o)&&ee(!0)}},z=e=>{J(yo({type:_r.IncrementalSnapshot,data:{source:kr.Mutation,...e}}))},M=e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.Scroll,...e}})),j=e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.CanvasMutation,...e}})),P=new bo({mutationCb:z,adoptedStyleSheetCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.AdoptedStyleSheet,...e}}))}),D="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new po:new ho({mirror:Ao,mutationCb:z,stylesheetManager:P,recordCrossOriginIframes:w,wrappedEmit:J});for(const e of _||[])e.getMirror&&e.getMirror({nodeMirror:Ao,crossOriginIframeMirror:D.crossOriginIframeMirror,crossOriginIframeStyleMirror:D.crossOriginIframeStyleMirror});const Q=new Co,$=function(e,t){try{return e?e(t):new Io}catch(e){return console.warn("Unable to initialize CanvasManager"),new Io}}(Y,{mirror:Ao,win:window,mutationCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.CanvasMutation,...e}})),recordCanvas:S,blockClass:o,blockSelector:i,unblockSelector:s,maxCanvasSize:v,sampling:G.canvas,dataURLOptions:Z,errorHandler:H}),q="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new mo:new fo({mutationCb:z,scrollCb:M,bypassOptions:{onMutation:F,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:g,unmaskTextSelector:p,inlineStylesheet:h,maskInputOptions:x,dataURLOptions:Z,maskAttributeFn:b,maskTextFn:y,maskInputFn:C,recordCanvas:S,inlineImages:V,sampling:G,slimDOMOptions:K,iframeManager:D,stylesheetManager:P,canvasManager:$,keepIframeSrcFn:k,processedNodeManager:Q},mirror:Ao}),ee=(e=!1)=>{J(yo({type:_r.Meta,data:{href:window.location.href,width:vr(),height:yr()}}),e),P.reset(),q.init(),Qr.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new En,blockClass:r="rr-block",blockSelector:o=null,unblockSelector:i=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:g=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:f,maskInputFn:I,slimDOM:b=!1,dataURLOptions:C,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:A,iframeLoadTimeout:G,onStylesheetLoad:Z,stylesheetLoadTimeout:B,keepIframeSrcFn:S=(()=>!1)}=t||{};return lr(e,{doc:e,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,maskAllText:s,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:f,maskInputFn:I,slimDOMOptions:!0===b||"all"===b?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===b,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===b?{}:b,dataURLOptions:C,inlineImages:g,recordCanvas:p,preserveWhiteSpace:y,onSerialize:v,onIframeLoad:A,iframeLoadTimeout:G,onStylesheetLoad:Z,stylesheetLoadTimeout:B,keepIframeSrcFn:S,newlyAddedElement:!1})}(document,{mirror:Ao,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:g,unmaskTextSelector:p,inlineStylesheet:h,maskAllInputs:x,maskAttributeFn:b,maskInputFn:C,maskTextFn:y,slimDOM:K,dataURLOptions:Z,recordCanvas:S,inlineImages:V,onSerialize:e=>{Sr(e,Ao)&&D.addIframe(e),wr(e,Ao)&&P.trackLinkElement(e),Rr(e)&&q.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{D.attachIframe(e,t),q.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{P.attachLinkElement(e,t)},keepIframeSrcFn:k});if(!t)return console.warn("Failed to snapshot the document");J(yo({type:_r.FullSnapshot,data:{node:t,initialOffset:Cr(window)}})),Qr.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&P.adoptStyleSheets(document.adoptedStyleSheets,Ao.getId(document))};vo=ee;try{const e=[],t=e=>Pr(ao)({onMutation:F,mutationCb:z,mousemoveCb:(e,t)=>J(yo({type:_r.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.MouseInteraction,...e}})),scrollCb:M,viewportResizeCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.ViewportResize,...e}})),inputCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.Input,...e}})),mediaInteractionCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.MediaInteraction,...e}})),styleSheetRuleCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.StyleSheetRule,...e}})),styleDeclarationCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.StyleDeclaration,...e}})),canvasMutationCb:j,fontCb:e=>J(yo({type:_r.IncrementalSnapshot,data:{source:kr.Font,...e}})),selectionCb:e=>{J(yo({type:_r.IncrementalSnapshot,data:{source:kr.Selection,...e}}))},customElementCb:e=>{J(yo({type:_r.IncrementalSnapshot,data:{source:kr.CustomElement,...e}}))},blockClass:o,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:g,unmaskTextSelector:p,maskInputOptions:x,inlineStylesheet:h,sampling:G,recordCanvas:S,inlineImages:V,userTriggeredOnInput:W,collectFonts:N,doc:e,maskAttributeFn:b,maskInputFn:C,maskTextFn:y,keepIframeSrcFn:k,blockSelector:i,unblockSelector:s,slimDOMOptions:K,dataURLOptions:Z,mirror:Ao,iframeManager:D,stylesheetManager:P,shadowDomManager:q,processedNodeManager:Q,canvasManager:$,ignoreCSSAttributes:E,plugins:(0,At.z)([_,"optionalAccess",e=>e.filter,"call",e=>e((e=>e.observer)),"optionalAccess",e=>e.map,"call",e=>e((e=>({observer:e.observer,options:e.options,callback:t=>J(yo({type:_r.Plugin,data:{plugin:e.name,payload:t}}))})))])||[]},{});D.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}}));const n=()=>{ee(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(dr("DOMContentLoaded",(()=>{J(yo({type:_r.DomContentLoaded,data:{}})),"DOMContentLoaded"===R&&n()}))),e.push(dr("load",(()=>{J(yo({type:_r.Load,data:{}})),"load"===R&&n()}),window))),()=>{e.forEach((e=>e())),Q.destroy(),vo=void 0,jr()}}catch(e){console.warn(e)}}Go.mirror=Ao,Go.takeFullSnapshot=function(e){if(!vo)throw new Error("please take full snapshot after start recording");vo(e)};const Zo=3;function Bo(e){return e>9999999999?e:1e3*e}function So(e){return e>9999999999?e/1e3:e}function wo(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:_r.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,x.S8)(t,10,1e3)}}),"console"===t.category))))}const Ro="button,a";function Wo(e){return e.closest(Ro)||e}function No(e){const t=Vo(e);return t&&t instanceof Element?Wo(t):t}function Vo(e){return function(e){return"object"==typeof e&&!!e&&"target"in e}(e)?e.target:e}let _o;class ko{constructor(e,t,n=wo){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=(t=()=>{this._lastMutation=Ho()},_o||(_o=[],(0,w.GS)(vn,"open",(function(e){return function(...t){if(_o)try{_o.forEach((e=>e()))}catch(e){}return e.apply(vn,t)}}))),_o.push(t),()=>{const e=_o?_o.indexOf(t):-1;e>-1&&_o.splice(e,1)});var t;this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){return!Eo.includes(e.tagName)||("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||"")||(!("A"!==e.tagName||!(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))||!(!t||!e.matches(t))))}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:So(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=So(e)}registerScroll(e=Date.now()){this._lastScroll=So(e)}registerClick(e){const t=Wo(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=Ho();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const t of e){const e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,o=!n&&!r,{clickCount:i,clickBreadcrumb:s}=e;if(o){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",o={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:{...s.data,url:vn.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:i||1}};this._addBreadcrumbEvent(t,o)}else if(i>1){const e={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:vn.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const Eo=["A","BUTTON","INPUT"];function Ho(){return Date.now()/1e3}function Fo(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Yo;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Yo||(Yo={}));const Xo=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function To(e){const t={};for(const n in e)if(Xo.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}function xo(e,t){const n=Go.mirror.getId(e),r=n&&Go.mirror.getNode(n),o=r&&Go.mirror.getMeta(r),i=o&&function(e){return e.type===Yo.Element}(o)?o:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map((e=>e.type===Yo.Text&&e.textContent)).filter(Boolean).map((e=>e.trim())).join(""),attributes:To(i.attributes)}}:{}}}const Ko={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:o,startTime:i,decodedBodySize:s,encodedBodySize:a,responseStatus:c,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Uo(i),end:Uo(o),name:r,data:{size:l,statusCode:c,decodedBodySize:s,encodedBodySize:a}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:o}=e,i=Uo(o);return{type:n,name:r,start:i,end:i+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:o,domComplete:i,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:d,redirectCount:g,startTime:p,transferSize:h,type:m}=e;return 0===o?null:{type:`${t}.${m}`,start:Uo(p),end:Uo(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:s,duration:o,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d,domComplete:i,redirectCount:g}}}};function Lo(e){return Ko[e.entryType]?Ko[e.entryType](e):null}function Uo(e){return((St.k3||vn.performance.timeOrigin)+e)/1e3}const Oo="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Jo(e,t){Oo&&(H.vF.info(e),t&&Mo(e))}function zo(e,t){Oo&&(H.vF.info(e),t&&setTimeout((()=>{Mo(e)}),0))}function Mo(e){(0,g.ZQ)({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}class jo extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class Po{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>wn)throw new jo;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?Bo(e):null}}class Do{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){Jo("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,o)=>{const i=({data:t})=>{const s=t;if(s.method===e&&s.id===n){if(this._worker.removeEventListener("message",i),!s.success)return Oo&&H.vF.error("[Replay]",s.response),void o(new Error("Error in compression worker"));r(s.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class Qo{constructor(e){this._worker=new Do(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=Bo(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>wn?Promise.reject(new jo):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,(e=>{Oo&&H.vF.warn('[Replay] Sending "clear" message to worker failed',e)}))}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class $o{constructor(e){this._fallback=new Po,this._compression=new Qo(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void Jo("[Replay] Failed to load the compression worker, falling back to simple buffer")}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t}=this._fallback,n=[];for(const t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(e){Oo&&H.vF.warn("[Replay] Failed to add events when switching buffers.",e)}}}function qo(){try{return"sessionStorage"in vn&&!!vn.sessionStorage}catch(e){return!1}}function ei(e){return void 0!==e&&Math.random()<e}function ti(e){const t=Date.now();return{id:e.id||(0,R.eJ)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function ni(e){if(qo())try{vn.sessionStorage.setItem(An,JSON.stringify(e))}catch(e){}}function ri({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const o=function(e,t){return ei(e)?"session":!!t&&"buffer"}(e,t),i=ti({sampled:o,previousSessionId:r});return n&&ni(i),i}function oi(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function ii(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return oi(e.started,t,r)||oi(e.lastActivity,n,r)}function si(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!ii(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function ai({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},o){const i=o.stickySession&&function(e){if(!qo())return null;try{const t=vn.sessionStorage.getItem(An);if(!t)return null;const n=JSON.parse(t);return zo("[Replay] Loading existing session",e),ti(n)}catch(e){return null}}(e);return i?si(i,{sessionIdleExpire:t,maxReplayDuration:n})?(zo("[Replay] Session in sessionStorage is expired, creating new one..."),ri(o,{previousSessionId:i.id})):i:(zo("[Replay] Creating new session",e),ri(o,{previousSessionId:r}))}function ci(e,t,n){return!!ui(e,t)&&(li(e,t,n),!0)}async function li(e,t,n){if(!e.eventBuffer)return null;try{n&&"buffer"===e.recordingMode&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const r=function(e,t){try{if("function"==typeof t&&function(e){return e.type===_r.Custom}(e))return t(e)}catch(e){return Oo&&H.vF.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",e),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!r)return;return await e.eventBuffer.addEvent(r)}catch(t){const n=t&&t instanceof jo?"addEventSizeExceeded":"addEvent";Oo&&H.vF.error(t),await e.stop({reason:n});const r=(0,g.KU)();r&&r.recordDroppedEvent("internal_sdk_error","replay")}}function ui(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=Bo(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now()||n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration&&(Jo(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),1))}function di(e){return!e.type}function gi(e){return"transaction"===e.type}function pi(e){return"feedback"===e.type}function hi(e){const t=function(){const e=(0,g.KU)();if(!e)return!1;const t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!e.isEnabled()||!di(n)&&!gi(n))return;const o=r&&r.statusCode;t&&(!o||o<200||o>=300)||(gi(n)?function(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n):function(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&setTimeout((()=>{e.sendBufferedReplayOrFlush()}))}(e,n))}}function mi(e,t){return t.map((({type:t,start:n,end:r,name:o,data:i})=>{const s=e.throttledAddEvent({type:_r.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:o,startTimestamp:n,endTimestamp:r,data:i}}});return"string"==typeof s?Promise.resolve(null):s}))}function fi(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!Oo||!e.getOptions()._experiments.traceInternals)&&(0,Gt.A)(t,(0,g.KU)())}(e,t.name)||e.addUpdate((()=>(mi(e,[t]),!0))))}function Ii(e,t){if(e)try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=Bi(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function bi(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function Ci(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[Bi(e)];if(!e)return[void 0]}catch(t){return Oo&&H.vF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Oo&&H.vF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function yi(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function vi(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:o,method:i,statusCode:s,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:o,data:(0,w.Ce)({method:i,statusCode:s,request:a,response:c})}}function Ai(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Gi(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:o,warnings:i}=function(e){if(!e||"string"!=typeof e)return{body:e};const t=e.length>Bn,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,Bn);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(n);return r.body=o,i&&i.length>0&&(r._meta={warnings:i}),r}function Zi(e,t){return Object.keys(e).reduce(((n,r)=>{const o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=e[r]),n}),{})}function Bi(e){return new URLSearchParams(e).toString()}function Si(e,t){const n=function(e,t=vn.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(vn.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,_e.Xr)(n,t)}function wi(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function Ri(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function Wi(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Ri(n,t):Array.isArray(n)?{}:Zi(n,t):{}}function Ni(e){const t=(0,g.KU)();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:o,networkCaptureBodies:i,networkRequestHeaders:s,networkResponseHeaders:a}=e.getOptions(),c={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:o,networkCaptureBodies:i,networkRequestHeaders:s,networkResponseHeaders:a};t&&t.on?t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(t.data)try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(function(e,t,n){const{xhr:r,input:o}=t;if(!r)return;const i=Ii(o,n.textEncoder),s=r.getResponseHeader("content-length")?bi(r.getResponseHeader("content-length")):function(e,t,n){try{return Ii("json"===t&&e&&"object"==typeof e?JSON.stringify(e):e,n)}catch(e){return}}(r.response,r.responseType,n.textEncoder);void 0!==i&&(e.data.request_body_size=i),void 0!==s&&(e.data.response_body_size=s)}(t,n,e),async function(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r,input:s,xhr:a}=t,{url:c,method:l,status_code:u=0,request_body_size:d,response_body_size:g}=e.data;if(!c)return null;if(!a||!Si(c,n.networkDetailAllowUrls)||Si(c,n.networkDetailDenyUrls))return{startTimestamp:o,endTimestamp:i,url:c,method:l,statusCode:u,request:Ai(d),response:Ai(g)};const p=a[Re.Er],h=p?Zi(p.request_headers,n.networkRequestHeaders):{},m=Zi(function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e}),{}):{}}(a),n.networkResponseHeaders),[f,I]=n.networkCaptureBodies?Ci(s):[void 0],[b,C]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return Oo&&H.vF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Oo&&H.vF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return Oo&&H.vF.warn("[Replay] Failed to get xhr response body",...t),[void 0]}(a):[void 0],y=Gi(h,d,f),v=Gi(m,g,b);return{startTimestamp:o,endTimestamp:i,url:c,method:l,statusCode:u,request:I?yi(y,I):y,response:C?yi(v,C):v}}(e,t,n),o=vi("resource.xhr",r);fi(n.replay,o)}catch(e){Oo&&H.vF.error("[Replay] Failed to capture xhr breadcrumb",e)}}(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(function(e,t,n){const{input:r,response:o}=t,i=Ii(r?wi(r):void 0,n.textEncoder),s=o?bi(o.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==s&&(e.data.response_body_size=s)}(t,n,e),async function(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r}=t,{url:s,method:a,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,d=Si(s,n.networkDetailAllowUrls)&&!Si(s,n.networkDetailDenyUrls),g=d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const o=n?(s=t,1===(i=n).length&&"string"!=typeof i[0]?Wi(i[0],s):2===i.length?Wi(i[1],s):{}):{};var i,s;if(!e)return Gi(o,r,void 0);const a=wi(n),[c,l]=Ci(a),u=Gi(o,r,c);return l?yi(u,l):u}(n,t.input,l):Ai(l),p=await async function(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},o,i){if(!e&&void 0!==i)return Ai(i);const s=o?Ri(o.headers,r):{};if(!o||!t&&void 0!==i)return Gi(s,i,void 0);const[a,c]=await async function(e){const t=function(e){try{return e.clone()}catch(e){Oo&&H.vF.warn("[Replay] Failed to clone response body",e)}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise(((t,n)=>{const r=setTimeout((()=>n(new Error("Timeout while trying to read response body"))),500);(async function(e){return await e.text()})(e).then((e=>t(e)),(e=>n(e))).finally((()=>clearTimeout(r)))}))}(t);return[e]}catch(e){return Oo&&H.vF.warn("[Replay] Failed to get text body from response",e),[void 0,"BODY_PARSE_ERROR"]}}(o),l=function(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:o,headers:i}){try{const s=e&&e.length&&void 0===r?Ii(e,n):r;return o?Gi(i,s,t?e:void 0):Ai(s)}catch(e){return Oo&&H.vF.warn("[Replay] Failed to serialize response body",e),Gi(i,r,void 0)}}(a,{networkCaptureBodies:t,textEncoder:n,responseBodySize:i,captureDetails:e,headers:s});return c?yi(l,c):l}(d,n,t.response,u);return{startTimestamp:o,endTimestamp:i,url:s,method:a,statusCode:c,request:g,response:p}}(e,t,n),o=vi("resource.fetch",r);fi(n.replay,o)}catch(e){Oo&&H.vF.error("[Replay] Failed to capture fetch breadcrumb",e)}}(t,n,e))}catch(e){Oo&&H.vF.warn("Error when enriching network breadcrumb")}}(c,e,t))):((0,We.u)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:o}=e;if(!n)return null;const{method:i,url:s}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:s,data:{method:i,statusCode:o?o.status:void 0}}}(t);fi(e,n)}}(e)),(0,Re.Mn)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,o=r[Re.Er];if(!t||!n||!o)return null;const{method:i,url:s,status_code:a}=o;return void 0===s?null:{type:"resource.xhr",name:s,start:t/1e3,end:n/1e3,data:{method:i,statusCode:a}}}(t);fi(e,n)}}(e)))}catch(e){}}let Vi=null;function _i(e){return!(!e||!e.on)}function ki(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function Ei(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(Oo&&H.vF.warn("[Replay] Received replay event after session expired."));const o=r||!t;t=!0,e.clickDetector&&function(e,t){try{if(!function(e){return e.type===Zo}(t))return;const{source:n}=t.data;if(n===kr.Mutation&&e.registerMutation(t.timestamp),n===kr.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===kr.MouseInteraction}(t)){const{type:n,id:r}=t.data,o=Go.mirror.getNode(r);o instanceof HTMLElement&&n===Er.Click&&e.registerClick(o)}}catch(e){}}(e.clickDetector,n),e.addUpdate((()=>{if("buffer"===e.recordingMode&&o&&e.setInitialState(),!ci(e,n,o))return!0;if(!o)return!1;if(function(e,t){t&&e.session&&0===e.session.segmentId&&ci(e,function(e){const t=e.getOptions();return{type:_r.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,o),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){const t=e.eventBuffer.getEarliestTimestamp();t&&(Jo(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&ni(e.session))}return"session"===e.recordingMode&&e.flush(),!0}))}}class Hi extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class Fi extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function Yi(e,t={count:0,interval:5e3}){const{recordingData:n,options:r}=e;if(n.length)try{return await async function({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:o,session:i}){const a=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:c,errorIds:l,traceIds:u,initialTimestamp:d}=r,p=(0,g.KU)(),h=(0,g.o5)(),m=p&&p.getTransport(),f=p&&p.getDsn();if(!(p&&m&&f&&i.sampled))return;const I={type:Gn,replay_start_timestamp:d/1e3,timestamp:o/1e3,error_ids:l,trace_ids:u,urls:c,replay_id:t,segment_id:n,replay_type:i.sampled},b=await async function({client:e,scope:t,replayId:n,event:r}){const o={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,o);const i=await(0,Zt.mG)(e.getOptions(),r,o,t,e,(0,s.rm)());if(!i)return null;i.platform=i.platform||"javascript";const a=e.getSdkMetadata&&e.getSdkMetadata(),{name:c,version:l}=a&&a.sdk||{};return i.sdk={...i.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0"},i}({scope:h,client:p,replayId:t,event:I});if(!b)return p.recordDroppedEvent("event_processor","replay",I),void Jo("An event processor returned `null`, will not send event.");delete b.sdkProcessingMetadata;const C=function(e,t,n,r){return(0,$.h4)((0,$.n2)(e,(0,$.Cj)(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(b,a,f,p.getOptions().tunnel);let y;try{y=await m.send(C)}catch(e){const t=new Error(Zn);try{t.cause=e}catch(e){}throw t}if(!y)return y;if("number"==typeof y.statusCode&&(y.statusCode<200||y.statusCode>=300))throw new Hi(y.statusCode);const v=(0,wt.wq)({},y);if((0,wt.Jz)(v,"replay"))throw new Fi(v);return y}(e),!0}catch(n){if(n instanceof Hi||n instanceof Fi)throw n;if((0,g.o)("Replays",{_retryCount:t.count}),Oo&&r._experiments&&r._experiments.captureExceptions&&(0,g.Cp)(n),t.count>=3){const e=new Error(`${Zn} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise(((n,r)=>{setTimeout((async()=>{try{await Yi(e,t),n(!0)}catch(e){r(e)}}),t.interval)}))}}const Xi="__THROTTLED";class Ti{constructor({options:e,recordingOptions:t}){Ti.prototype.__init.call(this),Ti.prototype.__init2.call(this),Ti.prototype.__init3.call(this),Ti.prototype.__init4.call(this),Ti.prototype.__init5.call(this),Ti.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,o,i;const s=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return c(),r=e(),r}function c(){void 0!==o&&clearTimeout(o),void 0!==i&&clearTimeout(i),o=i=void 0}function l(){return o&&clearTimeout(o),o=setTimeout(a,t),s&&void 0===i&&(i=setTimeout(a,s)),r}return l.cancel=c,l.flush=function(){return void 0!==o||void 0!==i?a():r},l}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,n){const r=new Map;let o=!1;return(...i)=>{const s=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach(((e,n)=>{n<t&&r.delete(n)}))})(s),[...r.values()].reduce(((e,t)=>e+t),0)>=t){const e=o;return o=!0,e?"__SKIPPED":Xi}o=!1;const a=r.get(s)||0;return r.set(s,a+1),e(...i)}}(((e,t)=>function(e,t,n){return ui(e,t)?li(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),o=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;o&&(this.clickDetector=new ko(this,o))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options;t<=0&&n<=0||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",zo(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");zo("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const e=ai({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");zo("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=ai({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Go({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:Ei(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{Jo("[Replay] Stopping Replay"+(t?` triggered by ${t}`:""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,n=this,function(){if(qo())try{vn.sessionStorage.removeItem(An)}catch(e){}}(),n.session=void 0}catch(e){this._handleException(e)}}var n}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Jo("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),Jo("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();Jo("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&oi(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${vn.location.pathname}${vn.location.hash}${vn.location.search}`,t=`${vn.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===Xi){const e=Fo({category:"replay.throttled"});this.addUpdate((()=>!ci(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastTransaction||(0,g.o5)().getTransaction(),t=(e&&(0,Bt.et)(e).data||{})[u.i_];if(e&&t&&["route","custom"].includes(t))return(0,Bt.et)(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){const e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}());if(!t)return;Jo("[Replay] Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new $o(n)}catch(e){Jo("[Replay] Failed to create compression worker")}}(t);if(e)return e}return Jo("[Replay] Using simple buffer"),new Po}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){Oo&&H.vF.error("[Replay]",e),Oo&&this._options._experiments&&this._options._experiments.captureExceptions&&(0,g.Cp)(e)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=ai({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!si(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{vn.document.addEventListener("visibilitychange",this._handleVisibilityChange),vn.addEventListener("blur",this._handleWindowBlur),vn.addEventListener("focus",this._handleWindowFocus),vn.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){const t=(0,g.o5)(),n=(0,g.KU)();t.addScopeListener((e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return Vi!==t&&t?(Vi=t,!t.category||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui.")?null:"console"===t.category?function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return Fo(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"==typeof e)return e.length>Sn?(n=!0,`${e.slice(0,Sn)}…`):e;if("object"==typeof e)try{const t=(0,x.S8)(e,7);return JSON.stringify(t).length>Sn?(n=!0,`${JSON.stringify(t,null,2).slice(0,Sn)}…`):t}catch(e){}return e}));return Fo({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t):Fo(t)):null}(t);n&&wo(e,n)})(e)),(0,we.i)((e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?No(e.event):Vo(e.event),n=(0,Ne.Hd)(r,{maxStringLength:200})||"<unknown>"}catch(e){n="<unknown>"}return{target:r,message:n}}(e);return Fo({category:`ui.${e.name}`,...xo(t,n)})}(t);if(!n)return;const r="click"===t.name,o=r?t.event:void 0;var i,s,a;!(r&&e.clickDetector&&o&&o.target)||o.altKey||o.metaKey||o.ctrlKey||o.shiftKey||(i=e.clickDetector,s=n,a=No(t.event),i.handleClick(s,a)),wo(e,n)})(e)),(0,Be._)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(mi(e,[n]),!1))))}}(e)),Ni(e);const r=function(e,t=!1){const n=t?hi(e):void 0;return Object.assign(((t,r)=>{if(!e.isEnabled())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!di(t)&&!gi(t)&&!pi(t))return t;if(!e.checkAndHandleExpiredSession())return t;if(pi(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate((()=>!t.timestamp||(e.throttledAddEvent({type:_r.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)))}(e,t),t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length||!t.originalException||!t.originalException.__rrweb__)}(t,r)&&!e.getOptions()._experiments.captureExceptions)return Oo&&H.vF.log("[Replay] Ignoring error from rrweb internals",t),null;const o=function(e,t){return"buffer"===e.recordingMode&&t.message!==Zn&&!(!t.exception||t.type)&&ei(e.getOptions().errorSampleRate)}(e,t);return(o||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&n(t,{statusCode:200}),t}),{id:"Replay"})}(e,!_i(n));n&&n.addEventProcessor?n.addEventProcessor(r):(0,p.S)(r),_i(n)&&(n.on("beforeSendEvent",function(e){return t=>{e.isEnabled()&&di(t)&&function(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0].value;"string"==typeof n&&(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&wo(e,Fo({category:"replay.hydrate-error"}))}(e,t)}}(e)),n.on("afterSendEvent",hi(e)),n.on("createDsc",(t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)})),n.on("startTransaction",(t=>{e.lastTransaction=t})),n.on("finishTransaction",(t=>{e.lastTransaction=t})),n.on("beforeSendFeedback",((t,n)=>{const r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)})))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];return["navigation","paint","resource"].forEach((e=>{r.push(dn(e,n))})),r.push(un((({metric:t})=>{e.replayPerformanceEntries.push(function(e){const t=e.entries,n=t[t.length-1],r=n?n.element:void 0,o=e.value,i=Uo(o);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:i,end:i,data:{value:o,size:o,nodeId:r?Go.mirror.getId(r):void 0}}}(t))}))),()=>{r.forEach((e=>e()))}}(this)}_removeListeners(){try{vn.document.removeEventListener("visibilitychange",this._handleVisibilityChange),vn.removeEventListener("blur",this._handleWindowBlur),vn.removeEventListener("focus",this._handleWindowFocus),vn.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===vn.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=Fo({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=Fo({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i,target:s}=e;if(!s||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(s)||!i)return null;const a=t||r||o,c=1===i.length;if(!a&&c)return null;const l=(0,Ne.Hd)(s,{maxStringLength:200})||"<unknown>";return Fo({category:"ui.keyDown",message:l,data:{...xo(s,l).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i}})}(t);n&&wo(e,n)}(this,e)}}_doChangeToBackgroundTasks(e){this.session&&(ii(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){this.session&&(this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):Jo("[Replay] Document has become active, but session has expired"))}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:_r.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=(t=this.performanceEntries,t.map(Lo).filter(Boolean)).concat(this.replayPerformanceEntries);var t;return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(mi(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(e){try{return Promise.all(mi(e,[ki(vn.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const o=await this.eventBuffer.finish();await Yi({replayId:e,recordingData:o,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(e){this._handleException(e),this.stop({reason:"sendReplay"});const t=(0,g.KU)();t&&t.recordDroppedEvent("send_error","replay")}}else Oo&&H.vF.error("[Replay] No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(Oo&&H.vF.error("[Replay] Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,o=n>this._options.maxReplayDuration+5e3;if(r||o)return Jo(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),void(r&&this._debouncedFlush());const i=this.eventBuffer;if(i&&0===this.session.segmentId&&!i.hasCheckout&&Jo("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(e){Oo&&H.vF.error(e)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&ni(this.session)}__init6(){this._onMutationHandler=e=>{const t=e.length,n=this._options.mutationLimit,r=n&&t>n;if(t>this._options.mutationBreadcrumbLimit||r){const e=Fo({category:"replay.mutations",data:{count:t,limit:r}});this._createCustomBreadcrumb(e)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function xi(e,t,n,r){const o=[...e,..."string"==typeof r?r.split(","):[],...t];return void 0!==n&&("string"==typeof n&&o.push(`.${n}`),(0,H.pq)((()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")}))),o.join(",")}const Ki='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Li=["content-length","content-type","accept"];let Ui=!1;const Oi=e=>new Ji(e);class Ji{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:o=!0,useCompression:i=!0,workerUrl:s,_experiments:a={},sessionSampleRate:c,errorSampleRate:l,maskAllText:u=!0,maskAllInputs:d=!0,blockAllMedia:g=!0,mutationBreadcrumbLimit:p=750,mutationLimit:h=1e4,slowClickTimeout:m=7e3,slowClickIgnoreSelectors:f=[],networkDetailAllowUrls:I=[],networkDetailDenyUrls:b=[],networkCaptureBodies:C=!0,networkRequestHeaders:y=[],networkResponseHeaders:v=[],mask:A=[],maskAttributes:G=["title","placeholder"],unmask:Z=[],block:B=[],unblock:S=[],ignore:w=[],maskFn:R,beforeAddRecordingEvent:W,beforeErrorSampling:N,blockClass:V,blockSelector:_,maskInputOptions:k,maskTextClass:E,maskTextSelector:H,ignoreClass:F}={}){this.name=Ji.id;const Y=function({mask:e,unmask:t,block:n,unblock:r,ignore:o,blockClass:i,blockSelector:s,maskTextClass:a,maskTextSelector:c,ignoreClass:l}){const u={maskTextSelector:xi(e,[".sentry-mask","[data-sentry-mask]"],a,c),unmaskTextSelector:xi(t,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:xi(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],i,s),unblockSelector:xi(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:xi(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],l)};return i instanceof RegExp&&(u.blockClass=i),a instanceof RegExp&&(u.maskTextClass=a),u}({mask:A,unmask:Z,block:B,unblock:S,ignore:w,blockClass:V,blockSelector:_,maskTextClass:E,maskTextSelector:H,ignoreClass:F});if(this._recordingOptions={maskAllInputs:d,maskAllText:u,maskInputOptions:{...k||{},password:!0},maskTextFn:R,maskInputFn:R,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:o,value:i}){return r?o.unmaskTextSelector&&e.matches(o.unmaskTextSelector)?i:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i:i}({maskAttributes:G,maskAllText:u,privacyOptions:Y,key:e,value:t,el:n}),...Y,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:o,sessionSampleRate:c,errorSampleRate:l,useCompression:i,workerUrl:s,blockAllMedia:g,maskAllInputs:d,maskAllText:u,mutationBreadcrumbLimit:p,mutationLimit:h,slowClickTimeout:m,slowClickIgnoreSelectors:f,networkDetailAllowUrls:I,networkDetailDenyUrls:b,networkCaptureBodies:C,networkRequestHeaders:zi(y),networkResponseHeaders:zi(v),beforeAddRecordingEvent:W,beforeErrorSampling:N,_experiments:a},"number"==typeof c&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${c} })`),this._initialOptions.sessionSampleRate=c),"number"==typeof l&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${l} })`),this._initialOptions.errorSampleRate=l),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Ki}`:Ki),this._isInitialized&&(0,Rt.B)())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Ui}set _isInitialized(e){Ui=e}setupOnce(){(0,Rt.B)()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const e=function(e){const t=(0,g.KU)(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...(0,w.Ce)(e)};return n?(null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&(0,H.pq)((()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")})),"number"==typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate),"number"==typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate),r):((0,H.pq)((()=>{console.warn("SDK client is not available.")})),r)}(this._initialOptions);this._replay=new Ti({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const e=(0,g.KU)().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function zi(e){return[...Li,...e.map((e=>e.toLowerCase()))]}function Mi(){const e=(0,g.KU)();return e&&e.getIntegrationByName&&e.getIntegrationByName("Replay")}var ji;function Pi(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Pi(e.parentNode,t,n,r+1):-1}function Di(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(e){return!1}}}Ji.__initStatic(),function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(ji||(ji={}));const Qi="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let $i,qi={map:{},getId:()=>(console.error(Qi),-1),getNode:()=>(console.error(Qi),null),removeNodeFromMap(){console.error(Qi)},has:()=>(console.error(Qi),!1),reset(){console.error(Qi)}};function es(e,t,n,r,o=window){const i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),i&&i.set&&i.set.call(this,e)}}),()=>es(e,t,i||{},!0)}function ts(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],o=n(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch(e){return()=>{}}}function ns(e,t,n,r,o){if(!e)return!1;const i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!i)return!1;const s=Di(t,n);if(!o){const e=r&&i.matches(r);return s(i)&&!e}const a=Pi(i,s);let c=-1;return!(a<0)&&(r&&(c=Pi(i,Di(null,r))),a>-1&&c<0||a<c)}function rs(...e){return function(){if($i)return $i;const e=window.document;let t=window.requestAnimationFrame;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.requestAnimationFrame&&(t=r.requestAnimationFrame),e.head.removeChild(n)}catch(e){}return $i=t.bind(window)}()(...e)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(qi=new Proxy(qi,{get:(e,t,n)=>("map"===t&&console.error(Qi),Reflect.get(e,t,n))})),/[1-9][0-9]{12}/.test(Date.now().toString());var os=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(os||{});let is;const ss=e=>is?(...t)=>{try{return e(...t)}catch(e){if(is&&!0===is(e))return()=>{};throw e}}:e;for(var as="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cs="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ls=0;ls<64;ls++)cs[as.charCodeAt(ls)]=ls;const us=new Map,ds=(e,t,n)=>{if(!e||!hs(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=us.get(e);return n||(n=new Map,us.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let o=r.indexOf(e);return-1===o&&(o=r.length,r.push(e)),o};function gs(e,t,n){if(e instanceof Array)return e.map((e=>gs(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const t=e.constructor.name,n=function(e){var t,n=new Uint8Array(e),r=n.length,o="";for(t=0;t<r;t+=3)o+=as[n[t]>>2],o+=as[(3&n[t])<<4|n[t+1]>>4],o+=as[(15&n[t+1])<<2|n[t+2]>>6],o+=as[63&n[t+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o}(e);return{rr_type:t,base64:n}}if(e instanceof DataView)return{rr_type:e.constructor.name,args:[gs(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}return e instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:e.toDataURL()}:e instanceof ImageData?{rr_type:e.constructor.name,args:[gs(e.data,t,n),e.width,e.height]}:hs(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:ds(e,t,n)}:e}const ps=(e,t,n)=>e.map((e=>gs(e,t,n))),hs=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function ms(e,t,n,r,o){const i=[];try{const s=ts(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(i,...s){if(!ns(this,t,n,r,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(i);if("__context"in this||(this.__context=e),o&&["webgl","webgl2"].includes(e))if(s[0]&&"object"==typeof s[0]){const e=s[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[i,...s])}}));i.push(s)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach((e=>e()))}}function fs(e,t,n,r,o,i,s,a){const c=[],l=Object.getOwnPropertyNames(e);for(const s of l)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(s))try{if("function"!=typeof e[s])continue;const l=ts(e,s,(function(e){return function(...c){const l=e.apply(this,c);if(ds(l,a,this),"tagName"in this.canvas&&!ns(this.canvas,r,o,i,!0)){const e=ps(c,a,this),r={type:t,property:s,args:e};n(this.canvas,r)}return l}}));c.push(l)}catch(r){const o=es(e,s,{set(e){n(this.canvas,{type:t,property:s,args:[e],setter:!0})}});c.push(o)}return c}class Is{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{sampling:t="all",win:n,blockClass:r,blockSelector:o,unblockSelector:i,maxCanvasSize:s,recordCanvas:a,dataURLOptions:c,errorHandler:l}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,l&&(is=l),e.enableManualSnapshot||ss((()=>{a&&"all"===t&&this.initCanvasMutationObserver(n,r,o,i),a&&"number"==typeof t&&this.initCanvasFPSObserver(t,n,r,o,i,s,{dataURLOptions:c})}))()}initCanvasFPSObserver(e,t,n,r,o,i,s){const a=ms(t,n,r,o,!0),c=this.takeSnapshot(!1,e,t,n,r,o,i,s.dataURLOptions);this.resetObservers=()=>{a(),cancelAnimationFrame(c)}}initCanvasMutationObserver(e,t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const o=ms(e,t,n,r,!1),i=function(e,t,n,r,o){const i=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const a of s)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[a])continue;const s=ts(t.CanvasRenderingContext2D.prototype,a,(function(i){return function(...s){return ns(this.canvas,n,r,o,!0)||setTimeout((()=>{const n=ps(s,t,this);e(this.canvas,{type:os["2D"],property:a,args:n})}),0),i.apply(this,s)}}));i.push(s)}catch(n){const r=es(t.CanvasRenderingContext2D.prototype,a,{set(t){e(this.canvas,{type:os["2D"],property:a,args:[t],setter:!0})}});i.push(r)}return()=>{i.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r),s=function(e,t,n,r,o,i){const s=[];return s.push(...fs(t.WebGLRenderingContext.prototype,os.WebGL,e,n,r,o,0,t)),void 0!==t.WebGL2RenderingContext&&s.push(...fs(t.WebGL2RenderingContext.prototype,os.WebGL2,e,n,r,o,0,t)),()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r,this.mirror);this.resetObservers=()=>{o(),i(),s()}}snapshot(e){const{options:t}=this,n=this.takeSnapshot(!0,"all"===t.sampling?2:t.sampling||2,t.win,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(n)}}takeSnapshot(e,t,n,r,o,i,s,a,c){const l=new Map,u=new Worker(function(){const e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());u.onmessage=e=>{const t=e.data,{id:n}=t;if(l.set(n,!1),!("base64"in t))return;const{base64:r,type:o,width:i,height:s}=t;this.mutationCb({id:n,type:os["2D"],commands:[{property:"clearRect",args:[0,0,i,s]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:o}]},0,0,i,s]}]})};const d=1e3/t;let g,p=0;const h=t=>{p&&t-p<d||(p=t,(e=>{if(e)return[e];const t=[];return n.document.querySelectorAll("canvas").forEach((e=>{ns(e,r,o,i,!0)||t.push(e)})),t})(c).forEach((t=>{const n=this.mirror.getId(t);if(!l.get(n)&&t.width&&t.height){if(l.set(n,!0),!e&&["webgl","webgl2"].includes(t.__context)){const e=t.getContext(t.__context);!1===(0,At.z)([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(t).then((e=>{u.postMessage({id:n,bitmap:e,width:t.width,height:t.height,dataURLOptions:a,maxCanvasSize:s},[e])})).catch((e=>{ss((()=>{throw e}))()}))}}))),g=rs(h)};return g=rs(h),g}startPendingCanvasMutationFlusher(){rs((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,rs(e)};rs(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),rs((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const{type:t,...n}=e;return n})),{type:o}=n[0];this.mutationCb({id:t,type:o,commands:r}),this.pendingCanvasMutations.delete(e)}}const bs={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},Cs="ReplayCanvas",ys=1280,vs=(0,m._C)(((e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,ys):ys,n?Math.min(n,ys):ys]};let o;const i=new Promise((e=>o=e));return{name:Cs,setupOnce(){},getOptions(){const{quality:e,enableManualSnapshot:t,maxCanvasSize:n}=r;return{enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{const r=new Is({...e,enableManualSnapshot:t,maxCanvasSize:n,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(e){}}});return o(r),r},...bs[e||"medium"]||bs.medium}},async snapshot(e){(await i).snapshot(e)}}})),As=(0,m.F)(Cs,vs);var Gs=n(7754);const Zs=S.OW,Bs="#ffffff",Ss="inherit",ws="rgba(108, 95, 199, 1)",Rs={fontFamily:"system-ui, 'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:Bs,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"12px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:ws,submitBorder:ws,submitOutlineFocus:"#29232f",submitForeground:Bs,submitForegroundHover:Bs,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:Ss,inputForeground:Ss,inputBorder:"var(--border)",inputOutlineFocus:ws,formBorderRadius:"20px",formContentBorderRadius:"6px"},Ws=Rs,Ns={...Rs,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"},Vs="widget",_s="api";function ks({name:e,email:t,message:n,source:r=_s,url:o=(0,Ne.$N)()},i={}){if(!n)throw new Error("Unable to submit feedback with empty message");return async function({feedback:{message:e,email:t,name:n,source:r,url:o}},{includeReplay:i=!0}={}){const a=(0,g.KU)(),c=a&&a.getTransport(),l=a&&a.getDsn();if(!a||!c||!l)return;const u={contexts:{feedback:{contact_email:t,name:n,message:e,url:o,source:r}},type:"feedback"};return(0,g.v4)((async e=>{e.clearBreadcrumbs(),[_s,Vs].includes(String(r))&&e.setLevel("info");const t=await async function({client:e,scope:t,event:n}){const r={};e.emit&&e.emit("preprocessEvent",n,r);const o=await(0,Zt.mG)(e.getOptions(),n,r,t,e,(0,s.rm)());return null===o?(e.recordDroppedEvent("event_processor","feedback",n),null):(o.platform=o.platform||"javascript",o)}({scope:e,client:a,event:u});if(!t)return;a.emit&&a.emit("beforeSendFeedback",t,{includeReplay:Boolean(i)});const n=(0,Gs.V)(t,l,a.getOptions()._metadata,a.getOptions().tunnel);let o;try{o=await c.send(n)}catch(e){const t=new Error("Unable to send Feedback");try{t.cause=e}catch(e){}throw t}if(o){if("number"==typeof o.statusCode&&(o.statusCode<200||o.statusCode>=300))throw new Error("Unable to send Feedback");return o}}))}({feedback:{name:e,email:t,message:n,url:o,source:r}},i)}const Es="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Hs(e,t){return{...e,...t,themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function Fs(e){return`\n  --background: ${e.background};\n  --background-hover: ${e.backgroundHover};\n  --foreground: ${e.foreground};\n  --error: ${e.error};\n  --success: ${e.success};\n  --border: ${e.border};\n  --border-radius: ${e.borderRadius};\n  --box-shadow: ${e.boxShadow};\n\n  --submit-background: ${e.submitBackground};\n  --submit-background-hover: ${e.submitBackgroundHover};\n  --submit-border: ${e.submitBorder};\n  --submit-outline-focus: ${e.submitOutlineFocus};\n  --submit-foreground: ${e.submitForeground};\n  --submit-foreground-hover: ${e.submitForegroundHover};\n\n  --cancel-background: ${e.cancelBackground};\n  --cancel-background-hover: ${e.cancelBackgroundHover};\n  --cancel-border: ${e.cancelBorder};\n  --cancel-outline-focus: ${e.cancelOutlineFocus};\n  --cancel-foreground: ${e.cancelForeground};\n  --cancel-foreground-hover: ${e.cancelForegroundHover};\n\n  --input-background: ${e.inputBackground};\n  --input-foreground: ${e.inputForeground};\n  --input-border: ${e.inputBorder};\n  --input-outline-focus: ${e.inputOutlineFocus};\n\n  --form-border-radius: ${e.formBorderRadius};\n  --form-content-border-radius: ${e.formContentBorderRadius};\n  `}function Ys(e,t){return Object.entries(t).forEach((([t,n])=>{e.setAttributeNS(null,t,n)})),e}const Xs=20,Ts="http://www.w3.org/2000/svg";function xs(e,t,...n){const r=Zs.document.createElement(e);t&&Object.entries(t).forEach((([e,t])=>{"className"===e&&"string"==typeof t?r.setAttribute("class",t):"boolean"==typeof t&&t?r.setAttribute(e,""):"string"==typeof t?r.setAttribute(e,t):e.startsWith("on")&&"function"==typeof t&&r.addEventListener(e.substring(2).toLowerCase(),t)}));for(const e of n)Ks(r,e);return r}function Ks(e,t){const n=Zs.document;if(null!=t)if(Array.isArray(t))for(const n of t)Ks(e,n);else!1===t||("string"==typeof t?e.appendChild(n.createTextNode(t)):t instanceof Node?e.appendChild(t):e.appendChild(n.createTextNode(String(t))))}function Ls(e,t){const n=e.get(t);return"string"==typeof n?n.trim():""}const Us="http://www.w3.org/2000/svg";function Os({formTitle:e,showBranding:t,showName:n,showEmail:r,isNameRequired:o,isEmailRequired:i,colorScheme:s,defaultName:a,defaultEmail:c,onClosed:l,onCancel:u,onSubmit:d,...g}){let p=null;function h(){p&&(p.open=!1)}const{el:m,showError:f,hideError:I}=function({nameLabel:e,namePlaceholder:t,emailLabel:n,emailPlaceholder:r,messageLabel:o,messagePlaceholder:i,isRequiredLabel:s,cancelButtonLabel:a,submitButtonLabel:c,showName:l,showEmail:u,isNameRequired:d,isEmailRequired:g,defaultName:p,defaultEmail:h,onCancel:m,onSubmit:f}){const{el:I}=function({label:e}){return{el:xs("button",{type:"submit",className:"btn btn--primary","aria-label":e},e)}}({label:c}),b=xs("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"}),C=xs("input",{id:"name",type:l?"text":"hidden","aria-hidden":l?"false":"true",name:"name",required:d,className:"form__input",placeholder:t,value:p}),y=xs("input",{id:"email",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"email",required:g,className:"form__input",placeholder:r,value:h}),v=xs("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:i}),A=xs("button",{type:"button",className:"btn btn--default","aria-label":a,onClick:e=>{m&&m(e)}},a),G=xs("form",{className:"form",onSubmit:function(e){if(e.preventDefault(),e.target instanceof HTMLFormElement)try{if(f){const t=new FormData(e.target),n={name:Ls(t,"name"),email:Ls(t,"email"),message:Ls(t,"message")};f(n)}}catch(e){}}},[b,l&&xs("label",{htmlFor:"name",className:"form__label"},[xs("span",{className:"form__label__text"},e,d&&xs("span",{className:"form__label__text--required"},` ${s}`)),C]),!l&&C,u&&xs("label",{htmlFor:"email",className:"form__label"},[xs("span",{className:"form__label__text"},n,g&&xs("span",{className:"form__label__text--required"},` ${s}`)),y]),!u&&y,xs("label",{htmlFor:"message",className:"form__label"},[xs("span",{className:"form__label__text"},o,xs("span",{className:"form__label__text--required"},` ${s}`)),v]),xs("div",{className:"btn-group"},[I,A])]);return{get el(){return G},showError:function(e){b.textContent=e,b.classList.remove("form__error-container--hidden"),b.setAttribute("aria-hidden","false")},hideError:function(){b.textContent="",b.classList.add("form__error-container--hidden"),b.setAttribute("aria-hidden","true")}}}({showEmail:r,showName:n,isEmailRequired:i,isNameRequired:o,defaultName:a,defaultEmail:c,onSubmit:d,onCancel:u,...g});return p=xs("dialog",{className:"dialog",open:!0,onClick:function(){h(),l&&l()}},xs("div",{className:"dialog__content",onClick:e=>{e.stopPropagation()}},xs("h2",{className:"dialog__header"},e,t&&xs("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},function({colorScheme:e}){const t=e=>Zs.document.createElementNS(Us,e),n=Ys(t("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),r=Ys(t("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});n.append(r);const o=t("defs"),i=t("style");return i.textContent=`\n    path {\n      fill: ${"dark"===e?"#fff":"#362d59"};\n    }`,"system"===e&&(i.textContent+="\n    @media (prefers-color-scheme: dark) {\n      path: {\n        fill: '#fff';\n      }\n    }\n    "),o.append(i),n.append(o),{get el(){return n}}}({colorScheme:s}).el)),m)),{get el(){return p},showError:f,hideError:I,open:function(){p&&(p.open=!0)},close:h,checkIsOpen:function(){return p&&!0===p.open||!1}}}const Js=16,zs=17,Ms="http://www.w3.org/2000/svg";function js({shadow:e,options:{shouldCreateActor:t=!0,...n},attachTo:r}){let o,i,s=!1;async function a(t){if(!i)return;const r=[];n.isNameRequired&&!t.name&&r.push(n.nameLabel),n.isEmailRequired&&!t.email&&r.push(n.emailLabel),t.message||r.push(n.messageLabel),r.length>0?i.showError(`Please enter in the following required fields: ${r.join(", ")}`):await async function(e,t,n){if(e){e.hideError();try{return await ks({...t,source:Vs},n)}catch(t){Es&&H.vF.error(t),e&&e.showError("There was a problem submitting feedback, please wait and try again.")}}}(i,t)?(h(),function(){if(e)try{const t=function({message:e,onRemove:t}){function n(){r&&(r.remove(),t&&t())}const r=xs("div",{className:"success-message",onClick:n},function(){const e=e=>Zs.document.createElementNS(Ms,e),t=Ys(e("svg"),{class:"success-icon",width:`${Js}`,height:`${zs}`,viewBox:`0 0 ${Js} ${zs}`,fill:"none"}),n=Ys(e("g"),{clipPath:"url(#clip0_57_156)"}),r=Ys(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),o=Ys(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(o,r);const i=e("defs"),s=Ys(e("clipPath"),{id:"clip0_57_156"}),a=Ys(e("rect"),{width:`${Js}`,height:`${Js}`,fill:"white",transform:"translate(0 0.5)"});return s.appendChild(a),i.appendChild(s),t.appendChild(i).appendChild(s).appendChild(a),{get el(){return t}}}().el,e);return{el:r,remove:n}}({message:n.successMessageText,onRemove:()=>{r&&clearTimeout(r),l()}});if(!t.el)throw new Error("Unable to show success message");e.appendChild(t.el);const r=setTimeout((()=>{t&&t.remove()}),5e3)}catch(e){H.vF.error(e)}}(),n.onSubmitSuccess&&n.onSubmitSuccess()):n.onSubmitError&&n.onSubmitError()}function c(){const e=(0,g.KU)(),t=e&&e.getIntegrationByName&&e.getIntegrationByName("Replay");t&&t.flush().catch((e=>{Es&&H.vF.error(e)}))}function l(){o&&o.show()}function u(){o&&o.hide()}function d(){try{if(i)return i.open(),s=!0,n.onFormOpen&&n.onFormOpen(),void c();const t=n.useSentryUser,r=(0,g.o5)(),o=r&&r.getUser();if(i=Os({colorScheme:n.colorScheme,showBranding:n.showBranding,showName:n.showName||n.isNameRequired,showEmail:n.showEmail||n.isEmailRequired,isNameRequired:n.isNameRequired,isEmailRequired:n.isEmailRequired,formTitle:n.formTitle,cancelButtonLabel:n.cancelButtonLabel,submitButtonLabel:n.submitButtonLabel,emailLabel:n.emailLabel,emailPlaceholder:n.emailPlaceholder,messageLabel:n.messageLabel,messagePlaceholder:n.messagePlaceholder,nameLabel:n.nameLabel,namePlaceholder:n.namePlaceholder,isRequiredLabel:n.isRequiredLabel,defaultName:t&&o&&o[t.name]||"",defaultEmail:t&&o&&o[t.email]||"",onClosed:()=>{l(),s=!1,n.onFormClose&&n.onFormClose()},onCancel:()=>{p(),l()},onSubmit:a}),!i.el)throw new Error("Unable to open Feedback dialog");e.appendChild(i.el),u(),n.onFormOpen&&n.onFormOpen(),c()}catch(e){H.vF.error(e)}}function p(){i&&(i.close(),s=!1,n.onFormClose&&n.onFormClose())}function h(){if(i){p();const e=i.el;e&&e.remove(),i=void 0}}function m(){s||d(),u()}return r?r.addEventListener("click",m):t&&(o=function({buttonLabel:e,onClick:t}){const n=xs("button",{type:"button",className:"widget__actor","aria-label":e,"aria-hidden":"false"},function(){const e=e=>Zs.document.createElementNS(Ts,e),t=Ys(e("svg"),{class:"feedback-icon",width:`${Xs}`,height:`${Xs}`,viewBox:`0 0 ${Xs} ${Xs}`,fill:"none"}),n=Ys(e("g"),{clipPath:"url(#clip0_57_80)"}),r=Ys(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const o=e("defs"),i=Ys(e("clipPath"),{id:"clip0_57_80"}),s=Ys(e("rect"),{width:`${Xs}`,height:`${Xs}`,fill:"white"});return i.appendChild(s),o.appendChild(i),t.appendChild(o).appendChild(i).appendChild(s),{get el(){return t}}}().el,e?xs("span",{className:"widget__actor__text"},e):null);return n.addEventListener("click",(function(e){t&&t(e)})),{get el(){return n},show:()=>{n.classList.remove("widget__actor--hidden"),n.setAttribute("aria-hidden","false")},hide:()=>{n.classList.add("widget__actor--hidden"),n.setAttribute("aria-hidden","true")}}}({buttonLabel:n.buttonLabel,onClick:m}),o.el&&e.appendChild(o.el)),{get actor(){return o},get dialog(){return i},showActor:l,hideActor:u,removeActor:function(){o&&o.el&&o.el.remove()},openDialog:d,closeDialog:p,removeDialog:h}}const Ps=Zs.document,Ds=e=>new Qs(e);class Qs{static __initStatic(){this.id="Feedback"}constructor({autoInject:e=!0,id:t="sentry-feedback",isEmailRequired:n=!1,isNameRequired:r=!1,showBranding:o=!0,showEmail:i=!0,showName:s=!0,useSentryUser:a={email:"email",name:"username"},themeDark:c,themeLight:l,colorScheme:u="system",buttonLabel:d="Report a Bug",cancelButtonLabel:g="Cancel",submitButtonLabel:p="Send Bug Report",formTitle:h="Report a Bug",emailPlaceholder:m="your.email@example.org",emailLabel:f="Email",messagePlaceholder:I="What's the bug? What did you expect?",messageLabel:b="Description",namePlaceholder:C="Your Name",nameLabel:y="Name",isRequiredLabel:v="(required)",successMessageText:A="Thank you for your report!",onFormClose:G,onFormOpen:Z,onSubmitError:B,onSubmitSuccess:S}={}){this.name=Qs.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:e,showBranding:o,id:t,isEmailRequired:n,isNameRequired:r,showEmail:i,showName:s,useSentryUser:a,colorScheme:u,themeDark:{...Ns,...c},themeLight:{...Ws,...l},buttonLabel:d,cancelButtonLabel:g,submitButtonLabel:p,formTitle:h,emailLabel:f,emailPlaceholder:m,messageLabel:b,messagePlaceholder:I,nameLabel:y,namePlaceholder:C,isRequiredLabel:v,successMessageText:A,onFormClose:G,onFormOpen:Z,onSubmitError:B,onSubmitSuccess:S}}setupOnce(){if((0,Rt.B)())try{this._cleanupWidgetIfExists();const{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){Es&&H.vF.error(e)}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,t){try{const n=Hs(this.options,t||{});return this._ensureShadowHost(n,(({shadow:t})=>{const r="string"==typeof e?Ps.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)return Es&&H.vF.error("[Feedback] Unable to attach to target element"),null;const o=js({shadow:t,options:n,attachTo:r});return this._widgets.add(o),this._widget||(this._widget=o),o}))}catch(e){return Es&&H.vF.error(e),null}}createWidget(e){try{return this._createWidget(Hs(this.options,e||{}))}catch(e){return Es&&H.vF.error(e),null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(e){Es&&H.vF.error(e)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();const e=Ps.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,(({shadow:t})=>{const n=js({shadow:t,options:e});return!this._hasInsertedActorStyles&&n.actor&&(t.appendChild(function(e){const t=e.createElement("style");return t.textContent="\n.widget__actor {\n  line-height: 25px;\n\n  display: flex;\n  align-items: center;\n  gap: 8px;\n\n  border-radius: var(--border-radius);\n  cursor: pointer;\n  font-family: inherit;\n  font-size: var(--font-size);\n  font-weight: 600;\n  padding: 12px 16px;\n  text-decoration: none;\n  z-index: 9000;\n\n  color: var(--foreground);\n  background-color: var(--background);\n  border: var(--border);\n  box-shadow: var(--box-shadow);\n  opacity: 1;\n  transition: opacity 0.1s ease-in-out;\n}\n\n.widget__actor:hover {\n  background-color: var(--background-hover);\n}\n\n.widget__actor svg {\n  width: 16px;\n  height: 16px;\n}\n\n.widget__actor--hidden {\n  opacity: 0;\n  pointer-events: none;\n  visibility: hidden;\n}\n\n.widget__actor__text {\n}\n\n.feedback-icon path {\n  fill: var(--foreground);\n}\n",t}(Ps)),this._hasInsertedActorStyles=!0),this._widgets.add(n),this._widget||(this._widget=n),n}))}_ensureShadowHost(e,t){let n=!1;if(!this._shadow||!this._host){const{id:t,colorScheme:r,themeLight:o,themeDark:i}=e,{shadow:s,host:a}=function({id:e,colorScheme:t,themeDark:n,themeLight:r}){try{const o=Zs.document,i=o.createElement("div");i.id=e;const s=i.attachShadow({mode:"open"});return s.appendChild(function(e,t,n){const r=e.createElement("style");return r.textContent=`\n:host {\n  --bottom: 1rem;\n  --right: 1rem;\n  --top: auto;\n  --left: auto;\n  --z-index: 100000;\n  --font-family: ${n.light.fontFamily};\n  --font-size: ${n.light.fontSize};\n\n  position: fixed;\n  left: var(--left);\n  right: var(--right);\n  bottom: var(--bottom);\n  top: var(--top);\n  z-index: var(--z-index);\n\n  font-family: var(--font-family);\n  font-size: var(--font-size);\n\n  ${Fs("dark"===t?n.dark:n.light)}\n}\n\n${"system"===t?`\n@media (prefers-color-scheme: dark) {\n  :host {\n    ${Fs(n.dark)}\n  }\n}`:""}\n}`,r}(o,t,{dark:n,light:r})),s.appendChild(function(e){const t=e.createElement("style");return t.textContent="\n.dialog {\n  line-height: 25px;\n  background-color: rgba(0, 0, 0, 0.05);\n  border: none;\n  position: fixed;\n  inset: 0;\n  z-index: 10000;\n  width: 100vw;\n  height: 100vh;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  opacity: 1;\n  transition: opacity 0.2s ease-in-out;\n}\n\n.dialog:not([open]) {\n  opacity: 0;\n  pointer-events: none;\n  visibility: hidden;\n}\n.dialog:not([open]) .dialog__content {\n  transform: translate(0, -16px) scale(0.98);\n}\n\n.dialog__content {\n  position: fixed;\n  left: var(--left);\n  right: var(--right);\n  bottom: var(--bottom);\n  top: var(--top);\n\n  border: var(--border);\n  border-radius: var(--form-border-radius);\n  background-color: var(--background);\n  color: var(--foreground);\n\n  width: 320px;\n  max-width: 100%;\n  max-height: calc(100% - 2rem);\n  display: flex;\n  flex-direction: column;\n  box-shadow: var(--box-shadow);\n  transition: transform 0.2s ease-in-out;\n  transform: translate(0, 0) scale(1);\n}\n\n.dialog__header {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  font-size: 20px;\n  font-weight: 600;\n  padding: 24px 24px 0 24px;\n  margin: 0;\n  margin-bottom: 16px;\n}\n\n.brand-link {\n  display: inline-flex;\n}\n\n.error {\n  color: var(--error);\n  margin-bottom: 16px;\n}\n\n.form {\n  display: grid;\n  overflow: auto;\n  flex-direction: column;\n  gap: 16px;\n  padding: 0 24px 24px;\n}\n\n.form__error-container {\n  color: var(--error);\n}\n\n.form__error-container--hidden {\n  display: none;\n}\n\n.form__label {\n  display: flex;\n  flex-direction: column;\n  gap: 4px;\n  margin: 0px;\n}\n\n.form__label__text {\n  display: grid;\n  gap: 4px;\n  align-items: center;\n  grid-auto-flow: column;\n  grid-auto-columns: max-content;\n}\n\n.form__label__text--required {\n  font-size: 0.85em;\n}\n\n.form__input {\n  line-height: inherit;\n  background-color: var(--input-background);\n  box-sizing: border-box;\n  border: var(--input-border);\n  border-radius: var(--form-content-border-radius);\n  color: var(--input-foreground);\n  font-family: inherit;\n  font-size: var(--font-size);\n  font-weight: 500;\n  padding: 6px 12px;\n}\n\n.form__input::placeholder {\n  color: var(--input-foreground);\n  opacity: 0.65;\n}\n\n.form__input:focus-visible {\n  outline: 1px auto var(--input-outline-focus);\n}\n\n.form__input--textarea {\n  font-family: inherit;\n  resize: vertical;\n}\n\n.btn-group {\n  display: grid;\n  gap: 8px;\n  margin-top: 8px;\n}\n\n.btn {\n  line-height: inherit;\n  border: var(--cancel-border);\n  border-radius: var(--form-content-border-radius);\n  cursor: pointer;\n  font-family: inherit;\n  font-size: var(--font-size);\n  font-weight: 600;\n  padding: 6px 16px;\n}\n.btn[disabled] {\n  opacity: 0.6;\n  pointer-events: none;\n}\n\n.btn--primary {\n  background-color: var(--submit-background);\n  border-color: var(--submit-border);\n  color: var(--submit-foreground);\n}\n.btn--primary:hover {\n  background-color: var(--submit-background-hover);\n  color: var(--submit-foreground-hover);\n}\n.btn--primary:focus-visible {\n  outline: 1px auto var(--submit-outline-focus);\n}\n\n.btn--default {\n  background-color: var(--cancel-background);\n  color: var(--cancel-foreground);\n  font-weight: 500;\n}\n.btn--default:hover {\n  background-color: var(--cancel-background-hover);\n  color: var(--cancel-foreground-hover);\n}\n.btn--default:focus-visible {\n  outline: 1px auto var(--cancel-outline-focus);\n}\n\n.success-message {\n  background-color: var(--background);\n  border: var(--border);\n  border-radius: var(--border-radius);\n  box-shadow: var(--box-shadow);\n  font-weight: 600;\n  color: var(--success);\n  padding: 12px 24px;\n  line-height: 25px;\n  display: grid;\n  align-items: center;\n  grid-auto-flow: column;\n  gap: 6px;\n  cursor: default;\n}\n\n.success-icon path {\n  fill: var(--success);\n}\n",t}(o)),{shadow:s,host:i}}catch(e){throw H.vF.warn("[Feedback] Browser does not support shadow DOM API"),new Error("Browser does not support shadow DOM API.")}}({id:t,colorScheme:r,themeLight:o,themeDark:i});this._shadow=s,this._host=a,n=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;const r=t({shadow:this._shadow,host:this._host});return n&&Ps.body.appendChild(this._host),r}}Qs.__initStatic();const $s=S.OW,qs="ContextLines",ea=(0,m._C)(((e={})=>{const t=null!=e.frameContextLines?e.frameContextLines:7;return{name:qs,setupOnce(){},processEvent:e=>function(e,t){const n=$s.document,r=$s.location&&(0,ke.f)($s.location.href);if(!n||!r)return e;const o=e.exception&&e.exception.values;if(!o||!o.length)return e;const i=n.documentElement.innerHTML;if(!i)return e;const s=["<!DOCTYPE html>","<html>",...i.split("\n"),"</html>"];return o.forEach((e=>{const n=e.stacktrace;n&&n.frames&&(n.frames=n.frames.map((e=>function(e,t,n,r){return e.filename===n&&e.lineno&&t.length?((0,R.db)(t,e,r),e):e}(e,s,r,t))))})),e}(e,t)}}));(0,m.F)(qs,ea);var ta=n(7733),na=n(107),ra=n(2125),oa=n(8706),ia=n(781),sa=n(736),aa=n(5386),ca=n(4862),la=n(4887),ua=n(3098);function da(){Vt.document?Vt.document.addEventListener("visibilitychange",(()=>{const e=(0,C.Z7)();if(Vt.document.hidden&&e){const t="cancelled",{op:n,status:r}=(0,Bt.et)(e);Wt.T&&H.vF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}})):Wt.T&&H.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var ga=n(1209),pa=n(2254),ha=n(7157),ma=n(9436);function fa(e){return"number"==typeof e&&isFinite(e)}function Ia(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}const ba=2147483647;function Ca(e){return e/1e3}function ya(){return Vt&&Vt.addEventListener&&Vt.performance}let va,Aa,Ga=0,Za={};function Ba(){const e=ya();if(e&&St.k3){e.mark&&Vt.performance.mark("sentry-tracing-init");const t=bn("fid",(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Ca(St.k3),r=Ca(t.startTime);Wt.T&&H.vF.log("[Measurements] Adding FID"),Za.fid={value:e.value,unit:"millisecond"},Za["mark.fid"]={value:n+r,unit:"second"}}),hn,sn),n=function(e,t=!1){return bn("cls",e,pn,on,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Wt.T&&H.vF.log("[Measurements] Adding CLS"),Za.cls={value:e.value,unit:""},Aa=t)}),!0),r=un((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Wt.T&&H.vF.log("[Measurements] Adding LCP"),Za.lcp={value:e.value,unit:"millisecond"},va=t)}),!0),o=bn("ttfb",(({metric:e})=>{e.entries[e.entries.length-1]&&(Wt.T&&H.vF.log("[Measurements] Adding TTFB"),Za.ttfb={value:e.value,unit:"millisecond"})}),fn,cn);return()=>{t(),n(),r(),o()}}return()=>{}}function Sa(){dn("longtask",(({entries:e})=>{for(const t of e){const e=(0,C.Z7)();if(!e)return;const n=Ca(St.k3+t.startTime),r=Ca(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}}))}function wa(){dn("event",(({entries:e})=>{for(const t of e){const e=(0,C.Z7)();if(!e)return;if("click"===t.name){const n=Ca(St.k3+t.startTime),r=Ca(t.duration),o={description:(0,Ne.Hd)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r},i=(0,Ne.xE)(t.target);i&&(o.attributes={"ui.component_name":i}),e.startChild(o)}}}))}function Ra(e,t){if(ya()&&St.k3){const n=function(e,t){return n=({metric:n})=>{if(void 0===n.value)return;const r=n.entries.find((e=>e.duration===n.value&&void 0!==Wa[e.name])),o=(0,g.KU)();if(!r||!o)return;const i=Wa[r.name],s=o.getOptions(),a=Ca(St.k3+r.startTime),c=Ca(n.value),l=void 0!==r.interactionId?e[r.interactionId]:void 0;if(void 0===l)return;const{routeName:u,parentContext:d,activeTransaction:p,user:h,replayId:m}=l,f=void 0!==h?h.email||h.id||h.ip_address:void 0,I=void 0!==p?p.getProfileId():void 0,b=new ga.L({startTimestamp:a,endTimestamp:a+c,op:`ui.interaction.${i}`,name:(0,Ne.Hd)(r.target),attributes:{release:s.release,environment:s.environment,transaction:u,...void 0!==f&&""!==f?{user:f}:{},...void 0!==I?{profile_id:I}:{},...void 0!==m?{replay_id:m}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),C=function(e,t,n){if(!(0,ha.w)(t))return!1;let r;return r=void 0!==e&&"function"==typeof t.tracesSampler?t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:{...e.data,...e.attributes},location:Vt.location}):void 0!==e&&void 0!==e.sampled?e.sampled:void 0!==t.tracesSampleRate?t.tracesSampleRate:1,(0,ma.v)(r)?!0===r?n:!1===r?0:r*n:(Wt.T&&H.vF.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1)}(d,s,t);if(C&&Math.random()<C){const e=b?(0,pa.l)([b],o.getDsn()):void 0,t=o&&o.getTransport();t&&e&&t.send(e).then(null,(e=>{Wt.T&&H.vF.error("Error while sending interaction:",e)}))}},bn("inp",n,In,ln);var n}(e,t);return()=>{n()}}return()=>{}}const Wa={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function Na(e){const t=ya();if(!t||!Vt.performance.getEntries||!St.k3)return;Wt.T&&H.vF.log("[Tracing] Adding & adjusting spans using Performance API");const n=Ca(St.k3),r=t.getEntries(),{op:o,start_timestamp:i}=(0,Bt.et)(e);if(r.slice(Ga).forEach((t=>{const r=Ca(t.startTime),o=Ca(t.duration);if(!("navigation"===e.op&&i&&n+r<i))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{Va(e,t,r,n)})),Va(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Va(e,t,"fetch",n,"cache","domainLookupStart"),Va(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(Ia(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+Ca(t.requestStart),endTimestamp:n+Ca(t.responseEnd)}),Ia(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+Ca(t.responseStart),endTimestamp:n+Ca(t.responseEnd)}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,o){const i=o+n,s=i+r;Ia(e,{description:t.name,endTimestamp:s,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:i})}(e,t,r,o,n);const i=Tt(),s=t.startTime<i.firstHiddenTime;"first-paint"===t.name&&s&&(Wt.T&&H.vF.log("[Measurements] Adding FP"),Za.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&s&&(Wt.T&&H.vF.log("[Measurements] Adding FCP"),Za.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,o,i){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const s=(0,ke.Dl)(n),a={};_a(a,t,"transferSize","http.response_transfer_size"),_a(a,t,"encodedBodySize","http.response_content_length"),_a(a,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus),s.protocol&&(a["url.scheme"]=s.protocol.split(":").pop()),s.host&&(a["server.address"]=s.host),a["url.same_origin"]=n.includes(Vt.location.origin);const c=i+r,l=c+o;Ia(e,{description:n.replace(Vt.location.origin,""),endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:c,data:a})}(e,t,t.name,r,o,n)}})),Ga=Math.max(r.length-1,0),function(e){const t=Vt.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),fa(n.rtt)&&(Za["connection.rtt"]={value:n.rtt,unit:"millisecond"})),fa(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),fa(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===o){!function(e){const t=_t();if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(Wt.T&&H.vF.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(Za),["fcp","fp","lcp"].forEach((e=>{if(!Za[e]||!i||n>=i)return;const t=Za[e].value,r=n+Ca(t),o=Math.abs(1e3*(r-i)),s=o-t;Wt.T&&H.vF.log(`[Measurements] Normalized ${e} from ${t} to ${o} (${s})`),Za[e].value=o}));const t=Za["mark.fid"];t&&Za.fid&&(Ia(e,{description:"first input delay",endTimestamp:t.value+Ca(Za.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete Za["mark.fid"]),"fcp"in Za||delete Za.cls,Object.keys(Za).forEach((e=>{(0,B.X)(e,Za[e].value,Za[e].unit)})),function(e){va&&(Wt.T&&H.vF.log("[Measurements] Adding LCP Data"),va.element&&e.setTag("lcp.element",(0,Ne.Hd)(va.element)),va.id&&e.setTag("lcp.id",va.id),va.url&&e.setTag("lcp.url",va.url.trim().slice(0,200)),e.setTag("lcp.size",va.size)),Aa&&Aa.sources&&(Wt.T&&H.vF.log("[Measurements] Adding CLS Data"),Aa.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,(0,Ne.Hd)(t.node)))))}(e)}va=void 0,Aa=void 0,Za={}}function Va(e,t,n,r,o,i){const s=i?t[i]:t[`${n}End`],a=t[`${n}Start`];a&&s&&Ia(e,{op:"browser",origin:"auto.browser.browser.metrics",description:o||n,startTimestamp:r+Ca(a),endTimestamp:r+Ca(s)})}function _a(e,t,n,r){const o=t[n];null!=o&&o<ba&&(e[r]=o)}var ka=n(5774),Ea=n(670);const Ha=["localhost",/^\/(?!\/)/],Fa={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:Ha,tracePropagationTargets:Ha};function Ya(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:o,shouldCreateSpanForRequest:i,enableHTTPTimings:a}={traceFetch:Fa.traceFetch,traceXHR:Fa.traceXHR,...e},c="function"==typeof i?i:e=>!0,l=e=>function(e,t){return(0,_e.Xr)(e,t||Ha)}(e,r||o),d={};t&&(0,We.u)((e=>{const t=function(e,t,n,r,o="auto.http.browser"){if(!(0,ha.w)()||!e.fetchData)return;const i=t(e.fetchData.url);if(e.endTimestamp&&i){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(function(e,t){if(t.response){(0,y.N8)(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus("internal_error");e.end()}(n,e),delete r[t]))}const a=(0,g.o5)(),c=(0,g.KU)(),{method:l,url:d}=e.fetchData,p=function(e){try{return new URL(e).href}catch(e){return}}(d),h=p?(0,ke.Dl)(p).host:void 0,m=i?(0,I.Uk)({name:`${l} ${d}`,onlyIfParent:!0,attributes:{url:d,type:"fetch","http.method":l,"http.url":p,"server.address":h,[u.JD]:o},op:"http.client"}):void 0;if(m&&(e.fetchData.__span=m.spanContext().spanId,r[m.spanContext().spanId]=m),n(e.fetchData.url)&&c){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,o){const i=o||n.getSpan(),a=(0,s.rm)(),{traceId:c,spanId:l,sampled:u,dsc:d}={...a.getPropagationContext(),...n.getPropagationContext()},g=i?(0,Bt.Qh)(i):(0,ua.TC)(c,l,u),p=(0,Ea.De)(d||(i?(0,ka.k)(i):(0,ka.l)(c,t,n))),h=r.headers||("undefined"!=typeof Request&&(0,T.tH)(e,Request)?e.headers:void 0);if(h){if("undefined"!=typeof Headers&&(0,T.tH)(h,Headers)){const e=new Headers(h);return e.append("sentry-trace",g),p&&e.append(Ea.hF,p),e}if(Array.isArray(h)){const e=[...h,["sentry-trace",g]];return p&&e.push([Ea.hF,p]),e}{const e="baggage"in h?h.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),p&&t.push(p),{...h,"sentry-trace":g,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":g,baggage:p}}(t,c,a,n,m)}return m}(e,c,l,d);if(t){const n=xa(e.fetchData.url),r=n?(0,ke.Dl)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}a&&t&&Xa(t)})),n&&(0,Re.Mn)((e=>{const t=function(e,t,n,r){const o=e.xhr,i=o&&o[Re.Er];if(!(0,ha.w)()||!o||o.__sentry_own_request__||!i)return;const a=t(i.url);if(e.endTimestamp&&a){const e=o.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==i.status_code&&((0,y.N8)(t,i.status_code),t.end(),delete r[e]))}const c=(0,g.o5)(),l=(0,s.rm)(),d=xa(i.url),p=d?(0,ke.Dl)(d).host:void 0,h=a?(0,I.Uk)({name:`${i.method} ${i.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":i.method,"http.url":d,url:i.url,"server.address":p,[u.JD]:"auto.http.browser"},op:"http.client"}):void 0;h&&(o.__sentry_xhr_span_id__=h.spanContext().spanId,r[o.__sentry_xhr_span_id__]=h);const m=(0,g.KU)();if(o.setRequestHeader&&n(i.url)&&m){const{traceId:e,spanId:t,sampled:n,dsc:r}={...l.getPropagationContext(),...c.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(Ea.hF,n)}catch(e){}}(o,h?(0,Bt.Qh)(h):(0,ua.TC)(e,t,n),(0,Ea.De)(r||(h?(0,ka.k)(h):(0,ka.l)(e,m,c))))}return h}(e,c,l,d);a&&t&&Xa(t)}))}function Xa(e){const{url:t}=(0,Bt.et)(e).data||{};if(!t||"string"!=typeof t)return;const n=dn("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){const t=function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const o of e){if("/"===o){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=o}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),St.k3?[...r,["http.request.redirect_start",Ta(e.redirectStart)],["http.request.fetch_start",Ta(e.fetchStart)],["http.request.domain_lookup_start",Ta(e.domainLookupStart)],["http.request.domain_lookup_end",Ta(e.domainLookupEnd)],["http.request.connect_start",Ta(e.connectStart)],["http.request.secure_connection_start",Ta(e.secureConnectionStart)],["http.request.connection_end",Ta(e.connectEnd)],["http.request.request_start",Ta(e.requestStart)],["http.request.response_start",Ta(e.responseStart)],["http.request.response_end",Ta(e.responseEnd)]]:r}(r);t.forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function Ta(e=0){return((St.k3||performance.timeOrigin)+e)/1e3}function xa(e){try{return new URL(e,Vt.location.origin).href}catch(e){return}}const Ka={...la.Cq,markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,n=!0){if(!Vt||!Vt.location)return void(Wt.T&&H.vF.warn("Could not initialize routing instrumentation due to invalid location"));let r,o=Vt.location.href;t&&(r=e({name:Vt.location.pathname,startTimestamp:St.k3?St.k3/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&(0,Be._)((({to:t,from:n})=>{void 0===n&&o&&-1!==o.indexOf(t)?o=void 0:n!==t&&(o=void 0,r&&(Wt.T&&H.vF.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.end()),r=e({name:Vt.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...Fa};class La{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,(0,f.U)(),Wt.T&&(this._hasSetTracePropagationTargets=!(!e||!e.tracePropagationTargets&&!e.tracingOrigins)),this.options={...Ka,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=Ba(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&Ra(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&Sa(),this.options._experiments.enableInteractions&&wa(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;const n=t().getClient(),r=n&&n.getOptions(),{routingInstrumentation:o,startTransactionOnLocationChange:i,startTransactionOnPageLoad:s,markBackgroundTransactions:a,traceFetch:c,traceXHR:l,shouldCreateSpanForRequest:u,enableHTTPTimings:d,_experiments:g}=this.options,p=r&&r.tracePropagationTargets,h=p||this.options.tracePropagationTargets;Wt.T&&this._hasSetTracePropagationTargets&&p&&H.vF.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),o((e=>{const n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n}),s,i),a&&da(),g.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),Ya({traceFetch:c,traceXHR:l,tracePropagationTargets:h,shouldCreateSpanForRequest:u,enableHTTPTimings:d})}_createRouteTransaction(e){if(!this._getCurrentHub)return void(Wt.T&&H.vF.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`));const t=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:o,heartbeatInterval:i}=this.options,s="pageload"===e.op;let a;if(s){const t=s?Ua("sentry-trace"):"",n=s?Ua("baggage"):void 0,{traceId:r,dsc:o,parentSpanId:i,sampled:c}=(0,ua.kM)(t,n);a={traceId:r,parentSpanId:i,parentSampled:c,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else a={trimEnd:!0,...e};const c="function"==typeof n?n(a):a,l=void 0===c?{...a,sampled:!1}:c;l.metadata=l.name!==a.name?{...l.metadata,source:"custom"}:l.metadata,this._latestRoute.name=l.name,this._latestRoute.context=l,!1===l.sampled&&Wt.T&&H.vF.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),Wt.T&&H.vF.log(`[Tracing] Starting ${l.op} transaction on scope`);const{location:u}=Vt,d=(0,f.p)(t,l,r,o,!0,{location:u},i,s);return s&&Vt.document&&(Vt.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(Vt.document.readyState)&&d.sendAutoFinishSignal()})),["interactive","complete"].includes(Vt.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback((e=>{this._collectWebVitals(),Na(e)})),d}_registerInteractionListener(){let e;const t=()=>{const{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,o="ui.action.click",i=(0,C.Z7)();if(i&&i.op&&["navigation","pageload"].includes(i.op))return void(Wt.T&&H.vF.warn(`[Tracing] Did not create ${o} transaction because a pageload or navigation transaction is in progress.`));if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub)return void(Wt.T&&H.vF.warn(`[Tracing] Did not create ${o} transaction because _getCurrentHub is invalid.`));if(!this._latestRoute.name)return void(Wt.T&&H.vF.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`));const s=this._getCurrentHub(),{location:a}=Vt,c={name:this._latestRoute.name,op:o,trimEnd:!0,data:{[u.i_]:this._latestRoute.context?Oa(this._latestRoute.context):"url"}};e=(0,f.p)(s,c,t,n,!0,{location:a},r)};["click"].forEach((e=>{Vt.document&&addEventListener(e,t,{once:!1,capture:!0})}))}_registerInpInteractionListener(){const e=({entries:e})=>{const t=(0,g.KU)(),n=void 0!==t&&void 0!==t.getIntegrationByName?t.getIntegrationByName("Replay"):void 0,r=void 0!==n?n.getReplayId():void 0,o=(0,C.Z7)(),i=(0,g.o5)(),s=void 0!==i?i.getUser():void 0;e.forEach((e=>{if(function(e){return"duration"in e}(e)){const t=e.interactionId;if(void 0===t)return;const n=this._interactionIdToRouteNameMapping[t],i=e.duration,a=e.startTime,c=Object.keys(this._interactionIdToRouteNameMapping),l=c.length>0?c.reduce(((e,t)=>this._interactionIdToRouteNameMapping[e].duration<this._interactionIdToRouteNameMapping[t].duration?e:t)):void 0;if("first-input"===e.entryType&&c.map((e=>this._interactionIdToRouteNameMapping[e])).some((e=>e.duration===i&&e.startTime===a)))return;if(!t)return;if(n)n.duration=Math.max(n.duration,i);else if(c.length<10||void 0===l||i>this._interactionIdToRouteNameMapping[l].duration){const e=this._latestRoute.name,n=this._latestRoute.context;e&&n&&(l&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[l],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:i,parentContext:n,user:s,activeTransaction:o,replayId:r,startTime:a})}}}))};dn("event",e),dn("first-input",e)}}function Ua(e){const t=(0,Ne.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function Oa(e){const t=e.attributes&&e.attributes[u.i_],n=e.data&&e.data[u.i_],r=e.metadata&&e.metadata.source;return t||n||r}const Ja={...la.Cq,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...Fa},za=(e={})=>{const t=!(!Wt.T||!e.tracePropagationTargets&&!e.tracingOrigins);(0,f.U)(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);const n={...Ja,...e},r=Ba(),o={};n.enableInp&&Ra(o,n.interactionsSampleRate),n.enableLongTask&&Sa(),n._experiments.enableInteractions&&wa();const i={name:void 0,context:void 0};function a(e){const t=(0,s.BF)(),{beforeStartSpan:o,idleTimeout:a,finalTimeout:c,heartbeatInterval:l}=n,u="pageload"===e.op;let d;if(u){const t=u?Pa("sentry-trace"):"",n=u?Pa("baggage"):void 0,{traceId:r,dsc:o,parentSpanId:i,sampled:s}=(0,ua.kM)(t,n);d={traceId:r,parentSpanId:i,parentSampled:s,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else d={trimEnd:!0,...e};const g=o?o(d):d;g.metadata=g.name!==d.name?{...g.metadata,source:"custom"}:g.metadata,i.name=g.name,i.context=g,!1===g.sampled&&Wt.T&&H.vF.log(`[Tracing] Will not send ${g.op} transaction because of beforeNavigate.`),Wt.T&&H.vF.log(`[Tracing] Starting ${g.op} transaction on scope`);const{location:p}=Vt,h=(0,f.p)(t,g,a,c,!0,{location:p},l,u);return u&&Vt.document&&(Vt.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(Vt.document.readyState)&&h.sendAutoFinishSignal()})),["interactive","complete"].includes(Vt.document.readyState)&&h.sendAutoFinishSignal()),h.registerBeforeFinishCallback((e=>{r(),Na(e)})),h}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){const r=e.getOptions(),{markBackgroundSpan:c,traceFetch:l,traceXHR:d,shouldCreateSpanForRequest:p,enableHTTPTimings:h,_experiments:m}=n,I=r&&r.tracePropagationTargets,b=I||n.tracePropagationTargets;let y;Wt.T&&t&&I&&H.vF.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let v=Vt.location&&Vt.location.href;if(e.on&&(e.on("startNavigationSpan",(e=>{y&&(Wt.T&&H.vF.log(`[Tracing] Finishing current transaction with op: ${(0,Bt.et)(y).op}`),y.end()),y=a({op:"navigation",...e})})),e.on("startPageLoadSpan",(e=>{y&&(Wt.T&&H.vF.log(`[Tracing] Finishing current transaction with op: ${(0,Bt.et)(y).op}`),y.end()),y=a({op:"pageload",...e})}))),n.instrumentPageLoad&&e.emit&&Vt.location){const t={name:Vt.location.pathname,startTimestamp:St.k3?St.k3/1e3:void 0,origin:"auto.pageload.browser",attributes:{[u.i_]:"url"}};Ma(e,t)}n.instrumentNavigation&&e.emit&&Vt.location&&(0,Be._)((({to:t,from:n})=>{if(void 0===n&&v&&-1!==v.indexOf(t))v=void 0;else if(n!==t){v=void 0;const t={name:Vt.location.pathname,origin:"auto.navigation.browser",attributes:{[u.i_]:"url"}};ja(e,t)}})),c&&da(),m.enableInteractions&&function(e,t){let n;const r=()=>{const{idleTimeout:r,finalTimeout:o,heartbeatInterval:i}=e,a="ui.action.click",c=(0,C.Z7)();if(c&&c.op&&["navigation","pageload"].includes(c.op))return void(Wt.T&&H.vF.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`));if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!t.name)return void(Wt.T&&H.vF.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`));const{location:l}=Vt,d={name:t.name,op:a,trimEnd:!0,data:{[u.i_]:t.context?Qa(t.context):"url"}};n=(0,f.p)((0,s.BF)(),d,r,o,!0,{location:l},i)};["click"].forEach((e=>{Vt.document&&addEventListener(e,r,{once:!1,capture:!0})}))}(n,i),n.enableInp&&function(e,t){const n=({entries:n})=>{const r=(0,g.KU)(),o=void 0!==r&&void 0!==r.getIntegrationByName?r.getIntegrationByName("Replay"):void 0,i=void 0!==o?o.getReplayId():void 0,s=(0,C.Z7)(),a=(0,g.o5)(),c=void 0!==a?a.getUser():void 0;n.forEach((n=>{if(function(e){return"duration"in e}(n)){const r=n.interactionId;if(void 0===r)return;const o=e[r],a=n.duration,l=n.startTime,u=Object.keys(e),d=u.length>0?u.reduce(((t,n)=>e[t].duration<e[n].duration?t:n)):void 0;if("first-input"===n.entryType&&u.map((t=>e[t])).some((e=>e.duration===a&&e.startTime===l)))return;if(!r)return;if(o)o.duration=Math.max(o.duration,a);else if(u.length<Da||void 0===d||a>e[d].duration){const n=t.name,o=t.context;n&&o&&(d&&Object.keys(e).length>=Da&&delete e[d],e[r]={routeName:n,duration:a,parentContext:o,user:c,activeTransaction:s,replayId:i,startTime:l})}}}))};dn("event",n),dn("first-input",n)}(o,i),Ya({traceFetch:l,traceXHR:d,tracePropagationTargets:b,shouldCreateSpanForRequest:p,enableHTTPTimings:h})},options:n}};function Ma(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);const n=(0,I.Bk)();return"pageload"===(n&&(0,Bt.et)(n).op)?n:void 0}function ja(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);const n=(0,I.Bk)();return"navigation"===(n&&(0,Bt.et)(n).op)?n:void 0}function Pa(e){const t=(0,Ne.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}const Da=10;function Qa(e){const t=e.attributes&&e.attributes[u.i_],n=e.data&&e.data[u.i_],r=e.metadata&&e.metadata.source;return t||n||r}var $a=n(4684);function qa(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function ec(e){return qa(e.getAllKeys())}function tc(e){let t;function n(){return null==t&&(t=function(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=qa(n);return e=>r.then((n=>e(n.transaction(t,"readwrite").objectStore(t))))}(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async t=>{try{const r=await(0,$.bN)(t,e.textEncoder);await function(e,t,n){return e((e=>ec(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),qa(e.transaction)}))))}(n(),r,e.maxQueueSize||30)}catch(e){}},pop:async()=>{try{const t=await function(e){return e((e=>ec(e).then((t=>{if(0!==t.length)return qa(e.get(t[0])).then((n=>(e.delete(t[0]),qa(e.transaction).then((()=>n)))))}))))}(n());if(t)return(0,$.mE)(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function nc(e){return function(e){return t=>e({...t,createStore:tc})}((0,$a.BP)(e))}var rc=n(9190);const oc=1e6,ic=String(0),sc="main";let ac="",cc="",lc="",uc=W.navigator&&W.navigator.userAgent||"",dc="";const gc=W.navigator&&W.navigator.language||W.navigator&&W.navigator.languages&&W.navigator.languages[0]||"",pc=W.navigator&&W.navigator.userAgentData;var hc;function mc(e,t,n,r){if("transaction"!==r.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==n)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const o=function(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return"string"==typeof t&&32!==t.length&&X&&H.vF.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t?"":t}(r),i=function(e){return!("thread_metadata"in e)}(c=n)?function(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[ic]:{name:sc}}};if(!e.samples.length)return r;const o=e.samples[0].timestamp,i="number"==typeof performance.timeOrigin?performance.timeOrigin:St.k3||0,s=i-(St.k3||i);for(let i=0;i<e.samples.length;i++){const a=e.samples[i];if(void 0===a.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[i]={elapsed_since_start_ns:((a.timestamp+s-o)*oc).toFixed(0),stack_id:t,thread_id:ic};continue}let c=e.stacks[a.stackId];const l=[];for(;c;){l.push(c.frameId);const t=e.frames[c.frameId];void 0===r.frames[c.frameId]&&(r.frames[c.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),c=void 0===c.parentId?void 0:e.stacks[c.parentId]}const u={elapsed_since_start_ns:((a.timestamp+s-o)*oc).toFixed(0),stack_id:n,thread_id:ic};r.stacks[n]=l,r.samples[i]=u,n++}return r}(c):c,s=t||("number"==typeof r.start_timestamp?1e3*r.start_timestamp:Date.now()),a="number"==typeof r.timestamp?1e3*r.timestamp:Date.now();var c;return{event_id:e,timestamp:new Date(s).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||rc.U,runtime:{name:"javascript",version:W.navigator.userAgent},os:{name:ac,version:cc,build_number:uc},device:{locale:gc,model:dc,manufacturer:uc,architecture:lc,is_emulator:!1},debug_meta:{images:bc(n.resources)},profile:i,transactions:[{name:r.transaction||"",id:r.event_id||(0,R.eJ)(),trace_id:o,active_thread_id:ic,relative_start_ns:"0",relative_end_ns:(1e6*(a-s)).toFixed(0)}]}}function fc(e){return"pageload"===e.op}"object"==typeof(hc=pc)&&null!==hc&&"getHighEntropyValues"in hc&&pc.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((e=>{if(ac=e.platform||"",lc=e.architecture||"",dc=e.model||"",cc=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];uc=`${t.brand} ${t.version}`}})).catch((e=>{}));const Ic=new WeakMap;function bc(e){const t=S.OW._sentryDebugIds;if(!t)return[];const n=(0,g.KU)(),r=n&&n.getOptions(),o=r&&r.stackParser;if(!o)return[];let i;const s=Ic.get(o);s?i=s:(i=new Map,Ic.set(o,i));const a=Object.keys(t).reduce(((e,n)=>{let r;const s=i.get(n);s?r=s:(r=o(n),i.set(n,r));for(let o=r.length-1;o>=0;o--){const i=r[o],s=i&&i.filename;if(i&&s){e[s]=t[n];break}}return e}),{}),c=[];for(const t of e)t&&a[t]&&c.push({type:"sourcemap",code_file:t,debug_id:a[t]});return c}let Cc=!1;const yc=3e4;function vc(e){if(Cc)return X&&H.vF.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return X&&H.vF.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const t=(0,g.KU)(),n=t&&t.getOptions();if(!n)return X&&H.vF.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;return("number"!=typeof(o=r)&&"boolean"!=typeof o||"number"==typeof o&&isNaN(o)?(X&&H.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),0):!0===o||!1===o||!(o<0||o>1)||(X&&H.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${o}.`),0))?r?!!(!0===r||Math.random()<r)||(X&&H.vF.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(X&&H.vF.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(X&&H.vF.warn("[Profiling] Discarding profile because of invalid sample rate."),!1);var o}function Ac(e,t,n,r){return function(e){return e.samples.length<2?(X&&H.vF.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!e.frames.length||(X&&H.vF.log("[Profiling] Discarding profile because it contains no frames"),!1)}(n)?mc(e,t,n,r):null}const Gc=new Map;function Zc(e){const t=Gc.get(e);return t&&Gc.delete(e),t}function Bc(e){return e?vc(e)?Sc(e):e:(X&&H.vF.log("[Profiling] Transaction is undefined, skipping profiling"),e)}function Sc(e){let t;fc(e)&&(t=1e3*(0,St.zf)());const n=function(){const e=W.Profiler;if("function"!=typeof e)return void(X&&H.vF.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."));const t=Math.floor(yc/10);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){X&&(H.vF.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),H.vF.log("[Profiling] Disabling profiling for current user session.")),Cc=!0}}();if(!n)return e;X&&H.vF.log(`[Profiling] started profiling transaction: ${(0,Bt.et)(e).description}`);const r=(0,R.eJ)();async function o(){return e&&n?n.stop().then((t=>(i&&(W.clearTimeout(i),i=void 0),X&&H.vF.log(`[Profiling] stopped profiling of transaction: ${(0,Bt.et)(e).description}`),t?(function(e,t){if(Gc.set(e,t),Gc.size>30){const e=Gc.keys().next().value;Gc.delete(e)}}(r,t),null):(X&&H.vF.log(`[Profiling] profiler returned null profile for: ${(0,Bt.et)(e).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)))).catch((e=>(X&&H.vF.log("[Profiling] error while stopping profiler:",e),null))):null}let i=W.setTimeout((()=>{X&&H.vF.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,Bt.et)(e).description),o()}),yc);const s=e.end.bind(e);return e.end=function(){return e?(o().then((()=>{e.setContext("profile",{profile_id:r,start_timestamp:t}),s()}),(()=>{s()})),e):s()},e}const wc="BrowserProfiling",Rc=(0,m._C)((()=>({name:wc,setupOnce(){},setup(e){const t=(0,g.o5)().getTransaction();t&&fc(t)&&vc(t)&&Sc(t),"function"==typeof e.on?(e.on("startTransaction",(e=>{vc(e)&&Sc(e)})),e.on("beforeEnvelope",(e=>{if(!Gc.size)return;const t=function(e){const t=[];return(0,$.yH)(e,((e,n)=>{if("transaction"===n)for(let n=1;n<e.length;n++){const r=e[n];r&&r.contexts&&r.contexts.profile&&r.contexts.profile.profile_id&&t.push(e[n])}})),t}(e);if(!t.length)return;const n=[];for(const e of t){const t=e&&e.contexts,r=t&&t.profile&&t.profile.profile_id,o=t&&t.profile&&t.profile.start_timestamp;if("string"!=typeof r){X&&H.vF.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!r){X&&H.vF.log("[Profiling] cannot find profile for a transaction without a profile context");continue}t&&t.profile&&delete t.profile;const i=Zc(r);if(!i){X&&H.vF.log(`[Profiling] Could not retrieve profile for transaction: ${r}`);continue}const s=Ac(r,o,i,e);s&&n.push(s)}!function(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n])}(e,n)}))):H.vF.warn("[Profiling] Client does not support hooks, profiling will be disabled")}}))),Wc=(0,m.F)(wc,Rc);let Nc={};W.Sentry&&W.Sentry.Integrations&&(Nc=W.Sentry.Integrations);const Vc={...Nc,...o.Integrations,...r}},456:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,k:()=>c});var r=n(1085),o=n(1965);const i="7";function s(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function a(e,t={}){const n="string"==typeof t?t:t.tunnel,o="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${s(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,r.u4)({sentry_key:e.publicKey,sentry_version:i,...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,o)}`}function c(e,t){const n=(0,o.AD)(e);if(!n)return"";const r=`${s(n)}embed/error-page/`;let i=`dsn=${(0,o.SB)(n)}`;for(const e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${i}`}},5062:(e,t,n)=>{"use strict";n.d(t,{V:()=>v,S:()=>Z});var r=n(1965),o=n(4870),i=n(1666),s=n(3390),a=n(8336),c=n(358),l=n(7402),u=n(456),d=n(1626),g=n(7754),p=n(3827),h=n(5959),m=n(1234),f=n(4351);var I=n(1912),b=n(5774),C=n(9833);const y="Not capturing exception because it's already been captured.";class v{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,r.AD)(e.dsn):d.T&&o.vF.warn("No DSN provided, client will not send events."),this._dsn){const t=(0,u.Z)(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if((0,i.GR)(e))return void(d.T&&o.vF.log(y));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let o=n&&n.event_id;const i=(0,s.NF)(e)?e:String(e),a=(0,s.sO)(e)?this.eventFromMessage(i,t,n):this.eventFromException(e,n);return this._process(a.then((e=>this._captureEvent(e,n,r))).then((e=>{o=e}))),o}captureEvent(e,t,n){if(t&&t.originalException&&(0,i.GR)(t.originalException))return void(d.T&&o.vF.log(y));let r=t&&t.event_id;const s=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,s||n).then((e=>{r=e}))),r}captureSession(e){"string"!=typeof e.release?d.T&&o.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,I.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):(0,a.XW)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return d.T&&o.vF.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const t=this._integrations[e.name];(0,m.qm)(this,e,this._integrations),t||(0,m.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,g.V)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=(0,c.W3)(n,(0,c.bm)(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=(0,g.L)(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;d.T&&o.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}captureAggregateMetrics(e){d.T&&o.vF.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const t=function(e,t,n,o){const i={sent_at:(new Date).toISOString()};n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),o&&t&&(i.dsn=(0,r.SB)(t));const s=function(e){const t=(0,f.ik)(e);return[{type:"statsd",length:t.length},t]}(e);return(0,c.h4)(i,[s])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,m.P$)(this,e),(0,m.lc)(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,r=!1;const o=t.exception&&t.exception.values;if(o){r=!0;for(const e of o){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const i="ok"===e.status;(i&&0===e.errors||i&&n)&&((0,I.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new a.T2((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=(0,h.rm)()){const o=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),(0,C.mG)(o,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!e.contexts||!e.contexts.trace)&&t){const{traceId:r,spanId:o,parentSpanId:i,dsc:s}=t;e.contexts={trace:{trace_id:r,span_id:o,parent_span_id:i},...e.contexts};const a=s||(0,b.l)(r,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(d.T){const t=e;"log"===t.logLevel?o.vF.log(t.message):o.vF.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:o}=r,i=G(e),c=A(e),u=e.type||"error",d=`before send for type \`${u}\``;if(c&&"number"==typeof o&&Math.random()>o)return this.recordDroppedEvent("sample_rate","error",e),(0,a.xg)(new l.U(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const g="replay_event"===u?"replay":u,p=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,p).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",g,e),new l.U("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const o=function(e,t,n){const{beforeSend:r,beforeSendTransaction:o}=e;return A(t)&&r?r(t,n):G(t)&&o?o(t,n):t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,s.Qg)(e))return e.then((e=>{if(!(0,s.Qd)(e)&&null!==e)throw new l.U(n);return e}),(e=>{throw new l.U(`${t} rejected with ${e}`)}));if(!(0,s.Qd)(e)&&null!==e)throw new l.U(n);return e}(o,d)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",g,e),new l.U(`${d} returned \`null\`, will not send event.`,"log");const o=n&&n.getSession();!i&&o&&this._updateSessionFromEvent(o,r);const s=r.transaction_info;if(i&&s&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...s,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof l.U)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new l.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{d.T&&o.vF.error("Error while sending event:",e)}));d.T&&o.vF.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function A(e){return void 0===e.type}function G(e){return"transaction"===e.type}function Z(e){const t=(0,p.KU)();t&&t.addEventProcessor&&t.addEventProcessor(e)}},119:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(1965),o=n(1085),i=n(358);function s(e,t,n,s,a){const c={sent_at:(new Date).toISOString()};n&&n.sdk&&(c.sdk={name:n.sdk.name,version:n.sdk.version}),s&&a&&(c.dsn=(0,r.SB)(a)),t&&(c.trace=(0,o.Ce)(t));const l=function(e){return[{type:"check_in"},e]}(e);return(0,i.h4)(c,[l])}},9190:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r="production"},1626:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},7754:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,V:()=>s});var r=n(358),o=n(1965);function i(e,t,n,i){const s=(0,r.Cj)(n),a={sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!i&&t&&{dsn:(0,o.SB)(t)}},c="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,r.h4)(a,[c])}function s(e,t,n,o){const i=(0,r.Cj)(n),s=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=(0,r.n2)(e,i,o,t);delete e.sdkProcessingMetadata;const c=[{type:s},e];return(0,r.h4)(a,[c])}},6581:(e,t,n)=>{"use strict";n.d(t,{jB:()=>u,lG:()=>c,lb:()=>l});var r=n(2859),o=n(8336),i=n(4870),s=n(3390),a=n(1626);function c(){return(0,r.BY)("globalEventProcessors",(()=>[]))}function l(e){c().push(e)}function u(e,t,n,r=0){return new o.T2(((o,c)=>{const l=e[r];if(null===t||"function"!=typeof l)o(t);else{const d=l({...t},n);a.T&&l.id&&null===d&&i.vF.log(`Event processor "${l.id}" dropped event`),(0,s.Qg)(d)?d.then((t=>u(e,t,n,r+1).then(o))).then(null,c):u(e,d,n,r+1).then(o).then(null,c)}}))}},3827:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>p,Dp:()=>E,J0:()=>F,J5:()=>T,KU:()=>k,NA:()=>A,PN:()=>f,Q:()=>_,SE:()=>R,T$:()=>W,VN:()=>V,Wt:()=>v,ZQ:()=>I,bX:()=>N,cx:()=>C,gV:()=>G,hb:()=>S,ky:()=>Y,l7:()=>y,nb:()=>w,o:()=>b,o5:()=>H,r:()=>m,rB:()=>B,v4:()=>Z,wd:()=>h});var r=n(4870),o=n(1666),i=n(3771),s=n(3390),a=n(2859),c=n(9190),l=n(1626),u=n(5959),d=n(1912),g=n(9833);function p(e,t){return(0,u.BF)().captureException(e,(0,g.li)(t))}function h(e,t){const n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return(0,u.BF)().captureMessage(e,n,r)}function m(e,t){return(0,u.BF)().captureEvent(e,t)}function f(e){(0,u.BF)().configureScope(e)}function I(e,t){(0,u.BF)().addBreadcrumb(e,t)}function b(e,t){(0,u.BF)().setContext(e,t)}function C(e){(0,u.BF)().setExtras(e)}function y(e,t){(0,u.BF)().setExtra(e,t)}function v(e){(0,u.BF)().setTags(e)}function A(e,t){(0,u.BF)().setTag(e,t)}function G(e){(0,u.BF)().setUser(e)}function Z(...e){const t=(0,u.BF)();if(2===e.length){const[n,r]=e;return n?t.withScope((()=>(t.getStackTop().scope=n,r(n)))):t.withScope(r)}return t.withScope(e[0])}function B(e){return(0,u.fx)((()=>e((0,u.rm)())))}function S(e,t){return Z((n=>(n.setSpan(e),t(n))))}function w(e,t){return(0,u.BF)().startTransaction({...e},t)}function R(e,t){const n=H(),i=k();if(i){if(i.captureCheckIn)return i.captureCheckIn(e,t,n);l.T&&r.vF.warn("Cannot capture check-in. Client does not support sending check-ins.")}else l.T&&r.vF.warn("Cannot capture check-in. No client defined.");return(0,o.eJ)()}function W(e,t,n){const r=R({monitorSlug:e,status:"in_progress"},n),o=(0,i.zf)();function a(t){R({monitorSlug:e,status:t,checkInId:r,duration:(0,i.zf)()-o})}let c;try{c=t()}catch(e){throw a("error"),e}return(0,s.Qg)(c)?Promise.resolve(c).then((()=>{a("ok")}),(()=>{a("error")})):a("ok"),c}async function N(e){const t=k();return t?t.flush(e):(l.T&&r.vF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function V(e){const t=k();return t?t.close(e):(l.T&&r.vF.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function _(){return(0,u.BF)().lastEventId()}function k(){return(0,u.BF)().getClient()}function E(){return!!k()}function H(){return(0,u.BF)().getScope()}function F(e){const t=k(),n=(0,u.rm)(),r=H(),{release:o,environment:i=c.U}=t&&t.getOptions()||{},{userAgent:s}=a.OW.navigator||{},l=(0,d.fj)({release:o,environment:i,user:r.getUser()||n.getUser(),...s&&{userAgent:s},...e}),g=n.getSession();return g&&"ok"===g.status&&(0,d.qO)(g,{status:"exited"}),Y(),n.setSession(l),r.setSession(l),l}function Y(){const e=(0,u.rm)(),t=H(),n=t.getSession()||e.getSession();n&&(0,d.Vu)(n),X(),e.setSession(),t.setSession()}function X(){const e=(0,u.rm)(),t=H(),n=k(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function T(e=!1){e?Y():X()}},5959:(e,t,n)=>{"use strict";n.d(t,{BF:()=>b,EU:()=>f,Me:()=>B,TF:()=>v,YZ:()=>m,fx:()=>G,gM:()=>I,lq:()=>S,nX:()=>A,rm:()=>C});var r=n(3390),o=n(1666),i=n(3771),s=n(4870),a=n(2859),c=n(9190),l=n(1626),u=n(6036),d=n(1912),g=n(72);const p=parseFloat(g.M),h=100;class m{constructor(e,t,n,r=p){let o,i;this._version=r,t?o=t:(o=new u.HG,o.setClient(e)),n?i=n:(i=new u.HG,i.setClient(e)),this._stack=[{scope:o}],e&&this.bindClient(e),this._isolationScope=i}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(e){throw this.popScope(),e}return(0,r.Qg)(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,o.eJ)(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,o.eJ)(),i=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r}),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:a=h}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:(0,i.lu)(),...e},l=o?(0,s.pq)((()=>o(c,t))):c;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,a))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=I(this);try{e(this)}finally{I(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return l.T&&s.vF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);return l.T&&!n&&(this.getClient()?s.vF.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):s.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&(0,d.Vu)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:o=c.U}=n&&n.getOptions()||{},{userAgent:i}=a.OW.navigator||{},s=(0,d.fj)({release:r,environment:o,user:t.getUser(),...i&&{userAgent:i},...e}),l=t.getSession&&t.getSession();return l&&"ok"===l.status&&(0,d.qO)(l,{status:"exited"}),this.endSession(),t.setSession(s),s}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=f().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);l.T&&s.vF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function f(){return a.OW.__SENTRY__=a.OW.__SENTRY__||{extensions:{},hub:void 0},a.OW}function I(e){const t=f(),n=B(t);return S(t,e),n}function b(){const e=f();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return y(e)}function C(){return b().getIsolationScope()}function y(e=f()){return Z(e)&&!B(e).isOlderThan(p)||S(e,new m),B(e)}function v(e,t=y()){if(!Z(e)||B(e).isOlderThan(p)){const n=t.getClient(),r=t.getScope(),o=t.getIsolationScope();S(e,new m(n,r.clone(),o.clone()))}}function A(e){const t=f();t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.acs=e}function G(e,t={}){const n=f();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function Z(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function B(e){return(0,a.BY)("hub",(()=>new m),e)}function S(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}},453:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseClient:()=>G.V,DEFAULT_ENVIRONMENT:()=>L.U,FunctionToString:()=>z.$,Hub:()=>I.YZ,IdleTransaction:()=>i.zX,InboundFilters:()=>J.H,Integrations:()=>P,LinkedErrors:()=>M.l,ModuleMetadata:()=>U.Y,RequestData:()=>O.C,SDK_VERSION:()=>W.M,SEMANTIC_ATTRIBUTE_PROFILE_ID:()=>h.E1,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>h.uT,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>h.JD,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>h.sy,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>h.i_,Scope:()=>y.HG,ServerRuntimeClient:()=>Z.v,SessionFlusher:()=>C.q,Span:()=>s.L,SpanStatus:()=>l.Fp,TRACING_DEFAULTS:()=>i.Cq,Transaction:()=>a.Z,addBreadcrumb:()=>f.ZQ,addEventProcessor:()=>G.S,addGlobalEventProcessor:()=>v.lb,addIntegration:()=>N.Q8,addTracingExtensions:()=>o.U,applyScopeDataToEvent:()=>V.e2,applySdkMetadata:()=>K.K,captureCheckIn:()=>f.SE,captureEvent:()=>f.r,captureException:()=>f.Cp,captureMessage:()=>f.wd,captureSession:()=>f.J5,close:()=>f.VN,closeSession:()=>b.Vu,configureScope:()=>f.PN,continueTrace:()=>u.V4,convertIntegrationFnToClass:()=>N.F,createCheckInEnvelope:()=>k.c,createEventEnvelope:()=>m.V,createSessionEnvelope:()=>m.L,createSpanEnvelope:()=>E.l,createTransport:()=>S.o,defineIntegration:()=>N._C,endSession:()=>f.ky,ensureHubOnCarrier:()=>I.TF,extractTraceparentData:()=>c.nc,flush:()=>f.bX,functionToStringIntegration:()=>z.Z,getActiveSpan:()=>u.Bk,getActiveTransaction:()=>c.Z7,getClient:()=>f.KU,getCurrentHub:()=>I.BF,getCurrentScope:()=>f.o5,getDynamicSamplingContextFromClient:()=>d.l,getDynamicSamplingContextFromSpan:()=>d.k,getEnvelopeEndpointWithUrlEncodedAuth:()=>A.Z,getGlobalScope:()=>y.m6,getHubFromCarrier:()=>I.Me,getIntegrationsToSetup:()=>N.mH,getIsolationScope:()=>I.rm,getMainCarrier:()=>I.EU,getReportDialogEndpoint:()=>A.k,getRootSpan:()=>x.z,getSpanStatusFromHttpCode:()=>l.AJ,handleCallbackErrors:()=>Y.x,hasTracingEnabled:()=>H.w,inboundFiltersIntegration:()=>J.D,initAndBind:()=>B.J,isInitialized:()=>f.Dp,isSentryRequestUrl:()=>F.A,isValidSampleRate:()=>p.v,lastEventId:()=>f.Q,linkedErrorsIntegration:()=>M.p,makeMain:()=>I.gM,makeMultiplexedTransport:()=>R.N,makeOfflineTransport:()=>w.BP,makeSession:()=>b.fj,mergeScopeData:()=>V.Rg,metrics:()=>j.qd,moduleMetadataIntegration:()=>U.Q,notifyEventProcessors:()=>v.jB,parameterize:()=>X.y,prepareEvent:()=>_.mG,requestDataIntegration:()=>O.I,runWithAsyncContext:()=>I.fx,setAsyncContextStrategy:()=>I.nX,setContext:()=>f.o,setCurrentClient:()=>B.B,setExtra:()=>f.l7,setExtras:()=>f.cx,setGlobalScope:()=>y.ik,setHttpStatus:()=>l.N8,setHubOnCarrier:()=>I.lq,setMeasurement:()=>g.X,setTag:()=>f.NA,setTags:()=>f.Wt,setUser:()=>f.gV,spanIsSampled:()=>T.pK,spanStatusfromHttpCode:()=>l.o6,spanToJSON:()=>T.et,spanToTraceContext:()=>T.kX,spanToTraceHeader:()=>T.Qh,startActiveSpan:()=>u.D7,startIdleTransaction:()=>o.p,startInactiveSpan:()=>u.Uk,startSession:()=>f.J0,startSpan:()=>u.Lk,startSpanManual:()=>u.nV,startTransaction:()=>f.nb,trace:()=>u.uP,updateSession:()=>b.qO,withActiveSpan:()=>f.hb,withIsolationScope:()=>f.rB,withMonitor:()=>f.T$,withScope:()=>f.v4});var r={};n.r(r),n.d(r,{FunctionToString:()=>z.$,InboundFilters:()=>J.H,LinkedErrors:()=>M.l});var o=n(6515),i=n(4887),s=n(1209),a=n(5261),c=n(4064),l=n(3927),u=n(7568),d=n(5774),g=n(9197),p=n(9436),h=n(651),m=n(7754),f=n(3827),I=n(5959),b=n(1912),C=n(7563),y=n(6036),v=n(6581),A=n(456),G=n(5062),Z=n(6602),B=n(3236),S=n(4606),w=n(4684),R=n(5902),W=n(72),N=n(1234),V=n(6833),_=n(9833),k=n(119),E=n(2254),H=n(7157),F=n(3545),Y=n(7590),X=n(9855),T=n(3075),x=n(3030),K=n(3843),L=n(9190),U=n(9065),O=n(7723),J=n(2800),z=n(972),M=n(186),j=n(9573);const P=r},1234:(e,t,n)=>{"use strict";n.d(t,{F:()=>m,P$:()=>d,Q8:()=>h,_C:()=>f,lc:()=>g,mH:()=>u,qm:()=>p});var r=n(1666),o=n(4870),i=n(1626),s=n(6581),a=n(3827),c=n(5959);const l=[];function u(e){const t=e.defaultIntegrations||[],n=e.integrations;let o;t.forEach((e=>{e.isDefaultInstance=!0})),o=Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,r.k9)(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(o),s=function(e,t){for(let t=0;t<e.length;t++)if(!0==("Debug"===e[t].name))return t;return-1}(i);if(-1!==s){const[e]=i.splice(s,1);i.push(e)}return i}function d(e,t){const n={};return t.forEach((t=>{t&&p(e,t,n)})),n}function g(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function p(e,t,n){if(n[t.name])i.T&&o.vF.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===l.indexOf(t.name)&&(t.setupOnce(s.lb,c.BF),l.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),e.on&&"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}i.T&&o.vF.log(`Integration installed: ${t.name}`)}}function h(e){const t=(0,a.KU)();t&&t.addIntegration?t.addIntegration(e):i.T&&o.vF.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`)}function m(e,t){return Object.assign((function(...e){return t(...e)}),{id:e})}function f(e){return e}},972:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,Z:()=>l});var r=n(1085),o=n(3827),i=n(1234);let s;const a="FunctionToString",c=new WeakMap,l=(0,i._C)((()=>({name:a,setupOnce(){s=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,r.sp)(this),n=c.has((0,o.KU)())&&void 0!==t?t:this;return s.apply(n,e)}}catch(e){}},setup(e){c.set(e,!0)}}))),u=(0,i.F)(a,l)},2800:(e,t,n)=>{"use strict";n.d(t,{D:()=>d,H:()=>g});var r=n(4870),o=n(1666),i=n(8647),s=n(1626),a=n(1234);const c=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],l=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],u="InboundFilters",d=(0,a._C)(((e={})=>({name:u,setupOnce(){},processEvent(t,n,a){const u=a.getOptions(),d=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:c],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:l],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,u);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(s.T&&r.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,o.$X)(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];let n;e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),s.T&&0===t.length&&r.vF.error(`Could not extract message for event ${(0,o.$X)(e)}`),t}(e).some((e=>(0,i.Xr)(e,t)))}(e,t.ignoreErrors)?(s.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,o.$X)(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,i.Xr)(n,t)}(e,t.ignoreTransactions)?(s.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,o.$X)(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=p(e);return!!n&&(0,i.Xr)(n,t)}(e,t.denyUrls)?(s.T&&r.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,o.$X)(e)}.\nUrl: ${p(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=p(e);return!n||(0,i.Xr)(n,t)}(e,t.allowUrls)&&(s.T&&r.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,o.$X)(e)}.\nUrl: ${p(e)}`),!0)}(t,d)?null:t}}))),g=(0,a.F)(u,d);function p(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return s.T&&r.vF.error(`Cannot extract url for event ${(0,o.$X)(e)}`),null}}},186:(e,t,n)=>{"use strict";n.d(t,{l:()=>c,p:()=>a});var r=n(7931),o=n(8161),i=n(1234);const s="LinkedErrors",a=(0,i._C)(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:s,setupOnce(){},preprocessEvent(e,i,s){const a=s.getOptions();(0,r.Q)(o.K8,a.stackParser,a.maxValueLength,n,t,e,i)}}})),c=(0,i.F)(s,a)},9065:(e,t,n)=>{"use strict";n.d(t,{Y:()=>d,Q:()=>u});var r=n(358),o=n(1234),i=n(2859);const s=new Map,a=new Set;function c(e,t){return function(e){if(i.OW._sentryModuleMetadata)for(const t of Object.keys(i.OW._sentryModuleMetadata)){const n=i.OW._sentryModuleMetadata[t];if(a.has(t))continue;a.add(t);const r=e(t);for(const e of r.reverse())if(e.filename){s.set(e.filename,n);break}}}(e),s.get(t)}const l="ModuleMetadata",u=(0,o._C)((()=>({name:l,setupOnce(){},setup(e){"function"==typeof e.on&&e.on("beforeEnvelope",(e=>{(0,r.yH)(e,((e,t)=>{if("event"===t){const t=Array.isArray(e)?e[1]:void 0;t&&(function(e){try{e.exception.values.forEach((e=>{if(e.stacktrace)for(const t of e.stacktrace.frames||[])delete t.module_metadata}))}catch(e){}}(t),e[1]=t)}}))}))},processEvent:(e,t,n)=>(function(e,t){try{t.exception.values.forEach((t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[]){if(!n.filename)continue;const t=c(e,n.filename);t&&(n.module_metadata=t)}}))}catch(e){}}(n.getOptions().stackParser,e),e)}))),d=(0,o.F)(l,u)},7723:(e,t,n)=>{"use strict";n.d(t,{C:()=>l,I:()=>c});var r=n(2471),o=n(1234),i=n(3075);const s={include:{cookies:!0,data:!0,headers:!0,ip:!1,query_string:!0,url:!0,user:{id:!0,username:!0,email:!0}},transactionNamingScheme:"methodPath"},a="RequestData",c=(0,o._C)(((e={})=>{const t=r.GY,n={...s,...e,include:{method:!0,...s.include,...e.include,user:e.include&&"boolean"==typeof e.include.user?e.include.user:{...s.include.user,...(e.include||{}).user}}};return{name:a,setupOnce(){},processEvent(e,o,s){const{transactionNamingScheme:a}=n,{sdkProcessingMetadata:c={}}=e,l=c.request;if(!l)return e;const u=c.requestDataOptionsFromExpressHandler||c.requestDataOptionsFromGCPWrapper||function(e){const{transactionNamingScheme:t,include:{ip:n,user:r,...o}}=e,i=[];for(const[e,t]of Object.entries(o))t&&i.push(e);let s;if(void 0===r)s=!0;else if("boolean"==typeof r)s=r;else{const e=[];for(const[t,n]of Object.entries(r))n&&e.push(t);s=e}return{include:{ip:n,user:s,request:0!==i.length?i:void 0,transaction:t}}}(n),d=t(e,l,u);if("transaction"===e.type||"handler"===a)return d;const g=l._sentryTransaction;if(g){const e=(0,i.et)(g).description||"",t="sentry.javascript.nextjs"===function(e){try{return e.getOptions()._metadata.sdk.name}catch(e){return}}(s)?e.startsWith("/api"):"path"!==a,[n]=(0,r.Up)(l,{path:!0,method:t,customRoute:e});d.transaction=n}return d}}})),l=(0,o.F)(a,c)},9487:(e,t,n)=>{"use strict";n.d(t,{K3:()=>l,TP:()=>c,bD:()=>r,co:()=>o,fN:()=>i,vR:()=>s,yQ:()=>a});const r="c",o="g",i="s",s="d",a=5e3,c=1e4,l=1e4},9573:(e,t,n)=>{"use strict";n.d(t,{qd:()=>I});var r=n(4870),o=n(1626),i=n(3827),s=n(3075),a=n(9487),c=n(1234),l=n(3771),u=n(8923),d=n(6017),g=n(4351);class p{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval((()=>this.flush()),a.yQ)}add(e,t,n,r="none",o={},i=(0,l.zf)()){const s=Math.floor(i),c=(0,g.T3)(t),p=(0,g.VZ)(o),h=(0,g.Mz)(r),m=(0,g.eG)(e,c,h,p);let f=this._buckets.get(m);const I=f&&e===a.fN?f.metric.weight:0;f?(f.metric.add(n),f.timestamp<s&&(f.timestamp=s)):(f={metric:new u.wz[e](n),timestamp:s,metricType:e,name:c,unit:h,tags:p},this._buckets.set(m,f));const b="string"==typeof n?f.metric.weight-I:n;(0,d.r)(e,c,b,h,o,m)}flush(){if(0!==this._buckets.size){if(this._client.captureAggregateMetrics){const e=Array.from(this._buckets).map((([,e])=>e));this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}const h="MetricsAggregator",m=(0,c._C)((()=>({name:h,setupOnce(){},setup(e){e.metricsAggregator=new p(e)}})));function f(e,t,n,a={}){const c=(0,i.KU)(),l=(0,i.o5)();if(c){if(!c.metricsAggregator)return void(o.T&&r.vF.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs"));const{unit:i,tags:u,timestamp:d}=a,{release:g,environment:p}=c.getOptions(),h=l.getTransaction(),m={};g&&(m.release=g),p&&(m.environment=p),h&&(m.transaction=(0,s.et)(h).description||""),o.T&&r.vF.log(`Adding value of ${n} to ${e} metric ${t}`),c.metricsAggregator.add(e,t,n,i,{...m,...u},d)}}const I={increment:function(e,t=1,n){f(a.bD,e,t,n)},distribution:function(e,t,n){f(a.vR,e,t,n)},set:function(e,t,n){f(a.fN,e,t,n)},gauge:function(e,t,n){f(a.co,e,t,n)},MetricsAggregator:(0,c.F)(h,m),metricsAggregatorIntegration:m}},8923:(e,t,n)=>{"use strict";n.d(t,{wz:()=>i});var r=n(9487),o=n(4351);const i={[r.bD]:class{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}},[r.co]:class{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}},[r.vR]:class{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}},[r.fN]:class{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map((e=>"string"==typeof e?(0,o.tx)(e):e)).join(":")}}}},6017:(e,t,n)=>{"use strict";n.d(t,{g:()=>a,r:()=>c});var r=n(1085),o=n(7568);let i;function s(e){return i?i.get(e):void 0}function a(e){const t=s(e);if(!t)return;const n={};for(const[,[e,o]]of t)n[e]||(n[e]=[]),n[e].push((0,r.Ce)(o));return n}function c(e,t,n,r,a,c){const l=(0,o.Bk)();if(l){const o=s(l)||new Map,u=`${e}:${t}@${r}`,d=o.get(c);if(d){const[,e]=d;o.set(c,[u,{min:Math.min(e.min,n),max:Math.max(e.max,n),count:e.count+=1,sum:e.sum+=n,tags:e.tags}])}else o.set(c,[u,{min:n,max:n,count:1,sum:n,tags:a}]);i||(i=new WeakMap),i.set(l,o)}}},4351:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>a,T3:()=>c,VZ:()=>d,eG:()=>o,ik:()=>s,tx:()=>i});var r=n(1085);function o(e,t,n,o){return`${e}${t}${n}${Object.entries((0,r.Ce)(o)).sort(((e,t)=>e[0].localeCompare(t[0])))}`}function i(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t>>>0}function s(e){let t="";for(const n of e){const e=Object.entries(n.tags),r=e.length>0?`|#${e.map((([e,t])=>`${e}:${t}`)).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp}\n`}return t}function a(e){return e.replace(/[^\w]+/gi,"_")}function c(e){return e.replace(/[^\w\-.]+/gi,"_")}function l(e){return e.replace(/[^\w\-./]+/gi,"")}const u=[["\n","\\n"],["\r","\\r"],["\t","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function d(e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[l(r)]=(n=String(e[r]),[...n].reduce(((e,t)=>e+function(e){for(const[t,n]of u)if(e===t)return n;return e}(t)),"")));var n;return t}},6036:(e,t,n)=>{"use strict";n.d(t,{HG:()=>d,ik:()=>p,m6:()=>g});var r=n(3390),o=n(3771),i=n(1666),s=n(4870),a=n(6581),c=n(1912),l=n(6833);let u;class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=h()}static clone(e){return e?e.clone():new d}clone(){const e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&(0,c.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e;if(t instanceof d){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if((0,r.Qd)(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=h(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,o.lu)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:o,_user:i,_level:s,_fingerprint:a,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:u,_transactionName:d,_span:g}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:o,user:i,level:s,fingerprint:a||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:u,transactionName:d,span:g}}applyToEvent(e,t={},n=[]){(0,l.e2)(e,this.getScopeData());const r=[...n,...(0,a.lG)(),...this._eventProcessors];return(0,a.jB)(r,e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:(0,i.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture message!"),r;const o=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(s.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function g(){return u||(u=new d),u}function p(e){u=e}function h(){return{traceId:(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}},3236:(e,t,n)=>{"use strict";n.d(t,{B:()=>c,J:()=>a});var r=n(4870),o=n(1626),i=n(3827),s=n(5959);function a(e,t){!0===t.debug&&(o.T?r.vF.enable():(0,r.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),(0,i.o5)().update(t.initialScope);const n=new e(t);c(n),function(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}(n)}function c(e){const t=(0,s.BF)().getStackTop();t.client=e,t.scope.setClient(e)}},651:(e,t,n)=>{"use strict";n.d(t,{E1:()=>a,JD:()=>s,i_:()=>r,sy:()=>o,uT:()=>i});const r="sentry.source",o="sentry.sample_rate",i="sentry.op",s="sentry.origin",a="profile_id"},6602:(e,t,n)=>{"use strict";n.d(t,{v:()=>A});var r=n(8336),o=n(8161),i=n(4870),s=n(1666),a=n(5062),c=n(119),l=n(1626),u=n(3827),d=n(3771),g=n(9487),p=n(8923),h=n(6017),m=n(4351);class f{constructor(e){this._client=e,this._buckets=new Map,this._bucketsTotalWeight=0,this._interval=setInterval((()=>this._flush()),g.TP),this._interval.unref&&this._interval.unref(),this._flushShift=Math.floor(Math.random()*g.TP/1e3),this._forceFlush=!1}add(e,t,n,r="none",o={},i=(0,d.zf)()){const s=Math.floor(i),a=(0,m.T3)(t),c=(0,m.VZ)(o),l=(0,m.Mz)(r),u=(0,m.eG)(e,a,l,c);let f=this._buckets.get(u);const I=f&&e===g.fN?f.metric.weight:0;f?(f.metric.add(n),f.timestamp<s&&(f.timestamp=s)):(f={metric:new p.wz[e](n),timestamp:s,metricType:e,name:a,unit:l,tags:c},this._buckets.set(u,f));const b="string"==typeof n?f.metric.weight-I:n;(0,h.r)(e,a,b,l,o,u),this._bucketsTotalWeight+=f.metric.weight,this._bucketsTotalWeight>=g.K3&&this.flush()}flush(){this._forceFlush=!0,this._flush()}close(){this._forceFlush=!0,clearInterval(this._interval),this._flush()}_flush(){if(this._forceFlush)return this._forceFlush=!1,this._bucketsTotalWeight=0,this._captureMetrics(this._buckets),void this._buckets.clear();const e=Math.floor((0,d.zf)())-g.TP/1e3-this._flushShift,t=new Map;for(const[n,r]of this._buckets)r.timestamp<=e&&(t.set(n,r),this._bucketsTotalWeight-=r.metric.weight);for(const[e]of t)this._buckets.delete(e);this._captureMetrics(t)}_captureMetrics(e){if(e.size>0&&this._client.captureAggregateMetrics){const t=Array.from(e).map((([,e])=>e));this._client.captureAggregateMetrics(t)}}}var I=n(7563),b=n(6515),C=n(3075),y=n(3030),v=n(5774);class A extends a.V{constructor(e){(0,b.U)(),super(e),e._experiments&&e._experiments.metricsAggregator&&(this.metricsAggregator=new f(this))}eventFromException(e,t){return(0,r.XW)((0,o.H7)((0,u.KU)(),this._options.stackParser,e,t))}eventFromMessage(e,t="info",n){return(0,r.XW)((0,o.qv)(this._options.stackParser,e,t,n,this._options.attachStacktrace))}captureException(e,t,n){if(this._options.autoSessionTracking&&this._sessionFlusher&&n){const e=n.getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureException(e,t,n)}captureEvent(e,t,n){if(this._options.autoSessionTracking&&this._sessionFlusher&&n&&"exception"===(e.type||"exception")&&e.exception&&e.exception.values&&e.exception.values.length>0){const e=n.getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureEvent(e,t,n)}close(e){return this._sessionFlusher&&this._sessionFlusher.close(),super.close(e)}initSessionFlusher(){const{release:e,environment:t}=this._options;e?this._sessionFlusher=new I.q(this,{release:e,environment:t}):l.T&&i.vF.warn("Cannot initialise an instance of SessionFlusher if no release is provided!")}captureCheckIn(e,t,n){const r="checkInId"in e&&e.checkInId?e.checkInId:(0,s.eJ)();if(!this._isEnabled())return l.T&&i.vF.warn("SDK not enabled, will not capture checkin."),r;const o=this.getOptions(),{release:a,environment:u,tunnel:d}=o,g={check_in_id:r,monitor_slug:e.monitorSlug,status:e.status,release:a,environment:u};"duration"in e&&(g.duration=e.duration),t&&(g.monitor_config={schedule:t.schedule,checkin_margin:t.checkinMargin,max_runtime:t.maxRuntime,timezone:t.timezone});const[p,h]=this._getTraceInfoFromScope(n);h&&(g.contexts={trace:h});const m=(0,c.c)(g,p,this.getSdkMetadata(),d,this.getDsn());return l.T&&i.vF.info("Sending checkin:",e.monitorSlug,e.status),this._sendEnvelope(m),r}_captureRequestSession(){this._sessionFlusher?this._sessionFlusher.incrementSessionStatusCount():l.T&&i.vF.warn("Discarded request mode session because autoSessionTracking option was disabled")}_prepareEvent(e,t,n,r){return this._options.platform&&(e.platform=e.platform||this._options.platform),this._options.runtime&&(e.contexts={...e.contexts,runtime:(e.contexts||{}).runtime||this._options.runtime}),this._options.serverName&&(e.server_name=e.server_name||this._options.serverName),super._prepareEvent(e,t,n,r)}_getTraceInfoFromScope(e){if(!e)return[void 0,void 0];const t=e.getSpan();if(t)return[(0,y.z)(t)?(0,v.k)(t):void 0,(0,C.kX)(t)];const{traceId:n,spanId:r,parentSpanId:o,dsc:i}=e.getPropagationContext(),s={trace_id:n,span_id:r,parent_span_id:o};return i?[i,s]:[(0,v.l)(n,this,e),s]}}},1912:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>c,fj:()=>s,qO:()=>a});var r=n(3771),o=n(1666),i=n(1085);function s(e){const t=(0,r.zf)(),n={sid:(0,o.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,i.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&a(n,e),n}function a(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,r.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function c(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),a(e,n)}},7563:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(1085),o=n(3827);class i{constructor(e,t){this._client=e,this.flushTimeout=60,this._pendingAggregates={},this._isEnabled=!0,this._intervalId=setInterval((()=>this.flush()),1e3*this.flushTimeout),this._intervalId.unref&&this._intervalId.unref(),this._sessionAttrs=t}flush(){const e=this.getSessionAggregates();0!==e.aggregates.length&&(this._pendingAggregates={},this._client.sendSession(e))}getSessionAggregates(){const e=Object.keys(this._pendingAggregates).map((e=>this._pendingAggregates[parseInt(e)])),t={attrs:this._sessionAttrs,aggregates:e};return(0,r.Ce)(t)}close(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()}incrementSessionStatusCount(){if(!this._isEnabled)return;const e=(0,o.o5)(),t=e.getRequestSession();t&&t.status&&(this._incrementSessionStatusCount(t.status,new Date),e.setRequestSession(void 0))}_incrementSessionStatusCount(e,t){const n=new Date(t).setSeconds(0,0);this._pendingAggregates[n]=this._pendingAggregates[n]||{};const r=this._pendingAggregates[n];switch(r.started||(r.started=new Date(n).toISOString()),e){case"errored":return r.errored=(r.errored||0)+1,r.errored;case"ok":return r.exited=(r.exited||0)+1,r.exited;default:return r.crashed=(r.crashed||0)+1,r.crashed}}}},2254:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(1965),o=n(358);function i(e,t){const n={sent_at:(new Date).toISOString()};t&&(n.dsn=(0,r.SB)(t));const i=e.map(s);return(0,o.h4)(n,i)}function s(e){return[{type:"span"},e]}},5774:(e,t,n)=>{"use strict";n.d(t,{k:()=>l,l:()=>c});var r=n(1085),o=n(9190),i=n(3827),s=n(3030),a=n(3075);function c(e,t,n){const i=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:a}=n&&n.getUser()||{},c=(0,r.Ce)({environment:i.environment||o.U,release:i.release,user_segment:a,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",c),c}function l(e){const t=(0,i.KU)();if(!t)return{};const n=c((0,a.et)(e).trace_id||"",t,(0,i.o5)()),r=(0,s.z)(e);if(!r)return n;const o=r&&r._frozenDynamicSamplingContext;if(o)return o;const{sampleRate:l,source:u}=r.metadata;null!=l&&(n.sample_rate=`${l}`);const d=(0,a.et)(r);return u&&"url"!==u&&(n.transaction=d.description),n.sampled=String((0,a.pK)(r)),t.emit&&t.emit("createDsc",n),n}},6515:(e,t,n)=>{"use strict";n.d(t,{U:()=>b,p:()=>I});var r=n(4870),o=n(1626),i=n(5959),s=n(3075),a=n(2775),c=n(7383),l=n(4064);let u=!1;function d(){const e=(0,l.Z7)();if(e){const t="internal_error";o.T&&r.vF.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}d.tag="sentry_tracingErrorCallback";var g=n(4887),p=n(9436),h=n(5261);function m(){const e=this.getScope().getSpan();return e?{"sentry-trace":(0,s.Qh)(e)}:{}}function f(e,t){const n=this.getClient(),i=n&&n.getOptions()||{},s=i.instrumenter||"sentry",a=e.instrumenter||"sentry";s!==a&&(o.T&&r.vF.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${s}\` instrumenter.\nThe transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`),e.sampled=!1);let c=new h.Z(e,this);return c=(0,p.T)(c,i,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),c.isRecording()&&c.initSpanRecorder(i._experiments&&i._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",c),c}function I(e,t,n,r,o,i,s,a=!1){const c=e.getClient(),l=c&&c.getOptions()||{};let u=new g.zX(t,e,n,r,s,o,a);return u=(0,p.T)(u,l,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...i}),u.isRecording()&&u.initSpanRecorder(l._experiments&&l._experiments.maxSpans),c&&c.emit&&c.emit("startTransaction",u),u}function b(){const e=(0,i.EU)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=f),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=m),u||(u=!0,(0,a.L)(d),(0,c.r)(d)))}},4887:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>l,zX:()=>g});var r=n(4870),o=n(3771),i=n(1626),s=n(3075),a=n(1209),c=n(5261);const l={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},u=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class d extends a.l{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){const t=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),t.apply(e,n)),void 0===(0,s.et)(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class g extends c.Z{constructor(e,t,n=l.idleTimeout,o=l.finalTimeout,s=l.heartbeatInterval,a=!1,c=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=o,this._heartbeatInterval=s,this._onScope=a,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=u[4],this._autoFinishAllowed=!c,a&&(i.T&&r.vF.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),c||this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=u[3],this.end())}),this._finalTimeout)}end(e){const t=(0,s.cI)(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){i.T&&r.vF.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;(0,s.et)(e).timestamp||(e.setStatus("cancelled"),e.end(t),i.T&&r.vF.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const{start_timestamp:n,timestamp:o}=(0,s.et)(e),a=n&&n<t,c=(this._finalTimeout+this._idleTimeout)/1e3,l=o&&n&&o-n<c;if(i.T){const t=JSON.stringify(e,void 0,2);a?l||r.vF.log("[Tracing] discarding Span since it finished after Transaction final timeout",t):r.vF.log("[Tracing] discarding Span since it happened after Transaction was finished",t)}return a&&l})),i.T&&r.vF.log("[Tracing] flushing IdleTransaction")}else i.T&&r.vF.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new d(t,n,this.spanContext().spanId,e),i.T&&r.vF.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=u[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(i.T&&r.vF.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=u[1],this.end(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),i.T&&r.vF.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,i.T&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(i.T&&r.vF.log(`[Tracing] popActivity ${e}`),delete this.activities[e],i.T&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=(0,o.zf)();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=u[5],this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(i.T&&r.vF.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=u[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){i.T&&r.vF.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}},9197:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(4064);function o(e,t,n){const o=(0,r.Z7)();o&&o.setMeasurement(e,t,n)}},9436:(e,t,n)=>{"use strict";n.d(t,{T:()=>l,v:()=>u});var r=n(4870),o=n(3390),i=n(1626),s=n(651),a=n(7157),c=n(3075);function l(e,t,n){if(!(0,a.w)(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setAttribute(s.sy,Number(e.sampled)),e;let o;return"function"==typeof t.tracesSampler?(o=t.tracesSampler(n),e.setAttribute(s.sy,Number(o))):void 0!==n.parentSampled?o=n.parentSampled:void 0!==t.tracesSampleRate?(o=t.tracesSampleRate,e.setAttribute(s.sy,Number(o))):(o=1,e.setAttribute(s.sy,o)),u(o)?o?(e.sampled=Math.random()<o,e.sampled?(i.T&&r.vF.log(`[Tracing] starting ${e.op} transaction - ${(0,c.et)(e).description}`),e):(i.T&&r.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),e)):(i.T&&r.vF.log("[Tracing] Discarding transaction because "+("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(i.T&&r.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function u(e){return(0,o.yr)(e)||"number"!=typeof e&&"boolean"!=typeof e?(i.T&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!(e<0||e>1)||(i.T&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1)}},1209:(e,t,n)=>{"use strict";n.d(t,{L:()=>h,l:()=>p});var r=n(1666),o=n(3771),i=n(4870),s=n(1085),a=n(1626),c=n(6017),l=n(651),u=n(3030),d=n(3075),g=n(3927);class p{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class h{constructor(e={}){this._traceId=e.traceId||(0,r.eJ)(),this._spanId=e.spanId||(0,r.eJ)().substring(16),this._startTime=e.startTimestamp||(0,o.zf)(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[l.JD]:e.origin||"manual",[l.uT]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[l.uT]}set op(e){this.setAttribute(l.uT,e)}get origin(){return this._attributes[l.JD]}set origin(e){this.setAttribute(l.JD,e)}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?d.aO:d.CC}}startChild(e){const t=new h({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);const n=(0,u.z)(this);if(t.transaction=n,a.T&&n){const r=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${(0,d.et)(t).description||"< unknown name >"}' (${n.spanContext().spanId}).`;i.vF.log(r),this._logMessage=r}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}setStatus(e){return this._status=e,this}setHttpStatus(e){return(0,g.N8)(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;const t=(0,u.z)(this);if(a.T&&t&&t.spanContext().spanId!==this._spanId){const e=this._logMessage;e&&i.vF.log(e.replace("Starting","Finishing"))}this._endTime=(0,d.cI)(e)}toTraceparent(){return(0,d.Qh)(this)}toContext(){return(0,s.Ce)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return(0,d.kX)(this)}getSpanJSON(){return(0,s.Ce)({data:this._getData(),description:this._name,op:this._attributes[l.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[l.JD],_metrics_summary:(0,c.g)(this),profile_id:this._attributes[l.E1],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:t}=this,n=Object.keys(e).length>0,r=Object.keys(t).length>0;if(n||r)return n&&r?{...e,...t}:n?e:t}}},3927:(e,t,n)=>{"use strict";var r;function o(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}n.d(t,{AJ:()=>o,Fp:()=>r,N8:()=>s,o6:()=>i}),function(e){e.Ok="ok",e.DeadlineExceeded="deadline_exceeded",e.Unauthenticated="unauthenticated",e.PermissionDenied="permission_denied",e.NotFound="not_found",e.ResourceExhausted="resource_exhausted",e.InvalidArgument="invalid_argument",e.Unimplemented="unimplemented",e.Unavailable="unavailable",e.InternalError="internal_error",e.UnknownError="unknown_error",e.Cancelled="cancelled",e.AlreadyExists="already_exists",e.FailedPrecondition="failed_precondition",e.Aborted="aborted",e.OutOfRange="out_of_range",e.DataLoss="data_loss"}(r||(r={}));const i=o;function s(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=o(t);"unknown_error"!==n&&e.setStatus(n)}},7568:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>b,D7:()=>m,Lb:()=>Z,Lk:()=>h,Uk:()=>I,V4:()=>C,nV:()=>f,uP:()=>p});var r=n(3098),o=n(4870),i=n(1085),s=n(1626),a=n(5959),c=n(3075),l=n(5774),u=n(3827),d=n(7590),g=n(7157);function p(e,t,n=(()=>{}),r=(()=>{})){const o=(0,a.BF)(),i=(0,u.o5)(),s=i.getSpan(),c=v(e),l=y(o,{parentSpan:s,spanContext:c,forceTransaction:!1,scope:i});return i.setSpan(l),(0,d.x)((()=>t(l)),(e=>{l&&l.setStatus("internal_error"),n(e,l)}),(()=>{l&&l.end(),i.setSpan(s),r()}))}function h(e,t){const n=v(e);return(0,a.fx)((()=>(0,u.v4)(e.scope,(r=>{const o=(0,a.BF)(),i=r.getSpan(),s=e.onlyIfParent&&!i?void 0:y(o,{parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r});return(0,d.x)((()=>t(s)),(()=>{if(s){const{status:e}=(0,c.et)(s);e&&"ok"!==e||s.setStatus("internal_error")}}),(()=>s&&s.end()))}))))}const m=h;function f(e,t){const n=v(e);return(0,a.fx)((()=>(0,u.v4)(e.scope,(r=>{const o=(0,a.BF)(),i=r.getSpan(),s=e.onlyIfParent&&!i?void 0:y(o,{parentSpan:i,spanContext:n,forceTransaction:e.forceTransaction,scope:r});function l(){s&&s.end()}return(0,d.x)((()=>t(s,l)),(()=>{if(s&&s.isRecording()){const{status:e}=(0,c.et)(s);e&&"ok"!==e||s.setStatus("internal_error")}}))}))))}function I(e){if(!(0,g.w)())return;const t=v(e),n=(0,a.BF)(),r=e.scope?e.scope.getSpan():b();if(e.onlyIfParent&&!r)return;const o=(e.scope||(0,u.o5)()).clone();return y(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:o})}function b(){return(0,u.o5)().getSpan()}const C=({sentryTrace:e,baggage:t},n)=>{const c=(0,u.o5)(),{traceparentData:l,dynamicSamplingContext:d,propagationContext:g}=(0,r.E0)(e,t);c.setPropagationContext(g),s.T&&l&&o.vF.log(`[Tracing] Continuing trace ${l.traceId}.`);const p={...l,metadata:(0,i.Ce)({dynamicSamplingContext:d})};return n?(0,a.fx)((()=>n(p))):p};function y(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:o}){if(!(0,g.w)())return;const s=(0,a.rm)();let u;if(t&&!r)u=t.startChild(n);else if(t){const r=(0,l.k)(t),{traceId:o,spanId:i}=t.spanContext(),s=(0,c.pK)(t);u=e.startTransaction({traceId:o,parentSpanId:i,parentSampled:s,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}else{const{traceId:t,dsc:r,parentSpanId:i,sampled:a}={...s.getPropagationContext(),...o.getPropagationContext()};u=e.startTransaction({traceId:t,parentSpanId:i,parentSampled:a,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}return o.setSpan(u),function(e,t,n){e&&((0,i.my)(e,G,n),(0,i.my)(e,A,t))}(u,o,s),u}function v(e){if(e.startTime){const t={...e};return t.startTimestamp=(0,c.cI)(e.startTime),delete t.startTime,t}return e}const A="_sentryScope",G="_sentryIsolationScope";function Z(e){return{scope:e[A],isolationScope:e[G]}}},5261:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(1085),o=n(4870),i=n(1626),s=n(5959),a=n(6017),c=n(651),l=n(3075),u=n(5774),d=n(1209),g=n(7568);class p extends d.L{constructor(e,t){super(e),this._contexts={},this._hub=t||(0,s.BF)(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[c.i_]&&{source:this._attributes[c.i_]},...this._attributes[c.sy]&&{sampleRate:this._attributes[c.sy]}}}set metadata(e){this._metadata=e}setName(e,t="custom"){this._name=e,this.setAttribute(c.i_,t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new d.l(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){const t=(0,l.cI)(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){const e=super.toContext();return(0,r.Ce)({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return(0,u.k)(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(i.T&&o.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled)return i.T&&o.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&(0,l.et)(e).timestamp)):[];if(this._trimEnd&&n.length>0){const e=n.map((e=>(0,l.et)(e).timestamp)).filter(Boolean);this._endTime=e.reduce(((e,t)=>e>t?e:t))}const{scope:s,isolationScope:c}=(0,g.Lb)(this),{metadata:d}=this,{source:p}=d,h={contexts:{...this._contexts,trace:(0,l.kX)(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...d,capturedSpanScope:s,capturedSpanIsolationScope:c,...(0,r.Ce)({dynamicSamplingContext:(0,u.k)(this)})},_metrics_summary:(0,a.g)(this),...p&&{transaction_info:{source:p}}};return Object.keys(this._measurements).length>0&&(i.T&&o.vF.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),h.measurements=this._measurements),i.T&&o.vF.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),h}}},4064:(e,t,n)=>{"use strict";n.d(t,{Z7:()=>i,nc:()=>s});var r=n(3098),o=n(5959);function i(e){return(e||(0,o.BF)()).getScope().getTransaction()}const s=r.nc},4606:(e,t,n)=>{"use strict";n.d(t,{o:()=>d});var r=n(8731),o=n(358),i=n(413),s=n(8336),a=n(4870),c=n(7402),l=n(1626);const u=30;function d(e,t,n=(0,r.C)(e.bufferSize||u)){let d={};function p(r){const u=[];if((0,o.yH)(r,((t,n)=>{const r=(0,o.zk)(n);if((0,i.Jz)(d,r)){const o=g(t,n);e.recordDroppedEvent("ratelimit_backoff",r,o)}else u.push(t)})),0===u.length)return(0,s.XW)();const p=(0,o.h4)(r[0],u),h=t=>{(0,o.yH)(p,((n,r)=>{const i=g(n,r);e.recordDroppedEvent(t,(0,o.zk)(r),i)}))};return n.add((()=>t({body:(0,o.bN)(p,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&l.T&&a.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),d=(0,i.wq)(d,e),e)),(e=>{throw h("network_error"),e})))).then((e=>e),(e=>{if(e instanceof c.U)return l.T&&a.vF.error("Skipped sending event because buffer is full."),h("queue_overflow"),(0,s.XW)();throw e}))}return p.__sentry__baseTransport__=!0,{send:p,flush:e=>n.drain(e)}}function g(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}},5902:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(358),o=n(1965),i=n(456);function s(e,t){let n;return(0,r.yH)(e,((e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n))),n}function a(e,t){return n=>{const r=e(n),a={};function c(t,r){const c=r?`${t}:${r}`:t;if(!a[c]){const l=(0,o.hH)(t);if(!l)return;const u=(0,i.Z)(l);a[c]=r?function(e,t){return n=>{const r=e(n);return{send:async e=>{const n=s(e,["event","transaction","profile","replay_event"]);return n&&(n.release=t),r.send(e)},flush:e=>r.flush(e)}}}(e,r)({...n,url:u}):e({...n,url:u})}return a[c]}return{send:async function(e){const n=t({envelope:e,getEvent:function(t){const n=t&&t.length?t:["event"];return s(e,n)}}).map((e=>"string"==typeof e?c(e,void 0):c(e.dsn,e.release))).filter((e=>!!e));return 0===n.length&&n.push(r),(await Promise.all(n.map((t=>t.send(e)))))[0]},flush:async function(e){const t=[...Object.keys(a).map((e=>a[e])),r];return(await Promise.all(t.map((t=>t.flush(e))))).every((e=>e))}}}}},4684:(e,t,n)=>{"use strict";n.d(t,{BP:()=>d});var r=n(4870),o=n(358),i=n(413),s=n(1626);const a=100,c=5e3,l=36e5;function u(e,t){s.T&&r.vF.info(`[Offline]: ${e}`,t)}function d(e){return t=>{const n=e(t),r=t.createStore?t.createStore(t):void 0;let s,d=c;function g(e){r&&(s&&clearTimeout(s),s=setTimeout((async()=>{s=void 0;const e=await r.pop();e&&(u("Attempting to send previously queued event"),h(e).catch((e=>{u("Failed to retry sending",e)})))}),e),"number"!=typeof s&&s.unref&&s.unref())}function p(){s||(g(d),d=Math.min(2*d,l))}async function h(e){try{const t=await n.send(e);let r=a;if(t)if(t.headers&&t.headers["retry-after"])r=(0,i.FA)(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t;return g(r),d=c,t}catch(n){if(r&&await function(e,n,r){return!(0,o.hP)(e,["replay_event","replay_recording","client_report"])&&(!t.shouldStore||t.shouldStore(e,n,r))}(e,n,d))return await r.insert(e),p(),u("Error sending. Event queued",n),{};throw n}}return t.flushAtStartup&&p(),{send:h,flush:e=>n.flush(e)}}}},6833:(e,t,n)=>{"use strict";n.d(t,{Rg:()=>l,e2:()=>c});var r=n(1085),o=n(1666),i=n(5774),s=n(3030),a=n(3075);function c(e,t){const{fingerprint:n,span:c,breadcrumbs:l,sdkProcessingMetadata:u}=t;!function(e,t){const{extra:n,tags:o,user:i,contexts:s,level:a,transactionName:c}=t,l=(0,r.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const u=(0,r.Ce)(o);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const d=(0,r.Ce)(i);d&&Object.keys(d).length&&(e.user={...d,...e.user});const g=(0,r.Ce)(s);g&&Object.keys(g).length&&(e.contexts={...g,...e.contexts}),a&&(e.level=a),c&&(e.transaction=c)}(e,t),c&&function(e,t){e.contexts={trace:(0,a.kX)(t),...e.contexts};const n=(0,s.z)(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:(0,i.k)(t),...e.sdkProcessingMetadata};const r=(0,a.et)(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,c),function(e,t){e.fingerprint=e.fingerprint?(0,o.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,l),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,u)}function l(e,t){const{extra:n,tags:r,user:o,contexts:i,level:s,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:d,attachments:g,propagationContext:p,transactionName:h,span:m}=t;u(e,"extra",n),u(e,"tags",r),u(e,"user",o),u(e,"contexts",i),u(e,"sdkProcessingMetadata",a),s&&(e.level=s),h&&(e.transactionName=h),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),g.length&&(e.attachments=[...e.attachments,...g]),e.propagationContext={...e.propagationContext,...p}}function u(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}},3030:(e,t,n)=>{"use strict";function r(e){return e.transaction}n.d(t,{z:()=>r})},7590:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(3390);function o(e,t,n=(()=>{})){let o;try{o=e()}catch(e){throw t(e),n(),e}return function(e,t,n){return(0,r.Qg)(e)?e.then((e=>(n(),e)),(e=>{throw t(e),n(),e})):(n(),e)}(o,t,n)}},7157:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(3827);function o(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=(0,r.KU)(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},3545:(e,t,n)=>{"use strict";function r(e,t){const n=t&&function(e){return void 0!==e.getClient}(t)?t.getClient():t,r=n&&n.getDsn(),i=n&&n.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,r)||function(e,t){return!!t&&o(e)===o(t)}(e,i)}function o(e){return"/"===e[e.length-1]?e.slice(0,-1):e}n.d(t,{A:()=>r})},9855:(e,t,n)=>{"use strict";function r(e,...t){const n=new String(String.raw(e,...t));return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n}n.d(t,{y:()=>r})},9833:(e,t,n)=>{"use strict";n.d(t,{li:()=>m,mG:()=>p});var r=n(1666),o=n(3771),i=n(8647),s=n(2859),a=n(9659),c=n(9190),l=n(6581),u=n(6036),d=n(6833),g=n(3075);function p(e,t,n,p,m,f){const{normalizeDepth:I=3,normalizeMaxBreadth:b=1e3}=e,C={...t,event_id:t.event_id||n.event_id||(0,r.eJ)(),timestamp:t.timestamp||(0,o.lu)()},y=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:o,maxValueLength:s=250}=t;"environment"in e||(e.environment="environment"in t?n:c.U),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=(0,i.xv)(e.message,s));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=(0,i.xv)(a.value,s));const l=e.request;l&&l.url&&(l.url=(0,i.xv)(l.url,s))}(C,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(C,y),void 0===t.type&&function(e,t){const n=s.OW._sentryDebugIds;if(!n)return;let r;const o=h.get(t);o?r=o:(r=new Map,h.set(t,r));const i=Object.keys(n).reduce(((e,o)=>{let i;const s=r.get(o);s?i=s:(i=t(o),r.set(o,i));for(let t=i.length-1;t>=0;t--){const r=i[t];if(r.filename){e[r.filename]=n[o];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=i[e.filename])}))}))}catch(e){}}(C,e.stackParser);const v=function(e,t){if(!t)return e;const n=e?e.clone():new u.HG;return n.update(t),n}(p,n.captureContext);n.mechanism&&(0,r.M6)(C,n.mechanism);const A=m&&m.getEventProcessors?m.getEventProcessors():[],G=(0,u.m6)().getScopeData();if(f){const e=f.getScopeData();(0,d.Rg)(G,e)}if(v){const e=v.getScopeData();(0,d.Rg)(G,e)}const Z=[...n.attachments||[],...G.attachments];Z.length&&(n.attachments=Z),(0,d.e2)(C,G);const B=[...A,...(0,l.lG)(),...G.eventProcessors];return(0,l.jB)(B,C,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof I&&I>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,a.S8)(e.data,t,n)}})))},...e.user&&{user:(0,a.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,a.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,a.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,a.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>{const r=(0,g.et)(e).data;return r&&(e.data=(0,a.S8)(r,t,n)),e}))),r}(e,I,b):e)))}const h=new WeakMap;function m(e){if(e)return function(e){return e instanceof u.HG||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>f.includes(e)))}(e)?{captureContext:e}:e}const f=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},3843:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(72);function o(e,t,n=[t],o="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${o}:@sentry/${e}`,version:r.M}))),version:r.M}),e._metadata=i}},3075:(e,t,n)=>{"use strict";n.d(t,{CC:()=>s,Qh:()=>l,aO:()=>a,cI:()=>u,et:()=>g,kX:()=>c,pK:()=>p});var r=n(1085),o=n(3098),i=n(3771);const s=0,a=1;function c(e){const{spanId:t,traceId:n}=e.spanContext(),{data:o,op:i,parent_span_id:s,status:a,tags:c,origin:l}=g(e);return(0,r.Ce)({data:o,op:i,parent_span_id:s,span_id:t,status:a,tags:c,trace_id:n,origin:l})}function l(e){const{traceId:t,spanId:n}=e.spanContext(),r=p(e);return(0,o.TC)(t,n,r)}function u(e){return"number"==typeof e?d(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?d(e.getTime()):(0,i.zf)()}function d(e){return e>9999999999?e/1e3:e}function g(e){return function(e){return"function"==typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function p(e){const{traceFlags:t}=e.spanContext();return Boolean(t&a)}},72:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const r="7.112.0"},1525:(e,t)=>{var n;t.IPCChannel=void 0,(n=t.IPCChannel||(t.IPCChannel={})).RENDERER_START="sentry-electron.renderer-start",n.EVENT="sentry-electron.event",n.SCOPE="sentry-electron.scope",n.ENVELOPE="sentry-electron.envelope",n.STATUS="sentry-electron.status",n.ADD_METRIC="sentry-electron.add-metric",t.PROTOCOL_SCHEME="sentry-ipc",t.RENDERER_ID_HEADER="sentry-electron-renderer-id"},503:(e,t,n)=>{const r=n(8546);t.mergeEvents=function(e,t){!function(e){for(const t of e.spans||[])delete t.spanRecorder,delete t.transaction}(t);const n=r(e,t);return(t.spans||e.spans)&&(n.spans=t.spans||e.spans),Object.assign(Object.assign({},n),{sdk:Object.assign(Object.assign({},e.sdk),t.sdk)})}},2828:(e,t)=>{var n;t.IPCMode=void 0,(n=t.IPCMode||(t.IPCMode={}))[n.Classic=1]="Classic",n[n.Protocol=2]="Protocol",n[n.Both=3]="Both"},1788:(e,t,n)=>{const r=n(8991);t.Mutex=class{constructor(){this._entries=[],this._waiters=[],this._value=1}runExclusive(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this._acquire();try{return yield e()}finally{t()}}))}_acquire(){return new Promise(((e,t)=>{this._entries.push({resolve:e,reject:t}),this._dispatch()}))}_release(){this._value+=1,this._dispatch()}_dispatch(){var e;for(let t=this._value;t>0;t--){const n=null===(e=this._entries)||void 0===e?void 0:e.shift();n&&(this._value-=t,t=this._value+1,n.resolve(this._newReleaser()))}this._drainUnlockWaiters()}_newReleaser(){let e=!1;return()=>{e||(e=!0,this._release())}}_drainUnlockWaiters(){for(let e=this._value;e>0;e--)this._waiters[e-1]&&(this._waiters.forEach((e=>e())),this._waiters=[])}}},1300:(e,t,n)=>{const r=n(199),o=n(8241);t.normaliseProfile=function(e,t){for(const n of e.profile.frames)n.abs_path&&(n.abs_path=o.normalizeUrlToBase(n.abs_path,t))},t.normalizeEvent=function(e,t){var n,r,i,s,a;for(const i of(null===(n=e.exception)||void 0===n?void 0:n.values)||[])for(const e of(null===(r=i.stacktrace)||void 0===r?void 0:r.frames)||[])e.filename&&(e.filename=o.normalizeUrlToBase(e.filename,t));for(const n of(null===(i=e.debug_meta)||void 0===i?void 0:i.images)||[])"sourcemap"===n.type&&(n.code_file=o.normalizeUrlToBase(n.code_file,t));e.transaction&&(e.transaction=o.normalizeUrlToBase(e.transaction,t));const{request:c={}}=e;c.url&&(c.url=o.normalizeUrlToBase(c.url,t)),(null===(a=null===(s=e.contexts)||void 0===s?void 0:s.feedback)||void 0===a?void 0:a.url)&&"string"==typeof e.contexts.feedback.url&&(e.contexts.feedback.url=o.normalizeUrlToBase(e.contexts.feedback.url,t)),e.contexts=Object.assign(Object.assign({},e.contexts),{runtime:{name:"Electron",version:process.versions.electron}}),c.headers&&delete c.headers["User-Agent"];const{tags:l={}}=e;return delete l.server_name,delete e.server_name,e},t.normalizeUrlsInReplayEnvelope=function(e,t){let n=o.createEnvelope(e[0]),i=!1;return o.forEachEnvelopeItem(e,((e,s)=>{var a;if("replay_event"===s){i=!0;const[s,c]=e,l=r.getCurrentScope().getScopeData();c.breadcrumbs=l.breadcrumbs,c.tags=l.tags,c.user=l.user,Array.isArray(c.urls)&&(c.urls=c.urls.map((e=>o.normalizeUrlToBase(e,t)))),(null===(a=null==c?void 0:c.request)||void 0===a?void 0:a.url)&&(c.request.url=o.normalizeUrlToBase(c.request.url,t)),n=o.addItemToEnvelope(n,[s,c])}else"replay_recording"===s&&(n=o.addItemToEnvelope(n,e))})),i?n:e}},4546:(e,t)=>{t.ensureProcess=function(e){const t="undefined"!=typeof window?"renderer":"main";if(t!==e)throw new Error(`This code is intended to run in the Electron ${e} process but is currently running in the ${t} process.\nThis can occur if a bundler picks the wrong entry point.\n\nYou can work around this by using a relative import:\nimport * as Sentry from '@sentry/electron/${t}';`)}},2136:(e,t,n)=>{const r=n(8991),o=n(199),i=n(8241),s=n(4157),a=n(7444),c=n(2954);function l(e,t,n){c.sessionAnr();const r=function(e){var t,n;const r=null===(t=o.getClient())||void 0===t?void 0:t.getOptions();return null===(n=null==r?void 0:r.getRendererName)||void 0===n?void 0:n.call(r,e)}(e)||"renderer",i={level:"error",exception:{values:[{type:"ApplicationNotResponding",value:`Application Not Responding for at least ${t} ms`,stacktrace:{frames:n},mechanism:{type:"ANR"}}]},tags:{"event.process":r}};o.captureEvent(i)}let u;function d(){let e=process.hrtime();return{getTimeMs:()=>{const[t,n]=process.hrtime(e);return Math.floor(1e3*t+n/1e6)},reset:()=>{e=process.hrtime()}}}t.createRendererAnrStatusHandler=function(){function e(e,...t){i.logger.log(`[Renderer ANR] ${e}`,...t)}return(t,n)=>{u=u||new Map;let a=u.get(n);if(void 0===a){let c;e("Renderer sent first status message",t.config),t.config.captureStackTrace&&(e("Connecting to debugger"),c=function(e,t){e.debugger.attach("1.3");const n=new Map,r=o.createGetModuleFromFilename(s.app.getAppPath());return e.debugger.on("message",((o,s,a)=>{if("Debugger.scriptParsed"===s){const e=a;n.set(e.scriptId,e.url)}else if("Debugger.paused"===s){const o=a;if("other"!==o.reason)return;const s=[...o.callFrames];e.debugger.sendCommand("Debugger.resume").then(null,(()=>{}));const c=i.stripSentryFramesAndReverse(s.map((e=>i.callFrameToStackFrame(e,n.get(e.location.scriptId),r))));t(c)}})),e.debugger.sendCommand("Debugger.enable").catch((()=>{})),()=>e.debugger.sendCommand("Debugger.pause")}(n,(r=>{e("Event captured with stack frames"),l(n,t.config.anrThreshold,r)}))),a=i.watchdogTimer(d,100,t.config.anrThreshold,(()=>r.__awaiter(this,void 0,void 0,(function*(){e("Watchdog timeout"),c?(e("Pausing debugger to capture stack trace"),c()):(e("Capturing event"),l(n,t.config.anrThreshold))})))),n.once("destroyed",(()=>{null==u||u.delete(n)})),u.set(n,a)}a.poll(),"alive"!==t.status&&(e("Renderer visibility changed",t.status),a.enabled("visible"===t.status))}},t.enableMainProcessAnrDetection=function(e={}){var t;const n=new a.Anr(e),r=o.getClient();return null===(t=n.setup)||void 0===t||t.call(n,r),Promise.resolve()}},4004:(e,t,n)=>{const r=n(8991),o=n(5317),i=n(4157),s=n(857),a=n(6928),c=n(843),l=n(4436),u=n(6095);function d(e){const t=Object.create(null);if(e)for(const n in e)t[n]=e[n];return t.default=e,t}const g=d(o),p="sentry.javascript.electron",h={aix:"IBM AIX",freebsd:"FreeBSD",openbsd:"OpenBSD",sunos:"SunOS",win32:"Windows"},m=[{name:"fedora-release",distros:["Fedora"]},{name:"redhat-release",distros:["Red Hat Linux","Centos"]},{name:"redhat_version",distros:["Red Hat Linux"]},{name:"SuSE-release",distros:["SUSE Linux"]},{name:"lsb-release",distros:["Ubuntu Linux","Arch Linux"]},{name:"debian_version",distros:["Debian"]},{name:"debian_release",distros:["Debian"]},{name:"arch-release",distros:["Arch Linux"]},{name:"gentoo-release",distros:["Gentoo Linux"]},{name:"novell-release",distros:["SUSE Linux"]},{name:"alpine-release",distros:["Alpine Linux"]}],f={alpine:e=>e,arch:e=>I(/distrib_release=(.*)/,e),centos:e=>I(/release ([^ ]+)/,e),debian:e=>e,fedora:e=>I(/release (..)/,e),mint:e=>I(/distrib_release=(.*)/,e),red:e=>I(/release ([^ ]+)/,e),suse:e=>I(/VERSION = (.*)\n/,e),ubuntu:e=>I(/distrib_release=(.*)/,e)};function I(e,t){const n=e.exec(t);return n?n[1]:void 0}function b(e){return e.split(" ")[0].toLowerCase()}function C(){return r.__awaiter(this,void 0,void 0,(function*(){const e=s.platform();switch(e){case"darwin":return function(){return r.__awaiter(this,void 0,void 0,(function*(){const e={kernel_version:s.release(),name:"Mac OS X",version:"10."+(Number(s.release().split(".")[0])-4)};try{const t=yield new Promise(((e,t)=>{g.execFile("/usr/bin/sw_vers",((n,r)=>{n?t(n):e(r)}))}));e.name=I(/^ProductName:\s+(.*)$/m,t),e.version=I(/^ProductVersion:\s+(.*)$/m,t),e.build=I(/^BuildVersion:\s+(.*)$/m,t)}catch(e){}return e}))}();case"linux":return function(){return r.__awaiter(this,void 0,void 0,(function*(){const e={kernel_version:s.release(),name:"Linux"};try{const t=yield l.readDirAsync("/etc"),n=m.find((e=>t.includes(e.name)));if(!n)return e;const r=a.join("/etc",n.name),o=(yield l.readFileAsync(r,{encoding:"utf-8"})).toLowerCase(),{distros:i}=n;e.name=i.find((e=>o.indexOf(b(e))>=0))||i[0];const s=b(e.name);e.version=f[s](o)}catch(e){}return e}))}();default:return{name:h[e]||e,version:s.release()}}}))}function y(){const e={app_name:i.app.name||i.app.getName(),app_version:i.app.getVersion(),app_start_time:new Date(Date.now()-1e3*process.uptime()).toISOString()};return process.mas&&(e.build_type="app-store"),process.windowsStore&&(e.build_type="windows-store"),e}function v(){return r.__awaiter(this,void 0,void 0,(function*(){return{app:y(),os:yield C(),browser:{name:"Chrome"},chrome:{name:"Chrome",type:"runtime",version:process.versions.chrome},device:{arch:process.arch,family:"Desktop"},node:{name:"Node",type:"runtime",version:process.versions.node},runtime:{name:"Electron",version:process.versions.electron}}}))}function A(){return`${(i.app.name||i.app.getName()).replace(/\W/g,"-")}@${i.app.getVersion()}`}function G(){return c.isPackaged?"production":"development"}let Z;t.SDK_NAME=p,t.getDefaultEnvironment=G,t.getDefaultReleaseName=A,t.getEventDefaults=function(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return Z||(Z=function(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return{contexts:yield v(),environment:t||G(),release:e||A(),user:{ip_address:"{{auto}}"},tags:{"event.origin":"electron","event.environment":"javascript","event.process":"browser",event_type:"javascript"}}}))}(e,t)),Z}))},t.getSdkInfo=function(){return{name:p,packages:[{name:"npm:@sentry/electron",version:u.SDK_VERSION}],version:u.SDK_VERSION}}},843:(e,t,n)=>{const r=n(8991),o=n(8241),i=n(4157),s=n(6928),a=n(1525),c=o.parseSemver(process.versions.electron),l={major:c.major||0,minor:c.minor||0,patch:c.patch||0},u=l.major,d=(()=>{const e=s.basename(process.execPath).toLowerCase();return"win32"===process.platform?"electron.exe"!==e:"electron"!==e})(),g=i.app?i.app.isReady()?Promise.resolve():new Promise((e=>{i.app.once("ready",(()=>{e()}))})):Promise.resolve();function p(e){i.app.on("web-contents-created",((t,n)=>{l.major>=3?e(n):setImmediate((()=>{n.isDestroyed()||e(n)}))}))}function h(){return"darwin"===process.platform||"win32"===process.platform&&l.major>=6||"linux"===process.platform&&(l.major>=16||!(l.major<15)&&i.app.commandLine.hasSwitch("enable-crashpad"))}t.CRASH_REASONS=["crashed","oom"],t.ELECTRON_MAJOR_VERSION=u,t.EXIT_REASONS=["clean-exit","abnormal-exit","killed","crashed","oom","launch-failed","integrity-failure"],t.capturePage=function(e){return l.major<5?new Promise((t=>{e.capturePage(t)})):e.capturePage()},t.getCrashesDirectory=function(){return l.major>=9?i.app.getPath("crashDumps"):i.crashReporter.getCrashesDirectory()},t.isPackaged=d,t.onBrowserWindowCreated=function(e){i.app.on("browser-window-created",((t,n)=>{l.major>=3?e(n):setImmediate((()=>{n.isDestroyed()||e(n)}))}))},t.onChildProcessGone=function(e,t){l.major>=11?i.app.on("child-process-gone",((n,r)=>{e.includes(r.reason)&&t(r)})):i.app.on("gpu-process-crashed",((n,r)=>{const o=r?"killed":"crashed";e.includes(o)&&t({type:"GPU",reason:o})}))},t.onRendererProcessGone=function(e,t){l.major>=10||9===l.major&&l.minor>=1||8===l.major&&l.minor>=4?i.app.on("render-process-gone",((n,r,o)=>{e.includes(o.reason)&&t(r,o)})):p((n=>{n.on("crashed",((r,o)=>{const i=h()&&o?"killed":"crashed";e.includes(i)&&t(n,{reason:i})}))}))},t.onWebContentsCreated=p,t.registerProtocol=function(e,t,n){l.major>=25?e.handle(t,(e=>r.__awaiter(this,void 0,void 0,(function*(){return n({windowId:e.headers.get(a.RENDERER_ID_HEADER)||void 0,url:e.url,body:Buffer.from(yield e.arrayBuffer())}),new Response("")})))):e.registerStringProtocol(t,((e,t)=>{var r,o;n({windowId:e.headers[a.RENDERER_ID_HEADER],url:e.url,body:null===(o=null===(r=e.uploadData)||void 0===r?void 0:r[0])||void 0===o?void 0:o.bytes}),t("")}))},t.rendererRequiresCrashReporterStart=function(){return"darwin"!==process.platform&&l.major<9},t.supportsFullProtocol=function(){return l.major>=5},t.usesCrashpad=h,t.whenAppReady=g},4436:(e,t,n)=>{const r=n(8991),o=n(4157),i=n(9896),s=n(6928),a=n(9023),c=a.promisify(i.writeFile),l=a.promisify(i.readFile),u=a.promisify(i.mkdir),d=a.promisify(i.stat),g=a.promisify(i.unlink),p=a.promisify(i.readdir);t.getSentryCachePath=function(){return s.join(o.app.getPath("userData"),"sentry")},t.mkdirAsync=u,t.mkdirp=function e(t){return r.__awaiter(this,void 0,void 0,(function*(){const n=s.resolve(t);try{yield u(n,511)}catch(t){t&&"ENOENT"===t.code&&(yield e(s.dirname(n)),yield u(n,511));try{if(!i.statSync(n).isDirectory())throw t}catch(e){throw t}}}))},t.readDirAsync=p,t.readFileAsync=l,t.statAsync=d,t.unlinkAsync=g,t.writeFileAsync=c},7887:(e,t,n)=>{const r=n(199),o=n(4107),i=n(453),s=n(7845),a=n(3560),c=n(8e3),l=n(4071),u=n(7555),d=n(6202),g=n(2931),p=n(4541),h=n(1360),m=n(9787),f=n(2113),I=n(8670),b=n(2075),C=n(7444),y=n(2260),v=n(9742),A=n(2855),G=n(2136),Z=n(4546),B=n(2828);Z.ensureProcess("main");const S=Object.assign(Object.assign({},r.Integrations),o);t.NodeClient=r.NodeClient,t.close=r.close,t.flush=r.flush,t.lastEventId=r.lastEventId,t.Hub=i.Hub,t.Scope=i.Scope,t.addBreadcrumb=i.addBreadcrumb,t.addEventProcessor=i.addEventProcessor,t.addGlobalEventProcessor=i.addGlobalEventProcessor,t.addIntegration=i.addIntegration,t.captureCheckIn=i.captureCheckIn,t.captureEvent=i.captureEvent,t.captureException=i.captureException,t.captureMessage=i.captureMessage,t.configureScope=i.configureScope,t.continueTrace=i.continueTrace,t.createTransport=i.createTransport,t.extractTraceparentData=i.extractTraceparentData,t.functionToStringIntegration=i.functionToStringIntegration,t.getActiveSpan=i.getActiveSpan,t.getActiveTransaction=i.getActiveTransaction,t.getClient=i.getClient,t.getCurrentHub=i.getCurrentHub,t.getCurrentScope=i.getCurrentScope,t.getGlobalScope=i.getGlobalScope,t.getHubFromCarrier=i.getHubFromCarrier,t.getIsolationScope=i.getIsolationScope,t.inboundFiltersIntegration=i.inboundFiltersIntegration,t.linkedErrorsIntegration=i.linkedErrorsIntegration,t.makeMain=i.makeMain,t.metrics=i.metrics,t.parameterize=i.parameterize,t.requestDataIntegration=i.requestDataIntegration,t.runWithAsyncContext=i.runWithAsyncContext,t.setContext=i.setContext,t.setExtra=i.setExtra,t.setExtras=i.setExtras,t.setMeasurement=i.setMeasurement,t.setTag=i.setTag,t.setTags=i.setTags,t.setUser=i.setUser,t.spanStatusfromHttpCode=i.spanStatusfromHttpCode,t.startActiveSpan=i.startActiveSpan,t.startInactiveSpan=i.startInactiveSpan,t.startSpan=i.startSpan,t.startSpanManual=i.startSpanManual,t.startTransaction=i.startTransaction,t.trace=i.trace,t.withMonitor=i.withMonitor,t.withScope=i.withScope,t.electronBreadcrumbsIntegration=s.electronBreadcrumbsIntegration,t.onUncaughtExceptionIntegration=a.onUncaughtExceptionIntegration,t.mainContextIntegration=c.mainContextIntegration,t.sentryMinidumpIntegration=l.sentryMinidumpIntegration,t.electronMinidumpIntegration=u.electronMinidumpIntegration,t.preloadInjectionIntegration=d.preloadInjectionIntegration,t.mainProcessSessionIntegration=g.mainProcessSessionIntegration,t.browserWindowSessionIntegration=p.browserWindowSessionIntegration,t.additionalContextIntegration=h.additionalContextIntegration,t.electronNetIntegration=m.electronNetIntegration,t.childProcessIntegration=f.childProcessIntegration,t.screenshotsIntegration=I.screenshotsIntegration,t.rendererProfileFromIpc=b.rendererProfileFromIpc,t.anrIntegration=C.anrIntegration,t.makeElectronTransport=y.makeElectronTransport,t.makeElectronOfflineTransport=v.makeElectronOfflineTransport,t.defaultIntegrations=A.defaultIntegrations,t.init=A.init,t.enableMainProcessAnrDetection=G.enableMainProcessAnrDetection,Object.defineProperty(t,"IPCMode",{enumerable:!0,get:()=>B.IPCMode}),t.Integrations=S},1360:(e,t,n)=>{const r=n(453),o=n(4157),i=n(857),s=n(843),a=n(503),c={cpu:!0,screen:!0,memory:!0,language:!0},l="AdditionalContext",u=r.defineIntegration(((e={})=>{const t={},n=Object.assign(Object.assign({},c),e);function r(){const e=o.screen.getPrimaryDisplay(),n=Math.floor(e.size.width*e.scaleFactor),r=Math.floor(e.size.height*e.scaleFactor);t.screen_density=e.scaleFactor,t.screen_resolution=`${n}x${r}`}return{name:l,setupOnce(){},setup(){s.whenAppReady.then((()=>{const{language:e,screen:i}=n;e&&(t.language=o.app.getLocale()),i&&(r(),o.screen.on("display-metrics-changed",(()=>{r()})))}),(()=>{}))},processEvent(e){const r=t,{memory:s,cpu:c}=n;if(s){const{total:e,free:t}=process.getSystemMemoryInfo();r.memory_size=1024*e,r.free_memory=1024*t}if(c){const e=i.cpus();if(null==e?void 0:e.length){const t=e[0];r.processor_count=e.length,r.cpu_description=t.model,r.processor_frequency=t.speed,o.app.runningUnderARM64Translation&&(r.machine_arch="arm64")}}return a.mergeEvents(e,{contexts:{device:r}})}}})),d=r.convertIntegrationFnToClass(l,u);t.AdditionalContext=d,t.additionalContextIntegration=u},7444:(e,t,n)=>{const r=n(453),o=n(199),i=n(4157),s=n(843),a=r.defineIntegration(((e={})=>{if(s.ELECTRON_MAJOR_VERSION<22)throw new Error("Main process ANR detection requires Electron v22+");const t=o.anrIntegration(Object.assign(Object.assign({},e),{staticTags:Object.assign({"event.environment":"javascript","event.origin":"electron","event.process":"browser"},e.staticTags),appRootPath:i.app.getAppPath()}));return i.powerMonitor.on("suspend",(()=>{t.stopWorker()})),i.powerMonitor.on("resume",(()=>{t.startWorker()})),t})),c=r.convertIntegrationFnToClass(a.name,a);t.Anr=c,t.anrIntegration=a},4541:(e,t,n)=>{const r=n(453),o=n(4157),i=n(843),s=n(2954),a="BrowserWindowSession",c=r.defineIntegration(((e={})=>{if(i.ELECTRON_MAJOR_VERSION<12)throw new Error("BrowserWindowSession requires Electron >= v12");let t={name:"inactive"};function n(){var n;if(function(){for(const e of o.BrowserWindow.getAllWindows())if(!e.isDestroyed()&&e.webContents&&!e.webContents.isDestroyed()&&e.isFocused()&&e.isVisible())return!0;return!1}())"inactive"===t.name?s.startSession(!0):"timeout"===t.name&&clearTimeout(t.timer),t={name:"active"};else if("active"===t.name){const r=1e3*(null!==(n=e.backgroundTimeoutSeconds)&&void 0!==n?n:30),o=setTimeout((()=>{"timeout"===t.name&&(t={name:"inactive"},s.endSession().catch((()=>{})))}),r).unref();t={name:"timeout",timer:o}}}return{name:a,setupOnce(){},setup(){o.app.on("browser-window-created",((e,t)=>{t.on("focus",n),t.on("blur",n),t.on("show",n),t.on("hide",n),t.once("closed",(()=>{t.removeListener("focus",n),t.removeListener("blur",n),t.removeListener("show",n),t.removeListener("hide",n)}))})),s.endSessionOnExit()}}})),l=r.convertIntegrationFnToClass(a,c);t.BrowserWindowSession=l,t.browserWindowSessionIntegration=c},2113:(e,t,n)=>{const r=n(453),o=n(843),i={breadcrumbs:o.EXIT_REASONS,events:["abnormal-exit","launch-failed","integrity-failure"]};function s(e,t){const n=`'${t}' process exited with '${e}'`;switch(e){case"abnormal-exit":case"killed":return{message:n,level:"warning"};case"crashed":case"oom":case"launch-failed":case"integrity-failure":return{message:n,level:"fatal"};default:return{message:n,level:"debug"}}}const a="ChildProcess",c=r.defineIntegration(((e={})=>{const{breadcrumbs:t,events:n}=e,c={breadcrumbs:Array.isArray(t)?t:!1===t?[]:i.breadcrumbs,events:Array.isArray(n)?n:!1===n?[]:i.events};return{name:a,setupOnce(){},setup(e){const{breadcrumbs:t,events:n}=c,i=Array.from(new Set([...t,...n]));if(i.length>0){const a=e.getOptions();o.onChildProcessGone(i,(e=>{const{reason:o}=e;if(n.includes(o)){const{message:t,level:n}=s(e.reason,e.type);r.captureMessage(t,{level:n,tags:{"event.process":e.type}})}t.includes(o)&&r.addBreadcrumb(Object.assign(Object.assign({type:"process",category:"child-process"},s(e.reason,e.type)),{data:e}))})),o.onRendererProcessGone(i,((e,o)=>{var i;const{reason:c}=o,l=(null===(i=null==a?void 0:a.getRendererName)||void 0===i?void 0:i.call(a,e))||"renderer";if(n.includes(c)){const{message:e,level:t}=s(o.reason,l);r.captureMessage(e,t)}t.includes(c)&&r.addBreadcrumb(Object.assign(Object.assign({type:"process",category:"child-process"},s(o.reason,l)),{data:o}))}))}}}})),l=r.convertIntegrationFnToClass(a,c);t.ChildProcess=l,t.childProcessIntegration=c},7845:(e,t,n)=>{const r=n(453),o=n(4157),i=n(843),s=n(8943),a={app:e=>!e.startsWith("remote-"),autoUpdater:()=>!0,webContents:e=>["dom-ready","context-menu","load-url","destroyed"].includes(e),browserWindow:e=>["closed","close","unresponsive","responsive","show","blur","focus","hide","maximize","minimize","restore","enter-full-screen","leave-full-screen"].includes(e),screen:()=>!0,powerMonitor:()=>!0,captureWindowTitles:!1};function c(e){return Object.keys(e).reduce(((t,n)=>{if("captureWindowTitles"===n)t[n]=!!e[n];else{const r=e[n];Array.isArray(r)?t[n]=e=>r.includes(e):"function"!=typeof r&&!1!==r||(t[n]=r)}return t}),{})}const l="ElectronBreadcrumbs",u=r.defineIntegration(((e={})=>{const t=Object.assign(Object.assign({},a),c(e));function n(e,n,o,i){const a=e.emit.bind(e);e.emit=(e,...c)=>{var l,u;if(o&&o(e)){const o={category:"electron",message:`${n}.${e}`,timestamp:(new Date).getTime()/1e3,type:"ui"};i&&(o.data=Object.assign({},s.getRendererProperties(i)),!t.captureWindowTitles&&(null===(l=o.data)||void 0===l?void 0:l.title)&&(null===(u=o.data)||void 0===u||delete u.title)),r.addBreadcrumb(o)}return a(e,...c)}}return{name:l,setupOnce(){},setup(e){const r=e.getOptions();s.trackRendererProperties(),i.whenAppReady.then((()=>{t.screen&&n(o.screen,"screen",t.screen),t.powerMonitor&&n(o.powerMonitor,"powerMonitor",t.powerMonitor)}),(()=>{})),t.app&&n(o.app,"app",t.app),t.autoUpdater&&n(o.autoUpdater,"autoUpdater",t.autoUpdater),t.browserWindow&&i.onBrowserWindowCreated((e=>{var o;const i=e.webContents.id;n(e,(null===(o=null==r?void 0:r.getRendererName)||void 0===o?void 0:o.call(r,e.webContents))||"window",t.browserWindow,i)})),t.webContents&&i.onWebContentsCreated((e=>{var o;const i=e.id;n(e,(null===(o=null==r?void 0:r.getRendererName)||void 0===o?void 0:o.call(r,e))||"renderer",t.webContents,i)}))}}})),d=r.convertIntegrationFnToClass(l,u);t.ElectronBreadcrumbs=d,t.electronBreadcrumbsIntegration=u,t.normalizeOptions=c},7555:(e,t,n)=>{const r=n(8991),o=n(453),i=n(8241),s=n(4157),a=n(4004),c=n(843),l=n(2954),u=n(503),d=n(1300);function g(e){return void 0!==e&&Object.keys(e).length>0}function p(e){const t=o.getCurrentScope().getScopeData();return t?Object.assign(Object.assign(Object.assign({release:e.release,environment:e.environment},g(t.user)&&{user:t.user}),g(t.tags)&&{tags:t.tags}),g(t.extra)&&{extra:t.extra}):{}}function h(e){const t=i.makeDsn(e);if(!t)return;const{host:n,path:r,projectId:o,port:s,protocol:a,publicKey:c}=t;return`${a}://${n}${""!==s?`:${s}`:""}${""!==r?`/${r}`:""}/api/${o}/minidump/?sentry_key=${c}`}const m="ElectronMinidump",f=o.defineIntegration((()=>{let e,t=0;return{name:m,setupOnce(){},setup(n){var g;if(process.mas)return;if(c.rendererRequiresCrashReporterStart())throw new i.SentryError(`The '${m}' integration is only supported with Electron >= v9`);const f=n.getOptions();if(!(null==f?void 0:f.dsn))throw new i.SentryError("Attempted to enable Electron native crash reporter but no DSN was supplied");e=f.release,function(e){const t=h(e.dsn||"");if(!t)return void i.logger.log("Invalid DSN. Cannot start Electron crashReporter");const n=c.usesCrashpad()?{sentry___initialScope:JSON.stringify(p(e))}:void 0;i.logger.log("Starting Electron crashReporter"),s.crashReporter.start({companyName:"",ignoreSystemCrashHandler:!0,productName:s.app.name||s.app.getName(),submitURL:t,uploadToServer:!0,compress:!0,globalExtra:n})}(f),c.onRendererProcessGone(c.CRASH_REASONS,((e,t)=>{l.sessionCrashed()})),c.usesCrashpad()&&o.getCurrentScope().addScopeListener((n=>{const c=n.getScopeData();c.eventProcessors=[],function(n){t+=1;const c=t;(function(t){return r.__awaiter(this,void 0,void 0,(function*(){const n=u.mergeEvents(yield a.getEventDefaults(e),{sdk:a.getSdkInfo(),event_id:i.uuid4(),level:"fatal",platform:"native",tags:{"event.environment":"native",event_type:"native"}});return o.applyScopeDataToEvent(n,t),delete n.sdkProcessingMetadata,d.normalizeEvent(n,s.app.getAppPath())}))})(n).then((e=>{if(c!==t)return;const n=function(e){const t=20300;let n=Buffer.from(JSON.stringify(e));const r=[];for(;n.length;){let e=n.lastIndexOf(34,20301);e<0&&(e=n.lastIndexOf(32,20301)),e<0&&(e=n.indexOf(34,t)),e<0&&(e=n.indexOf(32,t)),e<0&&(e=t),r.push(n.subarray(0,e+1).toString()),n=n.subarray(e+1)}return r.reduce(((e,t,n)=>(e[`sentry__${n+1}`]=t,e)),{})}(e);for(const e of Object.keys(n))s.crashReporter.addExtraParameter(e,n[e])})).catch((e=>i.logger.error(e)))}(c)})),l.unreportedDuringLastSession(null===(g=s.crashReporter.getLastCrashReport())||void 0===g?void 0:g.date).then((e=>l.checkPreviousSession(e)),i.logger.error)}}})),I=o.convertIntegrationFnToClass(m,f);t.ElectronMinidump=I,t.electronMinidumpIntegration=f,t.minidumpUrlFromDsn=h},4107:(e,t,n)=>{const r=n(7845),o=n(3560),i=n(8e3),s=n(4071),a=n(7555),c=n(6202),l=n(2931),u=n(4541),d=n(1360),g=n(9787),p=n(2113),h=n(8670),m=n(2075),f=n(7444);t.ElectronBreadcrumbs=r.ElectronBreadcrumbs,t.OnUncaughtException=o.OnUncaughtException,t.MainContext=i.MainContext,t.SentryMinidump=s.SentryMinidump,t.ElectronMinidump=a.ElectronMinidump,t.PreloadInjection=c.PreloadInjection,t.MainProcessSession=l.MainProcessSession,t.BrowserWindowSession=u.BrowserWindowSession,t.AdditionalContext=d.AdditionalContext,t.Net=g.Net,t.ChildProcess=p.ChildProcess,t.Screenshots=h.Screenshots,t.RendererProfiling=m.RendererProfiling,t.Anr=f.Anr},8e3:(e,t,n)=>{const r=n(8991),o=n(453),i=n(4157),s=n(4004),a=n(1300),c=n(503),l="MainContext",u=o.defineIntegration((()=>({name:l,setupOnce(){},processEvent(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const t=n.getOptions(),r=a.normalizeEvent(e,i.app.getAppPath()),o=yield s.getEventDefaults(t.release,t.environment);return c.mergeEvents(o,r)}))}}))),d=o.convertIntegrationFnToClass(l,u);t.MainContext=d,t.mainContextIntegration=u},2931:(e,t,n)=>{const r=n(453),o=n(2954),i="MainProcessSession",s=r.defineIntegration(((e={})=>({name:i,setupOnce(){},setup(){o.startSession(!!e.sendOnCreate),o.endSessionOnExit()}}))),a=r.convertIntegrationFnToClass(i,s);t.MainProcessSession=a,t.mainProcessSessionIntegration=s},9787:(e,t,n)=>{const r=n(453),o=n(8241),i=n(4157);function s(e){const t=Object.create(null);if(e)for(const n in e)t[n]=e[n];return t.default=e,t}const a=s(n(7016));function c(e,t,n,r){o.logger.log(`[Tracing] Adding sentry-trace header ${n} to outgoing request to "${t}": `),e.setHeader("sentry-trace",n);const i=o.dynamicSamplingContextToSentryBaggageHeader(r);i&&e.setHeader("baggage",i)}function l(e,t,n,o,i){r.addBreadcrumb({type:"http",category:"electron.net",data:{url:n,method:t,status_code:null==i?void 0:i.statusCode}},{event:e,request:o,response:i})}const u=r.defineIntegration(((e={})=>({name:"Net",setupOnce(){},setup(){var t;const n=null===(t=r.getClient())||void 0===t?void 0:t.getOptions();!1===e.breadcrumbs&&!1===e.tracing||o.fill(i.net,"request",function(e,t){const n=new o.LRUMap(100),i=new o.LRUMap(100),s=(n,r)=>{if(!1===e.tracingOrigins)return!1;if(void 0===e.tracingOrigins&&void 0===t||!0===e.tracingOrigins)return!0;const s=`${n}:${r}`,a=i.get(s);if(void 0!==a)return a;if(t){const e=o.stringMatchesSomePattern(r,t);return i.set(s,e),e}if(e.tracingOrigins){const t=e.tracingOrigins(n,r);return i.set(s,t),t}return!0};return function(t){return function(i){var u;const{url:d,method:g}=function(e){const{method:t,options:n}="string"==typeof e?{method:"GET",options:a.parse(e)}:{method:(e.method||"GET").toUpperCase(),options:e};let r="url"in n?n.url:void 0;if(!r){const e={};e.protocol=n.protocol||"http:",n.host?e.host=n.host:(n.hostname?e.hostname=n.hostname:e.hostname="localhost",n.port&&(e.port=n.port));const t=a.parse(n.path||"/");e.pathname=t.pathname,e.search=t.search,e.hash=t.hash,r=a.format(e)}return{method:t,url:r}}(i),p=t.apply(this,[i]);if(d.match(/sentry_key/)||p.getHeader("x-sentry-auth"))return p;let h;const m=r.getCurrentScope();if(m&&((t,r)=>{if(void 0===e.tracing)return!0;if(!1===e.tracing)return!1;const o=`${t}:${r}`,i=n.get(o);if(void 0!==i)return i;const s=!0===e.tracing||e.tracing(t,r);return n.set(o,s),s})(g,d)){const e=m.getSpan();if(e){if(h=e.startChild({description:`${g} ${d}`,op:"http.client"}),s(g,d)){const e=h.toTraceparent(),t=null===(u=null==h?void 0:h.transaction)||void 0===u?void 0:u.getDynamicSamplingContext();c(p,d,e,t)}}else if(s(g,d)){const{traceId:e,sampled:t,dsc:n}=m.getPropagationContext(),i=o.generateSentryTraceHeader(e,void 0,t),s=r.getClient(),a=n||(s?r.getDynamicSamplingContextFromClient(e,s,m):void 0);c(p,d,i,a)}}return p.once("response",(function(t){!1!==e.breadcrumbs&&l("response",g,d,this,t),h&&(t.statusCode&&h.setHttpStatus(t.statusCode),h.finish())})).once("error",(function(t){!1!==e.breadcrumbs&&l("error",g,d,this,void 0),h&&(h.setHttpStatus(500),h.finish())}))}}}(e,null==n?void 0:n.tracePropagationTargets))}}))),d=r.convertIntegrationFnToClass("Net",u);t.Net=d,t.electronNetIntegration=u},3560:(e,t,n)=>{const r=n(8991),o=n(453),i=n(4157),s="OnUncaughtException",a=o.defineIntegration((()=>({name:s,setupOnce(){},setup(e){const t=e.getOptions();global.process.on("uncaughtException",(n=>{const s=o.getCurrentScope();s.addEventProcessor((e=>r.__awaiter(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},e),{level:"fatal"})})))),e.captureException(n,{originalException:n,data:{mechanism:{handled:!1,type:"generic"}}},s),e.flush(t.shutdownTimeout||2e3).then((()=>{if(null==t?void 0:t.onFatalError)t.onFatalError(n);else if(global.process.listenerCount("uncaughtException")<=2){console.error("Uncaught Exception:"),console.error(n);const e=n.stack,t=`Uncaught Exception:\n${void 0!==e?e:`${n.name}: ${n.message}`}`;i.dialog.showErrorBox("A JavaScript error occurred in the main process",t)}}),(()=>{}))}))}}))),c=o.convertIntegrationFnToClass(s,a);t.OnUncaughtException=c,t.onUncaughtExceptionIntegration=a},6202:(e,t,n)=>{const r=n(453),o=n(8241),i=n(4157),s=n(9896),a=n(6928),c=n(7016),l=n(843),u=n(2828);var d="undefined"!=typeof document?document.currentScript:null;const g="PreloadInjection",p=r.defineIntegration((()=>({name:g,setupOnce(){},setup(e){const t=e.getOptions();t.ipcMode&u.IPCMode.Classic&&i.app.once("ready",(()=>{const e=function(){try{return l.rendererRequiresCrashReporterStart()?n.ab+"legacy.js":n.ab+"index.js"}catch(e){try{const e=c.fileURLToPath("undefined"==typeof document?n(7016).pathToFileURL(__filename).href:d&&d.src||new URL("main/integrations/preload-injection.js",document.baseURI).href);return a.resolve(e,"..","..","..","..","preload","index.js")}catch(e){}}}();if(e&&"string"==typeof e&&a.isAbsolute(e)&&s.existsSync(e))for(const n of t.getSessions()){const t=n.getPreloads();n.setPreloads([e,...t])}else o.logger.log("The preload script could not be injected automatically. This is most likely caused by bundling of the main process")}))}}))),h=r.convertIntegrationFnToClass(g,p);t.PreloadInjection=h,t.preloadInjectionIntegration=p},2075:(e,t,n)=>{const r=n(453),o=n(8241),i=n(4157),s=n(4004),a=n(843),c=n(1300),l="Document-Policy",u="js-profiling";let d;function g(e={}){if(e[l]){const t=e[l];Array.isArray(t)?t.push(u):e[l]=[t,u]}else e[l]=u;return{responseHeaders:e}}const p="RendererProfiling",h=r.defineIntegration((()=>({name:p,setupOnce(){},setup(e){var t;const n=e.getOptions();if(n.enableRendererProfiling){if(a.ELECTRON_MAJOR_VERSION<15)throw new Error("Renderer profiling requires Electron 15+ (Chromium 94+)");d=new o.LRUMap(10),i.app.on("ready",(()=>{for(const e of n.getSessions())e.webRequest.onHeadersReceived(((e,t)=>{t(g(e.responseHeaders))}))})),null===(t=e.on)||void 0===t||t.call(e,"beforeEnvelope",(e=>{let t;if(o.forEachEnvelopeItem(e,((e,n)=>{var r,o;if("transaction"===n)for(let n=1;n<e.length;n++){const i=e[n];(null===(o=null===(r=null==i?void 0:i.contexts)||void 0===r?void 0:r.profile)||void 0===o?void 0:o.profile_id)&&(t=i.contexts.profile.profile_id,delete i.contexts.profile)}})),!t)return;const r=null==d?void 0:d.remove(t);r&&(c.normaliseProfile(r,i.app.getAppPath()),r.release=n.release||s.getDefaultReleaseName(),r.environment=n.environment||s.getDefaultEnvironment(),e[1].push([{type:"profile"},r]))}))}}}))),m=r.convertIntegrationFnToClass(p,h);t.RendererProfiling=m,t.rendererProfileFromIpc=function(e,t){if(!d)return;const n=t.event_id;d.set(n,t),e&&(e.contexts=Object.assign(Object.assign({},e.contexts),{profile:{profile_id:n}}))},t.rendererProfilingIntegration=h},8670:(e,t,n)=>{const r=n(8991),o=n(453),i=n(8241),s=n(4157),a=n(843),c="Screenshots",l=o.defineIntegration((()=>({name:c,setupOnce(){},processEvent(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){if(!n.getOptions().attachScreenshot)return e;if(!e.transaction&&"native"!==e.platform){let e=1;for(const n of s.BrowserWindow.getAllWindows()){t.attachments||(t.attachments=[]);try{if(!n.isDestroyed()&&n.isVisible()){const r=1===e?"screenshot.png":`screenshot-${e}.png`,o=yield a.capturePage(n);t.attachments.push({filename:r,data:o.toPNG(),contentType:"image/png"}),e+=1}}catch(e){i.logger.error("Error capturing screenshot",e)}}}return e}))}}))),u=o.convertIntegrationFnToClass(c,l);t.Screenshots=u,t.screenshotsIntegration=l},4071:(e,t,n)=>{const r=n(8991),o=n(453),i=n(8241),s=n(4157),a=n(4004),c=n(843),l=n(4436),u=n(8943),d=n(2954),g=n(4486),p=n(6584),h=n(503),m="SentryMinidump",f=o.defineIntegration(((e={})=>{let t,n,f,I=e.maxMinidumpsPerSession||10;function b(e,t){var s,a,c,l;return r.__awaiter(this,void 0,void 0,(function*(){const r=t;if("browser"===(null===(s=r.tags)||void 0===s?void 0:s["event.process"])){const e=yield n;e&&(e.scope&&o.applyScopeDataToEvent(r,e.scope),r.release=(null===(a=e.event)||void 0===a?void 0:a.release)||r.release,r.environment=(null===(c=e.event)||void 0===c?void 0:c.environment)||r.environment,r.contexts=(null===(l=e.event)||void 0===l?void 0:l.contexts)||r.contexts)}if(!r)return!1;I<=0&&i.logger.log("Not sending minidumps because the limit has been reached");const u=!1===e.getOptions().enabled||I<=0;let d=!1;return yield null==f?void 0:f(u,(e=>{d=!0,I>0&&(I-=1,o.captureEvent(r,{attachments:[e]}))})),d}))}return{name:m,setupOnce(){},setup(e){if(process.mas)return;i.logger.log("Starting Electron crashReporter"),s.crashReporter.start({companyName:"",ignoreSystemCrashHandler:!0,productName:s.app.name||s.app.getName(),submitURL:"https://f.a.k/e",uploadToServer:!1,compress:!0}),t=new g.BufferedWriteStore(l.getSentryCachePath(),"scope_v3",{scope:(new o.Scope).getScopeData()}),n=t.get(),f=p.getMinidumpLoader();const m=e.getOptions();if(function(e,n){const i=o=>{setImmediate((()=>r.__awaiter(this,void 0,void 0,(function*(){return null==t?void 0:t.set({scope:o.getScopeData(),event:yield a.getEventDefaults(e,n)})}))))},s=o.getCurrentScope();s&&(s.addScopeListener(i),i(s))}((null==m?void 0:m.release)||a.getDefaultReleaseName(),(null==m?void 0:m.environment)||a.getDefaultEnvironment()),!(null==m?void 0:m.dsn))throw new i.SentryError("Attempted to enable Electron native crash reporter but no DSN was supplied");u.trackRendererProperties(),c.onRendererProcessGone(c.EXIT_REASONS,((t,n)=>function(e,t,n,o){var s;return r.__awaiter(this,void 0,void 0,(function*(){const{getRendererName:r,release:c,environment:l}=t,g=(null==r?void 0:r(n))||"renderer";i.logger.log(`'${g}' process '${o.reason}'`);const p=h.mergeEvents(yield a.getEventDefaults(c,l),{contexts:{electron:{crashed_url:(null===(s=u.getRendererProperties(n.id))||void 0===s?void 0:s.url)||"unknown",details:o}},level:"fatal",platform:"native",tags:{"event.environment":"native","event.process":g,"exit.reason":o.reason,event_type:"native"}});(yield b(e,p))&&d.sessionCrashed()}))}(e,m,t,n))),c.onChildProcessGone(c.EXIT_REASONS,(t=>function(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){i.logger.log(`${n.type} process has ${n.reason}`);const{release:r,environment:o}=t,s=h.mergeEvents(yield a.getEventDefaults(r,o),{contexts:{electron:{details:n}},level:"fatal",platform:"native",tags:{"event.environment":"native","event.process":n.type,"exit.reason":n.reason,event_type:"native"}});(yield b(e,s))&&d.sessionCrashed()}))}(e,m,t))),b(e,{level:"fatal",platform:"native",tags:{"event.environment":"native","event.process":"browser",event_type:"native"}}).then((e=>d.checkPreviousSession(e))).catch((e=>i.logger.error(e)))}}})),I=o.convertIntegrationFnToClass(m,f);t.SentryMinidump=I,t.sentryMinidumpIntegration=f},6584:(e,t,n)=>{const r=n(8991),o=n(8241),i=n(6928),s=n(1788),a=n(843),c=n(4436),l=30,u=864e5,d=1e3,g=500,p=5e3/g,h="MDMP";function m(e){return new Promise((t=>setTimeout(t,e)))}function f(e,t=(e=>e)){const n=new s.Mutex;return(i,s)=>r.__awaiter(this,void 0,void 0,(function*(){yield n.runExclusive((()=>r.__awaiter(this,void 0,void 0,(function*(){for(const n of yield e())try{if(i)continue;o.logger.log("Found minidump",n);let e=yield c.statAsync(n);const r=(new Date).getTime()-l*u;if(e.mtimeMs<r){o.logger.log(`Ignoring minidump as it is over ${l} days old`);continue}let a=0;for(;a<=p;){const r=(new Date).getTime()-d;if(e.mtimeMs<r){const e=yield c.readFileAsync(n),r=t(e);if(r.length<1e4||r.subarray(0,4).toString()!==h){o.logger.warn("Dropping minidump as it appears invalid.");break}o.logger.log("Sending minidump"),s({attachmentType:"event.minidump",filename:o.basename(n),data:r});break}o.logger.log(`Waiting. Minidump has been modified in the last ${d} milliseconds.`),a+=1,yield m(g),e=yield c.statAsync(n)}a>=p&&o.logger.warn("Timed out waiting for minidump to stop being modified")}catch(e){o.logger.error("Failed to load minidump",e)}finally{try{yield c.unlinkAsync(n)}catch(e){o.logger.warn("Could not delete minidump",n)}}}))))}))}function I(e,t=100){return r.__awaiter(this,void 0,void 0,(function*(){if(t>2e3)return;const n=i.join(e,"metadata");try{yield c.unlinkAsync(n),o.logger.log("Deleted Crashpad metadata file",n)}catch(n){n.code&&"EBUSY"==n.code&&setTimeout((()=>r.__awaiter(this,void 0,void 0,(function*(){yield I(e,2*t)}))),t)}}))}function b(){const e=a.getCrashesDirectory(),t="win32"===process.platform?"reports":"completed",n=[i.join(e,t)];return"darwin"===process.platform&&n.push(i.join(e,"pending")),f((()=>r.__awaiter(this,void 0,void 0,(function*(){return yield I(e).catch((e=>o.logger.error(e))),(yield function(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=[];for(const n of e)try{const e=yield c.readDirAsync(n);t.push(...e.map((e=>i.join(n,e))))}catch(e){}return t}))}(n)).filter((e=>e.endsWith(".dmp")))}))))}function C(e){const t=e.lastIndexOf("Content-Type: application/octet-stream");if(t>0){const n=e.indexOf(h,t),r=e.lastIndexOf("----------------------------");if(n>0&&r>0&&r>n)return e.subarray(n,r)}return e}t.createMinidumpLoader=f,t.getMinidumpLoader=function(){return a.usesCrashpad()?b():function(){const e=a.getCrashesDirectory();return f((()=>r.__awaiter(this,void 0,void 0,(function*(){const t=yield c.readDirAsync(e);return function(e,t){Promise.all(t.filter((e=>e.endsWith(".txt")&&!e.endsWith("log.txt"))).map((t=>r.__awaiter(this,void 0,void 0,(function*(){const n=i.join(e,t);try{yield c.unlinkAsync(n)}catch(e){o.logger.warn("Could not delete",n)}}))))).catch((()=>{}))}(e,t),t.filter((e=>e.endsWith(".dmp"))).map((t=>i.join(e,t)))}))),C)}()}},9437:(e,t,n)=>{const r=n(453),o=n(8241),i=n(4157),s=n(9023),a=n(2136),c=n(843),l=n(2075),u=n(1525),d=n(1300),g=n(2828),p=n(503);let h,m;const f={scheme:u.PROTOCOL_SCHEME,privileges:{bypassCSP:!0,corsEnabled:!0,supportFetchAPI:!0,secure:!0}};function I(){h=h||new Set,m=m||new Map;for(const e of i.webContents.getAllWebContents()){const t=e.id;h.has(t)||e.isDestroyed()||e.executeJavaScript("window.__SENTRY_RENDERER_ID__").then((n=>{n&&h&&m&&(h.add(t),m.set(n,t),e.once("destroyed",(()=>{null==h||h.delete(t),null==m||m.delete(n)})))}),o.logger.error)}}function b(e,t,n,o){var i,s,a,c;const l=o&&(null===(i=null==e?void 0:e.getRendererName)||void 0===i?void 0:i.call(e,o))||"renderer";t.breadcrumbs=t.breadcrumbs||[],delete t.environment,null===(s=t.sdk)||void 0===s||delete s.name,null===(a=t.sdk)||void 0===a||delete a.version,null===(c=t.sdk)||void 0===c||delete c.packages,r.captureEvent(p.mergeEvents(t,{tags:{"event.process":l}}),{attachments:n})}function C(e,t,n){let r;try{r=JSON.parse(t)}catch(e){return void o.logger.warn("sentry-electron received an invalid event message")}b(e,r,[],n)}function y(e,t,n){var a,c;const u=o.parseEnvelope(t,new s.TextEncoder,new s.TextDecoder),g=function(e){let t;const n=[];let r;return o.forEachEnvelopeItem(e,((e,o)=>{if("event"===o||"transaction"===o||"feedback"===o)t=Array.isArray(e)?e[1]:void 0;else if("attachment"===o){const[t,r]=e;n.push({filename:t.filename,attachmentType:t.attachment_type,contentType:t.content_type,data:r})}else"profile"===o&&(r=e[1])})),t?[t,n,r]:void 0}(u);if(g){const[t,r,o]=g;o&&l.rendererProfileFromIpc(t,o),b(e,t,r,n)}else{const e=d.normalizeUrlsInReplayEnvelope(u,i.app.getAppPath());null===(c=null===(a=r.getClient())||void 0===a?void 0:a.getTransport())||void 0===c||c.send(e)}}function v(e){const t=r.getClient();(null==t?void 0:t.metricsAggregator)?t.metricsAggregator.add(e.metricType,e.name,e.value,e.unit,e.tags,e.timestamp):o.logger.warn("Metric was dropped because the aggregator is not configured in the main process. Enable via '_experiments.metricsAggregator: true' in your init call.")}function A(e){return null!=e&&Object.keys(e).length>0}function G(e,t){let n;try{n=JSON.parse(t)}catch(e){return void o.logger.warn("sentry-electron received an invalid scope message")}const i=r.getCurrentScope();A(n.user)&&i.setUser(n.user),A(n.tags)&&i.setTags(n.tags),A(n.extra)&&i.setExtras(n.extra);for(const e of n.attachments||[])i.addAttachment(e);const s=n.breadcrumbs.pop();s&&i.addBreadcrumb(s,(null==e?void 0:e.maxBreadcrumbs)||100)}t.configureIPC=function(e){if(!c.supportsFullProtocol()&&e.ipcMode===g.IPCMode.Protocol)throw new o.SentryError("IPCMode.Protocol is only supported in Electron >= v5");c.supportsFullProtocol()&&(e.ipcMode&g.IPCMode.Protocol)>0&&function(e){if(i.app.isReady())throw new o.SentryError("Sentry SDK should be initialized before the Electron app 'ready' event is fired");i.protocol.registerSchemesAsPrivileged([f]),i.protocol.registerSchemesAsPrivileged=new Proxy(i.protocol.registerSchemesAsPrivileged,{apply:(e,t,n)=>{e([...n[0],f])}});const t=a.createRendererAnrStatusHandler();c.whenAppReady.then((()=>{for(const n of e.getSessions())c.registerProtocol(n.protocol,u.PROTOCOL_SCHEME,(n=>{const r=()=>{const e=n.windowId?null==m?void 0:m.get(n.windowId):void 0;return e?i.webContents.fromId(e):void 0},o=n.body;if(n.url.startsWith(`${u.PROTOCOL_SCHEME}://${u.IPCChannel.RENDERER_START}`))I();else if(n.url.startsWith(`${u.PROTOCOL_SCHEME}://${u.IPCChannel.EVENT}`)&&o)C(e,o.toString(),r());else if(n.url.startsWith(`${u.PROTOCOL_SCHEME}://${u.IPCChannel.SCOPE}`)&&o)G(e,o.toString());else if(n.url.startsWith(`${u.PROTOCOL_SCHEME}://${u.IPCChannel.ENVELOPE}`)&&o)y(e,o,r());else if(n.url.startsWith(`${u.PROTOCOL_SCHEME}://${u.IPCChannel.ADD_METRIC}`)&&o)v(JSON.parse(o.toString()));else if(n.url.startsWith(`${u.PROTOCOL_SCHEME}://${u.IPCChannel.STATUS}`)&&o){const e=r();if(e){const n=JSON.parse(o.toString()).status;t(n,e)}}}))})).catch((e=>o.logger.error(e)))}(e),(e.ipcMode&g.IPCMode.Classic)>0&&function(e){i.ipcMain.on(u.IPCChannel.RENDERER_START,(({sender:e})=>{const t=e.id;h=h||new Set,h.has(t)||e.isDestroyed()||(h.add(t),e.once("destroyed",(()=>{null==h||h.delete(t)})))})),i.ipcMain.on(u.IPCChannel.EVENT,(({sender:t},n)=>C(e,n,t))),i.ipcMain.on(u.IPCChannel.SCOPE,((t,n)=>G(e,n))),i.ipcMain.on(u.IPCChannel.ENVELOPE,(({sender:t},n)=>y(e,n,t)));const t=a.createRendererAnrStatusHandler();i.ipcMain.on(u.IPCChannel.STATUS,(({sender:e},n)=>t(n,e))),i.ipcMain.on(u.IPCChannel.ADD_METRIC,((e,t)=>v(t)))}(e)}},8943:(e,t,n)=>{const r=n(8241),o=n(4157),i=n(843);let s;t.getRendererProperties=function(e){return null==s?void 0:s.get(e)},t.trackRendererProperties=function(){if(s)return;const e=s=new Map;function t(t,n){const i=e.get(t)||{id:t};i.url=r.normalizeUrlToBase(n,o.app.getAppPath()),e.set(t,i)}i.onWebContentsCreated((n=>{const r=n.id;n.on("did-navigate",((e,n)=>t(r,n))),n.on("did-navigate-in-page",((e,n)=>t(r,n))),n.on("page-title-updated",((t,n)=>function(t,n){const r=e.get(t)||{id:t};r.title=n,e.set(t,r)}(r,n))),n.on("destroyed",(()=>{setTimeout((()=>{e.delete(r)}),5e3)}))}))}},2855:(e,t,n)=>{const r=n(199),o=n(4157),i=n(4004),s=n(1360),a=n(2113),c=n(7845),l=n(8e3),u=n(2931),d=n(9787),g=n(3560),p=n(6202),h=n(2075),m=n(8670),f=n(4071),I=n(9437),b=n(8305),C=n(9742),y=n(4546),v=n(2828);y.ensureProcess("main");const A=[f.sentryMinidumpIntegration(),c.electronBreadcrumbsIntegration(),d.electronNetIntegration(),l.mainContextIntegration(),a.childProcessIntegration(),g.onUncaughtExceptionIntegration(),p.preloadInjectionIntegration(),s.additionalContextIntegration(),m.screenshotsIntegration(),h.rendererProfilingIntegration(),...r.defaultIntegrations.filter((e=>"OnUncaughtException"!==e.name&&"Context"!==e.name))],G={_metadata:{sdk:i.getSdkInfo()},ipcMode:v.IPCMode.Both,getSessions:()=>[o.session.defaultSession]},Z=[{override:"ElectronMinidump",remove:"SentryMinidump"},{override:"BrowserWindowSession",remove:"MainProcessSession"}];t.defaultIntegrations=A,t.init=function(e){const t=Object.assign(G,e),n=A;void 0===t.release&&(t.release=i.getDefaultReleaseName()),void 0===t.environment&&(t.environment=i.getDefaultEnvironment()),!1!==t.autoSessionTracking&&(n.push(u.mainProcessSessionIntegration()),t.autoSessionTracking=!1),void 0===t.stackParser&&(t.stackParser=b.defaultStackParser),function(e,t){if(void 0===t.defaultIntegrations){const n=(e,t)=>{const n=Z.filter((({override:t})=>e.some((e=>e.name===t)))).map((({remove:e})=>e));return t.filter((e=>!n.includes(e.name)))};if(Array.isArray(t.integrations))return void(t.defaultIntegrations=n(t.integrations,e));if("function"==typeof t.integrations){const e=t.integrations;t.integrations=t=>{const r=e(t);return n(r,r)}}t.defaultIntegrations=e}}(n,t),t.dsn&&void 0===t.transport&&(t.transport=C.makeElectronOfflineTransport),I.configureIPC(t),r.init(t)}},2954:(e,t,n)=>{const r=n(8991),o=n(453),i=n(199),s=n(8241),a=n(4157),c=n(4436),l=n(4486);let u,d,g;function p(){return u||(u=new l.Store(c.getSentryCachePath(),"session",void 0),d=u.get()),u}function h(){return r.__awaiter(this,void 0,void 0,(function*(){g&&clearInterval(g);const e=o.getCurrentScope().getSession();e?"ok"===e.status?(s.logger.log("Ending session"),o.endSession()):s.logger.log("Session was already ended"):s.logger.log("No session"),yield p().clear(),yield i.flush(2e3)}))}const m=e=>r.__awaiter(void 0,void 0,void 0,(function*(){if(!e.defaultPrevented){s.logger.log("[Session] Exit Handler"),e.preventDefault();try{yield h()}catch(e){s.logger.warn("[Session] Error ending session:",e)}a.app.exit()}}));t.checkPreviousSession=function(e){var t,n;return r.__awaiter(this,void 0,void 0,(function*(){const r=o.getClient(),i=yield d;if(i&&r){if("ok"!==i.status)return void(d=void 0);const a=e?"crashed":"abnormal";s.logger.log(`Found previous ${a} session`);const c=o.makeSession(i);o.updateSession(c,{status:a,errors:(c.errors||0)+1,release:null===(t=i.attrs)||void 0===t?void 0:t.release,environment:null===(n=i.attrs)||void 0===n?void 0:n.environment}),yield r.sendSession(c),d=void 0}}))},t.endSession=h,t.endSessionOnExit=function(){a.app.on("before-quit",(()=>{a.app.removeListener("will-quit",m),a.app.on("will-quit",m)}))},t.sessionAnr=function(){g&&clearInterval(g);const e=o.getCurrentScope().getSession();e&&"ok"===e.status&&(s.logger.log("Setting session as abnormal ANR"),o.updateSession(e,{status:"abnormal",abnormal_mechanism:"anr_foreground"}),o.captureSession())},t.sessionCrashed=function(){g&&clearInterval(g),s.logger.log("Session Crashed");const e=o.getCurrentScope().getSession();if(e){if("ok"===e.status){s.logger.log("Setting session as crashed");const t=e.errors+1;o.updateSession(e,{status:"crashed",errors:t})}else s.logger.log("Session already ended");o.captureSession()}else s.logger.log("No session to update")},t.startSession=function(e){const t=o.startSession();e&&o.captureSession(),p().set(t).catch((()=>{})),g=setInterval((()=>r.__awaiter(this,void 0,void 0,(function*(){const e=o.getCurrentScope().getSession();e&&"ok"===e.status&&(yield p().set(e))}))),6e4)},t.unreportedDuringLastSession=function(e){return r.__awaiter(this,void 0,void 0,(function*(){if(!e)return!1;const t=yield p().getModifiedDate();if(void 0===t)return!1;const n=t.getTime(),r=e.getTime();return r>n-2e3&&r<n+6e4}))}},8305:(e,t,n)=>{const r=n(199),o=n(8241),i=n(4157),s=o.createStackParser(o.nodeStackLineParser(r.createGetModuleFromFilename(i.app.getAppPath())));t.defaultStackParser=s},4486:(e,t,n)=>{const r=n(8991),o=n(8241),i=n(6928),s=n(1788),a=n(4436),c=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.*\d{0,10}Z$/;function l(e,t){return"string"==typeof t&&c.test(t)?new Date(t):t}class u{constructor(e,t,n){this._lock=new s.Mutex,this._path=i.join(e,`${t}.json`),this._initial=n}set(e){return r.__awaiter(this,void 0,void 0,(function*(){yield this._lock.runExclusive((()=>r.__awaiter(this,void 0,void 0,(function*(){this._data=e;try{if(void 0===e)try{yield a.unlinkAsync(this._path)}catch(e){}else yield a.mkdirp(i.dirname(this._path)),yield a.writeFileAsync(this._path,JSON.stringify(e))}catch(e){o.logger.warn("Failed to write to store",e)}}))))}))}get(){return r.__awaiter(this,void 0,void 0,(function*(){return this._lock.runExclusive((()=>r.__awaiter(this,void 0,void 0,(function*(){if(void 0===this._data)try{this._data=JSON.parse(yield a.readFileAsync(this._path,"utf8"),l)}catch(e){this._data=this._initial}return this._data}))))}))}update(e){return r.__awaiter(this,void 0,void 0,(function*(){yield this.set(e(yield this.get()))}))}clear(){return r.__awaiter(this,void 0,void 0,(function*(){yield this.set(this._initial)}))}getModifiedDate(){var e;return r.__awaiter(this,void 0,void 0,(function*(){try{return null===(e=yield a.statAsync(this._path))||void 0===e?void 0:e.mtime}catch(e){return}}))}}t.BufferedWriteStore=class extends u{constructor(e,t,n,r=500){super(e,t,n),this._throttleTime=r}set(e){var t;return r.__awaiter(this,void 0,void 0,(function*(){this._data=e,this._pendingWrite={data:e,timeout:(null===(t=this._pendingWrite)||void 0===t?void 0:t.timeout)||setTimeout((()=>this._writePending()),this._throttleTime)}}))}_writePending(){if(this._pendingWrite){const e=this._pendingWrite.data;this._pendingWrite=void 0,super.set(e).catch((()=>{}))}}},t.Store=u},2260:(e,t,n)=>{const r=n(453),o=n(8241),i=n(4157),s=n(2203),a=n(7016),c=n(3106),l=n(843);function u(e,t){return t["Content-Type"]="application/x-sentry-envelope",function(n){return l.whenAppReady.then((()=>new Promise(((r,l)=>{let u=(d=n.body,new s.Readable({read(){this.push(d),this.push(null)}}));var d;const g=Object.assign({},t);n.body.length>32768&&(g["content-encoding"]="gzip",u=u.pipe(c.createGzip()));const p=i.net.request(function(e){const{hostname:t,pathname:n,port:r,protocol:o,search:i}=new a.URL(e);return{method:"POST",hostname:t,path:`${n}${i}`,port:parseInt(r,10),protocol:o}}(e));for(const e of Object.keys(g))p.setHeader(e,g[e]);p.on("response",(e=>{var t,n;e.on("error",l),e.on("data",(()=>{})),e.on("end",(()=>{}));const i=null!==(t=e.headers["retry-after"])&&void 0!==t?t:void 0,s=null!==(n=e.headers["x-sentry-rate-limits"])&&void 0!==n?n:void 0;r({headers:o.dropUndefinedKeys({"retry-after":Array.isArray(i)?i[0]:i,"x-sentry-rate-limits":Array.isArray(s)?s[0]:s})})})),p.on("error",l),u.pipe(p)}))))}}t.createElectronNetRequestExecutor=u,t.makeElectronTransport=function(e){return r.createTransport(e,u(e.url,e.headers||{}))}},9742:(e,t,n)=>{const r=n(8991),o=n(453),i=n(8241),s=n(4157),a=n(6928),c=n(4436),l=n(2260),u=n(9909),d=2e9;function g(e){return"online"in s.net&&!0!==s.net.online?"queue":"send"}t.makeElectronOfflineTransport=function(e){const t=l.createElectronNetRequestExecutor(e.url,e.headers||{}),n=new u.PersistedRequestQueue(a.join(c.getSentryCachePath(),"queue"),e.maxQueueAgeDays,e.maxQueueCount),s=e.beforeSend||g;let p=5e3,h=-1;function m(t){e.queuedLengthChanged&&t!==h&&(h=t,e.queuedLengthChanged(t))}function f(){n.pop().then((e=>{e?(m(e.pendingCount+1),i.logger.log("Found a request in the queue"),I(e.request).catch((e=>i.logger.error(e)))):m(0)})).catch((e=>i.logger.error(e)))}function I(e){return r.__awaiter(this,void 0,void 0,(function*(){let o=s(e);if(o instanceof Promise&&(o=yield o),"send"===o){try{const n=yield t(e);if(!function(e){return!(!e.headers||!("x-sentry-rate-limits"in e.headers))}(n))return i.logger.log("Successfully sent"),p=5e3,f(),n;i.logger.log("Rate limited",n.headers)}catch(e){i.logger.log("Error sending:",e)}o="queue"}return"queue"==o?function(e){return r.__awaiter(this,void 0,void 0,(function*(){return i.logger.log("Queuing request"),m(yield n.add(e)),setTimeout((()=>{f()}),p),p*=3,p>d&&(p=d),{}}))}(e):(i.logger.log("Dropping request"),{})}))}return f(),o.createTransport(e,I)}},9909:(e,t,n)=>{const r=n(8991),o=n(8241),i=n(6928),s=n(4436),a=n(4486);t.PersistedRequestQueue=class{constructor(e,t=30,n=30){this._queuePath=e,this._maxAgeDays=t,this._maxCount=n,this._queue=new a.BufferedWriteStore(this._queuePath,"queue",[])}add(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=o.uuid4();let n=0;yield this._queue.update((r=>{for(r.push({bodyPath:t,date:e.date||new Date});r.length>this._maxCount;){const e=r.shift();e&&this._removeBody(e.bodyPath)}return n=r.length,r}));try{yield s.writeFileAsync(i.join(this._queuePath,t),e.body)}catch(e){}return n}))}pop(){return r.__awaiter(this,void 0,void 0,(function*(){let e,t=0;const n=Date.now()-864e5*this._maxAgeDays;if(yield this._queue.update((r=>{for(;e=r.shift();){if(!("type"in e||e.date.getTime()<n)){t=r.length;break}this._removeBody(e.bodyPath),e=void 0}return r})),e)try{const n=yield s.readFileAsync(i.join(this._queuePath,e.bodyPath));return this._removeBody(e.bodyPath),{request:{body:n,date:e.date||new Date},pendingCount:t}}catch(e){o.logger.warn("Filed to read queued request body",e)}}))}_removeBody(e){s.unlinkAsync(i.join(this._queuePath,e)).catch((()=>{}))}}},6095:(e,t)=>{t.SDK_VERSION="4.24.0"},2190:(e,t,n)=>{const r=n(6799);t.enableAnrRendererMessages=function(e){const t=Object.assign({pollInterval:1e3,anrThreshold:5e3,captureStackTrace:!1},e),n=r.getIPC();document.addEventListener("visibilitychange",(()=>{n.sendStatus({status:document.visibilityState,config:t})})),n.sendStatus({status:document.visibilityState,config:t}),setInterval((()=>{n.sendStatus({status:"alive",config:t})}),t.pollInterval)}},5401:(e,t,n)=>{const r=n(7159),o=n(3749),i=n(453),s=n(8197),a=n(6136),c=n(4805),l=Object.assign(Object.assign({},i.metrics),{MetricsAggregator:a.MetricsAggregator}),u=Object.assign(Object.assign({},r.Integrations),o);t.BrowserClient=r.BrowserClient,t.BrowserProfilingIntegration=r.BrowserProfilingIntegration,t.BrowserTracing=r.BrowserTracing,t.Replay=r.Replay,t.addTracingExtensions=r.addTracingExtensions,t.breadcrumbsIntegration=r.breadcrumbsIntegration,t.browserApiErrorsIntegration=r.browserApiErrorsIntegration,t.browserProfilingIntegration=r.browserProfilingIntegration,t.browserTracingIntegration=r.browserTracingIntegration,t.dedupeIntegration=r.dedupeIntegration,t.feedbackIntegration=r.feedbackIntegration,t.globalHandlersIntegration=r.globalHandlersIntegration,t.httpContextIntegration=r.httpContextIntegration,t.lastEventId=r.lastEventId,t.linkedErrorsIntegration=r.linkedErrorsIntegration,t.replayCanvasIntegration=r.replayCanvasIntegration,t.replayIntegration=r.replayIntegration,t.sendFeedback=r.sendFeedback,t.showReportDialog=r.showReportDialog,t.Hub=i.Hub,t.ModuleMetadata=i.ModuleMetadata,t.Scope=i.Scope,t.addBreadcrumb=i.addBreadcrumb,t.addEventProcessor=i.addEventProcessor,t.addGlobalEventProcessor=i.addGlobalEventProcessor,t.addIntegration=i.addIntegration,t.captureCheckIn=i.captureCheckIn,t.captureEvent=i.captureEvent,t.captureException=i.captureException,t.captureMessage=i.captureMessage,t.configureScope=i.configureScope,t.continueTrace=i.continueTrace,t.createTransport=i.createTransport,t.extractTraceparentData=i.extractTraceparentData,t.functionToStringIntegration=i.functionToStringIntegration,t.getActiveSpan=i.getActiveSpan,t.getActiveTransaction=i.getActiveTransaction,t.getClient=i.getClient,t.getCurrentHub=i.getCurrentHub,t.getCurrentScope=i.getCurrentScope,t.getGlobalScope=i.getGlobalScope,t.getHubFromCarrier=i.getHubFromCarrier,t.getIsolationScope=i.getIsolationScope,t.inboundFiltersIntegration=i.inboundFiltersIntegration,t.makeMain=i.makeMain,t.moduleMetadataIntegration=i.moduleMetadataIntegration,t.parameterize=i.parameterize,t.runWithAsyncContext=i.runWithAsyncContext,t.setContext=i.setContext,t.setExtra=i.setExtra,t.setExtras=i.setExtras,t.setMeasurement=i.setMeasurement,t.setTag=i.setTag,t.setTags=i.setTags,t.setUser=i.setUser,t.spanStatusfromHttpCode=i.spanStatusfromHttpCode,t.startActiveSpan=i.startActiveSpan,t.startInactiveSpan=i.startInactiveSpan,t.startSpan=i.startSpan,t.startSpanManual=i.startSpanManual,t.startTransaction=i.startTransaction,t.trace=i.trace,t.withMonitor=i.withMonitor,t.withScope=i.withScope,t.scopeToMainIntegration=s.scopeToMainIntegration,t.metricsAggregatorIntegration=a.metricsAggregatorIntegration,t.defaultIntegrations=c.defaultIntegrations,t.init=c.init,t.Integrations=u,t.metrics=l},5037:(e,t,n)=>{const r=n(8241),o=n(6799);class i{constructor(){this.name=i.id}setupOnce(e){const t=o.getIPC();e((e=>(e.breadcrumbs=e.breadcrumbs||[],e.environment=void 0,t.sendEvent(JSON.stringify(r.normalize(e,20,2e3))),null)))}}i.id="EventToMain",t.EventToMain=i},3749:(e,t,n)=>{const r=n(8197),o=n(5037);t.ScopeToMain=r.ScopeToMain,t.EventToMain=o.EventToMain},6136:(e,t,n)=>{const r=n(453),o=n(2020),i="MetricsAggregator",s=()=>({name:i,setupOnce(){},setup(e){e.metricsAggregator=new o.ElectronRendererMetricsAggregator}}),a=r.convertIntegrationFnToClass(i,s);t.MetricsAggregator=a,t.metricsAggregatorIntegration=s},8197:(e,t,n)=>{const r=n(453),o=n(8241),i=n(6799),s="ScopeToMain",a=r.defineIntegration((()=>({name:s,setupOnce(){},setup(){const e=r.getCurrentScope();if(e){const t=i.getIPC();e.addScopeListener((n=>{t.sendScope(JSON.stringify(o.normalize(n.getScopeData(),20,2e3))),e.clearBreadcrumbs(),e.clearAttachments()}))}}}))),c=r.convertIntegrationFnToClass(s,a);t.ScopeToMain=c,t.scopeToMainIntegration=a},6799:(e,t,n)=>{const r=n(8241),o=n(1525);function i(e){return`${o.PROTOCOL_SCHEME}://${e}/sentry_key`}let s;t.getIPC=function(){return s||(s=function(){if(window.__SENTRY_IPC__)return window.__SENTRY_IPC__;{r.logger.log("IPC was not configured in preload script, falling back to custom protocol and fetch");const e=window.__SENTRY_RENDERER_ID__=r.uuid4(),t={[o.RENDERER_ID_HEADER]:e};return{sendRendererStart:()=>{fetch(i(o.IPCChannel.RENDERER_START),{method:"POST",body:"",headers:t}).catch((()=>{console.error("Sentry SDK failed to establish connection with the Electron main process.\n  - Ensure you have initialized the SDK in the main process\n  - If your renderers use custom sessions, be sure to set 'getSessions' in the main process options\n  - If you are bundling your main process code and using Electron < v5, you'll need to manually configure a preload script")}))},sendScope:e=>{fetch(i(o.IPCChannel.SCOPE),{method:"POST",body:e,headers:t}).catch((()=>{}))},sendEvent:e=>{fetch(i(o.IPCChannel.EVENT),{method:"POST",body:e,headers:t}).catch((()=>{}))},sendEnvelope:e=>{fetch(i(o.IPCChannel.ENVELOPE),{method:"POST",body:e,headers:t}).catch((()=>{}))},sendStatus:e=>{fetch(i(o.IPCChannel.STATUS),{method:"POST",body:JSON.stringify({status:e}),headers:t}).catch((()=>{}))},sendAddMetric:e=>{fetch(i(o.IPCChannel.ADD_METRIC),{method:"POST",body:JSON.stringify(e),headers:t}).catch((()=>{}))}}}}(),s.sendRendererStart()),s}},2020:(e,t,n)=>{const r=n(6799);t.ElectronRendererMetricsAggregator=class{constructor(){this._ipc=r.getIPC()}add(e,t,n,r,o,i){this._ipc.sendAddMetric({metricType:e,name:t,value:n,unit:r,tags:o,timestamp:i})}flush(){}close(){}toString(){return""}}},4805:(e,t,n)=>{const r=n(7159),o=n(8241),i=n(2190),s=n(6136),a=n(8197),c=n(7923),l=n(340),u=n(4546),d=[...r.defaultIntegrations,a.scopeToMainIntegration(),s.metricsAggregatorIntegration()];t.defaultIntegrations=d,t.init=function(e={},t=r.init){u.ensureProcess("renderer"),(null===window||void 0===window?void 0:window.__SENTRY__RENDERER_INIT__)?o.logger.warn("The browser SDK has already been initialized.\nIf init has been called in the preload and contextIsolation is disabled, is not required to call init in the renderer"):(window.__SENTRY__RENDERER_INIT__=!0,void 0===e.autoSessionTracking&&(e.autoSessionTracking=!1),e.sendClientReports=!1,void 0===e.defaultIntegrations&&(e.defaultIntegrations=d),void 0===e.stackParser&&(e.stackParser=c.electronRendererStackParser),void 0===e.dsn&&(e.dsn="https://12345@dummy.dsn/12345"),void 0===e.transport&&(e.transport=l.makeRendererTransport),e.anrDetection&&i.enableAnrRendererMessages(!0===e.anrDetection?{}:e.anrDetection),delete e.initialScope,t(e))}},7923:(e,t,n)=>{const r=n(7159),o=n(8241),[,i]=r.chromeStackLineParser,[,s]=o.nodeStackLineParser();t.electronRendererStackParser=(e,t=0)=>{const n=[];for(const r of e.split("\n").slice(t)){const e=i(r),t=s(r);if(e&&!1!==(null==t?void 0:t.in_app)?n.push(e):t&&n.push(o.dropUndefinedKeys(t)),n.length>=50)break}return o.stripSentryFramesAndReverse(n)}},340:(e,t,n)=>{const r=n(8991),o=n(453),i=n(6799);t.makeRendererTransport=function(e){const t=i.getIPC();return o.createTransport(e,(e=>r.__awaiter(this,void 0,void 0,(function*(){return t.sendEnvelope(e.body),{statusCode:200}}))))}},7733:(e,t,n)=>{"use strict";n.d(t,{q:()=>g});var r=n(3827),o=n(1234),i=n(4870),s=n(2859),a=n(7669),c=n(6877),l=n(1666),u=n(8647);const d="CaptureConsole",g=(0,o._C)(((e={})=>{const t=e.levels||i.Ow;return{name:d,setupOnce(){},setup(e){"console"in s.OW&&(0,a.P)((({args:n,level:o})=>{(0,r.KU)()===e&&t.includes(o)&&function(e,t){const n={level:(0,c.te)(t),extra:{arguments:e}};(0,r.v4)((o=>{if(o.addEventProcessor((e=>(e.logger="console",(0,l.M6)(e,{handled:!1,type:"console"}),e))),"assert"===t&&!1===e[0]){const t=`Assertion failed: ${(0,u.gt)(e.slice(1)," ")||"console.assert"}`;return o.setExtra("arguments",e.slice(1)),void(0,r.wd)(t,n)}const i=e.find((e=>e instanceof Error));if("error"===t&&i)return void(0,r.Cp)(i,n);const s=(0,u.gt)(e," ");(0,r.wd)(s,n)}))}(n,o)}))}}}));(0,o.F)(d,g)},7290:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},107:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(1234),o=n(4870);const i="Debug",s=(0,r._C)(((e={})=>{const t={debugger:!1,stringify:!1,...e};return{name:i,setupOnce(){},setup(e){e.on&&e.on("beforeSendEvent",((e,n)=>{t.debugger,(0,o.pq)((()=>{t.stringify?(console.log(JSON.stringify(e,null,2)),n&&Object.keys(n).length&&console.log(JSON.stringify(n,null,2))):(console.log(e),n&&Object.keys(n).length&&console.log(n))}))}))}}}));(0,r.F)(i,s)},2125:(e,t,n)=>{"use strict";n.d(t,{sn:()=>a});var r=n(1234),o=n(4870),i=n(7290);const s="Dedupe",a=(0,r._C)((()=>{let e;return{name:s,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!l(e,t)&&!!c(e,t))))}(e,t)||!!function(e,t){const n=u(t),r=u(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!l(e,t)&&!!c(e,t)))}(e,t))}(t,e))return i.T&&o.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}}));function c(e,t){let n=d(e),r=d(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],o=n[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function l(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function u(e){return e.exception&&e.exception.values&&e.exception.values[0]}function d(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}(0,r.F)(s,a)},8706:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var r=n(1234),o=n(3390),i=n(9659),s=n(1085),a=n(4870),c=n(7290);const l="ExtraErrorData",u=(0,r._C)(((e={})=>{const t=e.depth||3,n=e.captureErrorCause||!1;return{name:l,setupOnce(){},processEvent:(e,r)=>function(e,t={},n,r){if(!t.originalException||!(0,o.bJ)(t.originalException))return e;const l=t.originalException.name||t.originalException.constructor.name,u=function(e,t){try{const n=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],r={};for(const t of Object.keys(e)){if(-1!==n.indexOf(t))continue;const i=e[t];r[t]=(0,o.bJ)(i)?i.toString():i}if(t&&void 0!==e.cause&&(r.cause=(0,o.bJ)(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];r[e]=(0,o.bJ)(n)?n.toString():n}}return r}catch(e){c.T&&a.vF.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,r);if(u){const t={...e.contexts},r=(0,i.S8)(u,n);return(0,o.Qd)(r)&&((0,s.my)(r,"__sentry_skip_normalization__",!0),t[l]=r),{...e,contexts:t}}return e}(e,r,t,n)}}));(0,r.F)(l,u)},781:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(1234),o=n(3827),i=n(3545),s=n(4870),a=n(8970),c=n(1232),l=n(2859),u=n(1102),d=n(1666),g=n(7290);const p="HttpClient",h=(0,r._C)(((e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:p,setupOnce(){},setup(e){!function(e,t){(0,a.m7)()&&(0,c.u)((n=>{if((0,o.KU)()!==e)return;const{response:r,args:i}=n,[a,c]=i;r&&function(e,t,n,r){if(I(e,n.status,n.url)){const e=function(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}(t,r);let i,a,c,l;C()&&([{headers:i,cookies:c},{headers:a,cookies:l}]=[{cookieHeader:"Cookie",obj:e},{cookieHeader:"Set-Cookie",obj:n}].map((({cookieHeader:e,obj:t})=>{const n=function(e){const t={};return e.forEach(((e,n)=>{t[n]=e})),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=f(t))}catch(t){g.T&&s.vF.log(`Could not extract cookies from header ${e}`)}return{headers:n,cookies:r}})));const u=b({url:e.url,method:e.method,status:n.status,requestHeaders:i,responseHeaders:a,requestCookies:c,responseCookies:l});(0,o.r)(u)}}(t,a,r,c)}))}(e,t),function(e,t){"XMLHttpRequest"in l.OW&&(0,u.Mn)((n=>{if((0,o.KU)()!==e)return;const r=n.xhr,i=r[u.Er];if(!i)return;const{method:a,request_headers:c}=i;try{!function(e,t,n,r){if(I(e,t.status,t.responseURL)){let e,i,a;if(C()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(i=f(e))}catch(e){g.T&&s.vF.log("Could not extract cookies from response headers")}try{a=function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n]=r,e}),{}):{}}(t)}catch(e){g.T&&s.vF.log("Could not extract headers from response")}e=r}const c=b({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:a,responseCookies:i});(0,o.r)(c)}}(t,r,a,c)}catch(e){g.T&&s.vF.warn("Error while extracting response event form XHR response",e)}}))}(e,t)}}}));function m(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function f(e){return e.split("; ").reduce(((e,t)=>{const[n,r]=t.split("=");return e[n]=r,e}),{})}function I(e,t,n){return function(e,t){return e.some((e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1]))}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,s=n,r.some((e=>"string"==typeof e?s.includes(e):e.test(s))))&&!(0,i.A)(n,(0,o.KU)());var r,s}function b(e){const t=`HTTP Client Error with status code: ${e.status}`,n={message:t,exception:{values:[{type:"Error",value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:m(e.responseHeaders)}}};return(0,d.M6)(n,{type:"http.client",handled:!1}),n}function C(){const e=(0,o.KU)();return!!e&&Boolean(e.getOptions().sendDefaultPii)}(0,r.F)(p,h)},736:(e,t,n)=>{"use strict";n.d(t,{n:()=>u});var r=n(3827),o=n(1234),i=n(2859),s=n(8970);const a=i.OW,c="ReportingObserver",l=new WeakMap,u=(0,o._C)(((e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(e){if(l.has((0,r.KU)()))for(const t of e)(0,r.v4)((e=>{e.setExtra("url",t.url);const n=`ReportingObserver [${t.type}]`;let o="No details available";if(t.body){const n={};for(const e in t.body)n[e]=t.body[e];if(e.setExtra("body",n),"crash"===t.type){const e=t.body;o=[e.crashId||"",e.reason||""].join(" ").trim()||o}else o=t.body.message||o}(0,r.wd)(`${n}: ${o}`)}))}return{name:c,setupOnce(){(0,s.vQ)()&&new a.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){l.set(e,!0)}}}));(0,o.F)(c,u)},5386:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var r=n(1234),o=n(3729);const i="RewriteFrames",s=(0,r._C)(((e={})=>{const t=e.root,n=e.prefix||"app:///",r=e.iteratee||(e=>{if(!e.filename)return e;const r=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),i=/^\//.test(e.filename);if(r||i){const i=r?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,s=t?(0,o.V8)(t,i):(0,o.P8)(i);e.filename=`${n}${s}`}return e});return{name:i,setupOnce(){},processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map((e=>{return{...e,...e.stacktrace&&{stacktrace:(t=e.stacktrace,{...t,frames:t&&t.frames&&t.frames.map((e=>r(e)))})}};var t}))}}}catch(t){return e}}(t)),t}}}));(0,r.F)(i,s)},4862:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1234);const o="SessionTiming",i=(0,r._C)((()=>{const e=Date.now();return{name:o,setupOnce(){},processEvent(t){const n=Date.now();return{...t,extra:{...t.extra,"session:start":e,"session:duration":n-e,"session:end":n}}}}}));(0,r.F)(o,i)},199:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_USER_INCLUDES:()=>Ht.cx,Handlers:()=>r,Http:()=>Pe,Hub:()=>a.YZ,Integrations:()=>Wn,NodeClient:()=>E,SDK_VERSION:()=>c.M,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>l.uT,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>l.JD,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>l.sy,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>l.i_,Scope:()=>u.HG,Undici:()=>Bt,addBreadcrumb:()=>d.ZQ,addEventProcessor:()=>g.S,addGlobalEventProcessor:()=>p.lb,addIntegration:()=>h.Q8,addRequestDataToEvent:()=>Ht.GY,anrIntegration:()=>Yt.a,autoDiscoverNodePerformanceMonitoringIntegrations:()=>W,captureCheckIn:()=>d.SE,captureConsoleIntegration:()=>In.q,captureEvent:()=>d.r,captureException:()=>d.Cp,captureMessage:()=>d.wd,captureSession:()=>d.J5,close:()=>d.VN,configureScope:()=>d.PN,consoleIntegration:()=>pe,contextLinesIntegration:()=>_e,continueTrace:()=>m.V4,createGetModuleFromFilename:()=>Rt,createTransport:()=>f.o,cron:()=>Nn,debugIntegration:()=>bn._,dedupeIntegration:()=>Cn.sn,deepReadDirSync:()=>Ft,defaultIntegrations:()=>Wt,defaultStackParser:()=>Et,enableAnrDetection:()=>Xt,endSession:()=>d.ky,extraErrorDataIntegration:()=>yn.X,extractRequestData:()=>Ht.Rj,extractTraceparentData:()=>I.nc,flush:()=>d.bX,functionToStringIntegration:()=>b.Z,getActiveSpan:()=>m.Bk,getActiveTransaction:()=>I.Z7,getClient:()=>d.KU,getCurrentHub:()=>a.BF,getCurrentScope:()=>d.o5,getDefaultIntegrations:()=>Nt,getGlobalScope:()=>u.m6,getHubFromCarrier:()=>a.Me,getIsolationScope:()=>a.rm,getModuleFromFilename:()=>Rn,getSentryRelease:()=>kt,getSpanStatusFromHttpCode:()=>C.AJ,hapiErrorPlugin:()=>Dt,hapiIntegration:()=>qt,httpClientIntegration:()=>vn.c,httpIntegration:()=>je,inboundFiltersIntegration:()=>y.D,init:()=>Vt,isInitialized:()=>d.Dp,lastEventId:()=>d.Q,linkedErrorsIntegration:()=>v.p,localVariablesIntegration:()=>it,makeMain:()=>a.gM,makeNodeTransport:()=>$,metrics:()=>A.qd,modulesIntegration:()=>lt,nativeNodeFetchintegration:()=>Zt,nodeContextIntegration:()=>ve,onUncaughtExceptionIntegration:()=>pt,onUnhandledRejectionIntegration:()=>ft,parameterize:()=>G.y,reportingObserverIntegration:()=>An.n,requestDataIntegration:()=>Z.I,rewriteFramesIntegration:()=>Gn.D,runWithAsyncContext:()=>a.fx,sessionTimingIntegration:()=>Zn.Z,setContext:()=>d.o,setCurrentClient:()=>B.B,setExtra:()=>d.l7,setExtras:()=>d.cx,setHttpStatus:()=>C.N8,setMeasurement:()=>S.X,setTag:()=>d.NA,setTags:()=>d.Wt,setUser:()=>d.gV,spanStatusfromHttpCode:()=>C.o6,spotlightIntegration:()=>yt,startActiveSpan:()=>m.D7,startInactiveSpan:()=>m.Uk,startSession:()=>d.J0,startSpan:()=>m.Lk,startSpanManual:()=>m.nV,startTransaction:()=>d.nb,trace:()=>m.uP,trpcMiddleware:()=>Kt,withActiveSpan:()=>d.hb,withIsolationScope:()=>d.rB,withMonitor:()=>d.T$,withScope:()=>d.v4});var r={};n.r(r),n.d(r,{errorHandler:()=>Mt,extractRequestData:()=>Lt,parseRequest:()=>Ut,requestHandler:()=>Jt,tracingHandler:()=>Ot,trpcMiddleware:()=>jt});var o={};n.r(o),n.d(o,{Anr:()=>Yt.M,Console:()=>he,Context:()=>Ae,ContextLines:()=>ke,Hapi:()=>en,Http:()=>Pe,LocalVariables:()=>ot,Modules:()=>ut,OnUncaughtException:()=>ht,OnUnhandledRejection:()=>It,RequestData:()=>Z.C,Spotlight:()=>vt,Undici:()=>Bt});var i={};n.r(i),n.d(i,{Apollo:()=>on,Express:()=>an,GraphQL:()=>un,Mongo:()=>pn,Mysql:()=>hn,Postgres:()=>mn,Prisma:()=>fn});var s=n(453),a=n(5959),c=n(72),l=n(651),u=n(6036),d=n(3827),g=n(5062),p=n(6581),h=n(1234),m=n(7568),f=n(4606),I=n(4064),b=n(972),C=n(3927),y=n(2800),v=n(186),A=n(9573),G=n(9855),Z=n(7723),B=n(3236),S=n(9197),w=n(8548),R=n(4870);function W(){const e=w.j.map((e=>{try{return e()}catch(e){return}})).filter((e=>!!e));return 0===e.length&&R.vF.warn("Performance monitoring integrations could not be automatically loaded."),e.filter((e=>!!e.loadDependency()))}var N=n(857),V=n(9023),_=n(6602),k=n(3843);class E extends _.v{constructor(e){(0,k.K)(e,"node"),e.transportOptions={textEncoder:new V.TextEncoder,...e.transportOptions},super({...e,platform:"node",runtime:{name:"node",version:global.process.version},serverName:e.serverName||global.process.env.SENTRY_NAME||N.hostname()})}}var H=n(4290),F=n(8611),Y=n(5692),X=n(2203),T=n(7016),x=n(3106),K=n(6615),L=n(9278);const U=require("tls"),O=Symbol("AgentBaseInternalState");class J extends F.Agent{constructor(e){super(e),this[O]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}const{stack:t}=new Error;return"string"==typeof t&&t.split("\n").some((e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:")))}createSocket(e,t,n){const r={...t,secureEndpoint:this.isSecureEndpoint(t)};Promise.resolve().then((()=>this.connect(e,r))).then((o=>{if(o instanceof F.Agent)return o.addRequest(e,r);this[O].currentSocket=o,super.createSocket(e,t,n)}),n)}createConnection(){const e=this[O].currentSocket;if(this[O].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return(0,H.S)(this[O].defaultPort,(()=>"https:"===this.protocol?443:80))}set defaultPort(e){this[O]&&(this[O].defaultPort=e)}get protocol(){return(0,H.S)(this[O].protocol,(()=>this.isSecureEndpoint()?"https:":"http:"))}set protocol(e){this[O]&&(this[O].protocol=e)}}function z(...e){R.vF.log("[https-proxy-agent:parse-proxy-response]",...e)}function M(...e){R.vF.log("[https-proxy-agent]",...e)}class j extends J{static __initStatic(){this.protocols=["http","https"]}constructor(e,t){super(t),this.options={},this.proxy="string"==typeof e?new T.URL(e):e,this.proxyHeaders=(0,H.S)((0,K.z)([t,"optionalAccess",e=>e.headers]),(()=>({}))),M("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),r=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?D(t,"headers"):null,host:n,port:r}}async connect(e,t){const{proxy:n}=this;if(!t.host)throw new TypeError('No "host" provided');let r;if("https:"===n.protocol){M("Creating `tls.Socket`: %o",this.connectOpts);const e=this.connectOpts.servername||this.connectOpts.host;r=U.connect({...this.connectOpts,servername:e&&L.isIP(e)?void 0:e})}else M("Creating `net.Socket`: %o",this.connectOpts),r=L.connect(this.connectOpts);const o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},i=L.isIPv6(t.host)?`[${t.host}]`:t.host;let s=`CONNECT ${i}:${t.port} HTTP/1.1\r\n`;if(n.username||n.password){const e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}o.Host=`${i}:${t.port}`,o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const e of Object.keys(o))s+=`${e}: ${o[e]}\r\n`;const a=function(e){return new Promise(((t,n)=>{let r=0;const o=[];function i(){const a=e.read();a?function(a){o.push(a),r+=a.length;const c=Buffer.concat(o,r),l=c.indexOf("\r\n\r\n");if(-1===l)return z("have not received end of HTTP headers yet..."),void i();const u=c.slice(0,l).toString("ascii").split("\r\n"),d=u.shift();if(!d)return e.destroy(),n(new Error("No header received from proxy CONNECT response"));const g=d.split(" "),p=+g[1],h=g.slice(2).join(" "),m={};for(const t of u){if(!t)continue;const r=t.indexOf(":");if(-1===r)return e.destroy(),n(new Error(`Invalid header from proxy CONNECT response: "${t}"`));const o=t.slice(0,r).toLowerCase(),i=t.slice(r+1).trimStart(),s=m[o];"string"==typeof s?m[o]=[s,i]:Array.isArray(s)?s.push(i):m[o]=i}z("got proxy server response: %o %o",d,m),s(),t({connect:{statusCode:p,statusText:h,headers:m},buffered:c})}(a):e.once("readable",i)}function s(){e.removeListener("end",a),e.removeListener("error",c),e.removeListener("readable",i)}function a(){s(),z("onend"),n(new Error("Proxy connection ended before receiving CONNECT response"))}function c(e){s(),z("onerror %o",e),n(e)}e.on("error",c),e.on("end",a),i()}))}(r);r.write(`${s}\r\n`);const{connect:c,buffered:l}=await a;if(e.emit("proxyConnect",c),this.emit("proxyConnect",c,e),200===c.statusCode){if(e.once("socket",P),t.secureEndpoint){M("Upgrading socket connection to TLS");const e=t.servername||t.host;return U.connect({...D(t,"host","path","port"),socket:r,servername:L.isIP(e)?void 0:e})}return r}r.destroy();const u=new L.Socket({writable:!1});return u.readable=!0,e.once("socket",(e=>{M("Replaying proxy buffer for failed request"),e.push(l),e.push(null)})),u}}function P(e){e.resume()}function D(e,...t){const n={};let r;for(r in e)t.includes(r)||(n[r]=e[r]);return n}j.__initStatic();const Q=32768;function $(e){let t;try{t=new T.URL(e.url)}catch(t){return(0,R.pq)((()=>{console.warn("[@sentry/node]: Invalid dsn or tunnel option, will not send any events. The tunnel option must be a full URL when used.")})),(0,f.o)(e,(()=>Promise.resolve({})))}const n="https:"===t.protocol,r=function(e,t){const{no_proxy:n}=process.env;return n&&n.split(",").some((t=>e.host.endsWith(t)||e.hostname.endsWith(t)))?void 0:t}(t,e.proxy||(n?process.env.https_proxy:void 0)||process.env.http_proxy),o=n?Y:F,i=void 0!==e.keepAlive&&e.keepAlive,s=r?new j(r):new o.Agent({keepAlive:i,maxSockets:30,timeout:2e3}),a=function(e,t,n){const{hostname:r,pathname:o,port:i,protocol:s,search:a}=new T.URL(e.url);return function(c){return new Promise(((l,u)=>{let d=function(e){return new X.Readable({read(){this.push(e),this.push(null)}})}(c.body);const g={...e.headers};c.body.length>Q&&(g["content-encoding"]="gzip",d=d.pipe((0,x.createGzip)()));const p=t.request({method:"POST",agent:n,headers:g,hostname:r,path:`${o}${a}`,port:i,protocol:s,ca:e.caCerts},(e=>{e.on("data",(()=>{})),e.on("end",(()=>{})),e.setEncoding("utf8");const t=(0,H.S)(e.headers["retry-after"],(()=>null)),n=(0,H.S)(e.headers["x-sentry-rate-limits"],(()=>null));l({statusCode:e.statusCode,headers:{"retry-after":t,"x-sentry-rate-limits":Array.isArray(n)?n[0]:n}})}));p.on("error",u),d.pipe(p)}))}}(e,(0,H.S)(e.httpModule,(()=>o)),s);return(0,f.o)(e,a)}var q=n(6819),ee=n(2859),te=n(3098),ne=n(2900);const re=require("domain");function oe(){return re.active}function ie(){const e=oe();if(e)return(0,a.TF)(e),(0,a.Me)(e)}function se(e,t){const n=oe();if(n&&(0,K.z)([t,"optionalAccess",e=>e.reuseExisting]))return e();const r=re.create(),o=function(e){const t={};return(0,a.TF)(t,e),(0,a.Me)(t)}(n?(0,a.Me)(n):void 0);return(0,a.lq)(r,o),r.bind((()=>e()))()}const ae=require("async_hooks");let ce;function le(){ne.S.major>=14?function(){function e(){return ce.getStore()}ce||(ce=new ae.AsyncLocalStorage),(0,a.nX)({getCurrentHub:e,runWithAsyncContext:function(t,n){const r=e();if(r&&(0,K.z)([n,"optionalAccess",e=>e.reuseExisting]))return t();const o=function(e){const t={};return(0,a.TF)(t,e),(0,a.Me)(t)}(r);return ce.run(o,(()=>t()))}})}():(0,a.nX)({getCurrentHub:ie,runWithAsyncContext:se})}var ue=n(7669),de=n(6877);const ge="Console",pe=(0,h._C)((()=>({name:ge,setupOnce(){},setup(e){(0,ue.P)((({args:t,level:n})=>{(0,d.KU)()===e&&(0,d.ZQ)({category:"console",level:(0,de.te)(n),message:V.format.apply(void 0,t)},{input:[...t],level:n})}))}}))),he=(0,h.F)(ge,pe);var me=n(5317),fe=n(9896),Ie=n(6928);const be=(0,V.promisify)(fe.readFile),Ce=(0,V.promisify)(fe.readdir),ye="Context",ve=(0,h._C)(((e={})=>{let t;const n={app:!0,os:!0,device:!0,culture:!0,cloudResource:!0,...e};return{name:ye,setupOnce(){},processEvent:e=>async function(e){void 0===t&&(t=async function(){const e={};if(n.os&&(e.os=await async function(){const e=N.platform();switch(e){case"darwin":return async function(){const e={kernel_version:N.release(),name:"Mac OS X",version:"10."+(Number(N.release().split(".")[0])-4)};try{const t=await new Promise(((e,t)=>{(0,me.execFile)("/usr/bin/sw_vers",((n,r)=>{n?t(n):e(r)}))}));e.name=Se(/^ProductName:\s+(.*)$/m,t),e.version=Se(/^ProductVersion:\s+(.*)$/m,t),e.build=Se(/^BuildVersion:\s+(.*)$/m,t)}catch(e){}return e}();case"linux":return async function(){const e={kernel_version:N.release(),name:"Linux"};try{const t=await Ce("/etc"),n=Ze.find((e=>t.includes(e.name)));if(!n)return e;const r=(0,Ie.join)("/etc",n.name),o=(await be(r,{encoding:"utf-8"})).toLowerCase(),{distros:i}=n;e.name=i.find((e=>o.indexOf(we(e))>=0))||i[0];const s=we(e.name);e.version=Be[s](o)}catch(e){}return e}();default:return{name:Ge[e]||e,version:N.release()}}}()),n.app&&(e.app=function(){const e=process.memoryUsage().rss;return{app_start_time:new Date(Date.now()-1e3*process.uptime()).toISOString(),app_memory:e}}()),n.device&&(e.device=function(e){const t={};let n;try{n=N.uptime&&N.uptime()}catch(e){}if("number"==typeof n&&(t.boot_time=new Date(Date.now()-1e3*n).toISOString()),t.arch=N.arch(),(!0===e||e.memory)&&(t.memory_size=N.totalmem(),t.free_memory=N.freemem()),!0===e||e.cpu){const e=N.cpus();if(e&&e.length){const n=e[0];t.processor_count=e.length,t.cpu_description=n.model,t.processor_frequency=n.speed}}return t}(n.device)),n.culture){const t=function(){try{if("string"!=typeof process.versions.icu)return;const e=new Date(9e8);if("enero"===new Intl.DateTimeFormat("es",{month:"long"}).format(e)){const e=Intl.DateTimeFormat().resolvedOptions();return{locale:e.locale,timezone:e.timeZone}}}catch(e){}}();t&&(e.culture=t)}return n.cloudResource&&(e.cloud_resource=process.env.VERCEL?{"cloud.provider":"vercel","cloud.region":process.env.VERCEL_REGION}:process.env.AWS_REGION?{"cloud.provider":"aws","cloud.region":process.env.AWS_REGION,"cloud.platform":process.env.AWS_EXECUTION_ENV}:process.env.GCP_PROJECT?{"cloud.provider":"gcp"}:process.env.ALIYUN_REGION_ID?{"cloud.provider":"alibaba_cloud","cloud.region":process.env.ALIYUN_REGION_ID}:process.env.WEBSITE_SITE_NAME&&process.env.REGION_NAME?{"cloud.provider":"azure","cloud.region":process.env.REGION_NAME}:process.env.IBM_CLOUD_REGION?{"cloud.provider":"ibm_cloud","cloud.region":process.env.IBM_CLOUD_REGION}:process.env.TENCENTCLOUD_REGION?{"cloud.provider":"tencent_cloud","cloud.region":process.env.TENCENTCLOUD_REGION,"cloud.account.id":process.env.TENCENTCLOUD_APPID,"cloud.availability_zone":process.env.TENCENTCLOUD_ZONE}:process.env.NETLIFY?{"cloud.provider":"netlify"}:process.env.FLY_REGION?{"cloud.provider":"fly.io","cloud.region":process.env.FLY_REGION}:process.env.DYNO?{"cloud.provider":"heroku"}:void 0),e}());const r=(o=await t,(0,K.z)([o,"optionalAccess",e=>e.app,"optionalAccess",e=>e.app_memory])&&(o.app.app_memory=process.memoryUsage().rss),(0,K.z)([o,"optionalAccess",e=>e.device,"optionalAccess",e=>e.free_memory])&&(o.device.free_memory=N.freemem()),o);var o;return e.contexts={...e.contexts,app:{...r.app,...(0,K.z)([e,"access",e=>e.contexts,"optionalAccess",e=>e.app])},os:{...r.os,...(0,K.z)([e,"access",e=>e.contexts,"optionalAccess",e=>e.os])},device:{...r.device,...(0,K.z)([e,"access",e=>e.contexts,"optionalAccess",e=>e.device])},culture:{...r.culture,...(0,K.z)([e,"access",e=>e.contexts,"optionalAccess",e=>e.culture])},cloud_resource:{...r.cloud_resource,...(0,K.z)([e,"access",e=>e.contexts,"optionalAccess",e=>e.cloud_resource])}},e}(e)}})),Ae=(0,h.F)(ye,ve),Ge={aix:"IBM AIX",freebsd:"FreeBSD",openbsd:"OpenBSD",sunos:"SunOS",win32:"Windows"},Ze=[{name:"fedora-release",distros:["Fedora"]},{name:"redhat-release",distros:["Red Hat Linux","Centos"]},{name:"redhat_version",distros:["Red Hat Linux"]},{name:"SuSE-release",distros:["SUSE Linux"]},{name:"lsb-release",distros:["Ubuntu Linux","Arch Linux"]},{name:"debian_version",distros:["Debian"]},{name:"debian_release",distros:["Debian"]},{name:"arch-release",distros:["Arch Linux"]},{name:"gentoo-release",distros:["Gentoo Linux"]},{name:"novell-release",distros:["SUSE Linux"]},{name:"alpine-release",distros:["Alpine Linux"]}],Be={alpine:e=>e,arch:e=>Se(/distrib_release=(.*)/,e),centos:e=>Se(/release ([^ ]+)/,e),debian:e=>e,fedora:e=>Se(/release (..)/,e),mint:e=>Se(/distrib_release=(.*)/,e),red:e=>Se(/release ([^ ]+)/,e),suse:e=>Se(/VERSION = (.*)\n/,e),ubuntu:e=>Se(/distrib_release=(.*)/,e)};function Se(e,t){const n=e.exec(t);return n?n[1]:void 0}function we(e){return e.split(" ")[0].toLowerCase()}var Re=n(3805),We=n(1666);const Ne=new Re.G(100),Ve="ContextLines",_e=(0,h._C)(((e={})=>{const t=void 0!==e.frameContextLines?e.frameContextLines:7;return{name:Ve,setupOnce(){},processEvent:e=>async function(e,t){const n={},r=[];if(t>0&&(0,K.z)([e,"access",e=>e.exception,"optionalAccess",e=>e.values]))for(const t of e.exception.values)if((0,K.z)([t,"access",e=>e.stacktrace,"optionalAccess",e=>e.frames]))for(let e=t.stacktrace.frames.length-1;e>=0;e--){const o=t.stacktrace.frames[e];!o.filename||n[o.filename]||Ne.get(o.filename)||(r.push(He(o.filename)),n[o.filename]=1)}if(r.length>0&&await Promise.all(r),t>0&&(0,K.z)([e,"access",e=>e.exception,"optionalAccess",e=>e.values]))for(const n of e.exception.values)n.stacktrace&&n.stacktrace.frames&&await Ee(n.stacktrace.frames,t);return e}(e,t)}})),ke=(0,h.F)(Ve,_e);function Ee(e,t){for(const n of e)if(n.filename&&void 0===n.context_line){const e=Ne.get(n.filename);if(e)try{(0,We.db)(e,n,t)}catch(e){}}}async function He(e){const t=Ne.get(e);if(null===t)return null;if(void 0!==t)return t;let n=null;try{const t=await function(e){return new Promise(((t,n)=>{(0,fe.readFile)(e,"utf8",((e,r)=>{e?n(e):t(r)}))}))}(e);n=t.split("\n")}catch(e){}return Ne.set(e,n),n}var Fe=n(3545),Ye=n(3075),Xe=n(5774),Te=n(7157),xe=n(1085),Ke=n(8647),Le=n(670);const Ue="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Oe(e){const{protocol:t,hostname:n,port:r}=Me(e),o=e.pathname||"/";return`${t}//${e.auth?function(e){const[t,n]=e.split(":");return`${t?"[Filtered]":""}:${n?"[Filtered]":""}@`}(e.auth):""}${n}${r}${o}`}function Je(e,t,n){if(!e)return e;let[r,o]=e.split(" ");return t.host&&!t.protocol&&(t.protocol=(0,K.z)([n,"optionalAccess",e=>e.agent,"optionalAccess",e=>e.protocol]),o=Oe(t)),(0,K.z)([o,"optionalAccess",e=>e.startsWith,"call",e=>e("///")])&&(o=o.slice(2)),`${r} ${o}`}function ze(e){const t={protocol:e.protocol,hostname:"string"==typeof e.hostname&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:`${e.pathname||""}${e.search||""}`,href:e.href};return""!==e.port&&(t.port=Number(e.port)),(e.username||e.password)&&(t.auth=`${e.username}:${e.password}`),t}function Me(e){const t=e.protocol||"",n=e.hostname||e.host||"";return{protocol:t,hostname:n,port:!e.port||80===e.port||443===e.port||/^(.*):(\d+)$/.test(n)?"":`:${e.port}`}}const je=(0,h._C)(((e={})=>{const{breadcrumbs:t,tracing:n,shouldCreateSpanForRequest:r}=e,o={breadcrumbs:t,tracing:!1!==n&&(0,xe.Ce)({enableIfHasTracingEnabled:!0!==n||void 0,shouldCreateSpanForRequest:r})};return new Pe(o)}));class Pe{static __initStatic(){this.id="Http"}__init(){this.name=Pe.id}constructor(e={}){Pe.prototype.__init.call(this),this._breadcrumbs=void 0===e.breadcrumbs||e.breadcrumbs,this._tracing=e.tracing?!0===e.tracing?{}:e.tracing:void 0}setupOnce(e,t){const r=(0,K.z)([t,"call",e=>e(),"access",e=>e.getClient,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]),o=function(e,t){return void 0!==e&&(!e.enableIfHasTracingEnabled||(0,Te.w)(t))}(this._tracing,r);if(!this._breadcrumbs&&!o)return;if(r&&"sentry"!==r.instrumenter)return void(Ue&&R.vF.log("HTTP Integration is skipped because of instrumenter configuration."));const i=function(e,t,n){return e?(0,K.z)([t,"optionalAccess",e=>e.shouldCreateSpanForRequest])||(0,K.z)([n,"optionalAccess",e=>e.shouldCreateSpanForRequest]):()=>!1}(o,this._tracing,r),s=(0,K.z)([r,"optionalAccess",e=>e.tracePropagationTargets])||(0,K.z)([this,"access",e=>e._tracing,"optionalAccess",e=>e.tracePropagationTargets]),a=n(8611),c=De(a,this._breadcrumbs,i,s);if((0,xe.GS)(a,"get",c),(0,xe.GS)(a,"request",c),ne.S.major>8){const e=n(5692),t=De(e,this._breadcrumbs,i,s);(0,xe.GS)(e,"get",t),(0,xe.GS)(e,"request",t)}}}function De(e,t,n,r){const o=new Re.G(100),i=new Re.G(100);function s(e,t,n,r){(0,a.BF)().getIntegration(Pe)&&(0,d.ZQ)({category:"http",data:{status_code:r&&r.statusCode,...t},type:"http"},{event:e,request:n,response:r})}return function(c){return function(...l){const u=function(e,t){let n,r;if("function"==typeof t[t.length-1]&&(n=t.pop()),"string"==typeof t[0])r=ze(new T.URL(t[0]));else if(t[0]instanceof T.URL)r=ze(t[0]);else{r=t[0];try{const e=new T.URL(r.path||"",`${r.protocol||"http:"}//${r.hostname}`);r={pathname:e.pathname,search:e.search,hash:e.hash,...r}}catch(e){}}return 2===t.length&&(r={...r,...t[1]}),void 0===r.protocol&&(ne.S.major>8?r.protocol=(0,K.z)([(0,K.z)([e,"optionalAccess",e=>e.globalAgent]),"optionalAccess",e=>e.protocol])||(0,K.z)([r.agent,"optionalAccess",e=>e.protocol])||(0,K.z)([r._defaultAgent,"optionalAccess",e=>e.protocol]):r.protocol=(0,K.z)([r.agent,"optionalAccess",e=>e.protocol])||(0,K.z)([r._defaultAgent,"optionalAccess",e=>e.protocol])||(0,K.z)([(0,K.z)([e,"optionalAccess",e=>e.globalAgent]),"optionalAccess",e=>e.protocol])),n?[r,n]:[r]}(e,l),g=u[0],p=function(e){const{protocol:t,hostname:n,port:r}=Me(e);return`${t}//${n}${r}${e.path?e.path:"/"}`}(g),h=Oe(g),f=(0,d.KU)();if((0,Fe.A)(h,f))return c.apply(e,u);const I=(0,d.o5)(),b=(0,a.rm)(),y=(0,m.Bk)(),v=function(e,t){const n={url:e,"http.method":t.method||"GET"};return t.hash&&(n["http.fragment"]=t.hash.substring(1)),t.search&&(n["http.query"]=t.search.substring(1)),n}(h,g),A=(e=>{if(void 0===n)return!0;const t=o.get(e);if(void 0!==t)return t;const r=n(e);return o.set(e,r),r})(p)?(0,K.z)([y,"optionalAccess",e=>e.startChild,"call",e=>e({op:"http.client",origin:"auto.http.node.http",description:`${v["http.method"]} ${v.url}`,data:v})]):void 0;if(f&&(e=>{if(void 0===r)return!0;const t=i.get(e);if(void 0!==t)return t;const n=(0,Ke.Xr)(e,r);return i.set(e,n),n})(p)){const{traceId:e,spanId:t,sampled:n,dsc:r}={...b.getPropagationContext(),...I.getPropagationContext()},o=A?(0,Ye.Qh)(A):(0,te.TC)(e,t,n),i=(0,Le.De)(r||(A?(0,Xe.k)(A):(0,Xe.l)(e,f,I)));!function(e,t,n,r){(e.headers||{})["sentry-trace"]||(Ue&&R.vF.log(`[Tracing] Adding sentry-trace header ${n} to outgoing request to "${t}": `),e.headers={...e.headers,"sentry-trace":n,...r&&r.length>0&&{baggage:Qe(e,r)}})}(g,h,o,i)}else Ue&&R.vF.log(`[Tracing] Not adding sentry-trace header to outgoing request (${h}) due to mismatching tracePropagationTargets option.`);return c.apply(e,u).once("response",(function(e){t&&s("response",v,this,e),A&&(e.statusCode&&(0,C.N8)(A,e.statusCode),A.updateName(Je((0,Ye.et)(A).description||"",g,this)||""),A.end())})).once("error",(function(){t&&s("error",v,this),A&&((0,C.N8)(A,500),A.updateName(Je((0,Ye.et)(A).description||"",g,this)||""),A.end())}))}}}function Qe(e,t){return e.headers&&e.headers.baggage?t?Array.isArray(e.headers.baggage)?[...e.headers.baggage,t]:[e.headers.baggage,t]:e.headers.baggage:t}function $e(e){return void 0!==e&&(0===e.length||"?"===e||"<anonymous>"===e)}function qe(e){if(void 0!==e)return e.slice(-10).reduce(((e,t)=>`${e},${t.function},${t.lineno},${t.colno}`),"")}function et(e){let t=[],n=!1;function r(r){t=[],n||(n=!0,e(r))}return t.push(r),{add:function(e){t.push(e)},next:function(e){const n=t.pop()||r;try{n(e)}catch(t){r(e)}}}}Pe.__initStatic();class tt{constructor(){const{Session:e}=n(264);this._session=new e}configureAndConnect(e,t){this._session.connect(),this._session.on("Debugger.paused",(t=>{e(t,(()=>{this._session.post("Debugger.resume")}))})),this._session.post("Debugger.enable"),this._session.post("Debugger.setPauseOnExceptions",{state:t?"all":"uncaught"})}setPauseOnExceptions(e){this._session.post("Debugger.setPauseOnExceptions",{state:e?"all":"uncaught"})}getLocalVariables(e,t){this._getProperties(e,(e=>{const{add:n,next:r}=et(t);for(const t of e)if((0,K.z)([t,"optionalAccess",e=>e.value,"optionalAccess",e=>e.objectId])&&"Array"===(0,K.z)([t,"optionalAccess",e=>e.value,"access",e=>e.className])){const e=t.value.objectId;n((n=>this._unrollArray(e,t.name,n,r)))}else if((0,K.z)([t,"optionalAccess",e=>e.value,"optionalAccess",e=>e.objectId])&&"Object"===(0,K.z)([t,"optionalAccess",e=>e.value,"optionalAccess",e=>e.className])){const e=t.value.objectId;n((n=>this._unrollObject(e,t.name,n,r)))}else null==(0,K.z)([t,"optionalAccess",e=>e.value,"optionalAccess",e=>e.value])&&null==(0,K.z)([t,"optionalAccess",e=>e.value,"optionalAccess",e=>e.description])||n((e=>this._unrollOther(t,e,r)));r({})}))}_getProperties(e,t){this._session.post("Runtime.getProperties",{objectId:e,ownProperties:!0},((e,n)=>{t(e?[]:n.result)}))}_unrollArray(e,t,n,r){this._getProperties(e,(e=>{n[t]=e.filter((e=>"length"!==e.name&&!isNaN(parseInt(e.name,10)))).sort(((e,t)=>parseInt(e.name,10)-parseInt(t.name,10))).map((e=>(0,K.z)([e,"optionalAccess",e=>e.value,"optionalAccess",e=>e.value]))),r(n)}))}_unrollObject(e,t,n,r){this._getProperties(e,(e=>{n[t]=e.map((e=>[e.name,(0,K.z)([e,"optionalAccess",e=>e.value,"optionalAccess",e=>e.value])])).reduce(((e,[t,n])=>(e[t]=n,e)),{}),r(n)}))}_unrollOther(e,t,n){null!=(0,K.z)([e,"optionalAccess",e=>e.value,"optionalAccess",e=>e.value])?t[e.name]=e.value.value:null!=(0,K.z)([e,"optionalAccess",e=>e.value,"optionalAccess",e=>e.description])&&"function"!==(0,K.z)([e,"optionalAccess",e=>e.value,"optionalAccess",e=>e.type])&&(t[e.name]=`<${e.value.description}>`),n(t)}}const nt="LocalVariables",rt=(0,h._C)(((e={},t=function(){try{return new tt}catch(e){return}}())=>{const n=new Re.G(20);let r,o=!1;function i(e){const t=qe((0,K.z)([e,"optionalAccess",e=>e.stacktrace,"optionalAccess",e=>e.frames]));if(void 0===t)return;const r=n.remove(t);if(void 0===r)return;const o=((0,K.z)([e,"access",e=>e.stacktrace,"optionalAccess",e=>e.frames])||[]).filter((e=>"new Promise"!==e.function));for(let e=0;e<o.length;e++){const t=o.length-e-1;if(!o[t]||!r[e])break;void 0!==r[e].vars&&!1!==o[t].in_app&&((i=o[t].function)===(s=r[e].function)||$e(i)&&$e(s))&&(o[t].vars=r[e].vars)}var i,s}return{name:nt,setupOnce(){const i=(0,d.KU)(),s=(0,K.z)([i,"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(t&&(0,K.z)([s,"optionalAccess",e=>e.includeLocalVariables])){if(ne.S.major<18)return void R.vF.log("The `LocalVariables` integration is only supported on Node >= v18.");const i=!1!==e.captureAllExceptions;if(t.configureAndConnect(((e,o)=>function(e,{params:{reason:o,data:i,callFrames:s}},a){if("exception"!==o&&"promiseRejection"!==o)return void a();(0,K.z)([r,"optionalCall",e=>e()]);const c=function(e,t){if(void 0!==t)return qe(e(t,1))}(e,(0,K.z)([i,"optionalAccess",e=>e.description]));if(null==c)return void a();const{add:l,next:u}=et((e=>{n.set(c,e),a()}));for(let e=0;e<Math.min(s.length,5);e++){const{scopeChain:n,functionName:r,this:o}=s[e],i=n.find((e=>"local"===e.type)),a="global"!==o.className&&o.className?`${o.className}.${r}`:r;if(void 0===(0,K.z)([i,"optionalAccess",e=>e.object,"access",e=>e.objectId]))l((t=>{t[e]={function:a},u(t)}));else{const n=i.object.objectId;l((r=>(0,K.z)([t,"optionalAccess",e=>e.getLocalVariables,"call",t=>t(n,(t=>{r[e]={function:a,vars:t},u(r)}))])))}}u([])}(s.stackParser,e,o)),i),i){const n=e.maxExceptionsPerSecond||50;r=function(e,n,r){let o=0,i=5,s=0;return setInterval((()=>{var n;0===s?o>e&&(i*=2,n=i,R.vF.log(`Local variables rate-limit exceeded. Disabling capturing of caught exceptions for ${n} seconds.`),(0,K.z)([t,"optionalAccess",e=>e.setPauseOnExceptions,"call",e=>e(!1)]),i>86400&&(i=86400),s=i):(s-=1,0===s&&(R.vF.log("Local variables rate-limit lifted."),(0,K.z)([t,"optionalAccess",e=>e.setPauseOnExceptions,"call",e=>e(!0)]))),o=0}),1e3).unref(),()=>{o+=1}}(n)}o=!0}},processEvent:e=>o?function(e){for(const t of(0,K.z)([e,"optionalAccess",e=>e.exception,"optionalAccess",e=>e.values])||[])i(t);return e}(e):e,_getCachedFramesCount:()=>n.size,_getFirstCachedFrame:()=>n.values()[0]}})),ot=(0,h.F)(nt,rt),it=rt;let st;const at="Modules";function ct(){const e=n.c[n.s]&&n.c[n.s].paths||[],t=function(){try{return n.c?Object.keys(n.c):[]}catch(e){return[]}}(),r={},o={};return t.forEach((t=>{let n=t;const i=()=>{const t=n;if(n=(0,Ie.dirname)(t),!n||t===n||o[t])return;if(e.indexOf(n)<0)return i();const s=(0,Ie.join)(t,"package.json");if(o[t]=!0,!(0,fe.existsSync)(s))return i();try{const e=JSON.parse((0,fe.readFileSync)(s,"utf8"));r[e.name]=e.version}catch(e){}};i()})),r}const lt=(0,h._C)((()=>({name:at,setupOnce(){},processEvent:e=>(e.modules={...e.modules,...(st||(st=ct()),st)},e)}))),ut=(0,h.F)(at,lt);function dt(e){(0,R.pq)((()=>{console.error(e)}));const t=(0,d.KU)();void 0===t&&(Ue&&R.vF.warn("No NodeClient was defined, we are exiting the process now."),global.process.exit(1));const n=t.getOptions(),r=n&&n.shutdownTimeout&&n.shutdownTimeout>0&&n.shutdownTimeout||2e3;t.close(r).then((e=>{e||Ue&&R.vF.warn("We reached the timeout for emptying the request buffer, still exiting now!"),global.process.exit(1)}),(e=>{Ue&&R.vF.error(e)}))}const gt="OnUncaughtException",pt=(0,h._C)(((e={})=>{const t={exitEvenIfOtherHandlersAreRegistered:!0,...e};return{name:gt,setupOnce(){},setup(e){global.process.on("uncaughtException",function(e,t){let n,r=!1,o=!1,i=!1;const s=e.getOptions();return Object.assign((a=>{let c=dt;t.onFatalError?c=t.onFatalError:s.onFatalError&&(c=s.onFatalError);const l=0===global.process.listeners("uncaughtException").reduce(((e,t)=>"domainUncaughtExceptionClear"===t.name||t.tag&&"sentry_tracingErrorCallback"===t.tag||t._errorHandler?e:e+1),0),u=t.exitEvenIfOtherHandlersAreRegistered||l;r?u&&(i?(Ue&&R.vF.warn("uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown"),dt(a)):o||(o=!0,setTimeout((()=>{i||(i=!0,c(n,a))}),2e3))):(n=a,r=!0,(0,d.KU)()===e&&(0,d.Cp)(a,{originalException:a,captureContext:{level:"fatal"},mechanism:{handled:!1,type:"onuncaughtexception"}}),!i&&u&&(i=!0,c(a)))}),{_errorHandler:!0})}(e,t))}}})),ht=(0,h.F)(gt,pt),mt="OnUnhandledRejection",ft=(0,h._C)(((e={})=>{const t=e.mode||"warn";return{name:mt,setupOnce(){},setup(e){global.process.on("unhandledRejection",function(e,t){return function(n,r){(0,d.KU)()===e&&((0,d.Cp)(n,{originalException:r,captureContext:{extra:{unhandledPromiseRejection:!0}},mechanism:{handled:!1,type:"onunhandledrejection"}}),function(e,t){const n="This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:";"warn"===t.mode?(0,R.pq)((()=>{console.warn(n),console.error(e&&e.stack?e.stack:e)})):"strict"===t.mode&&((0,R.pq)((()=>{console.warn(n)})),dt(e))}(n,t))}}(e,{mode:t}))}}})),It=(0,h.F)(mt,ft);var bt=n(358);const Ct="Spotlight",yt=(0,h._C)(((e={})=>{const t={sidecarUrl:e.sidecarUrl||"http://localhost:8969/stream"};return{name:Ct,setupOnce(){},setup(e){"object"==typeof process&&process.env&&R.vF.warn("[Spotlight] It seems you're not in dev mode. Do you really want to have Spotlight enabled?"),function(e,t){const n=function(e){try{return new T.URL(`${e}`)}catch(t){return void R.vF.warn(`[Spotlight] Invalid sidecar URL: ${e}`)}}(t.sidecarUrl);if(!n)return;let r=0;"function"==typeof e.on?e.on("beforeEnvelope",(e=>{if(r>3)return void R.vF.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests");const t=(0,bt.bN)(e),o=function(){const{request:e}=F;return"__sentry_original__"in e?e.__sentry_original__:e}()({method:"POST",path:n.pathname,hostname:n.hostname,port:n.port,headers:{"Content-Type":"application/x-sentry-envelope"}},(e=>{e.on("data",(()=>{})),e.on("end",(()=>{})),e.setEncoding("utf8")}));o.on("error",(()=>{r++,R.vF.warn("[Spotlight] Failed to send envelope to Spotlight Sidecar")})),o.write(t),o.end()})):R.vF.warn("[Spotlight] Cannot connect to spotlight due to missing method on SDK client (`client.on`)")}(e,t)}}})),vt=(0,h.F)(Ct,yt);var At,Gt=n(1961);!function(e){e.RequestCreate="undici:request:create",e.RequestEnd="undici:request:headers",e.RequestError="undici:request:error"}(At||(At={}));const Zt=(0,h._C)((e=>new Bt(e)));class Bt{static __initStatic(){this.id="Undici"}__init(){this.name=Bt.id}__init2(){this._createSpanUrlMap=new Re.G(100)}__init3(){this._headersUrlMap=new Re.G(100)}constructor(e={}){Bt.prototype.__init.call(this),Bt.prototype.__init2.call(this),Bt.prototype.__init3.call(this),Bt.prototype.__init4.call(this),Bt.prototype.__init5.call(this),Bt.prototype.__init6.call(this),this._options={breadcrumbs:void 0===e.breadcrumbs||e.breadcrumbs,tracing:e.tracing,shouldCreateSpanForRequest:e.shouldCreateSpanForRequest}}setupOnce(e){if(ne.S.major<16)return;let t;try{t=n(1637)}catch(e){}t&&t.subscribe&&(t.subscribe(At.RequestCreate,this._onRequestCreate),t.subscribe(At.RequestEnd,this._onRequestEnd),t.subscribe(At.RequestError,this._onRequestError))}_shouldCreateSpan(e){if(!1===this._options.tracing||void 0===this._options.tracing&&!(0,Te.w)())return!1;if(void 0===this._options.shouldCreateSpanForRequest)return!0;const t=this._createSpanUrlMap.get(e);if(void 0!==t)return t;const n=this._options.shouldCreateSpanForRequest(e);return this._createSpanUrlMap.set(e,n),n}__init4(){this._onRequestCreate=e=>{if(!(0,K.z)([d.KU,"call",e=>e(),"optionalAccess",e=>e.getIntegration,"call",e=>e(Bt)]))return;const{request:t}=e,n=t.origin?t.origin.toString()+t.path:t.path,r=(0,d.KU)();if(!r)return;if((0,Fe.A)(n,r)||void 0!==t.__sentry_span__)return;const o=r.getOptions(),i=(0,d.o5)(),s=(0,a.rm)(),c=(0,m.Bk)(),l=this._shouldCreateSpan(n)?function(e,t,n){const r=(0,Gt.Dl)(n),o=t.method||"GET",i={"http.method":o};return r.search&&(i["http.query"]=r.search),r.hash&&(i["http.fragment"]=r.hash),(0,K.z)([e,"optionalAccess",e=>e.startChild,"call",e=>e({op:"http.client",origin:"auto.http.node.undici",description:`${o} ${(0,Gt.e_)(r)}`,data:i})])}(c,t,n):void 0;if(l&&(t.__sentry_span__=l),(e=>{if(void 0===o.tracePropagationTargets)return!0;const t=this._headersUrlMap.get(e);if(void 0!==t)return t;const n=(0,Ke.Xr)(e,o.tracePropagationTargets);return this._headersUrlMap.set(e,n),n})(n)){const{traceId:e,spanId:n,sampled:o,dsc:a}={...s.getPropagationContext(),...i.getPropagationContext()};!function(e,t,n){let r;r=Array.isArray(e.headers)?e.headers.some((e=>"sentry-trace"===e)):e.headers.split("\r\n").some((e=>e.startsWith("sentry-trace:"))),r||(e.addHeader("sentry-trace",t),n&&e.addHeader("baggage",n))}(t,l?(0,Ye.Qh)(l):(0,te.TC)(e,n,o),(0,Le.De)(a||(l?(0,Xe.k)(l):(0,Xe.l)(e,r,i))))}}}__init5(){this._onRequestEnd=e=>{if(!(0,K.z)([d.KU,"call",e=>e(),"optionalAccess",e=>e.getIntegration,"call",e=>e(Bt)]))return;const{request:t,response:n}=e,r=t.origin?t.origin.toString()+t.path:t.path;if((0,Fe.A)(r,(0,d.KU)()))return;const o=t.__sentry_span__;o&&((0,C.N8)(o,n.statusCode),o.end()),this._options.breadcrumbs&&(0,d.ZQ)({category:"http",data:{method:t.method,status_code:n.statusCode,url:r},type:"http"},{event:"response",request:t,response:n})}}__init6(){this._onRequestError=e=>{if(!(0,K.z)([d.KU,"call",e=>e(),"optionalAccess",e=>e.getIntegration,"call",e=>e(Bt)]))return;const{request:t}=e,n=t.origin?t.origin.toString()+t.path:t.path;if((0,Fe.A)(n,(0,d.KU)()))return;const r=t.__sentry_span__;r&&(r.setStatus("internal_error"),r.end()),this._options.breadcrumbs&&(0,d.ZQ)({category:"http",data:{method:t.method,url:n},level:"error",type:"http"},{event:"error",request:t})}}}Bt.__initStatic();var St=n(3729);function wt(e){return e.replace(/^[A-Z]:/,"").replace(/\\/g,"/")}function Rt(e=(process.argv[1]?(0,St.pD)(process.argv[1]):process.cwd()),t="\\"===Ie.sep){const n=t?wt(e):e;return e=>{if(!e)return;const r=t?wt(e):e;let{dir:o,base:i,ext:s}=Ie.posix.parse(r);".js"!==s&&".mjs"!==s&&".cjs"!==s||(i=i.slice(0,-1*s.length)),o||(o=".");const a=o.lastIndexOf("/node_modules");if(a>-1)return`${o.slice(a+14).replace(/\//g,".")}:${i}`;if(o.startsWith(n)){let e=o.slice(n.length+1).replace(/\//g,".");return e&&(e+=":"),e+=i,e}return i}}const Wt=[(0,y.D)(),(0,b.Z)(),(0,v.p)(),(0,Z.I)(),pe(),je(),Zt(),pt(),ft(),_e(),it(),ve(),lt()];function Nt(e){const t=(0,a.EU)(),n=(0,K.z)([t,"access",e=>e.__SENTRY__,"optionalAccess",e=>e.integrations])||[];return[...Wt,...n]}function Vt(e={}){le(),void 0===e.defaultIntegrations&&(e.defaultIntegrations=Nt()),void 0===e.dsn&&process.env.SENTRY_DSN&&(e.dsn=process.env.SENTRY_DSN);const t=process.env.SENTRY_TRACES_SAMPLE_RATE;if(void 0===e.tracesSampleRate&&t){const n=parseFloat(t);isFinite(n)&&(e.tracesSampleRate=n)}if(void 0===e.release){const t=kt();void 0!==t?e.release=t:e.autoSessionTracking=!1}void 0===e.environment&&process.env.SENTRY_ENVIRONMENT&&(e.environment=process.env.SENTRY_ENVIRONMENT),void 0===e.autoSessionTracking&&void 0!==e.dsn&&(e.autoSessionTracking=!0),void 0===e.instrumenter&&(e.instrumenter="sentry");const n={...e,stackParser:(0,q.vk)(e.stackParser||Et),integrations:(0,h.mH)(e),transport:e.transport||$};if((0,B.J)(e.clientClass||E,n),e.autoSessionTracking&&((0,d.J0)(),process.on("beforeExit",(()=>{const e=(0,a.rm)().getSession();e&&!["exited","crashed"].includes(e.status)&&(0,d.ky)()}))),function(){const e=(process.env.SENTRY_USE_ENVIRONMENT||"").toLowerCase();if(!["false","n","no","off","0"].includes(e)){const e=process.env.SENTRY_TRACE,t=process.env.SENTRY_BAGGAGE,n=(0,te.kM)(e,t);(0,d.o5)().setPropagationContext(n)}}(),e.spotlight){const t=(0,d.KU)();if(t&&t.addIntegration){const n=t.getOptions().integrations;for(const e of n)t.addIntegration(e);t.addIntegration(yt({sidecarUrl:"string"==typeof e.spotlight?e.spotlight:void 0}))}}}function _t(e){if(void 0===e)return!1;const t=e&&e.getOptions();return!(!t||void 0===t.autoSessionTracking)&&t.autoSessionTracking}function kt(e){return process.env.SENTRY_RELEASE?process.env.SENTRY_RELEASE:ee.OW.SENTRY_RELEASE&&ee.OW.SENTRY_RELEASE.id?ee.OW.SENTRY_RELEASE.id:process.env.GITHUB_SHA||process.env.COMMIT_REF||process.env.VERCEL_GIT_COMMIT_SHA||process.env.VERCEL_GITHUB_COMMIT_SHA||process.env.VERCEL_GITLAB_COMMIT_SHA||process.env.VERCEL_BITBUCKET_COMMIT_SHA||process.env.ZEIT_GITHUB_COMMIT_SHA||process.env.ZEIT_GITLAB_COMMIT_SHA||process.env.ZEIT_BITBUCKET_COMMIT_SHA||process.env.CF_PAGES_COMMIT_SHA||e}const Et=(0,q.gd)((0,q.o)(Rt()));var Ht=n(2471);function Ft(e){const t=Ie.resolve(e);if(!fe.existsSync(t))throw new Error(`Cannot read contents of ${t}. Directory does not exist.`);if(!fe.statSync(t).isDirectory())throw new Error(`Cannot read contents of ${t}, because it is not a directory.`);const n=e=>fe.readdirSync(e).reduce(((t,r)=>{const o=Ie.join(e,r);return fe.statSync(o).isDirectory()?t.concat(n(o)):(t.push(o),t)}),[]);return n(t).map((e=>Ie.relative(t,e)))}var Yt=n(2576);function Xt(e){const t=(0,d.KU)();return new Yt.M(e).setup(t),Promise.resolve()}var Tt=n(3390),xt=n(9659);function Kt(e={}){return function({path:t,type:n,next:r,rawInput:o}){const i=(0,K.z)([d.KU,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]),s=(0,d.o5)().getTransaction();if(s){s.updateName(`trpc/${t}`),s.setAttribute(l.i_,"route"),s.op="rpc.server";const r={procedure_type:n};(void 0!==e.attachRpcInput?e.attachRpcInput:(0,K.z)([i,"optionalAccess",e=>e.sendDefaultPii]))&&(r.input=(0,xt.S8)(o)),s.setContext("trpc",r)}function a(e){e.ok||(0,d.Cp)(e.error,{mechanism:{handled:!1,data:{function:"trpcMiddleware"}}})}let c;try{c=r()}catch(e){throw(0,d.Cp)(e,{mechanism:{handled:!1,data:{function:"trpcMiddleware"}}}),e}return(0,Tt.Qg)(c)?Promise.resolve(c).then((e=>{a(e)}),(e=>{(0,d.Cp)(e,{mechanism:{handled:!1,data:{function:"trpcMiddleware"}}})})):a(c),c}}function Lt(e,t){return(0,Ht.Rj)(e,{include:t})}function Ut(e,t,n={}){return(0,Ht.GY)(e,t,{include:n})}function Ot(){return function(e,t,n){const r=(0,K.z)([d.KU,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(!r||"sentry"!==r.instrumenter||"OPTIONS"===(0,K.z)([e,"access",e=>e.method,"optionalAccess",e=>e.toUpperCase,"call",e=>e()])||"HEAD"===(0,K.z)([e,"access",e=>e.method,"optionalAccess",e=>e.toUpperCase,"call",e=>e()]))return n();const o=e.headers&&(0,Tt.Kg)(e.headers["sentry-trace"])?e.headers["sentry-trace"]:void 0,i=(0,K.z)([e,"access",e=>e.headers,"optionalAccess",e=>e.baggage]);if(!(0,Te.w)(r))return n();const[s,a]=(0,Ht.Up)(e,{path:!0,method:!0}),c=(0,m.V4)({sentryTrace:o,baggage:i},(t=>(0,d.nb)({name:s,op:"http.server",origin:"auto.http.node.tracingHandler",...t,data:{[l.i_]:a},metadata:{...t.metadata,request:e}},{request:(0,Ht.Rj)(e)})));(0,d.o5)().setSpan(c),t.__sentry_transaction=c,t.once("finish",(()=>{setImmediate((()=>{(0,Ht.em)(c,e),(0,C.N8)(c,t.statusCode),c.end()}))})),n()}}function Jt(e){const t=function(e={}){let t;if("include"in e)t={include:e.include};else{const{ip:n,request:r,transaction:o,user:i}=e;(n||r||o||i)&&(t={include:(0,xe.Ce)({ip:n,request:r,transaction:o,user:i})})}return t}(e),n=(0,d.KU)();if(n&&_t(n)){n.initSessionFlusher();const e=(0,d.o5)();e.getSession()&&e.setSession()}return function(n,r,o){if(e&&e.flushTimeout&&e.flushTimeout>0){const t=r.end;r.end=function(n,r,o){(0,d.bX)(e.flushTimeout).then((()=>{t.call(this,n,r,o)})).then(null,(e=>{Ue&&R.vF.error(e),t.call(this,n,r,o)}))}}(0,a.fx)((()=>{const e=(0,d.o5)();e.setSDKProcessingMetadata({request:n,requestDataOptionsFromExpressHandler:t}),_t((0,d.KU)())&&e.setRequestSession({status:"ok"}),r.once("finish",(()=>{const e=(0,d.KU)();_t(e)&&setImmediate((()=>{e&&e._captureRequestSession&&e._captureRequestSession()}))})),o()}))}}function zt(e){const t=function(e){const t=e.status||e.statusCode||e.status_code||e.output&&e.output.statusCode;return t?parseInt(t,10):500}(e);return t>=500}function Mt(e){return function(t,n,r,o){(e&&e.shouldHandleError||zt)(t)?(0,d.v4)((e=>{e.setSDKProcessingMetadata({request:n});const i=r.__sentry_transaction;i&&!(0,m.Bk)()&&e.setSpan(i);const s=(0,d.KU)();if(s&&_t(s)&&void 0!==s._sessionFlusher){const t=e.getRequestSession();t&&void 0!==t.status&&(t.status="crashed")}const a=(0,d.Cp)(t,{mechanism:{type:"middleware",handled:!1}});r.sentry=a,o(t)})):o(t)}}const jt=Kt;function Pt(e){return e&&void 0!==e.statusCode}const Dt={name:"SentryHapiErrorPlugin",version:c.M,register:async function(e){e.events.on("request",((e,t)=>{const n=(0,I.Z7)();var r;(function(e){return e&&void 0!==e.error})(t)&&(r=t.error,(0,d.Cp)(r,{mechanism:{type:"hapi",handled:!1,data:{function:"hapiErrorPlugin"}}})),n&&(n.setStatus("internal_error"),n.end())}))}},Qt={name:"SentryHapiTracingPlugin",version:c.M,register:async function(e){const t=e;t.ext("onPreHandler",((e,t)=>{const n=(0,m.V4)({sentryTrace:e.headers["sentry-trace"]||void 0,baggage:e.headers.baggage||void 0},(t=>(0,d.nb)({...t,op:"hapi.request",name:e.route.path,description:`${e.route.method} ${e.path}`})));return(0,d.o5)().setSpan(n),t.continue})),t.ext("onPreResponse",((e,t)=>{const n=(0,I.Z7)();if(e.response&&Pt(e.response)&&n){const t=e.response;t.header("sentry-trace",(0,Ye.Qh)(n));const r=(0,Le.De)((0,Xe.k)(n));r&&t.header("baggage",r)}return t.continue})),t.ext("onPostHandler",((e,t)=>{const n=(0,I.Z7)();return n&&(e.response&&Pt(e.response)&&(0,C.N8)(n,e.response.statusCode),n.end()),t.continue}))}},$t="Hapi",qt=(0,h._C)(((e={})=>{const t=e.server;return{name:$t,setupOnce(){t&&(0,xe.GS)(t,"start",(e=>async function(){return await this.register(Qt),await this.register(Dt),e.apply(this)}))}}})),en=(0,h.F)($t,qt);var tn=n(1110),nn=n(573);function rn(e){const t=(0,K.z)([e,"call",e=>e(),"access",e=>e.getClient,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return"sentry"!==((0,K.z)([t,"optionalAccess",e=>e.instrumenter])||"sentry")}class on{static __initStatic(){this.id="Apollo"}constructor(e={useNestjs:!1}){this.name=on.id,this._useNest=!!e.useNestjs}loadDependency(){return this._useNest?this._module=this._module||(0,tn.Vw)("@nestjs/graphql"):this._module=this._module||(0,tn.Vw)("apollo-server-core"),this._module}setupOnce(e,t){if(rn(t))nn.T&&R.vF.log("Apollo Integration is skipped because of instrumenter configuration.");else if(this._useNest){const e=this.loadDependency();if(!e)return void(nn.T&&R.vF.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package."));(0,xe.GS)(e.GraphQLFactory.prototype,"mergeWithSchema",(function(e){return function(...n){return(0,xe.GS)(this.resolversExplorerService,"explore",(function(e){return function(){return sn((0,We.k9)(e.call(this)),t)}})),e.call(this,...n)}}))}else{const e=this.loadDependency();if(!e)return void(nn.T&&R.vF.error("Apollo Integration was unable to require apollo-server-core package."));(0,xe.GS)(e.ApolloServerBase.prototype,"constructSchema",(function(e){return function(){if(!this.config.resolvers)return nn.T&&(this.config.schema?(R.vF.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),R.vF.warn()):this.config.modules&&R.vF.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),R.vF.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),e.call(this);const n=(0,We.k9)(this.config.resolvers);return this.config.resolvers=sn(n,t),e.call(this)}}))}}}function sn(e,t){return e.map((e=>(Object.keys(e).forEach((n=>{Object.keys(e[n]).forEach((r=>{"function"==typeof e[n][r]&&function(e,t,n,r){(0,xe.GS)(e[t],n,(function(e){return function(...o){const i=r().getScope().getSpan(),s=(0,K.z)([i,"optionalAccess",e=>e.startChild,"call",e=>e({description:`${t}.${n}`,op:"graphql.resolve",origin:"auto.graphql.apollo"})]),a=e.call(this,...o);return(0,Tt.Qg)(a)?a.then((e=>((0,K.z)([s,"optionalAccess",e=>e.end,"call",e=>e()]),e))):((0,K.z)([s,"optionalAccess",e=>e.end,"call",e=>e()]),a)}}))}(e,n,r,t)}))})),e)))}on.__initStatic();class an{static __initStatic(){this.id="Express"}constructor(e={}){this.name=an.id,this._router=e.router||e.app,this._methods=(Array.isArray(e.methods)?e.methods:[]).concat("use")}setupOnce(e,t){this._router?rn(t)?nn.T&&R.vF.log("Express Integration is skipped because of instrumenter configuration."):(function(e,t=[]){t.forEach((t=>function(e,t){const n=e[t];return e[t]=function(...e){return n.call(this,...function(e,t){return e.map((e=>"function"==typeof e?cn(e,t):Array.isArray(e)?e.map((e=>"function"==typeof e?cn(e,t):e)):e))}(e,t))},e}(e,t)))}(this._router,this._methods),function(e){const t="settings"in e;t&&void 0===e._router&&e.lazyrouter&&e.lazyrouter();const n=t?e._router:e;if(!n)return nn.T&&R.vF.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),void(nn.T&&R.vF.debug("Routing instrumentation is currently only supported in Express 4."));const r=Object.getPrototypeOf(n),o=r.process_params;r.process_params=function(e,t,n,r,i){n._reconstructedRoute||(n._reconstructedRoute="");const{layerRoutePath:s,isRegex:a,isArray:c,numExtraSegments:u}=function(e){let t=(0,K.z)([e,"access",e=>e.route,"optionalAccess",e=>e.path]);const n=(0,Tt.gd)(t),r=Array.isArray(t);if(!t){const[n]=ee.OW.process.versions.node.split(".").map(Number);n>=16&&(t=ln(e.path,e.regexp,e.keys))}if(!t)return{isRegex:n,isArray:r,numExtraSegments:0};const o=r?Math.max(t.reduce(((e,t)=>e+(0,Gt.c4)(t.toString())),0)-(0,Gt.c4)(e.path||""),0):0,i=function(e,t){return e?t.map((e=>e.toString())).join(","):t&&t.toString()}(r,t);return{layerRoutePath:i,isRegex:n,isArray:r,numExtraSegments:o}}(e);let d;(s||a||c)&&(n._hasParameters=!0),d=s||function(e,t,n){const r=(0,Gt.f)(e||""),o=(0,K.z)([r,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e((e=>!!e))]);let i=0;const s=(0,K.z)([t,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e((e=>!!e)),"access",e=>e.length])||0;return(0,K.z)([n,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e((e=>(0,K.z)([o,"optionalAccess",e=>e[s+i]])===e&&(i+=1,!0))),"access",e=>e.join,"call",e=>e("/")])}(n.originalUrl,n._reconstructedRoute,e.path)||"";const g=d.split("/").filter((e=>e.length>0&&(a||c||!e.includes("*")))).join("/");if(g&&g.length>0&&(n._reconstructedRoute+=`/${g}${a?"/":""}`),(0,Gt.c4)((0,Gt.f)(n.originalUrl||""))+u===(0,Gt.c4)(n._reconstructedRoute)){n._hasParameters||n._reconstructedRoute!==n.originalUrl&&(n._reconstructedRoute=n.originalUrl?(0,Gt.f)(n.originalUrl):n.originalUrl);const e=r.__sentry_transaction,t=e&&(0,Ye.et)(e).data||{};if(e&&"custom"!==t[l.i_]){const t=n._reconstructedRoute||"/",[r,o]=(0,Ht.Up)(n,{path:!0,method:!0,customRoute:t});e.updateName(r),e.setAttribute(l.i_,o)}}return o.call(this,e,t,n,r,i)}}(this._router)):nn.T&&R.vF.error("ExpressIntegration is missing an Express instance")}}function cn(e,t){const n=e.length;switch(n){case 2:return function(n,r){const o=r.__sentry_transaction;if(o){const n=o.startChild({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"});r.once("finish",(()=>{n.end()}))}return e.call(this,n,r)};case 3:return function(n,r,o){const i=r.__sentry_transaction,s=(0,K.z)([i,"optionalAccess",e=>e.startChild,"call",n=>n({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"})]);e.call(this,n,r,(function(...e){(0,K.z)([s,"optionalAccess",e=>e.end,"call",e=>e()]),o.call(this,...e)}))};case 4:return function(n,r,o,i){const s=o.__sentry_transaction,a=(0,K.z)([s,"optionalAccess",e=>e.startChild,"call",n=>n({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"})]);e.call(this,n,r,o,(function(...e){(0,K.z)([a,"optionalAccess",e=>e.end,"call",e=>e()]),i.call(this,...e)}))};default:throw new Error(`Express middleware takes 2-4 arguments. Got: ${n}`)}}an.__initStatic();const ln=(e,t,n)=>{if(!(e&&t&&n&&0!==Object.keys(n).length&&(0,K.z)([n,"access",e=>e[0],"optionalAccess",e=>e.offset])))return;const r=n.sort(((e,t)=>e.offset-t.offset)),o=new RegExp(t,`${t.flags}d`).exec(e);if(!o||!o.indices)return;const[,...i]=o.indices;if(i.length!==r.length)return;let s=e,a=0;return i.forEach(((e,t)=>{if(e){const[n,o]=e,i=s.substring(0,n-a),c=`:${r[t].name}`,l=s.substring(o-a);s=i+c+l,a+=o-n-c.length}})),s};class un{static __initStatic(){this.id="GraphQL"}constructor(){this.name=un.id}loadDependency(){return this._module=this._module||(0,tn.Vw)("graphql/execution/execute.js")}setupOnce(e,t){if(rn(t))return void(nn.T&&R.vF.log("GraphQL Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();n?(0,xe.GS)(n,"execute",(function(e){return function(...n){const r=t().getScope(),o=r.getSpan(),i=(0,K.z)([o,"optionalAccess",e=>e.startChild,"call",e=>e({description:"execute",op:"graphql.execute",origin:"auto.graphql.graphql"})]);(0,K.z)([r,"optionalAccess",e=>e.setSpan,"call",e=>e(i)]);const s=e.call(this,...n);return(0,Tt.Qg)(s)?s.then((e=>((0,K.z)([i,"optionalAccess",e=>e.end,"call",e=>e()]),(0,K.z)([r,"optionalAccess",e=>e.setSpan,"call",e=>e(o)]),e))):((0,K.z)([i,"optionalAccess",e=>e.end,"call",e=>e()]),(0,K.z)([r,"optionalAccess",e=>e.setSpan,"call",e=>e(o)]),s)}})):nn.T&&R.vF.error("GraphQL Integration was unable to require graphql/execution package.")}}un.__initStatic();const dn=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],gn={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};class pn{static __initStatic(){this.id="Mongo"}constructor(e={}){this.name=pn.id,this._operations=Array.isArray(e.operations)?e.operations:dn,this._describeOperations=!("describeOperations"in e)||e.describeOperations,this._useMongoose=!!e.useMongoose}loadDependency(){const e=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||(0,tn.Vw)(e)}setupOnce(e,t){if(rn(t))return void(nn.T&&R.vF.log("Mongo Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(n)this._instrumentOperations(n.Collection,this._operations,t);else{const e=this._useMongoose?"mongoose":"mongodb";nn.T&&R.vF.error(`Mongo Integration was unable to require \`${e}\` package.`)}}_instrumentOperations(e,t,n){t.forEach((t=>this._patchOperation(e,t,n)))}_patchOperation(e,t,n){if(!(t in e.prototype))return;const r=this._getSpanContextFromOperationArguments.bind(this);(0,xe.GS)(e.prototype,t,(function(e){return function(...o){const i=o[o.length-1],s=n(),a=s.getScope(),c=s.getClient(),l=a.getSpan(),u=(0,K.z)([c,"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii]);if("function"!=typeof i||"mapReduce"===t&&2===o.length){const n=(0,K.z)([l,"optionalAccess",e=>e.startChild,"call",e=>e(r(this,t,o,u))]),i=e.call(this,...o);if((0,Tt.Qg)(i))return i.then((e=>((0,K.z)([n,"optionalAccess",e=>e.end,"call",e=>e()]),e)));if((d=i)&&"object"==typeof d&&d.once&&"function"==typeof d.once){const e=i;try{e.once("close",(()=>{(0,K.z)([n,"optionalAccess",e=>e.end,"call",e=>e()])}))}catch(e){(0,K.z)([n,"optionalAccess",e=>e.end,"call",e=>e()])}return e}return(0,K.z)([n,"optionalAccess",e=>e.end,"call",e=>e()]),i}var d;const g=(0,K.z)([l,"optionalAccess",e=>e.startChild,"call",e=>e(r(this,t,o.slice(0,-1)))]);return e.call(this,...o.slice(0,-1),(function(e,t){(0,K.z)([g,"optionalAccess",e=>e.end,"call",e=>e()]),i(e,t)}))}}))}_getSpanContextFromOperationArguments(e,t,n,r=!1){const o={"db.system":"mongodb","db.name":e.dbName,"db.operation":t,"db.mongodb.collection":e.collectionName},i={op:"db",origin:"auto.db.mongo",description:t,data:o},s=gn[t],a=Array.isArray(this._describeOperations)?this._describeOperations.includes(t):this._describeOperations;if(!s||!a||!r)return i;try{if("mapReduce"===t){const[e,t]=n;o[s[0]]="string"==typeof e?e:e.name||"<anonymous>",o[s[1]]="string"==typeof t?t:t.name||"<anonymous>"}else for(let e=0;e<s.length;e++)o[`db.mongodb.${s[e]}`]=JSON.stringify(n[e])}catch(e){}return i}}pn.__initStatic();class hn{static __initStatic(){this.id="Mysql"}constructor(){this.name=hn.id}loadDependency(){return this._module=this._module||(0,tn.Vw)("mysql/lib/Connection.js")}setupOnce(e,t){if(rn(t))return void(nn.T&&R.vF.log("Mysql Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(!n)return void(nn.T&&R.vF.error("Mysql Integration was unable to require `mysql` package."));let r;try{n.prototype.connect=new Proxy(n.prototype.connect,{apply:(e,t,n)=>(r||(r=t.config),e.apply(t,n))})}catch(e){nn.T&&R.vF.error("Mysql Integration was unable to instrument `mysql` config.")}function o(e){if(!e)return;const t=r?{"server.address":r.host,"server.port":r.port,"db.user":r.user}:{};Object.keys(t).forEach((n=>{e.setAttribute(n,t[n])})),e.end()}(0,xe.GS)(n,"createQuery",(function(e){return function(n,r,i){const s=t().getScope().getSpan(),a=(0,K.z)([s,"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"==typeof n?n:n.sql,op:"db",origin:"auto.db.mysql",data:{"db.system":"mysql"}})]);if("function"==typeof i)return e.call(this,n,r,(function(e,t,n){o(a),i(e,t,n)}));if("function"==typeof r)return e.call(this,n,(function(e,t,n){o(a),r(e,t,n)}));const c=e.call(this,n,r);return c.on("end",(()=>{o(a)})),c}}))}}hn.__initStatic();class mn{static __initStatic(){this.id="Postgres"}constructor(e={}){this.name=mn.id,this._usePgNative=!!e.usePgNative,this._module=e.module}loadDependency(){return this._module=this._module||(0,tn.Vw)("pg")}setupOnce(e,t){if(rn(t))return void(nn.T&&R.vF.log("Postgres Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(!n)return void(nn.T&&R.vF.error("Postgres Integration was unable to require `pg` package."));const r=this._usePgNative?(0,K.z)([n,"access",e=>e.native,"optionalAccess",e=>e.Client]):n.Client;r?(0,xe.GS)(r.prototype,"query",(function(e){return function(n,r,o){const i=t().getScope().getSpan(),s={"db.system":"postgresql"};try{this.database&&(s["db.name"]=this.database),this.host&&(s["server.address"]=this.host),this.port&&(s["server.port"]=this.port),this.user&&(s["db.user"]=this.user)}catch(e){}const a=(0,K.z)([i,"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"==typeof n?n:n.text,op:"db",origin:"auto.db.postgres",data:s})]);if("function"==typeof o)return e.call(this,n,r,(function(e,t){(0,K.z)([a,"optionalAccess",e=>e.end,"call",e=>e()]),o(e,t)}));if("function"==typeof r)return e.call(this,n,(function(e,t){(0,K.z)([a,"optionalAccess",e=>e.end,"call",e=>e()]),r(e,t)}));const c=void 0!==r?e.call(this,n,r):e.call(this,n);return(0,Tt.Qg)(c)?c.then((e=>((0,K.z)([a,"optionalAccess",e=>e.end,"call",e=>e()]),e))):((0,K.z)([a,"optionalAccess",e=>e.end,"call",e=>e()]),c)}})):nn.T&&R.vF.error("Postgres Integration was unable to access 'pg-native' bindings.")}}mn.__initStatic();class fn{static __initStatic(){this.id="Prisma"}constructor(e={}){if(this.name=fn.id,(t=e.client)&&t.$use&&!e.client._sentryInstrumented){(0,xe.my)(e.client,"_sentryInstrumented",!0);const t={};try{const n=e.client._engineConfig;if(n){const{activeProvider:e,clientVersion:r}=n;e&&(t["db.system"]=e),r&&(t["db.prisma.version"]=r)}}catch(e){}e.client.$use(((e,n)=>{if(rn(a.BF))return n(e);const r=e.action,o=e.model;return(0,m.Lk)({name:o?`${o} ${r}`:r,onlyIfParent:!0,op:"db.prisma",attributes:{[l.JD]:"auto.db.prisma"},data:{...t,"db.operation":r}},(()=>n(e)))}))}else nn.T&&R.vF.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client:",e.client);var t}setupOnce(){}}fn.__initStatic();var In=n(7733),bn=n(107),Cn=n(2125),yn=n(8706),vn=n(781),An=n(736),Gn=n(5386),Zn=n(4862);const Bn=[["january","1"],["february","2"],["march","3"],["april","4"],["may","5"],["june","6"],["july","7"],["august","8"],["september","9"],["october","10"],["november","11"],["december","12"],["jan","1"],["feb","2"],["mar","3"],["apr","4"],["may","5"],["jun","6"],["jul","7"],["aug","8"],["sep","9"],["oct","10"],["nov","11"],["dec","12"],["sunday","0"],["monday","1"],["tuesday","2"],["wednesday","3"],["thursday","4"],["friday","5"],["saturday","6"],["sun","0"],["mon","1"],["tue","2"],["wed","3"],["thu","4"],["fri","5"],["sat","6"]];function Sn(e){return Bn.reduce(((e,[t,n])=>e.replace(new RegExp(t,"gi"),n)),e)}const wn="Automatic instrumentation of CronJob only supports crontab string",Rn=Rt(),Wn={...s.Integrations,...o,...i},Nn={instrumentCron:function(e,t){let n=!1;return new Proxy(e,{construct(e,r){const[o,i,s,a,c,...l]=r;if("string"!=typeof o)throw new Error(wn);if(n)throw new Error(`A job named '${t}' has already been scheduled`);n=!0;const u=Sn(o);return new e(o,(function(e,n){return(0,d.T$)(t,(()=>i(e,n)),{schedule:{type:"crontab",value:u},timezone:c||void 0})}),s,a,c,...l)},get:(e,r)=>"from"===r?r=>{const{cronTime:o,onTick:i,timeZone:s}=r;if("string"!=typeof o)throw new Error(wn);if(n)throw new Error(`A job named '${t}' has already been scheduled`);n=!0;const a=Sn(o);return r.onTick=(e,n)=>(0,d.T$)(t,(()=>i(e,n)),{schedule:{type:"crontab",value:a},timezone:s||void 0}),e.from(r)}:e[r]})},instrumentNodeCron:function(e){return new Proxy(e,{get:(e,t)=>"schedule"===t&&e.schedule?new Proxy(e.schedule,{apply(e,t,n){const[r,,o]=n;if(!(0,K.z)([o,"optionalAccess",e=>e.name]))throw new Error('Missing "name" for scheduled job. A name is required for Sentry check-in monitoring.');return(0,d.T$)(o.name,(()=>e.apply(t,n)),{schedule:{type:"crontab",value:Sn(r)},timezone:(0,K.z)([o,"optionalAccess",e=>e.timezone])})}}):e[t]})},instrumentNodeSchedule:function(e){return new Proxy(e,{get:(e,t)=>"scheduleJob"===t?new Proxy(e.scheduleJob,{apply(e,t,n){const[r,o]=n;if("string"!=typeof r||"string"!=typeof o)throw new Error("Automatic instrumentation of 'node-schedule' requires the first parameter of 'scheduleJob' to be a job name string and the second parameter to be a crontab string");const i=r,s=o;return(0,d.T$)(i,(()=>e.apply(t,n)),{schedule:{type:"crontab",value:Sn(s)}})}}):e[t]})}}},2576:(e,t,n)=>{"use strict";n.d(t,{M:()=>b,a:()=>I});var r=n(6615),o=n(3096),i=n(7016),s=n(6036),a=n(6833),c=n(5959),l=n(3827),u=n(1234),d=n(4870),g=n(2859),p=n(1110),h=n(2900);function m(e,...t){d.vF.log(`[ANR] ${e}`,...t)}function f(){const e=(0,s.m6)().getScopeData();return(0,a.Rg)(e,(0,c.rm)().getScopeData()),(0,a.Rg)(e,(0,l.o5)().getScopeData()),e.attachments=[],e.eventProcessors=[],e}e=n.hmd(e);const I=(0,u._C)(((t={})=>{if(h.S.major<16||16===h.S.major&&h.S.minor<17)throw new Error("ANR detection requires Node 16.17.0 or later");let s,a;return g.OW.__SENTRY_GET_SCOPES__=f,{name:"Anr",setupOnce(){},startWorker:()=>{s||a&&(s=async function(t,s){const a=t.getDsn();if(!a)return()=>{};const c=await async function(e){let t={message:"ANR"};const n={};for(const r of e.getEventProcessors()){if(null===t)break;t=await r(t,n)}return(0,r.z)([t,"optionalAccess",e=>e.contexts])||{}}(t);(0,o.u)([c,"access",e=>e.app,"optionalAccess",e=>delete e.app_memory]),(0,o.u)([c,"access",e=>e.device,"optionalAccess",e=>delete e.free_memory]);const u=t.getOptions(),g=t.getSdkMetadata()||{};g.sdk&&(g.sdk.integrations=u.integrations.map((e=>e.name)));const h={debug:d.vF.isEnabled(),dsn:a,environment:u.environment||"production",release:u.release,dist:u.dist,sdkMetadata:g,appRootPath:s.appRootPath,pollInterval:s.pollInterval||50,anrThreshold:s.anrThreshold||5e3,captureStackTrace:!!s.captureStackTrace,staticTags:s.staticTags||{},contexts:c};if(h.captureStackTrace){const e=n(264);e.url()||e.open(0)}const{Worker:f}=(0,p.fj)(e,"worker_threads"),I=new f(new i.URL("data:application/javascript;base64,aW1wb3J0IHsgU2Vzc2lvbiB9IGZyb20gJ2luc3BlY3Rvcic7CmltcG9ydCB7IHdvcmtlckRhdGEsIHBhcmVudFBvcnQgfSBmcm9tICd3b3JrZXJfdGhyZWFkcyc7CmltcG9ydCB7IHBvc2l4LCBzZXAgfSBmcm9tICdwYXRoJzsKaW1wb3J0ICogYXMgaHR0cCBmcm9tICdodHRwJzsKaW1wb3J0ICogYXMgaHR0cHMgZnJvbSAnaHR0cHMnOwppbXBvcnQgeyBSZWFkYWJsZSB9IGZyb20gJ3N0cmVhbSc7CmltcG9ydCB7IFVSTCB9IGZyb20gJ3VybCc7CmltcG9ydCB7IGNyZWF0ZUd6aXAgfSBmcm9tICd6bGliJzsKaW1wb3J0ICogYXMgbmV0IGZyb20gJ25ldCc7CmltcG9ydCAqIGFzIHRscyBmcm9tICd0bHMnOwoKLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC91bmJvdW5kLW1ldGhvZApjb25zdCBvYmplY3RUb1N0cmluZyA9IE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmc7CgovKioKICogQ2hlY2tzIHdoZXRoZXIgZ2l2ZW4gdmFsdWUncyB0eXBlIGlzIG9uZSBvZiBhIGZldyBFcnJvciBvciBFcnJvci1saWtlCiAqIHtAbGluayBpc0Vycm9yfS4KICoKICogQHBhcmFtIHdhdCBBIHZhbHVlIHRvIGJlIGNoZWNrZWQuCiAqIEByZXR1cm5zIEEgYm9vbGVhbiByZXByZXNlbnRpbmcgdGhlIHJlc3VsdC4KICovCmZ1bmN0aW9uIGlzRXJyb3Iod2F0KSB7CiAgc3dpdGNoIChvYmplY3RUb1N0cmluZy5jYWxsKHdhdCkpIHsKICAgIGNhc2UgJ1tvYmplY3QgRXJyb3JdJzoKICAgIGNhc2UgJ1tvYmplY3QgRXhjZXB0aW9uXSc6CiAgICBjYXNlICdbb2JqZWN0IERPTUV4Y2VwdGlvbl0nOgogICAgICByZXR1cm4gdHJ1ZTsKICAgIGRlZmF1bHQ6CiAgICAgIHJldHVybiBpc0luc3RhbmNlT2Yod2F0LCBFcnJvcik7CiAgfQp9Ci8qKgogKiBDaGVja3Mgd2hldGhlciBnaXZlbiB2YWx1ZSBpcyBhbiBpbnN0YW5jZSBvZiB0aGUgZ2l2ZW4gYnVpbHQtaW4gY2xhc3MuCiAqCiAqIEBwYXJhbSB3YXQgVGhlIHZhbHVlIHRvIGJlIGNoZWNrZWQKICogQHBhcmFtIGNsYXNzTmFtZQogKiBAcmV0dXJucyBBIGJvb2xlYW4gcmVwcmVzZW50aW5nIHRoZSByZXN1bHQuCiAqLwpmdW5jdGlvbiBpc0J1aWx0aW4od2F0LCBjbGFzc05hbWUpIHsKICByZXR1cm4gb2JqZWN0VG9TdHJpbmcuY2FsbCh3YXQpID09PSBgW29iamVjdCAke2NsYXNzTmFtZX1dYDsKfQoKLyoqCiAqIENoZWNrcyB3aGV0aGVyIGdpdmVuIHZhbHVlJ3MgdHlwZSBpcyBhIHN0cmluZwogKiB7QGxpbmsgaXNTdHJpbmd9LgogKgogKiBAcGFyYW0gd2F0IEEgdmFsdWUgdG8gYmUgY2hlY2tlZC4KICogQHJldHVybnMgQSBib29sZWFuIHJlcHJlc2VudGluZyB0aGUgcmVzdWx0LgogKi8KZnVuY3Rpb24gaXNTdHJpbmcod2F0KSB7CiAgcmV0dXJuIGlzQnVpbHRpbih3YXQsICdTdHJpbmcnKTsKfQoKLyoqCiAqIENoZWNrcyB3aGV0aGVyIGdpdmVuIHZhbHVlJ3MgdHlwZSBpcyBhbiBvYmplY3QgbGl0ZXJhbCwgb3IgYSBjbGFzcyBpbnN0YW5jZS4KICoge0BsaW5rIGlzUGxhaW5PYmplY3R9LgogKgogKiBAcGFyYW0gd2F0IEEgdmFsdWUgdG8gYmUgY2hlY2tlZC4KICogQHJldHVybnMgQSBib29sZWFuIHJlcHJlc2VudGluZyB0aGUgcmVzdWx0LgogKi8KZnVuY3Rpb24gaXNQbGFpbk9iamVjdCh3YXQpIHsKICByZXR1cm4gaXNCdWlsdGluKHdhdCwgJ09iamVjdCcpOwp9CgovKioKICogQ2hlY2tzIHdoZXRoZXIgZ2l2ZW4gdmFsdWUncyB0eXBlIGlzIGFuIEV2ZW50IGluc3RhbmNlCiAqIHtAbGluayBpc0V2ZW50fS4KICoKICogQHBhcmFtIHdhdCBBIHZhbHVlIHRvIGJlIGNoZWNrZWQuCiAqIEByZXR1cm5zIEEgYm9vbGVhbiByZXByZXNlbnRpbmcgdGhlIHJlc3VsdC4KICovCmZ1bmN0aW9uIGlzRXZlbnQod2F0KSB7CiAgcmV0dXJuIHR5cGVvZiBFdmVudCAhPT0gJ3VuZGVmaW5lZCcgJiYgaXNJbnN0YW5jZU9mKHdhdCwgRXZlbnQpOwp9CgovKioKICogQ2hlY2tzIHdoZXRoZXIgZ2l2ZW4gdmFsdWUncyB0eXBlIGlzIGFuIEVsZW1lbnQgaW5zdGFuY2UKICoge0BsaW5rIGlzRWxlbWVudH0uCiAqCiAqIEBwYXJhbSB3YXQgQSB2YWx1ZSB0byBiZSBjaGVja2VkLgogKiBAcmV0dXJucyBBIGJvb2xlYW4gcmVwcmVzZW50aW5nIHRoZSByZXN1bHQuCiAqLwpmdW5jdGlvbiBpc0VsZW1lbnQod2F0KSB7CiAgcmV0dXJuIHR5cGVvZiBFbGVtZW50ICE9PSAndW5kZWZpbmVkJyAmJiBpc0luc3RhbmNlT2Yod2F0LCBFbGVtZW50KTsKfQoKLyoqCiAqIENoZWNrcyB3aGV0aGVyIGdpdmVuIHZhbHVlIGhhcyBhIHRoZW4gZnVuY3Rpb24uCiAqIEBwYXJhbSB3YXQgQSB2YWx1ZSB0byBiZSBjaGVja2VkLgogKi8KZnVuY3Rpb24gaXNUaGVuYWJsZSh3YXQpIHsKICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLXVuc2FmZS1tZW1iZXItYWNjZXNzCiAgcmV0dXJuIEJvb2xlYW4od2F0ICYmIHdhdC50aGVuICYmIHR5cGVvZiB3YXQudGhlbiA9PT0gJ2Z1bmN0aW9uJyk7Cn0KCi8qKgogKiBDaGVja3Mgd2hldGhlciBnaXZlbiB2YWx1ZSdzIHR5cGUgaXMgYSBTeW50aGV0aWNFdmVudAogKiB7QGxpbmsgaXNTeW50aGV0aWNFdmVudH0uCiAqCiAqIEBwYXJhbSB3YXQgQSB2YWx1ZSB0byBiZSBjaGVja2VkLgogKiBAcmV0dXJucyBBIGJvb2xlYW4gcmVwcmVzZW50aW5nIHRoZSByZXN1bHQuCiAqLwpmdW5jdGlvbiBpc1N5bnRoZXRpY0V2ZW50KHdhdCkgewogIHJldHVybiBpc1BsYWluT2JqZWN0KHdhdCkgJiYgJ25hdGl2ZUV2ZW50JyBpbiB3YXQgJiYgJ3ByZXZlbnREZWZhdWx0JyBpbiB3YXQgJiYgJ3N0b3BQcm9wYWdhdGlvbicgaW4gd2F0Owp9CgovKioKICogQ2hlY2tzIHdoZXRoZXIgZ2l2ZW4gdmFsdWUgaXMgTmFOCiAqIHtAbGluayBpc05hTn0uCiAqCiAqIEBwYXJhbSB3YXQgQSB2YWx1ZSB0byBiZSBjaGVja2VkLgogKiBAcmV0dXJucyBBIGJvb2xlYW4gcmVwcmVzZW50aW5nIHRoZSByZXN1bHQuCiAqLwpmdW5jdGlvbiBpc05hTiQxKHdhdCkgewogIHJldHVybiB0eXBlb2Ygd2F0ID09PSAnbnVtYmVyJyAmJiB3YXQgIT09IHdhdDsKfQoKLyoqCiAqIENoZWNrcyB3aGV0aGVyIGdpdmVuIHZhbHVlJ3MgdHlwZSBpcyBhbiBpbnN0YW5jZSBvZiBwcm92aWRlZCBjb25zdHJ1Y3Rvci4KICoge0BsaW5rIGlzSW5zdGFuY2VPZn0uCiAqCiAqIEBwYXJhbSB3YXQgQSB2YWx1ZSB0byBiZSBjaGVja2VkLgogKiBAcGFyYW0gYmFzZSBBIGNvbnN0cnVjdG9yIHRvIGJlIHVzZWQgaW4gYSBjaGVjay4KICogQHJldHVybnMgQSBib29sZWFuIHJlcHJlc2VudGluZyB0aGUgcmVzdWx0LgogKi8KZnVuY3Rpb24gaXNJbnN0YW5jZU9mKHdhdCwgYmFzZSkgewogIHRyeSB7CiAgICByZXR1cm4gd2F0IGluc3RhbmNlb2YgYmFzZTsKICB9IGNhdGNoIChfZSkgewogICAgcmV0dXJuIGZhbHNlOwogIH0KfQoKLyoqCiAqIENoZWNrcyB3aGV0aGVyIGdpdmVuIHZhbHVlJ3MgdHlwZSBpcyBhIFZ1ZSBWaWV3TW9kZWwuCiAqCiAqIEBwYXJhbSB3YXQgQSB2YWx1ZSB0byBiZSBjaGVja2VkLgogKiBAcmV0dXJucyBBIGJvb2xlYW4gcmVwcmVzZW50aW5nIHRoZSByZXN1bHQuCiAqLwpmdW5jdGlvbiBpc1Z1ZVZpZXdNb2RlbCh3YXQpIHsKICAvLyBOb3QgdXNpbmcgT2JqZWN0LnByb3RvdHlwZS50b1N0cmluZyBiZWNhdXNlIGluIFZ1ZSAzIGl0IHdvdWxkIHJlYWQgdGhlIGluc3RhbmNlJ3MgU3ltYm9sKFN5bWJvbC50b1N0cmluZ1RhZykgcHJvcGVydHkuCiAgcmV0dXJuICEhKHR5cGVvZiB3YXQgPT09ICdvYmplY3QnICYmIHdhdCAhPT0gbnVsbCAmJiAoKHdhdCApLl9faXNWdWUgfHwgKHdhdCApLl9pc1Z1ZSkpOwp9CgovKiogSW50ZXJuYWwgZ2xvYmFsIHdpdGggY29tbW9uIHByb3BlcnRpZXMgYW5kIFNlbnRyeSBleHRlbnNpb25zICAqLwoKLy8gVGhlIGNvZGUgYmVsb3cgZm9yICdpc0dsb2JhbE9iaicgYW5kICdHTE9CQUxfT0JKJyB3YXMgY29waWVkIGZyb20gY29yZS1qcyBiZWZvcmUgbW9kaWZpY2F0aW9uCi8vIGh0dHBzOi8vZ2l0aHViLmNvbS96bG9pcm9jay9jb3JlLWpzL2Jsb2IvMWI5NDRkZjU1MjgyY2RjOTljOTBkYjVmNDllYjBiNmVkYTJjYzBhMy9wYWNrYWdlcy9jb3JlLWpzL2ludGVybmFscy9nbG9iYWwuanMKLy8gY29yZS1qcyBoYXMgdGhlIGZvbGxvd2luZyBsaWNlbmNlOgovLwovLyBDb3B5cmlnaHQgKGMpIDIwMTQtMjAyMiBEZW5pcyBQdXNoa2FyZXYKLy8KLy8gUGVybWlzc2lvbiBpcyBoZXJlYnkgZ3JhbnRlZCwgZnJlZSBvZiBjaGFyZ2UsIHRvIGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weQovLyBvZiB0aGlzIHNvZnR3YXJlIGFuZCBhc3NvY2lhdGVkIGRvY3VtZW50YXRpb24gZmlsZXMgKHRoZSAiU29mdHdhcmUiKSwgdG8gZGVhbAovLyBpbiB0aGUgU29mdHdhcmUgd2l0aG91dCByZXN0cmljdGlvbiwgaW5jbHVkaW5nIHdpdGhvdXQgbGltaXRhdGlvbiB0aGUgcmlnaHRzCi8vIHRvIHVzZSwgY29weSwgbW9kaWZ5LCBtZXJnZSwgcHVibGlzaCwgZGlzdHJpYnV0ZSwgc3VibGljZW5zZSwgYW5kL29yIHNlbGwKLy8gY29waWVzIG9mIHRoZSBTb2Z0d2FyZSwgYW5kIHRvIHBlcm1pdCBwZXJzb25zIHRvIHdob20gdGhlIFNvZnR3YXJlIGlzCi8vIGZ1cm5pc2hlZCB0byBkbyBzbywgc3ViamVjdCB0byB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnM6Ci8vCi8vIFRoZSBhYm92ZSBjb3B5cmlnaHQgbm90aWNlIGFuZCB0aGlzIHBlcm1pc3Npb24gbm90aWNlIHNoYWxsIGJlIGluY2x1ZGVkIGluCi8vIGFsbCBjb3BpZXMgb3Igc3Vic3RhbnRpYWwgcG9ydGlvbnMgb2YgdGhlIFNvZnR3YXJlLgovLwovLyBUSEUgU09GVFdBUkUgSVMgUFJPVklERUQgIkFTIElTIiwgV0lUSE9VVCBXQVJSQU5UWSBPRiBBTlkgS0lORCwgRVhQUkVTUyBPUgovLyBJTVBMSUVELCBJTkNMVURJTkcgQlVUIE5PVCBMSU1JVEVEIFRPIFRIRSBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWSwKLy8gRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UgQU5EIE5PTklORlJJTkdFTUVOVC4gSU4gTk8gRVZFTlQgU0hBTEwgVEhFCi8vIEFVVEhPUlMgT1IgQ09QWVJJR0hUIEhPTERFUlMgQkUgTElBQkxFIEZPUiBBTlkgQ0xBSU0sIERBTUFHRVMgT1IgT1RIRVIKLy8gTElBQklMSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBPVEhFUldJU0UsIEFSSVNJTkcgRlJPTSwKLy8gT1VUIE9GIE9SIElOIENPTk5FQ1RJT04gV0lUSCBUSEUgU09GVFdBUkUgT1IgVEhFIFVTRSBPUiBPVEhFUiBERUFMSU5HUyBJTgovLyBUSEUgU09GVFdBUkUuCgovKiogUmV0dXJucyAnb2JqJyBpZiBpdCdzIHRoZSBnbG9iYWwgb2JqZWN0LCBvdGhlcndpc2UgcmV0dXJucyB1bmRlZmluZWQgKi8KZnVuY3Rpb24gaXNHbG9iYWxPYmoob2JqKSB7CiAgcmV0dXJuIG9iaiAmJiBvYmouTWF0aCA9PSBNYXRoID8gb2JqIDogdW5kZWZpbmVkOwp9CgovKiogR2V0J3MgdGhlIGdsb2JhbCBvYmplY3QgZm9yIHRoZSBjdXJyZW50IEphdmFTY3JpcHQgcnVudGltZSAqLwpjb25zdCBHTE9CQUxfT0JKID0KICAodHlwZW9mIGdsb2JhbFRoaXMgPT0gJ29iamVjdCcgJiYgaXNHbG9iYWxPYmooZ2xvYmFsVGhpcykpIHx8CiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIG5vLXJlc3RyaWN0ZWQtZ2xvYmFscwogICh0eXBlb2Ygd2luZG93ID09ICdvYmplY3QnICYmIGlzR2xvYmFsT2JqKHdpbmRvdykpIHx8CiAgKHR5cGVvZiBzZWxmID09ICdvYmplY3QnICYmIGlzR2xvYmFsT2JqKHNlbGYpKSB8fAogICh0eXBlb2YgZ2xvYmFsID09ICdvYmplY3QnICYmIGlzR2xvYmFsT2JqKGdsb2JhbCkpIHx8CiAgKGZ1bmN0aW9uICgpIHsKICAgIHJldHVybiB0aGlzOwogIH0pKCkgfHwKICB7fTsKCi8qKgogKiBAZGVwcmVjYXRlZCBVc2UgR0xPQkFMX09CSiBpbnN0ZWFkIG9yIFdJTkRPVyBmcm9tIEBzZW50cnkvYnJvd3Nlci4gVGhpcyB3aWxsIGJlIHJlbW92ZWQgaW4gdjgKICovCmZ1bmN0aW9uIGdldEdsb2JhbE9iamVjdCgpIHsKICByZXR1cm4gR0xPQkFMX09CSiA7Cn0KCi8qKgogKiBSZXR1cm5zIGEgZ2xvYmFsIHNpbmdsZXRvbiBjb250YWluZWQgaW4gdGhlIGdsb2JhbCBgX19TRU5UUllfX2Agb2JqZWN0LgogKgogKiBJZiB0aGUgc2luZ2xldG9uIGRvZXNuJ3QgYWxyZWFkeSBleGlzdCBpbiBgX19TRU5UUllfX2AsIGl0IHdpbGwgYmUgY3JlYXRlZCB1c2luZyB0aGUgZ2l2ZW4gZmFjdG9yeQogKiBmdW5jdGlvbiBhbmQgYWRkZWQgdG8gdGhlIGBfX1NFTlRSWV9fYCBvYmplY3QuCiAqCiAqIEBwYXJhbSBuYW1lIG5hbWUgb2YgdGhlIGdsb2JhbCBzaW5nbGV0b24gb24gX19TRU5UUllfXwogKiBAcGFyYW0gY3JlYXRvciBjcmVhdG9yIEZhY3RvcnkgZnVuY3Rpb24gdG8gY3JlYXRlIHRoZSBzaW5nbGV0b24gaWYgaXQgZG9lc24ndCBhbHJlYWR5IGV4aXN0IG9uIGBfX1NFTlRSWV9fYAogKiBAcGFyYW0gb2JqIChPcHRpb25hbCkgVGhlIGdsb2JhbCBvYmplY3Qgb24gd2hpY2ggdG8gbG9vayBmb3IgYF9fU0VOVFJZX19gLCBpZiBub3QgYEdMT0JBTF9PQkpgJ3MgcmV0dXJuIHZhbHVlCiAqIEByZXR1cm5zIHRoZSBzaW5nbGV0b24KICovCmZ1bmN0aW9uIGdldEdsb2JhbFNpbmdsZXRvbihuYW1lLCBjcmVhdG9yLCBvYmopIHsKICBjb25zdCBnYmwgPSAob2JqIHx8IEdMT0JBTF9PQkopIDsKICBjb25zdCBfX1NFTlRSWV9fID0gKGdibC5fX1NFTlRSWV9fID0gZ2JsLl9fU0VOVFJZX18gfHwge30pOwogIGNvbnN0IHNpbmdsZXRvbiA9IF9fU0VOVFJZX19bbmFtZV0gfHwgKF9fU0VOVFJZX19bbmFtZV0gPSBjcmVhdG9yKCkpOwogIHJldHVybiBzaW5nbGV0b247Cn0KCi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgpjb25zdCBXSU5ET1cgPSBnZXRHbG9iYWxPYmplY3QoKTsKCmNvbnN0IERFRkFVTFRfTUFYX1NUUklOR19MRU5HVEggPSA4MDsKCi8qKgogKiBHaXZlbiBhIGNoaWxkIERPTSBlbGVtZW50LCByZXR1cm5zIGEgcXVlcnktc2VsZWN0b3Igc3RhdGVtZW50IGRlc2NyaWJpbmcgdGhhdAogKiBhbmQgaXRzIGFuY2VzdG9ycwogKiBlLmcuIFtIVE1MRWxlbWVudF0gPT4gYm9keSA+IGRpdiA+IGlucHV0I2Zvby5idG5bbmFtZT1iYXpdCiAqIEByZXR1cm5zIGdlbmVyYXRlZCBET00gcGF0aAogKi8KZnVuY3Rpb24gaHRtbFRyZWVBc1N0cmluZygKICBlbGVtLAogIG9wdGlvbnMgPSB7fSwKKSB7CiAgaWYgKCFlbGVtKSB7CiAgICByZXR1cm4gJzx1bmtub3duPic7CiAgfQoKICAvLyB0cnkvY2F0Y2ggYm90aDoKICAvLyAtIGFjY2Vzc2luZyBldmVudC50YXJnZXQgKHNlZSBnZXRzZW50cnkvcmF2ZW4tanMjODM4LCAjNzY4KQogIC8vIC0gYGh0bWxUcmVlQXNTdHJpbmdgIGJlY2F1c2UgaXQncyBjb21wbGV4LCBhbmQganVzdCBhY2Nlc3NpbmcgdGhlIERPTSBpbmNvcnJlY3RseQogIC8vIC0gY2FuIHRocm93IGFuIGV4Y2VwdGlvbiBpbiBzb21lIGNpcmN1bXN0YW5jZXMuCiAgdHJ5IHsKICAgIGxldCBjdXJyZW50RWxlbSA9IGVsZW0gOwogICAgY29uc3QgTUFYX1RSQVZFUlNFX0hFSUdIVCA9IDU7CiAgICBjb25zdCBvdXQgPSBbXTsKICAgIGxldCBoZWlnaHQgPSAwOwogICAgbGV0IGxlbiA9IDA7CiAgICBjb25zdCBzZXBhcmF0b3IgPSAnID4gJzsKICAgIGNvbnN0IHNlcExlbmd0aCA9IHNlcGFyYXRvci5sZW5ndGg7CiAgICBsZXQgbmV4dFN0cjsKICAgIGNvbnN0IGtleUF0dHJzID0gQXJyYXkuaXNBcnJheShvcHRpb25zKSA/IG9wdGlvbnMgOiBvcHRpb25zLmtleUF0dHJzOwogICAgY29uc3QgbWF4U3RyaW5nTGVuZ3RoID0gKCFBcnJheS5pc0FycmF5KG9wdGlvbnMpICYmIG9wdGlvbnMubWF4U3RyaW5nTGVuZ3RoKSB8fCBERUZBVUxUX01BWF9TVFJJTkdfTEVOR1RIOwoKICAgIHdoaWxlIChjdXJyZW50RWxlbSAmJiBoZWlnaHQrKyA8IE1BWF9UUkFWRVJTRV9IRUlHSFQpIHsKICAgICAgbmV4dFN0ciA9IF9odG1sRWxlbWVudEFzU3RyaW5nKGN1cnJlbnRFbGVtLCBrZXlBdHRycyk7CiAgICAgIC8vIGJhaWwgb3V0IGlmCiAgICAgIC8vIC0gbmV4dFN0ciBpcyB0aGUgJ2h0bWwnIGVsZW1lbnQKICAgICAgLy8gLSB0aGUgbGVuZ3RoIG9mIHRoZSBzdHJpbmcgdGhhdCB3b3VsZCBiZSBjcmVhdGVkIGV4Y2VlZHMgbWF4U3RyaW5nTGVuZ3RoCiAgICAgIC8vICAgKGlnbm9yZSB0aGlzIGxpbWl0IGlmIHdlIGFyZSBvbiB0aGUgZmlyc3QgaXRlcmF0aW9uKQogICAgICBpZiAobmV4dFN0ciA9PT0gJ2h0bWwnIHx8IChoZWlnaHQgPiAxICYmIGxlbiArIG91dC5sZW5ndGggKiBzZXBMZW5ndGggKyBuZXh0U3RyLmxlbmd0aCA+PSBtYXhTdHJpbmdMZW5ndGgpKSB7CiAgICAgICAgYnJlYWs7CiAgICAgIH0KCiAgICAgIG91dC5wdXNoKG5leHRTdHIpOwoKICAgICAgbGVuICs9IG5leHRTdHIubGVuZ3RoOwogICAgICBjdXJyZW50RWxlbSA9IGN1cnJlbnRFbGVtLnBhcmVudE5vZGU7CiAgICB9CgogICAgcmV0dXJuIG91dC5yZXZlcnNlKCkuam9pbihzZXBhcmF0b3IpOwogIH0gY2F0Y2ggKF9vTykgewogICAgcmV0dXJuICc8dW5rbm93bj4nOwogIH0KfQoKLyoqCiAqIFJldHVybnMgYSBzaW1wbGUsIHF1ZXJ5LXNlbGVjdG9yIHJlcHJlc2VudGF0aW9uIG9mIGEgRE9NIGVsZW1lbnQKICogZS5nLiBbSFRNTEVsZW1lbnRdID0+IGlucHV0I2Zvby5idG5bbmFtZT1iYXpdCiAqIEByZXR1cm5zIGdlbmVyYXRlZCBET00gcGF0aAogKi8KZnVuY3Rpb24gX2h0bWxFbGVtZW50QXNTdHJpbmcoZWwsIGtleUF0dHJzKSB7CiAgY29uc3QgZWxlbSA9IGVsCgo7CgogIGNvbnN0IG91dCA9IFtdOwogIGxldCBjbGFzc05hbWU7CiAgbGV0IGNsYXNzZXM7CiAgbGV0IGtleTsKICBsZXQgYXR0cjsKICBsZXQgaTsKCiAgaWYgKCFlbGVtIHx8ICFlbGVtLnRhZ05hbWUpIHsKICAgIHJldHVybiAnJzsKICB9CgogIC8vIEB0cy1leHBlY3QtZXJyb3IgV0lORE9XIGhhcyBIVE1MRWxlbWVudAogIGlmIChXSU5ET1cuSFRNTEVsZW1lbnQpIHsKICAgIC8vIElmIHVzaW5nIHRoZSBjb21wb25lbnQgbmFtZSBhbm5vdGF0aW9uIHBsdWdpbiwgdGhpcyB2YWx1ZSBtYXkgYmUgYXZhaWxhYmxlIG9uIHRoZSBET00gbm9kZQogICAgaWYgKGVsZW0gaW5zdGFuY2VvZiBIVE1MRWxlbWVudCAmJiBlbGVtLmRhdGFzZXQgJiYgZWxlbS5kYXRhc2V0WydzZW50cnlDb21wb25lbnQnXSkgewogICAgICByZXR1cm4gZWxlbS5kYXRhc2V0WydzZW50cnlDb21wb25lbnQnXTsKICAgIH0KICB9CgogIG91dC5wdXNoKGVsZW0udGFnTmFtZS50b0xvd2VyQ2FzZSgpKTsKCiAgLy8gUGFpcnMgb2YgYXR0cmlidXRlIGtleXMgZGVmaW5lZCBpbiBgc2VyaWFsaXplQXR0cmlidXRlYCBhbmQgdGhlaXIgdmFsdWVzIG9uIGVsZW1lbnQuCiAgY29uc3Qga2V5QXR0clBhaXJzID0KICAgIGtleUF0dHJzICYmIGtleUF0dHJzLmxlbmd0aAogICAgICA/IGtleUF0dHJzLmZpbHRlcihrZXlBdHRyID0+IGVsZW0uZ2V0QXR0cmlidXRlKGtleUF0dHIpKS5tYXAoa2V5QXR0ciA9PiBba2V5QXR0ciwgZWxlbS5nZXRBdHRyaWJ1dGUoa2V5QXR0cildKQogICAgICA6IG51bGw7CgogIGlmIChrZXlBdHRyUGFpcnMgJiYga2V5QXR0clBhaXJzLmxlbmd0aCkgewogICAga2V5QXR0clBhaXJzLmZvckVhY2goa2V5QXR0clBhaXIgPT4gewogICAgICBvdXQucHVzaChgWyR7a2V5QXR0clBhaXJbMF19PSIke2tleUF0dHJQYWlyWzFdfSJdYCk7CiAgICB9KTsKICB9IGVsc2UgewogICAgaWYgKGVsZW0uaWQpIHsKICAgICAgb3V0LnB1c2goYCMke2VsZW0uaWR9YCk7CiAgICB9CgogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIHByZWZlci1jb25zdAogICAgY2xhc3NOYW1lID0gZWxlbS5jbGFzc05hbWU7CiAgICBpZiAoY2xhc3NOYW1lICYmIGlzU3RyaW5nKGNsYXNzTmFtZSkpIHsKICAgICAgY2xhc3NlcyA9IGNsYXNzTmFtZS5zcGxpdCgvXHMrLyk7CiAgICAgIGZvciAoaSA9IDA7IGkgPCBjbGFzc2VzLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgb3V0LnB1c2goYC4ke2NsYXNzZXNbaV19YCk7CiAgICAgIH0KICAgIH0KICB9CiAgY29uc3QgYWxsb3dlZEF0dHJzID0gWydhcmlhLWxhYmVsJywgJ3R5cGUnLCAnbmFtZScsICd0aXRsZScsICdhbHQnXTsKICBmb3IgKGkgPSAwOyBpIDwgYWxsb3dlZEF0dHJzLmxlbmd0aDsgaSsrKSB7CiAgICBrZXkgPSBhbGxvd2VkQXR0cnNbaV07CiAgICBhdHRyID0gZWxlbS5nZXRBdHRyaWJ1dGUoa2V5KTsKICAgIGlmIChhdHRyKSB7CiAgICAgIG91dC5wdXNoKGBbJHtrZXl9PSIke2F0dHJ9Il1gKTsKICAgIH0KICB9CiAgcmV0dXJuIG91dC5qb2luKCcnKTsKfQoKLyoqCiAqIFRoaXMgc2VydmVzIGFzIGEgYnVpbGQgdGltZSBmbGFnIHRoYXQgd2lsbCBiZSB0cnVlIGJ5IGRlZmF1bHQsIGJ1dCBmYWxzZSBpbiBub24tZGVidWcgYnVpbGRzIG9yIGlmIHVzZXJzIHJlcGxhY2UgYF9fU0VOVFJZX0RFQlVHX19gIGluIHRoZWlyIGdlbmVyYXRlZCBjb2RlLgogKgogKiBBVFRFTlRJT046IFRoaXMgY29uc3RhbnQgbXVzdCBuZXZlciBjcm9zcyBwYWNrYWdlIGJvdW5kYXJpZXMgKGkuZS4gYmUgZXhwb3J0ZWQpIHRvIGd1YXJhbnRlZSB0aGF0IGl0IGNhbiBiZSB1c2VkIGZvciB0cmVlIHNoYWtpbmcuCiAqLwpjb25zdCBERUJVR19CVUlMRCQxID0gKHR5cGVvZiBfX1NFTlRSWV9ERUJVR19fID09PSAndW5kZWZpbmVkJyB8fCBfX1NFTlRSWV9ERUJVR19fKTsKCi8qKiBQcmVmaXggZm9yIGxvZ2dpbmcgc3RyaW5ncyAqLwpjb25zdCBQUkVGSVggPSAnU2VudHJ5IExvZ2dlciAnOwoKY29uc3QgQ09OU09MRV9MRVZFTFMgPSBbCiAgJ2RlYnVnJywKICAnaW5mbycsCiAgJ3dhcm4nLAogICdlcnJvcicsCiAgJ2xvZycsCiAgJ2Fzc2VydCcsCiAgJ3RyYWNlJywKXSA7CgovKiogVGhpcyBtYXkgYmUgbXV0YXRlZCBieSB0aGUgY29uc29sZSBpbnN0cnVtZW50YXRpb24uICovCmNvbnN0IG9yaWdpbmFsQ29uc29sZU1ldGhvZHMKCiA9IHt9OwoKLyoqIEpTRG9jICovCgovKioKICogVGVtcG9yYXJpbHkgZGlzYWJsZSBzZW50cnkgY29uc29sZSBpbnN0cnVtZW50YXRpb25zLgogKgogKiBAcGFyYW0gY2FsbGJhY2sgVGhlIGZ1bmN0aW9uIHRvIHJ1biBhZ2FpbnN0IHRoZSBvcmlnaW5hbCBgY29uc29sZWAgbWVzc2FnZXMKICogQHJldHVybnMgVGhlIHJlc3VsdHMgb2YgdGhlIGNhbGxiYWNrCiAqLwpmdW5jdGlvbiBjb25zb2xlU2FuZGJveChjYWxsYmFjaykgewogIGlmICghKCdjb25zb2xlJyBpbiBHTE9CQUxfT0JKKSkgewogICAgcmV0dXJuIGNhbGxiYWNrKCk7CiAgfQoKICBjb25zdCBjb25zb2xlID0gR0xPQkFMX09CSi5jb25zb2xlIDsKICBjb25zdCB3cmFwcGVkRnVuY3MgPSB7fTsKCiAgY29uc3Qgd3JhcHBlZExldmVscyA9IE9iamVjdC5rZXlzKG9yaWdpbmFsQ29uc29sZU1ldGhvZHMpIDsKCiAgLy8gUmVzdG9yZSBhbGwgd3JhcHBlZCBjb25zb2xlIG1ldGhvZHMKICB3cmFwcGVkTGV2ZWxzLmZvckVhY2gobGV2ZWwgPT4gewogICAgY29uc3Qgb3JpZ2luYWxDb25zb2xlTWV0aG9kID0gb3JpZ2luYWxDb25zb2xlTWV0aG9kc1tsZXZlbF0gOwogICAgd3JhcHBlZEZ1bmNzW2xldmVsXSA9IGNvbnNvbGVbbGV2ZWxdIDsKICAgIGNvbnNvbGVbbGV2ZWxdID0gb3JpZ2luYWxDb25zb2xlTWV0aG9kOwogIH0pOwoKICB0cnkgewogICAgcmV0dXJuIGNhbGxiYWNrKCk7CiAgfSBmaW5hbGx5IHsKICAgIC8vIFJldmVydCByZXN0b3JhdGlvbiB0byB3cmFwcGVkIHN0YXRlCiAgICB3cmFwcGVkTGV2ZWxzLmZvckVhY2gobGV2ZWwgPT4gewogICAgICBjb25zb2xlW2xldmVsXSA9IHdyYXBwZWRGdW5jc1tsZXZlbF0gOwogICAgfSk7CiAgfQp9CgpmdW5jdGlvbiBtYWtlTG9nZ2VyKCkgewogIGxldCBlbmFibGVkID0gZmFsc2U7CiAgY29uc3QgbG9nZ2VyID0gewogICAgZW5hYmxlOiAoKSA9PiB7CiAgICAgIGVuYWJsZWQgPSB0cnVlOwogICAgfSwKICAgIGRpc2FibGU6ICgpID0+IHsKICAgICAgZW5hYmxlZCA9IGZhbHNlOwogICAgfSwKICAgIGlzRW5hYmxlZDogKCkgPT4gZW5hYmxlZCwKICB9OwoKICBpZiAoREVCVUdfQlVJTEQkMSkgewogICAgQ09OU09MRV9MRVZFTFMuZm9yRWFjaChuYW1lID0+IHsKICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnkKICAgICAgbG9nZ2VyW25hbWVdID0gKC4uLmFyZ3MpID0+IHsKICAgICAgICBpZiAoZW5hYmxlZCkgewogICAgICAgICAgY29uc29sZVNhbmRib3goKCkgPT4gewogICAgICAgICAgICBHTE9CQUxfT0JKLmNvbnNvbGVbbmFtZV0oYCR7UFJFRklYfVske25hbWV9XTpgLCAuLi5hcmdzKTsKICAgICAgICAgIH0pOwogICAgICAgIH0KICAgICAgfTsKICAgIH0pOwogIH0gZWxzZSB7CiAgICBDT05TT0xFX0xFVkVMUy5mb3JFYWNoKG5hbWUgPT4gewogICAgICBsb2dnZXJbbmFtZV0gPSAoKSA9PiB1bmRlZmluZWQ7CiAgICB9KTsKICB9CgogIHJldHVybiBsb2dnZXIgOwp9Cgpjb25zdCBsb2dnZXIgPSBtYWtlTG9nZ2VyKCk7CgovKioKICogUmVuZGVycyB0aGUgc3RyaW5nIHJlcHJlc2VudGF0aW9uIG9mIHRoaXMgRHNuLgogKgogKiBCeSBkZWZhdWx0LCB0aGlzIHdpbGwgcmVuZGVyIHRoZSBwdWJsaWMgcmVwcmVzZW50YXRpb24gd2l0aG91dCB0aGUgcGFzc3dvcmQKICogY29tcG9uZW50LiBUbyBnZXQgdGhlIGRlcHJlY2F0ZWQgcHJpdmF0ZSByZXByZXNlbnRhdGlvbiwgc2V0IGB3aXRoUGFzc3dvcmRgCiAqIHRvIHRydWUuCiAqCiAqIEBwYXJhbSB3aXRoUGFzc3dvcmQgV2hlbiBzZXQgdG8gdHJ1ZSwgdGhlIHBhc3N3b3JkIHdpbGwgYmUgaW5jbHVkZWQuCiAqLwpmdW5jdGlvbiBkc25Ub1N0cmluZyhkc24sIHdpdGhQYXNzd29yZCA9IGZhbHNlKSB7CiAgY29uc3QgeyBob3N0LCBwYXRoLCBwYXNzLCBwb3J0LCBwcm9qZWN0SWQsIHByb3RvY29sLCBwdWJsaWNLZXkgfSA9IGRzbjsKICByZXR1cm4gKAogICAgYCR7cHJvdG9jb2x9Oi8vJHtwdWJsaWNLZXl9JHt3aXRoUGFzc3dvcmQgJiYgcGFzcyA/IGA6JHtwYXNzfWAgOiAnJ31gICsKICAgIGBAJHtob3N0fSR7cG9ydCA/IGA6JHtwb3J0fWAgOiAnJ30vJHtwYXRoID8gYCR7cGF0aH0vYCA6IHBhdGh9JHtwcm9qZWN0SWR9YAogICk7Cn0KCi8qKiBBbiBlcnJvciBlbWl0dGVkIGJ5IFNlbnRyeSBTREtzIGFuZCByZWxhdGVkIHV0aWxpdGllcy4gKi8KY2xhc3MgU2VudHJ5RXJyb3IgZXh0ZW5kcyBFcnJvciB7CiAgLyoqIERpc3BsYXkgbmFtZSBvZiB0aGlzIGVycm9yIGluc3RhbmNlLiAqLwoKICAgY29uc3RydWN0b3IoIG1lc3NhZ2UsIGxvZ0xldmVsID0gJ3dhcm4nKSB7CiAgICBzdXBlcihtZXNzYWdlKTt0aGlzLm1lc3NhZ2UgPSBtZXNzYWdlOwogICAgdGhpcy5uYW1lID0gbmV3LnRhcmdldC5wcm90b3R5cGUuY29uc3RydWN0b3IubmFtZTsKICAgIC8vIFRoaXMgc2V0cyB0aGUgcHJvdG90eXBlIHRvIGJlIGBFcnJvcmAsIG5vdCBgU2VudHJ5RXJyb3JgLiBJdCdzIHVuY2xlYXIgd2h5IHdlIGRvIHRoaXMsIGJ1dCBjb21tZW50aW5nIHRoaXMgbGluZQogICAgLy8gb3V0IGNhdXNlcyB2YXJpb3VzIChzZWVtaW5nbHkgdG90YWxseSB1bnJlbGF0ZWQpIHBsYXl3cmlnaHQgdGVzdHMgY29uc2lzdGVudGx5IHRpbWUgb3V0LiBGWUksIHRoaXMgbWFrZXMKICAgIC8vIGluc3RhbmNlcyBvZiBgU2VudHJ5RXJyb3JgIGZhaWwgYG9iaiBpbnN0YW5jZW9mIFNlbnRyeUVycm9yYCBjaGVja3MuCiAgICBPYmplY3Quc2V0UHJvdG90eXBlT2YodGhpcywgbmV3LnRhcmdldC5wcm90b3R5cGUpOwogICAgdGhpcy5sb2dMZXZlbCA9IGxvZ0xldmVsOwogIH0KfQoKLyoqCiAqIEVuY29kZXMgZ2l2ZW4gb2JqZWN0IGludG8gdXJsLWZyaWVuZGx5IGZvcm1hdAogKgogKiBAcGFyYW0gb2JqZWN0IEFuIG9iamVjdCB0aGF0IGNvbnRhaW5zIHNlcmlhbGl6YWJsZSB2YWx1ZXMKICogQHJldHVybnMgc3RyaW5nIEVuY29kZWQKICovCmZ1bmN0aW9uIHVybEVuY29kZShvYmplY3QpIHsKICByZXR1cm4gT2JqZWN0LmtleXMob2JqZWN0KQogICAgLm1hcChrZXkgPT4gYCR7ZW5jb2RlVVJJQ29tcG9uZW50KGtleSl9PSR7ZW5jb2RlVVJJQ29tcG9uZW50KG9iamVjdFtrZXldKX1gKQogICAgLmpvaW4oJyYnKTsKfQoKLyoqCiAqIFRyYW5zZm9ybXMgYW55IGBFcnJvcmAgb3IgYEV2ZW50YCBpbnRvIGEgcGxhaW4gb2JqZWN0IHdpdGggYWxsIG9mIHRoZWlyIGVudW1lcmFibGUgcHJvcGVydGllcywgYW5kIHNvbWUgb2YgdGhlaXIKICogbm9uLWVudW1lcmFibGUgcHJvcGVydGllcyBhdHRhY2hlZC4KICoKICogQHBhcmFtIHZhbHVlIEluaXRpYWwgc291cmNlIHRoYXQgd2UgaGF2ZSB0byB0cmFuc2Zvcm0gaW4gb3JkZXIgZm9yIGl0IHRvIGJlIHVzYWJsZSBieSB0aGUgc2VyaWFsaXplcgogKiBAcmV0dXJucyBBbiBFdmVudCBvciBFcnJvciB0dXJuZWQgaW50byBhbiBvYmplY3QgLSBvciB0aGUgdmFsdWUgYXJndXJtZW50IGl0c2VsZiwgd2hlbiB2YWx1ZSBpcyBuZWl0aGVyIGFuIEV2ZW50IG5vcgogKiAgYW4gRXJyb3IuCiAqLwpmdW5jdGlvbiBjb252ZXJ0VG9QbGFpbk9iamVjdCgKICB2YWx1ZSwKKQoKIHsKICBpZiAoaXNFcnJvcih2YWx1ZSkpIHsKICAgIHJldHVybiB7CiAgICAgIG1lc3NhZ2U6IHZhbHVlLm1lc3NhZ2UsCiAgICAgIG5hbWU6IHZhbHVlLm5hbWUsCiAgICAgIHN0YWNrOiB2YWx1ZS5zdGFjaywKICAgICAgLi4uZ2V0T3duUHJvcGVydGllcyh2YWx1ZSksCiAgICB9OwogIH0gZWxzZSBpZiAoaXNFdmVudCh2YWx1ZSkpIHsKICAgIGNvbnN0IG5ld09iagoKID0gewogICAgICB0eXBlOiB2YWx1ZS50eXBlLAogICAgICB0YXJnZXQ6IHNlcmlhbGl6ZUV2ZW50VGFyZ2V0KHZhbHVlLnRhcmdldCksCiAgICAgIGN1cnJlbnRUYXJnZXQ6IHNlcmlhbGl6ZUV2ZW50VGFyZ2V0KHZhbHVlLmN1cnJlbnRUYXJnZXQpLAogICAgICAuLi5nZXRPd25Qcm9wZXJ0aWVzKHZhbHVlKSwKICAgIH07CgogICAgaWYgKHR5cGVvZiBDdXN0b21FdmVudCAhPT0gJ3VuZGVmaW5lZCcgJiYgaXNJbnN0YW5jZU9mKHZhbHVlLCBDdXN0b21FdmVudCkpIHsKICAgICAgbmV3T2JqLmRldGFpbCA9IHZhbHVlLmRldGFpbDsKICAgIH0KCiAgICByZXR1cm4gbmV3T2JqOwogIH0gZWxzZSB7CiAgICByZXR1cm4gdmFsdWU7CiAgfQp9CgovKiogQ3JlYXRlcyBhIHN0cmluZyByZXByZXNlbnRhdGlvbiBvZiB0aGUgdGFyZ2V0IG9mIGFuIGBFdmVudGAgb2JqZWN0ICovCmZ1bmN0aW9uIHNlcmlhbGl6ZUV2ZW50VGFyZ2V0KHRhcmdldCkgewogIHRyeSB7CiAgICByZXR1cm4gaXNFbGVtZW50KHRhcmdldCkgPyBodG1sVHJlZUFzU3RyaW5nKHRhcmdldCkgOiBPYmplY3QucHJvdG90eXBlLnRvU3RyaW5nLmNhbGwodGFyZ2V0KTsKICB9IGNhdGNoIChfb08pIHsKICAgIHJldHVybiAnPHVua25vd24+JzsKICB9Cn0KCi8qKiBGaWx0ZXJzIG91dCBhbGwgYnV0IGFuIG9iamVjdCdzIG93biBwcm9wZXJ0aWVzICovCmZ1bmN0aW9uIGdldE93blByb3BlcnRpZXMob2JqKSB7CiAgaWYgKHR5cGVvZiBvYmogPT09ICdvYmplY3QnICYmIG9iaiAhPT0gbnVsbCkgewogICAgY29uc3QgZXh0cmFjdGVkUHJvcHMgPSB7fTsKICAgIGZvciAoY29uc3QgcHJvcGVydHkgaW4gb2JqKSB7CiAgICAgIGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwob2JqLCBwcm9wZXJ0eSkpIHsKICAgICAgICBleHRyYWN0ZWRQcm9wc1twcm9wZXJ0eV0gPSAob2JqIClbcHJvcGVydHldOwogICAgICB9CiAgICB9CiAgICByZXR1cm4gZXh0cmFjdGVkUHJvcHM7CiAgfSBlbHNlIHsKICAgIHJldHVybiB7fTsKICB9Cn0KCi8qKgogKiBHaXZlbiBhbnkgb2JqZWN0LCByZXR1cm4gYSBuZXcgb2JqZWN0IGhhdmluZyByZW1vdmVkIGFsbCBmaWVsZHMgd2hvc2UgdmFsdWUgd2FzIGB1bmRlZmluZWRgLgogKiBXb3JrcyByZWN1cnNpdmVseSBvbiBvYmplY3RzIGFuZCBhcnJheXMuCiAqCiAqIEF0dGVudGlvbjogVGhpcyBmdW5jdGlvbiBrZWVwcyBjaXJjdWxhciByZWZlcmVuY2VzIGluIHRoZSByZXR1cm5lZCBvYmplY3QuCiAqLwpmdW5jdGlvbiBkcm9wVW5kZWZpbmVkS2V5cyhpbnB1dFZhbHVlKSB7CiAgLy8gVGhpcyBtYXAga2VlcHMgdHJhY2sgb2Ygd2hhdCBhbHJlYWR5IHZpc2l0ZWQgbm9kZXMgbWFwIHRvLgogIC8vIE91ciBTZXQgLSBiYXNlZCBtZW1vQnVpbGRlciBkb2Vzbid0IHdvcmsgaGVyZSBiZWNhdXNlIHdlIHdhbnQgdG8gdGhlIG91dHB1dCBvYmplY3QgdG8gaGF2ZSB0aGUgc2FtZSBjaXJjdWxhcgogIC8vIHJlZmVyZW5jZXMgYXMgdGhlIGlucHV0IG9iamVjdC4KICBjb25zdCBtZW1vaXphdGlvbk1hcCA9IG5ldyBNYXAoKTsKCiAgLy8gVGhpcyBmdW5jdGlvbiBqdXN0IHByb3hpZXMgYF9kcm9wVW5kZWZpbmVkS2V5c2AgdG8ga2VlcCB0aGUgYG1lbW9CdWlsZGVyYCBvdXQgb2YgdGhpcyBmdW5jdGlvbidzIEFQSQogIHJldHVybiBfZHJvcFVuZGVmaW5lZEtleXMoaW5wdXRWYWx1ZSwgbWVtb2l6YXRpb25NYXApOwp9CgpmdW5jdGlvbiBfZHJvcFVuZGVmaW5lZEtleXMoaW5wdXRWYWx1ZSwgbWVtb2l6YXRpb25NYXApIHsKICBpZiAoaXNQb2pvKGlucHV0VmFsdWUpKSB7CiAgICAvLyBJZiB0aGlzIG5vZGUgaGFzIGFscmVhZHkgYmVlbiB2aXNpdGVkIGR1ZSB0byBhIGNpcmN1bGFyIHJlZmVyZW5jZSwgcmV0dXJuIHRoZSBvYmplY3QgaXQgd2FzIG1hcHBlZCB0byBpbiB0aGUgbmV3IG9iamVjdAogICAgY29uc3QgbWVtb1ZhbCA9IG1lbW9pemF0aW9uTWFwLmdldChpbnB1dFZhbHVlKTsKICAgIGlmIChtZW1vVmFsICE9PSB1bmRlZmluZWQpIHsKICAgICAgcmV0dXJuIG1lbW9WYWwgOwogICAgfQoKICAgIGNvbnN0IHJldHVyblZhbHVlID0ge307CiAgICAvLyBTdG9yZSB0aGUgbWFwcGluZyBvZiB0aGlzIHZhbHVlIGluIGNhc2Ugd2UgdmlzaXQgaXQgYWdhaW4sIGluIGNhc2Ugb2YgY2lyY3VsYXIgZGF0YQogICAgbWVtb2l6YXRpb25NYXAuc2V0KGlucHV0VmFsdWUsIHJldHVyblZhbHVlKTsKCiAgICBmb3IgKGNvbnN0IGtleSBvZiBPYmplY3Qua2V5cyhpbnB1dFZhbHVlKSkgewogICAgICBpZiAodHlwZW9mIGlucHV0VmFsdWVba2V5XSAhPT0gJ3VuZGVmaW5lZCcpIHsKICAgICAgICByZXR1cm5WYWx1ZVtrZXldID0gX2Ryb3BVbmRlZmluZWRLZXlzKGlucHV0VmFsdWVba2V5XSwgbWVtb2l6YXRpb25NYXApOwogICAgICB9CiAgICB9CgogICAgcmV0dXJuIHJldHVyblZhbHVlIDsKICB9CgogIGlmIChBcnJheS5pc0FycmF5KGlucHV0VmFsdWUpKSB7CiAgICAvLyBJZiB0aGlzIG5vZGUgaGFzIGFscmVhZHkgYmVlbiB2aXNpdGVkIGR1ZSB0byBhIGNpcmN1bGFyIHJlZmVyZW5jZSwgcmV0dXJuIHRoZSBhcnJheSBpdCB3YXMgbWFwcGVkIHRvIGluIHRoZSBuZXcgb2JqZWN0CiAgICBjb25zdCBtZW1vVmFsID0gbWVtb2l6YXRpb25NYXAuZ2V0KGlucHV0VmFsdWUpOwogICAgaWYgKG1lbW9WYWwgIT09IHVuZGVmaW5lZCkgewogICAgICByZXR1cm4gbWVtb1ZhbCA7CiAgICB9CgogICAgY29uc3QgcmV0dXJuVmFsdWUgPSBbXTsKICAgIC8vIFN0b3JlIHRoZSBtYXBwaW5nIG9mIHRoaXMgdmFsdWUgaW4gY2FzZSB3ZSB2aXNpdCBpdCBhZ2FpbiwgaW4gY2FzZSBvZiBjaXJjdWxhciBkYXRhCiAgICBtZW1vaXphdGlvbk1hcC5zZXQoaW5wdXRWYWx1ZSwgcmV0dXJuVmFsdWUpOwoKICAgIGlucHV0VmFsdWUuZm9yRWFjaCgoaXRlbSkgPT4gewogICAgICByZXR1cm5WYWx1ZS5wdXNoKF9kcm9wVW5kZWZpbmVkS2V5cyhpdGVtLCBtZW1vaXphdGlvbk1hcCkpOwogICAgfSk7CgogICAgcmV0dXJuIHJldHVyblZhbHVlIDsKICB9CgogIHJldHVybiBpbnB1dFZhbHVlOwp9CgpmdW5jdGlvbiBpc1Bvam8oaW5wdXQpIHsKICBpZiAoIWlzUGxhaW5PYmplY3QoaW5wdXQpKSB7CiAgICByZXR1cm4gZmFsc2U7CiAgfQoKICB0cnkgewogICAgY29uc3QgbmFtZSA9IChPYmplY3QuZ2V0UHJvdG90eXBlT2YoaW5wdXQpICkuY29uc3RydWN0b3IubmFtZTsKICAgIHJldHVybiAhbmFtZSB8fCBuYW1lID09PSAnT2JqZWN0JzsKICB9IGNhdGNoIChlKSB7CiAgICByZXR1cm4gdHJ1ZTsKICB9Cn0KCi8qKgogKiBEb2VzIHRoaXMgZmlsZW5hbWUgbG9vayBsaWtlIGl0J3MgcGFydCBvZiB0aGUgYXBwIGNvZGU/CiAqLwpmdW5jdGlvbiBmaWxlbmFtZUlzSW5BcHAoZmlsZW5hbWUsIGlzTmF0aXZlID0gZmFsc2UpIHsKICBjb25zdCBpc0ludGVybmFsID0KICAgIGlzTmF0aXZlIHx8CiAgICAoZmlsZW5hbWUgJiYKICAgICAgLy8gSXQncyBub3QgaW50ZXJuYWwgaWYgaXQncyBhbiBhYnNvbHV0ZSBsaW51eCBwYXRoCiAgICAgICFmaWxlbmFtZS5zdGFydHNXaXRoKCcvJykgJiYKICAgICAgLy8gSXQncyBub3QgaW50ZXJuYWwgaWYgaXQncyBhbiBhYnNvbHV0ZSB3aW5kb3dzIHBhdGgKICAgICAgIWZpbGVuYW1lLm1hdGNoKC9eW0EtWl06LykgJiYKICAgICAgLy8gSXQncyBub3QgaW50ZXJuYWwgaWYgdGhlIHBhdGggaXMgc3RhcnRpbmcgd2l0aCBhIGRvdAogICAgICAhZmlsZW5hbWUuc3RhcnRzV2l0aCgnLicpICYmCiAgICAgIC8vIEl0J3Mgbm90IGludGVybmFsIGlmIHRoZSBmcmFtZSBoYXMgYSBwcm90b2NvbC4gSW4gbm9kZSwgdGhpcyBpcyB1c3VhbGx5IHRoZSBjYXNlIGlmIHRoZSBmaWxlIGdvdCBwcmUtcHJvY2Vzc2VkIHdpdGggYSBidW5kbGVyIGxpa2Ugd2VicGFjawogICAgICAhZmlsZW5hbWUubWF0Y2goL15bYS16QS1aXShbYS16QS1aMC05LlwtK10pKjpcL1wvLykpOyAvLyBTY2hlbWEgZnJvbTogaHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9hLzM2NDE3ODIKCiAgLy8gaW5fYXBwIGlzIGFsbCB0aGF0J3Mgbm90IGFuIGludGVybmFsIE5vZGUgZnVuY3Rpb24gb3IgYSBtb2R1bGUgd2l0aGluIG5vZGVfbW9kdWxlcwogIC8vIG5vdGUgdGhhdCBpc05hdGl2ZSBhcHBlYXJzIHRvIHJldHVybiB0cnVlIGV2ZW4gZm9yIG5vZGUgY29yZSBsaWJyYXJpZXMKICAvLyBzZWUgaHR0cHM6Ly9naXRodWIuY29tL2dldHNlbnRyeS9yYXZlbi1ub2RlL2lzc3Vlcy8xNzYKCiAgcmV0dXJuICFpc0ludGVybmFsICYmIGZpbGVuYW1lICE9PSB1bmRlZmluZWQgJiYgIWZpbGVuYW1lLmluY2x1ZGVzKCdub2RlX21vZHVsZXMvJyk7Cn0KCmNvbnN0IFNUQUNLVFJBQ0VfRlJBTUVfTElNSVQgPSA1MDsKY29uc3QgU1RSSVBfRlJBTUVfUkVHRVhQID0gL2NhcHR1cmVNZXNzYWdlfGNhcHR1cmVFeGNlcHRpb24vOwoKLyoqCiAqIFJlbW92ZXMgU2VudHJ5IGZyYW1lcyBmcm9tIHRoZSB0b3AgYW5kIGJvdHRvbSBvZiB0aGUgc3RhY2sgaWYgcHJlc2VudCBhbmQgZW5mb3JjZXMgYSBsaW1pdCBvZiBtYXggbnVtYmVyIG9mIGZyYW1lcy4KICogQXNzdW1lcyBzdGFjayBpbnB1dCBpcyBvcmRlcmVkIGZyb20gdG9wIHRvIGJvdHRvbSBhbmQgcmV0dXJucyB0aGUgcmV2ZXJzZSByZXByZXNlbnRhdGlvbiBzbyBjYWxsIHNpdGUgb2YgdGhlCiAqIGZ1bmN0aW9uIHRoYXQgY2F1c2VkIHRoZSBjcmFzaCBpcyB0aGUgbGFzdCBmcmFtZSBpbiB0aGUgYXJyYXkuCiAqIEBoaWRkZW4KICovCmZ1bmN0aW9uIHN0cmlwU2VudHJ5RnJhbWVzQW5kUmV2ZXJzZShzdGFjaykgewogIGlmICghc3RhY2subGVuZ3RoKSB7CiAgICByZXR1cm4gW107CiAgfQoKICBjb25zdCBsb2NhbFN0YWNrID0gQXJyYXkuZnJvbShzdGFjayk7CgogIC8vIElmIHN0YWNrIHN0YXJ0cyB3aXRoIG9uZSBvZiBvdXIgQVBJIGNhbGxzLCByZW1vdmUgaXQgKHN0YXJ0cywgbWVhbmluZyBpdCdzIHRoZSB0b3Agb2YgdGhlIHN0YWNrIC0gYWthIGxhc3QgY2FsbCkKICBpZiAoL3NlbnRyeVdyYXBwZWQvLnRlc3QobG9jYWxTdGFja1tsb2NhbFN0YWNrLmxlbmd0aCAtIDFdLmZ1bmN0aW9uIHx8ICcnKSkgewogICAgbG9jYWxTdGFjay5wb3AoKTsKICB9CgogIC8vIFJldmVyc2luZyBpbiB0aGUgbWlkZGxlIG9mIHRoZSBwcm9jZWR1cmUgYWxsb3dzIHVzIHRvIGp1c3QgcG9wIHRoZSB2YWx1ZXMgb2ZmIHRoZSBzdGFjawogIGxvY2FsU3RhY2sucmV2ZXJzZSgpOwoKICAvLyBJZiBzdGFjayBlbmRzIHdpdGggb25lIG9mIG91ciBpbnRlcm5hbCBBUEkgY2FsbHMsIHJlbW92ZSBpdCAoZW5kcywgbWVhbmluZyBpdCdzIHRoZSBib3R0b20gb2YgdGhlIHN0YWNrIC0gYWthIHRvcC1tb3N0IGNhbGwpCiAgaWYgKFNUUklQX0ZSQU1FX1JFR0VYUC50ZXN0KGxvY2FsU3RhY2tbbG9jYWxTdGFjay5sZW5ndGggLSAxXS5mdW5jdGlvbiB8fCAnJykpIHsKICAgIGxvY2FsU3RhY2sucG9wKCk7CgogICAgLy8gV2hlbiB1c2luZyBzeW50aGV0aWMgZXZlbnRzLCB3ZSB3aWxsIGhhdmUgYSAyIGxldmVscyBkZWVwIHN0YWNrLCBhcyBgbmV3IEVycm9yKCdTZW50cnkgc3ludGhldGljRXhjZXB0aW9uJylgCiAgICAvLyBpcyBwcm9kdWNlZCB3aXRoaW4gdGhlIGh1YiBpdHNlbGYsIG1ha2luZyBpdDoKICAgIC8vCiAgICAvLyAgIFNlbnRyeS5jYXB0dXJlRXhjZXB0aW9uKCkKICAgIC8vICAgZ2V0Q3VycmVudEh1YigpLmNhcHR1cmVFeGNlcHRpb24oKQogICAgLy8KICAgIC8vIGluc3RlYWQgb2YganVzdCB0aGUgdG9wIGBTZW50cnlgIGNhbGwgaXRzZWxmLgogICAgLy8gVGhpcyBmb3JjZXMgdXMgdG8gcG9zc2libHkgc3RyaXAgYW4gYWRkaXRpb25hbCBmcmFtZSBpbiB0aGUgZXhhY3Qgc2FtZSB3YXMgYXMgYWJvdmUuCiAgICBpZiAoU1RSSVBfRlJBTUVfUkVHRVhQLnRlc3QobG9jYWxTdGFja1tsb2NhbFN0YWNrLmxlbmd0aCAtIDFdLmZ1bmN0aW9uIHx8ICcnKSkgewogICAgICBsb2NhbFN0YWNrLnBvcCgpOwogICAgfQogIH0KCiAgcmV0dXJuIGxvY2FsU3RhY2suc2xpY2UoMCwgU1RBQ0tUUkFDRV9GUkFNRV9MSU1JVCkubWFwKGZyYW1lID0+ICh7CiAgICAuLi5mcmFtZSwKICAgIGZpbGVuYW1lOiBmcmFtZS5maWxlbmFtZSB8fCBsb2NhbFN0YWNrW2xvY2FsU3RhY2subGVuZ3RoIC0gMV0uZmlsZW5hbWUsCiAgICBmdW5jdGlvbjogZnJhbWUuZnVuY3Rpb24gfHwgJz8nLAogIH0pKTsKfQoKY29uc3QgZGVmYXVsdEZ1bmN0aW9uTmFtZSA9ICc8YW5vbnltb3VzPic7CgovKioKICogU2FmZWx5IGV4dHJhY3QgZnVuY3Rpb24gbmFtZSBmcm9tIGl0c2VsZgogKi8KZnVuY3Rpb24gZ2V0RnVuY3Rpb25OYW1lKGZuKSB7CiAgdHJ5IHsKICAgIGlmICghZm4gfHwgdHlwZW9mIGZuICE9PSAnZnVuY3Rpb24nKSB7CiAgICAgIHJldHVybiBkZWZhdWx0RnVuY3Rpb25OYW1lOwogICAgfQogICAgcmV0dXJuIGZuLm5hbWUgfHwgZGVmYXVsdEZ1bmN0aW9uTmFtZTsKICB9IGNhdGNoIChlKSB7CiAgICAvLyBKdXN0IGFjY2Vzc2luZyBjdXN0b20gcHJvcHMgaW4gc29tZSBTZWxlbml1bSBlbnZpcm9ubWVudHMKICAgIC8vIGNhbiBjYXVzZSBhICJQZXJtaXNzaW9uIGRlbmllZCIgZXhjZXB0aW9uIChzZWUgcmF2ZW4tanMjNDk1KS4KICAgIHJldHVybiBkZWZhdWx0RnVuY3Rpb25OYW1lOwogIH0KfQoKLyoqCiAqIFVVSUQ0IGdlbmVyYXRvcgogKgogKiBAcmV0dXJucyBzdHJpbmcgR2VuZXJhdGVkIFVVSUQ0LgogKi8KZnVuY3Rpb24gdXVpZDQoKSB7CiAgY29uc3QgZ2JsID0gR0xPQkFMX09CSiA7CiAgY29uc3QgY3J5cHRvID0gZ2JsLmNyeXB0byB8fCBnYmwubXNDcnlwdG87CgogIGxldCBnZXRSYW5kb21CeXRlID0gKCkgPT4gTWF0aC5yYW5kb20oKSAqIDE2OwogIHRyeSB7CiAgICBpZiAoY3J5cHRvICYmIGNyeXB0by5yYW5kb21VVUlEKSB7CiAgICAgIHJldHVybiBjcnlwdG8ucmFuZG9tVVVJRCgpLnJlcGxhY2UoLy0vZywgJycpOwogICAgfQogICAgaWYgKGNyeXB0byAmJiBjcnlwdG8uZ2V0UmFuZG9tVmFsdWVzKSB7CiAgICAgIGdldFJhbmRvbUJ5dGUgPSAoKSA9PiB7CiAgICAgICAgLy8gY3J5cHRvLmdldFJhbmRvbVZhbHVlcyBtaWdodCByZXR1cm4gdW5kZWZpbmVkIGluc3RlYWQgb2YgdGhlIHR5cGVkIGFycmF5CiAgICAgICAgLy8gaW4gb2xkIENocm9taXVtIHZlcnNpb25zIChlLmcuIDIzLjAuMTIzNS4wICgxNTE0MjIpKQogICAgICAgIC8vIEhvd2V2ZXIsIGB0eXBlZEFycmF5YCBpcyBzdGlsbCBmaWxsZWQgaW4tcGxhY2UuCiAgICAgICAgLy8gQHNlZSBodHRwczovL2RldmVsb3Blci5tb3ppbGxhLm9yZy9lbi1VUy9kb2NzL1dlYi9BUEkvQ3J5cHRvL2dldFJhbmRvbVZhbHVlcyN0eXBlZGFycmF5CiAgICAgICAgY29uc3QgdHlwZWRBcnJheSA9IG5ldyBVaW50OEFycmF5KDEpOwogICAgICAgIGNyeXB0by5nZXRSYW5kb21WYWx1ZXModHlwZWRBcnJheSk7CiAgICAgICAgcmV0dXJuIHR5cGVkQXJyYXlbMF07CiAgICAgIH07CiAgICB9CiAgfSBjYXRjaCAoXykgewogICAgLy8gc29tZSBydW50aW1lcyBjYW4gY3Jhc2ggaW52b2tpbmcgY3J5cHRvCiAgICAvLyBodHRwczovL2dpdGh1Yi5jb20vZ2V0c2VudHJ5L3NlbnRyeS1qYXZhc2NyaXB0L2lzc3Vlcy84OTM1CiAgfQoKICAvLyBodHRwOi8vc3RhY2tvdmVyZmxvdy5jb20vcXVlc3Rpb25zLzEwNTAzNC9ob3ctdG8tY3JlYXRlLWEtZ3VpZC11dWlkLWluLWphdmFzY3JpcHQvMjExNzUyMyMyMTE3NTIzCiAgLy8gQ29uY2F0ZW5hdGluZyB0aGUgZm9sbG93aW5nIG51bWJlcnMgYXMgc3RyaW5ncyByZXN1bHRzIGluICcxMDAwMDAwMDEwMDA0MDAwODAwMDEwMDAwMDAwMDAwMCcKICByZXR1cm4gKChbMWU3XSApICsgMWUzICsgNGUzICsgOGUzICsgMWUxMSkucmVwbGFjZSgvWzAxOF0vZywgYyA9PgogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIG5vLWJpdHdpc2UKICAgICgoYyApIF4gKChnZXRSYW5kb21CeXRlKCkgJiAxNSkgPj4gKChjICkgLyA0KSkpLnRvU3RyaW5nKDE2KSwKICApOwp9CgovKioKICogQ2hlY2tzIHdoZXRoZXIgdGhlIGdpdmVuIGlucHV0IGlzIGFscmVhZHkgYW4gYXJyYXksIGFuZCBpZiBpdCBpc24ndCwgd3JhcHMgaXQgaW4gb25lLgogKgogKiBAcGFyYW0gbWF5YmVBcnJheSBJbnB1dCB0byB0dXJuIGludG8gYW4gYXJyYXksIGlmIG5lY2Vzc2FyeQogKiBAcmV0dXJucyBUaGUgaW5wdXQsIGlmIGFscmVhZHkgYW4gYXJyYXksIG9yIGFuIGFycmF5IHdpdGggdGhlIGlucHV0IGFzIHRoZSBvbmx5IGVsZW1lbnQsIGlmIG5vdAogKi8KZnVuY3Rpb24gYXJyYXlpZnkobWF5YmVBcnJheSkgewogIHJldHVybiBBcnJheS5pc0FycmF5KG1heWJlQXJyYXkpID8gbWF5YmVBcnJheSA6IFttYXliZUFycmF5XTsKfQoKLyogZXNsaW50LWRpc2FibGUgQHR5cGVzY3JpcHQtZXNsaW50L25vLXVuc2FmZS1tZW1iZXItYWNjZXNzICovCi8qIGVzbGludC1kaXNhYmxlIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnkgKi8KCi8qKgogKiBIZWxwZXIgdG8gZGVjeWNsZSBqc29uIG9iamVjdHMKICovCmZ1bmN0aW9uIG1lbW9CdWlsZGVyKCkgewogIGNvbnN0IGhhc1dlYWtTZXQgPSB0eXBlb2YgV2Vha1NldCA9PT0gJ2Z1bmN0aW9uJzsKICBjb25zdCBpbm5lciA9IGhhc1dlYWtTZXQgPyBuZXcgV2Vha1NldCgpIDogW107CiAgZnVuY3Rpb24gbWVtb2l6ZShvYmopIHsKICAgIGlmIChoYXNXZWFrU2V0KSB7CiAgICAgIGlmIChpbm5lci5oYXMob2JqKSkgewogICAgICAgIHJldHVybiB0cnVlOwogICAgICB9CiAgICAgIGlubmVyLmFkZChvYmopOwogICAgICByZXR1cm4gZmFsc2U7CiAgICB9CiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L3ByZWZlci1mb3Itb2YKICAgIGZvciAobGV0IGkgPSAwOyBpIDwgaW5uZXIubGVuZ3RoOyBpKyspIHsKICAgICAgY29uc3QgdmFsdWUgPSBpbm5lcltpXTsKICAgICAgaWYgKHZhbHVlID09PSBvYmopIHsKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgfQogICAgfQogICAgaW5uZXIucHVzaChvYmopOwogICAgcmV0dXJuIGZhbHNlOwogIH0KCiAgZnVuY3Rpb24gdW5tZW1vaXplKG9iaikgewogICAgaWYgKGhhc1dlYWtTZXQpIHsKICAgICAgaW5uZXIuZGVsZXRlKG9iaik7CiAgICB9IGVsc2UgewogICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGlubmVyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgaWYgKGlubmVyW2ldID09PSBvYmopIHsKICAgICAgICAgIGlubmVyLnNwbGljZShpLCAxKTsKICAgICAgICAgIGJyZWFrOwogICAgICAgIH0KICAgICAgfQogICAgfQogIH0KICByZXR1cm4gW21lbW9pemUsIHVubWVtb2l6ZV07Cn0KCi8qKgogKiBSZWN1cnNpdmVseSBub3JtYWxpemVzIHRoZSBnaXZlbiBvYmplY3QuCiAqCiAqIC0gQ3JlYXRlcyBhIGNvcHkgdG8gcHJldmVudCBvcmlnaW5hbCBpbnB1dCBtdXRhdGlvbgogKiAtIFNraXBzIG5vbi1lbnVtZXJhYmxlIHByb3BlcnRpZXMKICogLSBXaGVuIHN0cmluZ2lmeWluZywgY2FsbHMgYHRvSlNPTmAgaWYgaW1wbGVtZW50ZWQKICogLSBSZW1vdmVzIGNpcmN1bGFyIHJlZmVyZW5jZXMKICogLSBUcmFuc2xhdGVzIG5vbi1zZXJpYWxpemFibGUgdmFsdWVzIChgdW5kZWZpbmVkYC9gTmFOYC9mdW5jdGlvbnMpIHRvIHNlcmlhbGl6YWJsZSBmb3JtYXQKICogLSBUcmFuc2xhdGVzIGtub3duIGdsb2JhbCBvYmplY3RzL2NsYXNzZXMgdG8gYSBzdHJpbmcgcmVwcmVzZW50YXRpb25zCiAqIC0gVGFrZXMgY2FyZSBvZiBgRXJyb3JgIG9iamVjdCBzZXJpYWxpemF0aW9uCiAqIC0gT3B0aW9uYWxseSBsaW1pdHMgZGVwdGggb2YgZmluYWwgb3V0cHV0CiAqIC0gT3B0aW9uYWxseSBsaW1pdHMgbnVtYmVyIG9mIHByb3BlcnRpZXMvZWxlbWVudHMgaW5jbHVkZWQgaW4gYW55IHNpbmdsZSBvYmplY3QvYXJyYXkKICoKICogQHBhcmFtIGlucHV0IFRoZSBvYmplY3QgdG8gYmUgbm9ybWFsaXplZC4KICogQHBhcmFtIGRlcHRoIFRoZSBtYXggZGVwdGggdG8gd2hpY2ggdG8gbm9ybWFsaXplIHRoZSBvYmplY3QuIChBbnl0aGluZyBkZWVwZXIgc3RyaW5naWZpZWQgd2hvbGUuKQogKiBAcGFyYW0gbWF4UHJvcGVydGllcyBUaGUgbWF4IG51bWJlciBvZiBlbGVtZW50cyBvciBwcm9wZXJ0aWVzIHRvIGJlIGluY2x1ZGVkIGluIGFueSBzaW5nbGUgYXJyYXkgb3IKICogb2JqZWN0IGluIHRoZSBub3JtYWxsaXplZCBvdXRwdXQuCiAqIEByZXR1cm5zIEEgbm9ybWFsaXplZCB2ZXJzaW9uIG9mIHRoZSBvYmplY3QsIG9yIGAiKipub24tc2VyaWFsaXphYmxlKioiYCBpZiBhbnkgZXJyb3JzIGFyZSB0aHJvd24gZHVyaW5nIG5vcm1hbGl6YXRpb24uCiAqLwovLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueQpmdW5jdGlvbiBub3JtYWxpemUoaW5wdXQsIGRlcHRoID0gMTAwLCBtYXhQcm9wZXJ0aWVzID0gK0luZmluaXR5KSB7CiAgdHJ5IHsKICAgIC8vIHNpbmNlIHdlJ3JlIGF0IHRoZSBvdXRlcm1vc3QgbGV2ZWwsIHdlIGRvbid0IHByb3ZpZGUgYSBrZXkKICAgIHJldHVybiB2aXNpdCgnJywgaW5wdXQsIGRlcHRoLCBtYXhQcm9wZXJ0aWVzKTsKICB9IGNhdGNoIChlcnIpIHsKICAgIHJldHVybiB7IEVSUk9SOiBgKipub24tc2VyaWFsaXphYmxlKiogKCR7ZXJyfSlgIH07CiAgfQp9CgovKioKICogVmlzaXRzIGEgbm9kZSB0byBwZXJmb3JtIG5vcm1hbGl6YXRpb24gb24gaXQKICoKICogQHBhcmFtIGtleSBUaGUga2V5IGNvcnJlc3BvbmRpbmcgdG8gdGhlIGdpdmVuIG5vZGUKICogQHBhcmFtIHZhbHVlIFRoZSBub2RlIHRvIGJlIHZpc2l0ZWQKICogQHBhcmFtIGRlcHRoIE9wdGlvbmFsIG51bWJlciBpbmRpY2F0aW5nIHRoZSBtYXhpbXVtIHJlY3Vyc2lvbiBkZXB0aAogKiBAcGFyYW0gbWF4UHJvcGVydGllcyBPcHRpb25hbCBtYXhpbXVtIG51bWJlciBvZiBwcm9wZXJ0aWVzL2VsZW1lbnRzIGluY2x1ZGVkIGluIGFueSBzaW5nbGUgb2JqZWN0L2FycmF5CiAqIEBwYXJhbSBtZW1vIE9wdGlvbmFsIE1lbW8gY2xhc3MgaGFuZGxpbmcgZGVjeWNsaW5nCiAqLwpmdW5jdGlvbiB2aXNpdCgKICBrZXksCiAgdmFsdWUsCiAgZGVwdGggPSArSW5maW5pdHksCiAgbWF4UHJvcGVydGllcyA9ICtJbmZpbml0eSwKICBtZW1vID0gbWVtb0J1aWxkZXIoKSwKKSB7CiAgY29uc3QgW21lbW9pemUsIHVubWVtb2l6ZV0gPSBtZW1vOwoKICAvLyBHZXQgdGhlIHNpbXBsZSBjYXNlcyBvdXQgb2YgdGhlIHdheSBmaXJzdAogIGlmICgKICAgIHZhbHVlID09IG51bGwgfHwgLy8gdGhpcyBtYXRjaGVzIG51bGwgYW5kIHVuZGVmaW5lZCAtPiBlcWVxIG5vdCBlcWVxZXEKICAgIChbJ251bWJlcicsICdib29sZWFuJywgJ3N0cmluZyddLmluY2x1ZGVzKHR5cGVvZiB2YWx1ZSkgJiYgIWlzTmFOJDEodmFsdWUpKQogICkgewogICAgcmV0dXJuIHZhbHVlIDsKICB9CgogIGNvbnN0IHN0cmluZ2lmaWVkID0gc3RyaW5naWZ5VmFsdWUoa2V5LCB2YWx1ZSk7CgogIC8vIEFueXRoaW5nIHdlIGNvdWxkIHBvdGVudGlhbGx5IGRpZyBpbnRvIG1vcmUgKG9iamVjdHMgb3IgYXJyYXlzKSB3aWxsIGhhdmUgY29tZSBiYWNrIGFzIGAiW29iamVjdCBYWFhYXSJgLgogIC8vIEV2ZXJ5dGhpbmcgZWxzZSB3aWxsIGhhdmUgYWxyZWFkeSBiZWVuIHNlcmlhbGl6ZWQsIHNvIGlmIHdlIGRvbid0IHNlZSB0aGF0IHBhdHRlcm4sIHdlJ3JlIGRvbmUuCiAgaWYgKCFzdHJpbmdpZmllZC5zdGFydHNXaXRoKCdbb2JqZWN0ICcpKSB7CiAgICByZXR1cm4gc3RyaW5naWZpZWQ7CiAgfQoKICAvLyBGcm9tIGhlcmUgb24sIHdlIGNhbiBhc3NlcnQgdGhhdCBgdmFsdWVgIGlzIGVpdGhlciBhbiBvYmplY3Qgb3IgYW4gYXJyYXkuCgogIC8vIERvIG5vdCBub3JtYWxpemUgb2JqZWN0cyB0aGF0IHdlIGtub3cgaGF2ZSBhbHJlYWR5IGJlZW4gbm9ybWFsaXplZC4gQXMgYSBnZW5lcmFsIHJ1bGUsIHRoZQogIC8vICJfX3NlbnRyeV9za2lwX25vcm1hbGl6YXRpb25fXyIgcHJvcGVydHkgc2hvdWxkIG9ubHkgYmUgdXNlZCBzcGFyaW5nbHkgYW5kIG9ubHkgc2hvdWxkIG9ubHkgYmUgc2V0IG9uIG9iamVjdHMgdGhhdAogIC8vIGhhdmUgYWxyZWFkeSBiZWVuIG5vcm1hbGl6ZWQuCiAgaWYgKCh2YWx1ZSApWydfX3NlbnRyeV9za2lwX25vcm1hbGl6YXRpb25fXyddKSB7CiAgICByZXR1cm4gdmFsdWUgOwogIH0KCiAgLy8gV2UgY2FuIHNldCBgX19zZW50cnlfb3ZlcnJpZGVfbm9ybWFsaXphdGlvbl9kZXB0aF9fYCBvbiBhbiBvYmplY3QgdG8gZW5zdXJlIHRoYXQgZnJvbSB0aGVyZQogIC8vIFdlIGtlZXAgYSBjZXJ0YWluIGFtb3VudCBvZiBkZXB0aC4KICAvLyBUaGlzIHNob3VsZCBiZSB1c2VkIHNwYXJpbmdseSwgZS5nLiB3ZSB1c2UgaXQgZm9yIHRoZSByZWR1eCBpbnRlZ3JhdGlvbiB0byBlbnN1cmUgd2UgZ2V0IGEgY2VydGFpbiBhbW91bnQgb2Ygc3RhdGUuCiAgY29uc3QgcmVtYWluaW5nRGVwdGggPQogICAgdHlwZW9mICh2YWx1ZSApWydfX3NlbnRyeV9vdmVycmlkZV9ub3JtYWxpemF0aW9uX2RlcHRoX18nXSA9PT0gJ251bWJlcicKICAgICAgPyAoKHZhbHVlIClbJ19fc2VudHJ5X292ZXJyaWRlX25vcm1hbGl6YXRpb25fZGVwdGhfXyddICkKICAgICAgOiBkZXB0aDsKCiAgLy8gV2UncmUgYWxzbyBkb25lIGlmIHdlJ3ZlIHJlYWNoZWQgdGhlIG1heCBkZXB0aAogIGlmIChyZW1haW5pbmdEZXB0aCA9PT0gMCkgewogICAgLy8gQXQgdGhpcyBwb2ludCB3ZSBrbm93IGBzZXJpYWxpemVkYCBpcyBhIHN0cmluZyBvZiB0aGUgZm9ybSBgIltvYmplY3QgWFhYWF0iYC4gQ2xlYW4gaXQgdXAgc28gaXQncyBqdXN0IGAiW1hYWFhdImAuCiAgICByZXR1cm4gc3RyaW5naWZpZWQucmVwbGFjZSgnb2JqZWN0ICcsICcnKTsKICB9CgogIC8vIElmIHdlJ3ZlIGFscmVhZHkgdmlzaXRlZCB0aGlzIGJyYW5jaCwgYmFpbCBvdXQsIGFzIGl0J3MgY2lyY3VsYXIgcmVmZXJlbmNlLiBJZiBub3QsIG5vdGUgdGhhdCB3ZSdyZSBzZWVpbmcgaXQgbm93LgogIGlmIChtZW1vaXplKHZhbHVlKSkgewogICAgcmV0dXJuICdbQ2lyY3VsYXIgfl0nOwogIH0KCiAgLy8gSWYgdGhlIHZhbHVlIGhhcyBhIGB0b0pTT05gIG1ldGhvZCwgd2UgY2FsbCBpdCB0byBleHRyYWN0IG1vcmUgaW5mb3JtYXRpb24KICBjb25zdCB2YWx1ZVdpdGhUb0pTT04gPSB2YWx1ZSA7CiAgaWYgKHZhbHVlV2l0aFRvSlNPTiAmJiB0eXBlb2YgdmFsdWVXaXRoVG9KU09OLnRvSlNPTiA9PT0gJ2Z1bmN0aW9uJykgewogICAgdHJ5IHsKICAgICAgY29uc3QganNvblZhbHVlID0gdmFsdWVXaXRoVG9KU09OLnRvSlNPTigpOwogICAgICAvLyBXZSBuZWVkIHRvIG5vcm1hbGl6ZSB0aGUgcmV0dXJuIHZhbHVlIG9mIGAudG9KU09OKClgIGluIGNhc2UgaXQgaGFzIGNpcmN1bGFyIHJlZmVyZW5jZXMKICAgICAgcmV0dXJuIHZpc2l0KCcnLCBqc29uVmFsdWUsIHJlbWFpbmluZ0RlcHRoIC0gMSwgbWF4UHJvcGVydGllcywgbWVtbyk7CiAgICB9IGNhdGNoIChlcnIpIHsKICAgICAgLy8gcGFzcyAoVGhlIGJ1aWx0LWluIGB0b0pTT05gIGZhaWxlZCwgYnV0IHdlIGNhbiBzdGlsbCB0cnkgdG8gZG8gaXQgb3Vyc2VsdmVzKQogICAgfQogIH0KCiAgLy8gQXQgdGhpcyBwb2ludCB3ZSBrbm93IHdlIGVpdGhlciBoYXZlIGFuIG9iamVjdCBvciBhbiBhcnJheSwgd2UgaGF2ZW4ndCBzZWVuIGl0IGJlZm9yZSwgYW5kIHdlJ3JlIGdvaW5nIHRvIHJlY3Vyc2UKICAvLyBiZWNhdXNlIHdlIGhhdmVuJ3QgeWV0IHJlYWNoZWQgdGhlIG1heCBkZXB0aC4gQ3JlYXRlIGFuIGFjY3VtdWxhdG9yIHRvIGhvbGQgdGhlIHJlc3VsdHMgb2YgdmlzaXRpbmcgZWFjaAogIC8vIHByb3BlcnR5L2VudHJ5LCBhbmQga2VlcCB0cmFjayBvZiB0aGUgbnVtYmVyIG9mIGl0ZW1zIHdlIGFkZCB0byBpdC4KICBjb25zdCBub3JtYWxpemVkID0gKEFycmF5LmlzQXJyYXkodmFsdWUpID8gW10gOiB7fSkgOwogIGxldCBudW1BZGRlZCA9IDA7CgogIC8vIEJlZm9yZSB3ZSBiZWdpbiwgY29udmVydGBFcnJvcmAgYW5kYEV2ZW50YCBpbnN0YW5jZXMgaW50byBwbGFpbiBvYmplY3RzLCBzaW5jZSBzb21lIG9mIGVhY2ggb2YgdGhlaXIgcmVsZXZhbnQKICAvLyBwcm9wZXJ0aWVzIGFyZSBub24tZW51bWVyYWJsZSBhbmQgb3RoZXJ3aXNlIHdvdWxkIGdldCBtaXNzZWQuCiAgY29uc3QgdmlzaXRhYmxlID0gY29udmVydFRvUGxhaW5PYmplY3QodmFsdWUgKTsKCiAgZm9yIChjb25zdCB2aXNpdEtleSBpbiB2aXNpdGFibGUpIHsKICAgIC8vIEF2b2lkIGl0ZXJhdGluZyBvdmVyIGZpZWxkcyBpbiB0aGUgcHJvdG90eXBlIGlmIHRoZXkndmUgc29tZWhvdyBiZWVuIGV4cG9zZWQgdG8gZW51bWVyYXRpb24uCiAgICBpZiAoIU9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbCh2aXNpdGFibGUsIHZpc2l0S2V5KSkgewogICAgICBjb250aW51ZTsKICAgIH0KCiAgICBpZiAobnVtQWRkZWQgPj0gbWF4UHJvcGVydGllcykgewogICAgICBub3JtYWxpemVkW3Zpc2l0S2V5XSA9ICdbTWF4UHJvcGVydGllcyB+XSc7CiAgICAgIGJyZWFrOwogICAgfQoKICAgIC8vIFJlY3Vyc2l2ZWx5IHZpc2l0IGFsbCB0aGUgY2hpbGQgbm9kZXMKICAgIGNvbnN0IHZpc2l0VmFsdWUgPSB2aXNpdGFibGVbdmlzaXRLZXldOwogICAgbm9ybWFsaXplZFt2aXNpdEtleV0gPSB2aXNpdCh2aXNpdEtleSwgdmlzaXRWYWx1ZSwgcmVtYWluaW5nRGVwdGggLSAxLCBtYXhQcm9wZXJ0aWVzLCBtZW1vKTsKCiAgICBudW1BZGRlZCsrOwogIH0KCiAgLy8gT25jZSB3ZSd2ZSB2aXNpdGVkIGFsbCB0aGUgYnJhbmNoZXMsIHJlbW92ZSB0aGUgcGFyZW50IGZyb20gbWVtbyBzdG9yYWdlCiAgdW5tZW1vaXplKHZhbHVlKTsKCiAgLy8gUmV0dXJuIGFjY3VtdWxhdGVkIHZhbHVlcwogIHJldHVybiBub3JtYWxpemVkOwp9CgovKiBlc2xpbnQtZGlzYWJsZSBjb21wbGV4aXR5ICovCi8qKgogKiBTdHJpbmdpZnkgdGhlIGdpdmVuIHZhbHVlLiBIYW5kbGVzIHZhcmlvdXMga25vd24gc3BlY2lhbCB2YWx1ZXMgYW5kIHR5cGVzLgogKgogKiBOb3QgbWVhbnQgdG8gYmUgdXNlZCBvbiBzaW1wbGUgcHJpbWl0aXZlcyB3aGljaCBhbHJlYWR5IGhhdmUgYSBzdHJpbmcgcmVwcmVzZW50YXRpb24sIGFzIGl0IHdpbGwsIGZvciBleGFtcGxlLCB0dXJuCiAqIHRoZSBudW1iZXIgMTIzMSBpbnRvICJbT2JqZWN0IE51bWJlcl0iLCBub3Igb24gYG51bGxgLCBhcyBpdCB3aWxsIHRocm93LgogKgogKiBAcGFyYW0gdmFsdWUgVGhlIHZhbHVlIHRvIHN0cmluZ2lmeQogKiBAcmV0dXJucyBBIHN0cmluZ2lmaWVkIHJlcHJlc2VudGF0aW9uIG9mIHRoZSBnaXZlbiB2YWx1ZQogKi8KZnVuY3Rpb24gc3RyaW5naWZ5VmFsdWUoCiAga2V5LAogIC8vIHRoaXMgdHlwZSBpcyBhIHRpbnkgYml0IG9mIGEgY2hlYXQsIHNpbmNlIHRoaXMgZnVuY3Rpb24gZG9lcyBoYW5kbGUgTmFOICh3aGljaCBpcyB0ZWNobmljYWxseSBhIG51bWJlciksIGJ1dCBmb3IKICAvLyBvdXIgaW50ZXJuYWwgdXNlLCBpdCdsbCBkbwogIHZhbHVlLAopIHsKICB0cnkgewogICAgaWYgKGtleSA9PT0gJ2RvbWFpbicgJiYgdmFsdWUgJiYgdHlwZW9mIHZhbHVlID09PSAnb2JqZWN0JyAmJiAodmFsdWUgKS5fZXZlbnRzKSB7CiAgICAgIHJldHVybiAnW0RvbWFpbl0nOwogICAgfQoKICAgIGlmIChrZXkgPT09ICdkb21haW5FbWl0dGVyJykgewogICAgICByZXR1cm4gJ1tEb21haW5FbWl0dGVyXSc7CiAgICB9CgogICAgLy8gSXQncyBzYWZlIHRvIHVzZSBgZ2xvYmFsYCwgYHdpbmRvd2AsIGFuZCBgZG9jdW1lbnRgIGhlcmUgaW4gdGhpcyBtYW5uZXIsIGFzIHdlIGFyZSBhc3NlcnRpbmcgdXNpbmcgYHR5cGVvZmAgZmlyc3QKICAgIC8vIHdoaWNoIHdvbid0IHRocm93IGlmIHRoZXkgYXJlIG5vdCBwcmVzZW50LgoKICAgIGlmICh0eXBlb2YgZ2xvYmFsICE9PSAndW5kZWZpbmVkJyAmJiB2YWx1ZSA9PT0gZ2xvYmFsKSB7CiAgICAgIHJldHVybiAnW0dsb2JhbF0nOwogICAgfQoKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1yZXN0cmljdGVkLWdsb2JhbHMKICAgIGlmICh0eXBlb2Ygd2luZG93ICE9PSAndW5kZWZpbmVkJyAmJiB2YWx1ZSA9PT0gd2luZG93KSB7CiAgICAgIHJldHVybiAnW1dpbmRvd10nOwogICAgfQoKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1yZXN0cmljdGVkLWdsb2JhbHMKICAgIGlmICh0eXBlb2YgZG9jdW1lbnQgIT09ICd1bmRlZmluZWQnICYmIHZhbHVlID09PSBkb2N1bWVudCkgewogICAgICByZXR1cm4gJ1tEb2N1bWVudF0nOwogICAgfQoKICAgIGlmIChpc1Z1ZVZpZXdNb2RlbCh2YWx1ZSkpIHsKICAgICAgcmV0dXJuICdbVnVlVmlld01vZGVsXSc7CiAgICB9CgogICAgLy8gUmVhY3QncyBTeW50aGV0aWNFdmVudCB0aGluZ3kKICAgIGlmIChpc1N5bnRoZXRpY0V2ZW50KHZhbHVlKSkgewogICAgICByZXR1cm4gJ1tTeW50aGV0aWNFdmVudF0nOwogICAgfQoKICAgIGlmICh0eXBlb2YgdmFsdWUgPT09ICdudW1iZXInICYmIHZhbHVlICE9PSB2YWx1ZSkgewogICAgICByZXR1cm4gJ1tOYU5dJzsKICAgIH0KCiAgICBpZiAodHlwZW9mIHZhbHVlID09PSAnZnVuY3Rpb24nKSB7CiAgICAgIHJldHVybiBgW0Z1bmN0aW9uOiAke2dldEZ1bmN0aW9uTmFtZSh2YWx1ZSl9XWA7CiAgICB9CgogICAgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ3N5bWJvbCcpIHsKICAgICAgcmV0dXJuIGBbJHtTdHJpbmcodmFsdWUpfV1gOwogICAgfQoKICAgIC8vIHN0cmluZ2lmaWVkIEJpZ0ludHMgYXJlIGluZGlzdGluZ3Vpc2hhYmxlIGZyb20gcmVndWxhciBudW1iZXJzLCBzbyB3ZSBuZWVkIHRvIGxhYmVsIHRoZW0gdG8gYXZvaWQgY29uZnVzaW9uCiAgICBpZiAodHlwZW9mIHZhbHVlID09PSAnYmlnaW50JykgewogICAgICByZXR1cm4gYFtCaWdJbnQ6ICR7U3RyaW5nKHZhbHVlKX1dYDsKICAgIH0KCiAgICAvLyBOb3cgdGhhdCB3ZSd2ZSBrbm9ja2VkIG91dCBhbGwgdGhlIHNwZWNpYWwgY2FzZXMgYW5kIHRoZSBwcmltaXRpdmVzLCBhbGwgd2UgaGF2ZSBsZWZ0IGFyZSBvYmplY3RzLiBTaW1wbHkgY2FzdGluZwogICAgLy8gdGhlbSB0byBzdHJpbmdzIG1lYW5zIHRoYXQgaW5zdGFuY2VzIG9mIGNsYXNzZXMgd2hpY2ggaGF2ZW4ndCBkZWZpbmVkIHRoZWlyIGB0b1N0cmluZ1RhZ2Agd2lsbCBqdXN0IGNvbWUgb3V0IGFzCiAgICAvLyBgIltvYmplY3QgT2JqZWN0XSJgLiBJZiB3ZSBpbnN0ZWFkIGxvb2sgYXQgdGhlIGNvbnN0cnVjdG9yJ3MgbmFtZSAod2hpY2ggaXMgdGhlIHNhbWUgYXMgdGhlIG5hbWUgb2YgdGhlIGNsYXNzKSwKICAgIC8vIHdlIGNhbiBtYWtlIHN1cmUgdGhhdCBvbmx5IHBsYWluIG9iamVjdHMgY29tZSBvdXQgdGhhdCB3YXkuCiAgICBjb25zdCBvYmpOYW1lID0gZ2V0Q29uc3RydWN0b3JOYW1lKHZhbHVlKTsKCiAgICAvLyBIYW5kbGUgSFRNTCBFbGVtZW50cwogICAgaWYgKC9eSFRNTChcdyopRWxlbWVudCQvLnRlc3Qob2JqTmFtZSkpIHsKICAgICAgcmV0dXJuIGBbSFRNTEVsZW1lbnQ6ICR7b2JqTmFtZX1dYDsKICAgIH0KCiAgICByZXR1cm4gYFtvYmplY3QgJHtvYmpOYW1lfV1gOwogIH0gY2F0Y2ggKGVycikgewogICAgcmV0dXJuIGAqKm5vbi1zZXJpYWxpemFibGUqKiAoJHtlcnJ9KWA7CiAgfQp9Ci8qIGVzbGludC1lbmFibGUgY29tcGxleGl0eSAqLwoKZnVuY3Rpb24gZ2V0Q29uc3RydWN0b3JOYW1lKHZhbHVlKSB7CiAgY29uc3QgcHJvdG90eXBlID0gT2JqZWN0LmdldFByb3RvdHlwZU9mKHZhbHVlKTsKCiAgcmV0dXJuIHByb3RvdHlwZSA/IHByb3RvdHlwZS5jb25zdHJ1Y3Rvci5uYW1lIDogJ251bGwgcHJvdG90eXBlJzsKfQoKLyoqCiAqIE5vcm1hbGl6ZXMgVVJMcyBpbiBleGNlcHRpb25zIGFuZCBzdGFja3RyYWNlcyB0byBhIGJhc2UgcGF0aCBzbyBTZW50cnkgY2FuIGZpbmdlcnByaW50CiAqIGFjcm9zcyBwbGF0Zm9ybXMgYW5kIHdvcmtpbmcgZGlyZWN0b3J5LgogKgogKiBAcGFyYW0gdXJsIFRoZSBVUkwgdG8gYmUgbm9ybWFsaXplZC4KICogQHBhcmFtIGJhc2VQYXRoIFRoZSBhcHBsaWNhdGlvbiBiYXNlIHBhdGguCiAqIEByZXR1cm5zIFRoZSBub3JtYWxpemVkIFVSTC4KICovCmZ1bmN0aW9uIG5vcm1hbGl6ZVVybFRvQmFzZSh1cmwsIGJhc2VQYXRoKSB7CiAgY29uc3QgZXNjYXBlZEJhc2UgPSBiYXNlUGF0aAogICAgLy8gQmFja3NsYXNoIHRvIGZvcndhcmQKICAgIC5yZXBsYWNlKC9cXC9nLCAnLycpCiAgICAvLyBFc2NhcGUgUmVnRXhwIHNwZWNpYWwgY2hhcmFjdGVycwogICAgLnJlcGxhY2UoL1t8XFx7fSgpW1xdXiQrKj8uXS9nLCAnXFwkJicpOwoKICBsZXQgbmV3VXJsID0gdXJsOwogIHRyeSB7CiAgICBuZXdVcmwgPSBkZWNvZGVVUkkodXJsKTsKICB9IGNhdGNoIChfT28pIHsKICAgIC8vIFNvbWV0aW1lIHRoaXMgYnJlYWtzCiAgfQogIHJldHVybiAoCiAgICBuZXdVcmwKICAgICAgLnJlcGxhY2UoL1xcL2csICcvJykKICAgICAgLnJlcGxhY2UoL3dlYnBhY2s6XC8/L2csICcnKSAvLyBSZW1vdmUgaW50ZXJtZWRpYXRlIGJhc2UgcGF0aAogICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHNlbnRyeS1pbnRlcm5hbC9zZGsvbm8tcmVnZXhwLWNvbnN0cnVjdG9yCiAgICAgIC5yZXBsYWNlKG5ldyBSZWdFeHAoYChmaWxlOi8vKT8vKiR7ZXNjYXBlZEJhc2V9LypgLCAnaWcnKSwgJ2FwcDovLy8nKQogICk7Cn0KCi8vIFNsaWdodGx5IG1vZGlmaWVkIChubyBJRTggc3VwcG9ydCwgRVM2KSBhbmQgdHJhbnNjcmliZWQgdG8gVHlwZVNjcmlwdAoKLy8gU3BsaXQgYSBmaWxlbmFtZSBpbnRvIFtyb290LCBkaXIsIGJhc2VuYW1lLCBleHRdLCB1bml4IHZlcnNpb24KLy8gJ3Jvb3QnIGlzIGp1c3QgYSBzbGFzaCwgb3Igbm90aGluZy4KY29uc3Qgc3BsaXRQYXRoUmUgPSAvXihcUys6XFx8XC8/KShbXHNcU10qPykoKD86XC57MSwyfXxbXi9cXF0rP3wpKFwuW14uL1xcXSp8KSkoPzpbL1xcXSopJC87Ci8qKiBKU0RvYyAqLwpmdW5jdGlvbiBzcGxpdFBhdGgoZmlsZW5hbWUpIHsKICAvLyBUcnVuY2F0ZSBmaWxlcyBuYW1lcyBncmVhdGVyIHRoYW4gMTAyNCBjaGFyYWN0ZXJzIHRvIGF2b2lkIHJlZ2V4IGRvcwogIC8vIGh0dHBzOi8vZ2l0aHViLmNvbS9nZXRzZW50cnkvc2VudHJ5LWphdmFzY3JpcHQvcHVsbC84NzM3I2Rpc2N1c3Npb25fcjEyODU3MTkxNzIKICBjb25zdCB0cnVuY2F0ZWQgPSBmaWxlbmFtZS5sZW5ndGggPiAxMDI0ID8gYDx0cnVuY2F0ZWQ+JHtmaWxlbmFtZS5zbGljZSgtMTAyNCl9YCA6IGZpbGVuYW1lOwogIGNvbnN0IHBhcnRzID0gc3BsaXRQYXRoUmUuZXhlYyh0cnVuY2F0ZWQpOwogIHJldHVybiBwYXJ0cyA/IHBhcnRzLnNsaWNlKDEpIDogW107Cn0KCi8qKiBKU0RvYyAqLwpmdW5jdGlvbiBkaXJuYW1lKHBhdGgpIHsKICBjb25zdCByZXN1bHQgPSBzcGxpdFBhdGgocGF0aCk7CiAgY29uc3Qgcm9vdCA9IHJlc3VsdFswXTsKICBsZXQgZGlyID0gcmVzdWx0WzFdOwoKICBpZiAoIXJvb3QgJiYgIWRpcikgewogICAgLy8gTm8gZGlybmFtZSB3aGF0c29ldmVyCiAgICByZXR1cm4gJy4nOwogIH0KCiAgaWYgKGRpcikgewogICAgLy8gSXQgaGFzIGEgZGlybmFtZSwgc3RyaXAgdHJhaWxpbmcgc2xhc2gKICAgIGRpciA9IGRpci5zbGljZSgwLCBkaXIubGVuZ3RoIC0gMSk7CiAgfQoKICByZXR1cm4gcm9vdCArIGRpcjsKfQoKLyogZXNsaW50LWRpc2FibGUgQHR5cGVzY3JpcHQtZXNsaW50L2V4cGxpY2l0LWZ1bmN0aW9uLXJldHVybi10eXBlICovCgovKiogU3luY1Byb21pc2UgaW50ZXJuYWwgc3RhdGVzICovCnZhciBTdGF0ZXM7IChmdW5jdGlvbiAoU3RhdGVzKSB7CiAgLyoqIFBlbmRpbmcgKi8KICBjb25zdCBQRU5ESU5HID0gMDsgU3RhdGVzW1N0YXRlc1siUEVORElORyJdID0gUEVORElOR10gPSAiUEVORElORyI7CiAgLyoqIFJlc29sdmVkIC8gT0sgKi8KICBjb25zdCBSRVNPTFZFRCA9IDE7IFN0YXRlc1tTdGF0ZXNbIlJFU09MVkVEIl0gPSBSRVNPTFZFRF0gPSAiUkVTT0xWRUQiOwogIC8qKiBSZWplY3RlZCAvIEVycm9yICovCiAgY29uc3QgUkVKRUNURUQgPSAyOyBTdGF0ZXNbU3RhdGVzWyJSRUpFQ1RFRCJdID0gUkVKRUNURURdID0gIlJFSkVDVEVEIjsKfSkoU3RhdGVzIHx8IChTdGF0ZXMgPSB7fSkpOwoKLy8gT3ZlcmxvYWRzIHNvIHdlIGNhbiBjYWxsIHJlc29sdmVkU3luY1Byb21pc2Ugd2l0aG91dCBhcmd1bWVudHMgYW5kIGdlbmVyaWMgYXJndW1lbnQKCi8qKgogKiBDcmVhdGVzIGEgcmVzb2x2ZWQgc3luYyBwcm9taXNlLgogKgogKiBAcGFyYW0gdmFsdWUgdGhlIHZhbHVlIHRvIHJlc29sdmUgdGhlIHByb21pc2Ugd2l0aAogKiBAcmV0dXJucyB0aGUgcmVzb2x2ZWQgc3luYyBwcm9taXNlCiAqLwpmdW5jdGlvbiByZXNvbHZlZFN5bmNQcm9taXNlKHZhbHVlKSB7CiAgcmV0dXJuIG5ldyBTeW5jUHJvbWlzZShyZXNvbHZlID0+IHsKICAgIHJlc29sdmUodmFsdWUpOwogIH0pOwp9CgovKioKICogQ3JlYXRlcyBhIHJlamVjdGVkIHN5bmMgcHJvbWlzZS4KICoKICogQHBhcmFtIHZhbHVlIHRoZSB2YWx1ZSB0byByZWplY3QgdGhlIHByb21pc2Ugd2l0aAogKiBAcmV0dXJucyB0aGUgcmVqZWN0ZWQgc3luYyBwcm9taXNlCiAqLwpmdW5jdGlvbiByZWplY3RlZFN5bmNQcm9taXNlKHJlYXNvbikgewogIHJldHVybiBuZXcgU3luY1Byb21pc2UoKF8sIHJlamVjdCkgPT4gewogICAgcmVqZWN0KHJlYXNvbik7CiAgfSk7Cn0KCi8qKgogKiBUaGVuYWJsZSBjbGFzcyB0aGF0IGJlaGF2ZXMgbGlrZSBhIFByb21pc2UgYW5kIGZvbGxvd3MgaXQncyBpbnRlcmZhY2UKICogYnV0IGlzIG5vdCBhc3luYyBpbnRlcm5hbGx5CiAqLwpjbGFzcyBTeW5jUHJvbWlzZSB7CgogICBjb25zdHJ1Y3RvcigKICAgIGV4ZWN1dG9yLAogICkge1N5bmNQcm9taXNlLnByb3RvdHlwZS5fX2luaXQuY2FsbCh0aGlzKTtTeW5jUHJvbWlzZS5wcm90b3R5cGUuX19pbml0Mi5jYWxsKHRoaXMpO1N5bmNQcm9taXNlLnByb3RvdHlwZS5fX2luaXQzLmNhbGwodGhpcyk7U3luY1Byb21pc2UucHJvdG90eXBlLl9faW5pdDQuY2FsbCh0aGlzKTsKICAgIHRoaXMuX3N0YXRlID0gU3RhdGVzLlBFTkRJTkc7CiAgICB0aGlzLl9oYW5kbGVycyA9IFtdOwoKICAgIHRyeSB7CiAgICAgIGV4ZWN1dG9yKHRoaXMuX3Jlc29sdmUsIHRoaXMuX3JlamVjdCk7CiAgICB9IGNhdGNoIChlKSB7CiAgICAgIHRoaXMuX3JlamVjdChlKTsKICAgIH0KICB9CgogIC8qKiBKU0RvYyAqLwogICB0aGVuKAogICAgb25mdWxmaWxsZWQsCiAgICBvbnJlamVjdGVkLAogICkgewogICAgcmV0dXJuIG5ldyBTeW5jUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PiB7CiAgICAgIHRoaXMuX2hhbmRsZXJzLnB1c2goWwogICAgICAgIGZhbHNlLAogICAgICAgIHJlc3VsdCA9PiB7CiAgICAgICAgICBpZiAoIW9uZnVsZmlsbGVkKSB7CiAgICAgICAgICAgIC8vIFRPRE86IMKvXF8o44OEKV8vwq8KICAgICAgICAgICAgLy8gVE9ETzogRklYTUUKICAgICAgICAgICAgcmVzb2x2ZShyZXN1bHQgKTsKICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgcmVzb2x2ZShvbmZ1bGZpbGxlZChyZXN1bHQpKTsKICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgIHJlamVjdChlKTsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgcmVhc29uID0+IHsKICAgICAgICAgIGlmICghb25yZWplY3RlZCkgewogICAgICAgICAgICByZWplY3QocmVhc29uKTsKICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgcmVzb2x2ZShvbnJlamVjdGVkKHJlYXNvbikpOwogICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgcmVqZWN0KGUpOwogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgXSk7CiAgICAgIHRoaXMuX2V4ZWN1dGVIYW5kbGVycygpOwogICAgfSk7CiAgfQoKICAvKiogSlNEb2MgKi8KICAgY2F0Y2goCiAgICBvbnJlamVjdGVkLAogICkgewogICAgcmV0dXJuIHRoaXMudGhlbih2YWwgPT4gdmFsLCBvbnJlamVjdGVkKTsKICB9CgogIC8qKiBKU0RvYyAqLwogICBmaW5hbGx5KG9uZmluYWxseSkgewogICAgcmV0dXJuIG5ldyBTeW5jUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PiB7CiAgICAgIGxldCB2YWw7CiAgICAgIGxldCBpc1JlamVjdGVkOwoKICAgICAgcmV0dXJuIHRoaXMudGhlbigKICAgICAgICB2YWx1ZSA9PiB7CiAgICAgICAgICBpc1JlamVjdGVkID0gZmFsc2U7CiAgICAgICAgICB2YWwgPSB2YWx1ZTsKICAgICAgICAgIGlmIChvbmZpbmFsbHkpIHsKICAgICAgICAgICAgb25maW5hbGx5KCk7CiAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICByZWFzb24gPT4gewogICAgICAgICAgaXNSZWplY3RlZCA9IHRydWU7CiAgICAgICAgICB2YWwgPSByZWFzb247CiAgICAgICAgICBpZiAob25maW5hbGx5KSB7CiAgICAgICAgICAgIG9uZmluYWxseSgpOwogICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICkudGhlbigoKSA9PiB7CiAgICAgICAgaWYgKGlzUmVqZWN0ZWQpIHsKICAgICAgICAgIHJlamVjdCh2YWwpOwogICAgICAgICAgcmV0dXJuOwogICAgICAgIH0KCiAgICAgICAgcmVzb2x2ZSh2YWwgKTsKICAgICAgfSk7CiAgICB9KTsKICB9CgogIC8qKiBKU0RvYyAqLwogICAgX19pbml0KCkge3RoaXMuX3Jlc29sdmUgPSAodmFsdWUpID0+IHsKICAgIHRoaXMuX3NldFJlc3VsdChTdGF0ZXMuUkVTT0xWRUQsIHZhbHVlKTsKICB9O30KCiAgLyoqIEpTRG9jICovCiAgICBfX2luaXQyKCkge3RoaXMuX3JlamVjdCA9IChyZWFzb24pID0+IHsKICAgIHRoaXMuX3NldFJlc3VsdChTdGF0ZXMuUkVKRUNURUQsIHJlYXNvbik7CiAgfTt9CgogIC8qKiBKU0RvYyAqLwogICAgX19pbml0MygpIHt0aGlzLl9zZXRSZXN1bHQgPSAoc3RhdGUsIHZhbHVlKSA9PiB7CiAgICBpZiAodGhpcy5fc3RhdGUgIT09IFN0YXRlcy5QRU5ESU5HKSB7CiAgICAgIHJldHVybjsKICAgIH0KCiAgICBpZiAoaXNUaGVuYWJsZSh2YWx1ZSkpIHsKICAgICAgdm9pZCAodmFsdWUgKS50aGVuKHRoaXMuX3Jlc29sdmUsIHRoaXMuX3JlamVjdCk7CiAgICAgIHJldHVybjsKICAgIH0KCiAgICB0aGlzLl9zdGF0ZSA9IHN0YXRlOwogICAgdGhpcy5fdmFsdWUgPSB2YWx1ZTsKCiAgICB0aGlzLl9leGVjdXRlSGFuZGxlcnMoKTsKICB9O30KCiAgLyoqIEpTRG9jICovCiAgICBfX2luaXQ0KCkge3RoaXMuX2V4ZWN1dGVIYW5kbGVycyA9ICgpID0+IHsKICAgIGlmICh0aGlzLl9zdGF0ZSA9PT0gU3RhdGVzLlBFTkRJTkcpIHsKICAgICAgcmV0dXJuOwogICAgfQoKICAgIGNvbnN0IGNhY2hlZEhhbmRsZXJzID0gdGhpcy5faGFuZGxlcnMuc2xpY2UoKTsKICAgIHRoaXMuX2hhbmRsZXJzID0gW107CgogICAgY2FjaGVkSGFuZGxlcnMuZm9yRWFjaChoYW5kbGVyID0+IHsKICAgICAgaWYgKGhhbmRsZXJbMF0pIHsKICAgICAgICByZXR1cm47CiAgICAgIH0KCiAgICAgIGlmICh0aGlzLl9zdGF0ZSA9PT0gU3RhdGVzLlJFU09MVkVEKSB7CiAgICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1mbG9hdGluZy1wcm9taXNlcwogICAgICAgIGhhbmRsZXJbMV0odGhpcy5fdmFsdWUgKTsKICAgICAgfQoKICAgICAgaWYgKHRoaXMuX3N0YXRlID09PSBTdGF0ZXMuUkVKRUNURUQpIHsKICAgICAgICBoYW5kbGVyWzJdKHRoaXMuX3ZhbHVlKTsKICAgICAgfQoKICAgICAgaGFuZGxlclswXSA9IHRydWU7CiAgICB9KTsKICB9O30KfQoKLyoqCiAqIENyZWF0ZXMgYW4gbmV3IFByb21pc2VCdWZmZXIgb2JqZWN0IHdpdGggdGhlIHNwZWNpZmllZCBsaW1pdAogKiBAcGFyYW0gbGltaXQgbWF4IG51bWJlciBvZiBwcm9taXNlcyB0aGF0IGNhbiBiZSBzdG9yZWQgaW4gdGhlIGJ1ZmZlcgogKi8KZnVuY3Rpb24gbWFrZVByb21pc2VCdWZmZXIobGltaXQpIHsKICBjb25zdCBidWZmZXIgPSBbXTsKCiAgZnVuY3Rpb24gaXNSZWFkeSgpIHsKICAgIHJldHVybiBsaW1pdCA9PT0gdW5kZWZpbmVkIHx8IGJ1ZmZlci5sZW5ndGggPCBsaW1pdDsKICB9CgogIC8qKgogICAqIFJlbW92ZSBhIHByb21pc2UgZnJvbSB0aGUgcXVldWUuCiAgICoKICAgKiBAcGFyYW0gdGFzayBDYW4gYmUgYW55IFByb21pc2VMaWtlPFQ+CiAgICogQHJldHVybnMgUmVtb3ZlZCBwcm9taXNlLgogICAqLwogIGZ1bmN0aW9uIHJlbW92ZSh0YXNrKSB7CiAgICByZXR1cm4gYnVmZmVyLnNwbGljZShidWZmZXIuaW5kZXhPZih0YXNrKSwgMSlbMF07CiAgfQoKICAvKioKICAgKiBBZGQgYSBwcm9taXNlIChyZXByZXNlbnRpbmcgYW4gaW4tZmxpZ2h0IGFjdGlvbikgdG8gdGhlIHF1ZXVlLCBhbmQgc2V0IGl0IHRvIHJlbW92ZSBpdHNlbGYgb24gZnVsZmlsbG1lbnQuCiAgICoKICAgKiBAcGFyYW0gdGFza1Byb2R1Y2VyIEEgZnVuY3Rpb24gcHJvZHVjaW5nIGFueSBQcm9taXNlTGlrZTxUPjsgSW4gcHJldmlvdXMgdmVyc2lvbnMgdGhpcyB1c2VkIHRvIGJlIGB0YXNrOgogICAqICAgICAgICBQcm9taXNlTGlrZTxUPmAsIGJ1dCB1bmRlciB0aGF0IG1vZGVsLCBQcm9taXNlcyB3ZXJlIGluc3RhbnRseSBjcmVhdGVkIG9uIHRoZSBjYWxsLXNpdGUgYW5kIHRoZWlyIGV4ZWN1dG9yCiAgICogICAgICAgIGZ1bmN0aW9ucyB0aGVyZWZvcmUgcmFuIGltbWVkaWF0ZWx5LiBUaHVzLCBldmVuIGlmIHRoZSBidWZmZXIgd2FzIGZ1bGwsIHRoZSBhY3Rpb24gc3RpbGwgaGFwcGVuZWQuIEJ5CiAgICogICAgICAgIHJlcXVpcmluZyB0aGUgcHJvbWlzZSB0byBiZSB3cmFwcGVkIGluIGEgZnVuY3Rpb24sIHdlIGNhbiBkZWZlciBwcm9taXNlIGNyZWF0aW9uIHVudGlsIGFmdGVyIHRoZSBidWZmZXIKICAgKiAgICAgICAgbGltaXQgY2hlY2suCiAgICogQHJldHVybnMgVGhlIG9yaWdpbmFsIHByb21pc2UuCiAgICovCiAgZnVuY3Rpb24gYWRkKHRhc2tQcm9kdWNlcikgewogICAgaWYgKCFpc1JlYWR5KCkpIHsKICAgICAgcmV0dXJuIHJlamVjdGVkU3luY1Byb21pc2UobmV3IFNlbnRyeUVycm9yKCdOb3QgYWRkaW5nIFByb21pc2UgYmVjYXVzZSBidWZmZXIgbGltaXQgd2FzIHJlYWNoZWQuJykpOwogICAgfQoKICAgIC8vIHN0YXJ0IHRoZSB0YXNrIGFuZCBhZGQgaXRzIHByb21pc2UgdG8gdGhlIHF1ZXVlCiAgICBjb25zdCB0YXNrID0gdGFza1Byb2R1Y2VyKCk7CiAgICBpZiAoYnVmZmVyLmluZGV4T2YodGFzaykgPT09IC0xKSB7CiAgICAgIGJ1ZmZlci5wdXNoKHRhc2spOwogICAgfQogICAgdm9pZCB0YXNrCiAgICAgIC50aGVuKCgpID0+IHJlbW92ZSh0YXNrKSkKICAgICAgLy8gVXNlIGB0aGVuKG51bGwsIHJlamVjdGlvbkhhbmRsZXIpYCByYXRoZXIgdGhhbiBgY2F0Y2gocmVqZWN0aW9uSGFuZGxlcilgIHNvIHRoYXQgd2UgY2FuIHVzZSBgUHJvbWlzZUxpa2VgCiAgICAgIC8vIHJhdGhlciB0aGFuIGBQcm9taXNlYC4gYFByb21pc2VMaWtlYCBkb2Vzbid0IGhhdmUgYSBgLmNhdGNoYCBtZXRob2QsIG1ha2luZyBpdHMgcG9seWZpbGwgc21hbGxlci4gKEVTNSBkaWRuJ3QKICAgICAgLy8gaGF2ZSBwcm9taXNlcywgc28gVFMgaGFzIHRvIHBvbHlmaWxsIHdoZW4gZG93bi1jb21waWxpbmcuKQogICAgICAudGhlbihudWxsLCAoKSA9PgogICAgICAgIHJlbW92ZSh0YXNrKS50aGVuKG51bGwsICgpID0+IHsKICAgICAgICAgIC8vIFdlIGhhdmUgdG8gYWRkIGFub3RoZXIgY2F0Y2ggaGVyZSBiZWNhdXNlIGByZW1vdmUoKWAgc3RhcnRzIGEgbmV3IHByb21pc2UgY2hhaW4uCiAgICAgICAgfSksCiAgICAgICk7CiAgICByZXR1cm4gdGFzazsKICB9CgogIC8qKgogICAqIFdhaXQgZm9yIGFsbCBwcm9taXNlcyBpbiB0aGUgcXVldWUgdG8gcmVzb2x2ZSBvciBmb3IgdGltZW91dCB0byBleHBpcmUsIHdoaWNoZXZlciBjb21lcyBmaXJzdC4KICAgKgogICAqIEBwYXJhbSB0aW1lb3V0IFRoZSB0aW1lLCBpbiBtcywgYWZ0ZXIgd2hpY2ggdG8gcmVzb2x2ZSB0byBgZmFsc2VgIGlmIHRoZSBxdWV1ZSBpcyBzdGlsbCBub24tZW1wdHkuIFBhc3NpbmcgYDBgIChvcgogICAqIG5vdCBwYXNzaW5nIGFueXRoaW5nKSB3aWxsIG1ha2UgdGhlIHByb21pc2Ugd2FpdCBhcyBsb25nIGFzIGl0IHRha2VzIGZvciB0aGUgcXVldWUgdG8gZHJhaW4gYmVmb3JlIHJlc29sdmluZyB0bwogICAqIGB0cnVlYC4KICAgKiBAcmV0dXJucyBBIHByb21pc2Ugd2hpY2ggd2lsbCByZXNvbHZlIHRvIGB0cnVlYCBpZiB0aGUgcXVldWUgaXMgYWxyZWFkeSBlbXB0eSBvciBkcmFpbnMgYmVmb3JlIHRoZSB0aW1lb3V0LCBhbmQKICAgKiBgZmFsc2VgIG90aGVyd2lzZQogICAqLwogIGZ1bmN0aW9uIGRyYWluKHRpbWVvdXQpIHsKICAgIHJldHVybiBuZXcgU3luY1Byb21pc2UoKHJlc29sdmUsIHJlamVjdCkgPT4gewogICAgICBsZXQgY291bnRlciA9IGJ1ZmZlci5sZW5ndGg7CgogICAgICBpZiAoIWNvdW50ZXIpIHsKICAgICAgICByZXR1cm4gcmVzb2x2ZSh0cnVlKTsKICAgICAgfQoKICAgICAgLy8gd2FpdCBmb3IgYHRpbWVvdXRgIG1zIGFuZCB0aGVuIHJlc29sdmUgdG8gYGZhbHNlYCAoaWYgbm90IGNhbmNlbGxlZCBmaXJzdCkKICAgICAgY29uc3QgY2FwdHVyZWRTZXRUaW1lb3V0ID0gc2V0VGltZW91dCgoKSA9PiB7CiAgICAgICAgaWYgKHRpbWVvdXQgJiYgdGltZW91dCA+IDApIHsKICAgICAgICAgIHJlc29sdmUoZmFsc2UpOwogICAgICAgIH0KICAgICAgfSwgdGltZW91dCk7CgogICAgICAvLyBpZiBhbGwgcHJvbWlzZXMgcmVzb2x2ZSBpbiB0aW1lLCBjYW5jZWwgdGhlIHRpbWVyIGFuZCByZXNvbHZlIHRvIGB0cnVlYAogICAgICBidWZmZXIuZm9yRWFjaChpdGVtID0+IHsKICAgICAgICB2b2lkIHJlc29sdmVkU3luY1Byb21pc2UoaXRlbSkudGhlbigoKSA9PiB7CiAgICAgICAgICBpZiAoIS0tY291bnRlcikgewogICAgICAgICAgICBjbGVhclRpbWVvdXQoY2FwdHVyZWRTZXRUaW1lb3V0KTsKICAgICAgICAgICAgcmVzb2x2ZSh0cnVlKTsKICAgICAgICAgIH0KICAgICAgICB9LCByZWplY3QpOwogICAgICB9KTsKICAgIH0pOwogIH0KCiAgcmV0dXJuIHsKICAgICQ6IGJ1ZmZlciwKICAgIGFkZCwKICAgIGRyYWluLAogIH07Cn0KCmNvbnN0IE9ORV9TRUNPTkRfSU5fTVMgPSAxMDAwOwoKLyoqCiAqIEEgcGFydGlhbCBkZWZpbml0aW9uIG9mIHRoZSBbUGVyZm9ybWFuY2UgV2ViIEFQSV17QGxpbmsgaHR0cHM6Ly9kZXZlbG9wZXIubW96aWxsYS5vcmcvZW4tVVMvZG9jcy9XZWIvQVBJL1BlcmZvcm1hbmNlfQogKiBmb3IgYWNjZXNzaW5nIGEgaGlnaC1yZXNvbHV0aW9uIG1vbm90b25pYyBjbG9jay4KICovCgovKioKICogUmV0dXJucyBhIHRpbWVzdGFtcCBpbiBzZWNvbmRzIHNpbmNlIHRoZSBVTklYIGVwb2NoIHVzaW5nIHRoZSBEYXRlIEFQSS4KICoKICogVE9ETyh2OCk6IFJldHVybiB0eXBlIHNob3VsZCBiZSByb3VuZGVkLgogKi8KZnVuY3Rpb24gZGF0ZVRpbWVzdGFtcEluU2Vjb25kcygpIHsKICByZXR1cm4gRGF0ZS5ub3coKSAvIE9ORV9TRUNPTkRfSU5fTVM7Cn0KCi8qKgogKiBSZXR1cm5zIGEgd3JhcHBlciBhcm91bmQgdGhlIG5hdGl2ZSBQZXJmb3JtYW5jZSBBUEkgYnJvd3NlciBpbXBsZW1lbnRhdGlvbiwgb3IgdW5kZWZpbmVkIGZvciBicm93c2VycyB0aGF0IGRvIG5vdAogKiBzdXBwb3J0IHRoZSBBUEkuCiAqCiAqIFdyYXBwaW5nIHRoZSBuYXRpdmUgQVBJIHdvcmtzIGFyb3VuZCBkaWZmZXJlbmNlcyBpbiBiZWhhdmlvciBmcm9tIGRpZmZlcmVudCBicm93c2Vycy4KICovCmZ1bmN0aW9uIGNyZWF0ZVVuaXhUaW1lc3RhbXBJblNlY29uZHNGdW5jKCkgewogIGNvbnN0IHsgcGVyZm9ybWFuY2UgfSA9IEdMT0JBTF9PQkogOwogIGlmICghcGVyZm9ybWFuY2UgfHwgIXBlcmZvcm1hbmNlLm5vdykgewogICAgcmV0dXJuIGRhdGVUaW1lc3RhbXBJblNlY29uZHM7CiAgfQoKICAvLyBTb21lIGJyb3dzZXIgYW5kIGVudmlyb25tZW50cyBkb24ndCBoYXZlIGEgdGltZU9yaWdpbiwgc28gd2UgZmFsbGJhY2sgdG8KICAvLyB1c2luZyBEYXRlLm5vdygpIHRvIGNvbXB1dGUgdGhlIHN0YXJ0aW5nIHRpbWUuCiAgY29uc3QgYXBwcm94U3RhcnRpbmdUaW1lT3JpZ2luID0gRGF0ZS5ub3coKSAtIHBlcmZvcm1hbmNlLm5vdygpOwogIGNvbnN0IHRpbWVPcmlnaW4gPSBwZXJmb3JtYW5jZS50aW1lT3JpZ2luID09IHVuZGVmaW5lZCA/IGFwcHJveFN0YXJ0aW5nVGltZU9yaWdpbiA6IHBlcmZvcm1hbmNlLnRpbWVPcmlnaW47CgogIC8vIHBlcmZvcm1hbmNlLm5vdygpIGlzIGEgbW9ub3RvbmljIGNsb2NrLCB3aGljaCBtZWFucyBpdCBzdGFydHMgYXQgMCB3aGVuIHRoZSBwcm9jZXNzIGJlZ2lucy4gVG8gZ2V0IHRoZSBjdXJyZW50CiAgLy8gd2FsbCBjbG9jayB0aW1lIChhY3R1YWwgVU5JWCB0aW1lc3RhbXApLCB3ZSBuZWVkIHRvIGFkZCB0aGUgc3RhcnRpbmcgdGltZSBvcmlnaW4gYW5kIHRoZSBjdXJyZW50IHRpbWUgZWxhcHNlZC4KICAvLwogIC8vIFRPRE86IFRoaXMgZG9lcyBub3QgYWNjb3VudCBmb3IgdGhlIGNhc2Ugd2hlcmUgdGhlIG1vbm90b25pYyBjbG9jayB0aGF0IHBvd2VycyBwZXJmb3JtYW5jZS5ub3coKSBkcmlmdHMgZnJvbSB0aGUKICAvLyB3YWxsIGNsb2NrIHRpbWUsIHdoaWNoIGNhdXNlcyB0aGUgcmV0dXJuZWQgdGltZXN0YW1wIHRvIGJlIGluYWNjdXJhdGUuIFdlIHNob3VsZCBpbnZlc3RpZ2F0ZSBob3cgdG8gZGV0ZWN0IGFuZAogIC8vIGNvcnJlY3QgZm9yIHRoaXMuCiAgLy8gU2VlOiBodHRwczovL2dpdGh1Yi5jb20vZ2V0c2VudHJ5L3NlbnRyeS1qYXZhc2NyaXB0L2lzc3Vlcy8yNTkwCiAgLy8gU2VlOiBodHRwczovL2dpdGh1Yi5jb20vbWRuL2NvbnRlbnQvaXNzdWVzLzQ3MTMKICAvLyBTZWU6IGh0dHBzOi8vZGV2LnRvL25vYW1yL3doZW4tYS1taWxsaXNlY29uZC1pcy1ub3QtYS1taWxsaXNlY29uZC0zaDYKICByZXR1cm4gKCkgPT4gewogICAgcmV0dXJuICh0aW1lT3JpZ2luICsgcGVyZm9ybWFuY2Uubm93KCkpIC8gT05FX1NFQ09ORF9JTl9NUzsKICB9Owp9CgovKioKICogUmV0dXJucyBhIHRpbWVzdGFtcCBpbiBzZWNvbmRzIHNpbmNlIHRoZSBVTklYIGVwb2NoIHVzaW5nIGVpdGhlciB0aGUgUGVyZm9ybWFuY2Ugb3IgRGF0ZSBBUElzLCBkZXBlbmRpbmcgb24gdGhlCiAqIGF2YWlsYWJpbGl0eSBvZiB0aGUgUGVyZm9ybWFuY2UgQVBJLgogKgogKiBCVUc6IE5vdGUgdGhhdCBiZWNhdXNlIG9mIGhvdyBicm93c2VycyBpbXBsZW1lbnQgdGhlIFBlcmZvcm1hbmNlIEFQSSwgdGhlIGNsb2NrIG1pZ2h0IHN0b3Agd2hlbiB0aGUgY29tcHV0ZXIgaXMKICogYXNsZWVwLiBUaGlzIGNyZWF0ZXMgYSBza2V3IGJldHdlZW4gYGRhdGVUaW1lc3RhbXBJblNlY29uZHNgIGFuZCBgdGltZXN0YW1wSW5TZWNvbmRzYC4gVGhlCiAqIHNrZXcgY2FuIGdyb3cgdG8gYXJiaXRyYXJ5IGFtb3VudHMgbGlrZSBkYXlzLCB3ZWVrcyBvciBtb250aHMuCiAqIFNlZSBodHRwczovL2dpdGh1Yi5jb20vZ2V0c2VudHJ5L3NlbnRyeS1qYXZhc2NyaXB0L2lzc3Vlcy8yNTkwLgogKi8KY29uc3QgdGltZXN0YW1wSW5TZWNvbmRzID0gY3JlYXRlVW5peFRpbWVzdGFtcEluU2Vjb25kc0Z1bmMoKTsKCi8qKgogKiBUaGUgbnVtYmVyIG9mIG1pbGxpc2Vjb25kcyBzaW5jZSB0aGUgVU5JWCBlcG9jaC4gVGhpcyB2YWx1ZSBpcyBvbmx5IHVzYWJsZSBpbiBhIGJyb3dzZXIsIGFuZCBvbmx5IHdoZW4gdGhlCiAqIHBlcmZvcm1hbmNlIEFQSSBpcyBhdmFpbGFibGUuCiAqLwooKCkgPT4gewogIC8vIFVuZm9ydHVuYXRlbHkgYnJvd3NlcnMgbWF5IHJlcG9ydCBhbiBpbmFjY3VyYXRlIHRpbWUgb3JpZ2luIGRhdGEsIHRocm91Z2ggZWl0aGVyIHBlcmZvcm1hbmNlLnRpbWVPcmlnaW4gb3IKICAvLyBwZXJmb3JtYW5jZS50aW1pbmcubmF2aWdhdGlvblN0YXJ0LCB3aGljaCByZXN1bHRzIGluIHBvb3IgcmVzdWx0cyBpbiBwZXJmb3JtYW5jZSBkYXRhLiBXZSBvbmx5IHRyZWF0IHRpbWUgb3JpZ2luCiAgLy8gZGF0YSBhcyByZWxpYWJsZSBpZiB0aGV5IGFyZSB3aXRoaW4gYSByZWFzb25hYmxlIHRocmVzaG9sZCBvZiB0aGUgY3VycmVudCB0aW1lLgoKICBjb25zdCB7IHBlcmZvcm1hbmNlIH0gPSBHTE9CQUxfT0JKIDsKICBpZiAoIXBlcmZvcm1hbmNlIHx8ICFwZXJmb3JtYW5jZS5ub3cpIHsKICAgIHJldHVybiB1bmRlZmluZWQ7CiAgfQoKICBjb25zdCB0aHJlc2hvbGQgPSAzNjAwICogMTAwMDsKICBjb25zdCBwZXJmb3JtYW5jZU5vdyA9IHBlcmZvcm1hbmNlLm5vdygpOwogIGNvbnN0IGRhdGVOb3cgPSBEYXRlLm5vdygpOwoKICAvLyBpZiB0aW1lT3JpZ2luIGlzbid0IGF2YWlsYWJsZSBzZXQgZGVsdGEgdG8gdGhyZXNob2xkIHNvIGl0IGlzbid0IHVzZWQKICBjb25zdCB0aW1lT3JpZ2luRGVsdGEgPSBwZXJmb3JtYW5jZS50aW1lT3JpZ2luCiAgICA/IE1hdGguYWJzKHBlcmZvcm1hbmNlLnRpbWVPcmlnaW4gKyBwZXJmb3JtYW5jZU5vdyAtIGRhdGVOb3cpCiAgICA6IHRocmVzaG9sZDsKICBjb25zdCB0aW1lT3JpZ2luSXNSZWxpYWJsZSA9IHRpbWVPcmlnaW5EZWx0YSA8IHRocmVzaG9sZDsKCiAgLy8gV2hpbGUgcGVyZm9ybWFuY2UudGltaW5nLm5hdmlnYXRpb25TdGFydCBpcyBkZXByZWNhdGVkIGluIGZhdm9yIG9mIHBlcmZvcm1hbmNlLnRpbWVPcmlnaW4sIHBlcmZvcm1hbmNlLnRpbWVPcmlnaW4KICAvLyBpcyBub3QgYXMgd2lkZWx5IHN1cHBvcnRlZC4gTmFtZWx5LCBwZXJmb3JtYW5jZS50aW1lT3JpZ2luIGlzIHVuZGVmaW5lZCBpbiBTYWZhcmkgYXMgb2Ygd3JpdGluZy4KICAvLyBBbHNvIGFzIG9mIHdyaXRpbmcsIHBlcmZvcm1hbmNlLnRpbWluZyBpcyBub3QgYXZhaWxhYmxlIGluIFdlYiBXb3JrZXJzIGluIG1haW5zdHJlYW0gYnJvd3NlcnMsIHNvIGl0IGlzIG5vdCBhbHdheXMKICAvLyBhIHZhbGlkIGZhbGxiYWNrLiBJbiB0aGUgYWJzZW5jZSBvZiBhbiBpbml0aWFsIHRpbWUgcHJvdmlkZWQgYnkgdGhlIGJyb3dzZXIsIGZhbGxiYWNrIHRvIHRoZSBjdXJyZW50IHRpbWUgZnJvbSB0aGUKICAvLyBEYXRlIEFQSS4KICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICBjb25zdCBuYXZpZ2F0aW9uU3RhcnQgPSBwZXJmb3JtYW5jZS50aW1pbmcgJiYgcGVyZm9ybWFuY2UudGltaW5nLm5hdmlnYXRpb25TdGFydDsKICBjb25zdCBoYXNOYXZpZ2F0aW9uU3RhcnQgPSB0eXBlb2YgbmF2aWdhdGlvblN0YXJ0ID09PSAnbnVtYmVyJzsKICAvLyBpZiBuYXZpZ2F0aW9uU3RhcnQgaXNuJ3QgYXZhaWxhYmxlIHNldCBkZWx0YSB0byB0aHJlc2hvbGQgc28gaXQgaXNuJ3QgdXNlZAogIGNvbnN0IG5hdmlnYXRpb25TdGFydERlbHRhID0gaGFzTmF2aWdhdGlvblN0YXJ0ID8gTWF0aC5hYnMobmF2aWdhdGlvblN0YXJ0ICsgcGVyZm9ybWFuY2VOb3cgLSBkYXRlTm93KSA6IHRocmVzaG9sZDsKICBjb25zdCBuYXZpZ2F0aW9uU3RhcnRJc1JlbGlhYmxlID0gbmF2aWdhdGlvblN0YXJ0RGVsdGEgPCB0aHJlc2hvbGQ7CgogIGlmICh0aW1lT3JpZ2luSXNSZWxpYWJsZSB8fCBuYXZpZ2F0aW9uU3RhcnRJc1JlbGlhYmxlKSB7CiAgICAvLyBVc2UgdGhlIG1vcmUgcmVsaWFibGUgdGltZSBvcmlnaW4KICAgIGlmICh0aW1lT3JpZ2luRGVsdGEgPD0gbmF2aWdhdGlvblN0YXJ0RGVsdGEpIHsKICAgICAgcmV0dXJuIHBlcmZvcm1hbmNlLnRpbWVPcmlnaW47CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gbmF2aWdhdGlvblN0YXJ0OwogICAgfQogIH0KICByZXR1cm4gZGF0ZU5vdzsKfSkoKTsKCi8qKgogKiBDcmVhdGVzIGFuIGVudmVsb3BlLgogKiBNYWtlIHN1cmUgdG8gYWx3YXlzIGV4cGxpY2l0bHkgcHJvdmlkZSB0aGUgZ2VuZXJpYyB0byB0aGlzIGZ1bmN0aW9uCiAqIHNvIHRoYXQgdGhlIGVudmVsb3BlIHR5cGVzIHJlc29sdmUgY29ycmVjdGx5LgogKi8KZnVuY3Rpb24gY3JlYXRlRW52ZWxvcGUoaGVhZGVycywgaXRlbXMgPSBbXSkgewogIHJldHVybiBbaGVhZGVycywgaXRlbXNdIDsKfQoKLyoqCiAqIENvbnZlbmllbmNlIGZ1bmN0aW9uIHRvIGxvb3AgdGhyb3VnaCB0aGUgaXRlbXMgYW5kIGl0ZW0gdHlwZXMgb2YgYW4gZW52ZWxvcGUuCiAqIChUaGlzIGZ1bmN0aW9uIHdhcyBtb3N0bHkgY3JlYXRlZCBiZWNhdXNlIHdvcmtpbmcgd2l0aCBlbnZlbG9wZSB0eXBlcyBpcyBwYWluZnVsIGF0IHRoZSBtb21lbnQpCiAqCiAqIElmIHRoZSBjYWxsYmFjayByZXR1cm5zIHRydWUsIHRoZSByZXN0IG9mIHRoZSBpdGVtcyB3aWxsIGJlIHNraXBwZWQuCiAqLwpmdW5jdGlvbiBmb3JFYWNoRW52ZWxvcGVJdGVtKAogIGVudmVsb3BlLAogIGNhbGxiYWNrLAopIHsKICBjb25zdCBlbnZlbG9wZUl0ZW1zID0gZW52ZWxvcGVbMV07CgogIGZvciAoY29uc3QgZW52ZWxvcGVJdGVtIG9mIGVudmVsb3BlSXRlbXMpIHsKICAgIGNvbnN0IGVudmVsb3BlSXRlbVR5cGUgPSBlbnZlbG9wZUl0ZW1bMF0udHlwZTsKICAgIGNvbnN0IHJlc3VsdCA9IGNhbGxiYWNrKGVudmVsb3BlSXRlbSwgZW52ZWxvcGVJdGVtVHlwZSk7CgogICAgaWYgKHJlc3VsdCkgewogICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KICB9CgogIHJldHVybiBmYWxzZTsKfQoKLyoqCiAqIEVuY29kZSBhIHN0cmluZyB0byBVVEY4LgogKi8KZnVuY3Rpb24gZW5jb2RlVVRGOChpbnB1dCwgdGV4dEVuY29kZXIpIHsKICBjb25zdCB1dGY4ID0gdGV4dEVuY29kZXIgfHwgbmV3IFRleHRFbmNvZGVyKCk7CiAgcmV0dXJuIHV0ZjguZW5jb2RlKGlucHV0KTsKfQoKLyoqCiAqIFNlcmlhbGl6ZXMgYW4gZW52ZWxvcGUuCiAqLwpmdW5jdGlvbiBzZXJpYWxpemVFbnZlbG9wZShlbnZlbG9wZSwgdGV4dEVuY29kZXIpIHsKICBjb25zdCBbZW52SGVhZGVycywgaXRlbXNdID0gZW52ZWxvcGU7CgogIC8vIEluaXRpYWxseSB3ZSBjb25zdHJ1Y3Qgb3VyIGVudmVsb3BlIGFzIGEgc3RyaW5nIGFuZCBvbmx5IGNvbnZlcnQgdG8gYmluYXJ5IGNodW5rcyBpZiB3ZSBlbmNvdW50ZXIgYmluYXJ5IGRhdGEKICBsZXQgcGFydHMgPSBKU09OLnN0cmluZ2lmeShlbnZIZWFkZXJzKTsKCiAgZnVuY3Rpb24gYXBwZW5kKG5leHQpIHsKICAgIGlmICh0eXBlb2YgcGFydHMgPT09ICdzdHJpbmcnKSB7CiAgICAgIHBhcnRzID0gdHlwZW9mIG5leHQgPT09ICdzdHJpbmcnID8gcGFydHMgKyBuZXh0IDogW2VuY29kZVVURjgocGFydHMsIHRleHRFbmNvZGVyKSwgbmV4dF07CiAgICB9IGVsc2UgewogICAgICBwYXJ0cy5wdXNoKHR5cGVvZiBuZXh0ID09PSAnc3RyaW5nJyA/IGVuY29kZVVURjgobmV4dCwgdGV4dEVuY29kZXIpIDogbmV4dCk7CiAgICB9CiAgfQoKICBmb3IgKGNvbnN0IGl0ZW0gb2YgaXRlbXMpIHsKICAgIGNvbnN0IFtpdGVtSGVhZGVycywgcGF5bG9hZF0gPSBpdGVtOwoKICAgIGFwcGVuZChgXG4ke0pTT04uc3RyaW5naWZ5KGl0ZW1IZWFkZXJzKX1cbmApOwoKICAgIGlmICh0eXBlb2YgcGF5bG9hZCA9PT0gJ3N0cmluZycgfHwgcGF5bG9hZCBpbnN0YW5jZW9mIFVpbnQ4QXJyYXkpIHsKICAgICAgYXBwZW5kKHBheWxvYWQpOwogICAgfSBlbHNlIHsKICAgICAgbGV0IHN0cmluZ2lmaWVkUGF5bG9hZDsKICAgICAgdHJ5IHsKICAgICAgICBzdHJpbmdpZmllZFBheWxvYWQgPSBKU09OLnN0cmluZ2lmeShwYXlsb2FkKTsKICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgIC8vIEluIGNhc2UsIGRlc3BpdGUgYWxsIG91ciBlZmZvcnRzIHRvIGtlZXAgYHBheWxvYWRgIGNpcmN1bGFyLWRlcGVuZGVuY3ktZnJlZSwgYEpTT04uc3RyaW5pZnkoKWAgc3RpbGwKICAgICAgICAvLyBmYWlscywgd2UgdHJ5IGFnYWluIGFmdGVyIG5vcm1hbGl6aW5nIGl0IGFnYWluIHdpdGggaW5maW5pdGUgbm9ybWFsaXphdGlvbiBkZXB0aC4gVGhpcyBvZiBjb3Vyc2UgaGFzIGEKICAgICAgICAvLyBwZXJmb3JtYW5jZSBpbXBhY3QgYnV0IGluIHRoaXMgY2FzZSBhIHBlcmZvcm1hbmNlIGhpdCBpcyBiZXR0ZXIgdGhhbiB0aHJvd2luZy4KICAgICAgICBzdHJpbmdpZmllZFBheWxvYWQgPSBKU09OLnN0cmluZ2lmeShub3JtYWxpemUocGF5bG9hZCkpOwogICAgICB9CiAgICAgIGFwcGVuZChzdHJpbmdpZmllZFBheWxvYWQpOwogICAgfQogIH0KCiAgcmV0dXJuIHR5cGVvZiBwYXJ0cyA9PT0gJ3N0cmluZycgPyBwYXJ0cyA6IGNvbmNhdEJ1ZmZlcnMocGFydHMpOwp9CgpmdW5jdGlvbiBjb25jYXRCdWZmZXJzKGJ1ZmZlcnMpIHsKICBjb25zdCB0b3RhbExlbmd0aCA9IGJ1ZmZlcnMucmVkdWNlKChhY2MsIGJ1ZikgPT4gYWNjICsgYnVmLmxlbmd0aCwgMCk7CgogIGNvbnN0IG1lcmdlZCA9IG5ldyBVaW50OEFycmF5KHRvdGFsTGVuZ3RoKTsKICBsZXQgb2Zmc2V0ID0gMDsKICBmb3IgKGNvbnN0IGJ1ZmZlciBvZiBidWZmZXJzKSB7CiAgICBtZXJnZWQuc2V0KGJ1ZmZlciwgb2Zmc2V0KTsKICAgIG9mZnNldCArPSBidWZmZXIubGVuZ3RoOwogIH0KCiAgcmV0dXJuIG1lcmdlZDsKfQoKY29uc3QgSVRFTV9UWVBFX1RPX0RBVEFfQ0FURUdPUllfTUFQID0gewogIHNlc3Npb246ICdzZXNzaW9uJywKICBzZXNzaW9uczogJ3Nlc3Npb24nLAogIGF0dGFjaG1lbnQ6ICdhdHRhY2htZW50JywKICB0cmFuc2FjdGlvbjogJ3RyYW5zYWN0aW9uJywKICBldmVudDogJ2Vycm9yJywKICBjbGllbnRfcmVwb3J0OiAnaW50ZXJuYWwnLAogIHVzZXJfcmVwb3J0OiAnZGVmYXVsdCcsCiAgcHJvZmlsZTogJ3Byb2ZpbGUnLAogIHJlcGxheV9ldmVudDogJ3JlcGxheScsCiAgcmVwbGF5X3JlY29yZGluZzogJ3JlcGxheScsCiAgY2hlY2tfaW46ICdtb25pdG9yJywKICBmZWVkYmFjazogJ2ZlZWRiYWNrJywKICBzcGFuOiAnc3BhbicsCiAgc3RhdHNkOiAnbWV0cmljX2J1Y2tldCcsCn07CgovKioKICogTWFwcyB0aGUgdHlwZSBvZiBhbiBlbnZlbG9wZSBpdGVtIHRvIGEgZGF0YSBjYXRlZ29yeS4KICovCmZ1bmN0aW9uIGVudmVsb3BlSXRlbVR5cGVUb0RhdGFDYXRlZ29yeSh0eXBlKSB7CiAgcmV0dXJuIElURU1fVFlQRV9UT19EQVRBX0NBVEVHT1JZX01BUFt0eXBlXTsKfQoKLyoqIEV4dHJhY3RzIHRoZSBtaW5pbWFsIFNESyBpbmZvIGZyb20gdGhlIG1ldGFkYXRhIG9yIGFuIGV2ZW50cyAqLwpmdW5jdGlvbiBnZXRTZGtNZXRhZGF0YUZvckVudmVsb3BlSGVhZGVyKG1ldGFkYXRhT3JFdmVudCkgewogIGlmICghbWV0YWRhdGFPckV2ZW50IHx8ICFtZXRhZGF0YU9yRXZlbnQuc2RrKSB7CiAgICByZXR1cm47CiAgfQogIGNvbnN0IHsgbmFtZSwgdmVyc2lvbiB9ID0gbWV0YWRhdGFPckV2ZW50LnNkazsKICByZXR1cm4geyBuYW1lLCB2ZXJzaW9uIH07Cn0KCi8qKgogKiBDcmVhdGVzIGV2ZW50IGVudmVsb3BlIGhlYWRlcnMsIGJhc2VkIG9uIGV2ZW50LCBzZGsgaW5mbyBhbmQgdHVubmVsCiAqIE5vdGU6IFRoaXMgZnVuY3Rpb24gd2FzIGV4dHJhY3RlZCBmcm9tIHRoZSBjb3JlIHBhY2thZ2UgdG8gbWFrZSBpdCBhdmFpbGFibGUgaW4gUmVwbGF5CiAqLwpmdW5jdGlvbiBjcmVhdGVFdmVudEVudmVsb3BlSGVhZGVycygKICBldmVudCwKICBzZGtJbmZvLAogIHR1bm5lbCwKICBkc24sCikgewogIGNvbnN0IGR5bmFtaWNTYW1wbGluZ0NvbnRleHQgPSBldmVudC5zZGtQcm9jZXNzaW5nTWV0YWRhdGEgJiYgZXZlbnQuc2RrUHJvY2Vzc2luZ01ldGFkYXRhLmR5bmFtaWNTYW1wbGluZ0NvbnRleHQ7CiAgcmV0dXJuIHsKICAgIGV2ZW50X2lkOiBldmVudC5ldmVudF9pZCAsCiAgICBzZW50X2F0OiBuZXcgRGF0ZSgpLnRvSVNPU3RyaW5nKCksCiAgICAuLi4oc2RrSW5mbyAmJiB7IHNkazogc2RrSW5mbyB9KSwKICAgIC4uLighIXR1bm5lbCAmJiBkc24gJiYgeyBkc246IGRzblRvU3RyaW5nKGRzbikgfSksCiAgICAuLi4oZHluYW1pY1NhbXBsaW5nQ29udGV4dCAmJiB7CiAgICAgIHRyYWNlOiBkcm9wVW5kZWZpbmVkS2V5cyh7IC4uLmR5bmFtaWNTYW1wbGluZ0NvbnRleHQgfSksCiAgICB9KSwKICB9Owp9CgovLyBJbnRlbnRpb25hbGx5IGtlZXBpbmcgdGhlIGtleSBicm9hZCwgYXMgd2UgZG9uJ3Qga25vdyBmb3Igc3VyZSB3aGF0IHJhdGUgbGltaXQgaGVhZGVycyBnZXQgcmV0dXJuZWQgZnJvbSBiYWNrZW5kCgpjb25zdCBERUZBVUxUX1JFVFJZX0FGVEVSID0gNjAgKiAxMDAwOyAvLyA2MCBzZWNvbmRzCgovKioKICogRXh0cmFjdHMgUmV0cnktQWZ0ZXIgdmFsdWUgZnJvbSB0aGUgcmVxdWVzdCBoZWFkZXIgb3IgcmV0dXJucyBkZWZhdWx0IHZhbHVlCiAqIEBwYXJhbSBoZWFkZXIgc3RyaW5nIHJlcHJlc2VudGF0aW9uIG9mICdSZXRyeS1BZnRlcicgaGVhZGVyCiAqIEBwYXJhbSBub3cgY3VycmVudCB1bml4IHRpbWVzdGFtcAogKgogKi8KZnVuY3Rpb24gcGFyc2VSZXRyeUFmdGVySGVhZGVyKGhlYWRlciwgbm93ID0gRGF0ZS5ub3coKSkgewogIGNvbnN0IGhlYWRlckRlbGF5ID0gcGFyc2VJbnQoYCR7aGVhZGVyfWAsIDEwKTsKICBpZiAoIWlzTmFOKGhlYWRlckRlbGF5KSkgewogICAgcmV0dXJuIGhlYWRlckRlbGF5ICogMTAwMDsKICB9CgogIGNvbnN0IGhlYWRlckRhdGUgPSBEYXRlLnBhcnNlKGAke2hlYWRlcn1gKTsKICBpZiAoIWlzTmFOKGhlYWRlckRhdGUpKSB7CiAgICByZXR1cm4gaGVhZGVyRGF0ZSAtIG5vdzsKICB9CgogIHJldHVybiBERUZBVUxUX1JFVFJZX0FGVEVSOwp9CgovKioKICogR2V0cyB0aGUgdGltZSB0aGF0IHRoZSBnaXZlbiBjYXRlZ29yeSBpcyBkaXNhYmxlZCB1bnRpbCBmb3IgcmF0ZSBsaW1pdGluZy4KICogSW4gY2FzZSBubyBjYXRlZ29yeS1zcGVjaWZpYyBsaW1pdCBpcyBzZXQgYnV0IGEgZ2VuZXJhbCByYXRlIGxpbWl0IGFjcm9zcyBhbGwgY2F0ZWdvcmllcyBpcyBhY3RpdmUsCiAqIHRoYXQgdGltZSBpcyByZXR1cm5lZC4KICoKICogQHJldHVybiB0aGUgdGltZSBpbiBtcyB0aGF0IHRoZSBjYXRlZ29yeSBpcyBkaXNhYmxlZCB1bnRpbCBvciAwIGlmIHRoZXJlJ3Mgbm8gYWN0aXZlIHJhdGUgbGltaXQuCiAqLwpmdW5jdGlvbiBkaXNhYmxlZFVudGlsKGxpbWl0cywgZGF0YUNhdGVnb3J5KSB7CiAgcmV0dXJuIGxpbWl0c1tkYXRhQ2F0ZWdvcnldIHx8IGxpbWl0cy5hbGwgfHwgMDsKfQoKLyoqCiAqIENoZWNrcyBpZiBhIGNhdGVnb3J5IGlzIHJhdGUgbGltaXRlZAogKi8KZnVuY3Rpb24gaXNSYXRlTGltaXRlZChsaW1pdHMsIGRhdGFDYXRlZ29yeSwgbm93ID0gRGF0ZS5ub3coKSkgewogIHJldHVybiBkaXNhYmxlZFVudGlsKGxpbWl0cywgZGF0YUNhdGVnb3J5KSA+IG5vdzsKfQoKLyoqCiAqIFVwZGF0ZSByYXRlbGltaXRzIGZyb20gaW5jb21pbmcgaGVhZGVycy4KICoKICogQHJldHVybiB0aGUgdXBkYXRlZCBSYXRlTGltaXRzIG9iamVjdC4KICovCmZ1bmN0aW9uIHVwZGF0ZVJhdGVMaW1pdHMoCiAgbGltaXRzLAogIHsgc3RhdHVzQ29kZSwgaGVhZGVycyB9LAogIG5vdyA9IERhdGUubm93KCksCikgewogIGNvbnN0IHVwZGF0ZWRSYXRlTGltaXRzID0gewogICAgLi4ubGltaXRzLAogIH07CgogIC8vICJUaGUgbmFtZSBpcyBjYXNlLWluc2Vuc2l0aXZlLiIKICAvLyBodHRwczovL2RldmVsb3Blci5tb3ppbGxhLm9yZy9lbi1VUy9kb2NzL1dlYi9BUEkvSGVhZGVycy9nZXQKICBjb25zdCByYXRlTGltaXRIZWFkZXIgPSBoZWFkZXJzICYmIGhlYWRlcnNbJ3gtc2VudHJ5LXJhdGUtbGltaXRzJ107CiAgY29uc3QgcmV0cnlBZnRlckhlYWRlciA9IGhlYWRlcnMgJiYgaGVhZGVyc1sncmV0cnktYWZ0ZXInXTsKCiAgaWYgKHJhdGVMaW1pdEhlYWRlcikgewogICAgLyoqCiAgICAgKiByYXRlIGxpbWl0IGhlYWRlcnMgYXJlIG9mIHRoZSBmb3JtCiAgICAgKiAgICAgPGhlYWRlcj4sPGhlYWRlcj4sLi4KICAgICAqIHdoZXJlIGVhY2ggPGhlYWRlcj4gaXMgb2YgdGhlIGZvcm0KICAgICAqICAgICA8cmV0cnlfYWZ0ZXI+OiA8Y2F0ZWdvcmllcz46IDxzY29wZT46IDxyZWFzb25fY29kZT46IDxuYW1lc3BhY2VzPgogICAgICogd2hlcmUKICAgICAqICAgICA8cmV0cnlfYWZ0ZXI+IGlzIGEgZGVsYXkgaW4gc2Vjb25kcwogICAgICogICAgIDxjYXRlZ29yaWVzPiBpcyB0aGUgZXZlbnQgdHlwZShzKSAoZXJyb3IsIHRyYW5zYWN0aW9uLCBldGMpIGJlaW5nIHJhdGUgbGltaXRlZCBhbmQgaXMgb2YgdGhlIGZvcm0KICAgICAqICAgICAgICAgPGNhdGVnb3J5Pjs8Y2F0ZWdvcnk+Oy4uLgogICAgICogICAgIDxzY29wZT4gaXMgd2hhdCdzIGJlaW5nIGxpbWl0ZWQgKG9yZywgcHJvamVjdCwgb3Iga2V5KSAtIGlnbm9yZWQgYnkgU0RLCiAgICAgKiAgICAgPHJlYXNvbl9jb2RlPiBpcyBhbiBhcmJpdHJhcnkgc3RyaW5nIGxpa2UgIm9yZ19xdW90YSIgLSBpZ25vcmVkIGJ5IFNESwogICAgICogICAgIDxuYW1lc3BhY2VzPiBTZW1pY29sb24tc2VwYXJhdGVkIGxpc3Qgb2YgbWV0cmljIG5hbWVzcGFjZSBpZGVudGlmaWVycy4gRGVmaW5lcyB3aGljaCBuYW1lc3BhY2Uocykgd2lsbCBiZSBhZmZlY3RlZC4KICAgICAqICAgICAgICAgT25seSBwcmVzZW50IGlmIHJhdGUgbGltaXQgYXBwbGllcyB0byB0aGUgbWV0cmljX2J1Y2tldCBkYXRhIGNhdGVnb3J5LgogICAgICovCiAgICBmb3IgKGNvbnN0IGxpbWl0IG9mIHJhdGVMaW1pdEhlYWRlci50cmltKCkuc3BsaXQoJywnKSkgewogICAgICBjb25zdCBbcmV0cnlBZnRlciwgY2F0ZWdvcmllcywgLCAsIG5hbWVzcGFjZXNdID0gbGltaXQuc3BsaXQoJzonLCA1KTsKICAgICAgY29uc3QgaGVhZGVyRGVsYXkgPSBwYXJzZUludChyZXRyeUFmdGVyLCAxMCk7CiAgICAgIGNvbnN0IGRlbGF5ID0gKCFpc05hTihoZWFkZXJEZWxheSkgPyBoZWFkZXJEZWxheSA6IDYwKSAqIDEwMDA7IC8vIDYwc2VjIGRlZmF1bHQKICAgICAgaWYgKCFjYXRlZ29yaWVzKSB7CiAgICAgICAgdXBkYXRlZFJhdGVMaW1pdHMuYWxsID0gbm93ICsgZGVsYXk7CiAgICAgIH0gZWxzZSB7CiAgICAgICAgZm9yIChjb25zdCBjYXRlZ29yeSBvZiBjYXRlZ29yaWVzLnNwbGl0KCc7JykpIHsKICAgICAgICAgIGlmIChjYXRlZ29yeSA9PT0gJ21ldHJpY19idWNrZXQnKSB7CiAgICAgICAgICAgIC8vIG5hbWVzcGFjZXMgd2lsbCBiZSBwcmVzZW50IHdoZW4gY2F0ZWdvcnkgPT09ICdtZXRyaWNfYnVja2V0JwogICAgICAgICAgICBpZiAoIW5hbWVzcGFjZXMgfHwgbmFtZXNwYWNlcy5zcGxpdCgnOycpLmluY2x1ZGVzKCdjdXN0b20nKSkgewogICAgICAgICAgICAgIHVwZGF0ZWRSYXRlTGltaXRzW2NhdGVnb3J5XSA9IG5vdyArIGRlbGF5OwogICAgICAgICAgICB9CiAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICB1cGRhdGVkUmF0ZUxpbWl0c1tjYXRlZ29yeV0gPSBub3cgKyBkZWxheTsKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0KICAgIH0KICB9IGVsc2UgaWYgKHJldHJ5QWZ0ZXJIZWFkZXIpIHsKICAgIHVwZGF0ZWRSYXRlTGltaXRzLmFsbCA9IG5vdyArIHBhcnNlUmV0cnlBZnRlckhlYWRlcihyZXRyeUFmdGVySGVhZGVyLCBub3cpOwogIH0gZWxzZSBpZiAoc3RhdHVzQ29kZSA9PT0gNDI5KSB7CiAgICB1cGRhdGVkUmF0ZUxpbWl0cy5hbGwgPSBub3cgKyA2MCAqIDEwMDA7CiAgfQoKICByZXR1cm4gdXBkYXRlZFJhdGVMaW1pdHM7Cn0KCi8qKgogKiBBIG5vZGUuanMgd2F0Y2hkb2cgdGltZXIKICogQHBhcmFtIHBvbGxJbnRlcnZhbCBUaGUgaW50ZXJ2YWwgdGhhdCB3ZSBleHBlY3QgdG8gZ2V0IHBvbGxlZCBhdAogKiBAcGFyYW0gYW5yVGhyZXNob2xkIFRoZSB0aHJlc2hvbGQgZm9yIHdoZW4gd2UgY29uc2lkZXIgQU5SCiAqIEBwYXJhbSBjYWxsYmFjayBUaGUgY2FsbGJhY2sgdG8gY2FsbCBmb3IgQU5SCiAqIEByZXR1cm5zIEFuIG9iamVjdCB3aXRoIGBwb2xsYCBhbmQgYGVuYWJsZWRgIGZ1bmN0aW9ucyB7QGxpbmsgV2F0Y2hkb2dSZXR1cm59CiAqLwpmdW5jdGlvbiB3YXRjaGRvZ1RpbWVyKAogIGNyZWF0ZVRpbWVyLAogIHBvbGxJbnRlcnZhbCwKICBhbnJUaHJlc2hvbGQsCiAgY2FsbGJhY2ssCikgewogIGNvbnN0IHRpbWVyID0gY3JlYXRlVGltZXIoKTsKICBsZXQgdHJpZ2dlcmVkID0gZmFsc2U7CiAgbGV0IGVuYWJsZWQgPSB0cnVlOwoKICBzZXRJbnRlcnZhbCgoKSA9PiB7CiAgICBjb25zdCBkaWZmTXMgPSB0aW1lci5nZXRUaW1lTXMoKTsKCiAgICBpZiAodHJpZ2dlcmVkID09PSBmYWxzZSAmJiBkaWZmTXMgPiBwb2xsSW50ZXJ2YWwgKyBhbnJUaHJlc2hvbGQpIHsKICAgICAgdHJpZ2dlcmVkID0gdHJ1ZTsKICAgICAgaWYgKGVuYWJsZWQpIHsKICAgICAgICBjYWxsYmFjaygpOwogICAgICB9CiAgICB9CgogICAgaWYgKGRpZmZNcyA8IHBvbGxJbnRlcnZhbCArIGFuclRocmVzaG9sZCkgewogICAgICB0cmlnZ2VyZWQgPSBmYWxzZTsKICAgIH0KICB9LCAyMCk7CgogIHJldHVybiB7CiAgICBwb2xsOiAoKSA9PiB7CiAgICAgIHRpbWVyLnJlc2V0KCk7CiAgICB9LAogICAgZW5hYmxlZDogKHN0YXRlKSA9PiB7CiAgICAgIGVuYWJsZWQgPSBzdGF0ZTsKICAgIH0sCiAgfTsKfQoKLy8gdHlwZXMgY29waWVkIGZyb20gaW5zcGVjdG9yLmQudHMKCi8qKgogKiBDb252ZXJ0cyBEZWJ1Z2dlci5DYWxsRnJhbWUgdG8gU2VudHJ5IFN0YWNrRnJhbWUKICovCmZ1bmN0aW9uIGNhbGxGcmFtZVRvU3RhY2tGcmFtZSgKICBmcmFtZSwKICB1cmwsCiAgZ2V0TW9kdWxlRnJvbUZpbGVuYW1lLAopIHsKICBjb25zdCBmaWxlbmFtZSA9IHVybCA/IHVybC5yZXBsYWNlKC9eZmlsZTpcL1wvLywgJycpIDogdW5kZWZpbmVkOwoKICAvLyBDYWxsRnJhbWUgcm93L2NvbCBhcmUgMCBiYXNlZCwgd2hlcmVhcyBTdGFja0ZyYW1lIGFyZSAxIGJhc2VkCiAgY29uc3QgY29sbm8gPSBmcmFtZS5sb2NhdGlvbi5jb2x1bW5OdW1iZXIgPyBmcmFtZS5sb2NhdGlvbi5jb2x1bW5OdW1iZXIgKyAxIDogdW5kZWZpbmVkOwogIGNvbnN0IGxpbmVubyA9IGZyYW1lLmxvY2F0aW9uLmxpbmVOdW1iZXIgPyBmcmFtZS5sb2NhdGlvbi5saW5lTnVtYmVyICsgMSA6IHVuZGVmaW5lZDsKCiAgcmV0dXJuIGRyb3BVbmRlZmluZWRLZXlzKHsKICAgIGZpbGVuYW1lLAogICAgbW9kdWxlOiBnZXRNb2R1bGVGcm9tRmlsZW5hbWUoZmlsZW5hbWUpLAogICAgZnVuY3Rpb246IGZyYW1lLmZ1bmN0aW9uTmFtZSB8fCAnPycsCiAgICBjb2xubywKICAgIGxpbmVubywKICAgIGluX2FwcDogZmlsZW5hbWUgPyBmaWxlbmFtZUlzSW5BcHAoZmlsZW5hbWUpIDogdW5kZWZpbmVkLAogIH0pOwp9CgovKioKICogVGhpcyBzZXJ2ZXMgYXMgYSBidWlsZCB0aW1lIGZsYWcgdGhhdCB3aWxsIGJlIHRydWUgYnkgZGVmYXVsdCwgYnV0IGZhbHNlIGluIG5vbi1kZWJ1ZyBidWlsZHMgb3IgaWYgdXNlcnMgcmVwbGFjZSBgX19TRU5UUllfREVCVUdfX2AgaW4gdGhlaXIgZ2VuZXJhdGVkIGNvZGUuCiAqCiAqIEFUVEVOVElPTjogVGhpcyBjb25zdGFudCBtdXN0IG5ldmVyIGNyb3NzIHBhY2thZ2UgYm91bmRhcmllcyAoaS5lLiBiZSBleHBvcnRlZCkgdG8gZ3VhcmFudGVlIHRoYXQgaXQgY2FuIGJlIHVzZWQgZm9yIHRyZWUgc2hha2luZy4KICovCmNvbnN0IERFQlVHX0JVSUxEID0gKHR5cGVvZiBfX1NFTlRSWV9ERUJVR19fID09PSAndW5kZWZpbmVkJyB8fCBfX1NFTlRSWV9ERUJVR19fKTsKCmNvbnN0IERFRkFVTFRfRU5WSVJPTk1FTlQgPSAncHJvZHVjdGlvbic7CgovKioKICogUmV0dXJucyB0aGUgZ2xvYmFsIGV2ZW50IHByb2Nlc3NvcnMuCiAqIEBkZXByZWNhdGVkIEdsb2JhbCBldmVudCBwcm9jZXNzb3JzIHdpbGwgYmUgcmVtb3ZlZCBpbiB2OC4KICovCmZ1bmN0aW9uIGdldEdsb2JhbEV2ZW50UHJvY2Vzc29ycygpIHsKICByZXR1cm4gZ2V0R2xvYmFsU2luZ2xldG9uKCdnbG9iYWxFdmVudFByb2Nlc3NvcnMnLCAoKSA9PiBbXSk7Cn0KCi8qKgogKiBQcm9jZXNzIGFuIGFycmF5IG9mIGV2ZW50IHByb2Nlc3NvcnMsIHJldHVybmluZyB0aGUgcHJvY2Vzc2VkIGV2ZW50IChvciBgbnVsbGAgaWYgdGhlIGV2ZW50IHdhcyBkcm9wcGVkKS4KICovCmZ1bmN0aW9uIG5vdGlmeUV2ZW50UHJvY2Vzc29ycygKICBwcm9jZXNzb3JzLAogIGV2ZW50LAogIGhpbnQsCiAgaW5kZXggPSAwLAopIHsKICByZXR1cm4gbmV3IFN5bmNQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+IHsKICAgIGNvbnN0IHByb2Nlc3NvciA9IHByb2Nlc3NvcnNbaW5kZXhdOwogICAgaWYgKGV2ZW50ID09PSBudWxsIHx8IHR5cGVvZiBwcm9jZXNzb3IgIT09ICdmdW5jdGlvbicpIHsKICAgICAgcmVzb2x2ZShldmVudCk7CiAgICB9IGVsc2UgewogICAgICBjb25zdCByZXN1bHQgPSBwcm9jZXNzb3IoeyAuLi5ldmVudCB9LCBoaW50KSA7CgogICAgICBERUJVR19CVUlMRCAmJiBwcm9jZXNzb3IuaWQgJiYgcmVzdWx0ID09PSBudWxsICYmIGxvZ2dlci5sb2coYEV2ZW50IHByb2Nlc3NvciAiJHtwcm9jZXNzb3IuaWR9IiBkcm9wcGVkIGV2ZW50YCk7CgogICAgICBpZiAoaXNUaGVuYWJsZShyZXN1bHQpKSB7CiAgICAgICAgdm9pZCByZXN1bHQKICAgICAgICAgIC50aGVuKGZpbmFsID0+IG5vdGlmeUV2ZW50UHJvY2Vzc29ycyhwcm9jZXNzb3JzLCBmaW5hbCwgaGludCwgaW5kZXggKyAxKS50aGVuKHJlc29sdmUpKQogICAgICAgICAgLnRoZW4obnVsbCwgcmVqZWN0KTsKICAgICAgfSBlbHNlIHsKICAgICAgICB2b2lkIG5vdGlmeUV2ZW50UHJvY2Vzc29ycyhwcm9jZXNzb3JzLCByZXN1bHQsIGhpbnQsIGluZGV4ICsgMSkKICAgICAgICAgIC50aGVuKHJlc29sdmUpCiAgICAgICAgICAudGhlbihudWxsLCByZWplY3QpOwogICAgICB9CiAgICB9CiAgfSk7Cn0KCi8qKgogKiBDcmVhdGVzIGEgbmV3IGBTZXNzaW9uYCBvYmplY3QgYnkgc2V0dGluZyBjZXJ0YWluIGRlZmF1bHQgcGFyYW1ldGVycy4gSWYgb3B0aW9uYWwgQHBhcmFtIGNvbnRleHQKICogaXMgcGFzc2VkLCB0aGUgcGFzc2VkIHByb3BlcnRpZXMgYXJlIGFwcGxpZWQgdG8gdGhlIHNlc3Npb24gb2JqZWN0LgogKgogKiBAcGFyYW0gY29udGV4dCAob3B0aW9uYWwpIGFkZGl0aW9uYWwgcHJvcGVydGllcyB0byBiZSBhcHBsaWVkIHRvIHRoZSByZXR1cm5lZCBzZXNzaW9uIG9iamVjdAogKgogKiBAcmV0dXJucyBhIG5ldyBgU2Vzc2lvbmAgb2JqZWN0CiAqLwpmdW5jdGlvbiBtYWtlU2Vzc2lvbihjb250ZXh0KSB7CiAgLy8gQm90aCB0aW1lc3RhbXAgYW5kIHN0YXJ0ZWQgYXJlIGluIHNlY29uZHMgc2luY2UgdGhlIFVOSVggZXBvY2guCiAgY29uc3Qgc3RhcnRpbmdUaW1lID0gdGltZXN0YW1wSW5TZWNvbmRzKCk7CgogIGNvbnN0IHNlc3Npb24gPSB7CiAgICBzaWQ6IHV1aWQ0KCksCiAgICBpbml0OiB0cnVlLAogICAgdGltZXN0YW1wOiBzdGFydGluZ1RpbWUsCiAgICBzdGFydGVkOiBzdGFydGluZ1RpbWUsCiAgICBkdXJhdGlvbjogMCwKICAgIHN0YXR1czogJ29rJywKICAgIGVycm9yczogMCwKICAgIGlnbm9yZUR1cmF0aW9uOiBmYWxzZSwKICAgIHRvSlNPTjogKCkgPT4gc2Vzc2lvblRvSlNPTihzZXNzaW9uKSwKICB9OwoKICBpZiAoY29udGV4dCkgewogICAgdXBkYXRlU2Vzc2lvbihzZXNzaW9uLCBjb250ZXh0KTsKICB9CgogIHJldHVybiBzZXNzaW9uOwp9CgovKioKICogVXBkYXRlcyBhIHNlc3Npb24gb2JqZWN0IHdpdGggdGhlIHByb3BlcnRpZXMgcGFzc2VkIGluIHRoZSBjb250ZXh0LgogKgogKiBOb3RlIHRoYXQgdGhpcyBmdW5jdGlvbiBtdXRhdGVzIHRoZSBwYXNzZWQgb2JqZWN0IGFuZCByZXR1cm5zIHZvaWQuCiAqIChIYWQgdG8gZG8gdGhpcyBpbnN0ZWFkIG9mIHJldHVybmluZyBhIG5ldyBhbmQgdXBkYXRlZCBzZXNzaW9uIGJlY2F1c2UgY2xvc2luZyBhbmQgc2VuZGluZyBhIHNlc3Npb24KICogbWFrZXMgYW4gdXBkYXRlIHRvIHRoZSBzZXNzaW9uIGFmdGVyIGl0IHdhcyBwYXNzZWQgdG8gdGhlIHNlbmRpbmcgbG9naWMuCiAqIEBzZWUgQmFzZUNsaWVudC5jYXB0dXJlU2Vzc2lvbiApCiAqCiAqIEBwYXJhbSBzZXNzaW9uIHRoZSBgU2Vzc2lvbmAgdG8gdXBkYXRlCiAqIEBwYXJhbSBjb250ZXh0IHRoZSBgU2Vzc2lvbkNvbnRleHRgIGhvbGRpbmcgdGhlIHByb3BlcnRpZXMgdGhhdCBzaG91bGQgYmUgdXBkYXRlZCBpbiBAcGFyYW0gc2Vzc2lvbgogKi8KLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGNvbXBsZXhpdHkKZnVuY3Rpb24gdXBkYXRlU2Vzc2lvbihzZXNzaW9uLCBjb250ZXh0ID0ge30pIHsKICBpZiAoY29udGV4dC51c2VyKSB7CiAgICBpZiAoIXNlc3Npb24uaXBBZGRyZXNzICYmIGNvbnRleHQudXNlci5pcF9hZGRyZXNzKSB7CiAgICAgIHNlc3Npb24uaXBBZGRyZXNzID0gY29udGV4dC51c2VyLmlwX2FkZHJlc3M7CiAgICB9CgogICAgaWYgKCFzZXNzaW9uLmRpZCAmJiAhY29udGV4dC5kaWQpIHsKICAgICAgc2Vzc2lvbi5kaWQgPSBjb250ZXh0LnVzZXIuaWQgfHwgY29udGV4dC51c2VyLmVtYWlsIHx8IGNvbnRleHQudXNlci51c2VybmFtZTsKICAgIH0KICB9CgogIHNlc3Npb24udGltZXN0YW1wID0gY29udGV4dC50aW1lc3RhbXAgfHwgdGltZXN0YW1wSW5TZWNvbmRzKCk7CgogIGlmIChjb250ZXh0LmFibm9ybWFsX21lY2hhbmlzbSkgewogICAgc2Vzc2lvbi5hYm5vcm1hbF9tZWNoYW5pc20gPSBjb250ZXh0LmFibm9ybWFsX21lY2hhbmlzbTsKICB9CgogIGlmIChjb250ZXh0Lmlnbm9yZUR1cmF0aW9uKSB7CiAgICBzZXNzaW9uLmlnbm9yZUR1cmF0aW9uID0gY29udGV4dC5pZ25vcmVEdXJhdGlvbjsKICB9CiAgaWYgKGNvbnRleHQuc2lkKSB7CiAgICAvLyBHb29kIGVub3VnaCB1dWlkIHZhbGlkYXRpb24uIOKAlCBLYW1pbAogICAgc2Vzc2lvbi5zaWQgPSBjb250ZXh0LnNpZC5sZW5ndGggPT09IDMyID8gY29udGV4dC5zaWQgOiB1dWlkNCgpOwogIH0KICBpZiAoY29udGV4dC5pbml0ICE9PSB1bmRlZmluZWQpIHsKICAgIHNlc3Npb24uaW5pdCA9IGNvbnRleHQuaW5pdDsKICB9CiAgaWYgKCFzZXNzaW9uLmRpZCAmJiBjb250ZXh0LmRpZCkgewogICAgc2Vzc2lvbi5kaWQgPSBgJHtjb250ZXh0LmRpZH1gOwogIH0KICBpZiAodHlwZW9mIGNvbnRleHQuc3RhcnRlZCA9PT0gJ251bWJlcicpIHsKICAgIHNlc3Npb24uc3RhcnRlZCA9IGNvbnRleHQuc3RhcnRlZDsKICB9CiAgaWYgKHNlc3Npb24uaWdub3JlRHVyYXRpb24pIHsKICAgIHNlc3Npb24uZHVyYXRpb24gPSB1bmRlZmluZWQ7CiAgfSBlbHNlIGlmICh0eXBlb2YgY29udGV4dC5kdXJhdGlvbiA9PT0gJ251bWJlcicpIHsKICAgIHNlc3Npb24uZHVyYXRpb24gPSBjb250ZXh0LmR1cmF0aW9uOwogIH0gZWxzZSB7CiAgICBjb25zdCBkdXJhdGlvbiA9IHNlc3Npb24udGltZXN0YW1wIC0gc2Vzc2lvbi5zdGFydGVkOwogICAgc2Vzc2lvbi5kdXJhdGlvbiA9IGR1cmF0aW9uID49IDAgPyBkdXJhdGlvbiA6IDA7CiAgfQogIGlmIChjb250ZXh0LnJlbGVhc2UpIHsKICAgIHNlc3Npb24ucmVsZWFzZSA9IGNvbnRleHQucmVsZWFzZTsKICB9CiAgaWYgKGNvbnRleHQuZW52aXJvbm1lbnQpIHsKICAgIHNlc3Npb24uZW52aXJvbm1lbnQgPSBjb250ZXh0LmVudmlyb25tZW50OwogIH0KICBpZiAoIXNlc3Npb24uaXBBZGRyZXNzICYmIGNvbnRleHQuaXBBZGRyZXNzKSB7CiAgICBzZXNzaW9uLmlwQWRkcmVzcyA9IGNvbnRleHQuaXBBZGRyZXNzOwogIH0KICBpZiAoIXNlc3Npb24udXNlckFnZW50ICYmIGNvbnRleHQudXNlckFnZW50KSB7CiAgICBzZXNzaW9uLnVzZXJBZ2VudCA9IGNvbnRleHQudXNlckFnZW50OwogIH0KICBpZiAodHlwZW9mIGNvbnRleHQuZXJyb3JzID09PSAnbnVtYmVyJykgewogICAgc2Vzc2lvbi5lcnJvcnMgPSBjb250ZXh0LmVycm9yczsKICB9CiAgaWYgKGNvbnRleHQuc3RhdHVzKSB7CiAgICBzZXNzaW9uLnN0YXR1cyA9IGNvbnRleHQuc3RhdHVzOwogIH0KfQoKLyoqCiAqIENsb3NlcyBhIHNlc3Npb24gYnkgc2V0dGluZyBpdHMgc3RhdHVzIGFuZCB1cGRhdGluZyB0aGUgc2Vzc2lvbiBvYmplY3Qgd2l0aCBpdC4KICogSW50ZXJuYWxseSBjYWxscyBgdXBkYXRlU2Vzc2lvbmAgdG8gdXBkYXRlIHRoZSBwYXNzZWQgc2Vzc2lvbiBvYmplY3QuCiAqCiAqIE5vdGUgdGhhdCB0aGlzIGZ1bmN0aW9uIG11dGF0ZXMgdGhlIHBhc3NlZCBzZXNzaW9uIChAc2VlIHVwZGF0ZVNlc3Npb24gZm9yIGV4cGxhbmF0aW9uKS4KICoKICogQHBhcmFtIHNlc3Npb24gdGhlIGBTZXNzaW9uYCBvYmplY3QgdG8gYmUgY2xvc2VkCiAqIEBwYXJhbSBzdGF0dXMgdGhlIGBTZXNzaW9uU3RhdHVzYCB3aXRoIHdoaWNoIHRoZSBzZXNzaW9uIHdhcyBjbG9zZWQuIElmIHlvdSBkb24ndCBwYXNzIGEgc3RhdHVzLAogKiAgICAgICAgICAgICAgIHRoaXMgZnVuY3Rpb24gd2lsbCBrZWVwIHRoZSBwcmV2aW91c2x5IHNldCBzdGF0dXMsIHVubGVzcyBpdCB3YXMgYCdvaydgIGluIHdoaWNoIGNhc2UKICogICAgICAgICAgICAgICBpdCBpcyBjaGFuZ2VkIHRvIGAnZXhpdGVkJ2AuCiAqLwpmdW5jdGlvbiBjbG9zZVNlc3Npb24oc2Vzc2lvbiwgc3RhdHVzKSB7CiAgbGV0IGNvbnRleHQgPSB7fTsKICBpZiAoc3RhdHVzKSB7CiAgICBjb250ZXh0ID0geyBzdGF0dXMgfTsKICB9IGVsc2UgaWYgKHNlc3Npb24uc3RhdHVzID09PSAnb2snKSB7CiAgICBjb250ZXh0ID0geyBzdGF0dXM6ICdleGl0ZWQnIH07CiAgfQoKICB1cGRhdGVTZXNzaW9uKHNlc3Npb24sIGNvbnRleHQpOwp9CgovKioKICogU2VyaWFsaXplcyBhIHBhc3NlZCBzZXNzaW9uIG9iamVjdCB0byBhIEpTT04gb2JqZWN0IHdpdGggYSBzbGlnaHRseSBkaWZmZXJlbnQgc3RydWN0dXJlLgogKiBUaGlzIGlzIG5lY2Vzc2FyeSBiZWNhdXNlIHRoZSBTZW50cnkgYmFja2VuZCByZXF1aXJlcyBhIHNsaWdodGx5IGRpZmZlcmVudCBzY2hlbWEgb2YgYSBzZXNzaW9uCiAqIHRoYW4gdGhlIG9uZSB0aGUgSlMgU0RLcyB1c2UgaW50ZXJuYWxseS4KICoKICogQHBhcmFtIHNlc3Npb24gdGhlIHNlc3Npb24gdG8gYmUgY29udmVydGVkCiAqCiAqIEByZXR1cm5zIGEgSlNPTiBvYmplY3Qgb2YgdGhlIHBhc3NlZCBzZXNzaW9uCiAqLwpmdW5jdGlvbiBzZXNzaW9uVG9KU09OKHNlc3Npb24pIHsKICByZXR1cm4gZHJvcFVuZGVmaW5lZEtleXMoewogICAgc2lkOiBgJHtzZXNzaW9uLnNpZH1gLAogICAgaW5pdDogc2Vzc2lvbi5pbml0LAogICAgLy8gTWFrZSBzdXJlIHRoYXQgc2VjIGlzIGNvbnZlcnRlZCB0byBtcyBmb3IgZGF0ZSBjb25zdHJ1Y3RvcgogICAgc3RhcnRlZDogbmV3IERhdGUoc2Vzc2lvbi5zdGFydGVkICogMTAwMCkudG9JU09TdHJpbmcoKSwKICAgIHRpbWVzdGFtcDogbmV3IERhdGUoc2Vzc2lvbi50aW1lc3RhbXAgKiAxMDAwKS50b0lTT1N0cmluZygpLAogICAgc3RhdHVzOiBzZXNzaW9uLnN0YXR1cywKICAgIGVycm9yczogc2Vzc2lvbi5lcnJvcnMsCiAgICBkaWQ6IHR5cGVvZiBzZXNzaW9uLmRpZCA9PT0gJ251bWJlcicgfHwgdHlwZW9mIHNlc3Npb24uZGlkID09PSAnc3RyaW5nJyA/IGAke3Nlc3Npb24uZGlkfWAgOiB1bmRlZmluZWQsCiAgICBkdXJhdGlvbjogc2Vzc2lvbi5kdXJhdGlvbiwKICAgIGFibm9ybWFsX21lY2hhbmlzbTogc2Vzc2lvbi5hYm5vcm1hbF9tZWNoYW5pc20sCiAgICBhdHRyczogewogICAgICByZWxlYXNlOiBzZXNzaW9uLnJlbGVhc2UsCiAgICAgIGVudmlyb25tZW50OiBzZXNzaW9uLmVudmlyb25tZW50LAogICAgICBpcF9hZGRyZXNzOiBzZXNzaW9uLmlwQWRkcmVzcywKICAgICAgdXNlcl9hZ2VudDogc2Vzc2lvbi51c2VyQWdlbnQsCiAgICB9LAogIH0pOwp9Cgpjb25zdCBUUkFDRV9GTEFHX1NBTVBMRUQgPSAweDE7CgovKioKICogQ29udmVydCBhIHNwYW4gdG8gYSB0cmFjZSBjb250ZXh0LCB3aGljaCBjYW4gYmUgc2VudCBhcyB0aGUgYHRyYWNlYCBjb250ZXh0IGluIGFuIGV2ZW50LgogKi8KZnVuY3Rpb24gc3BhblRvVHJhY2VDb250ZXh0KHNwYW4pIHsKICBjb25zdCB7IHNwYW5JZDogc3Bhbl9pZCwgdHJhY2VJZDogdHJhY2VfaWQgfSA9IHNwYW4uc3BhbkNvbnRleHQoKTsKICBjb25zdCB7IGRhdGEsIG9wLCBwYXJlbnRfc3Bhbl9pZCwgc3RhdHVzLCB0YWdzLCBvcmlnaW4gfSA9IHNwYW5Ub0pTT04oc3Bhbik7CgogIHJldHVybiBkcm9wVW5kZWZpbmVkS2V5cyh7CiAgICBkYXRhLAogICAgb3AsCiAgICBwYXJlbnRfc3Bhbl9pZCwKICAgIHNwYW5faWQsCiAgICBzdGF0dXMsCiAgICB0YWdzLAogICAgdHJhY2VfaWQsCiAgICBvcmlnaW4sCiAgfSk7Cn0KCi8qKgogKiBDb252ZXJ0IGEgc3BhbiB0byBhIEpTT04gcmVwcmVzZW50YXRpb24uCiAqIE5vdGUgdGhhdCBhbGwgZmllbGRzIHJldHVybmVkIGhlcmUgYXJlIG9wdGlvbmFsIGFuZCBuZWVkIHRvIGJlIGd1YXJkZWQgYWdhaW5zdC4KICoKICogTm90ZTogQmVjYXVzZSBvZiB0aGlzLCB3ZSBjdXJyZW50bHkgaGF2ZSBhIGNpcmN1bGFyIHR5cGUgZGVwZW5kZW5jeSAod2hpY2ggd2Ugb3B0ZWQgb3V0IG9mIGluIHBhY2thZ2UuanNvbikuCiAqIFRoaXMgaXMgbm90IGF2b2lkYWJsZSBhcyB3ZSBuZWVkIGBzcGFuVG9KU09OYCBpbiBgc3BhblV0aWxzLnRzYCwgd2hpY2ggaW4gdHVybiBpcyBuZWVkZWQgYnkgYHNwYW4udHNgIGZvciBiYWNrd2FyZHMgY29tcGF0aWJpbGl0eS4KICogQW5kIGBzcGFuVG9KU09OYCBuZWVkcyB0aGUgU3BhbiBjbGFzcyBmcm9tIGBzcGFuLnRzYCB0byBjaGVjayBoZXJlLgogKiBUT0RPIHY4OiBXaGVuIHdlIHJlbW92ZSB0aGUgZGVwcmVjYXRlZCBzdHVmZiBmcm9tIGBzcGFuLnRzYCwgd2UgY2FuIHJlbW92ZSB0aGUgY2lyY3VsYXIgZGVwZW5kZW5jeSBhZ2Fpbi4KICovCmZ1bmN0aW9uIHNwYW5Ub0pTT04oc3BhbikgewogIGlmIChzcGFuSXNTcGFuQ2xhc3Moc3BhbikpIHsKICAgIHJldHVybiBzcGFuLmdldFNwYW5KU09OKCk7CiAgfQoKICAvLyBGYWxsYmFjazogV2UgYWxzbyBjaGVjayBmb3IgYC50b0pTT04oKWAgaGVyZS4uLgogIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogIGlmICh0eXBlb2Ygc3Bhbi50b0pTT04gPT09ICdmdW5jdGlvbicpIHsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgcmV0dXJuIHNwYW4udG9KU09OKCk7CiAgfQoKICByZXR1cm4ge307Cn0KCi8qKgogKiBTYWRseSwgZHVlIHRvIGNpcmN1bGFyIGRlcGVuZGVuY3kgY2hlY2tzIHdlIGNhbm5vdCBhY3R1YWxseSBpbXBvcnQgdGhlIFNwYW4gY2xhc3MgaGVyZSBhbmQgY2hlY2sgZm9yIGluc3RhbmNlb2YuCiAqIDooIFNvIGluc3RlYWQgd2UgYXBwcm94aW1hdGUgdGhpcyBieSBjaGVja2luZyBpZiBpdCBoYXMgdGhlIGBnZXRTcGFuSlNPTmAgbWV0aG9kLgogKi8KZnVuY3Rpb24gc3BhbklzU3BhbkNsYXNzKHNwYW4pIHsKICByZXR1cm4gdHlwZW9mIChzcGFuICkuZ2V0U3BhbkpTT04gPT09ICdmdW5jdGlvbic7Cn0KCi8qKgogKiBSZXR1cm5zIHRydWUgaWYgYSBzcGFuIGlzIHNhbXBsZWQuCiAqIEluIG1vc3QgY2FzZXMsIHlvdSBzaG91bGQganVzdCB1c2UgYHNwYW4uaXNSZWNvcmRpbmcoKWAgaW5zdGVhZC4KICogSG93ZXZlciwgdGhpcyBoYXMgYSBzbGlnaHRseSBkaWZmZXJlbnQgc2VtYW50aWMsIGFzIGl0IGFsc28gcmV0dXJucyBmYWxzZSBpZiB0aGUgc3BhbiBpcyBmaW5pc2hlZC4KICogU28gaW4gdGhlIGNhc2Ugd2hlcmUgdGhpcyBkaXN0aW5jdGlvbiBpcyBpbXBvcnRhbnQsIHVzZSB0aGlzIG1ldGhvZC4KICovCmZ1bmN0aW9uIHNwYW5Jc1NhbXBsZWQoc3BhbikgewogIC8vIFdlIGFsaWduIG91ciB0cmFjZSBmbGFncyB3aXRoIHRoZSBvbmVzIE9wZW5UZWxlbWV0cnkgdXNlCiAgLy8gU28gd2UgYWxzbyBjaGVjayBmb3Igc2FtcGxlZCB0aGUgc2FtZSB3YXkgdGhleSBkby4KICBjb25zdCB7IHRyYWNlRmxhZ3MgfSA9IHNwYW4uc3BhbkNvbnRleHQoKTsKICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tYml0d2lzZQogIHJldHVybiBCb29sZWFuKHRyYWNlRmxhZ3MgJiBUUkFDRV9GTEFHX1NBTVBMRUQpOwp9CgovKioKICogR2V0IHRoZSBjdXJyZW50bHkgYWN0aXZlIGNsaWVudC4KICovCmZ1bmN0aW9uIGdldENsaWVudCgpIHsKICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICByZXR1cm4gZ2V0Q3VycmVudEh1YigpLmdldENsaWVudCgpOwp9CgovKioKICogR2V0IHRoZSBjdXJyZW50bHkgYWN0aXZlIHNjb3BlLgogKi8KZnVuY3Rpb24gZ2V0Q3VycmVudFNjb3BlKCkgewogIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogIHJldHVybiBnZXRDdXJyZW50SHViKCkuZ2V0U2NvcGUoKTsKfQoKLyoqCiAqIFJldHVybnMgdGhlIHJvb3Qgc3BhbiBvZiBhIGdpdmVuIHNwYW4uCiAqCiAqIEFzIGxvbmcgYXMgd2UgdXNlIGBUcmFuc2FjdGlvbmBzIGludGVybmFsbHksIHRoZSByZXR1cm5lZCByb290IHNwYW4KICogd2lsbCBiZSBhIGBUcmFuc2FjdGlvbmAgYnV0IGJlIGF3YXJlIHRoYXQgdGhpcyBtaWdodCBjaGFuZ2UgaW4gdGhlIGZ1dHVyZS4KICoKICogSWYgdGhlIGdpdmVuIHNwYW4gaGFzIG5vIHJvb3Qgc3BhbiBvciB0cmFuc2FjdGlvbiwgYHVuZGVmaW5lZGAgaXMgcmV0dXJuZWQuCiAqLwpmdW5jdGlvbiBnZXRSb290U3BhbihzcGFuKSB7CiAgLy8gVE9ETyAodjgpOiBSZW1vdmUgdGhpcyBjaGVjayBhbmQganVzdCByZXR1cm4gc3BhbgogIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogIHJldHVybiBzcGFuLnRyYW5zYWN0aW9uOwp9CgovKioKICogQ3JlYXRlcyBhIGR5bmFtaWMgc2FtcGxpbmcgY29udGV4dCBmcm9tIGEgY2xpZW50LgogKgogKiBEaXNwYXRjaGVzIHRoZSBgY3JlYXRlRHNjYCBsaWZlY3ljbGUgaG9vayBhcyBhIHNpZGUgZWZmZWN0LgogKi8KZnVuY3Rpb24gZ2V0RHluYW1pY1NhbXBsaW5nQ29udGV4dEZyb21DbGllbnQoCiAgdHJhY2VfaWQsCiAgY2xpZW50LAogIHNjb3BlLAopIHsKICBjb25zdCBvcHRpb25zID0gY2xpZW50LmdldE9wdGlvbnMoKTsKCiAgY29uc3QgeyBwdWJsaWNLZXk6IHB1YmxpY19rZXkgfSA9IGNsaWVudC5nZXREc24oKSB8fCB7fTsKICAvLyBUT0RPKHY4KTogUmVtb3ZlIHNlZ21lbnQgZnJvbSBVc2VyCiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgY29uc3QgeyBzZWdtZW50OiB1c2VyX3NlZ21lbnQgfSA9IChzY29wZSAmJiBzY29wZS5nZXRVc2VyKCkpIHx8IHt9OwoKICBjb25zdCBkc2MgPSBkcm9wVW5kZWZpbmVkS2V5cyh7CiAgICBlbnZpcm9ubWVudDogb3B0aW9ucy5lbnZpcm9ubWVudCB8fCBERUZBVUxUX0VOVklST05NRU5ULAogICAgcmVsZWFzZTogb3B0aW9ucy5yZWxlYXNlLAogICAgdXNlcl9zZWdtZW50LAogICAgcHVibGljX2tleSwKICAgIHRyYWNlX2lkLAogIH0pIDsKCiAgY2xpZW50LmVtaXQgJiYgY2xpZW50LmVtaXQoJ2NyZWF0ZURzYycsIGRzYyk7CgogIHJldHVybiBkc2M7Cn0KCi8qKgogKiBBIFNwYW4gd2l0aCBhIGZyb3plbiBkeW5hbWljIHNhbXBsaW5nIGNvbnRleHQuCiAqLwoKLyoqCiAqIENyZWF0ZXMgYSBkeW5hbWljIHNhbXBsaW5nIGNvbnRleHQgZnJvbSBhIHNwYW4gKGFuZCBjbGllbnQgYW5kIHNjb3BlKQogKgogKiBAcGFyYW0gc3BhbiB0aGUgc3BhbiBmcm9tIHdoaWNoIGEgZmV3IHZhbHVlcyBsaWtlIHRoZSByb290IHNwYW4gbmFtZSBhbmQgc2FtcGxlIHJhdGUgYXJlIGV4dHJhY3RlZC4KICoKICogQHJldHVybnMgYSBkeW5hbWljIHNhbXBsaW5nIGNvbnRleHQKICovCmZ1bmN0aW9uIGdldER5bmFtaWNTYW1wbGluZ0NvbnRleHRGcm9tU3BhbihzcGFuKSB7CiAgY29uc3QgY2xpZW50ID0gZ2V0Q2xpZW50KCk7CiAgaWYgKCFjbGllbnQpIHsKICAgIHJldHVybiB7fTsKICB9CgogIC8vIHBhc3NpbmcgZW1pdD1mYWxzZSBoZXJlIHRvIG9ubHkgZW1pdCBsYXRlciBvbmNlIHRoZSBEU0MgaXMgYWN0dWFsbHkgcG9wdWxhdGVkCiAgY29uc3QgZHNjID0gZ2V0RHluYW1pY1NhbXBsaW5nQ29udGV4dEZyb21DbGllbnQoc3BhblRvSlNPTihzcGFuKS50cmFjZV9pZCB8fCAnJywgY2xpZW50LCBnZXRDdXJyZW50U2NvcGUoKSk7CgogIC8vIFRPRE8gKHY4KTogUmVtb3ZlIHY3RnJvemVuRHNjIGFzIGEgVHJhbnNhY3Rpb24gd2lsbCBubyBsb25nZXIgaGF2ZSBfZnJvemVuRHluYW1pY1NhbXBsaW5nQ29udGV4dAogIGNvbnN0IHR4biA9IGdldFJvb3RTcGFuKHNwYW4pIDsKICBpZiAoIXR4bikgewogICAgcmV0dXJuIGRzYzsKICB9CgogIC8vIFRPRE8gKHY4KTogUmVtb3ZlIHY3RnJvemVuRHNjIGFzIGEgVHJhbnNhY3Rpb24gd2lsbCBubyBsb25nZXIgaGF2ZSBfZnJvemVuRHluYW1pY1NhbXBsaW5nQ29udGV4dAogIC8vIEZvciBub3cgd2UgbmVlZCB0byBhdm9pZCBicmVha2luZyB1c2VycyB3aG8gZGlyZWN0bHkgY3JlYXRlZCBhIHR4biB3aXRoIGEgRFNDLCB3aGVyZSB0aGlzIGZpZWxkIGlzIHN0aWxsIHNldC4KICAvLyBAc2VlIFRyYW5zYWN0aW9uIGNsYXNzIGNvbnN0cnVjdG9yCiAgY29uc3QgdjdGcm96ZW5Ec2MgPSB0eG4gJiYgdHhuLl9mcm96ZW5EeW5hbWljU2FtcGxpbmdDb250ZXh0OwogIGlmICh2N0Zyb3plbkRzYykgewogICAgcmV0dXJuIHY3RnJvemVuRHNjOwogIH0KCiAgLy8gVE9ETyAodjgpOiBSZXBsYWNlIHR4bi5tZXRhZGF0YSB3aXRoIHR4bi5hdHRyaWJ1dGVzW10KICAvLyBXZSBjYW4ndCBkbyB0aGlzIHlldCBiZWNhdXNlIGF0dHJpYnV0ZXMgYXJlbid0IGFsd2F5cyBzZXQgeWV0LgogIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogIGNvbnN0IHsgc2FtcGxlUmF0ZTogbWF5YmVTYW1wbGVSYXRlLCBzb3VyY2UgfSA9IHR4bi5tZXRhZGF0YTsKICBpZiAobWF5YmVTYW1wbGVSYXRlICE9IG51bGwpIHsKICAgIGRzYy5zYW1wbGVfcmF0ZSA9IGAke21heWJlU2FtcGxlUmF0ZX1gOwogIH0KCiAgLy8gV2UgZG9uJ3Qgd2FudCB0byBoYXZlIGEgdHJhbnNhY3Rpb24gbmFtZSBpbiB0aGUgRFNDIGlmIHRoZSBzb3VyY2UgaXMgInVybCIgYmVjYXVzZSBVUkxzIG1pZ2h0IGNvbnRhaW4gUElJCiAgY29uc3QganNvblNwYW4gPSBzcGFuVG9KU09OKHR4bik7CgogIC8vIGFmdGVyIEpTT04gY29udmVyc2lvbiwgdHhuLm5hbWUgYmVjb21lcyBqc29uU3Bhbi5kZXNjcmlwdGlvbgogIGlmIChzb3VyY2UgJiYgc291cmNlICE9PSAndXJsJykgewogICAgZHNjLnRyYW5zYWN0aW9uID0ganNvblNwYW4uZGVzY3JpcHRpb247CiAgfQoKICBkc2Muc2FtcGxlZCA9IFN0cmluZyhzcGFuSXNTYW1wbGVkKHR4bikpOwoKICBjbGllbnQuZW1pdCAmJiBjbGllbnQuZW1pdCgnY3JlYXRlRHNjJywgZHNjKTsKCiAgcmV0dXJuIGRzYzsKfQoKLyoqCiAqIEFwcGxpZXMgZGF0YSBmcm9tIHRoZSBzY29wZSB0byB0aGUgZXZlbnQgYW5kIHJ1bnMgYWxsIGV2ZW50IHByb2Nlc3NvcnMgb24gaXQuCiAqLwpmdW5jdGlvbiBhcHBseVNjb3BlRGF0YVRvRXZlbnQoZXZlbnQsIGRhdGEpIHsKICBjb25zdCB7IGZpbmdlcnByaW50LCBzcGFuLCBicmVhZGNydW1icywgc2RrUHJvY2Vzc2luZ01ldGFkYXRhIH0gPSBkYXRhOwoKICAvLyBBcHBseSBnZW5lcmFsIGRhdGEKICBhcHBseURhdGFUb0V2ZW50KGV2ZW50LCBkYXRhKTsKCiAgLy8gV2Ugd2FudCB0byBzZXQgdGhlIHRyYWNlIGNvbnRleHQgZm9yIG5vcm1hbCBldmVudHMgb25seSBpZiB0aGVyZSBpc24ndCBhbHJlYWR5CiAgLy8gYSB0cmFjZSBjb250ZXh0IG9uIHRoZSBldmVudC4gVGhlcmUgaXMgYSBwcm9kdWN0IGZlYXR1cmUgaW4gcGxhY2Ugd2hlcmUgd2UgbGluawogIC8vIGVycm9ycyB3aXRoIHRyYW5zYWN0aW9uIGFuZCBpdCByZWxpZXMgb24gdGhhdC4KICBpZiAoc3BhbikgewogICAgYXBwbHlTcGFuVG9FdmVudChldmVudCwgc3Bhbik7CiAgfQoKICBhcHBseUZpbmdlcnByaW50VG9FdmVudChldmVudCwgZmluZ2VycHJpbnQpOwogIGFwcGx5QnJlYWRjcnVtYnNUb0V2ZW50KGV2ZW50LCBicmVhZGNydW1icyk7CiAgYXBwbHlTZGtNZXRhZGF0YVRvRXZlbnQoZXZlbnQsIHNka1Byb2Nlc3NpbmdNZXRhZGF0YSk7Cn0KCmZ1bmN0aW9uIGFwcGx5RGF0YVRvRXZlbnQoZXZlbnQsIGRhdGEpIHsKICBjb25zdCB7CiAgICBleHRyYSwKICAgIHRhZ3MsCiAgICB1c2VyLAogICAgY29udGV4dHMsCiAgICBsZXZlbCwKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdHJhbnNhY3Rpb25OYW1lLAogIH0gPSBkYXRhOwoKICBjb25zdCBjbGVhbmVkRXh0cmEgPSBkcm9wVW5kZWZpbmVkS2V5cyhleHRyYSk7CiAgaWYgKGNsZWFuZWRFeHRyYSAmJiBPYmplY3Qua2V5cyhjbGVhbmVkRXh0cmEpLmxlbmd0aCkgewogICAgZXZlbnQuZXh0cmEgPSB7IC4uLmNsZWFuZWRFeHRyYSwgLi4uZXZlbnQuZXh0cmEgfTsKICB9CgogIGNvbnN0IGNsZWFuZWRUYWdzID0gZHJvcFVuZGVmaW5lZEtleXModGFncyk7CiAgaWYgKGNsZWFuZWRUYWdzICYmIE9iamVjdC5rZXlzKGNsZWFuZWRUYWdzKS5sZW5ndGgpIHsKICAgIGV2ZW50LnRhZ3MgPSB7IC4uLmNsZWFuZWRUYWdzLCAuLi5ldmVudC50YWdzIH07CiAgfQoKICBjb25zdCBjbGVhbmVkVXNlciA9IGRyb3BVbmRlZmluZWRLZXlzKHVzZXIpOwogIGlmIChjbGVhbmVkVXNlciAmJiBPYmplY3Qua2V5cyhjbGVhbmVkVXNlcikubGVuZ3RoKSB7CiAgICBldmVudC51c2VyID0geyAuLi5jbGVhbmVkVXNlciwgLi4uZXZlbnQudXNlciB9OwogIH0KCiAgY29uc3QgY2xlYW5lZENvbnRleHRzID0gZHJvcFVuZGVmaW5lZEtleXMoY29udGV4dHMpOwogIGlmIChjbGVhbmVkQ29udGV4dHMgJiYgT2JqZWN0LmtleXMoY2xlYW5lZENvbnRleHRzKS5sZW5ndGgpIHsKICAgIGV2ZW50LmNvbnRleHRzID0geyAuLi5jbGVhbmVkQ29udGV4dHMsIC4uLmV2ZW50LmNvbnRleHRzIH07CiAgfQoKICBpZiAobGV2ZWwpIHsKICAgIGV2ZW50LmxldmVsID0gbGV2ZWw7CiAgfQoKICBpZiAodHJhbnNhY3Rpb25OYW1lKSB7CiAgICBldmVudC50cmFuc2FjdGlvbiA9IHRyYW5zYWN0aW9uTmFtZTsKICB9Cn0KCmZ1bmN0aW9uIGFwcGx5QnJlYWRjcnVtYnNUb0V2ZW50KGV2ZW50LCBicmVhZGNydW1icykgewogIGNvbnN0IG1lcmdlZEJyZWFkY3J1bWJzID0gWy4uLihldmVudC5icmVhZGNydW1icyB8fCBbXSksIC4uLmJyZWFkY3J1bWJzXTsKICBldmVudC5icmVhZGNydW1icyA9IG1lcmdlZEJyZWFkY3J1bWJzLmxlbmd0aCA/IG1lcmdlZEJyZWFkY3J1bWJzIDogdW5kZWZpbmVkOwp9CgpmdW5jdGlvbiBhcHBseVNka01ldGFkYXRhVG9FdmVudChldmVudCwgc2RrUHJvY2Vzc2luZ01ldGFkYXRhKSB7CiAgZXZlbnQuc2RrUHJvY2Vzc2luZ01ldGFkYXRhID0gewogICAgLi4uZXZlbnQuc2RrUHJvY2Vzc2luZ01ldGFkYXRhLAogICAgLi4uc2RrUHJvY2Vzc2luZ01ldGFkYXRhLAogIH07Cn0KCmZ1bmN0aW9uIGFwcGx5U3BhblRvRXZlbnQoZXZlbnQsIHNwYW4pIHsKICBldmVudC5jb250ZXh0cyA9IHsgdHJhY2U6IHNwYW5Ub1RyYWNlQ29udGV4dChzcGFuKSwgLi4uZXZlbnQuY29udGV4dHMgfTsKICBjb25zdCByb290U3BhbiA9IGdldFJvb3RTcGFuKHNwYW4pOwogIGlmIChyb290U3BhbikgewogICAgZXZlbnQuc2RrUHJvY2Vzc2luZ01ldGFkYXRhID0gewogICAgICBkeW5hbWljU2FtcGxpbmdDb250ZXh0OiBnZXREeW5hbWljU2FtcGxpbmdDb250ZXh0RnJvbVNwYW4oc3BhbiksCiAgICAgIC4uLmV2ZW50LnNka1Byb2Nlc3NpbmdNZXRhZGF0YSwKICAgIH07CiAgICBjb25zdCB0cmFuc2FjdGlvbk5hbWUgPSBzcGFuVG9KU09OKHJvb3RTcGFuKS5kZXNjcmlwdGlvbjsKICAgIGlmICh0cmFuc2FjdGlvbk5hbWUpIHsKICAgICAgZXZlbnQudGFncyA9IHsgdHJhbnNhY3Rpb246IHRyYW5zYWN0aW9uTmFtZSwgLi4uZXZlbnQudGFncyB9OwogICAgfQogIH0KfQoKLyoqCiAqIEFwcGxpZXMgZmluZ2VycHJpbnQgZnJvbSB0aGUgc2NvcGUgdG8gdGhlIGV2ZW50IGlmIHRoZXJlJ3Mgb25lLAogKiB1c2VzIG1lc3NhZ2UgaWYgdGhlcmUncyBvbmUgaW5zdGVhZCBvciBnZXQgcmlkIG9mIGVtcHR5IGZpbmdlcnByaW50CiAqLwpmdW5jdGlvbiBhcHBseUZpbmdlcnByaW50VG9FdmVudChldmVudCwgZmluZ2VycHJpbnQpIHsKICAvLyBNYWtlIHN1cmUgaXQncyBhbiBhcnJheSBmaXJzdCBhbmQgd2UgYWN0dWFsbHkgaGF2ZSBzb21ldGhpbmcgaW4gcGxhY2UKICBldmVudC5maW5nZXJwcmludCA9IGV2ZW50LmZpbmdlcnByaW50ID8gYXJyYXlpZnkoZXZlbnQuZmluZ2VycHJpbnQpIDogW107CgogIC8vIElmIHdlIGhhdmUgc29tZXRoaW5nIG9uIHRoZSBzY29wZSwgdGhlbiBtZXJnZSBpdCB3aXRoIGV2ZW50CiAgaWYgKGZpbmdlcnByaW50KSB7CiAgICBldmVudC5maW5nZXJwcmludCA9IGV2ZW50LmZpbmdlcnByaW50LmNvbmNhdChmaW5nZXJwcmludCk7CiAgfQoKICAvLyBJZiB3ZSBoYXZlIG5vIGRhdGEgYXQgYWxsLCByZW1vdmUgZW1wdHkgYXJyYXkgZGVmYXVsdAogIGlmIChldmVudC5maW5nZXJwcmludCAmJiAhZXZlbnQuZmluZ2VycHJpbnQubGVuZ3RoKSB7CiAgICBkZWxldGUgZXZlbnQuZmluZ2VycHJpbnQ7CiAgfQp9CgovKioKICogRGVmYXVsdCB2YWx1ZSBmb3IgbWF4aW11bSBudW1iZXIgb2YgYnJlYWRjcnVtYnMgYWRkZWQgdG8gYW4gZXZlbnQuCiAqLwpjb25zdCBERUZBVUxUX01BWF9CUkVBRENSVU1CUyA9IDEwMDsKCi8qKgogKiBIb2xkcyBhZGRpdGlvbmFsIGV2ZW50IGluZm9ybWF0aW9uLiB7QGxpbmsgU2NvcGUuYXBwbHlUb0V2ZW50fSB3aWxsIGJlCiAqIGNhbGxlZCBieSB0aGUgY2xpZW50IGJlZm9yZSBhbiBldmVudCB3aWxsIGJlIHNlbnQuCiAqLwpjbGFzcyBTY29wZSAgewogIC8qKiBGbGFnIGlmIG5vdGlmeWluZyBpcyBoYXBwZW5pbmcuICovCgogIC8qKiBDYWxsYmFjayBmb3IgY2xpZW50IHRvIHJlY2VpdmUgc2NvcGUgY2hhbmdlcy4gKi8KCiAgLyoqIENhbGxiYWNrIGxpc3QgdGhhdCB3aWxsIGJlIGNhbGxlZCBhZnRlciB7QGxpbmsgYXBwbHlUb0V2ZW50fS4gKi8KCiAgLyoqIEFycmF5IG9mIGJyZWFkY3J1bWJzLiAqLwoKICAvKiogVXNlciAqLwoKICAvKiogVGFncyAqLwoKICAvKiogRXh0cmEgKi8KCiAgLyoqIENvbnRleHRzICovCgogIC8qKiBBdHRhY2htZW50cyAqLwoKICAvKiogUHJvcGFnYXRpb24gQ29udGV4dCBmb3IgZGlzdHJpYnV0ZWQgdHJhY2luZyAqLwoKICAvKioKICAgKiBBIHBsYWNlIHRvIHN0YXNoIGRhdGEgd2hpY2ggaXMgbmVlZGVkIGF0IHNvbWUgcG9pbnQgaW4gdGhlIFNESydzIGV2ZW50IHByb2Nlc3NpbmcgcGlwZWxpbmUgYnV0IHdoaWNoIHNob3VsZG4ndCBnZXQKICAgKiBzZW50IHRvIFNlbnRyeQogICAqLwoKICAvKiogRmluZ2VycHJpbnQgKi8KCiAgLyoqIFNldmVyaXR5ICovCiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCgogIC8qKgogICAqIFRyYW5zYWN0aW9uIE5hbWUKICAgKi8KCiAgLyoqIFNwYW4gKi8KCiAgLyoqIFNlc3Npb24gKi8KCiAgLyoqIFJlcXVlc3QgTW9kZSBTZXNzaW9uIFN0YXR1cyAqLwoKICAvKiogVGhlIGNsaWVudCBvbiB0aGlzIHNjb3BlICovCgogIC8vIE5PVEU6IEFueSBmaWVsZCB3aGljaCBnZXRzIGFkZGVkIGhlcmUgc2hvdWxkIGdldCBhZGRlZCBub3Qgb25seSB0byB0aGUgY29uc3RydWN0b3IgYnV0IGFsc28gdG8gdGhlIGBjbG9uZWAgbWV0aG9kLgoKICAgY29uc3RydWN0b3IoKSB7CiAgICB0aGlzLl9ub3RpZnlpbmdMaXN0ZW5lcnMgPSBmYWxzZTsKICAgIHRoaXMuX3Njb3BlTGlzdGVuZXJzID0gW107CiAgICB0aGlzLl9ldmVudFByb2Nlc3NvcnMgPSBbXTsKICAgIHRoaXMuX2JyZWFkY3J1bWJzID0gW107CiAgICB0aGlzLl9hdHRhY2htZW50cyA9IFtdOwogICAgdGhpcy5fdXNlciA9IHt9OwogICAgdGhpcy5fdGFncyA9IHt9OwogICAgdGhpcy5fZXh0cmEgPSB7fTsKICAgIHRoaXMuX2NvbnRleHRzID0ge307CiAgICB0aGlzLl9zZGtQcm9jZXNzaW5nTWV0YWRhdGEgPSB7fTsKICAgIHRoaXMuX3Byb3BhZ2F0aW9uQ29udGV4dCA9IGdlbmVyYXRlUHJvcGFnYXRpb25Db250ZXh0KCk7CiAgfQoKICAvKioKICAgKiBJbmhlcml0IHZhbHVlcyBmcm9tIHRoZSBwYXJlbnQgc2NvcGUuCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBzY29wZS5jbG9uZSgpYCBhbmQgYG5ldyBTY29wZSgpYCBpbnN0ZWFkLgogICAqLwogICBzdGF0aWMgY2xvbmUoc2NvcGUpIHsKICAgIHJldHVybiBzY29wZSA/IHNjb3BlLmNsb25lKCkgOiBuZXcgU2NvcGUoKTsKICB9CgogIC8qKgogICAqIENsb25lIHRoaXMgc2NvcGUgaW5zdGFuY2UuCiAgICovCiAgIGNsb25lKCkgewogICAgY29uc3QgbmV3U2NvcGUgPSBuZXcgU2NvcGUoKTsKICAgIG5ld1Njb3BlLl9icmVhZGNydW1icyA9IFsuLi50aGlzLl9icmVhZGNydW1ic107CiAgICBuZXdTY29wZS5fdGFncyA9IHsgLi4udGhpcy5fdGFncyB9OwogICAgbmV3U2NvcGUuX2V4dHJhID0geyAuLi50aGlzLl9leHRyYSB9OwogICAgbmV3U2NvcGUuX2NvbnRleHRzID0geyAuLi50aGlzLl9jb250ZXh0cyB9OwogICAgbmV3U2NvcGUuX3VzZXIgPSB0aGlzLl91c2VyOwogICAgbmV3U2NvcGUuX2xldmVsID0gdGhpcy5fbGV2ZWw7CiAgICBuZXdTY29wZS5fc3BhbiA9IHRoaXMuX3NwYW47CiAgICBuZXdTY29wZS5fc2Vzc2lvbiA9IHRoaXMuX3Nlc3Npb247CiAgICBuZXdTY29wZS5fdHJhbnNhY3Rpb25OYW1lID0gdGhpcy5fdHJhbnNhY3Rpb25OYW1lOwogICAgbmV3U2NvcGUuX2ZpbmdlcnByaW50ID0gdGhpcy5fZmluZ2VycHJpbnQ7CiAgICBuZXdTY29wZS5fZXZlbnRQcm9jZXNzb3JzID0gWy4uLnRoaXMuX2V2ZW50UHJvY2Vzc29yc107CiAgICBuZXdTY29wZS5fcmVxdWVzdFNlc3Npb24gPSB0aGlzLl9yZXF1ZXN0U2Vzc2lvbjsKICAgIG5ld1Njb3BlLl9hdHRhY2htZW50cyA9IFsuLi50aGlzLl9hdHRhY2htZW50c107CiAgICBuZXdTY29wZS5fc2RrUHJvY2Vzc2luZ01ldGFkYXRhID0geyAuLi50aGlzLl9zZGtQcm9jZXNzaW5nTWV0YWRhdGEgfTsKICAgIG5ld1Njb3BlLl9wcm9wYWdhdGlvbkNvbnRleHQgPSB7IC4uLnRoaXMuX3Byb3BhZ2F0aW9uQ29udGV4dCB9OwogICAgbmV3U2NvcGUuX2NsaWVudCA9IHRoaXMuX2NsaWVudDsKCiAgICByZXR1cm4gbmV3U2NvcGU7CiAgfQoKICAvKiogVXBkYXRlIHRoZSBjbGllbnQgb24gdGhlIHNjb3BlLiAqLwogICBzZXRDbGllbnQoY2xpZW50KSB7CiAgICB0aGlzLl9jbGllbnQgPSBjbGllbnQ7CiAgfQoKICAvKioKICAgKiBHZXQgdGhlIGNsaWVudCBhc3NpZ25lZCB0byB0aGlzIHNjb3BlLgogICAqCiAgICogSXQgaXMgZ2VuZXJhbGx5IHJlY29tbWVuZGVkIHRvIHVzZSB0aGUgZ2xvYmFsIGZ1bmN0aW9uIGBTZW50cnkuZ2V0Q2xpZW50KClgIGluc3RlYWQsIHVubGVzcyB5b3Uga25vdyB3aGF0IHlvdSBhcmUgZG9pbmcuCiAgICovCiAgIGdldENsaWVudCgpIHsKICAgIHJldHVybiB0aGlzLl9jbGllbnQ7CiAgfQoKICAvKioKICAgKiBBZGQgaW50ZXJuYWwgb24gY2hhbmdlIGxpc3RlbmVyLiBVc2VkIGZvciBzdWIgU0RLcyB0aGF0IG5lZWQgdG8gc3RvcmUgdGhlIHNjb3BlLgogICAqIEBoaWRkZW4KICAgKi8KICAgYWRkU2NvcGVMaXN0ZW5lcihjYWxsYmFjaykgewogICAgdGhpcy5fc2NvcGVMaXN0ZW5lcnMucHVzaChjYWxsYmFjayk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBhZGRFdmVudFByb2Nlc3NvcihjYWxsYmFjaykgewogICAgdGhpcy5fZXZlbnRQcm9jZXNzb3JzLnB1c2goY2FsbGJhY2spOwogICAgcmV0dXJuIHRoaXM7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBzZXRVc2VyKHVzZXIpIHsKICAgIC8vIElmIG51bGwgaXMgcGFzc2VkIHdlIHdhbnQgdG8gdW5zZXQgZXZlcnl0aGluZywgYnV0IHN0aWxsIGRlZmluZSBrZXlzLAogICAgLy8gc28gdGhhdCBsYXRlciBkb3duIGluIHRoZSBwaXBlbGluZSBhbnkgZXhpc3RpbmcgdmFsdWVzIGFyZSBjbGVhcmVkLgogICAgdGhpcy5fdXNlciA9IHVzZXIgfHwgewogICAgICBlbWFpbDogdW5kZWZpbmVkLAogICAgICBpZDogdW5kZWZpbmVkLAogICAgICBpcF9hZGRyZXNzOiB1bmRlZmluZWQsCiAgICAgIHNlZ21lbnQ6IHVuZGVmaW5lZCwKICAgICAgdXNlcm5hbWU6IHVuZGVmaW5lZCwKICAgIH07CgogICAgaWYgKHRoaXMuX3Nlc3Npb24pIHsKICAgICAgdXBkYXRlU2Vzc2lvbih0aGlzLl9zZXNzaW9uLCB7IHVzZXIgfSk7CiAgICB9CgogICAgdGhpcy5fbm90aWZ5U2NvcGVMaXN0ZW5lcnMoKTsKICAgIHJldHVybiB0aGlzOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgZ2V0VXNlcigpIHsKICAgIHJldHVybiB0aGlzLl91c2VyOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgZ2V0UmVxdWVzdFNlc3Npb24oKSB7CiAgICByZXR1cm4gdGhpcy5fcmVxdWVzdFNlc3Npb247CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBzZXRSZXF1ZXN0U2Vzc2lvbihyZXF1ZXN0U2Vzc2lvbikgewogICAgdGhpcy5fcmVxdWVzdFNlc3Npb24gPSByZXF1ZXN0U2Vzc2lvbjsKICAgIHJldHVybiB0aGlzOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgc2V0VGFncyh0YWdzKSB7CiAgICB0aGlzLl90YWdzID0gewogICAgICAuLi50aGlzLl90YWdzLAogICAgICAuLi50YWdzLAogICAgfTsKICAgIHRoaXMuX25vdGlmeVNjb3BlTGlzdGVuZXJzKCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgIHNldFRhZyhrZXksIHZhbHVlKSB7CiAgICB0aGlzLl90YWdzID0geyAuLi50aGlzLl90YWdzLCBba2V5XTogdmFsdWUgfTsKICAgIHRoaXMuX25vdGlmeVNjb3BlTGlzdGVuZXJzKCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgIHNldEV4dHJhcyhleHRyYXMpIHsKICAgIHRoaXMuX2V4dHJhID0gewogICAgICAuLi50aGlzLl9leHRyYSwKICAgICAgLi4uZXh0cmFzLAogICAgfTsKICAgIHRoaXMuX25vdGlmeVNjb3BlTGlzdGVuZXJzKCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgIHNldEV4dHJhKGtleSwgZXh0cmEpIHsKICAgIHRoaXMuX2V4dHJhID0geyAuLi50aGlzLl9leHRyYSwgW2tleV06IGV4dHJhIH07CiAgICB0aGlzLl9ub3RpZnlTY29wZUxpc3RlbmVycygpOwogICAgcmV0dXJuIHRoaXM7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBzZXRGaW5nZXJwcmludChmaW5nZXJwcmludCkgewogICAgdGhpcy5fZmluZ2VycHJpbnQgPSBmaW5nZXJwcmludDsKICAgIHRoaXMuX25vdGlmeVNjb3BlTGlzdGVuZXJzKCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgIHNldExldmVsKAogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICBsZXZlbCwKICApIHsKICAgIHRoaXMuX2xldmVsID0gbGV2ZWw7CiAgICB0aGlzLl9ub3RpZnlTY29wZUxpc3RlbmVycygpOwogICAgcmV0dXJuIHRoaXM7CiAgfQoKICAvKioKICAgKiBTZXRzIHRoZSB0cmFuc2FjdGlvbiBuYW1lIG9uIHRoZSBzY29wZSBmb3IgZnV0dXJlIGV2ZW50cy4KICAgKi8KICAgc2V0VHJhbnNhY3Rpb25OYW1lKG5hbWUpIHsKICAgIHRoaXMuX3RyYW5zYWN0aW9uTmFtZSA9IG5hbWU7CiAgICB0aGlzLl9ub3RpZnlTY29wZUxpc3RlbmVycygpOwogICAgcmV0dXJuIHRoaXM7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBzZXRDb250ZXh0KGtleSwgY29udGV4dCkgewogICAgaWYgKGNvbnRleHQgPT09IG51bGwpIHsKICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1keW5hbWljLWRlbGV0ZQogICAgICBkZWxldGUgdGhpcy5fY29udGV4dHNba2V5XTsKICAgIH0gZWxzZSB7CiAgICAgIHRoaXMuX2NvbnRleHRzW2tleV0gPSBjb250ZXh0OwogICAgfQoKICAgIHRoaXMuX25vdGlmeVNjb3BlTGlzdGVuZXJzKCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIFNldHMgdGhlIFNwYW4gb24gdGhlIHNjb3BlLgogICAqIEBwYXJhbSBzcGFuIFNwYW4KICAgKiBAZGVwcmVjYXRlZCBJbnN0ZWFkIG9mIHNldHRpbmcgYSBzcGFuIG9uIGEgc2NvcGUsIHVzZSBgc3RhcnRTcGFuKClgL2BzdGFydFNwYW5NYW51YWwoKWAgaW5zdGVhZC4KICAgKi8KICAgc2V0U3BhbihzcGFuKSB7CiAgICB0aGlzLl9zcGFuID0gc3BhbjsKICAgIHRoaXMuX25vdGlmeVNjb3BlTGlzdGVuZXJzKCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIFJldHVybnMgdGhlIGBTcGFuYCBpZiB0aGVyZSBpcyBvbmUuCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBnZXRBY3RpdmVTcGFuKClgIGluc3RlYWQuCiAgICovCiAgIGdldFNwYW4oKSB7CiAgICByZXR1cm4gdGhpcy5fc3BhbjsKICB9CgogIC8qKgogICAqIFJldHVybnMgdGhlIGBUcmFuc2FjdGlvbmAgYXR0YWNoZWQgdG8gdGhlIHNjb3BlIChpZiB0aGVyZSBpcyBvbmUpLgogICAqIEBkZXByZWNhdGVkIFlvdSBzaG91bGQgbm90IHJlbHkgb24gdGhlIHRyYW5zYWN0aW9uLCBidXQganVzdCB1c2UgYHN0YXJ0U3BhbigpYCBBUElzIGluc3RlYWQuCiAgICovCiAgIGdldFRyYW5zYWN0aW9uKCkgewogICAgLy8gT2Z0ZW4sIHRoaXMgc3BhbiAoaWYgaXQgZXhpc3RzIGF0IGFsbCkgd2lsbCBiZSBhIHRyYW5zYWN0aW9uLCBidXQgaXQncyBub3QgZ3VhcmFudGVlZCB0byBiZS4gUmVnYXJkbGVzcywgaXQgd2lsbAogICAgLy8gaGF2ZSBhIHBvaW50ZXIgdG8gdGhlIGN1cnJlbnRseS1hY3RpdmUgdHJhbnNhY3Rpb24uCiAgICBjb25zdCBzcGFuID0gdGhpcy5fc3BhbjsKICAgIC8vIENhbm5vdCByZXBsYWNlIHdpdGggZ2V0Um9vdFNwYW4gYmVjYXVzZSBnZXRSb290U3BhbiByZXR1cm5zIGEgc3Bhbiwgbm90IGEgdHJhbnNhY3Rpb24KICAgIC8vIEFsc28sIHRoaXMgbWV0aG9kIHdpbGwgYmUgcmVtb3ZlZCBhbnl3YXkuCiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIHJldHVybiBzcGFuICYmIHNwYW4udHJhbnNhY3Rpb247CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBzZXRTZXNzaW9uKHNlc3Npb24pIHsKICAgIGlmICghc2Vzc2lvbikgewogICAgICBkZWxldGUgdGhpcy5fc2Vzc2lvbjsKICAgIH0gZWxzZSB7CiAgICAgIHRoaXMuX3Nlc3Npb24gPSBzZXNzaW9uOwogICAgfQogICAgdGhpcy5fbm90aWZ5U2NvcGVMaXN0ZW5lcnMoKTsKICAgIHJldHVybiB0aGlzOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgZ2V0U2Vzc2lvbigpIHsKICAgIHJldHVybiB0aGlzLl9zZXNzaW9uOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgdXBkYXRlKGNhcHR1cmVDb250ZXh0KSB7CiAgICBpZiAoIWNhcHR1cmVDb250ZXh0KSB7CiAgICAgIHJldHVybiB0aGlzOwogICAgfQoKICAgIGNvbnN0IHNjb3BlVG9NZXJnZSA9IHR5cGVvZiBjYXB0dXJlQ29udGV4dCA9PT0gJ2Z1bmN0aW9uJyA/IGNhcHR1cmVDb250ZXh0KHRoaXMpIDogY2FwdHVyZUNvbnRleHQ7CgogICAgaWYgKHNjb3BlVG9NZXJnZSBpbnN0YW5jZW9mIFNjb3BlKSB7CiAgICAgIGNvbnN0IHNjb3BlRGF0YSA9IHNjb3BlVG9NZXJnZS5nZXRTY29wZURhdGEoKTsKCiAgICAgIHRoaXMuX3RhZ3MgPSB7IC4uLnRoaXMuX3RhZ3MsIC4uLnNjb3BlRGF0YS50YWdzIH07CiAgICAgIHRoaXMuX2V4dHJhID0geyAuLi50aGlzLl9leHRyYSwgLi4uc2NvcGVEYXRhLmV4dHJhIH07CiAgICAgIHRoaXMuX2NvbnRleHRzID0geyAuLi50aGlzLl9jb250ZXh0cywgLi4uc2NvcGVEYXRhLmNvbnRleHRzIH07CiAgICAgIGlmIChzY29wZURhdGEudXNlciAmJiBPYmplY3Qua2V5cyhzY29wZURhdGEudXNlcikubGVuZ3RoKSB7CiAgICAgICAgdGhpcy5fdXNlciA9IHNjb3BlRGF0YS51c2VyOwogICAgICB9CiAgICAgIGlmIChzY29wZURhdGEubGV2ZWwpIHsKICAgICAgICB0aGlzLl9sZXZlbCA9IHNjb3BlRGF0YS5sZXZlbDsKICAgICAgfQogICAgICBpZiAoc2NvcGVEYXRhLmZpbmdlcnByaW50Lmxlbmd0aCkgewogICAgICAgIHRoaXMuX2ZpbmdlcnByaW50ID0gc2NvcGVEYXRhLmZpbmdlcnByaW50OwogICAgICB9CiAgICAgIGlmIChzY29wZVRvTWVyZ2UuZ2V0UmVxdWVzdFNlc3Npb24oKSkgewogICAgICAgIHRoaXMuX3JlcXVlc3RTZXNzaW9uID0gc2NvcGVUb01lcmdlLmdldFJlcXVlc3RTZXNzaW9uKCk7CiAgICAgIH0KICAgICAgaWYgKHNjb3BlRGF0YS5wcm9wYWdhdGlvbkNvbnRleHQpIHsKICAgICAgICB0aGlzLl9wcm9wYWdhdGlvbkNvbnRleHQgPSBzY29wZURhdGEucHJvcGFnYXRpb25Db250ZXh0OwogICAgICB9CiAgICB9IGVsc2UgaWYgKGlzUGxhaW5PYmplY3Qoc2NvcGVUb01lcmdlKSkgewogICAgICBjb25zdCBzY29wZUNvbnRleHQgPSBjYXB0dXJlQ29udGV4dCA7CiAgICAgIHRoaXMuX3RhZ3MgPSB7IC4uLnRoaXMuX3RhZ3MsIC4uLnNjb3BlQ29udGV4dC50YWdzIH07CiAgICAgIHRoaXMuX2V4dHJhID0geyAuLi50aGlzLl9leHRyYSwgLi4uc2NvcGVDb250ZXh0LmV4dHJhIH07CiAgICAgIHRoaXMuX2NvbnRleHRzID0geyAuLi50aGlzLl9jb250ZXh0cywgLi4uc2NvcGVDb250ZXh0LmNvbnRleHRzIH07CiAgICAgIGlmIChzY29wZUNvbnRleHQudXNlcikgewogICAgICAgIHRoaXMuX3VzZXIgPSBzY29wZUNvbnRleHQudXNlcjsKICAgICAgfQogICAgICBpZiAoc2NvcGVDb250ZXh0LmxldmVsKSB7CiAgICAgICAgdGhpcy5fbGV2ZWwgPSBzY29wZUNvbnRleHQubGV2ZWw7CiAgICAgIH0KICAgICAgaWYgKHNjb3BlQ29udGV4dC5maW5nZXJwcmludCkgewogICAgICAgIHRoaXMuX2ZpbmdlcnByaW50ID0gc2NvcGVDb250ZXh0LmZpbmdlcnByaW50OwogICAgICB9CiAgICAgIGlmIChzY29wZUNvbnRleHQucmVxdWVzdFNlc3Npb24pIHsKICAgICAgICB0aGlzLl9yZXF1ZXN0U2Vzc2lvbiA9IHNjb3BlQ29udGV4dC5yZXF1ZXN0U2Vzc2lvbjsKICAgICAgfQogICAgICBpZiAoc2NvcGVDb250ZXh0LnByb3BhZ2F0aW9uQ29udGV4dCkgewogICAgICAgIHRoaXMuX3Byb3BhZ2F0aW9uQ29udGV4dCA9IHNjb3BlQ29udGV4dC5wcm9wYWdhdGlvbkNvbnRleHQ7CiAgICAgIH0KICAgIH0KCiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgIGNsZWFyKCkgewogICAgdGhpcy5fYnJlYWRjcnVtYnMgPSBbXTsKICAgIHRoaXMuX3RhZ3MgPSB7fTsKICAgIHRoaXMuX2V4dHJhID0ge307CiAgICB0aGlzLl91c2VyID0ge307CiAgICB0aGlzLl9jb250ZXh0cyA9IHt9OwogICAgdGhpcy5fbGV2ZWwgPSB1bmRlZmluZWQ7CiAgICB0aGlzLl90cmFuc2FjdGlvbk5hbWUgPSB1bmRlZmluZWQ7CiAgICB0aGlzLl9maW5nZXJwcmludCA9IHVuZGVmaW5lZDsKICAgIHRoaXMuX3JlcXVlc3RTZXNzaW9uID0gdW5kZWZpbmVkOwogICAgdGhpcy5fc3BhbiA9IHVuZGVmaW5lZDsKICAgIHRoaXMuX3Nlc3Npb24gPSB1bmRlZmluZWQ7CiAgICB0aGlzLl9ub3RpZnlTY29wZUxpc3RlbmVycygpOwogICAgdGhpcy5fYXR0YWNobWVudHMgPSBbXTsKICAgIHRoaXMuX3Byb3BhZ2F0aW9uQ29udGV4dCA9IGdlbmVyYXRlUHJvcGFnYXRpb25Db250ZXh0KCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgIGFkZEJyZWFkY3J1bWIoYnJlYWRjcnVtYiwgbWF4QnJlYWRjcnVtYnMpIHsKICAgIGNvbnN0IG1heENydW1icyA9IHR5cGVvZiBtYXhCcmVhZGNydW1icyA9PT0gJ251bWJlcicgPyBtYXhCcmVhZGNydW1icyA6IERFRkFVTFRfTUFYX0JSRUFEQ1JVTUJTOwoKICAgIC8vIE5vIGRhdGEgaGFzIGJlZW4gY2hhbmdlZCwgc28gZG9uJ3Qgbm90aWZ5IHNjb3BlIGxpc3RlbmVycwogICAgaWYgKG1heENydW1icyA8PSAwKSB7CiAgICAgIHJldHVybiB0aGlzOwogICAgfQoKICAgIGNvbnN0IG1lcmdlZEJyZWFkY3J1bWIgPSB7CiAgICAgIHRpbWVzdGFtcDogZGF0ZVRpbWVzdGFtcEluU2Vjb25kcygpLAogICAgICAuLi5icmVhZGNydW1iLAogICAgfTsKCiAgICBjb25zdCBicmVhZGNydW1icyA9IHRoaXMuX2JyZWFkY3J1bWJzOwogICAgYnJlYWRjcnVtYnMucHVzaChtZXJnZWRCcmVhZGNydW1iKTsKICAgIHRoaXMuX2JyZWFkY3J1bWJzID0gYnJlYWRjcnVtYnMubGVuZ3RoID4gbWF4Q3J1bWJzID8gYnJlYWRjcnVtYnMuc2xpY2UoLW1heENydW1icykgOiBicmVhZGNydW1iczsKCiAgICB0aGlzLl9ub3RpZnlTY29wZUxpc3RlbmVycygpOwoKICAgIHJldHVybiB0aGlzOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgZ2V0TGFzdEJyZWFkY3J1bWIoKSB7CiAgICByZXR1cm4gdGhpcy5fYnJlYWRjcnVtYnNbdGhpcy5fYnJlYWRjcnVtYnMubGVuZ3RoIC0gMV07CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBjbGVhckJyZWFkY3J1bWJzKCkgewogICAgdGhpcy5fYnJlYWRjcnVtYnMgPSBbXTsKICAgIHRoaXMuX25vdGlmeVNjb3BlTGlzdGVuZXJzKCk7CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgIGFkZEF0dGFjaG1lbnQoYXR0YWNobWVudCkgewogICAgdGhpcy5fYXR0YWNobWVudHMucHVzaChhdHRhY2htZW50KTsKICAgIHJldHVybiB0aGlzOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKiBAZGVwcmVjYXRlZCBVc2UgYGdldFNjb3BlRGF0YSgpYCBpbnN0ZWFkLgogICAqLwogICBnZXRBdHRhY2htZW50cygpIHsKICAgIGNvbnN0IGRhdGEgPSB0aGlzLmdldFNjb3BlRGF0YSgpOwoKICAgIHJldHVybiBkYXRhLmF0dGFjaG1lbnRzOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgY2xlYXJBdHRhY2htZW50cygpIHsKICAgIHRoaXMuX2F0dGFjaG1lbnRzID0gW107CiAgICByZXR1cm4gdGhpczsKICB9CgogIC8qKiBAaW5oZXJpdERvYyAqLwogICBnZXRTY29wZURhdGEoKSB7CiAgICBjb25zdCB7CiAgICAgIF9icmVhZGNydW1icywKICAgICAgX2F0dGFjaG1lbnRzLAogICAgICBfY29udGV4dHMsCiAgICAgIF90YWdzLAogICAgICBfZXh0cmEsCiAgICAgIF91c2VyLAogICAgICBfbGV2ZWwsCiAgICAgIF9maW5nZXJwcmludCwKICAgICAgX2V2ZW50UHJvY2Vzc29ycywKICAgICAgX3Byb3BhZ2F0aW9uQ29udGV4dCwKICAgICAgX3Nka1Byb2Nlc3NpbmdNZXRhZGF0YSwKICAgICAgX3RyYW5zYWN0aW9uTmFtZSwKICAgICAgX3NwYW4sCiAgICB9ID0gdGhpczsKCiAgICByZXR1cm4gewogICAgICBicmVhZGNydW1iczogX2JyZWFkY3J1bWJzLAogICAgICBhdHRhY2htZW50czogX2F0dGFjaG1lbnRzLAogICAgICBjb250ZXh0czogX2NvbnRleHRzLAogICAgICB0YWdzOiBfdGFncywKICAgICAgZXh0cmE6IF9leHRyYSwKICAgICAgdXNlcjogX3VzZXIsCiAgICAgIGxldmVsOiBfbGV2ZWwsCiAgICAgIGZpbmdlcnByaW50OiBfZmluZ2VycHJpbnQgfHwgW10sCiAgICAgIGV2ZW50UHJvY2Vzc29yczogX2V2ZW50UHJvY2Vzc29ycywKICAgICAgcHJvcGFnYXRpb25Db250ZXh0OiBfcHJvcGFnYXRpb25Db250ZXh0LAogICAgICBzZGtQcm9jZXNzaW5nTWV0YWRhdGE6IF9zZGtQcm9jZXNzaW5nTWV0YWRhdGEsCiAgICAgIHRyYW5zYWN0aW9uTmFtZTogX3RyYW5zYWN0aW9uTmFtZSwKICAgICAgc3BhbjogX3NwYW4sCiAgICB9OwogIH0KCiAgLyoqCiAgICogQXBwbGllcyBkYXRhIGZyb20gdGhlIHNjb3BlIHRvIHRoZSBldmVudCBhbmQgcnVucyBhbGwgZXZlbnQgcHJvY2Vzc29ycyBvbiBpdC4KICAgKgogICAqIEBwYXJhbSBldmVudCBFdmVudAogICAqIEBwYXJhbSBoaW50IE9iamVjdCBjb250YWluaW5nIGFkZGl0aW9uYWwgaW5mb3JtYXRpb24gYWJvdXQgdGhlIG9yaWdpbmFsIGV4Y2VwdGlvbiwgZm9yIHVzZSBieSB0aGUgZXZlbnQgcHJvY2Vzc29ycy4KICAgKiBAaGlkZGVuCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBhcHBseVNjb3BlRGF0YVRvRXZlbnQoKWAgZGlyZWN0bHkKICAgKi8KICAgYXBwbHlUb0V2ZW50KAogICAgZXZlbnQsCiAgICBoaW50ID0ge30sCiAgICBhZGRpdGlvbmFsRXZlbnRQcm9jZXNzb3JzID0gW10sCiAgKSB7CiAgICBhcHBseVNjb3BlRGF0YVRvRXZlbnQoZXZlbnQsIHRoaXMuZ2V0U2NvcGVEYXRhKCkpOwoKICAgIC8vIFRPRE8gKHY4KTogVXBkYXRlIHRoaXMgb3JkZXIgdG8gYmU6IEdsb2JhbCA+IENsaWVudCA+IFNjb3BlCiAgICBjb25zdCBldmVudFByb2Nlc3NvcnMgPSBbCiAgICAgIC4uLmFkZGl0aW9uYWxFdmVudFByb2Nlc3NvcnMsCiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgICAuLi5nZXRHbG9iYWxFdmVudFByb2Nlc3NvcnMoKSwKICAgICAgLi4udGhpcy5fZXZlbnRQcm9jZXNzb3JzLAogICAgXTsKCiAgICByZXR1cm4gbm90aWZ5RXZlbnRQcm9jZXNzb3JzKGV2ZW50UHJvY2Vzc29ycywgZXZlbnQsIGhpbnQpOwogIH0KCiAgLyoqCiAgICogQWRkIGRhdGEgd2hpY2ggd2lsbCBiZSBhY2Nlc3NpYmxlIGR1cmluZyBldmVudCBwcm9jZXNzaW5nIGJ1dCB3b24ndCBnZXQgc2VudCB0byBTZW50cnkKICAgKi8KICAgc2V0U0RLUHJvY2Vzc2luZ01ldGFkYXRhKG5ld0RhdGEpIHsKICAgIHRoaXMuX3Nka1Byb2Nlc3NpbmdNZXRhZGF0YSA9IHsgLi4udGhpcy5fc2RrUHJvY2Vzc2luZ01ldGFkYXRhLCAuLi5uZXdEYXRhIH07CgogICAgcmV0dXJuIHRoaXM7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqLwogICBzZXRQcm9wYWdhdGlvbkNvbnRleHQoY29udGV4dCkgewogICAgdGhpcy5fcHJvcGFnYXRpb25Db250ZXh0ID0gY29udGV4dDsKICAgIHJldHVybiB0aGlzOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKi8KICAgZ2V0UHJvcGFnYXRpb25Db250ZXh0KCkgewogICAgcmV0dXJuIHRoaXMuX3Byb3BhZ2F0aW9uQ29udGV4dDsKICB9CgogIC8qKgogICAqIENhcHR1cmUgYW4gZXhjZXB0aW9uIGZvciB0aGlzIHNjb3BlLgogICAqCiAgICogQHBhcmFtIGV4Y2VwdGlvbiBUaGUgZXhjZXB0aW9uIHRvIGNhcHR1cmUuCiAgICogQHBhcmFtIGhpbnQgT3B0aW5hbCBhZGRpdGlvbmFsIGRhdGEgdG8gYXR0YWNoIHRvIHRoZSBTZW50cnkgZXZlbnQuCiAgICogQHJldHVybnMgdGhlIGlkIG9mIHRoZSBjYXB0dXJlZCBTZW50cnkgZXZlbnQuCiAgICovCiAgIGNhcHR1cmVFeGNlcHRpb24oZXhjZXB0aW9uLCBoaW50KSB7CiAgICBjb25zdCBldmVudElkID0gaGludCAmJiBoaW50LmV2ZW50X2lkID8gaGludC5ldmVudF9pZCA6IHV1aWQ0KCk7CgogICAgaWYgKCF0aGlzLl9jbGllbnQpIHsKICAgICAgbG9nZ2VyLndhcm4oJ05vIGNsaWVudCBjb25maWd1cmVkIG9uIHNjb3BlIC0gd2lsbCBub3QgY2FwdHVyZSBleGNlcHRpb24hJyk7CiAgICAgIHJldHVybiBldmVudElkOwogICAgfQoKICAgIGNvbnN0IHN5bnRoZXRpY0V4Y2VwdGlvbiA9IG5ldyBFcnJvcignU2VudHJ5IHN5bnRoZXRpY0V4Y2VwdGlvbicpOwoKICAgIHRoaXMuX2NsaWVudC5jYXB0dXJlRXhjZXB0aW9uKAogICAgICBleGNlcHRpb24sCiAgICAgIHsKICAgICAgICBvcmlnaW5hbEV4Y2VwdGlvbjogZXhjZXB0aW9uLAogICAgICAgIHN5bnRoZXRpY0V4Y2VwdGlvbiwKICAgICAgICAuLi5oaW50LAogICAgICAgIGV2ZW50X2lkOiBldmVudElkLAogICAgICB9LAogICAgICB0aGlzLAogICAgKTsKCiAgICByZXR1cm4gZXZlbnRJZDsKICB9CgogIC8qKgogICAqIENhcHR1cmUgYSBtZXNzYWdlIGZvciB0aGlzIHNjb3BlLgogICAqCiAgICogQHBhcmFtIG1lc3NhZ2UgVGhlIG1lc3NhZ2UgdG8gY2FwdHVyZS4KICAgKiBAcGFyYW0gbGV2ZWwgQW4gb3B0aW9uYWwgc2V2ZXJpdHkgbGV2ZWwgdG8gcmVwb3J0IHRoZSBtZXNzYWdlIHdpdGguCiAgICogQHBhcmFtIGhpbnQgT3B0aW9uYWwgYWRkaXRpb25hbCBkYXRhIHRvIGF0dGFjaCB0byB0aGUgU2VudHJ5IGV2ZW50LgogICAqIEByZXR1cm5zIHRoZSBpZCBvZiB0aGUgY2FwdHVyZWQgbWVzc2FnZS4KICAgKi8KICAgY2FwdHVyZU1lc3NhZ2UobWVzc2FnZSwgbGV2ZWwsIGhpbnQpIHsKICAgIGNvbnN0IGV2ZW50SWQgPSBoaW50ICYmIGhpbnQuZXZlbnRfaWQgPyBoaW50LmV2ZW50X2lkIDogdXVpZDQoKTsKCiAgICBpZiAoIXRoaXMuX2NsaWVudCkgewogICAgICBsb2dnZXIud2FybignTm8gY2xpZW50IGNvbmZpZ3VyZWQgb24gc2NvcGUgLSB3aWxsIG5vdCBjYXB0dXJlIG1lc3NhZ2UhJyk7CiAgICAgIHJldHVybiBldmVudElkOwogICAgfQoKICAgIGNvbnN0IHN5bnRoZXRpY0V4Y2VwdGlvbiA9IG5ldyBFcnJvcihtZXNzYWdlKTsKCiAgICB0aGlzLl9jbGllbnQuY2FwdHVyZU1lc3NhZ2UoCiAgICAgIG1lc3NhZ2UsCiAgICAgIGxldmVsLAogICAgICB7CiAgICAgICAgb3JpZ2luYWxFeGNlcHRpb246IG1lc3NhZ2UsCiAgICAgICAgc3ludGhldGljRXhjZXB0aW9uLAogICAgICAgIC4uLmhpbnQsCiAgICAgICAgZXZlbnRfaWQ6IGV2ZW50SWQsCiAgICAgIH0sCiAgICAgIHRoaXMsCiAgICApOwoKICAgIHJldHVybiBldmVudElkOwogIH0KCiAgLyoqCiAgICogQ2FwdHVyZXMgYSBtYW51YWxseSBjcmVhdGVkIGV2ZW50IGZvciB0aGlzIHNjb3BlIGFuZCBzZW5kcyBpdCB0byBTZW50cnkuCiAgICoKICAgKiBAcGFyYW0gZXhjZXB0aW9uIFRoZSBldmVudCB0byBjYXB0dXJlLgogICAqIEBwYXJhbSBoaW50IE9wdGlvbmFsIGFkZGl0aW9uYWwgZGF0YSB0byBhdHRhY2ggdG8gdGhlIFNlbnRyeSBldmVudC4KICAgKiBAcmV0dXJucyB0aGUgaWQgb2YgdGhlIGNhcHR1cmVkIGV2ZW50LgogICAqLwogICBjYXB0dXJlRXZlbnQoZXZlbnQsIGhpbnQpIHsKICAgIGNvbnN0IGV2ZW50SWQgPSBoaW50ICYmIGhpbnQuZXZlbnRfaWQgPyBoaW50LmV2ZW50X2lkIDogdXVpZDQoKTsKCiAgICBpZiAoIXRoaXMuX2NsaWVudCkgewogICAgICBsb2dnZXIud2FybignTm8gY2xpZW50IGNvbmZpZ3VyZWQgb24gc2NvcGUgLSB3aWxsIG5vdCBjYXB0dXJlIGV2ZW50IScpOwogICAgICByZXR1cm4gZXZlbnRJZDsKICAgIH0KCiAgICB0aGlzLl9jbGllbnQuY2FwdHVyZUV2ZW50KGV2ZW50LCB7IC4uLmhpbnQsIGV2ZW50X2lkOiBldmVudElkIH0sIHRoaXMpOwoKICAgIHJldHVybiBldmVudElkOwogIH0KCiAgLyoqCiAgICogVGhpcyB3aWxsIGJlIGNhbGxlZCBvbiBldmVyeSBzZXQgY2FsbC4KICAgKi8KICAgX25vdGlmeVNjb3BlTGlzdGVuZXJzKCkgewogICAgLy8gV2UgbmVlZCB0aGlzIGNoZWNrIGZvciB0aGlzLl9ub3RpZnlpbmdMaXN0ZW5lcnMgdG8gYmUgYWJsZSB0byB3b3JrIG9uIHNjb3BlIGR1cmluZyB1cGRhdGVzCiAgICAvLyBJZiB0aGlzIGNoZWNrIGlzIG5vdCBoZXJlIHdlJ2xsIHByb2R1Y2UgZW5kbGVzcyByZWN1cnNpb24gd2hlbiBzb21ldGhpbmcgaXMgZG9uZSB3aXRoIHRoZSBzY29wZQogICAgLy8gZHVyaW5nIHRoZSBjYWxsYmFjay4KICAgIGlmICghdGhpcy5fbm90aWZ5aW5nTGlzdGVuZXJzKSB7CiAgICAgIHRoaXMuX25vdGlmeWluZ0xpc3RlbmVycyA9IHRydWU7CiAgICAgIHRoaXMuX3Njb3BlTGlzdGVuZXJzLmZvckVhY2goY2FsbGJhY2sgPT4gewogICAgICAgIGNhbGxiYWNrKHRoaXMpOwogICAgICB9KTsKICAgICAgdGhpcy5fbm90aWZ5aW5nTGlzdGVuZXJzID0gZmFsc2U7CiAgICB9CiAgfQp9CgpmdW5jdGlvbiBnZW5lcmF0ZVByb3BhZ2F0aW9uQ29udGV4dCgpIHsKICByZXR1cm4gewogICAgdHJhY2VJZDogdXVpZDQoKSwKICAgIHNwYW5JZDogdXVpZDQoKS5zdWJzdHJpbmcoMTYpLAogIH07Cn0KCmNvbnN0IFNES19WRVJTSU9OID0gJzcuMTEyLjAnOwoKLyoqCiAqIEFQSSBjb21wYXRpYmlsaXR5IHZlcnNpb24gb2YgdGhpcyBodWIuCiAqCiAqIFdBUk5JTkc6IFRoaXMgbnVtYmVyIHNob3VsZCBvbmx5IGJlIGluY3JlYXNlZCB3aGVuIHRoZSBnbG9iYWwgaW50ZXJmYWNlCiAqIGNoYW5nZXMgYW5kIG5ldyBtZXRob2RzIGFyZSBpbnRyb2R1Y2VkLgogKgogKiBAaGlkZGVuCiAqLwpjb25zdCBBUElfVkVSU0lPTiA9IHBhcnNlRmxvYXQoU0RLX1ZFUlNJT04pOwoKLyoqCiAqIERlZmF1bHQgbWF4aW11bSBudW1iZXIgb2YgYnJlYWRjcnVtYnMgYWRkZWQgdG8gYW4gZXZlbnQuIENhbiBiZSBvdmVyd3JpdHRlbgogKiB3aXRoIHtAbGluayBPcHRpb25zLm1heEJyZWFkY3J1bWJzfS4KICovCmNvbnN0IERFRkFVTFRfQlJFQURDUlVNQlMgPSAxMDA7CgovKioKICogQGRlcHJlY2F0ZWQgVGhlIGBIdWJgIGNsYXNzIHdpbGwgYmUgcmVtb3ZlZCBpbiB2ZXJzaW9uIDggb2YgdGhlIFNESyBpbiBmYXZvdXIgb2YgYFNjb3BlYCBhbmQgYENsaWVudGAgb2JqZWN0cy4KICoKICogSWYgeW91IHByZXZpb3VzbHkgdXNlZCB0aGUgYEh1YmAgY2xhc3MgZGlyZWN0bHksIHJlcGxhY2UgaXQgd2l0aCBgU2NvcGVgIGFuZCBgQ2xpZW50YCBvYmplY3RzLiBNb3JlIGluZm9ybWF0aW9uOgogKiAtIFtNdWx0aXBsZSBTZW50cnkgSW5zdGFuY2VzXShodHRwczovL2RvY3Muc2VudHJ5LmlvL3BsYXRmb3Jtcy9qYXZhc2NyaXB0L2Jlc3QtcHJhY3RpY2VzL211bHRpcGxlLXNlbnRyeS1pbnN0YW5jZXMvKQogKiAtIFtCcm93c2VyIEV4dGVuc2lvbnNdKGh0dHBzOi8vZG9jcy5zZW50cnkuaW8vcGxhdGZvcm1zL2phdmFzY3JpcHQvYmVzdC1wcmFjdGljZXMvYnJvd3Nlci1leHRlbnNpb25zLykKICoKICogU29tZSBvZiBvdXIgQVBJcyBhcmUgdHlwZWQgd2l0aCB0aGUgSHViIGNsYXNzIGluc3RlYWQgb2YgdGhlIGludGVyZmFjZSAoZS5nLiBgZ2V0Q3VycmVudEh1YmApLiBNb3N0IG9mIHRoZW0gYXJlIGRlcHJlY2F0ZWQKICogdGhlbXNlbHZlcyBhbmQgd2lsbCBhbHNvIGJlIHJlbW92ZWQgaW4gdmVyc2lvbiA4LiBNb3JlIGluZm9ybWF0aW9uOgogKiAtIFtNaWdyYXRpb24gR3VpZGVdKGh0dHBzOi8vZ2l0aHViLmNvbS9nZXRzZW50cnkvc2VudHJ5LWphdmFzY3JpcHQvYmxvYi9kZXZlbG9wL01JR1JBVElPTi5tZCNkZXByZWNhdGUtaHViKQogKi8KLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCmNsYXNzIEh1YiAgewogIC8qKiBJcyBhIHtAbGluayBMYXllcn1bXSBjb250YWluaW5nIHRoZSBjbGllbnQgYW5kIHNjb3BlICovCgogIC8qKiBDb250YWlucyB0aGUgbGFzdCBldmVudCBpZCBvZiBhIGNhcHR1cmVkIGV2ZW50LiAgKi8KCiAgLyoqCiAgICogQ3JlYXRlcyBhIG5ldyBpbnN0YW5jZSBvZiB0aGUgaHViLCB3aWxsIHB1c2ggb25lIHtAbGluayBMYXllcn0gaW50byB0aGUKICAgKiBpbnRlcm5hbCBzdGFjayBvbiBjcmVhdGlvbi4KICAgKgogICAqIEBwYXJhbSBjbGllbnQgYm91bmQgdG8gdGhlIGh1Yi4KICAgKiBAcGFyYW0gc2NvcGUgYm91bmQgdG8gdGhlIGh1Yi4KICAgKiBAcGFyYW0gdmVyc2lvbiBudW1iZXIsIGhpZ2hlciBudW1iZXIgbWVhbnMgaGlnaGVyIHByaW9yaXR5LgogICAqCiAgICogQGRlcHJlY2F0ZWQgSW5zdGFudGlhdGlvbiBvZiBIdWIgb2JqZWN0cyBpcyBkZXByZWNhdGVkIGFuZCB0aGUgY29uc3RydWN0b3Igd2lsbCBiZSByZW1vdmVkIGluIHZlcnNpb24gOCBvZiB0aGUgU0RLLgogICAqCiAgICogSWYgeW91IGFyZSBjdXJyZW50bHkgdXNpbmcgdGhlIEh1YiBmb3IgbXVsdGktY2xpZW50IHVzZSBsaWtlIHNvOgogICAqCiAgICogYGBgCiAgICogLy8gT0xECiAgICogY29uc3QgaHViID0gbmV3IEh1YigpOwogICAqIGh1Yi5iaW5kQ2xpZW50KGNsaWVudCk7CiAgICogbWFrZU1haW4oaHViKQogICAqIGBgYAogICAqCiAgICogaW5zdGVhZCBpbml0aWFsaXplIHRoZSBjbGllbnQgYXMgZm9sbG93czoKICAgKgogICAqIGBgYAogICAqIC8vIE5FVwogICAqIFNlbnRyeS53aXRoSXNvbGF0aW9uU2NvcGUoKCkgPT4gewogICAqICAgIFNlbnRyeS5zZXRDdXJyZW50Q2xpZW50KGNsaWVudCk7CiAgICogICAgY2xpZW50LmluaXQoKTsKICAgKiB9KTsKICAgKiBgYGAKICAgKgogICAqIElmIHlvdSBhcmUgdXNpbmcgdGhlIEh1YiB0byBjYXB0dXJlIGV2ZW50cyBsaWtlIHNvOgogICAqCiAgICogYGBgCiAgICogLy8gT0xECiAgICogY29uc3QgY2xpZW50ID0gbmV3IENsaWVudCgpOwogICAqIGNvbnN0IGh1YiA9IG5ldyBIdWIoY2xpZW50KTsKICAgKiBodWIuY2FwdHVyZUV4Y2VwdGlvbigpCiAgICogYGBgCiAgICoKICAgKiBpbnN0ZWFkIGNhcHR1cmUgaXNvbGF0ZWQgZXZlbnRzIGFzIGZvbGxvd3M6CiAgICoKICAgKiBgYGAKICAgKiAvLyBORVcKICAgKiBjb25zdCBjbGllbnQgPSBuZXcgQ2xpZW50KCk7CiAgICogY29uc3Qgc2NvcGUgPSBuZXcgU2NvcGUoKTsKICAgKiBzY29wZS5zZXRDbGllbnQoY2xpZW50KTsKICAgKiBzY29wZS5jYXB0dXJlRXhjZXB0aW9uKCk7CiAgICogYGBgCiAgICovCiAgIGNvbnN0cnVjdG9yKAogICAgY2xpZW50LAogICAgc2NvcGUsCiAgICBpc29sYXRpb25TY29wZSwKICAgICAgX3ZlcnNpb24gPSBBUElfVkVSU0lPTiwKICApIHt0aGlzLl92ZXJzaW9uID0gX3ZlcnNpb247CiAgICBsZXQgYXNzaWduZWRTY29wZTsKICAgIGlmICghc2NvcGUpIHsKICAgICAgYXNzaWduZWRTY29wZSA9IG5ldyBTY29wZSgpOwogICAgICBhc3NpZ25lZFNjb3BlLnNldENsaWVudChjbGllbnQpOwogICAgfSBlbHNlIHsKICAgICAgYXNzaWduZWRTY29wZSA9IHNjb3BlOwogICAgfQoKICAgIGxldCBhc3NpZ25lZElzb2xhdGlvblNjb3BlOwogICAgaWYgKCFpc29sYXRpb25TY29wZSkgewogICAgICBhc3NpZ25lZElzb2xhdGlvblNjb3BlID0gbmV3IFNjb3BlKCk7CiAgICAgIGFzc2lnbmVkSXNvbGF0aW9uU2NvcGUuc2V0Q2xpZW50KGNsaWVudCk7CiAgICB9IGVsc2UgewogICAgICBhc3NpZ25lZElzb2xhdGlvblNjb3BlID0gaXNvbGF0aW9uU2NvcGU7CiAgICB9CgogICAgdGhpcy5fc3RhY2sgPSBbeyBzY29wZTogYXNzaWduZWRTY29wZSB9XTsKCiAgICBpZiAoY2xpZW50KSB7CiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgICB0aGlzLmJpbmRDbGllbnQoY2xpZW50KTsKICAgIH0KCiAgICB0aGlzLl9pc29sYXRpb25TY29wZSA9IGFzc2lnbmVkSXNvbGF0aW9uU2NvcGU7CiAgfQoKICAvKioKICAgKiBDaGVja3MgaWYgdGhpcyBodWIncyB2ZXJzaW9uIGlzIG9sZGVyIHRoYW4gdGhlIGdpdmVuIHZlcnNpb24uCiAgICoKICAgKiBAcGFyYW0gdmVyc2lvbiBBIHZlcnNpb24gbnVtYmVyIHRvIGNvbXBhcmUgdG8uCiAgICogQHJldHVybiBUcnVlIGlmIHRoZSBnaXZlbiB2ZXJzaW9uIGlzIG5ld2VyOyBvdGhlcndpc2UgZmFsc2UuCiAgICoKICAgKiBAZGVwcmVjYXRlZCBUaGlzIHdpbGwgYmUgcmVtb3ZlZCBpbiB2OC4KICAgKi8KICAgaXNPbGRlclRoYW4odmVyc2lvbikgewogICAgcmV0dXJuIHRoaXMuX3ZlcnNpb24gPCB2ZXJzaW9uOwogIH0KCiAgLyoqCiAgICogVGhpcyBiaW5kcyB0aGUgZ2l2ZW4gY2xpZW50IHRvIHRoZSBjdXJyZW50IHNjb3BlLgogICAqIEBwYXJhbSBjbGllbnQgQW4gU0RLIGNsaWVudCAoY2xpZW50KSBpbnN0YW5jZS4KICAgKgogICAqIEBkZXByZWNhdGVkIFVzZSBgaW5pdEFuZEJpbmQoKWAgZGlyZWN0bHksIG9yIGBzZXRDdXJyZW50Q2xpZW50KClgIGFuZC9vciBgY2xpZW50LmluaXQoKWAgaW5zdGVhZC4KICAgKi8KICAgYmluZENsaWVudChjbGllbnQpIHsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgY29uc3QgdG9wID0gdGhpcy5nZXRTdGFja1RvcCgpOwogICAgdG9wLmNsaWVudCA9IGNsaWVudDsKICAgIHRvcC5zY29wZS5zZXRDbGllbnQoY2xpZW50KTsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgaWYgKGNsaWVudCAmJiBjbGllbnQuc2V0dXBJbnRlZ3JhdGlvbnMpIHsKICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICAgIGNsaWVudC5zZXR1cEludGVncmF0aW9ucygpOwogICAgfQogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKgogICAqIEBkZXByZWNhdGVkIFVzZSBgd2l0aFNjb3BlYCBpbnN0ZWFkLgogICAqLwogICBwdXNoU2NvcGUoKSB7CiAgICAvLyBXZSB3YW50IHRvIGNsb25lIHRoZSBjb250ZW50IG9mIHByZXYgc2NvcGUKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgY29uc3Qgc2NvcGUgPSB0aGlzLmdldFNjb3BlKCkuY2xvbmUoKTsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5nZXRTdGFjaygpLnB1c2goewogICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgICAgY2xpZW50OiB0aGlzLmdldENsaWVudCgpLAogICAgICBzY29wZSwKICAgIH0pOwogICAgcmV0dXJuIHNjb3BlOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKgogICAqIEBkZXByZWNhdGVkIFVzZSBgd2l0aFNjb3BlYCBpbnN0ZWFkLgogICAqLwogICBwb3BTY29wZSgpIHsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgaWYgKHRoaXMuZ2V0U3RhY2soKS5sZW5ndGggPD0gMSkgcmV0dXJuIGZhbHNlOwogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICByZXR1cm4gISF0aGlzLmdldFN0YWNrKCkucG9wKCk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBTZW50cnkud2l0aFNjb3BlKClgIGluc3RlYWQuCiAgICovCiAgIHdpdGhTY29wZShjYWxsYmFjaykgewogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICBjb25zdCBzY29wZSA9IHRoaXMucHVzaFNjb3BlKCk7CgogICAgbGV0IG1heWJlUHJvbWlzZVJlc3VsdDsKICAgIHRyeSB7CiAgICAgIG1heWJlUHJvbWlzZVJlc3VsdCA9IGNhbGxiYWNrKHNjb3BlKTsKICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICAgIHRoaXMucG9wU2NvcGUoKTsKICAgICAgdGhyb3cgZTsKICAgIH0KCiAgICBpZiAoaXNUaGVuYWJsZShtYXliZVByb21pc2VSZXN1bHQpKSB7CiAgICAgIC8vIEB0cy1leHBlY3QtZXJyb3IgLSBpc1RoZW5hYmxlIHJldHVybnMgdGhlIHdyb25nIHR5cGUKICAgICAgcmV0dXJuIG1heWJlUHJvbWlzZVJlc3VsdC50aGVuKAogICAgICAgIHJlcyA9PiB7CiAgICAgICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgICAgICAgIHRoaXMucG9wU2NvcGUoKTsKICAgICAgICAgIHJldHVybiByZXM7CiAgICAgICAgfSwKICAgICAgICBlID0+IHsKICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgICAgICAgdGhpcy5wb3BTY29wZSgpOwogICAgICAgICAgdGhyb3cgZTsKICAgICAgICB9LAogICAgICApOwogICAgfQoKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5wb3BTY29wZSgpOwogICAgcmV0dXJuIG1heWJlUHJvbWlzZVJlc3VsdDsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICoKICAgKiBAZGVwcmVjYXRlZCBVc2UgYFNlbnRyeS5nZXRDbGllbnQoKWAgaW5zdGVhZC4KICAgKi8KICAgZ2V0Q2xpZW50KCkgewogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICByZXR1cm4gdGhpcy5nZXRTdGFja1RvcCgpLmNsaWVudCA7CiAgfQoKICAvKioKICAgKiBSZXR1cm5zIHRoZSBzY29wZSBvZiB0aGUgdG9wIHN0YWNrLgogICAqCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBTZW50cnkuZ2V0Q3VycmVudFNjb3BlKClgIGluc3RlYWQuCiAgICovCiAgIGdldFNjb3BlKCkgewogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICByZXR1cm4gdGhpcy5nZXRTdGFja1RvcCgpLnNjb3BlOwogIH0KCiAgLyoqCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBTZW50cnkuZ2V0SXNvbGF0aW9uU2NvcGUoKWAgaW5zdGVhZC4KICAgKi8KICAgZ2V0SXNvbGF0aW9uU2NvcGUoKSB7CiAgICByZXR1cm4gdGhpcy5faXNvbGF0aW9uU2NvcGU7CiAgfQoKICAvKioKICAgKiBSZXR1cm5zIHRoZSBzY29wZSBzdGFjayBmb3IgZG9tYWlucyBvciB0aGUgcHJvY2Vzcy4KICAgKiBAZGVwcmVjYXRlZCBUaGlzIHdpbGwgYmUgcmVtb3ZlZCBpbiB2OC4KICAgKi8KICAgZ2V0U3RhY2soKSB7CiAgICByZXR1cm4gdGhpcy5fc3RhY2s7CiAgfQoKICAvKioKICAgKiBSZXR1cm5zIHRoZSB0b3Btb3N0IHNjb3BlIGxheWVyIGluIHRoZSBvcmRlciBkb21haW4gPiBsb2NhbCA+IHByb2Nlc3MuCiAgICogQGRlcHJlY2F0ZWQgVGhpcyB3aWxsIGJlIHJlbW92ZWQgaW4gdjguCiAgICovCiAgIGdldFN0YWNrVG9wKCkgewogICAgcmV0dXJuIHRoaXMuX3N0YWNrW3RoaXMuX3N0YWNrLmxlbmd0aCAtIDFdOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKgogICAqIEBkZXByZWNhdGVkIFVzZSBgU2VudHJ5LmNhcHR1cmVFeGNlcHRpb24oKWAgaW5zdGVhZC4KICAgKi8KICAgY2FwdHVyZUV4Y2VwdGlvbihleGNlcHRpb24sIGhpbnQpIHsKICAgIGNvbnN0IGV2ZW50SWQgPSAodGhpcy5fbGFzdEV2ZW50SWQgPSBoaW50ICYmIGhpbnQuZXZlbnRfaWQgPyBoaW50LmV2ZW50X2lkIDogdXVpZDQoKSk7CiAgICBjb25zdCBzeW50aGV0aWNFeGNlcHRpb24gPSBuZXcgRXJyb3IoJ1NlbnRyeSBzeW50aGV0aWNFeGNlcHRpb24nKTsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5nZXRTY29wZSgpLmNhcHR1cmVFeGNlcHRpb24oZXhjZXB0aW9uLCB7CiAgICAgIG9yaWdpbmFsRXhjZXB0aW9uOiBleGNlcHRpb24sCiAgICAgIHN5bnRoZXRpY0V4Y2VwdGlvbiwKICAgICAgLi4uaGludCwKICAgICAgZXZlbnRfaWQ6IGV2ZW50SWQsCiAgICB9KTsKCiAgICByZXR1cm4gZXZlbnRJZDsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICoKICAgKiBAZGVwcmVjYXRlZCBVc2UgIGBTZW50cnkuY2FwdHVyZU1lc3NhZ2UoKWAgaW5zdGVhZC4KICAgKi8KICAgY2FwdHVyZU1lc3NhZ2UoCiAgICBtZXNzYWdlLAogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICBsZXZlbCwKICAgIGhpbnQsCiAgKSB7CiAgICBjb25zdCBldmVudElkID0gKHRoaXMuX2xhc3RFdmVudElkID0gaGludCAmJiBoaW50LmV2ZW50X2lkID8gaGludC5ldmVudF9pZCA6IHV1aWQ0KCkpOwogICAgY29uc3Qgc3ludGhldGljRXhjZXB0aW9uID0gbmV3IEVycm9yKG1lc3NhZ2UpOwogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICB0aGlzLmdldFNjb3BlKCkuY2FwdHVyZU1lc3NhZ2UobWVzc2FnZSwgbGV2ZWwsIHsKICAgICAgb3JpZ2luYWxFeGNlcHRpb246IG1lc3NhZ2UsCiAgICAgIHN5bnRoZXRpY0V4Y2VwdGlvbiwKICAgICAgLi4uaGludCwKICAgICAgZXZlbnRfaWQ6IGV2ZW50SWQsCiAgICB9KTsKCiAgICByZXR1cm4gZXZlbnRJZDsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICoKICAgKiBAZGVwcmVjYXRlZCBVc2UgYFNlbnRyeS5jYXB0dXJlRXZlbnQoKWAgaW5zdGVhZC4KICAgKi8KICAgY2FwdHVyZUV2ZW50KGV2ZW50LCBoaW50KSB7CiAgICBjb25zdCBldmVudElkID0gaGludCAmJiBoaW50LmV2ZW50X2lkID8gaGludC5ldmVudF9pZCA6IHV1aWQ0KCk7CiAgICBpZiAoIWV2ZW50LnR5cGUpIHsKICAgICAgdGhpcy5fbGFzdEV2ZW50SWQgPSBldmVudElkOwogICAgfQogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICB0aGlzLmdldFNjb3BlKCkuY2FwdHVyZUV2ZW50KGV2ZW50LCB7IC4uLmhpbnQsIGV2ZW50X2lkOiBldmVudElkIH0pOwogICAgcmV0dXJuIGV2ZW50SWQ7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqCiAgICogQGRlcHJlY2F0ZWQgVGhpcyB3aWxsIGJlIHJlbW92ZWQgaW4gdjguCiAgICovCiAgIGxhc3RFdmVudElkKCkgewogICAgcmV0dXJuIHRoaXMuX2xhc3RFdmVudElkOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKgogICAqIEBkZXByZWNhdGVkIFVzZSBgU2VudHJ5LmFkZEJyZWFkY3J1bWIoKWAgaW5zdGVhZC4KICAgKi8KICAgYWRkQnJlYWRjcnVtYihicmVhZGNydW1iLCBoaW50KSB7CiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIGNvbnN0IHsgc2NvcGUsIGNsaWVudCB9ID0gdGhpcy5nZXRTdGFja1RvcCgpOwoKICAgIGlmICghY2xpZW50KSByZXR1cm47CgogICAgY29uc3QgeyBiZWZvcmVCcmVhZGNydW1iID0gbnVsbCwgbWF4QnJlYWRjcnVtYnMgPSBERUZBVUxUX0JSRUFEQ1JVTUJTIH0gPQogICAgICAoY2xpZW50LmdldE9wdGlvbnMgJiYgY2xpZW50LmdldE9wdGlvbnMoKSkgfHwge307CgogICAgaWYgKG1heEJyZWFkY3J1bWJzIDw9IDApIHJldHVybjsKCiAgICBjb25zdCB0aW1lc3RhbXAgPSBkYXRlVGltZXN0YW1wSW5TZWNvbmRzKCk7CiAgICBjb25zdCBtZXJnZWRCcmVhZGNydW1iID0geyB0aW1lc3RhbXAsIC4uLmJyZWFkY3J1bWIgfTsKICAgIGNvbnN0IGZpbmFsQnJlYWRjcnVtYiA9IGJlZm9yZUJyZWFkY3J1bWIKICAgICAgPyAoY29uc29sZVNhbmRib3goKCkgPT4gYmVmb3JlQnJlYWRjcnVtYihtZXJnZWRCcmVhZGNydW1iLCBoaW50KSkgKQogICAgICA6IG1lcmdlZEJyZWFkY3J1bWI7CgogICAgaWYgKGZpbmFsQnJlYWRjcnVtYiA9PT0gbnVsbCkgcmV0dXJuOwoKICAgIGlmIChjbGllbnQuZW1pdCkgewogICAgICBjbGllbnQuZW1pdCgnYmVmb3JlQWRkQnJlYWRjcnVtYicsIGZpbmFsQnJlYWRjcnVtYiwgaGludCk7CiAgICB9CgogICAgLy8gVE9ETyh2OCk6IEkga25vdyB0aGlzIGNvbW1lbnQgZG9lc24ndCBtYWtlIG11Y2ggc2Vuc2UgYmVjYXVzZSB0aGUgaHViIHdpbGwgYmUgZGVwcmVjYXRlZCBidXQgSSBzdGlsbCB3YW50ZWQgdG8KICAgIC8vIHdyaXRlIGl0IGRvd24uIEluIHRoZW9yeSwgd2Ugd291bGQgaGF2ZSB0byBhZGQgdGhlIGJyZWFkY3J1bWJzIHRvIHRoZSBpc29sYXRpb24gc2NvcGUgaGVyZSwgaG93ZXZlciwgdGhhdCB3b3VsZAogICAgLy8gZHVwbGljYXRlIGFsbCBvZiB0aGUgYnJlYWRjcnVtYnMuIFRoZXJlIHdhcyB0aGUgcG9zc2liaWxpdHkgb2YgYWRkaW5nIGJyZWFkY3J1bWJzIHRvIGJvdGgsIHRoZSBpc29sYXRpb24gc2NvcGUKICAgIC8vIGFuZCB0aGUgbm9ybWFsIHNjb3BlLCBhbmQgZGVkdXBsaWNhdGluZyBpdCBkb3duIHRoZSBsaW5lIGluIHRoZSBldmVudCBwcm9jZXNzaW5nIHBpcGVsaW5lLiBIb3dldmVyLCB0aGF0IHdvdWxkCiAgICAvLyBoYXZlIGJlZW4gdmVyeSBmcmFnaWxlLCBiZWNhdXNlIHRoZSBicmVhZGNydW1iIG9iamVjdHMgd291bGQgaGF2ZSBuZWVkZWQgdG8ga2VlcCB0aGVpciBpZGVudGl0eSBhbGwgdGhyb3VnaG91dAogICAgLy8gdGhlIGV2ZW50IHByb2Nlc3NpbmcgcGlwZWxpbmUuCiAgICAvLyBJbiB0aGUgbmV3IGltcGxlbWVudGF0aW9uLCB0aGUgdG9wIGxldmVsIGBTZW50cnkuYWRkQnJlYWRjcnVtYigpYCBzaG91bGQgT05MWSB3cml0ZSB0byB0aGUgaXNvbGF0aW9uIHNjb3BlLgoKICAgIHNjb3BlLmFkZEJyZWFkY3J1bWIoZmluYWxCcmVhZGNydW1iLCBtYXhCcmVhZGNydW1icyk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqIEBkZXByZWNhdGVkIFVzZSBgU2VudHJ5LnNldFVzZXIoKWAgaW5zdGVhZC4KICAgKi8KICAgc2V0VXNlcih1c2VyKSB7CiAgICAvLyBUT0RPKHY4KTogVGhlIHRvcCBsZXZlbCBgU2VudHJ5LnNldFVzZXIoKWAgZnVuY3Rpb24gc2hvdWxkIHdyaXRlIE9OTFkgdG8gdGhlIGlzb2xhdGlvbiBzY29wZS4KICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5nZXRTY29wZSgpLnNldFVzZXIodXNlcik7CiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIHRoaXMuZ2V0SXNvbGF0aW9uU2NvcGUoKS5zZXRVc2VyKHVzZXIpOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKiBAZGVwcmVjYXRlZCBVc2UgYFNlbnRyeS5zZXRUYWdzKClgIGluc3RlYWQuCiAgICovCiAgIHNldFRhZ3ModGFncykgewogICAgLy8gVE9ETyh2OCk6IFRoZSB0b3AgbGV2ZWwgYFNlbnRyeS5zZXRUYWdzKClgIGZ1bmN0aW9uIHNob3VsZCB3cml0ZSBPTkxZIHRvIHRoZSBpc29sYXRpb24gc2NvcGUuCiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIHRoaXMuZ2V0U2NvcGUoKS5zZXRUYWdzKHRhZ3MpOwogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICB0aGlzLmdldElzb2xhdGlvblNjb3BlKCkuc2V0VGFncyh0YWdzKTsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBTZW50cnkuc2V0RXh0cmFzKClgIGluc3RlYWQuCiAgICovCiAgIHNldEV4dHJhcyhleHRyYXMpIHsKICAgIC8vIFRPRE8odjgpOiBUaGUgdG9wIGxldmVsIGBTZW50cnkuc2V0RXh0cmFzKClgIGZ1bmN0aW9uIHNob3VsZCB3cml0ZSBPTkxZIHRvIHRoZSBpc29sYXRpb24gc2NvcGUuCiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIHRoaXMuZ2V0U2NvcGUoKS5zZXRFeHRyYXMoZXh0cmFzKTsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5nZXRJc29sYXRpb25TY29wZSgpLnNldEV4dHJhcyhleHRyYXMpOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKiBAZGVwcmVjYXRlZCBVc2UgYFNlbnRyeS5zZXRUYWcoKWAgaW5zdGVhZC4KICAgKi8KICAgc2V0VGFnKGtleSwgdmFsdWUpIHsKICAgIC8vIFRPRE8odjgpOiBUaGUgdG9wIGxldmVsIGBTZW50cnkuc2V0VGFnKClgIGZ1bmN0aW9uIHNob3VsZCB3cml0ZSBPTkxZIHRvIHRoZSBpc29sYXRpb24gc2NvcGUuCiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIHRoaXMuZ2V0U2NvcGUoKS5zZXRUYWcoa2V5LCB2YWx1ZSk7CiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIHRoaXMuZ2V0SXNvbGF0aW9uU2NvcGUoKS5zZXRUYWcoa2V5LCB2YWx1ZSk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqIEBkZXByZWNhdGVkIFVzZSBgU2VudHJ5LnNldEV4dHJhKClgIGluc3RlYWQuCiAgICovCiAgIHNldEV4dHJhKGtleSwgZXh0cmEpIHsKICAgIC8vIFRPRE8odjgpOiBUaGUgdG9wIGxldmVsIGBTZW50cnkuc2V0RXh0cmEoKWAgZnVuY3Rpb24gc2hvdWxkIHdyaXRlIE9OTFkgdG8gdGhlIGlzb2xhdGlvbiBzY29wZS4KICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5nZXRTY29wZSgpLnNldEV4dHJhKGtleSwgZXh0cmEpOwogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICB0aGlzLmdldElzb2xhdGlvblNjb3BlKCkuc2V0RXh0cmEoa2V5LCBleHRyYSk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqIEBkZXByZWNhdGVkIFVzZSBgU2VudHJ5LnNldENvbnRleHQoKWAgaW5zdGVhZC4KICAgKi8KICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueQogICBzZXRDb250ZXh0KG5hbWUsIGNvbnRleHQpIHsKICAgIC8vIFRPRE8odjgpOiBUaGUgdG9wIGxldmVsIGBTZW50cnkuc2V0Q29udGV4dCgpYCBmdW5jdGlvbiBzaG91bGQgd3JpdGUgT05MWSB0byB0aGUgaXNvbGF0aW9uIHNjb3BlLgogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICB0aGlzLmdldFNjb3BlKCkuc2V0Q29udGV4dChuYW1lLCBjb250ZXh0KTsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5nZXRJc29sYXRpb25TY29wZSgpLnNldENvbnRleHQobmFtZSwgY29udGV4dCk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBnZXRTY29wZSgpYCBkaXJlY3RseS4KICAgKi8KICAgY29uZmlndXJlU2NvcGUoY2FsbGJhY2spIHsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgY29uc3QgeyBzY29wZSwgY2xpZW50IH0gPSB0aGlzLmdldFN0YWNrVG9wKCk7CiAgICBpZiAoY2xpZW50KSB7CiAgICAgIGNhbGxiYWNrKHNjb3BlKTsKICAgIH0KICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICovCiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgIHJ1bihjYWxsYmFjaykgewogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICBjb25zdCBvbGRIdWIgPSBtYWtlTWFpbih0aGlzKTsKICAgIHRyeSB7CiAgICAgIGNhbGxiYWNrKHRoaXMpOwogICAgfSBmaW5hbGx5IHsKICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICAgIG1ha2VNYWluKG9sZEh1Yik7CiAgICB9CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqIEBkZXByZWNhdGVkIFVzZSBgU2VudHJ5LmdldENsaWVudCgpLmdldEludGVncmF0aW9uQnlOYW1lKClgIGluc3RlYWQuCiAgICovCiAgIGdldEludGVncmF0aW9uKGludGVncmF0aW9uKSB7CiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIGNvbnN0IGNsaWVudCA9IHRoaXMuZ2V0Q2xpZW50KCk7CiAgICBpZiAoIWNsaWVudCkgcmV0dXJuIG51bGw7CiAgICB0cnkgewogICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgICAgcmV0dXJuIGNsaWVudC5nZXRJbnRlZ3JhdGlvbihpbnRlZ3JhdGlvbik7CiAgICB9IGNhdGNoIChfb08pIHsKICAgICAgREVCVUdfQlVJTEQgJiYgbG9nZ2VyLndhcm4oYENhbm5vdCByZXRyaWV2ZSBpbnRlZ3JhdGlvbiAke2ludGVncmF0aW9uLmlkfSBmcm9tIHRoZSBjdXJyZW50IEh1YmApOwogICAgICByZXR1cm4gbnVsbDsKICAgIH0KICB9CgogIC8qKgogICAqIFN0YXJ0cyBhIG5ldyBgVHJhbnNhY3Rpb25gIGFuZCByZXR1cm5zIGl0LiBUaGlzIGlzIHRoZSBlbnRyeSBwb2ludCB0byBtYW51YWwgdHJhY2luZyBpbnN0cnVtZW50YXRpb24uCiAgICoKICAgKiBBIHRyZWUgc3RydWN0dXJlIGNhbiBiZSBidWlsdCBieSBhZGRpbmcgY2hpbGQgc3BhbnMgdG8gdGhlIHRyYW5zYWN0aW9uLCBhbmQgY2hpbGQgc3BhbnMgdG8gb3RoZXIgc3BhbnMuIFRvIHN0YXJ0IGEKICAgKiBuZXcgY2hpbGQgc3BhbiB3aXRoaW4gdGhlIHRyYW5zYWN0aW9uIG9yIGFueSBzcGFuLCBjYWxsIHRoZSByZXNwZWN0aXZlIGAuc3RhcnRDaGlsZCgpYCBtZXRob2QuCiAgICoKICAgKiBFdmVyeSBjaGlsZCBzcGFuIG11c3QgYmUgZmluaXNoZWQgYmVmb3JlIHRoZSB0cmFuc2FjdGlvbiBpcyBmaW5pc2hlZCwgb3RoZXJ3aXNlIHRoZSB1bmZpbmlzaGVkIHNwYW5zIGFyZSBkaXNjYXJkZWQuCiAgICoKICAgKiBUaGUgdHJhbnNhY3Rpb24gbXVzdCBiZSBmaW5pc2hlZCB3aXRoIGEgY2FsbCB0byBpdHMgYC5lbmQoKWAgbWV0aG9kLCBhdCB3aGljaCBwb2ludCB0aGUgdHJhbnNhY3Rpb24gd2l0aCBhbGwgaXRzCiAgICogZmluaXNoZWQgY2hpbGQgc3BhbnMgd2lsbCBiZSBzZW50IHRvIFNlbnRyeS4KICAgKgogICAqIEBwYXJhbSBjb250ZXh0IFByb3BlcnRpZXMgb2YgdGhlIG5ldyBgVHJhbnNhY3Rpb25gLgogICAqIEBwYXJhbSBjdXN0b21TYW1wbGluZ0NvbnRleHQgSW5mb3JtYXRpb24gZ2l2ZW4gdG8gdGhlIHRyYW5zYWN0aW9uIHNhbXBsaW5nIGZ1bmN0aW9uIChhbG9uZyB3aXRoIGNvbnRleHQtZGVwZW5kZW50CiAgICogZGVmYXVsdCB2YWx1ZXMpLiBTZWUge0BsaW5rIE9wdGlvbnMudHJhY2VzU2FtcGxlcn0uCiAgICoKICAgKiBAcmV0dXJucyBUaGUgdHJhbnNhY3Rpb24gd2hpY2ggd2FzIGp1c3Qgc3RhcnRlZAogICAqCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBzdGFydFNwYW4oKWAsIGBzdGFydFNwYW5NYW51YWwoKWAgb3IgYHN0YXJ0SW5hY3RpdmVTcGFuKClgIGluc3RlYWQuCiAgICovCiAgIHN0YXJ0VHJhbnNhY3Rpb24oY29udGV4dCwgY3VzdG9tU2FtcGxpbmdDb250ZXh0KSB7CiAgICBjb25zdCByZXN1bHQgPSB0aGlzLl9jYWxsRXh0ZW5zaW9uTWV0aG9kKCdzdGFydFRyYW5zYWN0aW9uJywgY29udGV4dCwgY3VzdG9tU2FtcGxpbmdDb250ZXh0KTsKCiAgICBpZiAoREVCVUdfQlVJTEQgJiYgIXJlc3VsdCkgewogICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgICAgY29uc3QgY2xpZW50ID0gdGhpcy5nZXRDbGllbnQoKTsKICAgICAgaWYgKCFjbGllbnQpIHsKICAgICAgICBsb2dnZXIud2FybigKICAgICAgICAgICJUcmFjaW5nIGV4dGVuc2lvbiAnc3RhcnRUcmFuc2FjdGlvbicgaXMgbWlzc2luZy4gWW91IHNob3VsZCAnaW5pdCcgdGhlIFNESyBiZWZvcmUgY2FsbGluZyAnc3RhcnRUcmFuc2FjdGlvbiciLAogICAgICAgICk7CiAgICAgIH0gZWxzZSB7CiAgICAgICAgbG9nZ2VyLndhcm4oYFRyYWNpbmcgZXh0ZW5zaW9uICdzdGFydFRyYW5zYWN0aW9uJyBoYXMgbm90IGJlZW4gYWRkZWQuIENhbGwgJ2FkZFRyYWNpbmdFeHRlbnNpb25zJyBiZWZvcmUgY2FsbGluZyAnaW5pdCc6ClNlbnRyeS5hZGRUcmFjaW5nRXh0ZW5zaW9ucygpOwpTZW50cnkuaW5pdCh7Li4ufSk7CmApOwogICAgICB9CiAgICB9CgogICAgcmV0dXJuIHJlc3VsdDsKICB9CgogIC8qKgogICAqIEBpbmhlcml0RG9jCiAgICogQGRlcHJlY2F0ZWQgVXNlIGBzcGFuVG9UcmFjZUhlYWRlcigpYCBpbnN0ZWFkLgogICAqLwogICB0cmFjZUhlYWRlcnMoKSB7CiAgICByZXR1cm4gdGhpcy5fY2FsbEV4dGVuc2lvbk1ldGhvZCgndHJhY2VIZWFkZXJzJyk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqCiAgICogQGRlcHJlY2F0ZWQgVXNlIHRvcCBsZXZlbCBgY2FwdHVyZVNlc3Npb25gIGluc3RlYWQuCiAgICovCiAgIGNhcHR1cmVTZXNzaW9uKGVuZFNlc3Npb24gPSBmYWxzZSkgewogICAgLy8gYm90aCBzZW5kIHRoZSB1cGRhdGUgYW5kIHB1bGwgdGhlIHNlc3Npb24gZnJvbSB0aGUgc2NvcGUKICAgIGlmIChlbmRTZXNzaW9uKSB7CiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgICByZXR1cm4gdGhpcy5lbmRTZXNzaW9uKCk7CiAgICB9CgogICAgLy8gb25seSBzZW5kIHRoZSB1cGRhdGUKICAgIHRoaXMuX3NlbmRTZXNzaW9uVXBkYXRlKCk7CiAgfQoKICAvKioKICAgKiBAaW5oZXJpdERvYwogICAqIEBkZXByZWNhdGVkIFVzZSB0b3AgbGV2ZWwgYGVuZFNlc3Npb25gIGluc3RlYWQuCiAgICovCiAgIGVuZFNlc3Npb24oKSB7CiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIGNvbnN0IGxheWVyID0gdGhpcy5nZXRTdGFja1RvcCgpOwogICAgY29uc3Qgc2NvcGUgPSBsYXllci5zY29wZTsKICAgIGNvbnN0IHNlc3Npb24gPSBzY29wZS5nZXRTZXNzaW9uKCk7CiAgICBpZiAoc2Vzc2lvbikgewogICAgICBjbG9zZVNlc3Npb24oc2Vzc2lvbik7CiAgICB9CiAgICB0aGlzLl9zZW5kU2Vzc2lvblVwZGF0ZSgpOwoKICAgIC8vIHRoZSBzZXNzaW9uIGlzIG92ZXI7IHRha2UgaXQgb2ZmIG9mIHRoZSBzY29wZQogICAgc2NvcGUuc2V0U2Vzc2lvbigpOwogIH0KCiAgLyoqCiAgICogQGluaGVyaXREb2MKICAgKiBAZGVwcmVjYXRlZCBVc2UgdG9wIGxldmVsIGBzdGFydFNlc3Npb25gIGluc3RlYWQuCiAgICovCiAgIHN0YXJ0U2Vzc2lvbihjb250ZXh0KSB7CiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZGVwcmVjYXRpb24vZGVwcmVjYXRpb24KICAgIGNvbnN0IHsgc2NvcGUsIGNsaWVudCB9ID0gdGhpcy5nZXRTdGFja1RvcCgpOwogICAgY29uc3QgeyByZWxlYXNlLCBlbnZpcm9ubWVudCA9IERFRkFVTFRfRU5WSVJPTk1FTlQgfSA9IChjbGllbnQgJiYgY2xpZW50LmdldE9wdGlvbnMoKSkgfHwge307CgogICAgLy8gV2lsbCBmZXRjaCB1c2VyQWdlbnQgaWYgY2FsbGVkIGZyb20gYnJvd3NlciBzZGsKICAgIGNvbnN0IHsgdXNlckFnZW50IH0gPSBHTE9CQUxfT0JKLm5hdmlnYXRvciB8fCB7fTsKCiAgICBjb25zdCBzZXNzaW9uID0gbWFrZVNlc3Npb24oewogICAgICByZWxlYXNlLAogICAgICBlbnZpcm9ubWVudCwKICAgICAgdXNlcjogc2NvcGUuZ2V0VXNlcigpLAogICAgICAuLi4odXNlckFnZW50ICYmIHsgdXNlckFnZW50IH0pLAogICAgICAuLi5jb250ZXh0LAogICAgfSk7CgogICAgLy8gRW5kIGV4aXN0aW5nIHNlc3Npb24gaWYgdGhlcmUncyBvbmUKICAgIGNvbnN0IGN1cnJlbnRTZXNzaW9uID0gc2NvcGUuZ2V0U2Vzc2lvbiAmJiBzY29wZS5nZXRTZXNzaW9uKCk7CiAgICBpZiAoY3VycmVudFNlc3Npb24gJiYgY3VycmVudFNlc3Npb24uc3RhdHVzID09PSAnb2snKSB7CiAgICAgIHVwZGF0ZVNlc3Npb24oY3VycmVudFNlc3Npb24sIHsgc3RhdHVzOiAnZXhpdGVkJyB9KTsKICAgIH0KICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgdGhpcy5lbmRTZXNzaW9uKCk7CgogICAgLy8gQWZ0ZXJ3YXJkcyB3ZSBzZXQgdGhlIG5ldyBzZXNzaW9uIG9uIHRoZSBzY29wZQogICAgc2NvcGUuc2V0U2Vzc2lvbihzZXNzaW9uKTsKCiAgICByZXR1cm4gc2Vzc2lvbjsKICB9CgogIC8qKgogICAqIFJldHVybnMgaWYgZGVmYXVsdCBQSUkgc2hvdWxkIGJlIHNlbnQgdG8gU2VudHJ5IGFuZCBwcm9wYWdhdGVkIGluIG91cmdvaW5nIHJlcXVlc3RzCiAgICogd2hlbiBUcmFjaW5nIGlzIHVzZWQuCiAgICoKICAgKiBAZGVwcmVjYXRlZCBVc2UgdG9wLWxldmVsIGBnZXRDbGllbnQoKS5nZXRPcHRpb25zKCkuc2VuZERlZmF1bHRQaWlgIGluc3RlYWQuIFRoaXMgZnVuY3Rpb24KICAgKiBvbmx5IHVubmVjZXNzYXJpbHkgaW5jcmVhc2VkIEFQSSBzdXJmYWNlIGJ1dCBvbmx5IHdyYXBwZWQgYWNjZXNzaW5nIHRoZSBvcHRpb24uCiAgICovCiAgIHNob3VsZFNlbmREZWZhdWx0UGlpKCkgewogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICBjb25zdCBjbGllbnQgPSB0aGlzLmdldENsaWVudCgpOwogICAgY29uc3Qgb3B0aW9ucyA9IGNsaWVudCAmJiBjbGllbnQuZ2V0T3B0aW9ucygpOwogICAgcmV0dXJuIEJvb2xlYW4ob3B0aW9ucyAmJiBvcHRpb25zLnNlbmREZWZhdWx0UGlpKTsKICB9CgogIC8qKgogICAqIFNlbmRzIHRoZSBjdXJyZW50IFNlc3Npb24gb24gdGhlIHNjb3BlCiAgICovCiAgIF9zZW5kU2Vzc2lvblVwZGF0ZSgpIHsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgY29uc3QgeyBzY29wZSwgY2xpZW50IH0gPSB0aGlzLmdldFN0YWNrVG9wKCk7CgogICAgY29uc3Qgc2Vzc2lvbiA9IHNjb3BlLmdldFNlc3Npb24oKTsKICAgIGlmIChzZXNzaW9uICYmIGNsaWVudCAmJiBjbGllbnQuY2FwdHVyZVNlc3Npb24pIHsKICAgICAgY2xpZW50LmNhcHR1cmVTZXNzaW9uKHNlc3Npb24pOwogICAgfQogIH0KCiAgLyoqCiAgICogQ2FsbHMgZ2xvYmFsIGV4dGVuc2lvbiBtZXRob2QgYW5kIGJpbmRpbmcgY3VycmVudCBpbnN0YW5jZSB0byB0aGUgZnVuY3Rpb24gY2FsbAogICAqLwogIC8vIEB0cy1leHBlY3QtZXJyb3IgRnVuY3Rpb24gbGFja3MgZW5kaW5nIHJldHVybiBzdGF0ZW1lbnQgYW5kIHJldHVybiB0eXBlIGRvZXMgbm90IGluY2x1ZGUgJ3VuZGVmaW5lZCcuIHRzKDIzNjYpCiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnkKICAgX2NhbGxFeHRlbnNpb25NZXRob2QobWV0aG9kLCAuLi5hcmdzKSB7CiAgICBjb25zdCBjYXJyaWVyID0gZ2V0TWFpbkNhcnJpZXIoKTsKICAgIGNvbnN0IHNlbnRyeSA9IGNhcnJpZXIuX19TRU5UUllfXzsKICAgIGlmIChzZW50cnkgJiYgc2VudHJ5LmV4dGVuc2lvbnMgJiYgdHlwZW9mIHNlbnRyeS5leHRlbnNpb25zW21ldGhvZF0gPT09ICdmdW5jdGlvbicpIHsKICAgICAgcmV0dXJuIHNlbnRyeS5leHRlbnNpb25zW21ldGhvZF0uYXBwbHkodGhpcywgYXJncyk7CiAgICB9CiAgICBERUJVR19CVUlMRCAmJiBsb2dnZXIud2FybihgRXh0ZW5zaW9uIG1ldGhvZCAke21ldGhvZH0gY291bGRuJ3QgYmUgZm91bmQsIGRvaW5nIG5vdGhpbmcuYCk7CiAgfQp9CgovKioKICogUmV0dXJucyB0aGUgZ2xvYmFsIHNoaW0gcmVnaXN0cnkuCiAqCiAqIEZJWE1FOiBUaGlzIGZ1bmN0aW9uIGlzIHByb2JsZW1hdGljLCBiZWNhdXNlIGRlc3BpdGUgYWx3YXlzIHJldHVybmluZyBhIHZhbGlkIENhcnJpZXIsCiAqIGl0IGhhcyBhbiBvcHRpb25hbCBgX19TRU5UUllfX2AgcHJvcGVydHksIHdoaWNoIHRoZW4gaW4gdHVybiByZXF1aXJlcyB1cyB0byBhbHdheXMgcGVyZm9ybSBhbiB1bm5lY2Vzc2FyeSBjaGVjawogKiBhdCB0aGUgY2FsbC1zaXRlLiBXZSBhbHdheXMgYWNjZXNzIHRoZSBjYXJyaWVyIHRocm91Z2ggdGhpcyBmdW5jdGlvbiwgc28gd2UgY2FuIGd1YXJhbnRlZSB0aGF0IGBfX1NFTlRSWV9fYCBpcyB0aGVyZS4KICoqLwpmdW5jdGlvbiBnZXRNYWluQ2FycmllcigpIHsKICBHTE9CQUxfT0JKLl9fU0VOVFJZX18gPSBHTE9CQUxfT0JKLl9fU0VOVFJZX18gfHwgewogICAgZXh0ZW5zaW9uczoge30sCiAgICBodWI6IHVuZGVmaW5lZCwKICB9OwogIHJldHVybiBHTE9CQUxfT0JKOwp9CgovKioKICogUmVwbGFjZXMgdGhlIGN1cnJlbnQgbWFpbiBodWIgd2l0aCB0aGUgcGFzc2VkIG9uZSBvbiB0aGUgZ2xvYmFsIG9iamVjdAogKgogKiBAcmV0dXJucyBUaGUgb2xkIHJlcGxhY2VkIGh1YgogKgogKiBAZGVwcmVjYXRlZCBVc2UgYHNldEN1cnJlbnRDbGllbnQoKWAgaW5zdGVhZC4KICovCi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgpmdW5jdGlvbiBtYWtlTWFpbihodWIpIHsKICBjb25zdCByZWdpc3RyeSA9IGdldE1haW5DYXJyaWVyKCk7CiAgY29uc3Qgb2xkSHViID0gZ2V0SHViRnJvbUNhcnJpZXIocmVnaXN0cnkpOwogIHNldEh1Yk9uQ2FycmllcihyZWdpc3RyeSwgaHViKTsKICByZXR1cm4gb2xkSHViOwp9CgovKioKICogUmV0dXJucyB0aGUgZGVmYXVsdCBodWIgaW5zdGFuY2UuCiAqCiAqIElmIGEgaHViIGlzIGFscmVhZHkgcmVnaXN0ZXJlZCBpbiB0aGUgZ2xvYmFsIGNhcnJpZXIgYnV0IHRoaXMgbW9kdWxlCiAqIGNvbnRhaW5zIGEgbW9yZSByZWNlbnQgdmVyc2lvbiwgaXQgcmVwbGFjZXMgdGhlIHJlZ2lzdGVyZWQgdmVyc2lvbi4KICogT3RoZXJ3aXNlLCB0aGUgY3VycmVudGx5IHJlZ2lzdGVyZWQgaHViIHdpbGwgYmUgcmV0dXJuZWQuCiAqCiAqIEBkZXByZWNhdGVkIFVzZSB0aGUgcmVzcGVjdGl2ZSByZXBsYWNlbWVudCBtZXRob2QgZGlyZWN0bHkgaW5zdGVhZC4KICovCi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgpmdW5jdGlvbiBnZXRDdXJyZW50SHViKCkgewogIC8vIEdldCBtYWluIGNhcnJpZXIgKGdsb2JhbCBmb3IgZXZlcnkgZW52aXJvbm1lbnQpCiAgY29uc3QgcmVnaXN0cnkgPSBnZXRNYWluQ2FycmllcigpOwoKICBpZiAocmVnaXN0cnkuX19TRU5UUllfXyAmJiByZWdpc3RyeS5fX1NFTlRSWV9fLmFjcykgewogICAgY29uc3QgaHViID0gcmVnaXN0cnkuX19TRU5UUllfXy5hY3MuZ2V0Q3VycmVudEh1YigpOwoKICAgIGlmIChodWIpIHsKICAgICAgcmV0dXJuIGh1YjsKICAgIH0KICB9CgogIC8vIFJldHVybiBodWIgdGhhdCBsaXZlcyBvbiBhIGdsb2JhbCBvYmplY3QKICByZXR1cm4gZ2V0R2xvYmFsSHViKHJlZ2lzdHJ5KTsKfQoKLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCmZ1bmN0aW9uIGdldEdsb2JhbEh1YihyZWdpc3RyeSA9IGdldE1haW5DYXJyaWVyKCkpIHsKICAvLyBJZiB0aGVyZSdzIG5vIGh1Yiwgb3IgaXRzIGFuIG9sZCBBUEksIGFzc2lnbiBhIG5ldyBvbmUKCiAgaWYgKAogICAgIWhhc0h1Yk9uQ2FycmllcihyZWdpc3RyeSkgfHwKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgogICAgZ2V0SHViRnJvbUNhcnJpZXIocmVnaXN0cnkpLmlzT2xkZXJUaGFuKEFQSV9WRVJTSU9OKQogICkgewogICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgICBzZXRIdWJPbkNhcnJpZXIocmVnaXN0cnksIG5ldyBIdWIoKSk7CiAgfQoKICAvLyBSZXR1cm4gaHViIHRoYXQgbGl2ZXMgb24gYSBnbG9iYWwgb2JqZWN0CiAgcmV0dXJuIGdldEh1YkZyb21DYXJyaWVyKHJlZ2lzdHJ5KTsKfQoKLyoqCiAqIFRoaXMgd2lsbCB0ZWxsIHdoZXRoZXIgYSBjYXJyaWVyIGhhcyBhIGh1YiBvbiBpdCBvciBub3QKICogQHBhcmFtIGNhcnJpZXIgb2JqZWN0CiAqLwpmdW5jdGlvbiBoYXNIdWJPbkNhcnJpZXIoY2FycmllcikgewogIHJldHVybiAhIShjYXJyaWVyICYmIGNhcnJpZXIuX19TRU5UUllfXyAmJiBjYXJyaWVyLl9fU0VOVFJZX18uaHViKTsKfQoKLyoqCiAqIFRoaXMgd2lsbCBjcmVhdGUgYSBuZXcge0BsaW5rIEh1Yn0gYW5kIGFkZCB0byB0aGUgcGFzc2VkIG9iamVjdCBvbgogKiBfX1NFTlRSWV9fLmh1Yi4KICogQHBhcmFtIGNhcnJpZXIgb2JqZWN0CiAqIEBoaWRkZW4KICovCi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgpmdW5jdGlvbiBnZXRIdWJGcm9tQ2FycmllcihjYXJyaWVyKSB7CiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGRlcHJlY2F0aW9uL2RlcHJlY2F0aW9uCiAgcmV0dXJuIGdldEdsb2JhbFNpbmdsZXRvbignaHViJywgKCkgPT4gbmV3IEh1YigpLCBjYXJyaWVyKTsKfQoKLyoqCiAqIFRoaXMgd2lsbCBzZXQgcGFzc2VkIHtAbGluayBIdWJ9IG9uIHRoZSBwYXNzZWQgb2JqZWN0J3MgX19TRU5UUllfXy5odWIgYXR0cmlidXRlCiAqIEBwYXJhbSBjYXJyaWVyIG9iamVjdAogKiBAcGFyYW0gaHViIEh1YgogKiBAcmV0dXJucyBBIGJvb2xlYW4gaW5kaWNhdGluZyBzdWNjZXNzIG9yIGZhaWx1cmUKICovCi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBkZXByZWNhdGlvbi9kZXByZWNhdGlvbgpmdW5jdGlvbiBzZXRIdWJPbkNhcnJpZXIoY2FycmllciwgaHViKSB7CiAgaWYgKCFjYXJyaWVyKSByZXR1cm4gZmFsc2U7CiAgY29uc3QgX19TRU5UUllfXyA9IChjYXJyaWVyLl9fU0VOVFJZX18gPSBjYXJyaWVyLl9fU0VOVFJZX18gfHwge30pOwogIF9fU0VOVFJZX18uaHViID0gaHViOwogIHJldHVybiB0cnVlOwp9CgovKioKICogQXBwbHkgU2RrSW5mbyAobmFtZSwgdmVyc2lvbiwgcGFja2FnZXMsIGludGVncmF0aW9ucykgdG8gdGhlIGNvcnJlc3BvbmRpbmcgZXZlbnQga2V5LgogKiBNZXJnZSB3aXRoIGV4aXN0aW5nIGRhdGEgaWYgYW55LgogKiovCmZ1bmN0aW9uIGVuaGFuY2VFdmVudFdpdGhTZGtJbmZvKGV2ZW50LCBzZGtJbmZvKSB7CiAgaWYgKCFzZGtJbmZvKSB7CiAgICByZXR1cm4gZXZlbnQ7CiAgfQogIGV2ZW50LnNkayA9IGV2ZW50LnNkayB8fCB7fTsKICBldmVudC5zZGsubmFtZSA9IGV2ZW50LnNkay5uYW1lIHx8IHNka0luZm8ubmFtZTsKICBldmVudC5zZGsudmVyc2lvbiA9IGV2ZW50LnNkay52ZXJzaW9uIHx8IHNka0luZm8udmVyc2lvbjsKICBldmVudC5zZGsuaW50ZWdyYXRpb25zID0gWy4uLihldmVudC5zZGsuaW50ZWdyYXRpb25zIHx8IFtdKSwgLi4uKHNka0luZm8uaW50ZWdyYXRpb25zIHx8IFtdKV07CiAgZXZlbnQuc2RrLnBhY2thZ2VzID0gWy4uLihldmVudC5zZGsucGFja2FnZXMgfHwgW10pLCAuLi4oc2RrSW5mby5wYWNrYWdlcyB8fCBbXSldOwogIHJldHVybiBldmVudDsKfQoKLyoqIENyZWF0ZXMgYW4gZW52ZWxvcGUgZnJvbSBhIFNlc3Npb24gKi8KZnVuY3Rpb24gY3JlYXRlU2Vzc2lvbkVudmVsb3BlKAogIHNlc3Npb24sCiAgZHNuLAogIG1ldGFkYXRhLAogIHR1bm5lbCwKKSB7CiAgY29uc3Qgc2RrSW5mbyA9IGdldFNka01ldGFkYXRhRm9yRW52ZWxvcGVIZWFkZXIobWV0YWRhdGEpOwogIGNvbnN0IGVudmVsb3BlSGVhZGVycyA9IHsKICAgIHNlbnRfYXQ6IG5ldyBEYXRlKCkudG9JU09TdHJpbmcoKSwKICAgIC4uLihzZGtJbmZvICYmIHsgc2RrOiBzZGtJbmZvIH0pLAogICAgLi4uKCEhdHVubmVsICYmIGRzbiAmJiB7IGRzbjogZHNuVG9TdHJpbmcoZHNuKSB9KSwKICB9OwoKICBjb25zdCBlbnZlbG9wZUl0ZW0gPQogICAgJ2FnZ3JlZ2F0ZXMnIGluIHNlc3Npb24gPyBbeyB0eXBlOiAnc2Vzc2lvbnMnIH0sIHNlc3Npb25dIDogW3sgdHlwZTogJ3Nlc3Npb24nIH0sIHNlc3Npb24udG9KU09OKCldOwoKICByZXR1cm4gY3JlYXRlRW52ZWxvcGUoZW52ZWxvcGVIZWFkZXJzLCBbZW52ZWxvcGVJdGVtXSk7Cn0KCi8qKgogKiBDcmVhdGUgYW4gRW52ZWxvcGUgZnJvbSBhbiBldmVudC4KICovCmZ1bmN0aW9uIGNyZWF0ZUV2ZW50RW52ZWxvcGUoCiAgZXZlbnQsCiAgZHNuLAogIG1ldGFkYXRhLAogIHR1bm5lbCwKKSB7CiAgY29uc3Qgc2RrSW5mbyA9IGdldFNka01ldGFkYXRhRm9yRW52ZWxvcGVIZWFkZXIobWV0YWRhdGEpOwoKICAvKgogICAgTm90ZTogRHVlIHRvIFRTLCBldmVudC50eXBlIG1heSBiZSBgcmVwbGF5X2V2ZW50YCwgdGhlb3JldGljYWxseS4KICAgIEluIHByYWN0aWNlLCB3ZSBuZXZlciBjYWxsIGBjcmVhdGVFdmVudEVudmVsb3BlYCB3aXRoIGByZXBsYXlfZXZlbnRgIHR5cGUsCiAgICBhbmQgd2UnZCBoYXZlIHRvIGFkanV0IGEgbG9vb3Qgb2YgdHlwZXMgdG8gbWFrZSB0aGlzIHdvcmsgcHJvcGVybHkuCiAgICBXZSB3YW50IHRvIGF2b2lkIGNhc3RpbmcgdGhpcyBhcm91bmQsIGFzIHRoYXQgY291bGQgbGVhZCB0byBidWdzIChlLmcuIHdoZW4gd2UgYWRkIGFub3RoZXIgdHlwZSkKICAgIFNvIHRoZSBzYWZlIGNob2ljZSBpcyB0byByZWFsbHkgZ3VhcmQgYWdhaW5zdCB0aGUgcmVwbGF5X2V2ZW50IHR5cGUgaGVyZS4KICAqLwogIGNvbnN0IGV2ZW50VHlwZSA9IGV2ZW50LnR5cGUgJiYgZXZlbnQudHlwZSAhPT0gJ3JlcGxheV9ldmVudCcgPyBldmVudC50eXBlIDogJ2V2ZW50JzsKCiAgZW5oYW5jZUV2ZW50V2l0aFNka0luZm8oZXZlbnQsIG1ldGFkYXRhICYmIG1ldGFkYXRhLnNkayk7CgogIGNvbnN0IGVudmVsb3BlSGVhZGVycyA9IGNyZWF0ZUV2ZW50RW52ZWxvcGVIZWFkZXJzKGV2ZW50LCBzZGtJbmZvLCB0dW5uZWwsIGRzbik7CgogIC8vIFByZXZlbnQgdGhpcyBkYXRhICh3aGljaCwgaWYgaXQgZXhpc3RzLCB3YXMgdXNlZCBpbiBlYXJsaWVyIHN0ZXBzIGluIHRoZSBwcm9jZXNzaW5nIHBpcGVsaW5lKSBmcm9tIGJlaW5nIHNlbnQgdG8KICAvLyBzZW50cnkuIChOb3RlOiBPdXIgdXNlIG9mIHRoaXMgcHJvcGVydHkgY29tZXMgYW5kIGdvZXMgd2l0aCB3aGF0ZXZlciB3ZSBtaWdodCBiZSBkZWJ1Z2dpbmcsIHdoYXRldmVyIGhhY2tzIHdlIG1heQogIC8vIGhhdmUgdGVtcG9yYXJpbHkgYWRkZWQsIGV0Yy4gRXZlbiBpZiB3ZSBkb24ndCBoYXBwZW4gdG8gYmUgdXNpbmcgaXQgYXQgc29tZSBwb2ludCBpbiB0aGUgZnV0dXJlLCBsZXQncyBub3QgZ2V0IHJpZAogIC8vIG9mIHRoaXMgYGRlbGV0ZWAsIGxlc3Qgd2UgbWlzcyBwdXR0aW5nIGl0IGJhY2sgaW4gdGhlIG5leHQgdGltZSB0aGUgcHJvcGVydHkgaXMgaW4gdXNlLikKICBkZWxldGUgZXZlbnQuc2RrUHJvY2Vzc2luZ01ldGFkYXRhOwoKICBjb25zdCBldmVudEl0ZW0gPSBbeyB0eXBlOiBldmVudFR5cGUgfSwgZXZlbnRdOwogIHJldHVybiBjcmVhdGVFbnZlbG9wZShlbnZlbG9wZUhlYWRlcnMsIFtldmVudEl0ZW1dKTsKfQoKY29uc3QgU0VOVFJZX0FQSV9WRVJTSU9OID0gJzcnOwoKLyoqIFJldHVybnMgdGhlIHByZWZpeCB0byBjb25zdHJ1Y3QgU2VudHJ5IGluZ2VzdGlvbiBBUEkgZW5kcG9pbnRzLiAqLwpmdW5jdGlvbiBnZXRCYXNlQXBpRW5kcG9pbnQoZHNuKSB7CiAgY29uc3QgcHJvdG9jb2wgPSBkc24ucHJvdG9jb2wgPyBgJHtkc24ucHJvdG9jb2x9OmAgOiAnJzsKICBjb25zdCBwb3J0ID0gZHNuLnBvcnQgPyBgOiR7ZHNuLnBvcnR9YCA6ICcnOwogIHJldHVybiBgJHtwcm90b2NvbH0vLyR7ZHNuLmhvc3R9JHtwb3J0fSR7ZHNuLnBhdGggPyBgLyR7ZHNuLnBhdGh9YCA6ICcnfS9hcGkvYDsKfQoKLyoqIFJldHVybnMgdGhlIGluZ2VzdCBBUEkgZW5kcG9pbnQgZm9yIHRhcmdldC4gKi8KZnVuY3Rpb24gX2dldEluZ2VzdEVuZHBvaW50KGRzbikgewogIHJldHVybiBgJHtnZXRCYXNlQXBpRW5kcG9pbnQoZHNuKX0ke2Rzbi5wcm9qZWN0SWR9L2VudmVsb3BlL2A7Cn0KCi8qKiBSZXR1cm5zIGEgVVJMLWVuY29kZWQgc3RyaW5nIHdpdGggYXV0aCBjb25maWcgc3VpdGFibGUgZm9yIGEgcXVlcnkgc3RyaW5nLiAqLwpmdW5jdGlvbiBfZW5jb2RlZEF1dGgoZHNuLCBzZGtJbmZvKSB7CiAgcmV0dXJuIHVybEVuY29kZSh7CiAgICAvLyBXZSBzZW5kIG9ubHkgdGhlIG1pbmltdW0gc2V0IG9mIHJlcXVpcmVkIGluZm9ybWF0aW9uLiBTZWUKICAgIC8vIGh0dHBzOi8vZ2l0aHViLmNvbS9nZXRzZW50cnkvc2VudHJ5LWphdmFzY3JpcHQvaXNzdWVzLzI1NzIuCiAgICBzZW50cnlfa2V5OiBkc24ucHVibGljS2V5LAogICAgc2VudHJ5X3ZlcnNpb246IFNFTlRSWV9BUElfVkVSU0lPTiwKICAgIC4uLihzZGtJbmZvICYmIHsgc2VudHJ5X2NsaWVudDogYCR7c2RrSW5mby5uYW1lfS8ke3Nka0luZm8udmVyc2lvbn1gIH0pLAogIH0pOwp9CgovKioKICogUmV0dXJucyB0aGUgZW52ZWxvcGUgZW5kcG9pbnQgVVJMIHdpdGggYXV0aCBpbiB0aGUgcXVlcnkgc3RyaW5nLgogKgogKiBTZW5kaW5nIGF1dGggYXMgcGFydCBvZiB0aGUgcXVlcnkgc3RyaW5nIGFuZCBub3QgYXMgY3VzdG9tIEhUVFAgaGVhZGVycyBhdm9pZHMgQ09SUyBwcmVmbGlnaHQgcmVxdWVzdHMuCiAqLwpmdW5jdGlvbiBnZXRFbnZlbG9wZUVuZHBvaW50V2l0aFVybEVuY29kZWRBdXRoKAogIGRzbiwKICAvLyBUT0RPICh2OCk6IFJlbW92ZSBgdHVubmVsT3JPcHRpb25zYCBpbiBmYXZvciBvZiBgb3B0aW9uc2AsIGFuZCB1c2UgdGhlIHN1YnN0aXR1dGUgY29kZSBiZWxvdwogIC8vIG9wdGlvbnM6IENsaWVudE9wdGlvbnMgPSB7fSBhcyBDbGllbnRPcHRpb25zLAogIHR1bm5lbE9yT3B0aW9ucyA9IHt9ICwKKSB7CiAgLy8gVE9ETyAodjgpOiBVc2UgdGhpcyBjb2RlIGluc3RlYWQKICAvLyBjb25zdCB7IHR1bm5lbCwgX21ldGFkYXRhID0ge30gfSA9IG9wdGlvbnM7CiAgLy8gcmV0dXJuIHR1bm5lbCA/IHR1bm5lbCA6IGAke19nZXRJbmdlc3RFbmRwb2ludChkc24pfT8ke19lbmNvZGVkQXV0aChkc24sIF9tZXRhZGF0YS5zZGspfWA7CgogIGNvbnN0IHR1bm5lbCA9IHR5cGVvZiB0dW5uZWxPck9wdGlvbnMgPT09ICdzdHJpbmcnID8gdHVubmVsT3JPcHRpb25zIDogdHVubmVsT3JPcHRpb25zLnR1bm5lbDsKICBjb25zdCBzZGtJbmZvID0KICAgIHR5cGVvZiB0dW5uZWxPck9wdGlvbnMgPT09ICdzdHJpbmcnIHx8ICF0dW5uZWxPck9wdGlvbnMuX21ldGFkYXRhID8gdW5kZWZpbmVkIDogdHVubmVsT3JPcHRpb25zLl9tZXRhZGF0YS5zZGs7CgogIHJldHVybiB0dW5uZWwgPyB0dW5uZWwgOiBgJHtfZ2V0SW5nZXN0RW5kcG9pbnQoZHNuKX0/JHtfZW5jb2RlZEF1dGgoZHNuLCBzZGtJbmZvKX1gOwp9Cgpjb25zdCBERUZBVUxUX1RSQU5TUE9SVF9CVUZGRVJfU0laRSA9IDMwOwoKLyoqCiAqIENyZWF0ZXMgYW4gaW5zdGFuY2Ugb2YgYSBTZW50cnkgYFRyYW5zcG9ydGAKICoKICogQHBhcmFtIG9wdGlvbnMKICogQHBhcmFtIG1ha2VSZXF1ZXN0CiAqLwpmdW5jdGlvbiBjcmVhdGVUcmFuc3BvcnQoCiAgb3B0aW9ucywKICBtYWtlUmVxdWVzdCwKICBidWZmZXIgPSBtYWtlUHJvbWlzZUJ1ZmZlcigKICAgIG9wdGlvbnMuYnVmZmVyU2l6ZSB8fCBERUZBVUxUX1RSQU5TUE9SVF9CVUZGRVJfU0laRSwKICApLAopIHsKICBsZXQgcmF0ZUxpbWl0cyA9IHt9OwogIGNvbnN0IGZsdXNoID0gKHRpbWVvdXQpID0+IGJ1ZmZlci5kcmFpbih0aW1lb3V0KTsKCiAgZnVuY3Rpb24gc2VuZChlbnZlbG9wZSkgewogICAgY29uc3QgZmlsdGVyZWRFbnZlbG9wZUl0ZW1zID0gW107CgogICAgLy8gRHJvcCByYXRlIGxpbWl0ZWQgaXRlbXMgZnJvbSBlbnZlbG9wZQogICAgZm9yRWFjaEVudmVsb3BlSXRlbShlbnZlbG9wZSwgKGl0ZW0sIHR5cGUpID0+IHsKICAgICAgY29uc3QgZGF0YUNhdGVnb3J5ID0gZW52ZWxvcGVJdGVtVHlwZVRvRGF0YUNhdGVnb3J5KHR5cGUpOwogICAgICBpZiAoaXNSYXRlTGltaXRlZChyYXRlTGltaXRzLCBkYXRhQ2F0ZWdvcnkpKSB7CiAgICAgICAgY29uc3QgZXZlbnQgPSBnZXRFdmVudEZvckVudmVsb3BlSXRlbShpdGVtLCB0eXBlKTsKICAgICAgICBvcHRpb25zLnJlY29yZERyb3BwZWRFdmVudCgncmF0ZWxpbWl0X2JhY2tvZmYnLCBkYXRhQ2F0ZWdvcnksIGV2ZW50KTsKICAgICAgfSBlbHNlIHsKICAgICAgICBmaWx0ZXJlZEVudmVsb3BlSXRlbXMucHVzaChpdGVtKTsKICAgICAgfQogICAgfSk7CgogICAgLy8gU2tpcCBzZW5kaW5nIGlmIGVudmVsb3BlIGlzIGVtcHR5IGFmdGVyIGZpbHRlcmluZyBvdXQgcmF0ZSBsaW1pdGVkIGV2ZW50cwogICAgaWYgKGZpbHRlcmVkRW52ZWxvcGVJdGVtcy5sZW5ndGggPT09IDApIHsKICAgICAgcmV0dXJuIHJlc29sdmVkU3luY1Byb21pc2UoKTsKICAgIH0KCiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueQogICAgY29uc3QgZmlsdGVyZWRFbnZlbG9wZSA9IGNyZWF0ZUVudmVsb3BlKGVudmVsb3BlWzBdLCBmaWx0ZXJlZEVudmVsb3BlSXRlbXMgKTsKCiAgICAvLyBDcmVhdGVzIGNsaWVudCByZXBvcnQgZm9yIGVhY2ggaXRlbSBpbiBhbiBlbnZlbG9wZQogICAgY29uc3QgcmVjb3JkRW52ZWxvcGVMb3NzID0gKHJlYXNvbikgPT4gewogICAgICBmb3JFYWNoRW52ZWxvcGVJdGVtKGZpbHRlcmVkRW52ZWxvcGUsIChpdGVtLCB0eXBlKSA9PiB7CiAgICAgICAgY29uc3QgZXZlbnQgPSBnZXRFdmVudEZvckVudmVsb3BlSXRlbShpdGVtLCB0eXBlKTsKICAgICAgICBvcHRpb25zLnJlY29yZERyb3BwZWRFdmVudChyZWFzb24sIGVudmVsb3BlSXRlbVR5cGVUb0RhdGFDYXRlZ29yeSh0eXBlKSwgZXZlbnQpOwogICAgICB9KTsKICAgIH07CgogICAgY29uc3QgcmVxdWVzdFRhc2sgPSAoKSA9PgogICAgICBtYWtlUmVxdWVzdCh7IGJvZHk6IHNlcmlhbGl6ZUVudmVsb3BlKGZpbHRlcmVkRW52ZWxvcGUsIG9wdGlvbnMudGV4dEVuY29kZXIpIH0pLnRoZW4oCiAgICAgICAgcmVzcG9uc2UgPT4gewogICAgICAgICAgLy8gV2UgZG9uJ3Qgd2FudCB0byB0aHJvdyBvbiBOT0sgcmVzcG9uc2VzLCBidXQgd2Ugd2FudCB0byBhdCBsZWFzdCBsb2cgdGhlbQogICAgICAgICAgaWYgKHJlc3BvbnNlLnN0YXR1c0NvZGUgIT09IHVuZGVmaW5lZCAmJiAocmVzcG9uc2Uuc3RhdHVzQ29kZSA8IDIwMCB8fCByZXNwb25zZS5zdGF0dXNDb2RlID49IDMwMCkpIHsKICAgICAgICAgICAgREVCVUdfQlVJTEQgJiYgbG9nZ2VyLndhcm4oYFNlbnRyeSByZXNwb25kZWQgd2l0aCBzdGF0dXMgY29kZSAke3Jlc3BvbnNlLnN0YXR1c0NvZGV9IHRvIHNlbnQgZXZlbnQuYCk7CiAgICAgICAgICB9CgogICAgICAgICAgcmF0ZUxpbWl0cyA9IHVwZGF0ZVJhdGVMaW1pdHMocmF0ZUxpbWl0cywgcmVzcG9uc2UpOwogICAgICAgICAgcmV0dXJuIHJlc3BvbnNlOwogICAgICAgIH0sCiAgICAgICAgZXJyb3IgPT4gewogICAgICAgICAgcmVjb3JkRW52ZWxvcGVMb3NzKCduZXR3b3JrX2Vycm9yJyk7CiAgICAgICAgICB0aHJvdyBlcnJvcjsKICAgICAgICB9LAogICAgICApOwoKICAgIHJldHVybiBidWZmZXIuYWRkKHJlcXVlc3RUYXNrKS50aGVuKAogICAgICByZXN1bHQgPT4gcmVzdWx0LAogICAgICBlcnJvciA9PiB7CiAgICAgICAgaWYgKGVycm9yIGluc3RhbmNlb2YgU2VudHJ5RXJyb3IpIHsKICAgICAgICAgIERFQlVHX0JVSUxEICYmIGxvZ2dlci5lcnJvcignU2tpcHBlZCBzZW5kaW5nIGV2ZW50IGJlY2F1c2UgYnVmZmVyIGlzIGZ1bGwuJyk7CiAgICAgICAgICByZWNvcmRFbnZlbG9wZUxvc3MoJ3F1ZXVlX292ZXJmbG93Jyk7CiAgICAgICAgICByZXR1cm4gcmVzb2x2ZWRTeW5jUHJvbWlzZSgpOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICB0aHJvdyBlcnJvcjsKICAgICAgICB9CiAgICAgIH0sCiAgICApOwogIH0KCiAgLy8gV2UgdXNlIHRoaXMgdG8gaWRlbnRpZmlmeSBpZiB0aGUgdHJhbnNwb3J0IGlzIHRoZSBiYXNlIHRyYW5zcG9ydAogIC8vIFRPRE8gKHY4KTogUmVtb3ZlIHRoaXMgYWdhaW4gYXMgd2UnbGwgbm8gbG9uZ2VyIG5lZWQgaXQKICBzZW5kLl9fc2VudHJ5X19iYXNlVHJhbnNwb3J0X18gPSB0cnVlOwoKICByZXR1cm4gewogICAgc2VuZCwKICAgIGZsdXNoLAogIH07Cn0KCmZ1bmN0aW9uIGdldEV2ZW50Rm9yRW52ZWxvcGVJdGVtKGl0ZW0sIHR5cGUpIHsKICBpZiAodHlwZSAhPT0gJ2V2ZW50JyAmJiB0eXBlICE9PSAndHJhbnNhY3Rpb24nKSB7CiAgICByZXR1cm4gdW5kZWZpbmVkOwogIH0KCiAgcmV0dXJuIEFycmF5LmlzQXJyYXkoaXRlbSkgPyAoaXRlbSApWzFdIDogdW5kZWZpbmVkOwp9CgovKiogbm9ybWFsaXplcyBXaW5kb3dzIHBhdGhzICovCmZ1bmN0aW9uIG5vcm1hbGl6ZVdpbmRvd3NQYXRoKHBhdGgpIHsKICByZXR1cm4gcGF0aAogICAgLnJlcGxhY2UoL15bQS1aXTovLCAnJykgLy8gcmVtb3ZlIFdpbmRvd3Mtc3R5bGUgcHJlZml4CiAgICAucmVwbGFjZSgvXFwvZywgJy8nKTsgLy8gcmVwbGFjZSBhbGwgYFxgIGluc3RhbmNlcyB3aXRoIGAvYAp9CgovKiogQ3JlYXRlcyBhIGZ1bmN0aW9uIHRoYXQgZ2V0cyB0aGUgbW9kdWxlIG5hbWUgZnJvbSBhIGZpbGVuYW1lICovCmZ1bmN0aW9uIGNyZWF0ZUdldE1vZHVsZUZyb21GaWxlbmFtZSgKICBiYXNlUGF0aCA9IHByb2Nlc3MuYXJndlsxXSA/IGRpcm5hbWUocHJvY2Vzcy5hcmd2WzFdKSA6IHByb2Nlc3MuY3dkKCksCiAgaXNXaW5kb3dzID0gc2VwID09PSAnXFwnLAopIHsKICBjb25zdCBub3JtYWxpemVkQmFzZSA9IGlzV2luZG93cyA/IG5vcm1hbGl6ZVdpbmRvd3NQYXRoKGJhc2VQYXRoKSA6IGJhc2VQYXRoOwoKICByZXR1cm4gKGZpbGVuYW1lKSA9PiB7CiAgICBpZiAoIWZpbGVuYW1lKSB7CiAgICAgIHJldHVybjsKICAgIH0KCiAgICBjb25zdCBub3JtYWxpemVkRmlsZW5hbWUgPSBpc1dpbmRvd3MgPyBub3JtYWxpemVXaW5kb3dzUGF0aChmaWxlbmFtZSkgOiBmaWxlbmFtZTsKCiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgcHJlZmVyLWNvbnN0CiAgICBsZXQgeyBkaXIsIGJhc2U6IGZpbGUsIGV4dCB9ID0gcG9zaXgucGFyc2Uobm9ybWFsaXplZEZpbGVuYW1lKTsKCiAgICBpZiAoZXh0ID09PSAnLmpzJyB8fCBleHQgPT09ICcubWpzJyB8fCBleHQgPT09ICcuY2pzJykgewogICAgICBmaWxlID0gZmlsZS5zbGljZSgwLCBleHQubGVuZ3RoICogLTEpOwogICAgfQoKICAgIGlmICghZGlyKSB7CiAgICAgIC8vIE5vIGRpcm5hbWUgd2hhdHNvZXZlcgogICAgICBkaXIgPSAnLic7CiAgICB9CgogICAgY29uc3QgbiA9IGRpci5sYXN0SW5kZXhPZignL25vZGVfbW9kdWxlcycpOwogICAgaWYgKG4gPiAtMSkgewogICAgICByZXR1cm4gYCR7ZGlyLnNsaWNlKG4gKyAxNCkucmVwbGFjZSgvXC8vZywgJy4nKX06JHtmaWxlfWA7CiAgICB9CgogICAgLy8gTGV0J3Mgc2VlIGlmIGl0J3MgYSBwYXJ0IG9mIHRoZSBtYWluIG1vZHVsZQogICAgLy8gVG8gYmUgYSBwYXJ0IG9mIG1haW4gbW9kdWxlLCBpdCBoYXMgdG8gc2hhcmUgdGhlIHNhbWUgYmFzZQogICAgaWYgKGRpci5zdGFydHNXaXRoKG5vcm1hbGl6ZWRCYXNlKSkgewogICAgICBsZXQgbW9kdWxlTmFtZSA9IGRpci5zbGljZShub3JtYWxpemVkQmFzZS5sZW5ndGggKyAxKS5yZXBsYWNlKC9cLy9nLCAnLicpOwoKICAgICAgaWYgKG1vZHVsZU5hbWUpIHsKICAgICAgICBtb2R1bGVOYW1lICs9ICc6JzsKICAgICAgfQogICAgICBtb2R1bGVOYW1lICs9IGZpbGU7CgogICAgICByZXR1cm4gbW9kdWxlTmFtZTsKICAgIH0KCiAgICByZXR1cm4gZmlsZTsKICB9Owp9CgpmdW5jdGlvbiBfbnVsbGlzaENvYWxlc2NlJDIobGhzLCByaHNGbikgeyBpZiAobGhzICE9IG51bGwpIHsgcmV0dXJuIGxoczsgfSBlbHNlIHsgcmV0dXJuIHJoc0ZuKCk7IH0gfS8qKgogKiBUaGlzIGNvZGUgd2FzIG9yaWdpbmFsbHkgZm9ya2VkIGZyb20gaHR0cHM6Ly9naXRodWIuY29tL1Rvb1RhbGxOYXRlL3Byb3h5LWFnZW50cy90cmVlL2IxMzMyOTVmZDE2ZjY0NzU1NzhiNmIxNWJkOWI0ZTMzZWNiMGQwYjcKICogV2l0aCB0aGUgZm9sbG93aW5nIGxpY2VuY2U6CiAqCiAqIChUaGUgTUlUIExpY2Vuc2UpCiAqCiAqIENvcHlyaWdodCAoYykgMjAxMyBOYXRoYW4gUmFqbGljaCA8bmF0aGFuQHRvb3RhbGxuYXRlLm5ldD4qCiAqCiAqIFBlcm1pc3Npb24gaXMgaGVyZWJ5IGdyYW50ZWQsIGZyZWUgb2YgY2hhcmdlLCB0byBhbnkgcGVyc29uIG9idGFpbmluZwogKiBhIGNvcHkgb2YgdGhpcyBzb2Z0d2FyZSBhbmQgYXNzb2NpYXRlZCBkb2N1bWVudGF0aW9uIGZpbGVzICh0aGUKICogJ1NvZnR3YXJlJyksIHRvIGRlYWwgaW4gdGhlIFNvZnR3YXJlIHdpdGhvdXQgcmVzdHJpY3Rpb24sIGluY2x1ZGluZwogKiB3aXRob3V0IGxpbWl0YXRpb24gdGhlIHJpZ2h0cyB0byB1c2UsIGNvcHksIG1vZGlmeSwgbWVyZ2UsIHB1Ymxpc2gsCiAqIGRpc3RyaWJ1dGUsIHN1YmxpY2Vuc2UsIGFuZC9vciBzZWxsIGNvcGllcyBvZiB0aGUgU29mdHdhcmUsIGFuZCB0bwogKiBwZXJtaXQgcGVyc29ucyB0byB3aG9tIHRoZSBTb2Z0d2FyZSBpcyBmdXJuaXNoZWQgdG8gZG8gc28sIHN1YmplY3QgdG8KICogdGhlIGZvbGxvd2luZyBjb25kaXRpb25zOioKICoKICogVGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UgYW5kIHRoaXMgcGVybWlzc2lvbiBub3RpY2Ugc2hhbGwgYmUKICogaW5jbHVkZWQgaW4gYWxsIGNvcGllcyBvciBzdWJzdGFudGlhbCBwb3J0aW9ucyBvZiB0aGUgU29mdHdhcmUuKgogKgogKiBUSEUgU09GVFdBUkUgSVMgUFJPVklERUQgJ0FTIElTJywgV0lUSE9VVCBXQVJSQU5UWSBPRiBBTlkgS0lORCwKICogRVhQUkVTUyBPUiBJTVBMSUVELCBJTkNMVURJTkcgQlVUIE5PVCBMSU1JVEVEIFRPIFRIRSBXQVJSQU5USUVTIE9GCiAqIE1FUkNIQU5UQUJJTElUWSwgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UgQU5EIE5PTklORlJJTkdFTUVOVC4KICogSU4gTk8gRVZFTlQgU0hBTEwgVEhFIEFVVEhPUlMgT1IgQ09QWVJJR0hUIEhPTERFUlMgQkUgTElBQkxFIEZPUiBBTlkKICogQ0xBSU0sIERBTUFHRVMgT1IgT1RIRVIgTElBQklMSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwKICogVE9SVCBPUiBPVEhFUldJU0UsIEFSSVNJTkcgRlJPTSwgT1VUIE9GIE9SIElOIENPTk5FQ1RJT04gV0lUSCBUSEUKICogU09GVFdBUkUgT1IgVEhFIFVTRSBPUiBPVEhFUiBERUFMSU5HUyBJTiBUSEUgU09GVFdBUkUuCiAqLwoKY29uc3QgSU5URVJOQUwgPSBTeW1ib2woJ0FnZW50QmFzZUludGVybmFsU3RhdGUnKTsKCmNsYXNzIEFnZW50IGV4dGVuZHMgaHR0cC5BZ2VudCB7CgogIC8vIFNldCBieSBgaHR0cC5BZ2VudGAgLSBtaXNzaW5nIGZyb20gYEB0eXBlcy9ub2RlYAoKICBjb25zdHJ1Y3RvcihvcHRzKSB7CiAgICBzdXBlcihvcHRzKTsKICAgIHRoaXNbSU5URVJOQUxdID0ge307CiAgfQoKICAvKioKICAgKiBEZXRlcm1pbmUgd2hldGhlciB0aGlzIGlzIGFuIGBodHRwYCBvciBgaHR0cHNgIHJlcXVlc3QuCiAgICovCiAgaXNTZWN1cmVFbmRwb2ludChvcHRpb25zKSB7CiAgICBpZiAob3B0aW9ucykgewogICAgICAvLyBGaXJzdCBjaGVjayB0aGUgYHNlY3VyZUVuZHBvaW50YCBwcm9wZXJ0eSBleHBsaWNpdGx5LCBzaW5jZSB0aGlzCiAgICAgIC8vIG1lYW5zIHRoYXQgYSBwYXJlbnQgYEFnZW50YCBpcyAicGFzc2luZyB0aHJvdWdoIiB0byB0aGlzIGluc3RhbmNlLgogICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueSwgQHR5cGVzY3JpcHQtZXNsaW50L25vLXVuc2FmZS1tZW1iZXItYWNjZXNzCiAgICAgIGlmICh0eXBlb2YgKG9wdGlvbnMgKS5zZWN1cmVFbmRwb2ludCA9PT0gJ2Jvb2xlYW4nKSB7CiAgICAgICAgcmV0dXJuIG9wdGlvbnMuc2VjdXJlRW5kcG9pbnQ7CiAgICAgIH0KCiAgICAgIC8vIElmIG5vIGV4cGxpY2l0IGBzZWN1cmVgIGVuZHBvaW50LCBjaGVjayBpZiBgcHJvdG9jb2xgIHByb3BlcnR5IGlzCiAgICAgIC8vIHNldC4gVGhpcyB3aWxsIHVzdWFsbHkgYmUgdGhlIGNhc2Ugc2luY2UgdXNpbmcgYSBmdWxsIHN0cmluZyBVUkwKICAgICAgLy8gb3IgYFVSTGAgaW5zdGFuY2Ugc2hvdWxkIGJlIHRoZSBtb3N0IGNvbW1vbiB1c2FnZS4KICAgICAgaWYgKHR5cGVvZiBvcHRpb25zLnByb3RvY29sID09PSAnc3RyaW5nJykgewogICAgICAgIHJldHVybiBvcHRpb25zLnByb3RvY29sID09PSAnaHR0cHM6JzsKICAgICAgfQogICAgfQoKICAgIC8vIEZpbmFsbHksIGlmIG5vIGBwcm90b2NvbGAgcHJvcGVydHkgd2FzIHNldCwgdGhlbiBmYWxsIGJhY2sgdG8KICAgIC8vIGNoZWNraW5nIHRoZSBzdGFjayB0cmFjZSBvZiB0aGUgY3VycmVudCBjYWxsIHN0YWNrLCBhbmQgdHJ5IHRvCiAgICAvLyBkZXRlY3QgdGhlICJodHRwcyIgbW9kdWxlLgogICAgY29uc3QgeyBzdGFjayB9ID0gbmV3IEVycm9yKCk7CiAgICBpZiAodHlwZW9mIHN0YWNrICE9PSAnc3RyaW5nJykgcmV0dXJuIGZhbHNlOwogICAgcmV0dXJuIHN0YWNrLnNwbGl0KCdcbicpLnNvbWUobCA9PiBsLmluZGV4T2YoJyhodHRwcy5qczonKSAhPT0gLTEgfHwgbC5pbmRleE9mKCdub2RlOmh0dHBzOicpICE9PSAtMSk7CiAgfQoKICBjcmVhdGVTb2NrZXQocmVxLCBvcHRpb25zLCBjYikgewogICAgY29uc3QgY29ubmVjdE9wdHMgPSB7CiAgICAgIC4uLm9wdGlvbnMsCiAgICAgIHNlY3VyZUVuZHBvaW50OiB0aGlzLmlzU2VjdXJlRW5kcG9pbnQob3B0aW9ucyksCiAgICB9OwogICAgUHJvbWlzZS5yZXNvbHZlKCkKICAgICAgLnRoZW4oKCkgPT4gdGhpcy5jb25uZWN0KHJlcSwgY29ubmVjdE9wdHMpKQogICAgICAudGhlbihzb2NrZXQgPT4gewogICAgICAgIGlmIChzb2NrZXQgaW5zdGFuY2VvZiBodHRwLkFnZW50KSB7CiAgICAgICAgICAvLyBAdHMtZXhwZWN0LWVycm9yIGBhZGRSZXF1ZXN0KClgIGlzbid0IGRlZmluZWQgaW4gYEB0eXBlcy9ub2RlYAogICAgICAgICAgcmV0dXJuIHNvY2tldC5hZGRSZXF1ZXN0KHJlcSwgY29ubmVjdE9wdHMpOwogICAgICAgIH0KICAgICAgICB0aGlzW0lOVEVSTkFMXS5jdXJyZW50U29ja2V0ID0gc29ja2V0OwogICAgICAgIC8vIEB0cy1leHBlY3QtZXJyb3IgYGNyZWF0ZVNvY2tldCgpYCBpc24ndCBkZWZpbmVkIGluIGBAdHlwZXMvbm9kZWAKICAgICAgICBzdXBlci5jcmVhdGVTb2NrZXQocmVxLCBvcHRpb25zLCBjYik7CiAgICAgIH0sIGNiKTsKICB9CgogIGNyZWF0ZUNvbm5lY3Rpb24oKSB7CiAgICBjb25zdCBzb2NrZXQgPSB0aGlzW0lOVEVSTkFMXS5jdXJyZW50U29ja2V0OwogICAgdGhpc1tJTlRFUk5BTF0uY3VycmVudFNvY2tldCA9IHVuZGVmaW5lZDsKICAgIGlmICghc29ja2V0KSB7CiAgICAgIHRocm93IG5ldyBFcnJvcignTm8gc29ja2V0IHdhcyByZXR1cm5lZCBpbiB0aGUgYGNvbm5lY3QoKWAgZnVuY3Rpb24nKTsKICAgIH0KICAgIHJldHVybiBzb2NrZXQ7CiAgfQoKICBnZXQgZGVmYXVsdFBvcnQoKSB7CiAgICByZXR1cm4gX251bGxpc2hDb2FsZXNjZSQyKHRoaXNbSU5URVJOQUxdLmRlZmF1bHRQb3J0LCAoKSA9PiAoICh0aGlzLnByb3RvY29sID09PSAnaHR0cHM6JyA/IDQ0MyA6IDgwKSkpOwogIH0KCiAgc2V0IGRlZmF1bHRQb3J0KHYpIHsKICAgIGlmICh0aGlzW0lOVEVSTkFMXSkgewogICAgICB0aGlzW0lOVEVSTkFMXS5kZWZhdWx0UG9ydCA9IHY7CiAgICB9CiAgfQoKICBnZXQgcHJvdG9jb2woKSB7CiAgICByZXR1cm4gX251bGxpc2hDb2FsZXNjZSQyKHRoaXNbSU5URVJOQUxdLnByb3RvY29sLCAoKSA9PiAoICh0aGlzLmlzU2VjdXJlRW5kcG9pbnQoKSA/ICdodHRwczonIDogJ2h0dHA6JykpKTsKICB9CgogIHNldCBwcm90b2NvbCh2KSB7CiAgICBpZiAodGhpc1tJTlRFUk5BTF0pIHsKICAgICAgdGhpc1tJTlRFUk5BTF0ucHJvdG9jb2wgPSB2OwogICAgfQogIH0KfQoKZnVuY3Rpb24gZGVidWckMSguLi5hcmdzKSB7CiAgbG9nZ2VyLmxvZygnW2h0dHBzLXByb3h5LWFnZW50OnBhcnNlLXByb3h5LXJlc3BvbnNlXScsIC4uLmFyZ3MpOwp9CgpmdW5jdGlvbiBwYXJzZVByb3h5UmVzcG9uc2Uoc29ja2V0KSB7CiAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+IHsKICAgIC8vIHdlIG5lZWQgdG8gYnVmZmVyIGFueSBIVFRQIHRyYWZmaWMgdGhhdCBoYXBwZW5zIHdpdGggdGhlIHByb3h5IGJlZm9yZSB3ZSBnZXQKICAgIC8vIHRoZSBDT05ORUNUIHJlc3BvbnNlLCBzbyB0aGF0IGlmIHRoZSByZXNwb25zZSBpcyBhbnl0aGluZyBvdGhlciB0aGFuIGFuICIyMDAiCiAgICAvLyByZXNwb25zZSBjb2RlLCB0aGVuIHdlIGNhbiByZS1wbGF5IHRoZSAiZGF0YSIgZXZlbnRzIG9uIHRoZSBzb2NrZXQgb25jZSB0aGUKICAgIC8vIEhUVFAgcGFyc2VyIGlzIGhvb2tlZCB1cC4uLgogICAgbGV0IGJ1ZmZlcnNMZW5ndGggPSAwOwogICAgY29uc3QgYnVmZmVycyA9IFtdOwoKICAgIGZ1bmN0aW9uIHJlYWQoKSB7CiAgICAgIGNvbnN0IGIgPSBzb2NrZXQucmVhZCgpOwogICAgICBpZiAoYikgb25kYXRhKGIpOwogICAgICBlbHNlIHNvY2tldC5vbmNlKCdyZWFkYWJsZScsIHJlYWQpOwogICAgfQoKICAgIGZ1bmN0aW9uIGNsZWFudXAoKSB7CiAgICAgIHNvY2tldC5yZW1vdmVMaXN0ZW5lcignZW5kJywgb25lbmQpOwogICAgICBzb2NrZXQucmVtb3ZlTGlzdGVuZXIoJ2Vycm9yJywgb25lcnJvcik7CiAgICAgIHNvY2tldC5yZW1vdmVMaXN0ZW5lcigncmVhZGFibGUnLCByZWFkKTsKICAgIH0KCiAgICBmdW5jdGlvbiBvbmVuZCgpIHsKICAgICAgY2xlYW51cCgpOwogICAgICBkZWJ1ZyQxKCdvbmVuZCcpOwogICAgICByZWplY3QobmV3IEVycm9yKCdQcm94eSBjb25uZWN0aW9uIGVuZGVkIGJlZm9yZSByZWNlaXZpbmcgQ09OTkVDVCByZXNwb25zZScpKTsKICAgIH0KCiAgICBmdW5jdGlvbiBvbmVycm9yKGVycikgewogICAgICBjbGVhbnVwKCk7CiAgICAgIGRlYnVnJDEoJ29uZXJyb3IgJW8nLCBlcnIpOwogICAgICByZWplY3QoZXJyKTsKICAgIH0KCiAgICBmdW5jdGlvbiBvbmRhdGEoYikgewogICAgICBidWZmZXJzLnB1c2goYik7CiAgICAgIGJ1ZmZlcnNMZW5ndGggKz0gYi5sZW5ndGg7CgogICAgICBjb25zdCBidWZmZXJlZCA9IEJ1ZmZlci5jb25jYXQoYnVmZmVycywgYnVmZmVyc0xlbmd0aCk7CiAgICAgIGNvbnN0IGVuZE9mSGVhZGVycyA9IGJ1ZmZlcmVkLmluZGV4T2YoJ1xyXG5cclxuJyk7CgogICAgICBpZiAoZW5kT2ZIZWFkZXJzID09PSAtMSkgewogICAgICAgIC8vIGtlZXAgYnVmZmVyaW5nCiAgICAgICAgZGVidWckMSgnaGF2ZSBub3QgcmVjZWl2ZWQgZW5kIG9mIEhUVFAgaGVhZGVycyB5ZXQuLi4nKTsKICAgICAgICByZWFkKCk7CiAgICAgICAgcmV0dXJuOwogICAgICB9CgogICAgICBjb25zdCBoZWFkZXJQYXJ0cyA9IGJ1ZmZlcmVkLnNsaWNlKDAsIGVuZE9mSGVhZGVycykudG9TdHJpbmcoJ2FzY2lpJykuc3BsaXQoJ1xyXG4nKTsKICAgICAgY29uc3QgZmlyc3RMaW5lID0gaGVhZGVyUGFydHMuc2hpZnQoKTsKICAgICAgaWYgKCFmaXJzdExpbmUpIHsKICAgICAgICBzb2NrZXQuZGVzdHJveSgpOwogICAgICAgIHJldHVybiByZWplY3QobmV3IEVycm9yKCdObyBoZWFkZXIgcmVjZWl2ZWQgZnJvbSBwcm94eSBDT05ORUNUIHJlc3BvbnNlJykpOwogICAgICB9CiAgICAgIGNvbnN0IGZpcnN0TGluZVBhcnRzID0gZmlyc3RMaW5lLnNwbGl0KCcgJyk7CiAgICAgIGNvbnN0IHN0YXR1c0NvZGUgPSArZmlyc3RMaW5lUGFydHNbMV07CiAgICAgIGNvbnN0IHN0YXR1c1RleHQgPSBmaXJzdExpbmVQYXJ0cy5zbGljZSgyKS5qb2luKCcgJyk7CiAgICAgIGNvbnN0IGhlYWRlcnMgPSB7fTsKICAgICAgZm9yIChjb25zdCBoZWFkZXIgb2YgaGVhZGVyUGFydHMpIHsKICAgICAgICBpZiAoIWhlYWRlcikgY29udGludWU7CiAgICAgICAgY29uc3QgZmlyc3RDb2xvbiA9IGhlYWRlci5pbmRleE9mKCc6Jyk7CiAgICAgICAgaWYgKGZpcnN0Q29sb24gPT09IC0xKSB7CiAgICAgICAgICBzb2NrZXQuZGVzdHJveSgpOwogICAgICAgICAgcmV0dXJuIHJlamVjdChuZXcgRXJyb3IoYEludmFsaWQgaGVhZGVyIGZyb20gcHJveHkgQ09OTkVDVCByZXNwb25zZTogIiR7aGVhZGVyfSJgKSk7CiAgICAgICAgfQogICAgICAgIGNvbnN0IGtleSA9IGhlYWRlci5zbGljZSgwLCBmaXJzdENvbG9uKS50b0xvd2VyQ2FzZSgpOwogICAgICAgIGNvbnN0IHZhbHVlID0gaGVhZGVyLnNsaWNlKGZpcnN0Q29sb24gKyAxKS50cmltU3RhcnQoKTsKICAgICAgICBjb25zdCBjdXJyZW50ID0gaGVhZGVyc1trZXldOwogICAgICAgIGlmICh0eXBlb2YgY3VycmVudCA9PT0gJ3N0cmluZycpIHsKICAgICAgICAgIGhlYWRlcnNba2V5XSA9IFtjdXJyZW50LCB2YWx1ZV07CiAgICAgICAgfSBlbHNlIGlmIChBcnJheS5pc0FycmF5KGN1cnJlbnQpKSB7CiAgICAgICAgICBjdXJyZW50LnB1c2godmFsdWUpOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICBoZWFkZXJzW2tleV0gPSB2YWx1ZTsKICAgICAgICB9CiAgICAgIH0KICAgICAgZGVidWckMSgnZ290IHByb3h5IHNlcnZlciByZXNwb25zZTogJW8gJW8nLCBmaXJzdExpbmUsIGhlYWRlcnMpOwogICAgICBjbGVhbnVwKCk7CiAgICAgIHJlc29sdmUoewogICAgICAgIGNvbm5lY3Q6IHsKICAgICAgICAgIHN0YXR1c0NvZGUsCiAgICAgICAgICBzdGF0dXNUZXh0LAogICAgICAgICAgaGVhZGVycywKICAgICAgICB9LAogICAgICAgIGJ1ZmZlcmVkLAogICAgICB9KTsKICAgIH0KCiAgICBzb2NrZXQub24oJ2Vycm9yJywgb25lcnJvcik7CiAgICBzb2NrZXQub24oJ2VuZCcsIG9uZW5kKTsKCiAgICByZWFkKCk7CiAgfSk7Cn0KCmZ1bmN0aW9uIF9udWxsaXNoQ29hbGVzY2UkMShsaHMsIHJoc0ZuKSB7IGlmIChsaHMgIT0gbnVsbCkgeyByZXR1cm4gbGhzOyB9IGVsc2UgeyByZXR1cm4gcmhzRm4oKTsgfSB9IGZ1bmN0aW9uIF9vcHRpb25hbENoYWluJDEob3BzKSB7IGxldCBsYXN0QWNjZXNzTEhTID0gdW5kZWZpbmVkOyBsZXQgdmFsdWUgPSBvcHNbMF07IGxldCBpID0gMTsgd2hpbGUgKGkgPCBvcHMubGVuZ3RoKSB7IGNvbnN0IG9wID0gb3BzW2ldOyBjb25zdCBmbiA9IG9wc1tpICsgMV07IGkgKz0gMjsgaWYgKChvcCA9PT0gJ29wdGlvbmFsQWNjZXNzJyB8fCBvcCA9PT0gJ29wdGlvbmFsQ2FsbCcpICYmIHZhbHVlID09IG51bGwpIHsgcmV0dXJuIHVuZGVmaW5lZDsgfSBpZiAob3AgPT09ICdhY2Nlc3MnIHx8IG9wID09PSAnb3B0aW9uYWxBY2Nlc3MnKSB7IGxhc3RBY2Nlc3NMSFMgPSB2YWx1ZTsgdmFsdWUgPSBmbih2YWx1ZSk7IH0gZWxzZSBpZiAob3AgPT09ICdjYWxsJyB8fCBvcCA9PT0gJ29wdGlvbmFsQ2FsbCcpIHsgdmFsdWUgPSBmbigoLi4uYXJncykgPT4gdmFsdWUuY2FsbChsYXN0QWNjZXNzTEhTLCAuLi5hcmdzKSk7IGxhc3RBY2Nlc3NMSFMgPSB1bmRlZmluZWQ7IH0gfSByZXR1cm4gdmFsdWU7IH0KCmZ1bmN0aW9uIGRlYnVnKC4uLmFyZ3MpIHsKICBsb2dnZXIubG9nKCdbaHR0cHMtcHJveHktYWdlbnRdJywgLi4uYXJncyk7Cn0KCi8qKgogKiBUaGUgYEh0dHBzUHJveHlBZ2VudGAgaW1wbGVtZW50cyBhbiBIVFRQIEFnZW50IHN1YmNsYXNzIHRoYXQgY29ubmVjdHMgdG8KICogdGhlIHNwZWNpZmllZCAiSFRUUChzKSBwcm94eSBzZXJ2ZXIiIGluIG9yZGVyIHRvIHByb3h5IEhUVFBTIHJlcXVlc3RzLgogKgogKiBPdXRnb2luZyBIVFRQIHJlcXVlc3RzIGFyZSBmaXJzdCB0dW5uZWxlZCB0aHJvdWdoIHRoZSBwcm94eSBzZXJ2ZXIgdXNpbmcgdGhlCiAqIGBDT05ORUNUYCBIVFRQIHJlcXVlc3QgbWV0aG9kIHRvIGVzdGFibGlzaCBhIGNvbm5lY3Rpb24gdG8gdGhlIHByb3h5IHNlcnZlciwKICogYW5kIHRoZW4gdGhlIHByb3h5IHNlcnZlciBjb25uZWN0cyB0byB0aGUgZGVzdGluYXRpb24gdGFyZ2V0IGFuZCBpc3N1ZXMgdGhlCiAqIEhUVFAgcmVxdWVzdCBmcm9tIHRoZSBwcm94eSBzZXJ2ZXIuCiAqCiAqIGBodHRwczpgIHJlcXVlc3RzIGhhdmUgdGhlaXIgc29ja2V0IGNvbm5lY3Rpb24gdXBncmFkZWQgdG8gVExTIG9uY2UKICogdGhlIGNvbm5lY3Rpb24gdG8gdGhlIHByb3h5IHNlcnZlciBoYXMgYmVlbiBlc3RhYmxpc2hlZC4KICovCmNsYXNzIEh0dHBzUHJveHlBZ2VudCBleHRlbmRzIEFnZW50IHsKICBzdGF0aWMgX19pbml0U3RhdGljKCkge3RoaXMucHJvdG9jb2xzID0gWydodHRwJywgJ2h0dHBzJ107IH0KCiAgY29uc3RydWN0b3IocHJveHksIG9wdHMpIHsKICAgIHN1cGVyKG9wdHMpOwogICAgdGhpcy5vcHRpb25zID0ge307CiAgICB0aGlzLnByb3h5ID0gdHlwZW9mIHByb3h5ID09PSAnc3RyaW5nJyA/IG5ldyBVUkwocHJveHkpIDogcHJveHk7CiAgICB0aGlzLnByb3h5SGVhZGVycyA9IF9udWxsaXNoQ29hbGVzY2UkMShfb3B0aW9uYWxDaGFpbiQxKFtvcHRzLCAnb3B0aW9uYWxBY2Nlc3MnLCBfMiA9PiBfMi5oZWFkZXJzXSksICgpID0+ICgge30pKTsKICAgIGRlYnVnKCdDcmVhdGluZyBuZXcgSHR0cHNQcm94eUFnZW50IGluc3RhbmNlOiAlbycsIHRoaXMucHJveHkuaHJlZik7CgogICAgLy8gVHJpbSBvZmYgdGhlIGJyYWNrZXRzIGZyb20gSVB2NiBhZGRyZXNzZXMKICAgIGNvbnN0IGhvc3QgPSAodGhpcy5wcm94eS5ob3N0bmFtZSB8fCB0aGlzLnByb3h5Lmhvc3QpLnJlcGxhY2UoL15cW3xcXSQvZywgJycpOwogICAgY29uc3QgcG9ydCA9IHRoaXMucHJveHkucG9ydCA/IHBhcnNlSW50KHRoaXMucHJveHkucG9ydCwgMTApIDogdGhpcy5wcm94eS5wcm90b2NvbCA9PT0gJ2h0dHBzOicgPyA0NDMgOiA4MDsKICAgIHRoaXMuY29ubmVjdE9wdHMgPSB7CiAgICAgIC8vIEF0dGVtcHQgdG8gbmVnb3RpYXRlIGh0dHAvMS4xIGZvciBwcm94eSBzZXJ2ZXJzIHRoYXQgc3VwcG9ydCBodHRwLzIKICAgICAgQUxQTlByb3RvY29sczogWydodHRwLzEuMSddLAogICAgICAuLi4ob3B0cyA/IG9taXQob3B0cywgJ2hlYWRlcnMnKSA6IG51bGwpLAogICAgICBob3N0LAogICAgICBwb3J0LAogICAgfTsKICB9CgogIC8qKgogICAqIENhbGxlZCB3aGVuIHRoZSBub2RlLWNvcmUgSFRUUCBjbGllbnQgbGlicmFyeSBpcyBjcmVhdGluZyBhCiAgICogbmV3IEhUVFAgcmVxdWVzdC4KICAgKi8KICBhc3luYyBjb25uZWN0KHJlcSwgb3B0cykgewogICAgY29uc3QgeyBwcm94eSB9ID0gdGhpczsKCiAgICBpZiAoIW9wdHMuaG9zdCkgewogICAgICB0aHJvdyBuZXcgVHlwZUVycm9yKCdObyAiaG9zdCIgcHJvdmlkZWQnKTsKICAgIH0KCiAgICAvLyBDcmVhdGUgYSBzb2NrZXQgY29ubmVjdGlvbiB0byB0aGUgcHJveHkgc2VydmVyLgogICAgbGV0IHNvY2tldDsKICAgIGlmIChwcm94eS5wcm90b2NvbCA9PT0gJ2h0dHBzOicpIHsKICAgICAgZGVidWcoJ0NyZWF0aW5nIGB0bHMuU29ja2V0YDogJW8nLCB0aGlzLmNvbm5lY3RPcHRzKTsKICAgICAgY29uc3Qgc2VydmVybmFtZSA9IHRoaXMuY29ubmVjdE9wdHMuc2VydmVybmFtZSB8fCB0aGlzLmNvbm5lY3RPcHRzLmhvc3Q7CiAgICAgIHNvY2tldCA9IHRscy5jb25uZWN0KHsKICAgICAgICAuLi50aGlzLmNvbm5lY3RPcHRzLAogICAgICAgIHNlcnZlcm5hbWU6IHNlcnZlcm5hbWUgJiYgbmV0LmlzSVAoc2VydmVybmFtZSkgPyB1bmRlZmluZWQgOiBzZXJ2ZXJuYW1lLAogICAgICB9KTsKICAgIH0gZWxzZSB7CiAgICAgIGRlYnVnKCdDcmVhdGluZyBgbmV0LlNvY2tldGA6ICVvJywgdGhpcy5jb25uZWN0T3B0cyk7CiAgICAgIHNvY2tldCA9IG5ldC5jb25uZWN0KHRoaXMuY29ubmVjdE9wdHMpOwogICAgfQoKICAgIGNvbnN0IGhlYWRlcnMgPQogICAgICB0eXBlb2YgdGhpcy5wcm94eUhlYWRlcnMgPT09ICdmdW5jdGlvbicgPyB0aGlzLnByb3h5SGVhZGVycygpIDogeyAuLi50aGlzLnByb3h5SGVhZGVycyB9OwogICAgY29uc3QgaG9zdCA9IG5ldC5pc0lQdjYob3B0cy5ob3N0KSA/IGBbJHtvcHRzLmhvc3R9XWAgOiBvcHRzLmhvc3Q7CiAgICBsZXQgcGF5bG9hZCA9IGBDT05ORUNUICR7aG9zdH06JHtvcHRzLnBvcnR9IEhUVFAvMS4xXHJcbmA7CgogICAgLy8gSW5qZWN0IHRoZSBgUHJveHktQXV0aG9yaXphdGlvbmAgaGVhZGVyIGlmIG5lY2Vzc2FyeS4KICAgIGlmIChwcm94eS51c2VybmFtZSB8fCBwcm94eS5wYXNzd29yZCkgewogICAgICBjb25zdCBhdXRoID0gYCR7ZGVjb2RlVVJJQ29tcG9uZW50KHByb3h5LnVzZXJuYW1lKX06JHtkZWNvZGVVUklDb21wb25lbnQocHJveHkucGFzc3dvcmQpfWA7CiAgICAgIGhlYWRlcnNbJ1Byb3h5LUF1dGhvcml6YXRpb24nXSA9IGBCYXNpYyAke0J1ZmZlci5mcm9tKGF1dGgpLnRvU3RyaW5nKCdiYXNlNjQnKX1gOwogICAgfQoKICAgIGhlYWRlcnMuSG9zdCA9IGAke2hvc3R9OiR7b3B0cy5wb3J0fWA7CgogICAgaWYgKCFoZWFkZXJzWydQcm94eS1Db25uZWN0aW9uJ10pIHsKICAgICAgaGVhZGVyc1snUHJveHktQ29ubmVjdGlvbiddID0gdGhpcy5rZWVwQWxpdmUgPyAnS2VlcC1BbGl2ZScgOiAnY2xvc2UnOwogICAgfQogICAgZm9yIChjb25zdCBuYW1lIG9mIE9iamVjdC5rZXlzKGhlYWRlcnMpKSB7CiAgICAgIHBheWxvYWQgKz0gYCR7bmFtZX06ICR7aGVhZGVyc1tuYW1lXX1cclxuYDsKICAgIH0KCiAgICBjb25zdCBwcm94eVJlc3BvbnNlUHJvbWlzZSA9IHBhcnNlUHJveHlSZXNwb25zZShzb2NrZXQpOwoKICAgIHNvY2tldC53cml0ZShgJHtwYXlsb2FkfVxyXG5gKTsKCiAgICBjb25zdCB7IGNvbm5lY3QsIGJ1ZmZlcmVkIH0gPSBhd2FpdCBwcm94eVJlc3BvbnNlUHJvbWlzZTsKICAgIHJlcS5lbWl0KCdwcm94eUNvbm5lY3QnLCBjb25uZWN0KTsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvYmFuLXRzLWNvbW1lbnQKICAgIC8vIEB0cy1pZ25vcmUgTm90IEV2ZW50RW1pdHRlciBpbiBOb2RlIHR5cGVzCiAgICB0aGlzLmVtaXQoJ3Byb3h5Q29ubmVjdCcsIGNvbm5lY3QsIHJlcSk7CgogICAgaWYgKGNvbm5lY3Quc3RhdHVzQ29kZSA9PT0gMjAwKSB7CiAgICAgIHJlcS5vbmNlKCdzb2NrZXQnLCByZXN1bWUpOwoKICAgICAgaWYgKG9wdHMuc2VjdXJlRW5kcG9pbnQpIHsKICAgICAgICAvLyBUaGUgcHJveHkgaXMgY29ubmVjdGluZyB0byBhIFRMUyBzZXJ2ZXIsIHNvIHVwZ3JhZGUKICAgICAgICAvLyB0aGlzIHNvY2tldCBjb25uZWN0aW9uIHRvIGEgVExTIGNvbm5lY3Rpb24uCiAgICAgICAgZGVidWcoJ1VwZ3JhZGluZyBzb2NrZXQgY29ubmVjdGlvbiB0byBUTFMnKTsKICAgICAgICBjb25zdCBzZXJ2ZXJuYW1lID0gb3B0cy5zZXJ2ZXJuYW1lIHx8IG9wdHMuaG9zdDsKICAgICAgICByZXR1cm4gdGxzLmNvbm5lY3QoewogICAgICAgICAgLi4ub21pdChvcHRzLCAnaG9zdCcsICdwYXRoJywgJ3BvcnQnKSwKICAgICAgICAgIHNvY2tldCwKICAgICAgICAgIHNlcnZlcm5hbWU6IG5ldC5pc0lQKHNlcnZlcm5hbWUpID8gdW5kZWZpbmVkIDogc2VydmVybmFtZSwKICAgICAgICB9KTsKICAgICAgfQoKICAgICAgcmV0dXJuIHNvY2tldDsKICAgIH0KCiAgICAvLyBTb21lIG90aGVyIHN0YXR1cyBjb2RlIHRoYXQncyBub3QgMjAwLi4uIG5lZWQgdG8gcmUtcGxheSB0aGUgSFRUUAogICAgLy8gaGVhZGVyICJkYXRhIiBldmVudHMgb250byB0aGUgc29ja2V0IG9uY2UgdGhlIEhUVFAgbWFjaGluZXJ5IGlzCiAgICAvLyBhdHRhY2hlZCBzbyB0aGF0IHRoZSBub2RlIGNvcmUgYGh0dHBgIGNhbiBwYXJzZSBhbmQgaGFuZGxlIHRoZQogICAgLy8gZXJyb3Igc3RhdHVzIGNvZGUuCgogICAgLy8gQ2xvc2UgdGhlIG9yaWdpbmFsIHNvY2tldCwgYW5kIGEgbmV3ICJmYWtlIiBzb2NrZXQgaXMgcmV0dXJuZWQKICAgIC8vIGluc3RlYWQsIHNvIHRoYXQgdGhlIHByb3h5IGRvZXNuJ3QgZ2V0IHRoZSBIVFRQIHJlcXVlc3QKICAgIC8vIHdyaXR0ZW4gdG8gaXQgKHdoaWNoIG1heSBjb250YWluIGBBdXRob3JpemF0aW9uYCBoZWFkZXJzIG9yIG90aGVyCiAgICAvLyBzZW5zaXRpdmUgZGF0YSkuCiAgICAvLwogICAgLy8gU2VlOiBodHRwczovL2hhY2tlcm9uZS5jb20vcmVwb3J0cy81NDE1MDIKICAgIHNvY2tldC5kZXN0cm95KCk7CgogICAgY29uc3QgZmFrZVNvY2tldCA9IG5ldyBuZXQuU29ja2V0KHsgd3JpdGFibGU6IGZhbHNlIH0pOwogICAgZmFrZVNvY2tldC5yZWFkYWJsZSA9IHRydWU7CgogICAgLy8gTmVlZCB0byB3YWl0IGZvciB0aGUgInNvY2tldCIgZXZlbnQgdG8gcmUtcGxheSB0aGUgImRhdGEiIGV2ZW50cy4KICAgIHJlcS5vbmNlKCdzb2NrZXQnLCAocykgPT4gewogICAgICBkZWJ1ZygnUmVwbGF5aW5nIHByb3h5IGJ1ZmZlciBmb3IgZmFpbGVkIHJlcXVlc3QnKTsKICAgICAgLy8gUmVwbGF5IHRoZSAiYnVmZmVyZWQiIEJ1ZmZlciBvbnRvIHRoZSBmYWtlIGBzb2NrZXRgLCBzaW5jZSBhdAogICAgICAvLyB0aGlzIHBvaW50IHRoZSBIVFRQIG1vZHVsZSBtYWNoaW5lcnkgaGFzIGJlZW4gaG9va2VkIHVwIGZvcgogICAgICAvLyB0aGUgdXNlci4KICAgICAgcy5wdXNoKGJ1ZmZlcmVkKTsKICAgICAgcy5wdXNoKG51bGwpOwogICAgfSk7CgogICAgcmV0dXJuIGZha2VTb2NrZXQ7CiAgfQp9IEh0dHBzUHJveHlBZ2VudC5fX2luaXRTdGF0aWMoKTsKCmZ1bmN0aW9uIHJlc3VtZShzb2NrZXQpIHsKICBzb2NrZXQucmVzdW1lKCk7Cn0KCmZ1bmN0aW9uIG9taXQoCiAgb2JqLAogIC4uLmtleXMKKQoKIHsKICBjb25zdCByZXQgPSB7fQoKOwogIGxldCBrZXk7CiAgZm9yIChrZXkgaW4gb2JqKSB7CiAgICBpZiAoIWtleXMuaW5jbHVkZXMoa2V5KSkgewogICAgICByZXRba2V5XSA9IG9ialtrZXldOwogICAgfQogIH0KICByZXR1cm4gcmV0Owp9CgpmdW5jdGlvbiBfbnVsbGlzaENvYWxlc2NlKGxocywgcmhzRm4pIHsgaWYgKGxocyAhPSBudWxsKSB7IHJldHVybiBsaHM7IH0gZWxzZSB7IHJldHVybiByaHNGbigpOyB9IH0KLy8gRXN0aW1hdGVkIG1heGltdW0gc2l6ZSBmb3IgcmVhc29uYWJsZSBzdGFuZGFsb25lIGV2ZW50CmNvbnN0IEdaSVBfVEhSRVNIT0xEID0gMTAyNCAqIDMyOwoKLyoqCiAqIEdldHMgYSBzdHJlYW0gZnJvbSBhIFVpbnQ4QXJyYXkgb3Igc3RyaW5nCiAqIFJlYWRhYmxlLmZyb20gaXMgaWRlYWwgYnV0IHdhcyBhZGRlZCBpbiBub2RlLmpzIHYxMi4zLjAgYW5kIHYxMC4xNy4wCiAqLwpmdW5jdGlvbiBzdHJlYW1Gcm9tQm9keShib2R5KSB7CiAgcmV0dXJuIG5ldyBSZWFkYWJsZSh7CiAgICByZWFkKCkgewogICAgICB0aGlzLnB1c2goYm9keSk7CiAgICAgIHRoaXMucHVzaChudWxsKTsKICAgIH0sCiAgfSk7Cn0KCi8qKgogKiBDcmVhdGVzIGEgVHJhbnNwb3J0IHRoYXQgdXNlcyBuYXRpdmUgdGhlIG5hdGl2ZSAnaHR0cCcgYW5kICdodHRwcycgbW9kdWxlcyB0byBzZW5kIGV2ZW50cyB0byBTZW50cnkuCiAqLwpmdW5jdGlvbiBtYWtlTm9kZVRyYW5zcG9ydChvcHRpb25zKSB7CiAgbGV0IHVybFNlZ21lbnRzOwoKICB0cnkgewogICAgdXJsU2VnbWVudHMgPSBuZXcgVVJMKG9wdGlvbnMudXJsKTsKICB9IGNhdGNoIChlKSB7CiAgICBjb25zb2xlU2FuZGJveCgoKSA9PiB7CiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1jb25zb2xlCiAgICAgIGNvbnNvbGUud2FybigKICAgICAgICAnW0BzZW50cnkvbm9kZV06IEludmFsaWQgZHNuIG9yIHR1bm5lbCBvcHRpb24sIHdpbGwgbm90IHNlbmQgYW55IGV2ZW50cy4gVGhlIHR1bm5lbCBvcHRpb24gbXVzdCBiZSBhIGZ1bGwgVVJMIHdoZW4gdXNlZC4nLAogICAgICApOwogICAgfSk7CiAgICByZXR1cm4gY3JlYXRlVHJhbnNwb3J0KG9wdGlvbnMsICgpID0+IFByb21pc2UucmVzb2x2ZSh7fSkpOwogIH0KCiAgY29uc3QgaXNIdHRwcyA9IHVybFNlZ21lbnRzLnByb3RvY29sID09PSAnaHR0cHM6JzsKCiAgLy8gUHJveHkgcHJpb3JpdGl6YXRpb246IGh0dHAgPT4gYG9wdGlvbnMucHJveHlgIHwgYHByb2Nlc3MuZW52Lmh0dHBfcHJveHlgCiAgLy8gUHJveHkgcHJpb3JpdGl6YXRpb246IGh0dHBzID0+IGBvcHRpb25zLnByb3h5YCB8IGBwcm9jZXNzLmVudi5odHRwc19wcm94eWAgfCBgcHJvY2Vzcy5lbnYuaHR0cF9wcm94eWAKICBjb25zdCBwcm94eSA9IGFwcGx5Tm9Qcm94eU9wdGlvbigKICAgIHVybFNlZ21lbnRzLAogICAgb3B0aW9ucy5wcm94eSB8fCAoaXNIdHRwcyA/IHByb2Nlc3MuZW52Lmh0dHBzX3Byb3h5IDogdW5kZWZpbmVkKSB8fCBwcm9jZXNzLmVudi5odHRwX3Byb3h5LAogICk7CgogIGNvbnN0IG5hdGl2ZUh0dHBNb2R1bGUgPSBpc0h0dHBzID8gaHR0cHMgOiBodHRwOwogIGNvbnN0IGtlZXBBbGl2ZSA9IG9wdGlvbnMua2VlcEFsaXZlID09PSB1bmRlZmluZWQgPyBmYWxzZSA6IG9wdGlvbnMua2VlcEFsaXZlOwoKICAvLyBUT0RPKHY3KTogRXZhbHVhdGUgaWYgd2UgY2FuIHNldCBrZWVwQWxpdmUgdG8gdHJ1ZS4gVGhpcyB3b3VsZCBpbnZvbHZlIHRlc3RpbmcgZm9yIG1lbW9yeSBsZWFrcyBpbiBvbGRlciBub2RlCiAgLy8gdmVyc2lvbnMoPj0gOCkgYXMgdGhleSBoYWQgbWVtb3J5IGxlYWtzIHdoZW4gdXNpbmcgaXQ6ICMyNTU1CiAgY29uc3QgYWdlbnQgPSBwcm94eQogICAgPyAobmV3IEh0dHBzUHJveHlBZ2VudChwcm94eSkgKQogICAgOiBuZXcgbmF0aXZlSHR0cE1vZHVsZS5BZ2VudCh7IGtlZXBBbGl2ZSwgbWF4U29ja2V0czogMzAsIHRpbWVvdXQ6IDIwMDAgfSk7CgogIGNvbnN0IHJlcXVlc3RFeGVjdXRvciA9IGNyZWF0ZVJlcXVlc3RFeGVjdXRvcihvcHRpb25zLCBfbnVsbGlzaENvYWxlc2NlKG9wdGlvbnMuaHR0cE1vZHVsZSwgKCkgPT4gKCBuYXRpdmVIdHRwTW9kdWxlKSksIGFnZW50KTsKICByZXR1cm4gY3JlYXRlVHJhbnNwb3J0KG9wdGlvbnMsIHJlcXVlc3RFeGVjdXRvcik7Cn0KCi8qKgogKiBIb25vcnMgdGhlIGBub19wcm94eWAgZW52IHZhcmlhYmxlIHdpdGggdGhlIGhpZ2hlc3QgcHJpb3JpdHkgdG8gYWxsb3cgZm9yIGhvc3RzIGV4Y2x1c2lvbi4KICoKICogQHBhcmFtIHRyYW5zcG9ydFVybCBUaGUgVVJMIHRoZSB0cmFuc3BvcnQgaW50ZW5kcyB0byBzZW5kIGV2ZW50cyB0by4KICogQHBhcmFtIHByb3h5IFRoZSBjbGllbnQgY29uZmlndXJlZCBwcm94eS4KICogQHJldHVybnMgQSBwcm94eSB0aGUgdHJhbnNwb3J0IHNob3VsZCB1c2UuCiAqLwpmdW5jdGlvbiBhcHBseU5vUHJveHlPcHRpb24odHJhbnNwb3J0VXJsU2VnbWVudHMsIHByb3h5KSB7CiAgY29uc3QgeyBub19wcm94eSB9ID0gcHJvY2Vzcy5lbnY7CgogIGNvbnN0IHVybElzRXhlbXB0RnJvbVByb3h5ID0KICAgIG5vX3Byb3h5ICYmCiAgICBub19wcm94eQogICAgICAuc3BsaXQoJywnKQogICAgICAuc29tZSgKICAgICAgICBleGVtcHRpb24gPT4gdHJhbnNwb3J0VXJsU2VnbWVudHMuaG9zdC5lbmRzV2l0aChleGVtcHRpb24pIHx8IHRyYW5zcG9ydFVybFNlZ21lbnRzLmhvc3RuYW1lLmVuZHNXaXRoKGV4ZW1wdGlvbiksCiAgICAgICk7CgogIGlmICh1cmxJc0V4ZW1wdEZyb21Qcm94eSkgewogICAgcmV0dXJuIHVuZGVmaW5lZDsKICB9IGVsc2UgewogICAgcmV0dXJuIHByb3h5OwogIH0KfQoKLyoqCiAqIENyZWF0ZXMgYSBSZXF1ZXN0RXhlY3V0b3IgdG8gYmUgdXNlZCB3aXRoIGBjcmVhdGVUcmFuc3BvcnRgLgogKi8KZnVuY3Rpb24gY3JlYXRlUmVxdWVzdEV4ZWN1dG9yKAogIG9wdGlvbnMsCiAgaHR0cE1vZHVsZSwKICBhZ2VudCwKKSB7CiAgY29uc3QgeyBob3N0bmFtZSwgcGF0aG5hbWUsIHBvcnQsIHByb3RvY29sLCBzZWFyY2ggfSA9IG5ldyBVUkwob3B0aW9ucy51cmwpOwogIHJldHVybiBmdW5jdGlvbiBtYWtlUmVxdWVzdChyZXF1ZXN0KSB7CiAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUsIHJlamVjdCkgPT4gewogICAgICBsZXQgYm9keSA9IHN0cmVhbUZyb21Cb2R5KHJlcXVlc3QuYm9keSk7CgogICAgICBjb25zdCBoZWFkZXJzID0geyAuLi5vcHRpb25zLmhlYWRlcnMgfTsKCiAgICAgIGlmIChyZXF1ZXN0LmJvZHkubGVuZ3RoID4gR1pJUF9USFJFU0hPTEQpIHsKICAgICAgICBoZWFkZXJzWydjb250ZW50LWVuY29kaW5nJ10gPSAnZ3ppcCc7CiAgICAgICAgYm9keSA9IGJvZHkucGlwZShjcmVhdGVHemlwKCkpOwogICAgICB9CgogICAgICBjb25zdCByZXEgPSBodHRwTW9kdWxlLnJlcXVlc3QoCiAgICAgICAgewogICAgICAgICAgbWV0aG9kOiAnUE9TVCcsCiAgICAgICAgICBhZ2VudCwKICAgICAgICAgIGhlYWRlcnMsCiAgICAgICAgICBob3N0bmFtZSwKICAgICAgICAgIHBhdGg6IGAke3BhdGhuYW1lfSR7c2VhcmNofWAsCiAgICAgICAgICBwb3J0LAogICAgICAgICAgcHJvdG9jb2wsCiAgICAgICAgICBjYTogb3B0aW9ucy5jYUNlcnRzLAogICAgICAgIH0sCiAgICAgICAgcmVzID0+IHsKICAgICAgICAgIHJlcy5vbignZGF0YScsICgpID0+IHsKICAgICAgICAgICAgLy8gRHJhaW4gc29ja2V0CiAgICAgICAgICB9KTsKCiAgICAgICAgICByZXMub24oJ2VuZCcsICgpID0+IHsKICAgICAgICAgICAgLy8gRHJhaW4gc29ja2V0CiAgICAgICAgICB9KTsKCiAgICAgICAgICByZXMuc2V0RW5jb2RpbmcoJ3V0ZjgnKTsKCiAgICAgICAgICAvLyAiS2V5LXZhbHVlIHBhaXJzIG9mIGhlYWRlciBuYW1lcyBhbmQgdmFsdWVzLiBIZWFkZXIgbmFtZXMgYXJlIGxvd2VyLWNhc2VkLiIKICAgICAgICAgIC8vIGh0dHBzOi8vbm9kZWpzLm9yZy9hcGkvaHR0cC5odG1sI2h0dHBfbWVzc2FnZV9oZWFkZXJzCiAgICAgICAgICBjb25zdCByZXRyeUFmdGVySGVhZGVyID0gX251bGxpc2hDb2FsZXNjZShyZXMuaGVhZGVyc1sncmV0cnktYWZ0ZXInXSwgKCkgPT4gKCBudWxsKSk7CiAgICAgICAgICBjb25zdCByYXRlTGltaXRzSGVhZGVyID0gX251bGxpc2hDb2FsZXNjZShyZXMuaGVhZGVyc1sneC1zZW50cnktcmF0ZS1saW1pdHMnXSwgKCkgPT4gKCBudWxsKSk7CgogICAgICAgICAgcmVzb2x2ZSh7CiAgICAgICAgICAgIHN0YXR1c0NvZGU6IHJlcy5zdGF0dXNDb2RlLAogICAgICAgICAgICBoZWFkZXJzOiB7CiAgICAgICAgICAgICAgJ3JldHJ5LWFmdGVyJzogcmV0cnlBZnRlckhlYWRlciwKICAgICAgICAgICAgICAneC1zZW50cnktcmF0ZS1saW1pdHMnOiBBcnJheS5pc0FycmF5KHJhdGVMaW1pdHNIZWFkZXIpID8gcmF0ZUxpbWl0c0hlYWRlclswXSA6IHJhdGVMaW1pdHNIZWFkZXIsCiAgICAgICAgICAgIH0sCiAgICAgICAgICB9KTsKICAgICAgICB9LAogICAgICApOwoKICAgICAgcmVxLm9uKCdlcnJvcicsIHJlamVjdCk7CiAgICAgIGJvZHkucGlwZShyZXEpOwogICAgfSk7CiAgfTsKfQoKZnVuY3Rpb24gX29wdGlvbmFsQ2hhaW4ob3BzKSB7IGxldCBsYXN0QWNjZXNzTEhTID0gdW5kZWZpbmVkOyBsZXQgdmFsdWUgPSBvcHNbMF07IGxldCBpID0gMTsgd2hpbGUgKGkgPCBvcHMubGVuZ3RoKSB7IGNvbnN0IG9wID0gb3BzW2ldOyBjb25zdCBmbiA9IG9wc1tpICsgMV07IGkgKz0gMjsgaWYgKChvcCA9PT0gJ29wdGlvbmFsQWNjZXNzJyB8fCBvcCA9PT0gJ29wdGlvbmFsQ2FsbCcpICYmIHZhbHVlID09IG51bGwpIHsgcmV0dXJuIHVuZGVmaW5lZDsgfSBpZiAob3AgPT09ICdhY2Nlc3MnIHx8IG9wID09PSAnb3B0aW9uYWxBY2Nlc3MnKSB7IGxhc3RBY2Nlc3NMSFMgPSB2YWx1ZTsgdmFsdWUgPSBmbih2YWx1ZSk7IH0gZWxzZSBpZiAob3AgPT09ICdjYWxsJyB8fCBvcCA9PT0gJ29wdGlvbmFsQ2FsbCcpIHsgdmFsdWUgPSBmbigoLi4uYXJncykgPT4gdmFsdWUuY2FsbChsYXN0QWNjZXNzTEhTLCAuLi5hcmdzKSk7IGxhc3RBY2Nlc3NMSFMgPSB1bmRlZmluZWQ7IH0gfSByZXR1cm4gdmFsdWU7IH0KY29uc3Qgb3B0aW9ucyA9IHdvcmtlckRhdGE7CmxldCBzZXNzaW9uOwpsZXQgaGFzU2VudEFuckV2ZW50ID0gZmFsc2U7CgpmdW5jdGlvbiBsb2cobXNnKSB7CiAgaWYgKG9wdGlvbnMuZGVidWcpIHsKICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1jb25zb2xlCiAgICBjb25zb2xlLmxvZyhgW0FOUiBXb3JrZXJdICR7bXNnfWApOwogIH0KfQoKY29uc3QgdXJsID0gZ2V0RW52ZWxvcGVFbmRwb2ludFdpdGhVcmxFbmNvZGVkQXV0aChvcHRpb25zLmRzbik7CmNvbnN0IHRyYW5zcG9ydCA9IG1ha2VOb2RlVHJhbnNwb3J0KHsKICB1cmwsCiAgcmVjb3JkRHJvcHBlZEV2ZW50OiAoKSA9PiB7CiAgICAvLwogIH0sCn0pOwoKYXN5bmMgZnVuY3Rpb24gc2VuZEFibm9ybWFsU2Vzc2lvbigpIHsKICAvLyBvZiB3ZSBoYXZlIGFuIGV4aXN0aW5nIHNlc3Npb24gcGFzc2VkIGZyb20gdGhlIG1haW4gdGhyZWFkLCBzZW5kIGl0IGFzIGFibm9ybWFsCiAgaWYgKHNlc3Npb24pIHsKICAgIGxvZygnU2VuZGluZyBhYm5vcm1hbCBzZXNzaW9uJyk7CiAgICB1cGRhdGVTZXNzaW9uKHNlc3Npb24sIHsgc3RhdHVzOiAnYWJub3JtYWwnLCBhYm5vcm1hbF9tZWNoYW5pc206ICdhbnJfZm9yZWdyb3VuZCcgfSk7CgogICAgY29uc3QgZW52ZWxvcGUgPSBjcmVhdGVTZXNzaW9uRW52ZWxvcGUoc2Vzc2lvbiwgb3B0aW9ucy5kc24sIG9wdGlvbnMuc2RrTWV0YWRhdGEpOwogICAgLy8gTG9nIHRoZSBlbnZlbG9wZSBzbyB0byBhaWQgaW4gdGVzdGluZwogICAgbG9nKEpTT04uc3RyaW5naWZ5KGVudmVsb3BlKSk7CgogICAgYXdhaXQgdHJhbnNwb3J0LnNlbmQoZW52ZWxvcGUpOwoKICAgIHRyeSB7CiAgICAgIC8vIE5vdGlmeSB0aGUgbWFpbiBwcm9jZXNzIHRoYXQgdGhlIHNlc3Npb24gaGFzIGVuZGVkIHNvIHRoZSBzZXNzaW9uIGNhbiBiZSBjbGVhcmVkIGZyb20gdGhlIHNjb3BlCiAgICAgIF9vcHRpb25hbENoYWluKFtwYXJlbnRQb3J0LCAnb3B0aW9uYWxBY2Nlc3MnLCBfMiA9PiBfMi5wb3N0TWVzc2FnZSwgJ2NhbGwnLCBfMyA9PiBfMygnc2Vzc2lvbi1lbmRlZCcpXSk7CiAgICB9IGNhdGNoIChfKSB7CiAgICAgIC8vIGlnbm9yZQogICAgfQogIH0KfQoKbG9nKCdTdGFydGVkJyk7CgpmdW5jdGlvbiBwcmVwYXJlU3RhY2tGcmFtZXMoc3RhY2tGcmFtZXMpIHsKICBpZiAoIXN0YWNrRnJhbWVzKSB7CiAgICByZXR1cm4gdW5kZWZpbmVkOwogIH0KCiAgLy8gU3RyaXAgU2VudHJ5IGZyYW1lcyBhbmQgcmV2ZXJzZSB0aGUgc3RhY2sgZnJhbWVzIHNvIHRoZXkgYXJlIGluIHRoZSBjb3JyZWN0IG9yZGVyCiAgY29uc3Qgc3RyaXBwZWRGcmFtZXMgPSBzdHJpcFNlbnRyeUZyYW1lc0FuZFJldmVyc2Uoc3RhY2tGcmFtZXMpOwoKICAvLyBJZiB3ZSBoYXZlIGFuIGFwcCByb290IHBhdGgsIHJld3JpdGUgdGhlIGZpbGVuYW1lcyB0byBiZSByZWxhdGl2ZSB0byB0aGUgYXBwIHJvb3QKICBpZiAob3B0aW9ucy5hcHBSb290UGF0aCkgewogICAgZm9yIChjb25zdCBmcmFtZSBvZiBzdHJpcHBlZEZyYW1lcykgewogICAgICBpZiAoIWZyYW1lLmZpbGVuYW1lKSB7CiAgICAgICAgY29udGludWU7CiAgICAgIH0KCiAgICAgIGZyYW1lLmZpbGVuYW1lID0gbm9ybWFsaXplVXJsVG9CYXNlKGZyYW1lLmZpbGVuYW1lLCBvcHRpb25zLmFwcFJvb3RQYXRoKTsKICAgIH0KICB9CgogIHJldHVybiBzdHJpcHBlZEZyYW1lczsKfQoKZnVuY3Rpb24gYXBwbHlTY29wZVRvRXZlbnQoZXZlbnQsIHNjb3BlKSB7CiAgYXBwbHlTY29wZURhdGFUb0V2ZW50KGV2ZW50LCBzY29wZSk7CgogIGlmICghX29wdGlvbmFsQ2hhaW4oW2V2ZW50LCAnYWNjZXNzJywgXzQgPT4gXzQuY29udGV4dHMsICdvcHRpb25hbEFjY2VzcycsIF81ID0+IF81LnRyYWNlXSkpIHsKICAgIGNvbnN0IHsgdHJhY2VJZCwgc3BhbklkLCBwYXJlbnRTcGFuSWQgfSA9IHNjb3BlLnByb3BhZ2F0aW9uQ29udGV4dDsKICAgIGV2ZW50LmNvbnRleHRzID0gewogICAgICB0cmFjZTogewogICAgICAgIHRyYWNlX2lkOiB0cmFjZUlkLAogICAgICAgIHNwYW5faWQ6IHNwYW5JZCwKICAgICAgICBwYXJlbnRfc3Bhbl9pZDogcGFyZW50U3BhbklkLAogICAgICB9LAogICAgICAuLi5ldmVudC5jb250ZXh0cywKICAgIH07CiAgfQp9Cgphc3luYyBmdW5jdGlvbiBzZW5kQW5yRXZlbnQoZnJhbWVzLCBzY29wZSkgewogIGlmIChoYXNTZW50QW5yRXZlbnQpIHsKICAgIHJldHVybjsKICB9CgogIGhhc1NlbnRBbnJFdmVudCA9IHRydWU7CgogIGF3YWl0IHNlbmRBYm5vcm1hbFNlc3Npb24oKTsKCiAgbG9nKCdTZW5kaW5nIGV2ZW50Jyk7CgogIGNvbnN0IGV2ZW50ID0gewogICAgZXZlbnRfaWQ6IHV1aWQ0KCksCiAgICBjb250ZXh0czogb3B0aW9ucy5jb250ZXh0cywKICAgIHJlbGVhc2U6IG9wdGlvbnMucmVsZWFzZSwKICAgIGVudmlyb25tZW50OiBvcHRpb25zLmVudmlyb25tZW50LAogICAgZGlzdDogb3B0aW9ucy5kaXN0LAogICAgcGxhdGZvcm06ICdub2RlJywKICAgIGxldmVsOiAnZXJyb3InLAogICAgZXhjZXB0aW9uOiB7CiAgICAgIHZhbHVlczogWwogICAgICAgIHsKICAgICAgICAgIHR5cGU6ICdBcHBsaWNhdGlvbk5vdFJlc3BvbmRpbmcnLAogICAgICAgICAgdmFsdWU6IGBBcHBsaWNhdGlvbiBOb3QgUmVzcG9uZGluZyBmb3IgYXQgbGVhc3QgJHtvcHRpb25zLmFuclRocmVzaG9sZH0gbXNgLAogICAgICAgICAgc3RhY2t0cmFjZTogeyBmcmFtZXM6IHByZXBhcmVTdGFja0ZyYW1lcyhmcmFtZXMpIH0sCiAgICAgICAgICAvLyBUaGlzIGVuc3VyZXMgdGhlIFVJIGRvZXNuJ3Qgc2F5ICdDcmFzaGVkIGluJyBmb3IgdGhlIHN0YWNrIHRyYWNlCiAgICAgICAgICBtZWNoYW5pc206IHsgdHlwZTogJ0FOUicgfSwKICAgICAgICB9LAogICAgICBdLAogICAgfSwKICAgIHRhZ3M6IG9wdGlvbnMuc3RhdGljVGFncywKICB9OwoKICBpZiAoc2NvcGUpIHsKICAgIGFwcGx5U2NvcGVUb0V2ZW50KGV2ZW50LCBzY29wZSk7CiAgfQoKICBjb25zdCBlbnZlbG9wZSA9IGNyZWF0ZUV2ZW50RW52ZWxvcGUoZXZlbnQsIG9wdGlvbnMuZHNuLCBvcHRpb25zLnNka01ldGFkYXRhKTsKICAvLyBMb2cgdGhlIGVudmVsb3BlIHRvIGFpZCBpbiB0ZXN0aW5nCiAgbG9nKEpTT04uc3RyaW5naWZ5KGVudmVsb3BlKSk7CgogIGF3YWl0IHRyYW5zcG9ydC5zZW5kKGVudmVsb3BlKTsKICBhd2FpdCB0cmFuc3BvcnQuZmx1c2goMjAwMCk7CgogIC8vIERlbGF5IGZvciA1IHNlY29uZHMgc28gdGhhdCBzdGRpbyBjYW4gZmx1c2ggaW4gdGhlIG1haW4gZXZlbnQgbG9vcCBldmVyIHJlc3RhcnRzLgogIC8vIFRoaXMgaXMgbWFpbmx5IGZvciB0aGUgYmVuZWZpdCBvZiBsb2dnaW5nL2RlYnVnZ2luZyBpc3N1ZXMuCiAgc2V0VGltZW91dCgoKSA9PiB7CiAgICBwcm9jZXNzLmV4aXQoMCk7CiAgfSwgNTAwMCk7Cn0KCmxldCBkZWJ1Z2dlclBhdXNlOwoKaWYgKG9wdGlvbnMuY2FwdHVyZVN0YWNrVHJhY2UpIHsKICBsb2coJ0Nvbm5lY3RpbmcgdG8gZGVidWdnZXInKTsKCiAgY29uc3Qgc2Vzc2lvbiA9IG5ldyBTZXNzaW9uKCkgOwogIHNlc3Npb24uY29ubmVjdFRvTWFpblRocmVhZCgpOwoKICBsb2coJ0Nvbm5lY3RlZCB0byBkZWJ1Z2dlcicpOwoKICAvLyBDb2xsZWN0IHNjcmlwdElkIC0+IHVybCBtYXAgc28gd2UgY2FuIGxvb2sgdXAgdGhlIGZpbGVuYW1lcyBsYXRlcgogIGNvbnN0IHNjcmlwdHMgPSBuZXcgTWFwKCk7CgogIHNlc3Npb24ub24oJ0RlYnVnZ2VyLnNjcmlwdFBhcnNlZCcsIGV2ZW50ID0+IHsKICAgIHNjcmlwdHMuc2V0KGV2ZW50LnBhcmFtcy5zY3JpcHRJZCwgZXZlbnQucGFyYW1zLnVybCk7CiAgfSk7CgogIHNlc3Npb24ub24oJ0RlYnVnZ2VyLnBhdXNlZCcsIGV2ZW50ID0+IHsKICAgIGlmIChldmVudC5wYXJhbXMucmVhc29uICE9PSAnb3RoZXInKSB7CiAgICAgIHJldHVybjsKICAgIH0KCiAgICB0cnkgewogICAgICBsb2coJ0RlYnVnZ2VyIHBhdXNlZCcpOwoKICAgICAgLy8gY29weSB0aGUgZnJhbWVzCiAgICAgIGNvbnN0IGNhbGxGcmFtZXMgPSBbLi4uZXZlbnQucGFyYW1zLmNhbGxGcmFtZXNdOwoKICAgICAgY29uc3QgZ2V0TW9kdWxlTmFtZSA9IG9wdGlvbnMuYXBwUm9vdFBhdGggPyBjcmVhdGVHZXRNb2R1bGVGcm9tRmlsZW5hbWUob3B0aW9ucy5hcHBSb290UGF0aCkgOiAoKSA9PiB1bmRlZmluZWQ7CiAgICAgIGNvbnN0IHN0YWNrRnJhbWVzID0gY2FsbEZyYW1lcy5tYXAoZnJhbWUgPT4KICAgICAgICBjYWxsRnJhbWVUb1N0YWNrRnJhbWUoZnJhbWUsIHNjcmlwdHMuZ2V0KGZyYW1lLmxvY2F0aW9uLnNjcmlwdElkKSwgZ2V0TW9kdWxlTmFtZSksCiAgICAgICk7CgogICAgICAvLyBFdmFsdWF0ZSBhIHNjcmlwdCBpbiB0aGUgY3VycmVudGx5IHBhdXNlZCBjb250ZXh0CiAgICAgIHNlc3Npb24ucG9zdCgKICAgICAgICAnUnVudGltZS5ldmFsdWF0ZScsCiAgICAgICAgewogICAgICAgICAgLy8gR3JhYiB0aGUgdHJhY2UgY29udGV4dCBmcm9tIHRoZSBjdXJyZW50IHNjb3BlCiAgICAgICAgICBleHByZXNzaW9uOiAnZ2xvYmFsLl9fU0VOVFJZX0dFVF9TQ09QRVNfXygpOycsCiAgICAgICAgICAvLyBEb24ndCByZS10cmlnZ2VyIHRoZSBkZWJ1Z2dlciBpZiB0aGlzIGNhdXNlcyBhbiBlcnJvcgogICAgICAgICAgc2lsZW50OiB0cnVlLAogICAgICAgICAgLy8gU2VyaWFsaXplIHRoZSByZXN1bHQgdG8ganNvbiBvdGhlcndpc2Ugb25seSBwcmltaXRpdmVzIGFyZSBzdXBwb3J0ZWQKICAgICAgICAgIHJldHVybkJ5VmFsdWU6IHRydWUsCiAgICAgICAgfSwKICAgICAgICAoZXJyLCBwYXJhbSkgPT4gewogICAgICAgICAgaWYgKGVycikgewogICAgICAgICAgICBsb2coYEVycm9yIGV4ZWN1dGluZyBzY3JpcHQ6ICcke2Vyci5tZXNzYWdlfSdgKTsKICAgICAgICAgIH0KCiAgICAgICAgICBjb25zdCBzY29wZXMgPSBwYXJhbSAmJiBwYXJhbS5yZXN1bHQgPyAocGFyYW0ucmVzdWx0LnZhbHVlICkgOiB1bmRlZmluZWQ7CgogICAgICAgICAgc2Vzc2lvbi5wb3N0KCdEZWJ1Z2dlci5yZXN1bWUnKTsKICAgICAgICAgIHNlc3Npb24ucG9zdCgnRGVidWdnZXIuZGlzYWJsZScpOwoKICAgICAgICAgIHNlbmRBbnJFdmVudChzdGFja0ZyYW1lcywgc2NvcGVzKS50aGVuKG51bGwsICgpID0+IHsKICAgICAgICAgICAgbG9nKCdTZW5kaW5nIEFOUiBldmVudCBmYWlsZWQuJyk7CiAgICAgICAgICB9KTsKICAgICAgICB9LAogICAgICApOwogICAgfSBjYXRjaCAoZSkgewogICAgICBzZXNzaW9uLnBvc3QoJ0RlYnVnZ2VyLnJlc3VtZScpOwogICAgICBzZXNzaW9uLnBvc3QoJ0RlYnVnZ2VyLmRpc2FibGUnKTsKICAgICAgdGhyb3cgZTsKICAgIH0KICB9KTsKCiAgZGVidWdnZXJQYXVzZSA9ICgpID0+IHsKICAgIHRyeSB7CiAgICAgIHNlc3Npb24ucG9zdCgnRGVidWdnZXIuZW5hYmxlJywgKCkgPT4gewogICAgICAgIHNlc3Npb24ucG9zdCgnRGVidWdnZXIucGF1c2UnKTsKICAgICAgfSk7CiAgICB9IGNhdGNoIChfKSB7CiAgICAgIC8vCiAgICB9CiAgfTsKfQoKZnVuY3Rpb24gY3JlYXRlSHJUaW1lcigpIHsKICAvLyBUT0RPICh2OCk6IFdlIGNhbiB1c2UgcHJvY2Vzcy5ocnRpbWUuYmlnaW50KCkgYWZ0ZXIgd2UgZHJvcCBub2RlIHY4CiAgbGV0IGxhc3RQb2xsID0gcHJvY2Vzcy5ocnRpbWUoKTsKCiAgcmV0dXJuIHsKICAgIGdldFRpbWVNczogKCkgPT4gewogICAgICBjb25zdCBbc2Vjb25kcywgbmFub1NlY29uZHNdID0gcHJvY2Vzcy5ocnRpbWUobGFzdFBvbGwpOwogICAgICByZXR1cm4gTWF0aC5mbG9vcihzZWNvbmRzICogMWUzICsgbmFub1NlY29uZHMgLyAxZTYpOwogICAgfSwKICAgIHJlc2V0OiAoKSA9PiB7CiAgICAgIGxhc3RQb2xsID0gcHJvY2Vzcy5ocnRpbWUoKTsKICAgIH0sCiAgfTsKfQoKZnVuY3Rpb24gd2F0Y2hkb2dUaW1lb3V0KCkgewogIGxvZygnV2F0Y2hkb2cgdGltZW91dCcpOwoKICBpZiAoZGVidWdnZXJQYXVzZSkgewogICAgbG9nKCdQYXVzaW5nIGRlYnVnZ2VyIHRvIGNhcHR1cmUgc3RhY2sgdHJhY2UnKTsKICAgIGRlYnVnZ2VyUGF1c2UoKTsKICB9IGVsc2UgewogICAgbG9nKCdDYXB0dXJpbmcgZXZlbnQgd2l0aG91dCBhIHN0YWNrIHRyYWNlJyk7CiAgICBzZW5kQW5yRXZlbnQoKS50aGVuKG51bGwsICgpID0+IHsKICAgICAgbG9nKCdTZW5kaW5nIEFOUiBldmVudCBmYWlsZWQgb24gd2F0Y2hkb2cgdGltZW91dC4nKTsKICAgIH0pOwogIH0KfQoKY29uc3QgeyBwb2xsIH0gPSB3YXRjaGRvZ1RpbWVyKGNyZWF0ZUhyVGltZXIsIG9wdGlvbnMucG9sbEludGVydmFsLCBvcHRpb25zLmFuclRocmVzaG9sZCwgd2F0Y2hkb2dUaW1lb3V0KTsKCl9vcHRpb25hbENoYWluKFtwYXJlbnRQb3J0LCAnb3B0aW9uYWxBY2Nlc3MnLCBfNiA9PiBfNi5vbiwgJ2NhbGwnLCBfNyA9PiBfNygnbWVzc2FnZScsIChtc2cpID0+IHsKICBpZiAobXNnLnNlc3Npb24pIHsKICAgIHNlc3Npb24gPSBtYWtlU2Vzc2lvbihtc2cuc2Vzc2lvbik7CiAgfQoKICBwb2xsKCk7Cn0pXSk7"),{workerData:h});process.on("exit",(()=>{I.terminate()}));const b=setInterval((()=>{try{const e=(0,l.o5)().getSession(),t=e?{...e,toJSON:void 0}:void 0;I.postMessage({session:t})}catch(e){}}),h.pollInterval);return b.unref(),I.on("message",(e=>{"session-ended"===e&&(m("ANR event sent from ANR worker. Clearing session in this thread."),(0,l.o5)().setSession(void 0))})),I.once("error",(e=>{clearInterval(b),m("ANR worker error",e)})),I.once("exit",(e=>{clearInterval(b),m("ANR worker exit",e)})),I.unref(),()=>{I.terminate(),clearInterval(b)}}(a,t))},stopWorker:()=>{s&&s.then((e=>{e(),s=void 0}))},setup(e){a=e,setImmediate((()=>this.startWorker()))}}})),b=(0,u.F)("Anr",I)},2900:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});const r=(0,n(1666).kf)(process.versions.node)},7931:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(3390),o=n(8647);function i(e,t,n=250,i,a,c,l){if(!(c.exception&&c.exception.values&&l&&(0,r.tH)(l.originalException,Error)))return;const u=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;var d,g;u&&(c.exception.values=(d=s(e,t,a,l.originalException,i,c.exception.values,u,0),g=n,d.map((e=>(e.value&&(e.value=(0,o.xv)(e.value,g)),e)))))}function s(e,t,n,o,i,l,u,d){if(l.length>=n+1)return l;let g=[...l];if((0,r.tH)(o[i],Error)){a(u,d);const r=e(t,o[i]),l=g.length;c(r,i,l,d),g=s(e,t,n,o[i],i,[r,...g],r,l)}return Array.isArray(o.errors)&&o.errors.forEach(((o,l)=>{if((0,r.tH)(o,Error)){a(u,d);const r=e(t,o),p=g.length;c(r,`errors[${l}]`,p,d),g=s(e,t,n,o,i,[r,...g],r,p)}})),g}function a(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function c(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}},670:(e,t,n)=>{"use strict";n.d(t,{De:()=>d,HH:()=>l,hF:()=>s,sv:()=>a,wF:()=>c,yD:()=>u});var r=n(8406),o=n(3390),i=n(4870);const s="baggage",a="sentry-",c=/^sentry-/,l=8192;function u(e){if(!(0,o.Kg)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>{const n=g(t);for(const t of Object.keys(n))e[t]=n[t];return e}),{});else{if(!e)return;t=g(e)}const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(c)&&(e[t.slice(a.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}function d(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce(((e,[t,n],o)=>{const s=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===o?s:`${e},${s}`;return a.length>l?(r.T&&i.vF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${a}${t}`]=n),e)),{}))}function g(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}},8660:(e,t,n)=>{"use strict";n.d(t,{$N:()=>c,Hd:()=>s,NX:()=>l,xE:()=>u});var r=n(3390);const o=(0,n(2859).VZ)(),i=80;function s(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let s=0,c=0;const l=" > ",u=l.length;let d;const g=Array.isArray(t)?t:t.keyAttrs,p=!Array.isArray(t)&&t.maxStringLength||i;for(;n&&s++<r&&(d=a(n,g),!("html"===d||s>1&&c+o.length*u+d.length>=p));)o.push(d),c+=d.length,n=n.parentNode;return o.reverse().join(l)}catch(e){return"<unknown>"}}function a(e,t){const n=e,i=[];let s,a,c,l,u;if(!n||!n.tagName)return"";if(o.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;i.push(n.tagName.toLowerCase());const d=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(d&&d.length)d.forEach((e=>{i.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),s=n.className,s&&(0,r.Kg)(s))for(a=s.split(/\s+/),u=0;u<a.length;u++)i.push(`.${a[u]}`);const g=["aria-label","type","name","title","alt"];for(u=0;u<g.length;u++)c=g[u],l=n.getAttribute(c),l&&i.push(`[${c}="${l}"]`);return i.join("")}function c(){try{return o.document.location.href}catch(e){return""}}function l(e){return o.document&&o.document.querySelector?o.document.querySelector(e):null}function u(e){if(!o.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}},4290:(e,t,n)=>{"use strict";function r(e,t){return null!=e?e:t()}n.d(t,{S:()=>r})},6615:(e,t,n)=>{"use strict";function r(e){let t,n=e[0],r=1;for(;r<e.length;){const o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):"call"!==o&&"optionalCall"!==o||(n=i(((...e)=>n.call(t,...e))),t=void 0)}return n}n.d(t,{z:()=>r})},3096:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r=n(6615);function o(e){const t=(0,r.z)(e);return null==t||t}},5107:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(358),o=n(3771);function i(e,t,n){const i=[{type:"client_report"},{timestamp:n||(0,o.lu)(),discarded_events:e}];return(0,r.h4)(t?{dsn:t}:{},[i])}},8406:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},1965:(e,t,n)=>{"use strict";n.d(t,{AD:()=>l,SB:()=>s,hH:()=>a});var r=n(8406),o=n(4870);const i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function s(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${s}`}function a(e){const t=i.exec(e);if(!t)return void(0,o.pq)((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,s="",a,l="",u]=t.slice(1);let d="",g=u;const p=g.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),g=p.pop()),g){const e=g.match(/^\d+/);e&&(g=e[0])}return c({host:a,pass:s,path:d,projectId:g,port:l,protocol:n,publicKey:r})}function c(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){const t="string"==typeof e?a(e):c(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:i}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(o.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(i)?t&&isNaN(parseInt(t,10))&&(o.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(o.vF.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),1):(o.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}},1347:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function o(){return"npm"}n.d(t,{Z:()=>r,e:()=>o})},358:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>f,W3:()=>a,bN:()=>d,bm:()=>p,h4:()=>s,hP:()=>l,mE:()=>g,n2:()=>I,yH:()=>c,zk:()=>m});var r=n(1965),o=n(9659),i=n(1085);function s(e,t=[]){return[e,t]}function a(e,t){const[n,r]=e;return[n,[...r,t]]}function c(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function l(e,t){return c(e,((e,n)=>t.includes(n)))}function u(e,t){return(t||new TextEncoder).encode(e)}function d(e,t){const[n,r]=e;let i=JSON.stringify(n);function s(e){"string"==typeof i?i="string"==typeof e?i+e:[u(i,t),e]:i.push("string"==typeof e?u(e,t):e)}for(const e of r){const[t,n]=e;if(s(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,o.S8)(n))}s(e)}}return"string"==typeof i?i:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(i)}function g(e,t,n){let r="string"==typeof e?t.encode(e):e;function o(e){const t=r.subarray(0,e);return r=r.subarray(e+1),t}function i(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(o(e)))}const s=i(),a=[];for(;r.length;){const e=i(),t="number"==typeof e.length?e.length:void 0;a.push([e,t?o(t):i()])}return[s,a]}function p(e,t){const n="string"==typeof e.data?u(e.data,t):e.data;return[(0,i.Ce)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function m(e){return h[e]}function f(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function I(e,t,n,o){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&o&&{dsn:(0,r.SB)(o)},...s&&{trace:(0,i.Ce)({...s})}}}},7402:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});class r extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}},8161:(e,t,n)=>{"use strict";n.d(t,{Eg:()=>a,H7:()=>l,K8:()=>c,qv:()=>u});var r=n(3390),o=n(1666),i=n(9659),s=n(1085);function a(e,t){return e(t.stack||"",1)}function c(e,t){const n={type:t.name||t.constructor.name,value:t.message},r=a(e,t);return r.length&&(n.stacktrace={frames:r}),n}function l(e,t,n,a){const l="function"==typeof e?e().getClient():e;let u=n;const d=a&&a.data&&a.data.mechanism||{handled:!0,type:"generic"};let g;if(!(0,r.bJ)(n)){if((0,r.Qd)(n)){const e=l&&l.getOptions().normalizeDepth;g={__serialized__:(0,i.cd)(n,e)};const t=function(e){if("name"in e&&"string"==typeof e.name){let t=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(t+=` with message '${e.message}'`),t}return"message"in e&&"string"==typeof e.message?e.message:`Object captured as exception with keys: ${(0,s.HF)(e)}`}(n);u=a&&a.syntheticException||new Error(t),u.message=t}else u=a&&a.syntheticException||new Error(n),u.message=n;d.synthetic=!0}const p={exception:{values:[c(t,u)]}};return g&&(p.extra=g),(0,o.gO)(p,void 0,void 0),(0,o.M6)(p,d),{...p,event_id:a&&a.event_id}}function u(e,t,n="info",o,i){const s={event_id:o&&o.event_id,level:n};if(i&&o&&o.syntheticException){const n=a(e,o.syntheticException);n.length&&(s.exception={values:[{value:t,stacktrace:{frames:n}}]})}if((0,r.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return s.logentry={message:e,params:n},s}return s.message=t,s}},8241:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BAGGAGE_HEADER_NAME:()=>T.hF,CONSOLE_LEVELS:()=>l.Ow,DEFAULT_RETRY_AFTER:()=>X.e1,DEFAULT_USER_INCLUDES:()=>w.cx,GLOBAL_OBJ:()=>a.OW,LRUMap:()=>P.G,MAX_BAGGAGE_STRING_LENGTH:()=>T.HH,SENTRY_BAGGAGE_KEY_PREFIX:()=>T.sv,SENTRY_BAGGAGE_KEY_PREFIX_REGEX:()=>T.wF,SENTRY_XHR_DATA_KEY:()=>f.Er,SentryError:()=>s.U,SyncPromise:()=>_.T2,TRACEPARENT_REGEXP:()=>E.MI,_asyncNullishCoalesce:()=>Q,_asyncOptionalChain:()=>$,_asyncOptionalChainDelete:()=>q,_browserPerformanceTimeOriginMode:()=>k.gt,_nullishCoalesce:()=>D.S,_optionalChain:()=>ee.z,_optionalChainDelete:()=>te.u,addClickKeypressInstrumentationHandler:()=>d.i,addConsoleInstrumentationHandler:()=>u.P,addContextToFrame:()=>v.db,addExceptionMechanism:()=>v.M6,addExceptionTypeValue:()=>v.gO,addFetchInstrumentationHandler:()=>g.u,addGlobalErrorInstrumentationHandler:()=>p.L,addGlobalUnhandledRejectionInstrumentationHandler:()=>h.r,addHistoryInstrumentationHandler:()=>m._,addInstrumentationHandler:()=>I,addItemToEnvelope:()=>F.W3,addNonEnumerableProperty:()=>Z.my,addOrUpdateIntegration:()=>L,addRequestDataToEvent:()=>w.GY,addRequestDataToTransaction:()=>w.em,addXhrInstrumentationHandler:()=>f.Mn,applyAggregateErrorsToEvent:()=>r.Q,arrayify:()=>v.k9,baggageHeaderToDynamicSamplingContext:()=>T.yD,basename:()=>B.P8,browserPerformanceTimeOrigin:()=>k.k3,callFrameToStackFrame:()=>j,checkOrSetAlreadyCaught:()=>v.GR,consoleSandbox:()=>l.pq,convertToPlainObject:()=>Z.W4,createAttachmentEnvelopeItem:()=>F.bm,createClientReportEnvelope:()=>Y.m,createEnvelope:()=>F.h4,createEventEnvelopeHeaders:()=>F.n2,createStackParser:()=>W.gd,dateTimestampInSeconds:()=>k.lu,dirname:()=>B.pD,disabledUntil:()=>X.Z3,dropUndefinedKeys:()=>Z.Ce,dsnFromString:()=>i.hH,dsnToString:()=>i.SB,dynamicRequire:()=>A.fj,dynamicSamplingContextToSentryBaggageHeader:()=>T.De,envelopeContainsItemType:()=>F.hP,envelopeItemTypeToDataCategory:()=>F.zk,escapeStringForRegex:()=>re,eventFromMessage:()=>J.qv,eventFromUnknownInput:()=>J.H7,exceptionFromError:()=>J.K8,extractExceptionKeysForMessage:()=>Z.HF,extractPathForTransaction:()=>w.Up,extractRequestData:()=>w.Rj,extractTraceparentData:()=>E.nc,filenameIsInApp:()=>z.s,fill:()=>Z.GS,forEachEnvelopeItem:()=>F.yH,generateSentryTraceHeader:()=>E.TC,getComponentName:()=>o.xE,getDomElement:()=>o.NX,getEventDescription:()=>v.$X,getFunctionName:()=>W.qQ,getGlobalObject:()=>a.VZ,getGlobalSingleton:()=>a.BY,getLocationHref:()=>o.$N,getNumberOfUrlSegments:()=>x.c4,getOriginalFunction:()=>Z.sp,getSDKSource:()=>H.e,getSanitizedUrlString:()=>x.e_,getSdkMetadataForEnvelopeHeader:()=>F.Cj,htmlTreeAsString:()=>o.Hd,isAbsolute:()=>B.oP,isBrowser:()=>C.B,isBrowserBundle:()=>H.Z,isDOMError:()=>b.BD,isDOMException:()=>b.W6,isElement:()=>b.vq,isError:()=>b.bJ,isErrorEvent:()=>b.T2,isEvent:()=>b.xH,isInstanceOf:()=>b.tH,isMatchingPattern:()=>N._c,isNaN:()=>b.yr,isNativeFetch:()=>V.ap,isNodeEnv:()=>A.wD,isParameterizedString:()=>b.NF,isPlainObject:()=>b.Qd,isPrimitive:()=>b.sO,isRateLimited:()=>X.Jz,isRegExp:()=>b.gd,isString:()=>b.Kg,isSyntheticEvent:()=>b.mE,isThenable:()=>b.Qg,isVueViewModel:()=>b.L2,join:()=>B.fj,loadModule:()=>A.Vw,logger:()=>l.vF,makeDsn:()=>i.AD,makeFifoCache:()=>O,makePromiseBuffer:()=>S.C,markFunctionWrapped:()=>Z.pO,memoBuilder:()=>y.s,nodeStackLineParser:()=>W.o,normalize:()=>G.S8,normalizePath:()=>B.Fd,normalizeToSize:()=>G.cd,normalizeUrlToBase:()=>G.nj,objectify:()=>Z.ey,originalConsoleMethods:()=>l.Z9,parseEnvelope:()=>F.mE,parseRetryAfterHeader:()=>X.FA,parseSemver:()=>v.kf,parseStackFrames:()=>J.Eg,parseUrl:()=>x.Dl,propagationContextFromHeaders:()=>E.kM,rejectedSyncPromise:()=>_.xg,relative:()=>B.V8,resetInstrumentationHandlers:()=>ne.Fp,resolve:()=>B.hd,resolvedSyncPromise:()=>_.XW,safeJoin:()=>N.gt,serializeEnvelope:()=>F.bN,severityFromString:()=>R.Nv,severityLevelFromString:()=>R.te,snipLine:()=>N.nC,stackParserFromStackParserOptions:()=>W.vk,stringMatchesSomePattern:()=>N.Xr,stripSentryFramesAndReverse:()=>W.Vi,stripUrlQueryAndFragment:()=>x.f,supportsDOMError:()=>V.$y,supportsDOMException:()=>V.kP,supportsErrorEvent:()=>V.NH,supportsFetch:()=>V.vm,supportsHistory:()=>oe.N,supportsNativeFetch:()=>V.m7,supportsReferrerPolicy:()=>V.K8,supportsReportingObserver:()=>V.vQ,timestampInSeconds:()=>k.zf,timestampWithMs:()=>k.LU,tracingContextFromHeaders:()=>E.E0,truncate:()=>N.xv,updateRateLimits:()=>X.wq,urlEncode:()=>Z.u4,uuid4:()=>v.eJ,validSeverityLevels:()=>R.$7,walk:()=>G.GG,watchdogTimer:()=>M,winterCGHeadersToDict:()=>w.NI,winterCGRequestToRequestData:()=>w.xF});var r=n(7931),o=n(8660),i=n(1965),s=n(7402),a=n(2859),c=n(8406),l=n(4870),u=n(7669),d=n(1096),g=n(1232),p=n(2775),h=n(7383),m=n(6764),f=n(1102);function I(e,t){switch(e){case"console":return(0,u.P)(t);case"dom":return(0,d.i)(t);case"xhr":return(0,f.Mn)(t);case"fetch":return(0,g.u)(t);case"history":return(0,m._)(t);case"error":return(0,p.L)(t);case"unhandledrejection":return(0,h.r)(t);default:c.T&&l.vF.warn("unknown instrumentation type:",e)}}var b=n(3390),C=n(900),y=n(3440),v=n(1666),A=n(1110),G=n(9659),Z=n(1085),B=n(3729),S=n(8731),w=n(2471),R=n(6877),W=n(6819),N=n(8647),V=n(8970),_=n(8336),k=n(3771),E=n(3098),H=n(1347),F=n(358),Y=n(5107),X=n(413),T=n(670),x=n(1961);function K(e,t,n){const r=t.match(/([a-z_]+)\.(.*)/i);null===r?e[t]=n:K(e[r[1]],r[2],n)}function L(e,t,n={}){return Array.isArray(t)?U(e,t,n):function(e,t,n){return r=>{const o=t(r);return e.allowExclusionByUser&&!o.find((t=>t.name===e.name))?o:U(e,o,n)}}(e,t,n)}function U(e,t,n){const r=t.find((t=>t.name===e.name));if(r){for(const[e,t]of Object.entries(n))K(r,e,t);return t}return[...t,e]}function O(e){let t=[],n={};return{add(r,o){for(;t.length>=e;){const e=t.shift();void 0!==e&&delete n[e]}n[r]&&this.delete(r),t.push(r),n[r]=o},clear(){n={},t=[]},get:e=>n[e],size:()=>t.length,delete(e){if(!n[e])return!1;delete n[e];for(let n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}return!0}}}var J=n(8161),z=n(9987);function M(e,t,n,r){const o=e();let i=!1,s=!0;return setInterval((()=>{const e=o.getTimeMs();!1===i&&e>t+n&&(i=!0,s&&r()),e<t+n&&(i=!1)}),20),{poll:()=>{o.reset()},enabled:e=>{s=e}}}function j(e,t,n){const r=t?t.replace(/^file:\/\//,""):void 0,o=e.location.columnNumber?e.location.columnNumber+1:void 0,i=e.location.lineNumber?e.location.lineNumber+1:void 0;return(0,Z.Ce)({filename:r,module:n(r),function:e.functionName||"?",colno:o,lineno:i,in_app:r?(0,z.s)(r):void 0})}var P=n(3805),D=n(4290);async function Q(e,t){return(0,D.S)(e,t)}async function $(e){let t,n=e[0],r=1;for(;r<e.length;){const o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=await i(n)):"call"!==o&&"optionalCall"!==o||(n=await i(((...e)=>n.call(t,...e))),t=void 0)}return n}async function q(e){const t=await $(e);return null==t||t}var ee=n(6615),te=n(3096),ne=n(5164);function re(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var oe=n(7215)},5164:(e,t,n)=>{"use strict";n.d(t,{AS:()=>u,Fp:()=>l,aj:()=>d,s5:()=>c});var r=n(8406),o=n(4870),i=n(6819);const s={},a={};function c(e,t){s[e]=s[e]||[],s[e].push(t)}function l(){Object.keys(s).forEach((e=>{s[e]=void 0}))}function u(e,t){a[e]||(t(),a[e]=!0)}function d(e,t){const n=e&&s[e];if(n)for(const s of n)try{s(t)}catch(t){r.T&&o.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,i.qQ)(s)}\nError:`,t)}}},7669:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var r=n(4870),o=n(1085),i=n(2859),s=n(5164);function a(e){const t="console";(0,s.s5)(t,e),(0,s.AS)(t,c)}function c(){"console"in i.OW&&r.Ow.forEach((function(e){e in i.OW.console&&(0,o.GS)(i.OW.console,e,(function(t){return r.Z9[e]=t,function(...t){const n={args:t,level:e};(0,s.aj)("console",n);const o=r.Z9[e];o&&o.apply(i.OW.console,t)}}))}))}},1096:(e,t,n)=>{"use strict";n.d(t,{i:()=>g});var r=n(1666),o=n(1085),i=n(2859),s=n(5164);const a=i.OW,c=1e3;let l,u,d;function g(e){(0,s.s5)("dom",e),(0,s.AS)("dom",p)}function p(){if(!a.document)return;const e=s.aj.bind(null,"dom"),t=h(e,!0);a.document.addEventListener("click",t,!1),a.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=a[t]&&a[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,o.GS)(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this,i=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},s=i[n]=i[n]||{refCount:0};if(!s.handler){const r=h(e);s.handler=r,t.call(this,n,r,o)}s.refCount++}catch(e){}return t.call(this,n,r,o)}})),(0,o.GS)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,o=n.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function h(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const i=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,i))return;(0,o.my)(n,"_sentryCaptured",!0),i&&!i._sentryId&&(0,o.my)(i,"_sentryId",(0,r.eJ)());const s="keypress"===n.type?"input":n.type;(function(e){if(e.type!==u)return!1;try{if(!e.target||e.target._sentryId!==d)return!1}catch(e){}return!0})(n)||(e({event:n,name:s,global:t}),u=n.type,d=i?i._sentryId:void 0),clearTimeout(l),l=a.setTimeout((()=>{d=void 0,u=void 0}),c)}}},1232:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var r=n(1085),o=n(8970),i=n(2859),s=n(5164);function a(e){const t="fetch";(0,s.s5)(t,e),(0,s.AS)(t,c)}function c(){(0,o.m7)()&&(0,r.GS)(i.OW,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:u(t),method:l(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:u(t),method:l(t,"method")?String(t.method).toUpperCase():"GET"}}(t),o={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return(0,s.aj)("fetch",{...o}),e.apply(i.OW,t).then((e=>{const t={...o,endTimestamp:Date.now(),response:e};return(0,s.aj)("fetch",t),e}),(e=>{const t={...o,endTimestamp:Date.now(),error:e};throw(0,s.aj)("fetch",t),e}))}}))}function l(e,t){return!!e&&"object"==typeof e&&!!e[t]}function u(e){return"string"==typeof e?e:e?l(e,"url")?e.url:e.toString?e.toString():"":""}},2775:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(2859),o=n(5164);let i=null;function s(e){const t="error";(0,o.s5)(t,e),(0,o.AS)(t,a)}function a(){i=r.OW.onerror,r.OW.onerror=function(e,t,n,r,s){const a={column:r,error:s,line:n,msg:e,url:t};return(0,o.aj)("error",a),!(!i||i.__SENTRY_LOADER__)&&i.apply(this,arguments)},r.OW.onerror.__SENTRY_INSTRUMENTED__=!0}},7383:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var r=n(2859),o=n(5164);let i=null;function s(e){const t="unhandledrejection";(0,o.s5)(t,e),(0,o.AS)(t,a)}function a(){i=r.OW.onunhandledrejection,r.OW.onunhandledrejection=function(e){const t=e;return(0,o.aj)("unhandledrejection",t),!(i&&!i.__SENTRY_LOADER__)||i.apply(this,arguments)},r.OW.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},6764:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(1085),o=n(2859),i=n(7215),s=n(5164);const a=o.OW;let c;function l(e){const t="history";(0,s.s5)(t,e),(0,s.AS)(t,u)}function u(){if(!(0,i.N)())return;const e=a.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=c,t=String(n);c=t;const r={from:e,to:t};(0,s.aj)("history",r)}return e.apply(this,t)}}a.onpopstate=function(...t){const n=a.location.href,r=c;c=n;const o={from:r,to:n};if((0,s.aj)("history",o),e)try{return e.apply(this,t)}catch(e){}},(0,r.GS)(a.history,"pushState",t),(0,r.GS)(a.history,"replaceState",t)}},1102:(e,t,n)=>{"use strict";n.d(t,{Er:()=>c,Mn:()=>l});var r=n(3390),o=n(1085),i=n(2859),s=n(5164);const a=i.OW,c="__sentry_xhr_v3__";function l(e){(0,s.s5)("xhr",e),(0,s.AS)("xhr",u)}function u(){if(!a.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,o.GS)(e,"open",(function(e){return function(...t){const n=Date.now(),i=(0,r.Kg)(t[0])?t[0].toUpperCase():void 0,a=function(e){if((0,r.Kg)(e))return e;try{return e.toString()}catch(e){}}(t[1]);if(!i||!a)return e.apply(this,t);this[c]={method:i,url:a,request_headers:{}},"POST"===i&&a.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const l=()=>{const e=this[c];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}const t={args:[i,a],endTimestamp:Date.now(),startTimestamp:n,xhr:this};(0,s.aj)("xhr",t)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,o.GS)(this,"onreadystatechange",(function(e){return function(...t){return l(),e.apply(this,t)}})):this.addEventListener("readystatechange",l),(0,o.GS)(this,"setRequestHeader",(function(e){return function(...t){const[n,o]=t,i=this[c];return i&&(0,r.Kg)(n)&&(0,r.Kg)(o)&&(i.request_headers[n.toLowerCase()]=o),e.apply(this,t)}})),e.apply(this,t)}})),(0,o.GS)(e,"send",(function(e){return function(...t){const n=this[c];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);const r={args:[n.method,n.url],startTimestamp:Date.now(),xhr:this};return(0,s.aj)("xhr",r),e.apply(this,t)}}))}},3390:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,Kg:()=>l,L2:()=>y,NF:()=>u,Qd:()=>g,Qg:()=>f,T2:()=>s,W6:()=>c,bJ:()=>o,gd:()=>m,mE:()=>I,sO:()=>d,tH:()=>C,vq:()=>h,xH:()=>p,yr:()=>b});const r=Object.prototype.toString;function o(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return C(e,Error)}}function i(e,t){return r.call(e)===`[object ${t}]`}function s(e){return i(e,"ErrorEvent")}function a(e){return i(e,"DOMError")}function c(e){return i(e,"DOMException")}function l(e){return i(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function g(e){return i(e,"Object")}function p(e){return"undefined"!=typeof Event&&C(e,Event)}function h(e){return"undefined"!=typeof Element&&C(e,Element)}function m(e){return i(e,"RegExp")}function f(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function I(e){return g(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function b(e){return"number"==typeof e&&e!=e}function C(e,t){try{return e instanceof t}catch(e){return!1}}function y(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}},900:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(1110),o=n(2859);function i(){return"undefined"!=typeof window&&(!(0,r.wD)()||void 0!==o.OW.process&&"renderer"===o.OW.process.type)}},4870:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>i,Z9:()=>s,pq:()=>a,vF:()=>c});var r=n(8406),o=n(2859);const i=["debug","info","warn","error","log","assert","trace"],s={};function a(e){if(!("console"in o.OW))return e();const t=o.OW.console,n={},r=Object.keys(s);r.forEach((e=>{const r=s[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const c=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?i.forEach((n=>{t[n]=(...t)=>{e&&a((()=>{o.OW.console[n](`Sentry Logger [${n}]:`,...t)}))}})):i.forEach((e=>{t[e]=()=>{}})),t}()},3805:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});class r{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){const t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){this._cache.size>=this._maxSize&&this._cache.delete(this._cache.keys().next().value),this._cache.set(e,t)}remove(e){const t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){const e=[];return this._cache.forEach((t=>e.push(t))),e}}},3440:(e,t,n)=>{"use strict";function r(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}n.d(t,{s:()=>r})},1666:(e,t,n)=>{"use strict";n.d(t,{$X:()=>c,GR:()=>h,M6:()=>u,db:()=>p,eJ:()=>s,gO:()=>l,k9:()=>m,kf:()=>g});var r=n(1085),o=n(8647),i=n(2859);function s(){const e=i.OW,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function a(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function c(e){const{message:t,event_id:n}=e;if(t)return t;const r=a(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function u(e,t){const n=a(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}const d=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function g(e){const t=e.match(d)||[],n=parseInt(t[1],10),r=parseInt(t[2],10),o=parseInt(t[3],10);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(o)?void 0:o,prerelease:t[4]}}function p(e,t,n=5){if(void 0===t.lineno)return;const r=e.length,i=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,i-n),i).map((e=>(0,o.nC)(e,0))),t.context_line=(0,o.nC)(e[Math.min(r-1,i)],t.colno||0),t.post_context=e.slice(Math.min(i+1,r),i+1+n).map((e=>(0,o.nC)(e,0)))}function h(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}function m(e){return Array.isArray(e)?e:[e]}},9987:(e,t,n)=>{"use strict";function r(e,t=!1){return!(t||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//)||void 0===e||e.includes("node_modules/"))}function o(e){const t=/^\s*[-]{4,}$/,n=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return o=>{const i=o.match(n);if(i){let t,n,o,s,a;if(i[1]){o=i[1];let e=o.lastIndexOf(".");if("."===o[e-1]&&e--,e>0){t=o.slice(0,e),n=o.slice(e+1);const r=t.indexOf(".Module");r>0&&(o=o.slice(r+1),t=t.slice(0,r))}s=void 0}n&&(s=t,a=n),"<anonymous>"===n&&(a=void 0,o=void 0),void 0===o&&(a=a||"<anonymous>",o=s?`${s}.${a}`:a);let c=i[2]&&i[2].startsWith("file://")?i[2].slice(7):i[2];const l="native"===i[5];return c&&c.match(/\/[A-Z]:/)&&(c=c.slice(1)),c||!i[5]||l||(c=i[5]),{filename:c,module:e?e(c):void 0,function:o,lineno:parseInt(i[3],10)||void 0,colno:parseInt(i[4],10)||void 0,in_app:r(c,l)}}if(o.match(t))return{filename:o}}}n.d(t,{r:()=>o,s:()=>r})},1110:(e,t,n)=>{"use strict";n.d(t,{Vw:()=>s,fj:()=>i,wD:()=>o});var r=n(1347);function o(){return!(0,r.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function i(e,t){return e.require(t)}function s(t){let n;try{n=i(e,t)}catch(e){}try{const{cwd:r}=i(e,"process");n=i(e,`${r()}/node_modules/${t}`)}catch(e){}return n}e=n.hmd(e)},9659:(e,t,n)=>{"use strict";n.d(t,{GG:()=>l,S8:()=>a,cd:()=>c,nj:()=>u});var r=n(3390),o=n(3440),i=n(1085),s=n(6819);function a(e,t=100,n=1/0){try{return l("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function c(e,t=3,n=102400){const r=a(e,t);return o=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?c(e,t-1,n):r;var o}function l(e,t,n=1/0,a=1/0,c=(0,o.s)()){const[u,d]=c;if(null==t||["number","boolean","string"].includes(typeof t)&&!(0,r.yr)(t))return t;const g=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,s.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const n=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!g.startsWith("[object "))return g;if(t.__sentry_skip_normalization__)return t;const p="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===p)return g.replace("object ","");if(u(t))return"[Circular ~]";const h=t;if(h&&"function"==typeof h.toJSON)try{return l("",h.toJSON(),p-1,a,c)}catch(e){}const m=Array.isArray(t)?[]:{};let f=0;const I=(0,i.W4)(t);for(const e in I){if(!Object.prototype.hasOwnProperty.call(I,e))continue;if(f>=a){m[e]="[MaxProperties ~]";break}const t=I[e];m[e]=l(e,t,p-1,a,c),f++}return d(t),m}function u(e,t){const n=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=e;try{r=decodeURI(e)}catch(e){}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${n}/*`,"ig"),"app:///")}},1085:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>I,GS:()=>c,HF:()=>f,W4:()=>p,ey:()=>C,my:()=>l,pO:()=>u,sp:()=>d,u4:()=>g});var r=n(8660),o=n(8406),i=n(3390),s=n(4870),a=n(8647);function c(e,t,n){if(!(t in e))return;const r=e[t],o=n(r);"function"==typeof o&&u(o,r),e[t]=o}function l(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){o.T&&s.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function g(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function p(e){if((0,i.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if((0,i.xH)(e)){const t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...m(e)};return"undefined"!=typeof CustomEvent&&(0,i.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function h(e){try{return(0,i.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function m(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function f(e,t=40){const n=Object.keys(p(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.xv)(n[0],t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:(0,a.xv)(r,t)}return""}function I(e){return b(e,new Map)}function b(e,t){if(function(e){if(!(0,i.Qd)(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=b(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(b(e,t))})),r}return e}function C(e){let t;switch(!0){case null==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case(0,i.sO)(e):t=new e.constructor(e);break;default:t=e}return t}},3729:(e,t,n)=>{"use strict";function r(e,t){let n=0;for(let t=e.length-1;t>=0;t--){const r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}n.d(t,{Fd:()=>l,P8:()=>p,V8:()=>c,fj:()=>d,hd:()=>s,oP:()=>u,pD:()=>g});const o=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function i(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=o.exec(t);return n?n.slice(1):[]}function s(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const o=r>=0?e[r]:"/";o&&(t=`${o}/${t}`,n="/"===o.charAt(0))}return t=r(t.split("/").filter((e=>!!e)),!n).join("/"),(n?"/":"")+t||"."}function a(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function c(e,t){e=s(e).slice(1),t=s(t).slice(1);const n=a(e.split("/")),r=a(t.split("/")),o=Math.min(n.length,r.length);let i=o;for(let e=0;e<o;e++)if(n[e]!==r[e]){i=e;break}let c=[];for(let e=i;e<n.length;e++)c.push("..");return c=c.concat(r.slice(i)),c.join("/")}function l(e){const t=u(e),n="/"===e.slice(-1);let o=r(e.split("/").filter((e=>!!e)),!t).join("/");return o||t||(o="."),o&&n&&(o+="/"),(t?"/":"")+o}function u(e){return"/"===e.charAt(0)}function d(...e){return l(e.join("/"))}function g(e){const t=i(e),n=t[0];let r=t[1];return n||r?(r&&(r=r.slice(0,r.length-1)),n+r):"."}function p(e,t){let n=i(e)[2];return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n}},8731:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(7402),o=n(8336);function i(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(i){if(!(void 0===e||t.length<e))return(0,o.xg)(new r.U("Not adding Promise because buffer limit was reached."));const s=i();return-1===t.indexOf(s)&&t.push(s),s.then((()=>n(s))).then(null,(()=>n(s).then(null,(()=>{})))),s},drain:function(e){return new o.T2(((n,r)=>{let i=t.length;if(!i)return n(!0);const s=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,o.XW)(e).then((()=>{--i||(clearTimeout(s),n(!0))}),r)}))}))}}}},413:(e,t,n)=>{"use strict";n.d(t,{FA:()=>o,Jz:()=>s,Z3:()=>i,e1:()=>r,wq:()=>a});const r=6e4;function o(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const o=Date.parse(`${e}`);return isNaN(o)?r:o-t}function i(e,t){return e[t]||e.all||0}function s(e,t,n=Date.now()){return i(e,t)>n}function a(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(const e of s.trim().split(",")){const[t,n,,,o]=e.split(":",5),s=parseInt(t,10),a=1e3*(isNaN(s)?60:s);if(n)for(const e of n.split(";"))"metric_bucket"===e&&o&&!o.split(";").includes("custom")||(i[e]=r+a);else i.all=r+a}else a?i.all=r+o(a,r):429===t&&(i.all=r+6e4);return i}},2471:(e,t,n)=>{"use strict";n.d(t,{cx:()=>u,GY:()=>h,em:()=>d,Up:()=>g,Rj:()=>p,NI:()=>f,xF:()=>I});var r=n(8406),o=n(3390),i=n(4870),s=n(9659),a=n(1961);const c={ip:!1,request:!0,transaction:!0,user:!0},l=["cookies","data","headers","method","query_string","url"],u=["id","username","email"];function d(e,t,n){if(e){if(!e.metadata.source||"url"===e.metadata.source){const[n,r]=g(t,{path:!0,method:!0});e.updateName(n),e.setMetadata({source:r})}e.setAttribute("url",t.originalUrl||t.url),t.baseUrl&&e.setAttribute("baseUrl",t.baseUrl),e.setData("query",m(t,n))}}function g(e,t={}){const n=e.method&&e.method.toUpperCase();let r="",o="url";t.customRoute||e.route?(r=t.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,o="route"):(e.originalUrl||e.url)&&(r=(0,a.f)(e.originalUrl||e.url||""));let i="";return t.method&&n&&(i+=n),t.method&&t.path&&(i+=" "),t.path&&r&&(i+=r),[i,o]}function p(e,t){const{include:n=l,deps:r}=t||{},i={},a=e.headers||{},c=e.method,u=a.host||e.hostname||e.host||"<no host>",d="https"===e.protocol||e.socket&&e.socket.encrypted?"https":"http",g=e.originalUrl||e.url||"",p=g.startsWith(d)?g:`${d}://${u}${g}`;return n.forEach((t=>{switch(t){case"headers":i.headers=a,n.includes("cookies")||delete i.headers.cookie;break;case"method":i.method=c;break;case"url":i.url=p;break;case"cookies":i.cookies=e.cookies||a.cookie&&function(e){const t={};let n=0;for(;n<e.length;){const r=e.indexOf("=",n);if(-1===r)break;let o=e.indexOf(";",n);if(-1===o)o=e.length;else if(o<r){n=e.lastIndexOf(";",r-1)+1;continue}const i=e.slice(n,r).trim();if(void 0===t[i]){let n=e.slice(r+1,o).trim();34===n.charCodeAt(0)&&(n=n.slice(1,-1));try{t[i]=-1!==n.indexOf("%")?decodeURIComponent(n):n}catch(e){t[i]=n}}n=o+1}return t}(a.cookie)||{};break;case"query_string":i.query_string=m(e,r);break;case"data":if("GET"===c||"HEAD"===c)break;void 0!==e.body&&(i.data=(0,o.Kg)(e.body)?e.body:JSON.stringify((0,s.S8)(e.body)));break;default:({}).hasOwnProperty.call(e,t)&&(i[t]=e[t])}})),i}function h(e,t,n){const r={...c,...n&&n.include};if(r.request){const o=Array.isArray(r.request)?p(t,{include:r.request,deps:n&&n.deps}):p(t,{deps:n&&n.deps});e.request={...e.request,...o}}if(r.user){const n=t.user&&(0,o.Qd)(t.user)?function(e,t){const n={};return(Array.isArray(t)?t:u).forEach((t=>{e&&t in e&&(n[t]=e[t])})),n}(t.user,r.user):{};Object.keys(n).length&&(e.user={...e.user,...n})}if(r.ip){const n=t.ip||t.socket&&t.socket.remoteAddress;n&&(e.user={...e.user,ip_address:n})}return r.transaction&&!e.transaction&&(e.transaction=function(e,t){switch(t){case"path":return g(e,{path:!0})[0];case"handler":return e.route&&e.route.stack&&e.route.stack[0]&&e.route.stack[0].name||"<anonymous>";default:return g(e,{path:!0,method:!0,customRoute:e._reconstructedRoute?e._reconstructedRoute:void 0})[0]}}(t,r.transaction)),e}function m(e,t){let n=e.originalUrl||e.url||"";if(n){n.startsWith("/")&&(n=`http://dogs.are.great${n}`);try{return e.query||"undefined"!=typeof URL&&new URL(n).search.slice(1)||t&&t.url&&t.url.parse(n).query||void 0}catch(e){return}}}function f(e){const t={};try{e.forEach(((e,n)=>{"string"==typeof e&&(t[n]=e)}))}catch(e){r.T&&i.vF.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return t}function I(e){const t=f(e.headers);return{method:e.method,url:e.url,headers:t}}},6877:(e,t,n)=>{"use strict";n.d(t,{$7:()=>r,Nv:()=>o,te:()=>i});const r=["fatal","error","warning","log","info","debug"];function o(e){return i(e)}function i(e){return"warn"===e?"warning":r.includes(e)?e:"log"}},6819:(e,t,n)=>{"use strict";n.d(t,{Vi:()=>l,gd:()=>a,o:()=>g,qQ:()=>d,vk:()=>c});var r=n(9987);const o=50,i=/\(error: (.*)\)/,s=/captureMessage|captureException/;function a(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const r=[],s=e.split("\n");for(let e=n;e<s.length;e++){const n=s[e];if(n.length>1024)continue;const a=i.test(n)?n.replace(i,"$1"):n;if(!a.match(/\S*Error: /)){for(const e of t){const t=e(a);if(t){r.push(t);break}}if(r.length>=o)break}}return l(r)}}function c(e){return Array.isArray(e)?a(...e):e}function l(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),s.test(t[t.length-1].function||"")&&(t.pop(),s.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,o).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}const u="<anonymous>";function d(e){try{return e&&"function"==typeof e&&e.name||u}catch(e){return u}}function g(e){return[90,(0,r.r)(e)]}},8647:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>c,_c:()=>a,gt:()=>s,nC:()=>i,xv:()=>o});var r=n(3390);function o(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function i(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let o=Math.max(t-60,0);o<5&&(o=0);let i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n=`'{snip} ${n}`),i<r&&(n+=" {snip}"),n}function s(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const o=e[t];try{(0,r.L2)(o)?n.push("[VueViewModel]"):n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))}function c(e,t=[],n=!1){return t.some((t=>a(e,t,n)))}},8970:(e,t,n)=>{"use strict";n.d(t,{$y:()=>a,K8:()=>p,NH:()=>s,ap:()=>u,kP:()=>c,m7:()=>d,vQ:()=>g,vm:()=>l});var r=n(8406),o=n(4870);const i=(0,n(2859).VZ)();function s(){try{return new ErrorEvent(""),!0}catch(e){return!1}}function a(){try{return new DOMError(""),!0}catch(e){return!1}}function c(){try{return new DOMException(""),!0}catch(e){return!1}}function l(){if(!("fetch"in i))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function u(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function d(){if("string"==typeof EdgeRuntime)return!0;if(!l())return!1;if(u(i.fetch))return!0;let e=!1;const t=i.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=u(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.T&&o.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function g(){return"ReportingObserver"in i}function p(){if(!l())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}},8336:(e,t,n)=>{"use strict";n.d(t,{T2:()=>a,XW:()=>i,xg:()=>s});var r,o=n(3390);function i(e){return new a((t=>{t(e)}))}function s(e){return new a(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(e){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new a(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new a(((t,n)=>{let r,o;return this.then((t=>{o=!1,r=t,e&&e()}),(t=>{o=!0,r=t,e&&e()})).then((()=>{o?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===r.PENDING&&((0,o.Qg)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}}}},3771:(e,t,n)=>{"use strict";n.d(t,{LU:()=>a,gt:()=>c,k3:()=>l,lu:()=>i,zf:()=>s});var r=n(2859);const o=1e3;function i(){return Date.now()/o}const s=function(){const{performance:e}=r.OW;if(!e||!e.now)return i;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/o}(),a=s;let c;const l=(()=>{const{performance:e}=r.OW;if(!e||!e.now)return void(c="none");const t=36e5,n=e.now(),o=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-o):t,s=i<t,a=e.timing&&e.timing.navigationStart,l="number"==typeof a?Math.abs(a+n-o):t;return s||l<t?i<=l?(c="timeOrigin",e.timeOrigin):(c="navigationStart",a):(c="dateNow",o)})()},3098:(e,t,n)=>{"use strict";n.d(t,{E0:()=>a,MI:()=>i,TC:()=>l,kM:()=>c,nc:()=>s});var r=n(670),o=n(1666);const i=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function s(e){if(!e)return;const t=e.match(i);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function a(e,t){const n=s(e),i=(0,r.yD)(t),{traceId:a,parentSpanId:c,parentSampled:l}=n||{};return n?{traceparentData:n,dynamicSamplingContext:i||{},propagationContext:{traceId:a||(0,o.eJ)(),parentSpanId:c||(0,o.eJ)().substring(16),spanId:(0,o.eJ)().substring(16),sampled:l,dsc:i||{}}}:{traceparentData:n,dynamicSamplingContext:void 0,propagationContext:{traceId:a||(0,o.eJ)(),spanId:(0,o.eJ)().substring(16)}}}function c(e,t){const n=s(e),i=(0,r.yD)(t),{traceId:a,parentSpanId:c,parentSampled:l}=n||{};return n?{traceId:a||(0,o.eJ)(),parentSpanId:c||(0,o.eJ)().substring(16),spanId:(0,o.eJ)().substring(16),sampled:l,dsc:i||{}}:{traceId:a||(0,o.eJ)(),spanId:(0,o.eJ)().substring(16)}}function l(e=(0,o.eJ)(),t=(0,o.eJ)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},1961:(e,t,n)=>{"use strict";function r(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function o(e){return e.split(/[\?#]/,1)[0]}function i(e){return e.split(/\\?\//).filter((e=>e.length>0&&","!==e)).length}function s(e){const{protocol:t,host:n,path:r}=e;return`${t?`${t}://`:""}${n&&n.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||""}${r}`}n.d(t,{Dl:()=>r,c4:()=>i,e_:()=>s,f:()=>o})},7215:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});const r=(0,n(2859).VZ)();function o(){const e=r.chrome,t=e&&e.app&&e.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!t&&n}},2859:(e,t,n)=>{"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{BY:()=>s,OW:()=>o,VZ:()=>i});const o="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof global&&r(global)||function(){return this}()||{};function i(){return o}function s(e,t,n){const r=n||o,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}},2999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationError=t.CancellationToken=void 0;const r=n(4434);class o extends r.EventEmitter{get cancelled(){return this._cancelled||null!=this._parent&&this._parent.cancelled}set parent(e){this.removeParentCancelHandler(),this._parent=e,this.parentCancelHandler=()=>this.cancel(),this._parent.onCancel(this.parentCancelHandler)}constructor(e){super(),this.parentCancelHandler=null,this._parent=null,this._cancelled=!1,null!=e&&(this.parent=e)}cancel(){this._cancelled=!0,this.emit("cancel")}onCancel(e){this.cancelled?e():this.once("cancel",e)}createPromise(e){if(this.cancelled)return Promise.reject(new i);const t=()=>{if(null!=n)try{this.removeListener("cancel",n),n=null}catch(e){}};let n=null;return new Promise(((t,r)=>{let o=null;n=()=>{try{null!=o&&(o(),o=null)}finally{r(new i)}},this.cancelled?n():(this.onCancel(n),e(t,r,(e=>{o=e})))})).then((e=>(t(),e))).catch((e=>{throw t(),e}))}removeParentCancelHandler(){const e=this._parent;null!=e&&null!=this.parentCancelHandler&&(e.removeListener("cancel",this.parentCancelHandler),this.parentCancelHandler=null)}dispose(){try{this.removeParentCancelHandler()}finally{this.removeAllListeners(),this._parent=null}}}t.CancellationToken=o;class i extends Error{constructor(){super("cancelled")}}t.CancellationError=i},9591:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressCallbackTransform=void 0;const r=n(2203);class o extends r.Transform{constructor(e,t,n){super(),this.total=e,this.cancellationToken=t,this.onProgress=n,this.start=Date.now(),this.transferred=0,this.delta=0,this.nextUpdate=this.start+1e3}_transform(e,t,n){if(this.cancellationToken.cancelled)return void n(new Error("cancelled"),null);this.transferred+=e.length,this.delta+=e.length;const r=Date.now();r>=this.nextUpdate&&this.transferred!==this.total&&(this.nextUpdate=r+1e3,this.onProgress({total:this.total,delta:this.delta,transferred:this.transferred,percent:this.transferred/this.total*100,bytesPerSecond:Math.round(this.transferred/((r-this.start)/1e3))}),this.delta=0),n(null,e)}_flush(e){this.cancellationToken.cancelled?e(new Error("cancelled")):(this.onProgress({total:this.total,delta:this.delta,transferred:this.total,percent:100,bytesPerSecond:Math.round(this.transferred/((Date.now()-this.start)/1e3))}),this.delta=0,e(null))}}t.ProgressCallbackTransform=o},510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeStringifyJson=t.configureRequestOptions=t.safeGetHeader=t.DigestTransform=t.configureRequestUrl=t.configureRequestOptionsFromUrl=t.HttpExecutor=t.parseJson=t.HttpError=t.createHttpError=void 0;const r=n(6982),o=n(5623),i=n(9896),s=n(2203),a=n(7016),c=n(2999),l=n(2283),u=n(9591),d=(0,o.default)("electron-builder");function g(e,t=null){return new h(e.statusCode||-1,`${e.statusCode} ${e.statusMessage}`+(null==t?"":"\n"+JSON.stringify(t,null,"  "))+"\nHeaders: "+v(e.headers),t)}t.createHttpError=g;const p=new Map([[429,"Too many requests"],[400,"Bad request"],[403,"Forbidden"],[404,"Not found"],[405,"Method not allowed"],[406,"Not acceptable"],[408,"Request timeout"],[413,"Request entity too large"],[500,"Internal server error"],[502,"Bad gateway"],[503,"Service unavailable"],[504,"Gateway timeout"],[505,"HTTP version not supported"]]);class h extends Error{constructor(e,t=`HTTP error: ${p.get(e)||e}`,n=null){super(t),this.statusCode=e,this.description=n,this.name="HttpError",this.code=`HTTP_ERROR_${e}`}isServerError(){return this.statusCode>=500&&this.statusCode<=599}}t.HttpError=h,t.parseJson=function(e){return e.then((e=>null==e||0===e.length?null:JSON.parse(e)))};class m{constructor(){this.maxRedirects=10}request(e,t=new c.CancellationToken,n){y(e);const r=null==n?void 0:JSON.stringify(n),o=r?Buffer.from(r):void 0;if(null!=o){d(r);const{headers:t,...n}=e;e={method:"post",headers:{"Content-Type":"application/json","Content-Length":o.length,...t},...n}}return this.doApiRequest(e,t,(e=>e.end(o)))}doApiRequest(e,t,n,r=0){return d.enabled&&d(`Request: ${v(e)}`),t.createPromise(((o,i,s)=>{const a=this.createRequest(e,(s=>{try{this.handleResponse(s,e,t,o,i,r,n)}catch(e){i(e)}}));this.addErrorAndTimeoutHandlers(a,i,e.timeout),this.addRedirectHandlers(a,e,i,r,(e=>{this.doApiRequest(e,t,n,r).then(o).catch(i)})),n(a,i),s((()=>a.abort()))}))}addRedirectHandlers(e,t,n,r,o){}addErrorAndTimeoutHandlers(e,t,n=6e4){this.addTimeOutHandler(e,t,n),e.on("error",t),e.on("aborted",(()=>{t(new Error("Request has been aborted by the server"))}))}handleResponse(e,t,n,r,o,i,s){var a;if(d.enabled&&d(`Response: ${e.statusCode} ${e.statusMessage}, request options: ${v(t)}`),404===e.statusCode)return void o(g(e,`method: ${t.method||"GET"} url: ${t.protocol||"https:"}//${t.hostname}${t.port?`:${t.port}`:""}${t.path}\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n`));if(204===e.statusCode)return void r();const c=null!==(a=e.statusCode)&&void 0!==a?a:0,l=c>=300&&c<400,u=C(e,"location");if(l&&null!=u)return i>this.maxRedirects?void o(this.createMaxRedirectError()):void this.doApiRequest(m.prepareRedirectUrlOptions(u,t),n,s,i).then(r).catch(o);e.setEncoding("utf8");let p="";e.on("error",o),e.on("data",(e=>p+=e)),e.on("end",(()=>{try{if(null!=e.statusCode&&e.statusCode>=400){const n=C(e,"content-type"),r=null!=n&&(Array.isArray(n)?null!=n.find((e=>e.includes("json"))):n.includes("json"));o(g(e,`method: ${t.method||"GET"} url: ${t.protocol||"https:"}//${t.hostname}${t.port?`:${t.port}`:""}${t.path}\n\n          Data:\n          ${r?JSON.stringify(JSON.parse(p)):p}\n          `))}else r(0===p.length?null:p)}catch(e){o(e)}}))}async downloadToBuffer(e,t){return await t.cancellationToken.createPromise(((n,r,o)=>{const i=[],s={headers:t.headers||void 0,redirect:"manual"};I(e,s),y(s),this.doDownload(s,{destination:null,options:t,onCancel:o,callback:e=>{null==e?n(Buffer.concat(i)):r(e)},responseHandler:(e,t)=>{let n=0;e.on("data",(e=>{n+=e.length,n>524288e3?t(new Error("Maximum allowed size is 500 MB")):i.push(e)})),e.on("end",(()=>{t(null)}))}},0)}))}doDownload(e,t,n){const r=this.createRequest(e,(r=>{if(r.statusCode>=400)return void t.callback(new Error(`Cannot download "${e.protocol||"https:"}//${e.hostname}${e.path}", status ${r.statusCode}: ${r.statusMessage}`));r.on("error",t.callback);const o=C(r,"location");null==o?null==t.responseHandler?function(e,t){if(n=C(t,"X-Checksum-Sha2"),r=e.options.sha2,o=e.callback,null!=n&&null!=r&&n!==r&&(o(new Error(`checksum mismatch: expected ${r} but got ${n} (X-Checksum-Sha2 header)`)),1))return;var n,r,o;const s=[];if(null!=e.options.onProgress){const n=C(t,"content-length");null!=n&&s.push(new u.ProgressCallbackTransform(parseInt(n,10),e.options.cancellationToken,e.options.onProgress))}const a=e.options.sha512;null!=a?s.push(new b(a,"sha512",128!==a.length||a.includes("+")||a.includes("Z")||a.includes("=")?"base64":"hex")):null!=e.options.sha2&&s.push(new b(e.options.sha2,"sha256","hex"));const c=(0,i.createWriteStream)(e.destination);s.push(c);let l=t;for(const t of s)t.on("error",(t=>{c.close(),e.options.cancellationToken.cancelled||e.callback(t)})),l=l.pipe(t);c.on("finish",(()=>{c.close(e.callback)}))}(t,r):t.responseHandler(r,t.callback):n<this.maxRedirects?this.doDownload(m.prepareRedirectUrlOptions(o,e),t,n++):t.callback(this.createMaxRedirectError())}));this.addErrorAndTimeoutHandlers(r,t.callback,e.timeout),this.addRedirectHandlers(r,e,t.callback,n,(e=>{this.doDownload(e,t,n++)})),r.end()}createMaxRedirectError(){return new Error(`Too many redirects (> ${this.maxRedirects})`)}addTimeOutHandler(e,t,n){e.on("socket",(r=>{r.setTimeout(n,(()=>{e.abort(),t(new Error("Request timed out"))}))}))}static prepareRedirectUrlOptions(e,t){const n=f(e,{...t}),r=n.headers;if(null==r?void 0:r.authorization){const t=new a.URL(e);(t.hostname.endsWith(".amazonaws.com")||t.searchParams.has("X-Amz-Credential"))&&delete r.authorization}return n}static retryOnServerError(e,t=3){for(let n=0;;n++)try{return e()}catch(e){if(n<t&&(e instanceof h&&e.isServerError()||"EPIPE"===e.code))continue;throw e}}}function f(e,t){const n=y(t);return I(new a.URL(e),n),n}function I(e,t){t.protocol=e.protocol,t.hostname=e.hostname,e.port?t.port=e.port:t.port&&delete t.port,t.path=e.pathname+e.search}t.HttpExecutor=m,t.configureRequestOptionsFromUrl=f,t.configureRequestUrl=I;class b extends s.Transform{get actual(){return this._actual}constructor(e,t="sha512",n="base64"){super(),this.expected=e,this.algorithm=t,this.encoding=n,this._actual=null,this.isValidateOnEnd=!0,this.digester=(0,r.createHash)(t)}_transform(e,t,n){this.digester.update(e),n(null,e)}_flush(e){if(this._actual=this.digester.digest(this.encoding),this.isValidateOnEnd)try{this.validate()}catch(t){return void e(t)}e(null)}validate(){if(null==this._actual)throw(0,l.newError)("Not finished yet","ERR_STREAM_NOT_FINISHED");if(this._actual!==this.expected)throw(0,l.newError)(`${this.algorithm} checksum mismatch, expected ${this.expected}, got ${this._actual}`,"ERR_CHECKSUM_MISMATCH");return null}}function C(e,t){const n=e.headers[t];return null==n?null:Array.isArray(n)?0===n.length?null:n[n.length-1]:n}function y(e,t,n){null!=n&&(e.method=n),e.headers={...e.headers};const r=e.headers;return null!=t&&(r.authorization=t.startsWith("Basic")||t.startsWith("Bearer")?t:`token ${t}`),null==r["User-Agent"]&&(r["User-Agent"]="electron-builder"),null!=n&&"GET"!==n&&null!=r["Cache-Control"]||(r["Cache-Control"]="no-cache"),null==e.protocol&&null!=process.versions.electron&&(e.protocol="https:"),e}function v(e,t){return JSON.stringify(e,((e,n)=>e.endsWith("Authorization")||e.endsWith("authorization")||e.endsWith("Password")||e.endsWith("PASSWORD")||e.endsWith("Token")||e.includes("password")||e.includes("token")||null!=t&&t.has(e)?"<stripped sensitive data>":n),2)}t.DigestTransform=b,t.safeGetHeader=C,t.configureRequestOptions=y,t.safeStringifyJson=v},2283:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.newError=t.asArray=t.CURRENT_APP_PACKAGE_FILE_NAME=t.CURRENT_APP_INSTALLER_FILE_NAME=t.XElement=t.parseXml=t.ProgressCallbackTransform=t.UUID=t.parseDn=t.githubUrl=t.getS3LikeProviderBaseUrl=t.configureRequestUrl=t.parseJson=t.safeStringifyJson=t.configureRequestOptionsFromUrl=t.configureRequestOptions=t.safeGetHeader=t.DigestTransform=t.HttpExecutor=t.createHttpError=t.HttpError=t.CancellationError=t.CancellationToken=void 0;var r=n(2999);Object.defineProperty(t,"CancellationToken",{enumerable:!0,get:function(){return r.CancellationToken}}),Object.defineProperty(t,"CancellationError",{enumerable:!0,get:function(){return r.CancellationError}});var o=n(510);Object.defineProperty(t,"HttpError",{enumerable:!0,get:function(){return o.HttpError}}),Object.defineProperty(t,"createHttpError",{enumerable:!0,get:function(){return o.createHttpError}}),Object.defineProperty(t,"HttpExecutor",{enumerable:!0,get:function(){return o.HttpExecutor}}),Object.defineProperty(t,"DigestTransform",{enumerable:!0,get:function(){return o.DigestTransform}}),Object.defineProperty(t,"safeGetHeader",{enumerable:!0,get:function(){return o.safeGetHeader}}),Object.defineProperty(t,"configureRequestOptions",{enumerable:!0,get:function(){return o.configureRequestOptions}}),Object.defineProperty(t,"configureRequestOptionsFromUrl",{enumerable:!0,get:function(){return o.configureRequestOptionsFromUrl}}),Object.defineProperty(t,"safeStringifyJson",{enumerable:!0,get:function(){return o.safeStringifyJson}}),Object.defineProperty(t,"parseJson",{enumerable:!0,get:function(){return o.parseJson}}),Object.defineProperty(t,"configureRequestUrl",{enumerable:!0,get:function(){return o.configureRequestUrl}});var i=n(884);Object.defineProperty(t,"getS3LikeProviderBaseUrl",{enumerable:!0,get:function(){return i.getS3LikeProviderBaseUrl}}),Object.defineProperty(t,"githubUrl",{enumerable:!0,get:function(){return i.githubUrl}});var s=n(2309);Object.defineProperty(t,"parseDn",{enumerable:!0,get:function(){return s.parseDn}});var a=n(1496);Object.defineProperty(t,"UUID",{enumerable:!0,get:function(){return a.UUID}});var c=n(9591);Object.defineProperty(t,"ProgressCallbackTransform",{enumerable:!0,get:function(){return c.ProgressCallbackTransform}});var l=n(98);Object.defineProperty(t,"parseXml",{enumerable:!0,get:function(){return l.parseXml}}),Object.defineProperty(t,"XElement",{enumerable:!0,get:function(){return l.XElement}}),t.CURRENT_APP_INSTALLER_FILE_NAME="installer.exe",t.CURRENT_APP_PACKAGE_FILE_NAME="package.7z",t.asArray=function(e){return null==e?[]:Array.isArray(e)?e:[e]},t.newError=function(e,t){const n=new Error(e);return n.code=t,n}},884:(e,t)=>{"use strict";function n(e,t){return null!=t&&t.length>0&&(t.startsWith("/")||(e+="/"),e+=t),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getS3LikeProviderBaseUrl=t.githubUrl=void 0,t.githubUrl=function(e,t="github.com"){return`${e.protocol||"https"}://${e.host||t}`},t.getS3LikeProviderBaseUrl=function(e){const t=e.provider;if("s3"===t)return function(e){let t;if(1==e.accelerate)t=`https://${e.bucket}.s3-accelerate.amazonaws.com`;else if(null!=e.endpoint)t=`${e.endpoint}/${e.bucket}`;else if(e.bucket.includes(".")){if(null==e.region)throw new Error(`Bucket name "${e.bucket}" includes a dot, but S3 region is missing`);t="us-east-1"===e.region?`https://s3.amazonaws.com/${e.bucket}`:`https://s3-${e.region}.amazonaws.com/${e.bucket}`}else t="cn-north-1"===e.region?`https://${e.bucket}.s3.${e.region}.amazonaws.com.cn`:`https://${e.bucket}.s3.amazonaws.com`;return n(t,e.path)}(e);if("spaces"===t)return function(e){if(null==e.name)throw new Error("name is missing");if(null==e.region)throw new Error("region is missing");return n(`https://${e.name}.${e.region}.digitaloceanspaces.com`,e.path)}(e);throw new Error(`Not supported provider: ${t}`)}},2309:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseDn=void 0,t.parseDn=function(e){let t=!1,n=null,r="",o=0;e=e.trim();const i=new Map;for(let s=0;s<=e.length;s++){if(s===e.length){null!==n&&i.set(n,r);break}const a=e[s];if(t){if('"'===a){t=!1;continue}}else{if('"'===a){t=!0;continue}if("\\"===a){s++;const t=parseInt(e.slice(s,s+2),16);Number.isNaN(t)?r+=e[s]:(s++,r+=String.fromCharCode(t));continue}if(null===n&&"="===a){n=r,r="";continue}if(","===a||";"===a||"+"===a){null!==n&&i.set(n,r),n=null,r="";continue}}if(" "===a&&!t){if(0===r.length)continue;if(s>o){let t=s;for(;" "===e[t];)t++;o=t}if(o>=e.length||","===e[o]||";"===e[o]||null===n&&"="===e[o]||null!==n&&"+"===e[o]){s=o-1;continue}}r+=a}return i}},1496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nil=t.UUID=void 0;const r=n(6982),o=n(2283),i=(0,r.randomBytes)(16);i[0]=1|i[0];const s={},a=[];for(let e=0;e<256;e++){const t=(e+256).toString(16).substr(1);s[t]=e,a[e]=t}class c{constructor(e){this.ascii=null,this.binary=null;const t=c.check(e);if(!t)throw new Error("not a UUID");this.version=t.version,"ascii"===t.format?this.ascii=e:this.binary=e}static v5(e,t){return function(e,t,n,i,s=u.ASCII){const l=(0,r.createHash)(t);if("string"!=typeof e&&!Buffer.isBuffer(e))throw(0,o.newError)("options.name must be either a string or a Buffer","ERR_INVALID_UUID_NAME");l.update(i),l.update(e);const d=l.digest();let g;switch(s){case u.BINARY:d[6]=15&d[6]|n,d[8]=63&d[8]|128,g=d;break;case u.OBJECT:d[6]=15&d[6]|n,d[8]=63&d[8]|128,g=new c(d);break;default:g=a[d[0]]+a[d[1]]+a[d[2]]+a[d[3]]+"-"+a[d[4]]+a[d[5]]+"-"+a[15&d[6]|n]+a[d[7]]+"-"+a[63&d[8]|128]+a[d[9]]+"-"+a[d[10]]+a[d[11]]+a[d[12]]+a[d[13]]+a[d[14]]+a[d[15]]}return g}(e,"sha1",80,t)}toString(){var e;return null==this.ascii&&(this.ascii=(e=this.binary,a[e[0]]+a[e[1]]+a[e[2]]+a[e[3]]+"-"+a[e[4]]+a[e[5]]+"-"+a[e[6]]+a[e[7]]+"-"+a[e[8]]+a[e[9]]+"-"+a[e[10]]+a[e[11]]+a[e[12]]+a[e[13]]+a[e[14]]+a[e[15]])),this.ascii}inspect(){return`UUID v${this.version} ${this.toString()}`}static check(e,t=0){if("string"==typeof e)return e=e.toLowerCase(),!!/^[a-f0-9]{8}(-[a-f0-9]{4}){3}-([a-f0-9]{12})$/.test(e)&&("00000000-0000-0000-0000-000000000000"===e?{version:void 0,variant:"nil",format:"ascii"}:{version:(240&s[e[14]+e[15]])>>4,variant:l((224&s[e[19]+e[20]])>>5),format:"ascii"});if(Buffer.isBuffer(e)){if(e.length<t+16)return!1;let n=0;for(;n<16&&0===e[t+n];n++);return 16===n?{version:void 0,variant:"nil",format:"binary"}:{version:(240&e[t+6])>>4,variant:l((224&e[t+8])>>5),format:"binary"}}throw(0,o.newError)("Unknown type of uuid","ERR_UNKNOWN_UUID_TYPE")}static parse(e){const t=Buffer.allocUnsafe(16);let n=0;for(let r=0;r<16;r++)t[r]=s[e[n++]+e[n++]],3!==r&&5!==r&&7!==r&&9!==r||(n+=1);return t}}function l(e){switch(e){case 0:case 1:case 3:return"ncs";case 4:case 5:return"rfc4122";case 6:return"microsoft";default:return"future"}}var u;t.UUID=c,c.OID=c.parse("6ba7b812-9dad-11d1-80b4-00c04fd430c8"),function(e){e[e.ASCII=0]="ASCII",e[e.BINARY=1]="BINARY",e[e.OBJECT=2]="OBJECT"}(u||(u={})),t.nil=new c("00000000-0000-0000-0000-000000000000")},98:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseXml=t.XElement=void 0;const r=n(6165),o=n(2283);class i{constructor(e){if(this.name=e,this.value="",this.attributes=null,this.isCData=!1,this.elements=null,!e)throw(0,o.newError)("Element name cannot be empty","ERR_XML_ELEMENT_NAME_EMPTY");if(!function(e){return s.test(e)}(e))throw(0,o.newError)(`Invalid element name: ${e}`,"ERR_XML_ELEMENT_INVALID_NAME")}attribute(e){const t=null===this.attributes?null:this.attributes[e];if(null==t)throw(0,o.newError)(`No attribute "${e}"`,"ERR_XML_MISSED_ATTRIBUTE");return t}removeAttribute(e){null!==this.attributes&&delete this.attributes[e]}element(e,t=!1,n=null){const r=this.elementOrNull(e,t);if(null===r)throw(0,o.newError)(n||`No element "${e}"`,"ERR_XML_MISSED_ELEMENT");return r}elementOrNull(e,t=!1){if(null===this.elements)return null;for(const n of this.elements)if(a(n,e,t))return n;return null}getElements(e,t=!1){return null===this.elements?[]:this.elements.filter((n=>a(n,e,t)))}elementValueOrEmpty(e,t=!1){const n=this.elementOrNull(e,t);return null===n?"":n.value}}t.XElement=i;const s=new RegExp(/^[A-Za-z_][:A-Za-z0-9_-]*$/i);function a(e,t,n){const r=e.name;return r===t||!0===n&&r.length===t.length&&r.toLowerCase()===t.toLowerCase()}t.parseXml=function(e){let t=null;const n=r.parser(!0,{}),o=[];return n.onopentag=e=>{const n=new i(e.name);if(n.attributes=e.attributes,null===t)t=n;else{const e=o[o.length-1];null==e.elements&&(e.elements=[]),e.elements.push(n)}o.push(n)},n.onclosetag=()=>{o.pop()},n.ontext=e=>{o.length>0&&(o[o.length-1].value=e)},n.oncdata=e=>{const t=o[o.length-1];t.value=e,t.isCData=!0},n.onerror=e=>{throw e},n.write(e),t}},9163:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(9942)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},9942:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,i,s=null;function a(...e){if(!a.enabled)return;const r=a,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";s++;const i=t.formatters[o];if("function"==typeof i){const t=e[s];n=i.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(1159),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},5623:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(9163):e.exports=n(1047)},1047:(e,t,n)=>{const r=n(2018),o=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(...e){return process.stderr.write(o.format(...e)+"\n")},t.formatArgs=function(n){const{namespace:r,useColors:o}=this;if(o){const t=this.color,o="[3"+(t<8?t:"8;5;"+t),i=`  ${o};1m${r} [0m`;n[0]=i+n[0].split("\n").join("\n"+i),n.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(process.stderr.fd)},t.destroy=o.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(6809);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=n(9942)(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},8546:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,n,c){(c=c||{}).arrayMerge=c.arrayMerge||o,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=r;var l=Array.isArray(n);return l===Array.isArray(e)?l?c.arrayMerge(e,n,c):function(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(s(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}(e,n,c):r(n,c)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return a(e,n,t)}),{})};var c=a;e.exports=c},2995:(e,t,n)=>{var r=n(6928),o=n(5317).spawn,i=n(6063)("electron-squirrel-startup"),s=n(4157).app,a=function(e,t){var n=r.resolve(r.dirname(process.execPath),"..","Update.exe");i("Spawning `%s` with args `%s`",n,e),o(n,e,{detached:!0}).on("close",t)};e.exports=function(){if("win32"===process.platform){var e=process.argv[1];i("processing squirrel command `%s`",e);var t=r.basename(process.execPath);if("--squirrel-install"===e||"--squirrel-updated"===e)return a(["--createShortcut="+t],s.quit),!0;if("--squirrel-uninstall"===e)return a(["--removeShortcut="+t],s.quit),!0;if("--squirrel-obsolete"===e)return s.quit(),!0}return!1}()},1491:(e,t,n)=>{function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(7584)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())},7584:(e,t,n)=>{var r;function o(e){function n(){if(n.enabled){var e=n,o=+new Date,i=o-(r||o);e.diff=i,e.prev=r,e.curr=o,r=o;for(var s=new Array(arguments.length),a=0;a<s.length;a++)s[a]=arguments[a];s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");var c=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;c++;var o=t.formatters[r];if("function"==typeof o){var i=s[c];n=o.call(e,i),s.splice(c,1),c--}return n})),t.formatArgs.call(e,s),(n.log||t.log||console.log.bind(console)).apply(e,s)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}(t=e.exports=o.debug=o.default=o).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,o=0;o<r;o++)n[o]&&("-"===(e=n[o].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(5567),t.names=[],t.skips=[],t.formatters={}},6063:(e,t,n)=>{"undefined"!=typeof process&&"renderer"===process.type?e.exports=n(1491):e.exports=n(7487)},7487:(e,t,n)=>{var r=n(2018),o=n(9023);(t=e.exports=n(7584)).init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(){return s.write(o.format.apply(o,arguments)+"\n")},t.formatArgs=function(e){var n=this.namespace;if(this.useColors){var r=this.color,o="  [3"+r+";1m"+n+" [0m";e[0]=o+e[0].split("\n").join("\n"+o),e.push("[3"+r+"m+"+t.humanize(this.diff)+"[0m")}else e[0]=(new Date).toUTCString()+" "+n+" "+e[0]},t.save=function(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e},t.load=a,t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(i)},t.colors=[6,2,3,4,5,1],t.inspectOpts=Object.keys(process.env).filter((function(e){return/^debug_/i.test(e)})).reduce((function(e,t){var n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{});var i=parseInt(process.env.DEBUG_FD,10)||2;1!==i&&2!==i&&o.deprecate((function(){}),"except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")();var s=1===i?process.stdout:2===i?process.stderr:function(e){var t;switch(process.binding("tty_wrap").guessHandleType(e)){case"TTY":(t=new r.WriteStream(e))._type="tty",t._handle&&t._handle.unref&&t._handle.unref();break;case"FILE":(t=new(n(9896).SyncWriteStream)(e,{autoClose:!1}))._type="fs";break;case"PIPE":case"TCP":(t=new(n(9278).Socket)({fd:e,readable:!1,writable:!0})).readable=!1,t.read=null,t._type="pipe",t._handle&&t._handle.unref&&t._handle.unref();break;default:throw new Error("Implement me. Unknown stream file type!")}return t.fd=e,t._isStdio=!0,t}(i);function a(){return process.env.DEBUG}t.formatters.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},t.formatters.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)},t.enable(a())},5567:e=>{var t=1e3,n=60*t,r=60*n,o=24*r;function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var a,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(i){var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===c&&!1===isNaN(e))return s.long?i(a=e,o,"day")||i(a,r,"hour")||i(a,n,"minute")||i(a,t,"second")||a+" ms":function(e){return e>=o?Math.round(e/o)+"d":e>=r?Math.round(e/r)+"h":e>=n?Math.round(e/n)+"m":e>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAppCacheDir=void 0;const r=n(6928),o=n(857);t.getAppCacheDir=function(){const e=(0,o.homedir)();let t;return t="win32"===process.platform?process.env.LOCALAPPDATA||r.join(e,"AppData","Local"):"darwin"===process.platform?r.join(e,"Library","Caches"):process.env.XDG_CACHE_HOME||r.join(e,".cache"),t}},9619:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppImageUpdater=void 0;const r=n(2283),o=n(5317),i=n(115),s=n(9896),a=n(6928),c=n(6216),l=n(7846),u=n(4625),d=n(5414);class g extends c.BaseUpdater{constructor(e,t){super(e,t)}isUpdaterActive(){return null==process.env.APPIMAGE?(null==process.env.SNAP?this._logger.warn("APPIMAGE env is not defined, current application is not an AppImage"):this._logger.info("SNAP env is defined, updater is disabled"),!1):super.isUpdaterActive()}doDownloadUpdate(e){const t=e.updateInfoAndProvider.provider,n=(0,d.findFile)(t.resolveFiles(e.updateInfoAndProvider.info),"AppImage",["rpm","deb"]);return this.executeDownload({fileExtension:"AppImage",fileInfo:n,downloadUpdateOptions:e,task:async(o,s)=>{const a=process.env.APPIMAGE;if(null==a)throw(0,r.newError)("APPIMAGE env is not defined","ERR_UPDATER_OLD_FILE_NOT_FOUND");let c=!1;try{const r={newUrl:n.url,oldFile:a,logger:this._logger,newFile:o,isUseMultipleRangeRequest:t.isUseMultipleRangeRequest,requestHeaders:e.requestHeaders,cancellationToken:e.cancellationToken};this.listenerCount(u.DOWNLOAD_PROGRESS)>0&&(r.onProgress=e=>this.emit(u.DOWNLOAD_PROGRESS,e)),await new l.FileWithEmbeddedBlockMapDifferentialDownloader(n.info,this.httpExecutor,r).download()}catch(e){this._logger.error(`Cannot download differentially, fallback to full download: ${e.stack||e}`),c="linux"===process.platform}c&&await this.httpExecutor.download(n.url,o,s),await(0,i.chmod)(o,493)}})}doInstall(e){const t=process.env.APPIMAGE;if(null==t)throw(0,r.newError)("APPIMAGE env is not defined","ERR_UPDATER_OLD_FILE_NOT_FOUND");let n;(0,s.unlinkSync)(t);const i=a.basename(t);n=a.basename(e.installerPath)!==i&&/\d+\.\d+\.\d+/.test(i)?a.join(a.dirname(t),a.basename(e.installerPath)):t,(0,o.execFileSync)("mv",["-f",e.installerPath,n]),n!==t&&this.emit("appimage-filename-updated",n);const c={...process.env,APPIMAGE_SILENT_INSTALL:"true"};return e.isForceRunAfter?this.spawnLog(n,[],c):(c.APPIMAGE_EXIT_AFTER_INSTALL="true",(0,o.execFileSync)(n,[],{env:c})),!0}}t.AppImageUpdater=g},6064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoOpLogger=t.AppUpdater=void 0;const r=n(2283),o=n(6982),i=n(4434),s=n(115),a=n(7040),c=n(3407),l=n(6928),u=n(6659),d=n(7660),g=n(3200),p=n(5931),h=n(2747),m=n(4625),f=n(4679);class I extends i.EventEmitter{get channel(){return this._channel}set channel(e){if(null!=this._channel){if("string"!=typeof e)throw(0,r.newError)(`Channel must be a string, but got: ${e}`,"ERR_UPDATER_INVALID_CHANNEL");if(0===e.length)throw(0,r.newError)("Channel must be not an empty string","ERR_UPDATER_INVALID_CHANNEL")}this._channel=e,this.allowDowngrade=!0}addAuthHeader(e){this.requestHeaders=Object.assign({},this.requestHeaders,{authorization:e})}get netSession(){return(0,p.getNetSession)()}get logger(){return this._logger}set logger(e){this._logger=null==e?new b:e}set updateConfigPath(e){this.clientPromise=null,this._appUpdateConfigPath=e,this.configOnDisk=new c.Lazy((()=>this.loadUpdateConfig()))}constructor(e,t){super(),this.autoDownload=!0,this.autoInstallOnAppQuit=!0,this.autoRunAppAfterInstall=!0,this.allowPrerelease=!1,this.fullChangelog=!1,this.allowDowngrade=!1,this.disableWebInstaller=!1,this.disableDifferentialDownload=!1,this.forceDevUpdateConfig=!1,this._channel=null,this.downloadedUpdateHelper=null,this.requestHeaders=null,this._logger=console,this.signals=new m.UpdaterSignal(this),this._appUpdateConfigPath=null,this.clientPromise=null,this.stagingUserIdPromise=new c.Lazy((()=>this.getOrCreateStagingUserId())),this.configOnDisk=new c.Lazy((()=>this.loadUpdateConfig())),this.checkForUpdatesPromise=null,this.updateInfoAndProvider=null,this._testOnlyOptions=null,this.on("error",(e=>{this._logger.error(`Error: ${e.stack||e.message}`)})),null==t?(this.app=new g.ElectronAppAdapter,this.httpExecutor=new p.ElectronHttpExecutor(((e,t)=>this.emit("login",e,t)))):(this.app=t,this.httpExecutor=null);const n=this.app.version,o=(0,u.parse)(n);if(null==o)throw(0,r.newError)(`App version is not a valid semver version: "${n}"`,"ERR_UPDATER_INVALID_VERSION");this.currentVersion=o,this.allowPrerelease=function(e){const t=(0,u.prerelease)(e);return null!=t&&t.length>0}(o),null!=e&&(this.setFeedURL(e),"string"!=typeof e&&e.requestHeaders&&(this.requestHeaders=e.requestHeaders))}getFeedURL(){return"Deprecated. Do not use it."}setFeedURL(e){const t=this.createProviderRuntimeOptions();let n;n="string"==typeof e?new h.GenericProvider({provider:"generic",url:e},this,{...t,isUseMultipleRangeRequest:(0,f.isUrlProbablySupportMultiRangeRequests)(e)}):(0,f.createClient)(e,this,t),this.clientPromise=Promise.resolve(n)}checkForUpdates(){if(!this.isUpdaterActive())return Promise.resolve(null);let e=this.checkForUpdatesPromise;if(null!=e)return this._logger.info("Checking for update (already in progress)"),e;const t=()=>this.checkForUpdatesPromise=null;return this._logger.info("Checking for update"),e=this.doCheckForUpdates().then((e=>(t(),e))).catch((e=>{throw t(),this.emit("error",e,`Cannot check for updates: ${(e.stack||e).toString()}`),e})),this.checkForUpdatesPromise=e,e}isUpdaterActive(){return!(!this.app.isPackaged&&!this.forceDevUpdateConfig&&(this._logger.info("Skip checkForUpdates because application is not packed and dev update config is not forced"),1))}checkForUpdatesAndNotify(e){return this.checkForUpdates().then((t=>(null==t?void 0:t.downloadPromise)?(t.downloadPromise.then((()=>{const r=I.formatDownloadNotification(t.updateInfo.version,this.app.name,e);new(n(4157).Notification)(r).show()})),t):(null!=this._logger.debug&&this._logger.debug("checkForUpdatesAndNotify called, downloadPromise is null"),t)))}static formatDownloadNotification(e,t,n){return null==n&&(n={title:"A new update is ready to install",body:"{appName} version {version} has been downloaded and will be automatically installed on exit"}),{title:n.title.replace("{appName}",t).replace("{version}",e),body:n.body.replace("{appName}",t).replace("{version}",e)}}async isStagingMatch(e){const t=e.stagingPercentage;let n=t;if(null==n)return!0;if(n=parseInt(n,10),isNaN(n))return this._logger.warn(`Staging percentage is NaN: ${t}`),!0;n/=100;const o=await this.stagingUserIdPromise.value,i=r.UUID.parse(o).readUInt32BE(12)/4294967295;return this._logger.info(`Staging percentage: ${n}, percentage: ${i}, user id: ${o}`),i<n}computeFinalHeaders(e){return null!=this.requestHeaders&&Object.assign(e,this.requestHeaders),e}async isUpdateAvailable(e){const t=(0,u.parse)(e.version);if(null==t)throw(0,r.newError)(`This file could not be downloaded, or the latest version (from update server) does not have a valid semver version: "${e.version}"`,"ERR_UPDATER_INVALID_VERSION");const n=this.currentVersion;if((0,u.eq)(t,n))return!1;if(!await this.isStagingMatch(e))return!1;const o=(0,u.gt)(t,n),i=(0,u.lt)(t,n);return!!o||this.allowDowngrade&&i}async getUpdateInfoAndProvider(){await this.app.whenReady(),null==this.clientPromise&&(this.clientPromise=this.configOnDisk.value.then((e=>(0,f.createClient)(e,this,this.createProviderRuntimeOptions()))));const e=await this.clientPromise,t=await this.stagingUserIdPromise.value;return e.setRequestHeaders(this.computeFinalHeaders({"x-user-staging-id":t})),{info:await e.getLatestVersion(),provider:e}}createProviderRuntimeOptions(){return{isUseMultipleRangeRequest:!0,platform:null==this._testOnlyOptions?process.platform:this._testOnlyOptions.platform,executor:this.httpExecutor}}async doCheckForUpdates(){this.emit("checking-for-update");const e=await this.getUpdateInfoAndProvider(),t=e.info;if(!await this.isUpdateAvailable(t))return this._logger.info(`Update for version ${this.currentVersion} is not available (latest version: ${t.version}, downgrade is ${this.allowDowngrade?"allowed":"disallowed"}).`),this.emit("update-not-available",t),{versionInfo:t,updateInfo:t};this.updateInfoAndProvider=e,this.onUpdateAvailable(t);const n=new r.CancellationToken;return{versionInfo:t,updateInfo:t,cancellationToken:n,downloadPromise:this.autoDownload?this.downloadUpdate(n):null}}onUpdateAvailable(e){this._logger.info(`Found version ${e.version} (url: ${(0,r.asArray)(e.files).map((e=>e.url)).join(", ")})`),this.emit("update-available",e)}downloadUpdate(e=new r.CancellationToken){const t=this.updateInfoAndProvider;if(null==t){const e=new Error("Please check update first");return this.dispatchError(e),Promise.reject(e)}this._logger.info(`Downloading update from ${(0,r.asArray)(t.info.files).map((e=>e.url)).join(", ")}`);const n=e=>{if(!(e instanceof r.CancellationError))try{this.dispatchError(e)}catch(e){this._logger.warn(`Cannot dispatch error event: ${e.stack||e}`)}return e};try{return this.doDownloadUpdate({updateInfoAndProvider:t,requestHeaders:this.computeRequestHeaders(t.provider),cancellationToken:e,disableWebInstaller:this.disableWebInstaller,disableDifferentialDownload:this.disableDifferentialDownload}).catch((e=>{throw n(e)}))}catch(e){return Promise.reject(n(e))}}dispatchError(e){this.emit("error",e,(e.stack||e).toString())}dispatchUpdateDownloaded(e){this.emit(m.UPDATE_DOWNLOADED,e)}async loadUpdateConfig(){return null==this._appUpdateConfigPath&&(this._appUpdateConfigPath=this.app.appUpdateConfigPath),(0,a.load)(await(0,s.readFile)(this._appUpdateConfigPath,"utf-8"))}computeRequestHeaders(e){const t=e.fileExtraDownloadHeaders;if(null!=t){const e=this.requestHeaders;return null==e?t:{...t,...e}}return this.computeFinalHeaders({accept:"*/*"})}async getOrCreateStagingUserId(){const e=l.join(this.app.userDataPath,".updaterId");try{const t=await(0,s.readFile)(e,"utf-8");if(r.UUID.check(t))return t;this._logger.warn(`Staging user id file exists, but content was invalid: ${t}`)}catch(e){"ENOENT"!==e.code&&this._logger.warn(`Couldn't read staging user ID, creating a blank one: ${e}`)}const t=r.UUID.v5((0,o.randomBytes)(4096),r.UUID.OID);this._logger.info(`Generated new staging user ID: ${t}`);try{await(0,s.outputFile)(e,t)}catch(e){this._logger.warn(`Couldn't write out staging user ID: ${e}`)}return t}get isAddNoCacheQuery(){const e=this.requestHeaders;if(null==e)return!0;for(const t of Object.keys(e)){const e=t.toLowerCase();if("authorization"===e||"private-token"===e)return!1}return!0}async getOrCreateDownloadHelper(){let e=this.downloadedUpdateHelper;if(null==e){const t=(await this.configOnDisk.value).updaterCacheDirName,n=this._logger;null==t&&n.error("updaterCacheDirName is not specified in app-update.yml Was app build using at least electron-builder 20.34.0?");const r=l.join(this.app.baseCachePath,t||this.app.name);null!=n.debug&&n.debug(`updater cache dir: ${r}`),e=new d.DownloadedUpdateHelper(r),this.downloadedUpdateHelper=e}return e}async executeDownload(e){const t=e.fileInfo,n={headers:e.downloadUpdateOptions.requestHeaders,cancellationToken:e.downloadUpdateOptions.cancellationToken,sha2:t.info.sha2,sha512:t.info.sha512};this.listenerCount(m.DOWNLOAD_PROGRESS)>0&&(n.onProgress=e=>this.emit(m.DOWNLOAD_PROGRESS,e));const o=e.downloadUpdateOptions.updateInfoAndProvider.info,i=o.version,a=t.packageInfo,c=await this.getOrCreateDownloadHelper(),u=c.cacheDirForPendingUpdate;await(0,s.mkdir)(u,{recursive:!0});const g=function(){const t=decodeURIComponent(e.fileInfo.url.pathname);return t.endsWith(`.${e.fileExtension}`)?l.basename(t):e.fileInfo.info.url}();let p=l.join(u,g);const h=null==a?null:l.join(u,`package-${i}${l.extname(a.path)||".7z"}`),f=async n=>(await c.setDownloadedFile(p,h,o,t,g,n),await e.done({...o,downloadedFile:p}),null==h?[p]:[p,h]),I=this._logger,b=await c.validateDownloadedPath(p,o,t,I);if(null!=b)return p=b,await f(!1);const C=async()=>(await c.clear().catch((()=>{})),await(0,s.unlink)(p).catch((()=>{}))),y=await(0,d.createTempUpdateFile)(`temp-${g}`,u,I);try{await e.task(y,n,h,C),await(0,s.rename)(y,p)}catch(e){throw await C(),e instanceof r.CancellationError&&(I.info("cancelled"),this.emit("update-cancelled",o)),e}return I.info(`New version ${i} has been downloaded to ${p}`),await f(!0)}}t.AppUpdater=I;class b{info(e){}warn(e){}error(e){}}t.NoOpLogger=b},6216:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseUpdater=void 0;const r=n(5317),o=n(6064);class i extends o.AppUpdater{constructor(e,t){super(e,t),this.quitAndInstallCalled=!1,this.quitHandlerAdded=!1}quitAndInstall(e=!1,t=!1){this._logger.info("Install on explicit quitAndInstall"),this.install(e,e?t:this.autoRunAppAfterInstall)?setImmediate((()=>{n(4157).autoUpdater.emit("before-quit-for-update"),this.app.quit()})):this.quitAndInstallCalled=!1}executeDownload(e){return super.executeDownload({...e,done:e=>(this.dispatchUpdateDownloaded(e),this.addQuitHandler(),Promise.resolve())})}install(e=!1,t=!1){if(this.quitAndInstallCalled)return this._logger.warn("install call ignored: quitAndInstallCalled is set to true"),!1;const n=this.downloadedUpdateHelper,r=null==n?null:n.file,o=null==n?null:n.downloadedFileInfo;if(null==r||null==o)return this.dispatchError(new Error("No valid update available, can't quit and install")),!1;this.quitAndInstallCalled=!0;try{return this._logger.info(`Install: isSilent: ${e}, isForceRunAfter: ${t}`),this.doInstall({installerPath:r,isSilent:e,isForceRunAfter:t,isAdminRightsRequired:o.isAdminRightsRequired})}catch(e){return this.dispatchError(e),!1}}addQuitHandler(){!this.quitHandlerAdded&&this.autoInstallOnAppQuit&&(this.quitHandlerAdded=!0,this.app.onQuit((e=>{this.quitAndInstallCalled?this._logger.info("Update installer has already been triggered. Quitting application."):this.autoInstallOnAppQuit?0===e?(this._logger.info("Auto install update on quit"),this.install(!0,!1)):this._logger.info(`Update will be not installed on quit because application is quitting with exit code ${e}`):this._logger.info("Update will not be installed on quit because autoInstallOnAppQuit is set to false.")})))}wrapSudo(){const{name:e}=this.app,t=`"${e} would like to update"`,n=this.spawnSyncLog("which gksudo || which kdesudo || which pkexec || which beesu"),r=[n];return/kdesudo/i.test(n)?(r.push("--comment",t),r.push("-c")):/gksudo/i.test(n)?r.push("--message",t):/pkexec/i.test(n)&&r.push("--disable-internal-agent"),r.join(" ")}spawnSyncLog(e,t=[],n={}){return this._logger.info(`Executing: ${e} with args: ${t}`),(0,r.spawnSync)(e,t,{env:{...process.env,...n},encoding:"utf-8",shell:!0}).stdout.trim()}async spawnLog(e,t=[],n=void 0,o="ignore"){return this._logger.info(`Executing: ${e} with args: ${t}`),new Promise(((i,s)=>{try{const a={stdio:o,env:n,detached:!0},c=(0,r.spawn)(e,t,a);c.on("error",(e=>{s(e)})),c.unref(),void 0!==c.pid&&i(!0)}catch(e){s(e)}}))}}t.BaseUpdater=i},8704:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebUpdater=void 0;const r=n(6216),o=n(4625),i=n(5414);class s extends r.BaseUpdater{constructor(e,t){super(e,t)}doDownloadUpdate(e){const t=e.updateInfoAndProvider.provider,n=(0,i.findFile)(t.resolveFiles(e.updateInfoAndProvider.info),"deb",["AppImage","rpm"]);return this.executeDownload({fileExtension:"deb",fileInfo:n,downloadUpdateOptions:e,task:async(e,t)=>{this.listenerCount(o.DOWNLOAD_PROGRESS)>0&&(t.onProgress=e=>this.emit(o.DOWNLOAD_PROGRESS,e)),await this.httpExecutor.download(n.url,e,t)}})}doInstall(e){const t=this.wrapSudo(),n=/pkexec/i.test(t)?"":'"',r=["dpkg","-i",e.installerPath,"||","apt-get","install","-f","-y"];return this.spawnSyncLog(t,[`${n}/bin/bash`,"-c",`'${r.join(" ")}'${n}`]),e.isForceRunAfter&&this.app.relaunch(),!0}}t.DebUpdater=s},7660:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTempUpdateFile=t.DownloadedUpdateHelper=void 0;const r=n(6982),o=n(9896),i=n(328),s=n(115),a=n(6928);t.DownloadedUpdateHelper=class{constructor(e){this.cacheDir=e,this._file=null,this._packageFile=null,this.versionInfo=null,this.fileInfo=null,this._downloadedFileInfo=null}get downloadedFileInfo(){return this._downloadedFileInfo}get file(){return this._file}get packageFile(){return this._packageFile}get cacheDirForPendingUpdate(){return a.join(this.cacheDir,"pending")}async validateDownloadedPath(e,t,n,r){if(null!=this.versionInfo&&this.file===e&&null!=this.fileInfo)return i(this.versionInfo,t)&&i(this.fileInfo.info,n.info)&&await(0,s.pathExists)(e)?e:null;const o=await this.getValidCachedUpdateFile(n,r);return null===o?null:(r.info(`Update has already been downloaded to ${e}).`),this._file=o,o)}async setDownloadedFile(e,t,n,r,o,i){this._file=e,this._packageFile=t,this.versionInfo=n,this.fileInfo=r,this._downloadedFileInfo={fileName:o,sha512:r.info.sha512,isAdminRightsRequired:!0===r.info.isAdminRightsRequired},i&&await(0,s.outputJson)(this.getUpdateInfoFile(),this._downloadedFileInfo)}async clear(){this._file=null,this._packageFile=null,this.versionInfo=null,this.fileInfo=null,await this.cleanCacheDirForPendingUpdate()}async cleanCacheDirForPendingUpdate(){try{await(0,s.emptyDir)(this.cacheDirForPendingUpdate)}catch(e){}}async getValidCachedUpdateFile(e,t){var n;const i=this.getUpdateInfoFile();if(!await(0,s.pathExists)(i))return null;let c;try{c=await(0,s.readJson)(i)}catch(e){let n="No cached update info available";return"ENOENT"!==e.code&&(await this.cleanCacheDirForPendingUpdate(),n+=` (error on read: ${e.message})`),t.info(n),null}if(null===(n=null!==(null==c?void 0:c.fileName))||void 0===n||!n)return t.warn("Cached update info is corrupted: no fileName, directory for cached update will be cleaned"),await this.cleanCacheDirForPendingUpdate(),null;if(e.info.sha512!==c.sha512)return t.info(`Cached update sha512 checksum doesn't match the latest available update. New update must be downloaded. Cached: ${c.sha512}, expected: ${e.info.sha512}. Directory for cached update will be cleaned`),await this.cleanCacheDirForPendingUpdate(),null;const l=a.join(this.cacheDirForPendingUpdate,c.fileName);if(!await(0,s.pathExists)(l))return t.info("Cached update file doesn't exist"),null;const u=await function(e,t="sha512",n="base64",i){return new Promise(((s,a)=>{const c=(0,r.createHash)(t);c.on("error",a).setEncoding(n),(0,o.createReadStream)(e,{...i,highWaterMark:1048576}).on("error",a).on("end",(()=>{c.end(),s(c.read())})).pipe(c,{end:!1})}))}(l);return e.info.sha512!==u?(t.warn(`Sha512 checksum doesn't match the latest available update. New update must be downloaded. Cached: ${u}, expected: ${e.info.sha512}`),await this.cleanCacheDirForPendingUpdate(),null):(this._downloadedFileInfo=c,l)}getUpdateInfoFile(){return a.join(this.cacheDirForPendingUpdate,"update-info.json")}},t.createTempUpdateFile=async function(e,t,n){let r=0,o=a.join(t,e);for(let i=0;i<3;i++)try{return await(0,s.unlink)(o),o}catch(i){if("ENOENT"===i.code)return o;n.warn(`Error on remove temp update file: ${i}`),o=a.join(t,`${r++}-${e}`)}return o}},3200:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronAppAdapter=void 0;const r=n(6928),o=n(4226);t.ElectronAppAdapter=class{constructor(e=n(4157).app){this.app=e}whenReady(){return this.app.whenReady()}get version(){return this.app.getVersion()}get name(){return this.app.getName()}get isPackaged(){return!0===this.app.isPackaged}get appUpdateConfigPath(){return this.isPackaged?r.join(process.resourcesPath,"app-update.yml"):r.join(this.app.getAppPath(),"dev-app-update.yml")}get userDataPath(){return this.app.getPath("userData")}get baseCachePath(){return(0,o.getAppCacheDir)()}quit(){this.app.quit()}relaunch(){this.app.relaunch()}onQuit(e){this.app.once("quit",((t,n)=>e(n)))}}},5136:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MacUpdater=void 0;const r=n(2283),o=n(115),i=n(9896),s=n(8611),a=n(6064),c=n(5414),l=n(5317),u=n(6982);class d extends a.AppUpdater{constructor(e,t){super(e,t),this.nativeUpdater=n(4157).autoUpdater,this.squirrelDownloadedUpdate=!1,this.nativeUpdater.on("error",(e=>{this._logger.warn(e),this.emit("error",e)})),this.nativeUpdater.on("update-downloaded",(()=>{this.squirrelDownloadedUpdate=!0}))}debug(e){null!=this._logger.debug&&this._logger.debug(e)}async doDownloadUpdate(e){let t=e.updateInfoAndProvider.provider.resolveFiles(e.updateInfoAndProvider.info);const n=this._logger,o="sysctl.proc_translated";let i=!1;try{this.debug("Checking for macOS Rosetta environment"),i=(0,l.execFileSync)("sysctl",[o],{encoding:"utf8"}).includes(`${o}: 1`),n.info(`Checked for macOS Rosetta environment (isRosetta=${i})`)}catch(e){n.warn(`sysctl shell command to check for macOS Rosetta environment failed: ${e}`)}let s=!1;try{this.debug("Checking for arm64 in uname");const e=(0,l.execFileSync)("uname",["-a"],{encoding:"utf8"}).includes("ARM");n.info(`Checked 'uname -a': arm64=${e}`),s=s||e}catch(e){n.warn(`uname shell command to check for arm64 failed: ${e}`)}s=s||"arm64"===process.arch||i;const a=e=>{var t;return e.url.pathname.includes("arm64")||(null===(t=e.info.url)||void 0===t?void 0:t.includes("arm64"))};t=s&&t.some(a)?t.filter((e=>s===a(e))):t.filter((e=>!a(e)));const u=(0,c.findFile)(t,"zip",["pkg","dmg"]);if(null==u)throw(0,r.newError)(`ZIP file not provided: ${(0,r.safeStringifyJson)(t)}`,"ERR_UPDATER_ZIP_FILE_NOT_FOUND");return this.executeDownload({fileExtension:"zip",fileInfo:u,downloadUpdateOptions:e,task:(e,t)=>this.httpExecutor.download(u.url,e,t),done:e=>this.updateDownloaded(u,e)})}async updateDownloaded(e,t){var n,r;const a=t.downloadedFile,c=null!==(n=e.info.size)&&void 0!==n?n:(await(0,o.stat)(a)).size,l=this._logger,d=`fileToProxy=${e.url.href}`;this.debug(`Creating proxy server for native Squirrel.Mac (${d})`),null===(r=this.server)||void 0===r||r.close(),this.server=(0,s.createServer)(),this.debug(`Proxy server for native Squirrel.Mac is created (${d})`),this.server.on("close",(()=>{l.info(`Proxy server for native Squirrel.Mac is closed (${d})`)}));const g=e=>{const t=e.address();return"string"==typeof t?t:`http://127.0.0.1:${null==t?void 0:t.port}`};return await new Promise(((e,n)=>{const r=(0,u.randomBytes)(64).toString("base64").replace(/\//g,"_").replace(/\+/g,"-"),o=Buffer.from(`autoupdater:${r}`,"ascii"),s=`/${(0,u.randomBytes)(64).toString("hex")}.zip`;this.server.on("request",((t,o)=>{const u=t.url;if(l.info(`${u} requested`),"/"===u){if(!t.headers.authorization||-1===t.headers.authorization.indexOf("Basic "))return o.statusCode=401,o.statusMessage="Invalid Authentication Credentials",o.end(),void l.warn("No authenthication info");const e=t.headers.authorization.split(" ")[1],n=Buffer.from(e,"base64").toString("ascii"),[i,a]=n.split(":");if("autoupdater"!==i||a!==r)return o.statusCode=401,o.statusMessage="Invalid Authentication Credentials",o.end(),void l.warn("Invalid authenthication credentials");const c=Buffer.from(`{ "url": "${g(this.server)}${s}" }`);return o.writeHead(200,{"Content-Type":"application/json","Content-Length":c.length}),void o.end(c)}if(!u.startsWith(s))return l.warn(`${u} requested, but not supported`),o.writeHead(404),void o.end();l.info(`${s} requested by Squirrel.Mac, pipe ${a}`);let d=!1;o.on("finish",(()=>{d||(this.nativeUpdater.removeListener("error",n),e([]))}));const p=(0,i.createReadStream)(a);p.on("error",(e=>{try{o.end()}catch(e){l.warn(`cannot end response: ${e}`)}d=!0,this.nativeUpdater.removeListener("error",n),n(new Error(`Cannot pipe "${a}": ${e}`))})),o.writeHead(200,{"Content-Type":"application/zip","Content-Length":c}),p.pipe(o)})),this.debug(`Proxy server for native Squirrel.Mac is starting to listen (${d})`),this.server.listen(0,"127.0.0.1",(()=>{this.debug(`Proxy server for native Squirrel.Mac is listening (address=${g(this.server)}, ${d})`),this.nativeUpdater.setFeedURL({url:g(this.server),headers:{"Cache-Control":"no-cache",Authorization:`Basic ${o.toString("base64")}`}}),this.dispatchUpdateDownloaded(t),this.autoInstallOnAppQuit?(this.nativeUpdater.once("error",n),this.nativeUpdater.checkForUpdates()):e([])}))}))}quitAndInstall(){var e;this.squirrelDownloadedUpdate?(this.nativeUpdater.quitAndInstall(),null===(e=this.server)||void 0===e||e.close()):(this.nativeUpdater.on("update-downloaded",(()=>{var e;this.nativeUpdater.quitAndInstall(),null===(e=this.server)||void 0===e||e.close()})),this.autoInstallOnAppQuit||this.nativeUpdater.checkForUpdates())}}t.MacUpdater=d},5778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NsisUpdater=void 0;const r=n(2283),o=n(6928),i=n(6216),s=n(7846),a=n(2406),c=n(4625),l=n(5888),u=n(5414),d=n(115),g=n(5916),p=n(7016),h=n(3106);class m extends i.BaseUpdater{constructor(e,t){super(e,t),this._verifyUpdateCodeSignature=(e,t)=>(0,g.verifySignature)(e,t,this._logger)}get verifyUpdateCodeSignature(){return this._verifyUpdateCodeSignature}set verifyUpdateCodeSignature(e){e&&(this._verifyUpdateCodeSignature=e)}doDownloadUpdate(e){const t=e.updateInfoAndProvider.provider,n=(0,u.findFile)(t.resolveFiles(e.updateInfoAndProvider.info),"exe");return this.executeDownload({fileExtension:"exe",downloadUpdateOptions:e,fileInfo:n,task:async(o,i,s,a)=>{const c=n.packageInfo,l=null!=c&&null!=s;if(l&&e.disableWebInstaller)throw(0,r.newError)(`Unable to download new version ${e.updateInfoAndProvider.info.version}. Web Installers are disabled`,"ERR_UPDATER_WEB_INSTALLER_DISABLED");l||e.disableWebInstaller||this._logger.warn("disableWebInstaller is set to false, you should set it to true if you do not plan on using a web installer. This will default to true in a future version."),(l||e.disableDifferentialDownload||await this.differentialDownloadInstaller(n,e,o,t))&&await this.httpExecutor.download(n.url,o,i);const u=await this.verifySignature(o);if(null!=u)throw await a(),(0,r.newError)(`New version ${e.updateInfoAndProvider.info.version} is not signed by the application owner: ${u}`,"ERR_UPDATER_INVALID_SIGNATURE");if(l&&await this.differentialDownloadWebPackage(e,c,s,t))try{await this.httpExecutor.download(new p.URL(c.path),s,{headers:e.requestHeaders,cancellationToken:e.cancellationToken,sha512:c.sha512})}catch(e){try{await(0,d.unlink)(s)}catch(e){}throw e}}})}async verifySignature(e){let t;try{if(t=(await this.configOnDisk.value).publisherName,null==t)return null}catch(e){if("ENOENT"===e.code)return null;throw e}return await this._verifyUpdateCodeSignature(Array.isArray(t)?t:[t],e)}doInstall(e){const t=["--updated"];e.isSilent&&t.push("/S"),e.isForceRunAfter&&t.push("--force-run"),this.installDirectory&&t.push(`/D=${this.installDirectory}`);const r=null==this.downloadedUpdateHelper?null:this.downloadedUpdateHelper.packageFile;null!=r&&t.push(`--package-file=${r}`);const i=()=>{this.spawnLog(o.join(process.resourcesPath,"elevate.exe"),[e.installerPath].concat(t)).catch((e=>this.dispatchError(e)))};return e.isAdminRightsRequired?(this._logger.info("isAdminRightsRequired is set to true, run installer using elevate.exe"),i(),!0):(this.spawnLog(e.installerPath,t).catch((t=>{const r=t.code;this._logger.info(`Cannot run installer: error code: ${r}, error message: "${t.message}", will be executed again using elevate if EACCES, and will try to use electron.shell.openItem if ENOENT`),"UNKNOWN"===r||"EACCES"===r?i():"ENOENT"===r?n(4157).shell.openPath(e.installerPath).catch((e=>this.dispatchError(e))):this.dispatchError(t)})),!0)}async differentialDownloadInstaller(e,t,n,i){try{if(null!=this._testOnlyOptions&&!this._testOnlyOptions.isUseDifferentialDownload)return!0;const s=(0,l.blockmapFiles)(e.url,this.app.version,t.updateInfoAndProvider.info.version);this._logger.info(`Download block maps (old: "${s[0]}", new: ${s[1]})`);const u=async e=>{const n=await this.httpExecutor.downloadToBuffer(e,{headers:t.requestHeaders,cancellationToken:t.cancellationToken});if(null==n||0===n.length)throw new Error(`Blockmap "${e.href}" is empty`);try{return JSON.parse((0,h.gunzipSync)(n).toString())}catch(t){throw new Error(`Cannot parse blockmap "${e.href}", error: ${t}`)}},d={newUrl:e.url,oldFile:o.join(this.downloadedUpdateHelper.cacheDir,r.CURRENT_APP_INSTALLER_FILE_NAME),logger:this._logger,newFile:n,isUseMultipleRangeRequest:i.isUseMultipleRangeRequest,requestHeaders:t.requestHeaders,cancellationToken:t.cancellationToken};this.listenerCount(c.DOWNLOAD_PROGRESS)>0&&(d.onProgress=e=>this.emit(c.DOWNLOAD_PROGRESS,e));const g=await Promise.all(s.map((e=>u(e))));return await new a.GenericDifferentialDownloader(e.info,this.httpExecutor,d).download(g[0],g[1]),!1}catch(e){if(this._logger.error(`Cannot download differentially, fallback to full download: ${e.stack||e}`),null!=this._testOnlyOptions)throw e;return!0}}async differentialDownloadWebPackage(e,t,n,i){if(null==t.blockMapSize)return!0;try{const a={newUrl:new p.URL(t.path),oldFile:o.join(this.downloadedUpdateHelper.cacheDir,r.CURRENT_APP_PACKAGE_FILE_NAME),logger:this._logger,newFile:n,requestHeaders:this.requestHeaders,isUseMultipleRangeRequest:i.isUseMultipleRangeRequest,cancellationToken:e.cancellationToken};this.listenerCount(c.DOWNLOAD_PROGRESS)>0&&(a.onProgress=e=>this.emit(c.DOWNLOAD_PROGRESS,e)),await new s.FileWithEmbeddedBlockMapDifferentialDownloader(t,this.httpExecutor,a).download()}catch(e){return this._logger.error(`Cannot download differentially, fallback to full download: ${e.stack||e}`),"win32"===process.platform}return!1}}t.NsisUpdater=m},7306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RpmUpdater=void 0;const r=n(6216),o=n(4625),i=n(5414);class s extends r.BaseUpdater{constructor(e,t){super(e,t)}doDownloadUpdate(e){const t=e.updateInfoAndProvider.provider,n=(0,i.findFile)(t.resolveFiles(e.updateInfoAndProvider.info),"rpm",["AppImage","deb"]);return this.executeDownload({fileExtension:"rpm",fileInfo:n,downloadUpdateOptions:e,task:async(e,t)=>{this.listenerCount(o.DOWNLOAD_PROGRESS)>0&&(t.onProgress=e=>this.emit(o.DOWNLOAD_PROGRESS,e)),await this.httpExecutor.download(n.url,e,t)}})}doInstall(e){const t=e.installerPath,n=this.wrapSudo(),r=/pkexec/i.test(n)?"":'"',o=this.spawnSyncLog("which zypper");let i;if(o)i=[o,"remove","-y",`'${this.app.name}'`,";",o,"clean","--all",";",o,"--no-refresh","install","--allow-unsigned-rpm","-y","-f",t];else{const e=this.spawnSyncLog("which dnf || which yum");i=[e,"-y","remove",`'${this.app.name}'`,";",e,"-y","install",t]}return this.spawnSyncLog(n,[`${r}/bin/bash`,"-c",`'${i.join(" ")}'${r}`]),e.isForceRunAfter&&this.app.relaunch(),!0}}t.RpmUpdater=s},4558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataSplitter=t.copyData=void 0;const r=n(2283),o=n(9896),i=n(2203),s=n(491),a=Buffer.from("\r\n\r\n");var c;function l(e,t,n,r,i){const s=(0,o.createReadStream)("",{fd:n,autoClose:!1,start:e.start,end:e.end-1});s.on("error",r),s.once("end",i),s.pipe(t,{end:!1})}!function(e){e[e.INIT=0]="INIT",e[e.HEADER=1]="HEADER",e[e.BODY=2]="BODY"}(c||(c={})),t.copyData=l;class u extends i.Writable{constructor(e,t,n,r,o,i){super(),this.out=e,this.options=t,this.partIndexToTaskIndex=n,this.partIndexToLength=o,this.finishHandler=i,this.partIndex=-1,this.headerListBuffer=null,this.readState=c.INIT,this.ignoreByteCount=0,this.remainingPartDataCount=0,this.actualPartLength=0,this.boundaryLength=r.length+4,this.ignoreByteCount=this.boundaryLength-2}get isFinished(){return this.partIndex===this.partIndexToLength.length}_write(e,t,n){this.isFinished?console.error(`Trailing ignored data: ${e.length} bytes`):this.handleData(e).then(n).catch(n)}async handleData(e){let t=0;if(0!==this.ignoreByteCount&&0!==this.remainingPartDataCount)throw(0,r.newError)("Internal error","ERR_DATA_SPLITTER_BYTE_COUNT_MISMATCH");if(this.ignoreByteCount>0){const n=Math.min(this.ignoreByteCount,e.length);this.ignoreByteCount-=n,t=n}else if(this.remainingPartDataCount>0){const n=Math.min(this.remainingPartDataCount,e.length);this.remainingPartDataCount-=n,await this.processPartData(e,0,n),t=n}if(t!==e.length){if(this.readState===c.HEADER){const n=this.searchHeaderListEnd(e,t);if(-1===n)return;t=n,this.readState=c.BODY,this.headerListBuffer=null}for(;;){if(this.readState===c.BODY)this.readState=c.INIT;else{this.partIndex++;let n=this.partIndexToTaskIndex.get(this.partIndex);if(null==n){if(!this.isFinished)throw(0,r.newError)("taskIndex is null","ERR_DATA_SPLITTER_TASK_INDEX_IS_NULL");n=this.options.end}const o=0===this.partIndex?this.options.start:this.partIndexToTaskIndex.get(this.partIndex-1)+1;if(o<n)await this.copyExistingData(o,n);else if(o>n)throw(0,r.newError)("prevTaskIndex must be < taskIndex","ERR_DATA_SPLITTER_TASK_INDEX_ASSERT_FAILED");if(this.isFinished)return this.onPartEnd(),void this.finishHandler();if(t=this.searchHeaderListEnd(e,t),-1===t)return void(this.readState=c.HEADER)}const n=this.partIndexToLength[this.partIndex],o=t+n,i=Math.min(o,e.length);if(await this.processPartStarted(e,t,i),this.remainingPartDataCount=n-(i-t),this.remainingPartDataCount>0)return;if(t=o+this.boundaryLength,t>=e.length)return void(this.ignoreByteCount=this.boundaryLength-(e.length-o))}}}copyExistingData(e,t){return new Promise(((n,r)=>{const o=()=>{if(e===t)return void n();const i=this.options.tasks[e];i.kind===s.OperationKind.COPY?l(i,this.out,this.options.oldFileFd,r,(()=>{e++,o()})):r(new Error("Task kind must be COPY"))};o()}))}searchHeaderListEnd(e,t){const n=e.indexOf(a,t);if(-1!==n)return n+a.length;const r=0===t?e:e.slice(t);return null==this.headerListBuffer?this.headerListBuffer=r:this.headerListBuffer=Buffer.concat([this.headerListBuffer,r]),-1}onPartEnd(){const e=this.partIndexToLength[this.partIndex-1];if(this.actualPartLength!==e)throw(0,r.newError)(`Expected length: ${e} differs from actual: ${this.actualPartLength}`,"ERR_DATA_SPLITTER_LENGTH_MISMATCH");this.actualPartLength=0}processPartStarted(e,t,n){return 0!==this.partIndex&&this.onPartEnd(),this.processPartData(e,t,n)}processPartData(e,t,n){this.actualPartLength+=n-t;const r=this.out;return r.write(0===t&&e.length===n?e:e.slice(t,n))?Promise.resolve():new Promise(((e,t)=>{r.on("error",t),r.once("drain",(()=>{r.removeListener("error",t),e()}))}))}}t.DataSplitter=u},847:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DifferentialDownloader=void 0;const r=n(2283),o=n(115),i=n(9896),s=n(4558),a=n(7016),c=n(491),l=n(1939),u=n(738);function d(e,t=" KB"){return new Intl.NumberFormat("en").format((e/1024).toFixed(2))+t}t.DifferentialDownloader=class{constructor(e,t,n){this.blockAwareFileInfo=e,this.httpExecutor=t,this.options=n,this.fileMetadataBuffer=null,this.logger=n.logger}createRequestOptions(){const e={headers:{...this.options.requestHeaders,accept:"*/*"}};return(0,r.configureRequestUrl)(this.options.newUrl,e),(0,r.configureRequestOptions)(e),e}doDownload(e,t){if(e.version!==t.version)throw new Error(`version is different (${e.version} - ${t.version}), full download is required`);const n=this.logger,r=(0,c.computeOperations)(e,t,n);null!=n.debug&&n.debug(JSON.stringify(r,null,2));let o=0,i=0;for(const e of r){const t=e.end-e.start;e.kind===c.OperationKind.DOWNLOAD?o+=t:i+=t}const s=this.blockAwareFileInfo.size;if(o+i+(null==this.fileMetadataBuffer?0:this.fileMetadataBuffer.length)!==s)throw new Error(`Internal error, size mismatch: downloadSize: ${o}, copySize: ${i}, newSize: ${s}`);return n.info(`Full: ${d(s)}, To download: ${d(o)} (${Math.round(o/(s/100))}%)`),this.downloadFile(r)}downloadFile(e){const t=[],n=()=>Promise.all(t.map((e=>(0,o.close)(e.descriptor).catch((t=>{this.logger.error(`cannot close file "${e.path}": ${t}`)})))));return this.doDownloadFile(e,t).then(n).catch((e=>n().catch((t=>{try{this.logger.error(`cannot close files: ${t}`)}catch(e){try{console.error(e)}catch(e){}}throw e})).then((()=>{throw e}))))}async doDownloadFile(e,t){const n=await(0,o.open)(this.options.oldFile,"r");t.push({descriptor:n,path:this.options.oldFile});const d=await(0,o.open)(this.options.newFile,"w");t.push({descriptor:d,path:this.options.newFile});const g=(0,i.createWriteStream)(this.options.newFile,{fd:d});await new Promise(((o,i)=>{const d=[];let p;if(!this.options.isUseMultipleRangeRequest&&this.options.onProgress){const t=[];let n=0;for(const r of e)r.kind===c.OperationKind.DOWNLOAD&&(t.push(r.end-r.start),n+=r.end-r.start);const r={expectedByteCounts:t,grandTotal:n};p=new u.ProgressDifferentialDownloadCallbackTransform(r,this.options.cancellationToken,this.options.onProgress),d.push(p)}const h=new r.DigestTransform(this.blockAwareFileInfo.sha512);h.isValidateOnEnd=!1,d.push(h),g.on("finish",(()=>{g.close((()=>{t.splice(1,1);try{h.validate()}catch(e){return void i(e)}o(void 0)}))})),d.push(g);let m=null;for(const e of d)e.on("error",i),m=null==m?e:m.pipe(e);const f=d[0];let I;if(this.options.isUseMultipleRangeRequest)return I=(0,l.executeTasksUsingMultipleRangeRequests)(this,e,f,n,i),void I(0);let b=0,C=null;this.logger.info(`Differential download: ${this.options.newUrl}`);const y=this.createRequestOptions();y.redirect="manual",I=t=>{var o,l;if(t>=e.length)return null!=this.fileMetadataBuffer&&f.write(this.fileMetadataBuffer),void f.end();const u=e[t++];if(u.kind===c.OperationKind.COPY)return p&&p.beginFileCopy(),void(0,s.copyData)(u,f,n,i,(()=>I(t)));const d=`bytes=${u.start}-${u.end-1}`;y.headers.range=d,null===(l=null===(o=this.logger)||void 0===o?void 0:o.debug)||void 0===l||l.call(o,`download range: ${d}`),p&&p.beginRangeDownload();const g=this.httpExecutor.createRequest(y,(e=>{e.on("error",i),e.on("abort",(()=>{i(new Error("response has been aborted by the server"))})),e.statusCode>=400&&i((0,r.createHttpError)(e)),e.pipe(f,{end:!1}),e.once("end",(()=>{p&&p.endRangeDownload(),100==++b?(b=0,setTimeout((()=>I(t)),1e3)):I(t)}))}));g.on("redirect",((e,t,n)=>{this.logger.info(`Redirect to ${function(e){const t=e.indexOf("?");return t<0?e:e.substring(0,t)}(n)}`),C=n,(0,r.configureRequestUrl)(new a.URL(C),y),g.followRedirect()})),this.httpExecutor.addErrorAndTimeoutHandlers(g,i),g.end()},I(0)}))}async readRemoteBytes(e,t){const n=Buffer.allocUnsafe(t+1-e),r=this.createRequestOptions();r.headers.range=`bytes=${e}-${t}`;let o=0;if(await this.request(r,(e=>{e.copy(n,o),o+=e.length})),o!==n.length)throw new Error(`Received data length ${o} is not equal to expected ${n.length}`);return n}request(e,t){return new Promise(((n,r)=>{const o=this.httpExecutor.createRequest(e,(e=>{(0,l.checkIsRangesSupported)(e,r)&&(e.on("data",t),e.on("end",(()=>n())))}));this.httpExecutor.addErrorAndTimeoutHandlers(o,r),o.end()}))}}},7846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileWithEmbeddedBlockMapDifferentialDownloader=void 0;const r=n(115),o=n(847),i=n(3106);class s extends o.DifferentialDownloader{async download(){const e=this.blockAwareFileInfo,t=e.size,n=t-(e.blockMapSize+4);this.fileMetadataBuffer=await this.readRemoteBytes(n,t-1);const o=a(this.fileMetadataBuffer.slice(0,this.fileMetadataBuffer.length-4));await this.doDownload(await async function(e){const t=await(0,r.open)(e,"r");try{const e=(await(0,r.fstat)(t)).size,n=Buffer.allocUnsafe(4);await(0,r.read)(t,n,0,n.length,e-n.length);const o=Buffer.allocUnsafe(n.readUInt32BE(0));return await(0,r.read)(t,o,0,o.length,e-n.length-o.length),await(0,r.close)(t),a(o)}catch(e){throw await(0,r.close)(t),e}}(this.options.oldFile),o)}}function a(e){return JSON.parse((0,i.inflateRawSync)(e).toString())}t.FileWithEmbeddedBlockMapDifferentialDownloader=s},2406:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericDifferentialDownloader=void 0;const r=n(847);class o extends r.DifferentialDownloader{download(e,t){return this.doDownload(e,t)}}t.GenericDifferentialDownloader=o},738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressDifferentialDownloadCallbackTransform=void 0;const r=n(2203);var o;!function(e){e[e.COPY=0]="COPY",e[e.DOWNLOAD=1]="DOWNLOAD"}(o||(o={}));class i extends r.Transform{constructor(e,t,n){super(),this.progressDifferentialDownloadInfo=e,this.cancellationToken=t,this.onProgress=n,this.start=Date.now(),this.transferred=0,this.delta=0,this.expectedBytes=0,this.index=0,this.operationType=o.COPY,this.nextUpdate=this.start+1e3}_transform(e,t,n){if(this.cancellationToken.cancelled)return void n(new Error("cancelled"),null);if(this.operationType==o.COPY)return void n(null,e);this.transferred+=e.length,this.delta+=e.length;const r=Date.now();r>=this.nextUpdate&&this.transferred!==this.expectedBytes&&this.transferred!==this.progressDifferentialDownloadInfo.grandTotal&&(this.nextUpdate=r+1e3,this.onProgress({total:this.progressDifferentialDownloadInfo.grandTotal,delta:this.delta,transferred:this.transferred,percent:this.transferred/this.progressDifferentialDownloadInfo.grandTotal*100,bytesPerSecond:Math.round(this.transferred/((r-this.start)/1e3))}),this.delta=0),n(null,e)}beginFileCopy(){this.operationType=o.COPY}beginRangeDownload(){this.operationType=o.DOWNLOAD,this.expectedBytes+=this.progressDifferentialDownloadInfo.expectedByteCounts[this.index++]}endRangeDownload(){this.transferred!==this.progressDifferentialDownloadInfo.grandTotal&&this.onProgress({total:this.progressDifferentialDownloadInfo.grandTotal,delta:this.delta,transferred:this.transferred,percent:this.transferred/this.progressDifferentialDownloadInfo.grandTotal*100,bytesPerSecond:Math.round(this.transferred/((Date.now()-this.start)/1e3))})}_flush(e){this.cancellationToken.cancelled?e(new Error("cancelled")):(this.onProgress({total:this.progressDifferentialDownloadInfo.grandTotal,delta:this.delta,transferred:this.transferred,percent:100,bytesPerSecond:Math.round(this.transferred/((Date.now()-this.start)/1e3))}),this.delta=0,this.transferred=0,e(null))}}t.ProgressDifferentialDownloadCallbackTransform=i},491:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.computeOperations=t.OperationKind=void 0,function(e){e[e.COPY=0]="COPY",e[e.DOWNLOAD=1]="DOWNLOAD"}(n||(t.OperationKind=n={})),t.computeOperations=function(e,t,r){const s=i(e.files),a=i(t.files);let c=null;const l=t.files[0],u=[],d=l.name,g=s.get(d);if(null==g)throw new Error(`no file ${d} in old blockmap`);const p=a.get(d);let h=0;const{checksumToOffset:m,checksumToOldSize:f}=function(e,t,n){const r=new Map,o=new Map;let i=t;for(let t=0;t<e.checksums.length;t++){const s=e.checksums[t],a=e.sizes[t],c=o.get(s);if(void 0===c)r.set(s,i),o.set(s,a);else if(null!=n.debug){const e=c===a?"(same size)":`(size: ${c}, this size: ${a})`;n.debug(`${s} duplicated in blockmap ${e}, it doesn't lead to broken differential downloader, just corresponding block will be skipped)`)}i+=a}return{checksumToOffset:r,checksumToOldSize:o}}(s.get(d),g.offset,r);let I=l.offset;for(let e=0;e<p.checksums.length;I+=p.sizes[e],e++){const t=p.sizes[e],i=p.checksums[e];let s=m.get(i);null!=s&&f.get(i)!==t&&(r.warn(`Checksum ("${i}") matches, but size differs (old: ${f.get(i)}, new: ${t})`),s=void 0),void 0===s?(h++,null!=c&&c.kind===n.DOWNLOAD&&c.end===I?c.end+=t:(c={kind:n.DOWNLOAD,start:I,end:I+t},o(c,u,i,e))):null!=c&&c.kind===n.COPY&&c.end===s?c.end+=t:(c={kind:n.COPY,start:s,end:s+t},o(c,u,i,e))}return h>0&&r.info(`File${"file"===l.name?"":" "+l.name} has ${h} changed blocks`),u};const r="true"===process.env.DIFFERENTIAL_DOWNLOAD_PLAN_BUILDER_VALIDATE_RANGES;function o(e,t,o,i){if(r&&0!==t.length){const r=t[t.length-1];if(r.kind===e.kind&&e.start<r.end&&e.start>r.start){const t=[r.start,r.end,e.start,e.end].reduce(((e,t)=>e<t?e:t));throw new Error(`operation (block index: ${i}, checksum: ${o}, kind: ${n[e.kind]}) overlaps previous operation (checksum: ${o}):\nabs: ${r.start} until ${r.end} and ${e.start} until ${e.end}\nrel: ${r.start-t} until ${r.end-t} and ${e.start-t} until ${e.end-t}`)}}t.push(e)}function i(e){const t=new Map;for(const n of e)t.set(n.name,n);return t}},1939:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkIsRangesSupported=t.executeTasksUsingMultipleRangeRequests=void 0;const r=n(2283),o=n(4558),i=n(491);function s(e,t){if(e.statusCode>=400)return t((0,r.createHttpError)(e)),!1;if(206!==e.statusCode){const n=(0,r.safeGetHeader)(e,"accept-ranges");if(null==n||"none"===n)return t(new Error(`Server doesn't support Accept-Ranges (response code ${e.statusCode})`)),!1}return!0}t.executeTasksUsingMultipleRangeRequests=function(e,t,n,a,c){const l=u=>{if(u>=t.length)return null!=e.fileMetadataBuffer&&n.write(e.fileMetadataBuffer),void n.end();const d=u+1e3;!function(e,t,n,a,c){let l="bytes=",u=0;const d=new Map,g=[];for(let e=t.start;e<t.end;e++){const n=t.tasks[e];n.kind===i.OperationKind.DOWNLOAD&&(l+=`${n.start}-${n.end-1}, `,d.set(u,e),u++,g.push(n.end-n.start))}if(u<=1){const r=l=>{if(l>=t.end)return void a();const u=t.tasks[l++];if(u.kind===i.OperationKind.COPY)(0,o.copyData)(u,n,t.oldFileFd,c,(()=>r(l)));else{const t=e.createRequestOptions();t.headers.Range=`bytes=${u.start}-${u.end-1}`;const o=e.httpExecutor.createRequest(t,(e=>{s(e,c)&&(e.pipe(n,{end:!1}),e.once("end",(()=>r(l))))}));e.httpExecutor.addErrorAndTimeoutHandlers(o,c),o.end()}};return void r(t.start)}const p=e.createRequestOptions();p.headers.Range=l.substring(0,l.length-2);const h=e.httpExecutor.createRequest(p,(e=>{if(!s(e,c))return;const i=(0,r.safeGetHeader)(e,"content-type"),l=/^multipart\/.+?(?:; boundary=(?:(?:"(.+)")|(?:([^\s]+))))$/i.exec(i);if(null==l)return void c(new Error(`Content-Type "multipart/byteranges" is expected, but got "${i}"`));const u=new o.DataSplitter(n,t,d,l[1]||l[2],g,a);u.on("error",c),e.pipe(u),e.on("end",(()=>{setTimeout((()=>{h.abort(),c(new Error("Response ends without calling any handlers"))}),1e4)}))}));e.httpExecutor.addErrorAndTimeoutHandlers(h,c),h.end()}(e,{tasks:t,start:u,end:Math.min(t.length,d),oldFileFd:a},n,(()=>l(d)),c)};return l},t.checkIsRangesSupported=s},5931:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronHttpExecutor=t.getNetSession=t.NET_SESSION_NAME=void 0;const r=n(2283);function o(){return n(4157).session.fromPartition(t.NET_SESSION_NAME,{cache:!1})}t.NET_SESSION_NAME="electron-updater",t.getNetSession=o;class i extends r.HttpExecutor{constructor(e){super(),this.proxyLoginCallback=e,this.cachedSession=null}async download(e,t,n){return await n.cancellationToken.createPromise(((o,i,s)=>{const a={headers:n.headers||void 0,redirect:"manual"};(0,r.configureRequestUrl)(e,a),(0,r.configureRequestOptions)(a),this.doDownload(a,{destination:t,options:n,onCancel:s,callback:e=>{null==e?o(t):i(e)},responseHandler:null},0)}))}createRequest(e,t){e.headers&&e.headers.Host&&(e.host=e.headers.Host,delete e.headers.Host),null==this.cachedSession&&(this.cachedSession=o());const r=n(4157).net.request({...e,session:this.cachedSession});return r.on("response",t),null!=this.proxyLoginCallback&&r.on("login",this.proxyLoginCallback),r}addRedirectHandlers(e,t,n,o,i){e.on("redirect",((s,a,c)=>{e.abort(),o>this.maxRedirects?n(this.createMaxRedirectError()):i(r.HttpExecutor.prepareRedirectUrlOptions(c,t))}))}}t.ElectronHttpExecutor=i},4625:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdaterSignal=t.UPDATE_DOWNLOADED=t.DOWNLOAD_PROGRESS=t.NsisUpdater=t.MacUpdater=t.RpmUpdater=t.DebUpdater=t.AppImageUpdater=t.Provider=t.CancellationToken=t.NoOpLogger=t.AppUpdater=t.BaseUpdater=void 0;const r=n(2283);Object.defineProperty(t,"CancellationToken",{enumerable:!0,get:function(){return r.CancellationToken}});const o=n(115),i=n(6928);var s=n(6216);Object.defineProperty(t,"BaseUpdater",{enumerable:!0,get:function(){return s.BaseUpdater}});var a=n(6064);Object.defineProperty(t,"AppUpdater",{enumerable:!0,get:function(){return a.AppUpdater}}),Object.defineProperty(t,"NoOpLogger",{enumerable:!0,get:function(){return a.NoOpLogger}});var c=n(5414);Object.defineProperty(t,"Provider",{enumerable:!0,get:function(){return c.Provider}});var l=n(9619);Object.defineProperty(t,"AppImageUpdater",{enumerable:!0,get:function(){return l.AppImageUpdater}});var u=n(8704);Object.defineProperty(t,"DebUpdater",{enumerable:!0,get:function(){return u.DebUpdater}});var d=n(7306);Object.defineProperty(t,"RpmUpdater",{enumerable:!0,get:function(){return d.RpmUpdater}});var g=n(5136);Object.defineProperty(t,"MacUpdater",{enumerable:!0,get:function(){return g.MacUpdater}});var p=n(5778);let h;Object.defineProperty(t,"NsisUpdater",{enumerable:!0,get:function(){return p.NsisUpdater}}),Object.defineProperty(t,"autoUpdater",{enumerable:!0,get:()=>h||function(){if("win32"===process.platform)h=new(n(5778).NsisUpdater);else if("darwin"===process.platform)h=new(n(5136).MacUpdater);else{h=new(n(9619).AppImageUpdater);try{const e=i.join(process.resourcesPath,"package-type");if(!(0,o.existsSync)(e))return h;console.info("Checking for beta autoupdate feature for deb/rpm distributions");const t=(0,o.readFileSync)(e).toString().trim();switch(console.info("Found package-type:",t),t){case"deb":h=new(n(8704).DebUpdater);break;case"rpm":h=new(n(7306).RpmUpdater)}}catch(e){console.warn("Unable to detect 'package-type' for autoUpdater (beta rpm/deb support). If you'd like to expand support, please consider contributing to electron-builder",e.message)}}return h}()}),t.DOWNLOAD_PROGRESS="download-progress",t.UPDATE_DOWNLOADED="update-downloaded",t.UpdaterSignal=class{constructor(e){this.emitter=e}login(e){f(this.emitter,"login",e)}progress(e){f(this.emitter,t.DOWNLOAD_PROGRESS,e)}updateDownloaded(e){f(this.emitter,t.UPDATE_DOWNLOADED,e)}updateCancelled(e){f(this.emitter,"update-cancelled",e)}};const m=!1;function f(e,t,n){m?e.on(t,((...e)=>{console.log("%s %s",t,e),n(...e)})):e.on(t,n)}},4679:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=t.isUrlProbablySupportMultiRangeRequests=void 0;const r=n(2283),o=n(407),i=n(2747),s=n(5193),a=n(581),c=n(222);function l(e){return!e.includes("s3.amazonaws.com")}t.isUrlProbablySupportMultiRangeRequests=l,t.createClient=function(e,t,n){if("string"==typeof e)throw(0,r.newError)("Please pass PublishConfiguration object","ERR_UPDATER_INVALID_PROVIDER_CONFIGURATION");const u=e.provider;switch(u){case"github":{const r=e,o=(r.private?process.env.GH_TOKEN||process.env.GITHUB_TOKEN:null)||r.token;return null==o?new s.GitHubProvider(r,t,n):new c.PrivateGitHubProvider(r,t,o,n)}case"bitbucket":return new o.BitbucketProvider(e,t,n);case"keygen":return new a.KeygenProvider(e,t,n);case"s3":case"spaces":return new i.GenericProvider({provider:"generic",url:(0,r.getS3LikeProviderBaseUrl)(e),channel:e.channel||null},t,{...n,isUseMultipleRangeRequest:!1});case"generic":{const r=e;return new i.GenericProvider(r,t,{...n,isUseMultipleRangeRequest:!1!==r.useMultipleRangeRequest&&l(r.url)})}case"custom":{const o=e,i=o.updateProvider;if(!i)throw(0,r.newError)("Custom provider not specified","ERR_UPDATER_INVALID_PROVIDER_CONFIGURATION");return new i(o,t,n)}default:throw(0,r.newError)(`Unsupported provider: ${u}`,"ERR_UPDATER_UNSUPPORTED_PROVIDER")}}},407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BitbucketProvider=void 0;const r=n(2283),o=n(5888),i=n(5414);class s extends i.Provider{constructor(e,t,n){super({...n,isUseMultipleRangeRequest:!1}),this.configuration=e,this.updater=t;const{owner:r,slug:i}=e;this.baseUrl=(0,o.newBaseUrl)(`https://api.bitbucket.org/2.0/repositories/${r}/${i}/downloads`)}get channel(){return this.updater.channel||this.configuration.channel||"latest"}async getLatestVersion(){const e=new r.CancellationToken,t=(0,o.getChannelFilename)(this.getCustomChannelName(this.channel)),n=(0,o.newUrlFromBase)(t,this.baseUrl,this.updater.isAddNoCacheQuery);try{const r=await this.httpRequest(n,void 0,e);return(0,i.parseUpdateInfo)(r,t,n)}catch(e){throw(0,r.newError)(`Unable to find latest version on ${this.toString()}, please ensure release exists: ${e.stack||e.message}`,"ERR_UPDATER_LATEST_VERSION_NOT_FOUND")}}resolveFiles(e){return(0,i.resolveFiles)(e,this.baseUrl)}toString(){const{owner:e,slug:t}=this.configuration;return`Bitbucket (owner: ${e}, slug: ${t}, channel: ${this.channel})`}}t.BitbucketProvider=s},2747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericProvider=void 0;const r=n(2283),o=n(5888),i=n(5414);class s extends i.Provider{constructor(e,t,n){super(n),this.configuration=e,this.updater=t,this.baseUrl=(0,o.newBaseUrl)(this.configuration.url)}get channel(){const e=this.updater.channel||this.configuration.channel;return null==e?this.getDefaultChannelName():this.getCustomChannelName(e)}async getLatestVersion(){const e=(0,o.getChannelFilename)(this.channel),t=(0,o.newUrlFromBase)(e,this.baseUrl,this.updater.isAddNoCacheQuery);for(let n=0;;n++)try{return(0,i.parseUpdateInfo)(await this.httpRequest(t),e,t)}catch(t){if(t instanceof r.HttpError&&404===t.statusCode)throw(0,r.newError)(`Cannot find channel "${e}" update info: ${t.stack||t.message}`,"ERR_UPDATER_CHANNEL_FILE_NOT_FOUND");if("ECONNREFUSED"===t.code&&n<3){await new Promise(((e,t)=>{try{setTimeout(e,1e3*n)}catch(e){t(e)}}));continue}throw t}}resolveFiles(e){return(0,i.resolveFiles)(e,this.baseUrl)}}t.GenericProvider=s},5193:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computeReleaseNotes=t.GitHubProvider=t.BaseGitHubProvider=void 0;const r=n(2283),o=n(6659),i=n(7016),s=n(5888),a=n(5414),c=/\/tag\/([^/]+)$/;class l extends a.Provider{constructor(e,t,n){super({...n,isUseMultipleRangeRequest:!1}),this.options=e,this.baseUrl=(0,s.newBaseUrl)((0,r.githubUrl)(e,t));const o="github.com"===t?"api.github.com":t;this.baseApiUrl=(0,s.newBaseUrl)((0,r.githubUrl)(e,o))}computeGithubBasePath(e){const t=this.options.host;return t&&!["github.com","api.github.com"].includes(t)?`/api/v3${e}`:e}}function u(e){const t=e.elementValueOrEmpty("content");return"No content."===t?"":t}function d(e,t,n,r){if(!t)return u(r);const i=[];for(const t of n.getElements("entry")){const n=/\/tag\/v?([^/]+)$/.exec(t.element("link").attribute("href"))[1];o.lt(e,n)&&i.push({version:n,note:u(t)})}return i.sort(((e,t)=>o.rcompare(e.version,t.version)))}t.BaseGitHubProvider=l,t.GitHubProvider=class extends l{constructor(e,t,n){super(e,"github.com",n),this.options=e,this.updater=t}async getLatestVersion(){var e,t,n,i;const l=new r.CancellationToken,u=await this.httpRequest((0,s.newUrlFromBase)(`${this.basePath}.atom`,this.baseUrl),{accept:"application/xml, application/atom+xml, text/xml, */*"},l),g=(0,r.parseXml)(u);let p,h=g.element("entry",!1,"No published versions on GitHub"),m=null;try{if(this.updater.allowPrerelease){const r=(null===(e=this.updater)||void 0===e?void 0:e.channel)||(null===(t=o.prerelease(this.updater.currentVersion))||void 0===t?void 0:t[0])||null;if(null===r)m=c.exec(h.element("link").attribute("href"))[1];else for(const e of g.getElements("entry")){const t=c.exec(e.element("link").attribute("href"));if(null===t)continue;const i=t[1],s=(null===(n=o.prerelease(i))||void 0===n?void 0:n[0])||null,a=!r||["alpha","beta"].includes(r),l=null!==s&&!["alpha","beta"].includes(String(s));if(a&&!l&&("beta"!==r||"alpha"!==s)){m=i;break}if(s&&s===r){m=i;break}}}else{m=await this.getLatestTagName(l);for(const e of g.getElements("entry"))if(c.exec(e.element("link").attribute("href"))[1]===m){h=e;break}}}catch(e){throw(0,r.newError)(`Cannot parse releases feed: ${e.stack||e.message},\nXML:\n${u}`,"ERR_UPDATER_INVALID_RELEASE_FEED")}if(null==m)throw(0,r.newError)("No published versions on GitHub","ERR_UPDATER_NO_PUBLISHED_VERSIONS");let f="",I="";const b=async e=>{f=(0,s.getChannelFilename)(e),I=(0,s.newUrlFromBase)(this.getBaseDownloadPath(String(m),f),this.baseUrl);const t=this.createRequestOptions(I);try{return await this.executor.request(t,l)}catch(e){if(e instanceof r.HttpError&&404===e.statusCode)throw(0,r.newError)(`Cannot find ${f} in the latest release artifacts (${I}): ${e.stack||e.message}`,"ERR_UPDATER_CHANNEL_FILE_NOT_FOUND");throw e}};try{const e=this.updater.allowPrerelease?this.getCustomChannelName(String((null===(i=o.prerelease(m))||void 0===i?void 0:i[0])||"latest")):this.getDefaultChannelName();p=await b(e)}catch(e){if(!this.updater.allowPrerelease)throw e;p=await b(this.getDefaultChannelName())}const C=(0,a.parseUpdateInfo)(p,f,I);return null==C.releaseName&&(C.releaseName=h.elementValueOrEmpty("title")),null==C.releaseNotes&&(C.releaseNotes=d(this.updater.currentVersion,this.updater.fullChangelog,g,h)),{tag:m,...C}}async getLatestTagName(e){const t=this.options,n=null==t.host||"github.com"===t.host?(0,s.newUrlFromBase)(`${this.basePath}/latest`,this.baseUrl):new i.URL(`${this.computeGithubBasePath(`/repos/${t.owner}/${t.repo}/releases`)}/latest`,this.baseApiUrl);try{const t=await this.httpRequest(n,{Accept:"application/json"},e);return null==t?null:JSON.parse(t).tag_name}catch(e){throw(0,r.newError)(`Unable to find latest version on GitHub (${n}), please ensure a production release exists: ${e.stack||e.message}`,"ERR_UPDATER_LATEST_VERSION_NOT_FOUND")}}get basePath(){return`/${this.options.owner}/${this.options.repo}/releases`}resolveFiles(e){return(0,a.resolveFiles)(e,this.baseUrl,(t=>this.getBaseDownloadPath(e.tag,t.replace(/ /g,"-"))))}getBaseDownloadPath(e,t){return`${this.basePath}/download/${e}/${t}`}},t.computeReleaseNotes=d},581:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeygenProvider=void 0;const r=n(2283),o=n(5888),i=n(5414);class s extends i.Provider{constructor(e,t,n){super({...n,isUseMultipleRangeRequest:!1}),this.configuration=e,this.updater=t,this.baseUrl=(0,o.newBaseUrl)(`https://api.keygen.sh/v1/accounts/${this.configuration.account}/artifacts?product=${this.configuration.product}`)}get channel(){return this.updater.channel||this.configuration.channel||"stable"}async getLatestVersion(){const e=new r.CancellationToken,t=(0,o.getChannelFilename)(this.getCustomChannelName(this.channel)),n=(0,o.newUrlFromBase)(t,this.baseUrl,this.updater.isAddNoCacheQuery);try{const r=await this.httpRequest(n,{Accept:"application/vnd.api+json","Keygen-Version":"1.1"},e);return(0,i.parseUpdateInfo)(r,t,n)}catch(e){throw(0,r.newError)(`Unable to find latest version on ${this.toString()}, please ensure release exists: ${e.stack||e.message}`,"ERR_UPDATER_LATEST_VERSION_NOT_FOUND")}}resolveFiles(e){return(0,i.resolveFiles)(e,this.baseUrl)}toString(){const{account:e,product:t,platform:n}=this.configuration;return`Keygen (account: ${e}, product: ${t}, platform: ${n}, channel: ${this.channel})`}}t.KeygenProvider=s},222:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrivateGitHubProvider=void 0;const r=n(2283),o=n(7040),i=n(6928),s=n(7016),a=n(5888),c=n(5193),l=n(5414);class u extends c.BaseGitHubProvider{constructor(e,t,n,r){super(e,"api.github.com",r),this.updater=t,this.token=n}createRequestOptions(e,t){const n=super.createRequestOptions(e,t);return n.redirect="manual",n}async getLatestVersion(){const e=new r.CancellationToken,t=(0,a.getChannelFilename)(this.getDefaultChannelName()),n=await this.getLatestVersionInfo(e),i=n.assets.find((e=>e.name===t));if(null==i)throw(0,r.newError)(`Cannot find ${t} in the release ${n.html_url||n.name}`,"ERR_UPDATER_CHANNEL_FILE_NOT_FOUND");const c=new s.URL(i.url);let l;try{l=(0,o.load)(await this.httpRequest(c,this.configureHeaders("application/octet-stream"),e))}catch(e){if(e instanceof r.HttpError&&404===e.statusCode)throw(0,r.newError)(`Cannot find ${t} in the latest release artifacts (${c}): ${e.stack||e.message}`,"ERR_UPDATER_CHANNEL_FILE_NOT_FOUND");throw e}return l.assets=n.assets,l}get fileExtraDownloadHeaders(){return this.configureHeaders("application/octet-stream")}configureHeaders(e){return{accept:e,authorization:`token ${this.token}`}}async getLatestVersionInfo(e){const t=this.updater.allowPrerelease;let n=this.basePath;t||(n=`${n}/latest`);const o=(0,a.newUrlFromBase)(n,this.baseUrl);try{const n=JSON.parse(await this.httpRequest(o,this.configureHeaders("application/vnd.github.v3+json"),e));return t?n.find((e=>e.prerelease))||n[0]:n}catch(e){throw(0,r.newError)(`Unable to find latest version on GitHub (${o}), please ensure a production release exists: ${e.stack||e.message}`,"ERR_UPDATER_LATEST_VERSION_NOT_FOUND")}}get basePath(){return this.computeGithubBasePath(`/repos/${this.options.owner}/${this.options.repo}/releases`)}resolveFiles(e){return(0,l.getFileList)(e).map((t=>{const n=i.posix.basename(t.url).replace(/ /g,"-"),o=e.assets.find((e=>null!=e&&e.name===n));if(null==o)throw(0,r.newError)(`Cannot find asset "${n}" in: ${JSON.stringify(e.assets,null,2)}`,"ERR_UPDATER_ASSET_NOT_FOUND");return{url:new s.URL(o.url),info:t}}))}}t.PrivateGitHubProvider=u},5414:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveFiles=t.getFileList=t.parseUpdateInfo=t.findFile=t.Provider=void 0;const r=n(2283),o=n(7040),i=n(5888);function s(e){const t=e.files;if(null!=t&&t.length>0)return t;if(null!=e.path)return[{url:e.path,sha2:e.sha2,sha512:e.sha512}];throw(0,r.newError)(`No files provided: ${(0,r.safeStringifyJson)(e)}`,"ERR_UPDATER_NO_FILES_PROVIDED")}t.Provider=class{constructor(e){this.runtimeOptions=e,this.requestHeaders=null,this.executor=e.executor}get isUseMultipleRangeRequest(){return!1!==this.runtimeOptions.isUseMultipleRangeRequest}getChannelFilePrefix(){if("linux"===this.runtimeOptions.platform){const e=process.env.TEST_UPDATER_ARCH||process.arch;return"-linux"+("x64"===e?"":`-${e}`)}return"darwin"===this.runtimeOptions.platform?"-mac":""}getDefaultChannelName(){return this.getCustomChannelName("latest")}getCustomChannelName(e){return`${e}${this.getChannelFilePrefix()}`}get fileExtraDownloadHeaders(){return null}setRequestHeaders(e){this.requestHeaders=e}httpRequest(e,t,n){return this.executor.request(this.createRequestOptions(e,t),n)}createRequestOptions(e,t){const n={};return null==this.requestHeaders?null!=t&&(n.headers=t):n.headers=null==t?this.requestHeaders:{...this.requestHeaders,...t},(0,r.configureRequestUrl)(e,n),n}},t.findFile=function(e,t,n){if(0===e.length)throw(0,r.newError)("No files provided","ERR_UPDATER_NO_FILES_PROVIDED");const o=e.find((e=>e.url.pathname.toLowerCase().endsWith(`.${t}`)));return null!=o?o:null==n?e[0]:e.find((e=>!n.some((t=>e.url.pathname.toLowerCase().endsWith(`.${t}`)))))},t.parseUpdateInfo=function(e,t,n){if(null==e)throw(0,r.newError)(`Cannot parse update info from ${t} in the latest release artifacts (${n}): rawData: null`,"ERR_UPDATER_INVALID_UPDATE_INFO");let i;try{i=(0,o.load)(e)}catch(o){throw(0,r.newError)(`Cannot parse update info from ${t} in the latest release artifacts (${n}): ${o.stack||o.message}, rawData: ${e}`,"ERR_UPDATER_INVALID_UPDATE_INFO")}return i},t.getFileList=s,t.resolveFiles=function(e,t,n=(e=>e)){const o=s(e).map((e=>{if(null==e.sha2&&null==e.sha512)throw(0,r.newError)(`Update info doesn't contain nor sha256 neither sha512 checksum: ${(0,r.safeStringifyJson)(e)}`,"ERR_UPDATER_NO_CHECKSUM");return{url:(0,i.newUrlFromBase)(n(e.url),t),info:e}})),a=e.packages,c=null==a?null:a[process.arch]||a.ia32;return null!=c&&(o[0].packageInfo={...c,path:(0,i.newUrlFromBase)(n(c.path),t).href}),o}},5888:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blockmapFiles=t.getChannelFilename=t.newUrlFromBase=t.newBaseUrl=void 0;const r=n(7016),o=n(9298);function i(e,t,n=!1){const o=new r.URL(e,t),i=t.search;return null!=i&&0!==i.length?o.search=i:n&&(o.search=`noCache=${Date.now().toString(32)}`),o}t.newBaseUrl=function(e){const t=new r.URL(e);return t.pathname.endsWith("/")||(t.pathname+="/"),t},t.newUrlFromBase=i,t.getChannelFilename=function(e){return`${e}.yml`},t.blockmapFiles=function(e,t,n){const r=i(`${e.pathname}.blockmap`,e);return[i(`${e.pathname.replace(new RegExp(o(n),"g"),t)}.blockmap`,e),r]}},5916:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifySignature=void 0;const r=n(2283),o=n(5317),i=n(857);function s(e,t,n,r){if(function(){const e=i.release();return e.startsWith("6.")&&!e.startsWith("6.3")}())e.warn(`Cannot execute Get-AuthenticodeSignature: ${t||n}. Ignoring signature validation due to unsupported powershell version. Please upgrade to powershell 3 or higher.`);else{try{(0,o.execFileSync)("powershell.exe",["-NoProfile","-NonInteractive","-Command","ConvertTo-Json test"],{timeout:1e4})}catch(t){return void e.warn(`Cannot execute ConvertTo-Json: ${t.message}. Ignoring signature validation due to unsupported powershell version. Please upgrade to powershell 3 or higher.`)}null!=t&&r(t),n&&r(new Error(`Cannot execute Get-AuthenticodeSignature, stderr: ${n}. Failing signature validation due to unknown stderr.`))}}t.verifySignature=function(e,t,n){return new Promise(((i,a)=>{const c=t.replace(/'/g,"''");(0,o.execFile)("chcp 65001 >NUL & powershell.exe",["-NoProfile","-NonInteractive","-InputFormat","None","-Command",`"Get-AuthenticodeSignature -LiteralPath '${c}' | ConvertTo-Json -Compress"`],{shell:!0,timeout:2e4},((t,o,c)=>{try{if(null!=t||c)return s(n,t,c,a),void i(null);const l=function(e){const t=JSON.parse(e);delete t.PrivateKey,delete t.IsOSBinary,delete t.SignatureType;const n=t.SignerCertificate;return null!=n&&(delete n.Archived,delete n.Extensions,delete n.Handle,delete n.HasPrivateKey,delete n.SubjectName),delete t.Path,t}(o);if(0===l.Status){const t=(0,r.parseDn)(l.SignerCertificate.Subject);let o=!1;for(const s of e){const e=(0,r.parseDn)(s);if(e.size?o=Array.from(e.keys()).every((n=>e.get(n)===t.get(n))):s===t.get("CN")&&(n.warn(`Signature validated using only CN ${s}. Please add your full Distinguished Name (DN) to publisherNames configuration`),o=!0),o)return void i(null)}}const u=`publisherNames: ${e.join(" | ")}, raw info: `+JSON.stringify(l,((e,t)=>"RawData"===e?void 0:t),2);n.warn(`Sign verification failed, installer signed with incorrect certificate: ${u}`),i(u)}catch(e){return s(n,e,null,a),void i(null)}}))}))}},1370:(e,t,n)=>{"use strict";const r=n(3641),o=n(6928),i=n(5776).mkdirsSync,s=n(7213).utimesMillisSync,a=n(4440);function c(e,t,n,i){const s=(i.dereference?r.statSync:r.lstatSync)(t);if(s.isDirectory())return function(e,t,n,o,i){return t?d(n,o,i):function(e,t,n,o){return r.mkdirSync(n),d(t,n,o),u(n,e)}(e.mode,n,o,i)}(s,e,t,n,i);if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return function(e,t,n,o,i){return t?function(e,t,n,o){if(o.overwrite)return r.unlinkSync(n),l(e,t,n,o);if(o.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,o,i):l(e,n,o,i)}(s,e,t,n,i);if(s.isSymbolicLink())return function(e,t,n,i){let s=r.readlinkSync(t);if(i.dereference&&(s=o.resolve(process.cwd(),s)),e){let e;try{e=r.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return r.symlinkSync(s,n);throw e}if(i.dereference&&(e=o.resolve(process.cwd(),e)),a.isSrcSubdir(s,e))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`);if(r.statSync(n).isDirectory()&&a.isSrcSubdir(e,s))throw new Error(`Cannot overwrite '${e}' with '${s}'.`);return function(e,t){return r.unlinkSync(t),r.symlinkSync(e,t)}(s,n)}return r.symlinkSync(s,n)}(e,t,n,i);if(s.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(s.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function l(e,t,n,o){return r.copyFileSync(t,n),o.preserveTimestamps&&function(e,t,n){(function(e){return!(128&e)})(e)&&function(e,t){u(e,128|t)}(n,e),function(e,t){const n=r.statSync(e);s(t,n.atime,n.mtime)}(t,n)}(e.mode,t,n),u(n,e.mode)}function u(e,t){return r.chmodSync(e,t)}function d(e,t,n){r.readdirSync(e).forEach((r=>function(e,t,n,r){const i=o.join(t,e),s=o.join(n,e),{destStat:l}=a.checkPathsSync(i,s,"copy",r);return function(e,t,n,r){if(!r.filter||r.filter(t,n))return c(e,t,n,r)}(l,i,s,r)}(r,e,t,n)))}e.exports=function(e,t,n){"function"==typeof n&&(n={filter:n}),(n=n||{}).clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0002");const{srcStat:s,destStat:l}=a.checkPathsSync(e,t,"copy",n);return a.checkParentPathsSync(e,s,t,"copy"),function(e,t,n,s){if(s.filter&&!s.filter(t,n))return;const a=o.dirname(n);return r.existsSync(a)||i(a),c(e,t,n,s)}(l,e,t,n)}},8464:(e,t,n)=>{"use strict";const r=n(3641),o=n(6928),i=n(5776).mkdirs,s=n(8386).pathExists,a=n(7213).utimesMillis,c=n(4440);function l(e,t,n,r,a){const c=o.dirname(n);s(c,((o,s)=>o?a(o):s?d(e,t,n,r,a):void i(c,(o=>o?a(o):d(e,t,n,r,a)))))}function u(e,t,n,r,o,i){Promise.resolve(o.filter(n,r)).then((s=>s?e(t,n,r,o,i):i()),(e=>i(e)))}function d(e,t,n,i,s){(i.dereference?r.stat:r.lstat)(t,((a,l)=>a?s(a):l.isDirectory()?function(e,t,n,o,i,s){return t?m(n,o,i,s):function(e,t,n,o,i){r.mkdir(n,(r=>{if(r)return i(r);m(t,n,o,(t=>t?i(t):h(n,e,i)))}))}(e.mode,n,o,i,s)}(l,e,t,n,i,s):l.isFile()||l.isCharacterDevice()||l.isBlockDevice()?function(e,t,n,o,i,s){return t?function(e,t,n,o,i){if(!o.overwrite)return o.errorOnExist?i(new Error(`'${n}' already exists`)):i();r.unlink(n,(r=>r?i(r):g(e,t,n,o,i)))}(e,n,o,i,s):g(e,n,o,i,s)}(l,e,t,n,i,s):l.isSymbolicLink()?function(e,t,n,i,s){r.readlink(t,((t,a)=>t?s(t):(i.dereference&&(a=o.resolve(process.cwd(),a)),e?void r.readlink(n,((t,l)=>t?"EINVAL"===t.code||"UNKNOWN"===t.code?r.symlink(a,n,s):s(t):(i.dereference&&(l=o.resolve(process.cwd(),l)),c.isSrcSubdir(a,l)?s(new Error(`Cannot copy '${a}' to a subdirectory of itself, '${l}'.`)):e.isDirectory()&&c.isSrcSubdir(l,a)?s(new Error(`Cannot overwrite '${l}' with '${a}'.`)):function(e,t,n){r.unlink(t,(o=>o?n(o):r.symlink(e,t,n)))}(a,n,s)))):r.symlink(a,n,s))))}(e,t,n,i,s):l.isSocket()?s(new Error(`Cannot copy a socket file: ${t}`)):l.isFIFO()?s(new Error(`Cannot copy a FIFO pipe: ${t}`)):s(new Error(`Unknown file: ${t}`))))}function g(e,t,n,o,i){r.copyFile(t,n,(r=>r?i(r):o.preserveTimestamps?function(e,t,n,r){return function(e){return!(128&e)}(e)?function(e,t,n){return h(e,128|t,n)}(n,e,(o=>o?r(o):p(e,t,n,r))):p(e,t,n,r)}(e.mode,t,n,i):h(n,e.mode,i)))}function p(e,t,n,o){!function(e,t,n){r.stat(e,((e,r)=>e?n(e):a(t,r.atime,r.mtime,n)))}(t,n,(t=>t?o(t):h(n,e,o)))}function h(e,t,n){return r.chmod(e,t,n)}function m(e,t,n,o){r.readdir(e,((r,i)=>r?o(r):f(i,e,t,n,o)))}function f(e,t,n,r,i){const s=e.pop();return s?function(e,t,n,r,i,s){const a=o.join(n,t),l=o.join(r,t);c.checkPaths(a,l,"copy",i,((t,o)=>{if(t)return s(t);const{destStat:c}=o;!function(e,t,n,r,o){r.filter?u(d,e,t,n,r,o):d(e,t,n,r,o)}(c,a,l,i,(t=>t?s(t):f(e,n,r,i,s)))}))}(e,s,t,n,r,i):i()}e.exports=function(e,t,n,r){"function"!=typeof n||r?"function"==typeof n&&(n={filter:n}):(r=n,n={}),r=r||function(){},(n=n||{}).clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0001"),c.checkPaths(e,t,"copy",n,((o,i)=>{if(o)return r(o);const{srcStat:s,destStat:a}=i;c.checkParentPaths(e,s,t,"copy",(o=>o?r(o):n.filter?u(l,a,e,t,n,r):l(a,e,t,n,r)))}))}},5925:(e,t,n)=>{"use strict";const r=n(3410).fromCallback;e.exports={copy:r(n(8464)),copySync:n(1370)}},5721:(e,t,n)=>{"use strict";const r=n(3410).fromPromise,o=n(8903),i=n(6928),s=n(5776),a=n(8024),c=r((async function(e){let t;try{t=await o.readdir(e)}catch{return s.mkdirs(e)}return Promise.all(t.map((t=>a.remove(i.join(e,t)))))}));function l(e){let t;try{t=o.readdirSync(e)}catch{return s.mkdirsSync(e)}t.forEach((t=>{t=i.join(e,t),a.removeSync(t)}))}e.exports={emptyDirSync:l,emptydirSync:l,emptyDir:c,emptydir:c}},3726:(e,t,n)=>{"use strict";const r=n(3410).fromCallback,o=n(6928),i=n(3641),s=n(5776);e.exports={createFile:r((function(e,t){function n(){i.writeFile(e,"",(e=>{if(e)return t(e);t()}))}i.stat(e,((r,a)=>{if(!r&&a.isFile())return t();const c=o.dirname(e);i.stat(c,((e,r)=>{if(e)return"ENOENT"===e.code?s.mkdirs(c,(e=>{if(e)return t(e);n()})):t(e);r.isDirectory()?n():i.readdir(c,(e=>{if(e)return t(e)}))}))}))})),createFileSync:function(e){let t;try{t=i.statSync(e)}catch{}if(t&&t.isFile())return;const n=o.dirname(e);try{i.statSync(n).isDirectory()||i.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;s.mkdirsSync(n)}i.writeFileSync(e,"")}}},5850:(e,t,n)=>{"use strict";const{createFile:r,createFileSync:o}=n(3726),{createLink:i,createLinkSync:s}=n(5596),{createSymlink:a,createSymlinkSync:c}=n(805);e.exports={createFile:r,createFileSync:o,ensureFile:r,ensureFileSync:o,createLink:i,createLinkSync:s,ensureLink:i,ensureLinkSync:s,createSymlink:a,createSymlinkSync:c,ensureSymlink:a,ensureSymlinkSync:c}},5596:(e,t,n)=>{"use strict";const r=n(3410).fromCallback,o=n(6928),i=n(3641),s=n(5776),a=n(8386).pathExists,{areIdentical:c}=n(4440);e.exports={createLink:r((function(e,t,n){function r(e,t){i.link(e,t,(e=>{if(e)return n(e);n(null)}))}i.lstat(t,((l,u)=>{i.lstat(e,((i,l)=>{if(i)return i.message=i.message.replace("lstat","ensureLink"),n(i);if(u&&c(l,u))return n(null);const d=o.dirname(t);a(d,((o,i)=>o?n(o):i?r(e,t):void s.mkdirs(d,(o=>{if(o)return n(o);r(e,t)}))))}))}))})),createLinkSync:function(e,t){let n;try{n=i.lstatSync(t)}catch{}try{const t=i.lstatSync(e);if(n&&c(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const r=o.dirname(t);return i.existsSync(r)||s.mkdirsSync(r),i.linkSync(e,t)}}},5636:(e,t,n)=>{"use strict";const r=n(6928),o=n(3641),i=n(8386).pathExists;e.exports={symlinkPaths:function(e,t,n){if(r.isAbsolute(e))return o.lstat(e,(t=>t?(t.message=t.message.replace("lstat","ensureSymlink"),n(t)):n(null,{toCwd:e,toDst:e})));{const s=r.dirname(t),a=r.join(s,e);return i(a,((t,i)=>t?n(t):i?n(null,{toCwd:a,toDst:e}):o.lstat(e,(t=>t?(t.message=t.message.replace("lstat","ensureSymlink"),n(t)):n(null,{toCwd:e,toDst:r.relative(s,e)})))))}},symlinkPathsSync:function(e,t){let n;if(r.isAbsolute(e)){if(n=o.existsSync(e),!n)throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}{const i=r.dirname(t),s=r.join(i,e);if(n=o.existsSync(s),n)return{toCwd:s,toDst:e};if(n=o.existsSync(e),!n)throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:r.relative(i,e)}}}}},9638:(e,t,n)=>{"use strict";const r=n(3641);e.exports={symlinkType:function(e,t,n){if(n="function"==typeof t?t:n,t="function"!=typeof t&&t)return n(null,t);r.lstat(e,((e,r)=>{if(e)return n(null,"file");t=r&&r.isDirectory()?"dir":"file",n(null,t)}))},symlinkTypeSync:function(e,t){let n;if(t)return t;try{n=r.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}}},805:(e,t,n)=>{"use strict";const r=n(3410).fromCallback,o=n(6928),i=n(8903),s=n(5776),a=s.mkdirs,c=s.mkdirsSync,l=n(5636),u=l.symlinkPaths,d=l.symlinkPathsSync,g=n(9638),p=g.symlinkType,h=g.symlinkTypeSync,m=n(8386).pathExists,{areIdentical:f}=n(4440);function I(e,t,n,r){u(e,t,((s,c)=>{if(s)return r(s);e=c.toDst,p(c.toCwd,n,((n,s)=>{if(n)return r(n);const c=o.dirname(t);m(c,((n,o)=>n?r(n):o?i.symlink(e,t,s,r):void a(c,(n=>{if(n)return r(n);i.symlink(e,t,s,r)}))))}))}))}e.exports={createSymlink:r((function(e,t,n,r){r="function"==typeof n?n:r,n="function"!=typeof n&&n,i.lstat(t,((o,s)=>{!o&&s.isSymbolicLink()?Promise.all([i.stat(e),i.stat(t)]).then((([o,i])=>{if(f(o,i))return r(null);I(e,t,n,r)})):I(e,t,n,r)}))})),createSymlinkSync:function(e,t,n){let r;try{r=i.lstatSync(t)}catch{}if(r&&r.isSymbolicLink()){const n=i.statSync(e),r=i.statSync(t);if(f(n,r))return}const s=d(e,t);e=s.toDst,n=h(s.toCwd,n);const a=o.dirname(t);return i.existsSync(a)||c(a),i.symlinkSync(e,t,n)}}},8903:(e,t,n)=>{"use strict";const r=n(3410).fromCallback,o=n(3641),i=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter((e=>"function"==typeof o[e]));Object.assign(t,o),i.forEach((e=>{t[e]=r(o[e])})),t.exists=function(e,t){return"function"==typeof t?o.exists(e,t):new Promise((t=>o.exists(e,t)))},t.read=function(e,t,n,r,i,s){return"function"==typeof s?o.read(e,t,n,r,i,s):new Promise(((s,a)=>{o.read(e,t,n,r,i,((e,t,n)=>{if(e)return a(e);s({bytesRead:t,buffer:n})}))}))},t.write=function(e,t,...n){return"function"==typeof n[n.length-1]?o.write(e,t,...n):new Promise(((r,i)=>{o.write(e,t,...n,((e,t,n)=>{if(e)return i(e);r({bytesWritten:t,buffer:n})}))}))},"function"==typeof o.writev&&(t.writev=function(e,t,...n){return"function"==typeof n[n.length-1]?o.writev(e,t,...n):new Promise(((r,i)=>{o.writev(e,t,...n,((e,t,n)=>{if(e)return i(e);r({bytesWritten:t,buffers:n})}))}))}),"function"==typeof o.realpath.native?t.realpath.native=r(o.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")},115:(e,t,n)=>{"use strict";e.exports={...n(8903),...n(5925),...n(5721),...n(5850),...n(958),...n(5776),...n(6797),...n(9514),...n(8386),...n(8024)}},958:(e,t,n)=>{"use strict";const r=n(3410).fromPromise,o=n(2672);o.outputJson=r(n(4704)),o.outputJsonSync=n(6186),o.outputJSON=o.outputJson,o.outputJSONSync=o.outputJsonSync,o.writeJSON=o.writeJson,o.writeJSONSync=o.writeJsonSync,o.readJSON=o.readJson,o.readJSONSync=o.readJsonSync,e.exports=o},2672:(e,t,n)=>{"use strict";const r=n(1259);e.exports={readJson:r.readFile,readJsonSync:r.readFileSync,writeJson:r.writeFile,writeJsonSync:r.writeFileSync}},6186:(e,t,n)=>{"use strict";const{stringify:r}=n(7382),{outputFileSync:o}=n(9514);e.exports=function(e,t,n){const i=r(t,n);o(e,i,n)}},4704:(e,t,n)=>{"use strict";const{stringify:r}=n(7382),{outputFile:o}=n(9514);e.exports=async function(e,t,n={}){const i=r(t,n);await o(e,i,n)}},5776:(e,t,n)=>{"use strict";const r=n(3410).fromPromise,{makeDir:o,makeDirSync:i}=n(8110),s=r(o);e.exports={mkdirs:s,mkdirsSync:i,mkdirp:s,mkdirpSync:i,ensureDir:s,ensureDirSync:i}},8110:(e,t,n)=>{"use strict";const r=n(8903),{checkPath:o}=n(3161),i=e=>"number"==typeof e?e:{mode:511,...e}.mode;e.exports.makeDir=async(e,t)=>(o(e),r.mkdir(e,{mode:i(t),recursive:!0})),e.exports.makeDirSync=(e,t)=>(o(e),r.mkdirSync(e,{mode:i(t),recursive:!0}))},3161:(e,t,n)=>{"use strict";const r=n(6928);e.exports.checkPath=function(e){if("win32"===process.platform&&/[<>:"|?*]/.test(e.replace(r.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}},6797:(e,t,n)=>{"use strict";const r=n(3410).fromCallback;e.exports={move:r(n(6712)),moveSync:n(5986)}},5986:(e,t,n)=>{"use strict";const r=n(3641),o=n(6928),i=n(5925).copySync,s=n(8024).removeSync,a=n(5776).mkdirpSync,c=n(4440);function l(e,t,n){try{r.renameSync(e,t)}catch(r){if("EXDEV"!==r.code)throw r;return function(e,t,n){return i(e,t,{overwrite:n,errorOnExist:!0}),s(e)}(e,t,n)}}e.exports=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:u,isChangingCase:d=!1}=c.checkPathsSync(e,t,"move",n);return c.checkParentPathsSync(e,u,t,"move"),function(e){const t=o.dirname(e);return o.parse(t).root===t}(t)||a(o.dirname(t)),function(e,t,n,o){if(o)return l(e,t,n);if(n)return s(t),l(e,t,n);if(r.existsSync(t))throw new Error("dest already exists.");return l(e,t,n)}(e,t,i,d)}},6712:(e,t,n)=>{"use strict";const r=n(3641),o=n(6928),i=n(5925).copy,s=n(8024).remove,a=n(5776).mkdirp,c=n(8386).pathExists,l=n(4440);function u(e,t,n,r,o){return r?d(e,t,n,o):n?s(t,(r=>r?o(r):d(e,t,n,o))):void c(t,((r,i)=>r?o(r):i?o(new Error("dest already exists.")):d(e,t,n,o)))}function d(e,t,n,o){r.rename(e,t,(r=>r?"EXDEV"!==r.code?o(r):function(e,t,n,r){i(e,t,{overwrite:n,errorOnExist:!0},(t=>t?r(t):s(e,r)))}(e,t,n,o):o()))}e.exports=function(e,t,n,r){"function"==typeof n&&(r=n,n={});const i=(n=n||{}).overwrite||n.clobber||!1;l.checkPaths(e,t,"move",n,((n,s)=>{if(n)return r(n);const{srcStat:c,isChangingCase:d=!1}=s;l.checkParentPaths(e,c,t,"move",(n=>n?r(n):function(e){const t=o.dirname(e);return o.parse(t).root===t}(t)?u(e,t,i,d,r):void a(o.dirname(t),(n=>n?r(n):u(e,t,i,d,r)))))}))}},9514:(e,t,n)=>{"use strict";const r=n(3410).fromCallback,o=n(3641),i=n(6928),s=n(5776),a=n(8386).pathExists;e.exports={outputFile:r((function(e,t,n,r){"function"==typeof n&&(r=n,n="utf8");const c=i.dirname(e);a(c,((i,a)=>i?r(i):a?o.writeFile(e,t,n,r):void s.mkdirs(c,(i=>{if(i)return r(i);o.writeFile(e,t,n,r)}))))})),outputFileSync:function(e,...t){const n=i.dirname(e);if(o.existsSync(n))return o.writeFileSync(e,...t);s.mkdirsSync(n),o.writeFileSync(e,...t)}}},8386:(e,t,n)=>{"use strict";const r=n(3410).fromPromise,o=n(8903);e.exports={pathExists:r((function(e){return o.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:o.existsSync}},8024:(e,t,n)=>{"use strict";const r=n(3641),o=n(3410).fromCallback,i=n(4911);e.exports={remove:o((function(e,t){if(r.rm)return r.rm(e,{recursive:!0,force:!0},t);i(e,t)})),removeSync:function(e){if(r.rmSync)return r.rmSync(e,{recursive:!0,force:!0});i.sync(e)}}},4911:(e,t,n)=>{"use strict";const r=n(3641),o=n(6928),i=n(2613),s="win32"===process.platform;function a(e){["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((t=>{e[t]=e[t]||r[t],e[t+="Sync"]=e[t]||r[t]})),e.maxBusyTries=e.maxBusyTries||3}function c(e,t,n){let r=0;"function"==typeof t&&(n=t,t={}),i(e,"rimraf: missing path"),i.strictEqual(typeof e,"string","rimraf: path should be a string"),i.strictEqual(typeof n,"function","rimraf: callback function required"),i(t,"rimraf: invalid options argument provided"),i.strictEqual(typeof t,"object","rimraf: options should be object"),a(t),l(e,t,(function o(i){if(i){if(("EBUSY"===i.code||"ENOTEMPTY"===i.code||"EPERM"===i.code)&&r<t.maxBusyTries)return r++,setTimeout((()=>l(e,t,o)),100*r);"ENOENT"===i.code&&(i=null)}n(i)}))}function l(e,t,n){i(e),i(t),i("function"==typeof n),t.lstat(e,((r,o)=>r&&"ENOENT"===r.code?n(null):r&&"EPERM"===r.code&&s?u(e,t,r,n):o&&o.isDirectory()?g(e,t,r,n):void t.unlink(e,(r=>{if(r){if("ENOENT"===r.code)return n(null);if("EPERM"===r.code)return s?u(e,t,r,n):g(e,t,r,n);if("EISDIR"===r.code)return g(e,t,r,n)}return n(r)}))))}function u(e,t,n,r){i(e),i(t),i("function"==typeof r),t.chmod(e,438,(o=>{o?r("ENOENT"===o.code?null:n):t.stat(e,((o,i)=>{o?r("ENOENT"===o.code?null:n):i.isDirectory()?g(e,t,n,r):t.unlink(e,r)}))}))}function d(e,t,n){let r;i(e),i(t);try{t.chmodSync(e,438)}catch(e){if("ENOENT"===e.code)return;throw n}try{r=t.statSync(e)}catch(e){if("ENOENT"===e.code)return;throw n}r.isDirectory()?h(e,t,n):t.unlinkSync(e)}function g(e,t,n,r){i(e),i(t),i("function"==typeof r),t.rmdir(e,(s=>{!s||"ENOTEMPTY"!==s.code&&"EEXIST"!==s.code&&"EPERM"!==s.code?s&&"ENOTDIR"===s.code?r(n):r(s):function(e,t,n){i(e),i(t),i("function"==typeof n),t.readdir(e,((r,i)=>{if(r)return n(r);let s,a=i.length;if(0===a)return t.rmdir(e,n);i.forEach((r=>{c(o.join(e,r),t,(r=>{if(!s)return r?n(s=r):void(0==--a&&t.rmdir(e,n))}))}))}))}(e,t,r)}))}function p(e,t){let n;a(t=t||{}),i(e,"rimraf: missing path"),i.strictEqual(typeof e,"string","rimraf: path should be a string"),i(t,"rimraf: missing options"),i.strictEqual(typeof t,"object","rimraf: options should be object");try{n=t.lstatSync(e)}catch(n){if("ENOENT"===n.code)return;"EPERM"===n.code&&s&&d(e,t,n)}try{n&&n.isDirectory()?h(e,t,null):t.unlinkSync(e)}catch(n){if("ENOENT"===n.code)return;if("EPERM"===n.code)return s?d(e,t,n):h(e,t,n);if("EISDIR"!==n.code)throw n;h(e,t,n)}}function h(e,t,n){i(e),i(t);try{t.rmdirSync(e)}catch(r){if("ENOTDIR"===r.code)throw n;if("ENOTEMPTY"===r.code||"EEXIST"===r.code||"EPERM"===r.code)!function(e,t){if(i(e),i(t),t.readdirSync(e).forEach((n=>p(o.join(e,n),t))),!s)return t.rmdirSync(e,t);{const n=Date.now();do{try{return t.rmdirSync(e,t)}catch{}}while(Date.now()-n<500)}}(e,t);else if("ENOENT"!==r.code)throw r}}e.exports=c,c.sync=p},4440:(e,t,n)=>{"use strict";const r=n(8903),o=n(6928),i=n(9023);function s(e,t,n){const o=n.dereference?e=>r.stat(e,{bigint:!0}):e=>r.lstat(e,{bigint:!0});return Promise.all([o(e),o(t).catch((e=>{if("ENOENT"===e.code)return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}function a(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function c(e,t){const n=o.resolve(e).split(o.sep).filter((e=>e)),r=o.resolve(t).split(o.sep).filter((e=>e));return n.reduce(((e,t,n)=>e&&r[n]===t),!0)}function l(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}e.exports={checkPaths:function(e,t,n,r,u){i.callbackify(s)(e,t,r,((r,i)=>{if(r)return u(r);const{srcStat:s,destStat:d}=i;if(d){if(a(s,d)){const r=o.basename(e),i=o.basename(t);return"move"===n&&r!==i&&r.toLowerCase()===i.toLowerCase()?u(null,{srcStat:s,destStat:d,isChangingCase:!0}):u(new Error("Source and destination must not be the same."))}if(s.isDirectory()&&!d.isDirectory())return u(new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`));if(!s.isDirectory()&&d.isDirectory())return u(new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`))}return s.isDirectory()&&c(e,t)?u(new Error(l(e,t,n))):u(null,{srcStat:s,destStat:d})}))},checkPathsSync:function(e,t,n,i){const{srcStat:s,destStat:u}=function(e,t,n){let o;const i=n.dereference?e=>r.statSync(e,{bigint:!0}):e=>r.lstatSync(e,{bigint:!0}),s=i(e);try{o=i(t)}catch(e){if("ENOENT"===e.code)return{srcStat:s,destStat:null};throw e}return{srcStat:s,destStat:o}}(e,t,i);if(u){if(a(s,u)){const r=o.basename(e),i=o.basename(t);if("move"===n&&r!==i&&r.toLowerCase()===i.toLowerCase())return{srcStat:s,destStat:u,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!u.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&u.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&c(e,t))throw new Error(l(e,t,n));return{srcStat:s,destStat:u}},checkParentPaths:function e(t,n,i,s,c){const u=o.resolve(o.dirname(t)),d=o.resolve(o.dirname(i));if(d===u||d===o.parse(d).root)return c();r.stat(d,{bigint:!0},((r,o)=>r?"ENOENT"===r.code?c():c(r):a(n,o)?c(new Error(l(t,i,s))):e(t,n,d,s,c)))},checkParentPathsSync:function e(t,n,i,s){const c=o.resolve(o.dirname(t)),u=o.resolve(o.dirname(i));if(u===c||u===o.parse(u).root)return;let d;try{d=r.statSync(u,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(a(n,d))throw new Error(l(t,i,s));return e(t,n,u,s)},isSrcSubdir:c,areIdentical:a}},7213:(e,t,n)=>{"use strict";const r=n(3641);e.exports={utimesMillis:function(e,t,n,o){r.open(e,"r+",((e,i)=>{if(e)return o(e);r.futimes(i,t,n,(e=>{r.close(i,(t=>{o&&o(e||t)}))}))}))},utimesMillisSync:function(e,t,n){const o=r.openSync(e,"r+");return r.futimesSync(o,t,n),r.closeSync(o)}}},8529:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var n={__proto__:t(e)};else n=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})),n};var t=Object.getPrototypeOf||function(e){return e.__proto__}},3641:(e,t,n)=>{var r,o,i=n(9896),s=n(6672),a=n(8989),c=n(8529),l=n(9023);function u(e,t){Object.defineProperty(e,r,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(r=Symbol.for("graceful-fs.queue"),o=Symbol.for("graceful-fs.previous")):(r="___graceful-fs.queue",o="___graceful-fs.previous");var d,g=function(){};if(l.debuglog?g=l.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(g=function(){var e=l.format.apply(l,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!i[r]){var p=global[r]||[];u(i,p),i.close=function(e){function t(t,n){return e.call(i,t,(function(e){e||f(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,o,{value:e}),t}(i.close),i.closeSync=function(e){function t(t){e.apply(i,arguments),f()}return Object.defineProperty(t,o,{value:e}),t}(i.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){g(i[r]),n(2613).equal(i[r].length,0)}))}function h(e){s(e),e.gracefulify=h,e.createReadStream=function(t,n){return new e.ReadStream(t,n)},e.createWriteStream=function(t,n){return new e.WriteStream(t,n)};var t=e.readFile;e.readFile=function(e,n,r){return"function"==typeof n&&(r=n,n=null),function e(n,r,o,i){return t(n,r,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof o&&o.apply(this,arguments):m([e,[n,r,o],t,i||Date.now(),Date.now()])}))}(e,n,r)};var n=e.writeFile;e.writeFile=function(e,t,r,o){return"function"==typeof r&&(o=r,r=null),function e(t,r,o,i,s){return n(t,r,o,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof i&&i.apply(this,arguments):m([e,[t,r,o,i],n,s||Date.now(),Date.now()])}))}(e,t,r,o)};var r=e.appendFile;r&&(e.appendFile=function(e,t,n,o){return"function"==typeof n&&(o=n,n=null),function e(t,n,o,i,s){return r(t,n,o,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?"function"==typeof i&&i.apply(this,arguments):m([e,[t,n,o,i],r,s||Date.now(),Date.now()])}))}(e,t,n,o)});var o=e.copyFile;o&&(e.copyFile=function(e,t,n,r){return"function"==typeof n&&(r=n,n=0),function e(t,n,r,i,s){return o(t,n,r,(function(o){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof i&&i.apply(this,arguments):m([e,[t,n,r,i],o,s||Date.now(),Date.now()])}))}(e,t,n,r)});var i=e.readdir;e.readdir=function(e,t,n){"function"==typeof t&&(n=t,t=null);var r=c.test(process.version)?function(e,t,n,r){return i(e,o(e,t,n,r))}:function(e,t,n,r){return i(e,t,o(e,t,n,r))};return r(e,t,n);function o(e,t,n,o){return function(i,s){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?(s&&s.sort&&s.sort(),"function"==typeof n&&n.call(this,i,s)):m([r,[e,t,n],i,o||Date.now(),Date.now()])}}};var c=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var l=a(e);f=l.ReadStream,I=l.WriteStream}var u=e.ReadStream;u&&(f.prototype=Object.create(u.prototype),f.prototype.open=function(){var e=this;C(e.path,e.flags,e.mode,(function(t,n){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n),e.read())}))});var d=e.WriteStream;d&&(I.prototype=Object.create(d.prototype),I.prototype.open=function(){var e=this;C(e.path,e.flags,e.mode,(function(t,n){t?(e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return I},set:function(e){I=e},enumerable:!0,configurable:!0});var g=f;Object.defineProperty(e,"FileReadStream",{get:function(){return g},set:function(e){g=e},enumerable:!0,configurable:!0});var p=I;function f(e,t){return this instanceof f?(u.apply(this,arguments),this):f.apply(Object.create(f.prototype),arguments)}function I(e,t){return this instanceof I?(d.apply(this,arguments),this):I.apply(Object.create(I.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return p},set:function(e){p=e},enumerable:!0,configurable:!0});var b=e.open;function C(e,t,n,r){return"function"==typeof n&&(r=n,n=null),function e(t,n,r,o,i){return b(t,n,r,(function(s,a){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof o&&o.apply(this,arguments):m([e,[t,n,r,o],s,i||Date.now(),Date.now()])}))}(e,t,n,r)}return e.open=C,e}function m(e){g("ENQUEUE",e[0].name,e[1]),i[r].push(e),I()}function f(){for(var e=Date.now(),t=0;t<i[r].length;++t)i[r][t].length>2&&(i[r][t][3]=e,i[r][t][4]=e);I()}function I(){if(clearTimeout(d),d=void 0,0!==i[r].length){var e=i[r].shift(),t=e[0],n=e[1],o=e[2],s=e[3],a=e[4];if(void 0===s)g("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-s>=6e4){g("TIMEOUT",t.name,n);var c=n.pop();"function"==typeof c&&c.call(null,o)}else{var l=Date.now()-a,u=Math.max(a-s,1);l>=Math.min(1.2*u,100)?(g("RETRY",t.name,n),t.apply(null,n.concat([s]))):i[r].push(e)}void 0===d&&(d=setTimeout(I,0))}}global[r]||u(global,i[r]),e.exports=h(c(i)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!i.__patched&&(e.exports=h(i),i.__patched=!0)},8989:(e,t,n)=>{var r=n(2203).Stream;e.exports=function(e){return{ReadStream:function t(n,o){if(!(this instanceof t))return new t(n,o);r.call(this);var i=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,o=o||{};for(var s=Object.keys(o),a=0,c=s.length;a<c;a++){var l=s[a];this[l]=o[l]}if(this.encoding&&this.setEncoding(this.encoding),void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}null===this.fd?e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return i.emit("error",e),void(i.readable=!1);i.fd=t,i.emit("open",t),i._read()})):process.nextTick((function(){i._read()}))},WriteStream:function t(n,o){if(!(this instanceof t))return new t(n,o);r.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,o=o||{};for(var i=Object.keys(o),s=0,a=i.length;s<a;s++){var c=i[s];this[c]=o[c]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}},6672:(e,t,n)=>{var r=n(9140),o=process.cwd,i=null,s=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return i||(i=o.call(process)),i};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var a=process.chdir;process.chdir=function(e){i=null,a.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,a)}e.exports=function(e){function t(t){return t?function(n,r,o){return t.call(e,n,r,(function(e){l(e)&&(e=null),o&&o.apply(this,arguments)}))}:t}function n(t){return t?function(n,r){try{return t.call(e,n,r)}catch(e){if(!l(e))throw e}}:t}function o(t){return t?function(n,r,o,i){return t.call(e,n,r,o,(function(e){l(e)&&(e=null),i&&i.apply(this,arguments)}))}:t}function i(t){return t?function(n,r,o){try{return t.call(e,n,r,o)}catch(e){if(!l(e))throw e}}:t}function a(t){return t?function(n,r,o){function i(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),o&&o.apply(this,arguments)}return"function"==typeof r&&(o=r,r=null),r?t.call(e,n,r,i):t.call(e,n,i)}:t}function c(t){return t?function(n,r){var o=r?t.call(e,n,r):t.call(e,n);return o&&(o.uid<0&&(o.uid+=4294967296),o.gid<0&&(o.gid+=4294967296)),o}:t}function l(e){return!e||"ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code)}var u;r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,o){e.open(t,r.O_WRONLY|r.O_SYMLINK,n,(function(t,r){t?o&&o(t):e.fchmod(r,n,(function(t){e.close(r,(function(e){o&&o(t||e)}))}))}))},e.lchmodSync=function(t,n){var o,i=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,n),s=!0;try{o=e.fchmodSync(i,n),s=!1}finally{if(s)try{e.closeSync(i)}catch(e){}else e.closeSync(i)}return o}}(e),e.lutimes||function(e){r.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,o,i){e.open(t,r.O_SYMLINK,(function(t,r){t?i&&i(t):e.futimes(r,n,o,(function(t){e.close(r,(function(e){i&&i(t||e)}))}))}))},e.lutimesSync=function(t,n,o){var i,s=e.openSync(t,r.O_SYMLINK),a=!0;try{i=e.futimesSync(s,n,o),a=!1}finally{if(a)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return i}):e.futimes&&(e.lutimes=function(e,t,n,r){r&&process.nextTick(r)},e.lutimesSync=function(){})}(e),e.chown=o(e.chown),e.fchown=o(e.fchown),e.lchown=o(e.lchown),e.chmod=t(e.chmod),e.fchmod=t(e.fchmod),e.lchmod=t(e.lchmod),e.chownSync=i(e.chownSync),e.fchownSync=i(e.fchownSync),e.lchownSync=i(e.lchownSync),e.chmodSync=n(e.chmodSync),e.fchmodSync=n(e.fchmodSync),e.lchmodSync=n(e.lchmodSync),e.stat=a(e.stat),e.fstat=a(e.fstat),e.lstat=a(e.lstat),e.statSync=c(e.statSync),e.fstatSync=c(e.fstatSync),e.lstatSync=c(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(e,t,n,r){r&&process.nextTick(r)},e.lchownSync=function(){}),"win32"===s&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function n(n,r,o){var i=Date.now(),s=0;t(n,r,(function a(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-i<6e4)return setTimeout((function(){e.stat(r,(function(e,i){e&&"ENOENT"===e.code?t(n,r,a):o(c)}))}),s),void(s<100&&(s+=10));o&&o(c)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.rename)),e.read="function"!=typeof e.read?e.read:function(t){function n(n,r,o,i,s,a){var c;if(a&&"function"==typeof a){var l=0;c=function(u,d,g){if(u&&"EAGAIN"===u.code&&l<10)return l++,t.call(e,n,r,o,i,s,c);a.apply(this,arguments)}}return t.call(e,n,r,o,i,s,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.read),e.readSync="function"!=typeof e.readSync?e.readSync:(u=e.readSync,function(t,n,r,o,i){for(var s=0;;)try{return u.call(e,t,n,r,o,i)}catch(e){if("EAGAIN"===e.code&&s<10){s++;continue}throw e}})}},6690:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)}},4685:e=>{"use strict";const t={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||t,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new n(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new n(this.logger,e)}}var r=new n;class o{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,o]=t;for(let t=0;t<o;t++)r.apply(r,[e,...n])}))}}function i(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function s(e){return null==e?"":""+e}const a=/###/g;function c(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(a,"."):e}function o(){return!e||"string"==typeof e}const i="string"!=typeof t?t:t.split(".");let s=0;for(;s<i.length-1;){if(o())return{};const t=r(i[s]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++s}return o()?{}:{obj:e,k:r(i[s])}}function l(e,t,n){const{obj:r,k:o}=c(e,t,Object);if(void 0!==r||1===t.length)return void(r[o]=n);let i=t[t.length-1],s=t.slice(0,t.length-1),a=c(e,s,Object);for(;void 0===a.obj&&s.length;)i=`${s[s.length-1]}.${i}`,s=s.slice(0,s.length-1),a=c(e,s,Object),a&&a.obj&&void 0!==a.obj[`${a.k}.${i}`]&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=n}function u(e,t){const{obj:n,k:r}=c(e,t);if(n)return n[r]}function d(e,t,n){for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):d(e[r],t[r],n):e[r]=t[r]);return e}function g(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function h(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>p[e])):e}const m=[" ",",","?","!",";"],f=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20);function I(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let o=e;for(let e=0;e<r.length;){if(!o||"object"!=typeof o)return;let t,i="";for(let s=e;s<r.length;++s)if(s!==e&&(i+=n),i+=r[s],t=o[i],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&s<r.length-1)continue;e+=s-e+1;break}o=t}return o}function b(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class C extends o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,t],n&&(Array.isArray(n)?s.push(...n):"string"==typeof n&&o?s.push(...n.split(o)):s.push(n)));const a=u(this.data,s);return!a&&!t&&!n&&e.indexOf(".")>-1&&(e=s[0],t=s[1],n=s.slice(2).join(".")),a||!i||"string"!=typeof n?a:I(this.data&&this.data[e]&&this.data[e][t],n,o)}addResource(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let s=[e,t];n&&(s=s.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(s=e.split("."),r=t,t=s[1]),this.addNamespaces(t),l(this.data,s,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)"string"!=typeof n[r]&&"[object Array]"!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),r=n,n=t,t=s[1]),this.addNamespaces(t);let a=u(this.data,s)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?d(a,n,o):a={...a,...n},l(this.data,s,a),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var y={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,o))})),t}};const v={};class A extends o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,o;super(),n=e,o=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{n[e]&&(o[e]=n[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=r.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const i=n&&e.indexOf(n)>-1,s=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";const r=m.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const o=f.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let i=!o.test(e);if(!i){const t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i}(e,n,r));if(i&&!s){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:o};const i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(e[e.length-1],t),a=s[s.length-1],c=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${a}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:`${a}${e}${i}`}return r?{res:i,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:i}const u=this.resolve(e,t);let d=u&&u.res;const g=u&&u.usedKey||i,p=u&&u.exactUsedKey||i,h=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,f=!this.i18nFormat||this.i18nFormat.handleAsObject;if(f&&d&&"string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&("string"!=typeof m||"[object Array]"!==h)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,d,{...t,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(o){const e="[object Array]"===h,n=e?[]:{},r=e?p:g;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const i=`${r}${o}${e}`;n[e]=this.translate(i,{...t,joinArrays:!1,ns:s}),n[e]===i&&(n[e]=d[e])}d=n}}else if(f&&"string"==typeof m&&"[object Array]"===h)d=d.join(m),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,s=!1;const l=void 0!==t.count&&"string"!=typeof t.count,g=A.hasDefaultValue(t),p=l?this.pluralResolver.getSuffix(c,t.count,t):"",h=t.ordinal&&l?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",m=l&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),f=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&g&&(r=!0,d=f),this.isValidLookup(d)||(s=!0,d=i);const I=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:d,b=g&&f!==d&&this.options.updateMissing;if(s||r||b){if(this.logger.log(b?"updateKey":"missingKey",c,a,i,b?f:d),o){const e=this.resolve(i,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const o=g&&r!==d?r:I;this.options.missingKeyHandler?this.options.missingKeyHandler(e,a,n,o,b,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,a,n,o,b,t),this.emit("missingKey",e,a,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],i+n,t[`defaultValue${n}`]||f)}))})):r(e,i,f))}d=this.extendTranslation(d,e,t,u,n),s&&d===i&&this.options.appendNamespaceToMissingKey&&(d=`${a}:${i}`),(s||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${i}`:i,r?d:void 0):this.options.parseMissingKeyHandler(d))}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(s){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];return o&&o[0]===r[0]&&!n.context?(i.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):i.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const s=n.postProcess||this.options.postProcess,a="string"==typeof s?[s]:s;return null!=e&&a&&a.length&&!1!==n.applyPostProcessor&&(e=y.handle(a,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,o,i,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const a=this.extractFromKey(e,s),c=a.key;n=c;let l=a.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const u=void 0!==s.count&&"string"!=typeof s.count,d=u&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),g=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);l.forEach((e=>{this.isValidLookup(t)||(i=e,!v[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(v[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((n=>{if(this.isValidLookup(t))return;o=n;const i=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,c,n,e,s);else{let e;u&&(e=this.pluralResolver.getSuffix(n,s.count,s));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.push(c+e),s.ordinal&&0===e.indexOf(r)&&i.push(c+e.replace(r,this.options.pluralSeparator)),d&&i.push(c+t)),g){const n=`${c}${this.options.contextSeparator}${s.context}`;i.push(n),u&&(i.push(n+e),s.ordinal&&0===e.indexOf(r)&&i.push(n+e.replace(r,this.options.pluralSeparator)),d&&i.push(n+t))}}let a;for(;a=i.pop();)this.isValidLookup(t)||(r=a,t=this.getResource(n,e,a,s))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}function G(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Z{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=r.create("languageUtils")}getScriptPartFromCode(e){if(!(e=b(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=b(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=G(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=G(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=G(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&o(this.formatLanguageCode(e))})),r}}let B=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],S={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const w=["v1","v2","v3"],R=["v4"],W={zero:0,one:1,two:2,few:3,many:4,other:5};class N{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=r.create("pluralResolver"),this.options.compatibilityJSON&&!R.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return B.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:S[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(b("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>W[e]-W[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!w.includes(this.options.compatibilityJSON)}}function V(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=function(e,t,n){const r=u(e,n);return void 0!==r?r:u(t,n)}(e,t,n);return!i&&o&&"string"==typeof n&&(i=I(e,n,r),void 0===i&&(i=I(t,n,r))),i}class _{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=r.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const t=e.interpolation;this.escape=void 0!==t.escape?t.escape:h,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?g(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?g(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?g(t.nestingPrefix):t.nestingPrefixEscaped||g("$t("),this.nestingSuffix=t.nestingSuffix?g(t.nestingSuffix):t.nestingSuffixEscaped||g(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let o,i,a;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}const u=e=>{if(e.indexOf(this.formatSeparator)<0){const o=V(t,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...t,interpolationkey:e}):o}const o=e.split(this.formatSeparator),i=o.shift().trim(),s=o.join(this.formatSeparator).trim();return this.format(V(t,c,i,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...r,...t,interpolationkey:i})};this.resetRegExp();const d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,g=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>l(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?l(this.escape(e)):l(e)}].forEach((t=>{for(a=0;o=t.regex.exec(e);){const n=o[1].trim();if(i=u(n),void 0===i)if("function"==typeof d){const t=d(e,o,r);i="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(g){i=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),i=""}else"string"==typeof i||this.useRawValueToEscape||(i=s(i));const c=t.safeValue(i);if(e=e.replace(o[0],c),g?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;e=r[0],i=this.interpolate(i,o);const s=i.match(/'/g),a=i.match(/"/g);(s&&s.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let c=[];o={...i},o=o.replace&&"string"!=typeof o.replace?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),c=e,l=!0}if(r=t(a.call(this,n[1].trim(),o),o),r&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=s(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=c.reduce(((e,t)=>this.format(e,t,i.lng,{...i,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function k(e){const t={};return function(n,r,o){const i=r+JSON.stringify(o);let s=t[i];return s||(s=e(b(r),o),t[i]=s),s(n)}}class E{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=r.create("formatter"),this.options=e,this.formats={number:k(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:k(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:k(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:k(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:k(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=k(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:o,formatOptions:i}=function(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((e=>{if(!e)return;const[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=o),"false"===o&&(n[t.trim()]=!1),"true"===o&&(n[t.trim()]=!0),isNaN(o)||(n[t.trim()]=parseInt(o,10))}))}return{formatName:t,formatOptions:n}}(t);if(this.formats[o]){let t=e;try{const s=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},a=s.locale||s.lng||r.locale||r.lng||n;t=this.formats[o](e,a,{...i,...r,...s})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e}),e)}}class H extends o{constructor(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=o,this.logger=r.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,o.backend,o)}queueLoad(e,t,n,r){const o={},i={},s={},a={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const s=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===i[s]&&(i[s]=!0):(this.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===a[t]&&(a[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(a)}}loaded(e,t,n){const r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const s={};this.queue.forEach((n=>{!function(e,t,n,r){const{obj:o,k:i}=c(e,t,Object);o[i]=o[i]||[],o[i].push(n)}(n.loaded,[o],i),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{s[e]||(s[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===s[e][t]&&(s[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",s),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:i});this.readingCalls++;const s=(s,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}s&&a&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*o,i)}),o):i(s,a)},a=this.backend[n].bind(this.backend);if(2!==a.length)return a(e,t,s);try{const n=a(e,t);n&&"function"==typeof n.then?n.then((e=>s(null,e))).catch(s):s(null,n)}catch(e){s(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,((n,i)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,i),this.loaded(e,n,i)}))}saveMissing(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const a={...i,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let o;o=5===c.length?c(e,t,n,r,a):c(e,t,n,r),o&&"function"==typeof o.then?o.then((e=>s(null,e))).catch(s):s(null,o)}catch(e){s(e)}else c(e,t,n,r,s,a)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function F(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Y(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function X(){}class T extends o{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=Y(e),this.services={},this.logger=r,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const o=F();function s(e){return e?"function"==typeof e?new e:e:null}if(this.options={...o,...this.options,...Y(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?r.init(s(this.modules.logger),this.options):r.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=E);const n=new Z(this.options);this.store=new C(this.options.resources,this.options);const i=this.services;i.logger=r,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new N(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(i.formatter=s(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new _(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new H(s(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)})),this.modules.languageDetector&&(i.languageDetector=s(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=s(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new A(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=X),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const a=i(),c=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),a}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=i();return e||(e=this.languages),t||(t=this.options.ns),n||(n=X),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&y.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=i();this.emit("languageChanging",e);const o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},s=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{s(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const o=function(e,t){let i;if("object"!=typeof t){for(var s=arguments.length,a=new Array(s>2?s-2:0),c=2;c<s;c++)a[c-2]=arguments[c];i=r.options.overloadTranslationOptionHandler([e,t].concat(a))}else i={...t};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,i.keyPrefix=i.keyPrefix||n||o.keyPrefix;const l=r.options.keySeparator||".";let u;return u=i.keyPrefix&&Array.isArray(e)?e.map((e=>`${i.keyPrefix}${l}${e}`)):i.keyPrefix?`${i.keyPrefix}${l}${e}`:e,r.t(u,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(n,e)||r&&!i(o,e)))}loadNamespaces(e,t){const n=i();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=i();"string"==typeof e&&(e=[e]);const r=this.options.preload||[],o=e.filter((e=>r.indexOf(e)<0));return o.length?(this.options.preload=r.concat(o),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new Z(F());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new T(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},o=new T(r);return void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e)),["store","services","language"].forEach((e=>{o[e]=this[e]})),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new C(this.store.data,r),o.services.resourceStore=o.store),o.translator=new A(o.services,r),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit(e,...n)})),o.init(r,t),o.translator.options=r,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const x=T.createInstance();x.createInstance=T.createInstance,e.exports=x},7040:(e,t,n)=>{"use strict";var r=n(2609),o=n(2927);function i(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=n(5626),e.exports.Schema=n(5773),e.exports.FAILSAFE_SCHEMA=n(1521),e.exports.JSON_SCHEMA=n(1822),e.exports.CORE_SCHEMA=n(9211),e.exports.DEFAULT_SCHEMA=n(3055),e.exports.load=r.load,e.exports.loadAll=r.loadAll,e.exports.dump=o.dump,e.exports.YAMLException=n(7709),e.exports.types={binary:n(8008),float:n(6191),map:n(4635),null:n(1136),pairs:n(2872),set:n(6293),timestamp:n(1493),bool:n(7113),int:n(672),merge:n(7117),omap:n(124),seq:n(8154),str:n(7438)},e.exports.safeLoad=i("safeLoad","load"),e.exports.safeLoadAll=i("safeLoadAll","loadAll"),e.exports.safeDump=i("safeDump","dump")},5991:e=>{"use strict";function t(e){return null==e}e.exports.isNothing=t,e.exports.isObject=function(e){return"object"==typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:t(e)?[]:[e]},e.exports.repeat=function(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},e.exports.extend=function(e,t){var n,r,o,i;if(t)for(n=0,r=(i=Object.keys(t)).length;n<r;n+=1)e[o=i[n]]=t[o];return e}},2927:(e,t,n)=>{"use strict";var r=n(5991),o=n(7709),i=n(3055),s=Object.prototype.toString,a=Object.prototype.hasOwnProperty,c=65279,l=9,u=10,d=13,g=32,p=33,h=34,m=35,f=37,I=38,b=39,C=42,y=44,v=45,A=58,G=61,Z=62,B=63,S=64,w=91,R=93,W=96,N=123,V=124,_=125,k={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},E=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],H=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function F(e){var t,n,i;if(t=e.toString(16).toUpperCase(),e<=255)n="x",i=2;else if(e<=65535)n="u",i=4;else{if(!(e<=4294967295))throw new o("code point within a string may not be greater than 0xFFFFFFFF");n="U",i=8}return"\\"+n+r.repeat("0",i-t.length)+t}var Y=2;function X(e){this.schema=e.schema||i,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=r.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,o,i,s,c,l;if(null===t)return{};for(n={},o=0,i=(r=Object.keys(t)).length;o<i;o+=1)s=r[o],c=String(t[s]),"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2)),(l=e.compiledTypeMap.fallback[s])&&a.call(l.styleAliases,c)&&(c=l.styleAliases[c]),n[s]=c;return n}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?Y:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function T(e,t){for(var n,o=r.repeat(" ",t),i=0,s=-1,a="",c=e.length;i<c;)-1===(s=e.indexOf("\n",i))?(n=e.slice(i),i=c):(n=e.slice(i,s+1),i=s+1),n.length&&"\n"!==n&&(a+=o),a+=n;return a}function x(e,t){return"\n"+r.repeat(" ",e.indent*t)}function K(e){return e===g||e===l}function L(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&e!==c||65536<=e&&e<=1114111}function U(e){return L(e)&&e!==c&&e!==d&&e!==u}function O(e,t,n){var r=U(e),o=r&&!K(e);return(n?r:r&&e!==y&&e!==w&&e!==R&&e!==N&&e!==_)&&e!==m&&!(t===A&&!o)||U(t)&&!K(t)&&e===m||t===A&&o}function J(e,t){var n,r=e.charCodeAt(t);return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1))>=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function z(e){return/^\n* /.test(e)}var M=1,j=2,P=3,D=4,Q=5;function $(e,t,n,r,i){e.dump=function(){if(0===t.length)return e.quotingType===Y?'""':"''";if(!e.noCompatMode&&(-1!==E.indexOf(t)||H.test(t)))return e.quotingType===Y?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),l=r||e.flowLevel>-1&&n>=e.flowLevel;switch(function(e,t,n,r,o,i,s,a){var l,d,g=0,k=null,E=!1,H=!1,F=-1!==r,X=-1,T=L(d=J(e,0))&&d!==c&&!K(d)&&d!==v&&d!==B&&d!==A&&d!==y&&d!==w&&d!==R&&d!==N&&d!==_&&d!==m&&d!==I&&d!==C&&d!==p&&d!==V&&d!==G&&d!==Z&&d!==b&&d!==h&&d!==f&&d!==S&&d!==W&&function(e){return!K(e)&&e!==A}(J(e,e.length-1));if(t||s)for(l=0;l<e.length;g>=65536?l+=2:l++){if(!L(g=J(e,l)))return Q;T=T&&O(g,k,a),k=g}else{for(l=0;l<e.length;g>=65536?l+=2:l++){if((g=J(e,l))===u)E=!0,F&&(H=H||l-X-1>r&&" "!==e[X+1],X=l);else if(!L(g))return Q;T=T&&O(g,k,a),k=g}H=H||F&&l-X-1>r&&" "!==e[X+1]}return E||H?n>9&&z(e)?Q:s?i===Y?Q:j:H?D:P:!T||s||o(e)?i===Y?Q:j:M}(t,l,e.indent,a,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)}),e.quotingType,e.forceQuotes&&!r,i)){case M:return t;case j:return"'"+t.replace(/'/g,"''")+"'";case P:return"|"+q(t,e.indent)+ee(T(t,s));case D:return">"+q(t,e.indent)+ee(T(function(e,t){for(var n,r,o,i=/(\n+)([^\n]*)/g,s=(o=-1!==(o=e.indexOf("\n"))?o:e.length,i.lastIndex=o,te(e.slice(0,o),t)),a="\n"===e[0]||" "===e[0];r=i.exec(e);){var c=r[1],l=r[2];n=" "===l[0],s+=c+(a||n||""===l?"":"\n")+te(l,t),a=n}return s}(t,a),s));case Q:return'"'+function(e){for(var t,n="",r=0,o=0;o<e.length;r>=65536?o+=2:o++)r=J(e,o),!(t=k[r])&&L(r)?(n+=e[o],r>=65536&&(n+=e[o+1])):n+=t||F(r);return n}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function q(e,t){var n=z(e)?String(t):"",r="\n"===e[e.length-1];return n+(!r||"\n"!==e[e.length-2]&&"\n"!==e?r?"":"-":"+")+"\n"}function ee(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function te(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,i=0,s=0,a=0,c="";n=o.exec(e);)(a=n.index)-i>t&&(r=s>i?s:a,c+="\n"+e.slice(i,r),i=r+1),s=a;return c+="\n",e.length-i>t&&s>i?c+=e.slice(i,s)+"\n"+e.slice(s+1):c+=e.slice(i),c.slice(1)}function ne(e,t,n,r){var o,i,s,a="",c=e.tag;for(o=0,i=n.length;o<i;o+=1)s=n[o],e.replacer&&(s=e.replacer.call(n,String(o),s)),(oe(e,t+1,s,!0,!0,!1,!0)||void 0===s&&oe(e,t+1,null,!0,!0,!1,!0))&&(r&&""===a||(a+=x(e,t)),e.dump&&u===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=c,e.dump=a||"[]"}function re(e,t,n){var r,i,c,l,u,d;for(c=0,l=(i=n?e.explicitTypes:e.implicitTypes).length;c<l;c+=1)if(((u=i[c]).instanceOf||u.predicate)&&(!u.instanceOf||"object"==typeof t&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(n?u.multi&&u.representName?e.tag=u.representName(t):e.tag=u.tag:e.tag="?",u.represent){if(d=e.styleMap[u.tag]||u.defaultStyle,"[object Function]"===s.call(u.represent))r=u.represent(t,d);else{if(!a.call(u.represent,d))throw new o("!<"+u.tag+'> tag resolver accepts not "'+d+'" style');r=u.represent[d](t,d)}e.dump=r}return!0}return!1}function oe(e,t,n,r,i,a,c){e.tag=null,e.dump=n,re(e,n,!1)||re(e,n,!0);var l,d=s.call(e.dump),g=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var p,h,m="[object Object]"===d||"[object Array]"===d;if(m&&(h=-1!==(p=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||h||2!==e.indent&&t>0)&&(i=!1),h&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(m&&h&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===d)r&&0!==Object.keys(e.dump).length?(function(e,t,n,r){var i,s,a,c,l,d,g="",p=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(i=0,s=h.length;i<s;i+=1)d="",r&&""===g||(d+=x(e,t)),c=n[a=h[i]],e.replacer&&(c=e.replacer.call(n,a,c)),oe(e,t+1,a,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&u===e.dump.charCodeAt(0)?d+="?":d+="? "),d+=e.dump,l&&(d+=x(e,t)),oe(e,t+1,c,!0,l)&&(e.dump&&u===e.dump.charCodeAt(0)?d+=":":d+=": ",g+=d+=e.dump));e.tag=p,e.dump=g||"{}"}(e,t,e.dump,i),h&&(e.dump="&ref_"+p+e.dump)):(function(e,t,n){var r,o,i,s,a,c="",l=e.tag,u=Object.keys(n);for(r=0,o=u.length;r<o;r+=1)a="",""!==c&&(a+=", "),e.condenseFlow&&(a+='"'),s=n[i=u[r]],e.replacer&&(s=e.replacer.call(n,i,s)),oe(e,t,i,!1,!1)&&(e.dump.length>1024&&(a+="? "),a+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),oe(e,t,s,!1,!1)&&(c+=a+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),h&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===d)r&&0!==e.dump.length?(e.noArrayIndent&&!c&&t>0?ne(e,t-1,e.dump,i):ne(e,t,e.dump,i),h&&(e.dump="&ref_"+p+e.dump)):(function(e,t,n){var r,o,i,s="",a=e.tag;for(r=0,o=n.length;r<o;r+=1)i=n[r],e.replacer&&(i=e.replacer.call(n,String(r),i)),(oe(e,t,i,!1,!1)||void 0===i&&oe(e,t,null,!1,!1))&&(""!==s&&(s+=","+(e.condenseFlow?"":" ")),s+=e.dump);e.tag=a,e.dump="["+s+"]"}(e,t,e.dump),h&&(e.dump="&ref_"+p+" "+e.dump));else{if("[object String]"!==d){if("[object Undefined]"===d)return!1;if(e.skipInvalid)return!1;throw new o("unacceptable kind of an object to dump "+d)}"?"!==e.tag&&$(e,e.dump,t,a,g)}null!==e.tag&&"?"!==e.tag&&(l=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),l="!"===e.tag[0]?"!"+l:"tag:yaml.org,2002:"===l.slice(0,18)?"!!"+l.slice(18):"!<"+l+">",e.dump=l+" "+e.dump)}return!0}function ie(e,t){var n,r,o=[],i=[];for(se(e,o,i),n=0,r=i.length;n<r;n+=1)t.duplicates.push(o[i[n]]);t.usedDuplicates=new Array(r)}function se(e,t,n){var r,o,i;if(null!==e&&"object"==typeof e)if(-1!==(o=t.indexOf(e)))-1===n.indexOf(o)&&n.push(o);else if(t.push(e),Array.isArray(e))for(o=0,i=e.length;o<i;o+=1)se(e[o],t,n);else for(o=0,i=(r=Object.keys(e)).length;o<i;o+=1)se(e[r[o]],t,n)}e.exports.dump=function(e,t){var n=new X(t=t||{});n.noRefs||ie(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},"",r)),oe(n,0,r,!0,!0)?n.dump+"\n":""}},7709:e=>{"use strict";function t(e,t){var n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+="\n\n"+e.mark.snippet),r+" "+n):r}function n(e,n){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=n,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(e){return this.name+": "+t(this,e)},e.exports=n},2609:(e,t,n)=>{"use strict";var r=n(5991),o=n(7709),i=n(837),s=n(3055),a=Object.prototype.hasOwnProperty,c=1,l=2,u=3,d=4,g=1,p=2,h=3,m=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[\x85\u2028\u2029]/,I=/[,\[\]\{\}]/,b=/^(?:!|!!|![a-z\-]+!)$/i,C=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function y(e){return Object.prototype.toString.call(e)}function v(e){return 10===e||13===e}function A(e){return 9===e||32===e}function G(e){return 9===e||32===e||10===e||13===e}function Z(e){return 44===e||91===e||93===e||123===e||125===e}function B(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function S(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function w(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var R=new Array(256),W=new Array(256),N=0;N<256;N++)R[N]=S(N)?1:0,W[N]=S(N);function V(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function _(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=i(n),new o(t,n)}function k(e,t){throw _(e,t)}function E(e,t){e.onWarning&&e.onWarning.call(null,_(e,t))}var H={YAML:function(e,t,n){var r,o,i;null!==e.version&&k(e,"duplication of %YAML directive"),1!==n.length&&k(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&k(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),i=parseInt(r[2],10),1!==o&&k(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&E(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&k(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],b.test(r)||k(e,"ill-formed tag handle (first argument) of the TAG directive"),a.call(e.tagMap,r)&&k(e,'there is a previously declared suffix for "'+r+'" tag handle'),C.test(o)||k(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(t){k(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function F(e,t,n,r){var o,i,s,a;if(t<n){if(a=e.input.slice(t,n),r)for(o=0,i=a.length;o<i;o+=1)9===(s=a.charCodeAt(o))||32<=s&&s<=1114111||k(e,"expected valid JSON character");else m.test(a)&&k(e,"the stream contains non-printable characters");e.result+=a}}function Y(e,t,n,o){var i,s,c,l;for(r.isObject(n)||k(e,"cannot merge mappings; the provided source object is unacceptable"),c=0,l=(i=Object.keys(n)).length;c<l;c+=1)s=i[c],a.call(t,s)||(t[s]=n[s],o[s]=!0)}function X(e,t,n,r,o,i,s,c,l){var u,d;if(Array.isArray(o))for(u=0,d=(o=Array.prototype.slice.call(o)).length;u<d;u+=1)Array.isArray(o[u])&&k(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===y(o[u])&&(o[u]="[object Object]");if("object"==typeof o&&"[object Object]"===y(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(i))for(u=0,d=i.length;u<d;u+=1)Y(e,t,i[u],n);else Y(e,t,i,n);else e.json||a.call(n,o)||!a.call(t,o)||(e.line=s||e.line,e.lineStart=c||e.lineStart,e.position=l||e.position,k(e,"duplicated mapping key")),"__proto__"===o?Object.defineProperty(t,o,{configurable:!0,enumerable:!0,writable:!0,value:i}):t[o]=i,delete n[o];return t}function T(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):k(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function x(e,t,n){for(var r=0,o=e.input.charCodeAt(e.position);0!==o;){for(;A(o);)9===o&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),o=e.input.charCodeAt(++e.position);if(t&&35===o)do{o=e.input.charCodeAt(++e.position)}while(10!==o&&13!==o&&0!==o);if(!v(o))break;for(T(e),o=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&E(e,"deficient indentation"),r}function K(e){var t,n=e.position;return!(45!==(t=e.input.charCodeAt(n))&&46!==t||t!==e.input.charCodeAt(n+1)||t!==e.input.charCodeAt(n+2)||(n+=3,0!==(t=e.input.charCodeAt(n))&&!G(t)))}function L(e,t){1===t?e.result+=" ":t>1&&(e.result+=r.repeat("\n",t-1))}function U(e,t){var n,r,o=e.tag,i=e.anchor,s=[],a=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,k(e,"tab characters must not be used in indentation")),45===r)&&G(e.input.charCodeAt(e.position+1));)if(a=!0,e.position++,x(e,!0,-1)&&e.lineIndent<=t)s.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,z(e,t,u,!1,!0),s.push(e.result),x(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)k(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!a&&(e.tag=o,e.anchor=i,e.kind="sequence",e.result=s,!0)}function O(e){var t,n,r,o,i=!1,s=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&k(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(i=!0,o=e.input.charCodeAt(++e.position)):33===o?(s=!0,n="!!",o=e.input.charCodeAt(++e.position)):n="!",t=e.position,i){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&62!==o);e.position<e.length?(r=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):k(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!G(o);)33===o&&(s?k(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),b.test(n)||k(e,"named tag handle cannot contain such characters"),s=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),I.test(r)&&k(e,"tag suffix cannot contain flow indicator characters")}r&&!C.test(r)&&k(e,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(t){k(e,"tag name is malformed: "+r)}return i?e.tag=r:a.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:k(e,'undeclared tag handle "'+n+'"'),!0}function J(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&k(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!G(n)&&!Z(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&k(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function z(e,t,n,o,i){var s,m,f,I,b,C,y,S,N,V=1,_=!1,E=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=m=f=d===n||u===n,o&&x(e,!0,-1)&&(_=!0,e.lineIndent>t?V=1:e.lineIndent===t?V=0:e.lineIndent<t&&(V=-1)),1===V)for(;O(e)||J(e);)x(e,!0,-1)?(_=!0,f=s,e.lineIndent>t?V=1:e.lineIndent===t?V=0:e.lineIndent<t&&(V=-1)):f=!1;if(f&&(f=_||i),1!==V&&d!==n||(S=c===n||l===n?t:t+1,N=e.position-e.lineStart,1===V?f&&(U(e,N)||function(e,t,n){var r,o,i,s,a,c,u,g=e.tag,p=e.anchor,h={},m=Object.create(null),f=null,I=null,b=null,C=!1,y=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=h),u=e.input.charCodeAt(e.position);0!==u;){if(C||-1===e.firstTabInLine||(e.position=e.firstTabInLine,k(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),i=e.line,63!==u&&58!==u||!G(r)){if(s=e.line,a=e.lineStart,c=e.position,!z(e,n,l,!1,!0))break;if(e.line===i){for(u=e.input.charCodeAt(e.position);A(u);)u=e.input.charCodeAt(++e.position);if(58===u)G(u=e.input.charCodeAt(++e.position))||k(e,"a whitespace character is expected after the key-value separator within a block mapping"),C&&(X(e,h,m,f,I,null,s,a,c),f=I=b=null),y=!0,C=!1,o=!1,f=e.tag,I=e.result;else{if(!y)return e.tag=g,e.anchor=p,!0;k(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=g,e.anchor=p,!0;k(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===u?(C&&(X(e,h,m,f,I,null,s,a,c),f=I=b=null),y=!0,C=!0,o=!0):C?(C=!1,o=!0):k(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,u=r;if((e.line===i||e.lineIndent>t)&&(C&&(s=e.line,a=e.lineStart,c=e.position),z(e,t,d,!0,o)&&(C?I=e.result:b=e.result),C||(X(e,h,m,f,I,b,s,a,c),f=I=b=null),x(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&0!==u)k(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return C&&X(e,h,m,f,I,null,s,a,c),y&&(e.tag=g,e.anchor=p,e.kind="mapping",e.result=h),y}(e,N,S))||function(e,t){var n,r,o,i,s,a,l,u,d,g,p,h,m=!0,f=e.tag,I=e.anchor,b=Object.create(null);if(91===(h=e.input.charCodeAt(e.position)))s=93,u=!1,i=[];else{if(123!==h)return!1;s=125,u=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),h=e.input.charCodeAt(++e.position);0!==h;){if(x(e,!0,t),(h=e.input.charCodeAt(e.position))===s)return e.position++,e.tag=f,e.anchor=I,e.kind=u?"mapping":"sequence",e.result=i,!0;m?44===h&&k(e,"expected the node content, but found ','"):k(e,"missed comma between flow collection entries"),p=null,a=l=!1,63===h&&G(e.input.charCodeAt(e.position+1))&&(a=l=!0,e.position++,x(e,!0,t)),n=e.line,r=e.lineStart,o=e.position,z(e,t,c,!1,!0),g=e.tag,d=e.result,x(e,!0,t),h=e.input.charCodeAt(e.position),!l&&e.line!==n||58!==h||(a=!0,h=e.input.charCodeAt(++e.position),x(e,!0,t),z(e,t,c,!1,!0),p=e.result),u?X(e,i,b,g,d,p,n,r,o):a?i.push(X(e,null,b,g,d,p,n,r,o)):i.push(d),x(e,!0,t),44===(h=e.input.charCodeAt(e.position))?(m=!0,h=e.input.charCodeAt(++e.position)):m=!1}k(e,"unexpected end of the stream within a flow collection")}(e,S)?E=!0:(m&&function(e,t){var n,o,i,s,a,c=g,l=!1,u=!1,d=t,m=0,f=!1;if(124===(s=e.input.charCodeAt(e.position)))o=!1;else{if(62!==s)return!1;o=!0}for(e.kind="scalar",e.result="";0!==s;)if(43===(s=e.input.charCodeAt(++e.position))||45===s)g===c?c=43===s?h:p:k(e,"repeat of a chomping mode identifier");else{if(!((i=48<=(a=s)&&a<=57?a-48:-1)>=0))break;0===i?k(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?k(e,"repeat of an indentation width identifier"):(d=t+i-1,u=!0)}if(A(s)){do{s=e.input.charCodeAt(++e.position)}while(A(s));if(35===s)do{s=e.input.charCodeAt(++e.position)}while(!v(s)&&0!==s)}for(;0!==s;){for(T(e),e.lineIndent=0,s=e.input.charCodeAt(e.position);(!u||e.lineIndent<d)&&32===s;)e.lineIndent++,s=e.input.charCodeAt(++e.position);if(!u&&e.lineIndent>d&&(d=e.lineIndent),v(s))m++;else{if(e.lineIndent<d){c===h?e.result+=r.repeat("\n",l?1+m:m):c===g&&l&&(e.result+="\n");break}for(o?A(s)?(f=!0,e.result+=r.repeat("\n",l?1+m:m)):f?(f=!1,e.result+=r.repeat("\n",m+1)):0===m?l&&(e.result+=" "):e.result+=r.repeat("\n",m):e.result+=r.repeat("\n",l?1+m:m),l=!0,u=!0,m=0,n=e.position;!v(s)&&0!==s;)s=e.input.charCodeAt(++e.position);F(e,n,e.position,!1)}}return!0}(e,S)||function(e,t){var n,r,o;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(F(e,r,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;r=e.position,e.position++,o=e.position}else v(n)?(F(e,r,o,!0),L(e,x(e,!1,t)),r=o=e.position):e.position===e.lineStart&&K(e)?k(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);k(e,"unexpected end of the stream within a single quoted scalar")}(e,S)||function(e,t){var n,r,o,i,s,a,c;if(34!==(a=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(a=e.input.charCodeAt(e.position));){if(34===a)return F(e,n,e.position,!0),e.position++,!0;if(92===a){if(F(e,n,e.position,!0),v(a=e.input.charCodeAt(++e.position)))x(e,!1,t);else if(a<256&&R[a])e.result+=W[a],e.position++;else if((s=120===(c=a)?2:117===c?4:85===c?8:0)>0){for(o=s,i=0;o>0;o--)(s=B(a=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+s:k(e,"expected hexadecimal character");e.result+=w(i),e.position++}else k(e,"unknown escape sequence");n=r=e.position}else v(a)?(F(e,n,r,!0),L(e,x(e,!1,t)),n=r=e.position):e.position===e.lineStart&&K(e)?k(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}k(e,"unexpected end of the stream within a double quoted scalar")}(e,S)?E=!0:function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!G(r)&&!Z(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&k(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),a.call(e.anchorMap,n)||k(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],x(e,!0,-1),!0}(e)?(E=!0,null===e.tag&&null===e.anchor||k(e,"alias node should not have any properties")):function(e,t,n){var r,o,i,s,a,c,l,u,d=e.kind,g=e.result;if(G(u=e.input.charCodeAt(e.position))||Z(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(G(r=e.input.charCodeAt(e.position+1))||n&&Z(r)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,s=!1;0!==u;){if(58===u){if(G(r=e.input.charCodeAt(e.position+1))||n&&Z(r))break}else if(35===u){if(G(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&K(e)||n&&Z(u))break;if(v(u)){if(a=e.line,c=e.lineStart,l=e.lineIndent,x(e,!1,-1),e.lineIndent>=t){s=!0,u=e.input.charCodeAt(e.position);continue}e.position=i,e.line=a,e.lineStart=c,e.lineIndent=l;break}}s&&(F(e,o,i,!1),L(e,e.line-a),o=i=e.position,s=!1),A(u)||(i=e.position+1),u=e.input.charCodeAt(++e.position)}return F(e,o,i,!1),!!e.result||(e.kind=d,e.result=g,!1)}(e,S,c===n)&&(E=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===V&&(E=f&&U(e,N))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&k(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),I=0,b=e.implicitTypes.length;I<b;I+=1)if((y=e.implicitTypes[I]).resolve(e.result)){e.result=y.construct(e.result),e.tag=y.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else if("!"!==e.tag){if(a.call(e.typeMap[e.kind||"fallback"],e.tag))y=e.typeMap[e.kind||"fallback"][e.tag];else for(y=null,I=0,b=(C=e.typeMap.multi[e.kind||"fallback"]).length;I<b;I+=1)if(e.tag.slice(0,C[I].tag.length)===C[I].tag){y=C[I];break}y||k(e,"unknown tag !<"+e.tag+">"),null!==e.result&&y.kind!==e.kind&&k(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+y.kind+'", not "'+e.kind+'"'),y.resolve(e.result,e.tag)?(e.result=y.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):k(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||E}function M(e){var t,n,r,o,i=e.position,s=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(x(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(s=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!G(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&k(e,"directive name must not be less than one character in length");0!==o;){for(;A(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!v(o));break}if(v(o))break;for(t=e.position;0!==o&&!G(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&T(e),a.call(H,n)?H[n](e,n,r):E(e,'unknown document directive "'+n+'"')}x(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,x(e,!0,-1)):s&&k(e,"directives end mark is expected"),z(e,e.lineIndent-1,d,!1,!0),x(e,!0,-1),e.checkLineBreaks&&f.test(e.input.slice(i,e.position))&&E(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&K(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,x(e,!0,-1)):e.position<e.length-1&&k(e,"end of the stream or a document separator is expected")}function j(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new V(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,k(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)M(n);return n.documents}e.exports.loadAll=function(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var r=j(e,n);if("function"!=typeof t)return r;for(var o=0,i=r.length;o<i;o+=1)t(r[o])},e.exports.load=function(e,t){var n=j(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new o("expected a single document in the stream, but found more")}}},5773:(e,t,n)=>{"use strict";var r=n(7709),o=n(5626);function i(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)})),n[t]=e})),n}function s(e){return this.extend(e)}s.prototype.extend=function(e){var t=[],n=[];if(e instanceof o)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new r("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof o))throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new r("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(e){if(!(e instanceof o))throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var a=Object.create(s.prototype);return a.implicit=(this.implicit||[]).concat(t),a.explicit=(this.explicit||[]).concat(n),a.compiledImplicit=i(a,"implicit"),a.compiledExplicit=i(a,"explicit"),a.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}(a.compiledImplicit,a.compiledExplicit),a},e.exports=s},9211:(e,t,n)=>{"use strict";e.exports=n(1822)},3055:(e,t,n)=>{"use strict";e.exports=n(9211).extend({implicit:[n(1493),n(7117)],explicit:[n(8008),n(124),n(2872),n(6293)]})},1521:(e,t,n)=>{"use strict";var r=n(5773);e.exports=new r({explicit:[n(7438),n(8154),n(4635)]})},1822:(e,t,n)=>{"use strict";e.exports=n(1521).extend({implicit:[n(1136),n(7113),n(672),n(6191)]})},837:(e,t,n)=>{"use strict";var r=n(5991);function o(e,t,n,r,o){var i="",s="",a=Math.floor(o/2)-1;return r-t>a&&(t=r-a+(i=" ... ").length),n-r>a&&(n=r+a-(s=" ...").length),{str:i+e.slice(t,n).replace(/\t/g,"→")+s,pos:r-t+i.length}}function i(e,t){return r.repeat(" ",t-e.length)+e}e.exports=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,s=/\r?\n|\r|\0/g,a=[0],c=[],l=-1;n=s.exec(e.buffer);)c.push(n.index),a.push(n.index+n[0].length),e.position<=n.index&&l<0&&(l=a.length-2);l<0&&(l=a.length-1);var u,d,g="",p=Math.min(e.line+t.linesAfter,c.length).toString().length,h=t.maxLength-(t.indent+p+3);for(u=1;u<=t.linesBefore&&!(l-u<0);u++)d=o(e.buffer,a[l-u],c[l-u],e.position-(a[l]-a[l-u]),h),g=r.repeat(" ",t.indent)+i((e.line-u+1).toString(),p)+" | "+d.str+"\n"+g;for(d=o(e.buffer,a[l],c[l],e.position,h),g+=r.repeat(" ",t.indent)+i((e.line+1).toString(),p)+" | "+d.str+"\n",g+=r.repeat("-",t.indent+p+3+d.pos)+"^\n",u=1;u<=t.linesAfter&&!(l+u>=c.length);u++)d=o(e.buffer,a[l+u],c[l+u],e.position-(a[l]-a[l+u]),h),g+=r.repeat(" ",t.indent)+i((e.line+u+1).toString(),p)+" | "+d.str+"\n";return g.replace(/\n$/,"")}},5626:(e,t,n)=>{"use strict";var r=n(7709),o=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],i=["scalar","sequence","mapping"];e.exports=function(e,t){var n,s;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===o.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=(n=t.styleAliases||null,s={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){s[String(t)]=e}))})),s),-1===i.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},8008:(e,t,n)=>{"use strict";var r=n(5626),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,s=o;for(n=0;n<i;n++)if(!((t=s.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,s=o,a=0,c=[];for(t=0;t<i;t++)t%4==0&&t&&(c.push(a>>16&255),c.push(a>>8&255),c.push(255&a)),a=a<<6|s.indexOf(r.charAt(t));return 0==(n=i%4*6)?(c.push(a>>16&255),c.push(a>>8&255),c.push(255&a)):18===n?(c.push(a>>10&255),c.push(a>>2&255)):12===n&&c.push(a>>4&255),new Uint8Array(c)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",i=0,s=e.length,a=o;for(t=0;t<s;t++)t%3==0&&t&&(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]),i=(i<<8)+e[t];return 0==(n=s%3)?(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]):2===n?(r+=a[i>>10&63],r+=a[i>>4&63],r+=a[i<<2&63],r+=a[64]):1===n&&(r+=a[i>>2&63],r+=a[i<<4&63],r+=a[64],r+=a[64]),r}})},7113:(e,t,n)=>{"use strict";var r=n(5626);e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},6191:(e,t,n)=>{"use strict";var r=n(5991),o=n(5626),i=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),s=/^[-+]?[0-9]+e/;e.exports=new o("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!i.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||r.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(e))return"-0.0";return n=e.toString(10),s.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},672:(e,t,n)=>{"use strict";var r=n(5991),o=n(5626);function i(e){return 48<=e&&e<=55}function s(e){return 48<=e&&e<=57}e.exports=new o("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,o=0,a=!1;if(!r)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===r)return!0;if("b"===(t=e[++o])){for(o++;o<r;o++)if("_"!==(t=e[o])){if("0"!==t&&"1"!==t)return!1;a=!0}return a&&"_"!==t}if("x"===t){for(o++;o<r;o++)if("_"!==(t=e[o])){if(!(48<=(n=e.charCodeAt(o))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;a=!0}return a&&"_"!==t}if("o"===t){for(o++;o<r;o++)if("_"!==(t=e[o])){if(!i(e.charCodeAt(o)))return!1;a=!0}return a&&"_"!==t}}if("_"===t)return!1;for(;o<r;o++)if("_"!==(t=e[o])){if(!s(e.charCodeAt(o)))return!1;a=!0}return!(!a||"_"===t)},construct:function(e){var t,n=e,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(t=n[0])&&"+"!==t||("-"===t&&(r=-1),t=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===t){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!r.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},4635:(e,t,n)=>{"use strict";var r=n(5626);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},7117:(e,t,n)=>{"use strict";var r=n(5626);e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},1136:(e,t,n)=>{"use strict";var r=n(5626);e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},124:(e,t,n)=>{"use strict";var r=n(5626),o=Object.prototype.hasOwnProperty,i=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,s,a,c=[],l=e;for(t=0,n=l.length;t<n;t+=1){if(r=l[t],a=!1,"[object Object]"!==i.call(r))return!1;for(s in r)if(o.call(r,s)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==c.indexOf(s))return!1;c.push(s)}return!0},construct:function(e){return null!==e?e:[]}})},2872:(e,t,n)=>{"use strict";var r=n(5626),o=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,i,s,a=e;for(s=new Array(a.length),t=0,n=a.length;t<n;t+=1){if(r=a[t],"[object Object]"!==o.call(r))return!1;if(1!==(i=Object.keys(r)).length)return!1;s[t]=[i[0],r[i[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,r,o,i,s=e;for(i=new Array(s.length),t=0,n=s.length;t<n;t+=1)r=s[t],o=Object.keys(r),i[t]=[o[0],r[o[0]]];return i}})},8154:(e,t,n)=>{"use strict";var r=n(5626);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},6293:(e,t,n)=>{"use strict";var r=n(5626),o=Object.prototype.hasOwnProperty;e.exports=new r("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(o.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})},7438:(e,t,n)=>{"use strict";var r=n(5626);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},1493:(e,t,n)=>{"use strict";var r=n(5626),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==o.exec(e)||null!==i.exec(e))},construct:function(e){var t,n,r,s,a,c,l,u,d=0,g=null;if(null===(t=o.exec(e))&&(t=i.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,s=+t[3],!t[4])return new Date(Date.UTC(n,r,s));if(a=+t[4],c=+t[5],l=+t[6],t[7]){for(d=t[7].slice(0,3);d.length<3;)d+="0";d=+d}return t[9]&&(g=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(g=-g)),u=new Date(Date.UTC(n,r,s,a,c,l,d)),g&&u.setTime(u.getTime()-g),u},instanceOf:Date,represent:function(e){return e.toISOString()}})},1259:(e,t,n)=>{let r;try{r=n(3641)}catch(e){r=n(9896)}const o=n(3410),{stringify:i,stripBom:s}=n(7382),a={readFile:o.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||r,i=!("throws"in t)||t.throws;let a,c=await o.fromCallback(n.readFile)(e,t);c=s(c);try{a=JSON.parse(c,t?t.reviver:null)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}return a})),readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||r,o=!("throws"in t)||t.throws;try{let r=n.readFileSync(e,t);return r=s(r),JSON.parse(r,t.reviver)}catch(t){if(o)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:o.fromPromise((async function(e,t,n={}){const s=n.fs||r,a=i(t,n);await o.fromCallback(s.writeFile)(e,a,n)})),writeFileSync:function(e,t,n={}){const o=n.fs||r,s=i(t,n);return o.writeFileSync(e,s,n)}};e.exports=a},7382:e=>{e.exports={stringify:function(e,{EOL:t="\n",finalEOL:n=!0,replacer:r=null,spaces:o}={}){const i=n?t:"";return JSON.stringify(e,r,o).replace(/\n/g,t)+i},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}}},3407:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lazy=void 0,t.Lazy=class{constructor(e){this._value=null,this.creator=e}get hasValue(){return null==this.creator}get value(){if(null==this.creator)return this._value;const e=this.creator();return this.value=e,e}set value(e){this._value=e,this.creator=null}}},9298:e=>{var t=/[\\^$.*+?()[\]{}|]/g,n=RegExp(t.source),r="object"==typeof global&&global&&global.Object===Object&&global,o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")(),s=Object.prototype.toString,a=i.Symbol,c=a?a.prototype:void 0,l=c?c.toString:void 0;e.exports=function(e){var r;return(e=null==(r=e)?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(r))&&n.test(e)?e.replace(t,"\\$&"):e}},328:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=1,i=2,s=9007199254740991,a="[object Arguments]",c="[object Array]",l="[object AsyncFunction]",u="[object Boolean]",d="[object Date]",g="[object Error]",p="[object Function]",h="[object GeneratorFunction]",m="[object Map]",f="[object Number]",I="[object Null]",b="[object Object]",C="[object Promise]",y="[object Proxy]",v="[object RegExp]",A="[object Set]",G="[object String]",Z="[object Undefined]",B="[object WeakMap]",S="[object ArrayBuffer]",w="[object DataView]",R=/^\[object .+?Constructor\]$/,W=/^(?:0|[1-9]\d*)$/,N={};N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[a]=N[c]=N[S]=N[u]=N[w]=N[d]=N[g]=N[p]=N[m]=N[f]=N[b]=N[v]=N[A]=N[G]=N[B]=!1;var V="object"==typeof global&&global&&global.Object===Object&&global,_="object"==typeof self&&self&&self.Object===Object&&self,k=V||_||Function("return this")(),E=t&&!t.nodeType&&t,H=E&&e&&!e.nodeType&&e,F=H&&H.exports===E,Y=F&&V.process,X=function(){try{return Y&&Y.binding&&Y.binding("util")}catch(e){}}(),T=X&&X.isTypedArray;function x(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function K(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function L(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var U,O,J,z=Array.prototype,M=Function.prototype,j=Object.prototype,P=k["__core-js_shared__"],D=M.toString,Q=j.hasOwnProperty,$=(U=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"",q=j.toString,ee=RegExp("^"+D.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=F?k.Buffer:void 0,ne=k.Symbol,re=k.Uint8Array,oe=j.propertyIsEnumerable,ie=z.splice,se=ne?ne.toStringTag:void 0,ae=Object.getOwnPropertySymbols,ce=te?te.isBuffer:void 0,le=(O=Object.keys,J=Object,function(e){return O(J(e))}),ue=He(k,"DataView"),de=He(k,"Map"),ge=He(k,"Promise"),pe=He(k,"Set"),he=He(k,"WeakMap"),me=He(Object,"create"),fe=Te(ue),Ie=Te(de),be=Te(ge),Ce=Te(pe),ye=Te(he),ve=ne?ne.prototype:void 0,Ae=ve?ve.valueOf:void 0;function Ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ze(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Se(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Be;++t<n;)this.add(e[t])}function we(e){var t=this.__data__=new Ze(e);this.size=t.size}function Re(e,t){for(var n=e.length;n--;)if(xe(e[n][0],t))return n;return-1}function We(e){return null==e?void 0===e?Z:I:se&&se in Object(e)?function(e){var t=Q.call(e,se),n=e[se];try{e[se]=void 0;var r=!0}catch(e){}var o=q.call(e);return r&&(t?e[se]=n:delete e[se]),o}(e):function(e){return q.call(e)}(e)}function Ne(e){return Me(e)&&We(e)==a}function Ve(e,t,n,r,s){return e===t||(null==e||null==t||!Me(e)&&!Me(t)?e!=e&&t!=t:function(e,t,n,r,s,l){var p=Le(e),h=Le(t),I=p?c:Ye(e),C=h?c:Ye(t),y=(I=I==a?b:I)==b,Z=(C=C==a?b:C)==b,B=I==C;if(B&&Ue(e)){if(!Ue(t))return!1;p=!0,y=!1}if(B&&!y)return l||(l=new we),p||je(e)?_e(e,t,n,r,s,l):function(e,t,n,r,s,a,c){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case S:return!(e.byteLength!=t.byteLength||!a(new re(e),new re(t)));case u:case d:case f:return xe(+e,+t);case g:return e.name==t.name&&e.message==t.message;case v:case G:return e==t+"";case m:var l=K;case A:var p=r&o;if(l||(l=L),e.size!=t.size&&!p)return!1;var h=c.get(e);if(h)return h==t;r|=i,c.set(e,t);var I=_e(l(e),l(t),r,s,a,c);return c.delete(e),I;case"[object Symbol]":if(Ae)return Ae.call(e)==Ae.call(t)}return!1}(e,t,I,n,r,s,l);if(!(n&o)){var R=y&&Q.call(e,"__wrapped__"),W=Z&&Q.call(t,"__wrapped__");if(R||W){var N=R?e.value():e,V=W?t.value():t;return l||(l=new we),s(N,V,n,r,l)}}return!!B&&(l||(l=new we),function(e,t,n,r,i,s){var a=n&o,c=ke(e),l=c.length;if(l!=ke(t).length&&!a)return!1;for(var u=l;u--;){var d=c[u];if(!(a?d in t:Q.call(t,d)))return!1}var g=s.get(e);if(g&&s.get(t))return g==t;var p=!0;s.set(e,t),s.set(t,e);for(var h=a;++u<l;){var m=e[d=c[u]],f=t[d];if(r)var I=a?r(f,m,d,t,e,s):r(m,f,d,e,t,s);if(!(void 0===I?m===f||i(m,f,n,r,s):I)){p=!1;break}h||(h="constructor"==d)}if(p&&!h){var b=e.constructor,C=t.constructor;b==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof C&&C instanceof C||(p=!1)}return s.delete(e),s.delete(t),p}(e,t,n,r,s,l))}(e,t,n,r,Ve,s))}function _e(e,t,n,r,s,a){var c=n&o,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var d=a.get(e);if(d&&a.get(t))return d==t;var g=-1,p=!0,h=n&i?new Se:void 0;for(a.set(e,t),a.set(t,e);++g<l;){var m=e[g],f=t[g];if(r)var I=c?r(f,m,g,t,e,a):r(m,f,g,e,t,a);if(void 0!==I){if(I)continue;p=!1;break}if(h){if(!x(t,(function(e,t){if(o=t,!h.has(o)&&(m===e||s(m,e,n,r,a)))return h.push(t);var o}))){p=!1;break}}else if(m!==f&&!s(m,f,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function ke(e){return function(e,t,n){var r=t(e);return Le(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Pe,Fe)}function Ee(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function He(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ze(e)||function(e){return!!$&&$ in e}(e))&&(Oe(e)?ee:R).test(Te(e))}(n)?n:void 0}Ge.prototype.clear=function(){this.__data__=me?me(null):{},this.size=0},Ge.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ge.prototype.get=function(e){var t=this.__data__;if(me){var n=t[e];return n===r?void 0:n}return Q.call(t,e)?t[e]:void 0},Ge.prototype.has=function(e){var t=this.__data__;return me?void 0!==t[e]:Q.call(t,e)},Ge.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=me&&void 0===t?r:t,this},Ze.prototype.clear=function(){this.__data__=[],this.size=0},Ze.prototype.delete=function(e){var t=this.__data__,n=Re(t,e);return!(n<0||(n==t.length-1?t.pop():ie.call(t,n,1),--this.size,0))},Ze.prototype.get=function(e){var t=this.__data__,n=Re(t,e);return n<0?void 0:t[n][1]},Ze.prototype.has=function(e){return Re(this.__data__,e)>-1},Ze.prototype.set=function(e,t){var n=this.__data__,r=Re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Be.prototype.clear=function(){this.size=0,this.__data__={hash:new Ge,map:new(de||Ze),string:new Ge}},Be.prototype.delete=function(e){var t=Ee(this,e).delete(e);return this.size-=t?1:0,t},Be.prototype.get=function(e){return Ee(this,e).get(e)},Be.prototype.has=function(e){return Ee(this,e).has(e)},Be.prototype.set=function(e,t){var n=Ee(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Se.prototype.add=Se.prototype.push=function(e){return this.__data__.set(e,r),this},Se.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new Ze,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ze){var r=n.__data__;if(!de||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Be(r)}return n.set(e,t),this.size=n.size,this};var Fe=ae?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var r=-1,o=null==t?0:t.length,i=0,s=[];++r<o;){var a=t[r];c=a,oe.call(e,c)&&(s[i++]=a)}var c;return s}(ae(e)))}:function(){return[]},Ye=We;function Xe(e,t){return!!(t=null==t?s:t)&&("number"==typeof e||W.test(e))&&e>-1&&e%1==0&&e<t}function Te(e){if(null!=e){try{return D.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function xe(e,t){return e===t||e!=e&&t!=t}(ue&&Ye(new ue(new ArrayBuffer(1)))!=w||de&&Ye(new de)!=m||ge&&Ye(ge.resolve())!=C||pe&&Ye(new pe)!=A||he&&Ye(new he)!=B)&&(Ye=function(e){var t=We(e),n=t==b?e.constructor:void 0,r=n?Te(n):"";if(r)switch(r){case fe:return w;case Ie:return m;case be:return C;case Ce:return A;case ye:return B}return t});var Ke=Ne(function(){return arguments}())?Ne:function(e){return Me(e)&&Q.call(e,"callee")&&!oe.call(e,"callee")},Le=Array.isArray,Ue=ce||function(){return!1};function Oe(e){if(!ze(e))return!1;var t=We(e);return t==p||t==h||t==l||t==y}function Je(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Me(e){return null!=e&&"object"==typeof e}var je=T?function(e){return function(t){return e(t)}}(T):function(e){return Me(e)&&Je(e.length)&&!!N[We(e)]};function Pe(e){return null!=(t=e)&&Je(t.length)&&!Oe(t)?function(e,t){var n=Le(e),r=!n&&Ke(e),o=!n&&!r&&Ue(e),i=!n&&!r&&!o&&je(e),s=n||r||o||i,a=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=a.length;for(var l in e)!t&&!Q.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Xe(l,c))||a.push(l);return a}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||j))return le(e);var t,n,r=[];for(var o in Object(e))Q.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e);var t}e.exports=function(e,t){return Ve(e,t)}},193:function(e,t,n){e=n.nmd(e),function(){var n,r="Expected a function",o="__lodash_hash_undefined__",i="__lodash_placeholder__",s=32,a=128,c=1/0,l=9007199254740991,u=NaN,d=4294967295,g=[["ary",a],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],p="[object Arguments]",h="[object Array]",m="[object Boolean]",f="[object Date]",I="[object Error]",b="[object Function]",C="[object GeneratorFunction]",y="[object Map]",v="[object Number]",A="[object Object]",G="[object Promise]",Z="[object RegExp]",B="[object Set]",S="[object String]",w="[object Symbol]",R="[object WeakMap]",W="[object ArrayBuffer]",N="[object DataView]",V="[object Float32Array]",_="[object Float64Array]",k="[object Int8Array]",E="[object Int16Array]",H="[object Int32Array]",F="[object Uint8Array]",Y="[object Uint8ClampedArray]",X="[object Uint16Array]",T="[object Uint32Array]",x=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,O=/[&<>"']/g,J=RegExp(U.source),z=RegExp(O.source),M=/<%-([\s\S]+?)%>/g,j=/<%([\s\S]+?)%>/g,P=/<%=([\s\S]+?)%>/g,D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q=/[\\^$.*+?()[\]{}|]/g,ee=RegExp(q.source),te=/^\s+/,ne=/\s/,re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,ie=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ae=/[()=,{}\[\]\/\s]/,ce=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ue=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,pe=/^\[object .+?Constructor\]$/,he=/^0o[0-7]+$/i,me=/^(?:0|[1-9]\d*)$/,fe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ie=/($^)/,be=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",ye="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ve="\\u2700-\\u27bf",Ae="a-z\\xdf-\\xf6\\xf8-\\xff",Ge="A-Z\\xc0-\\xd6\\xd8-\\xde",Ze="\\ufe0e\\ufe0f",Be="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Se="["+Ce+"]",we="["+Be+"]",Re="["+ye+"]",We="\\d+",Ne="["+ve+"]",Ve="["+Ae+"]",_e="[^"+Ce+Be+We+ve+Ae+Ge+"]",ke="\\ud83c[\\udffb-\\udfff]",Ee="[^"+Ce+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ye="["+Ge+"]",Xe="\\u200d",Te="(?:"+Ve+"|"+_e+")",xe="(?:"+Ye+"|"+_e+")",Ke="(?:['’](?:d|ll|m|re|s|t|ve))?",Le="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ue="(?:"+Re+"|"+ke+")?",Oe="["+Ze+"]?",Je=Oe+Ue+"(?:"+Xe+"(?:"+[Ee,He,Fe].join("|")+")"+Oe+Ue+")*",ze="(?:"+[Ne,He,Fe].join("|")+")"+Je,Me="(?:"+[Ee+Re+"?",Re,He,Fe,Se].join("|")+")",je=RegExp("['’]","g"),Pe=RegExp(Re,"g"),De=RegExp(ke+"(?="+ke+")|"+Me+Je,"g"),Qe=RegExp([Ye+"?"+Ve+"+"+Ke+"(?="+[we,Ye,"$"].join("|")+")",xe+"+"+Le+"(?="+[we,Ye+Te,"$"].join("|")+")",Ye+"?"+Te+"+"+Ke,Ye+"+"+Le,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",We,ze].join("|"),"g"),$e=RegExp("["+Xe+Ce+ye+Ze+"]"),qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,et=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tt=-1,nt={};nt[V]=nt[_]=nt[k]=nt[E]=nt[H]=nt[F]=nt[Y]=nt[X]=nt[T]=!0,nt[p]=nt[h]=nt[W]=nt[m]=nt[N]=nt[f]=nt[I]=nt[b]=nt[y]=nt[v]=nt[A]=nt[Z]=nt[B]=nt[S]=nt[R]=!1;var rt={};rt[p]=rt[h]=rt[W]=rt[N]=rt[m]=rt[f]=rt[V]=rt[_]=rt[k]=rt[E]=rt[H]=rt[y]=rt[v]=rt[A]=rt[Z]=rt[B]=rt[S]=rt[w]=rt[F]=rt[Y]=rt[X]=rt[T]=!0,rt[I]=rt[b]=rt[R]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},it=parseFloat,st=parseInt,at="object"==typeof global&&global&&global.Object===Object&&global,ct="object"==typeof self&&self&&self.Object===Object&&self,lt=at||ct||Function("return this")(),ut=t&&!t.nodeType&&t,dt=ut&&e&&!e.nodeType&&e,gt=dt&&dt.exports===ut,pt=gt&&at.process,ht=function(){try{return dt&&dt.require&&dt.require("util").types||pt&&pt.binding&&pt.binding("util")}catch(e){}}(),mt=ht&&ht.isArrayBuffer,ft=ht&&ht.isDate,It=ht&&ht.isMap,bt=ht&&ht.isRegExp,Ct=ht&&ht.isSet,yt=ht&&ht.isTypedArray;function vt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function At(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function Gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Zt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function St(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function wt(e,t){return!(null==e||!e.length)&&Yt(e,t,0)>-1}function Rt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Wt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Nt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Vt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function _t(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Et=Kt("length");function Ht(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ft(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Yt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ft(e,Tt,n)}function Xt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Tt(e){return e!=e}function xt(e,t){var n=null==e?0:e.length;return n?Ot(e,t)/n:u}function Kt(e){return function(t){return null==t?n:t[e]}}function Lt(e){return function(t){return null==e?n:e[t]}}function Ut(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Ot(e,t){for(var r,o=-1,i=e.length;++o<i;){var s=t(e[o]);s!==n&&(r=r===n?s:r+s)}return r}function Jt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function zt(e){return e?e.slice(0,un(e)+1).replace(te,""):e}function Mt(e){return function(t){return e(t)}}function jt(e,t){return Wt(t,(function(t){return e[t]}))}function Pt(e,t){return e.has(t)}function Dt(e,t){for(var n=-1,r=e.length;++n<r&&Yt(t,e[n],0)>-1;);return n}function Qt(e,t){for(var n=e.length;n--&&Yt(t,e[n],0)>-1;);return n}var $t=Lt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"}),qt=Lt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function en(e){return"\\"+ot[e]}function tn(e){return $e.test(e)}function nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function rn(e,t){return function(n){return e(t(n))}}function on(e,t){for(var n=-1,r=e.length,o=0,s=[];++n<r;){var a=e[n];a!==t&&a!==i||(e[n]=i,s[o++]=n)}return s}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function cn(e){return tn(e)?function(e){for(var t=De.lastIndex=0;De.test(e);)++t;return t}(e):Et(e)}function ln(e){return tn(e)?function(e){return e.match(De)||[]}(e):function(e){return e.split("")}(e)}function un(e){for(var t=e.length;t--&&ne.test(e.charAt(t)););return t}var dn=Lt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),gn=function e(t){var ne,Ce=(t=null==t?lt:gn.defaults(lt.Object(),t,gn.pick(lt,et))).Array,ye=t.Date,ve=t.Error,Ae=t.Function,Ge=t.Math,Ze=t.Object,Be=t.RegExp,Se=t.String,we=t.TypeError,Re=Ce.prototype,We=Ae.prototype,Ne=Ze.prototype,Ve=t["__core-js_shared__"],_e=We.toString,ke=Ne.hasOwnProperty,Ee=0,He=(ne=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||""))?"Symbol(src)_1."+ne:"",Fe=Ne.toString,Ye=_e.call(Ze),Xe=lt._,Te=Be("^"+_e.call(ke).replace(q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xe=gt?t.Buffer:n,Ke=t.Symbol,Le=t.Uint8Array,Ue=xe?xe.allocUnsafe:n,Oe=rn(Ze.getPrototypeOf,Ze),Je=Ze.create,ze=Ne.propertyIsEnumerable,Me=Re.splice,De=Ke?Ke.isConcatSpreadable:n,$e=Ke?Ke.iterator:n,ot=Ke?Ke.toStringTag:n,at=function(){try{var e=li(Ze,"defineProperty");return e({},"",{}),e}catch(e){}}(),ct=t.clearTimeout!==lt.clearTimeout&&t.clearTimeout,ut=ye&&ye.now!==lt.Date.now&&ye.now,dt=t.setTimeout!==lt.setTimeout&&t.setTimeout,pt=Ge.ceil,ht=Ge.floor,Et=Ze.getOwnPropertySymbols,Lt=xe?xe.isBuffer:n,pn=t.isFinite,hn=Re.join,mn=rn(Ze.keys,Ze),fn=Ge.max,In=Ge.min,bn=ye.now,Cn=t.parseInt,yn=Ge.random,vn=Re.reverse,An=li(t,"DataView"),Gn=li(t,"Map"),Zn=li(t,"Promise"),Bn=li(t,"Set"),Sn=li(t,"WeakMap"),wn=li(Ze,"create"),Rn=Sn&&new Sn,Wn={},Nn=Yi(An),Vn=Yi(Gn),_n=Yi(Zn),kn=Yi(Bn),En=Yi(Sn),Hn=Ke?Ke.prototype:n,Fn=Hn?Hn.valueOf:n,Yn=Hn?Hn.toString:n;function Xn(e){if(ea(e)&&!Us(e)&&!(e instanceof Ln)){if(e instanceof Kn)return e;if(ke.call(e,"__wrapped__"))return Xi(e)}return new Kn(e)}var Tn=function(){function e(){}return function(t){if(!qs(t))return{};if(Je)return Je(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function xn(){}function Kn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Ln(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Jn;++t<n;)this.add(e[t])}function Mn(e){var t=this.__data__=new On(e);this.size=t.size}function jn(e,t){var n=Us(e),r=!n&&Ls(e),o=!n&&!r&&Ms(e),i=!n&&!r&&!o&&ca(e),s=n||r||o||i,a=s?Jt(e.length,Se):[],c=a.length;for(var l in e)!t&&!ke.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||fi(l,c))||a.push(l);return a}function Pn(e){var t=e.length;return t?e[Jr(0,t-1)]:n}function Dn(e,t){return _i(wo(e),ir(t,0,e.length))}function Qn(e){return _i(wo(e))}function $n(e,t,r){(r!==n&&!Ts(e[t],r)||r===n&&!(t in e))&&rr(e,t,r)}function qn(e,t,r){var o=e[t];ke.call(e,t)&&Ts(o,r)&&(r!==n||t in e)||rr(e,t,r)}function er(e,t){for(var n=e.length;n--;)if(Ts(e[n][0],t))return n;return-1}function tr(e,t,n,r){return ur(e,(function(e,o,i){t(r,e,n(e),i)})),r}function nr(e,t){return e&&Ro(t,Na(t),e)}function rr(e,t,n){"__proto__"==t&&at?at(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function or(e,t){for(var r=-1,o=t.length,i=Ce(o),s=null==e;++r<o;)i[r]=s?n:Ba(e,t[r]);return i}function ir(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function sr(e,t,r,o,i,s){var a,c=1&t,l=2&t,u=4&t;if(r&&(a=i?r(e,o,i,s):r(e)),a!==n)return a;if(!qs(e))return e;var d=Us(e);if(d){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ke.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!c)return wo(e,a)}else{var g=gi(e),h=g==b||g==C;if(Ms(e))return vo(e,c);if(g==A||g==p||h&&!i){if(a=l||h?{}:hi(e),!c)return l?function(e,t){return Ro(e,di(e),t)}(e,function(e,t){return e&&Ro(t,Va(t),e)}(a,e)):function(e,t){return Ro(e,ui(e),t)}(e,nr(a,e))}else{if(!rt[g])return i?e:{};a=function(e,t,n){var r,o=e.constructor;switch(t){case W:return Ao(e);case m:case f:return new o(+e);case N:return function(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case V:case _:case k:case E:case H:case F:case Y:case X:case T:return Go(e,n);case y:return new o;case v:case S:return new o(e);case Z:return function(e){var t=new e.constructor(e.source,ue.exec(e));return t.lastIndex=e.lastIndex,t}(e);case B:return new o;case w:return r=e,Fn?Ze(Fn.call(r)):{}}}(e,g,c)}}s||(s=new Mn);var I=s.get(e);if(I)return I;s.set(e,a),ia(e)?e.forEach((function(n){a.add(sr(n,t,r,n,e,s))})):ta(e)&&e.forEach((function(n,o){a.set(o,sr(n,t,r,o,e,s))}));var G=d?n:(u?l?ni:ti:l?Va:Na)(e);return Gt(G||e,(function(n,o){G&&(n=e[o=n]),qn(a,o,sr(n,t,r,o,e,s))})),a}function ar(e,t,r){var o=r.length;if(null==e)return!o;for(e=Ze(e);o--;){var i=r[o],s=t[i],a=e[i];if(a===n&&!(i in e)||!s(a))return!1}return!0}function cr(e,t,o){if("function"!=typeof e)throw new we(r);return Ri((function(){e.apply(n,o)}),t)}function lr(e,t,n,r){var o=-1,i=wt,s=!0,a=e.length,c=[],l=t.length;if(!a)return c;n&&(t=Wt(t,Mt(n))),r?(i=Rt,s=!1):t.length>=200&&(i=Pt,s=!1,t=new zn(t));e:for(;++o<a;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,s&&d==d){for(var g=l;g--;)if(t[g]===d)continue e;c.push(u)}else i(t,d,r)||c.push(u)}return c}Xn.templateSettings={escape:M,evaluate:j,interpolate:P,variable:"",imports:{_:Xn}},Xn.prototype=xn.prototype,Xn.prototype.constructor=Xn,Kn.prototype=Tn(xn.prototype),Kn.prototype.constructor=Kn,Ln.prototype=Tn(xn.prototype),Ln.prototype.constructor=Ln,Un.prototype.clear=function(){this.__data__=wn?wn(null):{},this.size=0},Un.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Un.prototype.get=function(e){var t=this.__data__;if(wn){var r=t[e];return r===o?n:r}return ke.call(t,e)?t[e]:n},Un.prototype.has=function(e){var t=this.__data__;return wn?t[e]!==n:ke.call(t,e)},Un.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=wn&&t===n?o:t,this},On.prototype.clear=function(){this.__data__=[],this.size=0},On.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():Me.call(t,n,1),--this.size,0))},On.prototype.get=function(e){var t=this.__data__,r=er(t,e);return r<0?n:t[r][1]},On.prototype.has=function(e){return er(this.__data__,e)>-1},On.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Jn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(Gn||On),string:new Un}},Jn.prototype.delete=function(e){var t=ai(this,e).delete(e);return this.size-=t?1:0,t},Jn.prototype.get=function(e){return ai(this,e).get(e)},Jn.prototype.has=function(e){return ai(this,e).has(e)},Jn.prototype.set=function(e,t){var n=ai(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},zn.prototype.add=zn.prototype.push=function(e){return this.__data__.set(e,o),this},zn.prototype.has=function(e){return this.__data__.has(e)},Mn.prototype.clear=function(){this.__data__=new On,this.size=0},Mn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Mn.prototype.get=function(e){return this.__data__.get(e)},Mn.prototype.has=function(e){return this.__data__.has(e)},Mn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof On){var r=n.__data__;if(!Gn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jn(r)}return n.set(e,t),this.size=n.size,this};var ur=Vo(br),dr=Vo(Cr,!0);function gr(e,t){var n=!0;return ur(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function pr(e,t,r){for(var o=-1,i=e.length;++o<i;){var s=e[o],a=t(s);if(null!=a&&(c===n?a==a&&!aa(a):r(a,c)))var c=a,l=s}return l}function hr(e,t){var n=[];return ur(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function mr(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=mi),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?mr(a,t-1,n,r,o):Nt(o,a):r||(o[o.length]=a)}return o}var fr=_o(),Ir=_o(!0);function br(e,t){return e&&fr(e,t,Na)}function Cr(e,t){return e&&Ir(e,t,Na)}function yr(e,t){return St(t,(function(t){return Ds(e[t])}))}function vr(e,t){for(var r=0,o=(t=Io(t,e)).length;null!=e&&r<o;)e=e[Fi(t[r++])];return r&&r==o?e:n}function Ar(e,t,n){var r=t(e);return Us(e)?r:Nt(r,n(e))}function Gr(e){return null==e?e===n?"[object Undefined]":"[object Null]":ot&&ot in Ze(e)?function(e){var t=ke.call(e,ot),r=e[ot];try{e[ot]=n;var o=!0}catch(e){}var i=Fe.call(e);return o&&(t?e[ot]=r:delete e[ot]),i}(e):function(e){return Fe.call(e)}(e)}function Zr(e,t){return e>t}function Br(e,t){return null!=e&&ke.call(e,t)}function Sr(e,t){return null!=e&&t in Ze(e)}function wr(e,t,r){for(var o=r?Rt:wt,i=e[0].length,s=e.length,a=s,c=Ce(s),l=1/0,u=[];a--;){var d=e[a];a&&t&&(d=Wt(d,Mt(t))),l=In(d.length,l),c[a]=!r&&(t||i>=120&&d.length>=120)?new zn(a&&d):n}d=e[0];var g=-1,p=c[0];e:for(;++g<i&&u.length<l;){var h=d[g],m=t?t(h):h;if(h=r||0!==h?h:0,!(p?Pt(p,m):o(u,m,r))){for(a=s;--a;){var f=c[a];if(!(f?Pt(f,m):o(e[a],m,r)))continue e}p&&p.push(m),u.push(h)}}return u}function Rr(e,t,r){var o=null==(e=Bi(e,t=Io(t,e)))?e:e[Fi(Pi(t))];return null==o?n:vt(o,e,r)}function Wr(e){return ea(e)&&Gr(e)==p}function Nr(e,t,r,o,i){return e===t||(null==e||null==t||!ea(e)&&!ea(t)?e!=e&&t!=t:function(e,t,r,o,i,s){var a=Us(e),c=Us(t),l=a?h:gi(e),u=c?h:gi(t),d=(l=l==p?A:l)==A,g=(u=u==p?A:u)==A,b=l==u;if(b&&Ms(e)){if(!Ms(t))return!1;a=!0,d=!1}if(b&&!d)return s||(s=new Mn),a||ca(e)?qo(e,t,r,o,i,s):function(e,t,n,r,o,i,s){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case W:return!(e.byteLength!=t.byteLength||!i(new Le(e),new Le(t)));case m:case f:case v:return Ts(+e,+t);case I:return e.name==t.name&&e.message==t.message;case Z:case S:return e==t+"";case y:var a=nn;case B:var c=1&r;if(a||(a=sn),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var u=qo(a(e),a(t),r,o,i,s);return s.delete(e),u;case w:if(Fn)return Fn.call(e)==Fn.call(t)}return!1}(e,t,l,r,o,i,s);if(!(1&r)){var C=d&&ke.call(e,"__wrapped__"),G=g&&ke.call(t,"__wrapped__");if(C||G){var R=C?e.value():e,V=G?t.value():t;return s||(s=new Mn),i(R,V,r,o,s)}}return!!b&&(s||(s=new Mn),function(e,t,r,o,i,s){var a=1&r,c=ti(e),l=c.length;if(l!=ti(t).length&&!a)return!1;for(var u=l;u--;){var d=c[u];if(!(a?d in t:ke.call(t,d)))return!1}var g=s.get(e),p=s.get(t);if(g&&p)return g==t&&p==e;var h=!0;s.set(e,t),s.set(t,e);for(var m=a;++u<l;){var f=e[d=c[u]],I=t[d];if(o)var b=a?o(I,f,d,t,e,s):o(f,I,d,e,t,s);if(!(b===n?f===I||i(f,I,r,o,s):b)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var C=e.constructor,y=t.constructor;C==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof C&&C instanceof C&&"function"==typeof y&&y instanceof y||(h=!1)}return s.delete(e),s.delete(t),h}(e,t,r,o,i,s))}(e,t,r,o,Nr,i))}function Vr(e,t,r,o){var i=r.length,s=i,a=!o;if(null==e)return!s;for(e=Ze(e);i--;){var c=r[i];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<s;){var l=(c=r[i])[0],u=e[l],d=c[1];if(a&&c[2]){if(u===n&&!(l in e))return!1}else{var g=new Mn;if(o)var p=o(u,d,l,e,t,g);if(!(p===n?Nr(d,u,3,o,g):p))return!1}}return!0}function _r(e){return!(!qs(e)||(t=e,He&&He in t))&&(Ds(e)?Te:pe).test(Yi(e));var t}function kr(e){return"function"==typeof e?e:null==e?nc:"object"==typeof e?Us(e)?Xr(e[0],e[1]):Yr(e):dc(e)}function Er(e){if(!vi(e))return mn(e);var t=[];for(var n in Ze(e))ke.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Hr(e,t){return e<t}function Fr(e,t){var n=-1,r=Js(e)?Ce(e.length):[];return ur(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Yr(e){var t=ci(e);return 1==t.length&&t[0][2]?Gi(t[0][0],t[0][1]):function(n){return n===e||Vr(n,e,t)}}function Xr(e,t){return bi(e)&&Ai(t)?Gi(Fi(e),t):function(r){var o=Ba(r,e);return o===n&&o===t?Sa(r,e):Nr(t,o,3)}}function Tr(e,t,r,o,i){e!==t&&fr(t,(function(s,a){if(i||(i=new Mn),qs(s))!function(e,t,r,o,i,s,a){var c=Si(e,r),l=Si(t,r),u=a.get(l);if(u)$n(e,r,u);else{var d=s?s(c,l,r+"",e,t,a):n,g=d===n;if(g){var p=Us(l),h=!p&&Ms(l),m=!p&&!h&&ca(l);d=l,p||h||m?Us(c)?d=c:zs(c)?d=wo(c):h?(g=!1,d=vo(l,!0)):m?(g=!1,d=Go(l,!0)):d=[]:ra(l)||Ls(l)?(d=c,Ls(c)?d=fa(c):qs(c)&&!Ds(c)||(d=hi(l))):g=!1}g&&(a.set(l,d),i(d,l,o,s,a),a.delete(l)),$n(e,r,d)}}(e,t,a,r,Tr,o,i);else{var c=o?o(Si(e,a),s,a+"",e,t,i):n;c===n&&(c=s),$n(e,a,c)}}),Va)}function xr(e,t){var r=e.length;if(r)return fi(t+=t<0?r:0,r)?e[t]:n}function Kr(e,t,n){t=t.length?Wt(t,(function(e){return Us(e)?function(t){return vr(t,1===e.length?e[0]:e)}:e})):[nc];var r=-1;t=Wt(t,Mt(si()));var o=Fr(e,(function(e,n,o){var i=Wt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,s=o.length,a=n.length;++r<s;){var c=Zo(o[r],i[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(o)}function Lr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=vr(e,s);n(a,s)&&Dr(i,Io(s,e),a)}return i}function Ur(e,t,n,r){var o=r?Xt:Yt,i=-1,s=t.length,a=e;for(e===t&&(t=wo(t)),n&&(a=Wt(e,Mt(n)));++i<s;)for(var c=0,l=t[i],u=n?n(l):l;(c=o(a,u,c,r))>-1;)a!==e&&Me.call(a,c,1),Me.call(e,c,1);return e}function Or(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;fi(o)?Me.call(e,o,1):co(e,o)}}return e}function Jr(e,t){return e+ht(yn()*(t-e+1))}function zr(e,t){var n="";if(!e||t<1||t>l)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Mr(e,t){return Wi(Zi(e,t,nc),e+"")}function jr(e){return Pn(Ta(e))}function Pr(e,t){var n=Ta(e);return _i(n,ir(t,0,n.length))}function Dr(e,t,r,o){if(!qs(e))return e;for(var i=-1,s=(t=Io(t,e)).length,a=s-1,c=e;null!=c&&++i<s;){var l=Fi(t[i]),u=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var d=c[l];(u=o?o(d,l,c):n)===n&&(u=qs(d)?d:fi(t[i+1])?[]:{})}qn(c,l,u),c=c[l]}return e}var Qr=Rn?function(e,t){return Rn.set(e,t),e}:nc,$r=at?function(e,t){return at(e,"toString",{configurable:!0,enumerable:!1,value:qa(t),writable:!0})}:nc;function qr(e){return _i(Ta(e))}function eo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Ce(o);++r<o;)i[r]=e[r+t];return i}function to(e,t){var n;return ur(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function no(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,s=e[i];null!==s&&!aa(s)&&(n?s<=t:s<t)?r=i+1:o=i}return o}return ro(e,t,nc,n)}function ro(e,t,r,o){var i=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=r(t))!=t,c=null===t,l=aa(t),u=t===n;i<s;){var d=ht((i+s)/2),g=r(e[d]),p=g!==n,h=null===g,m=g==g,f=aa(g);if(a)var I=o||m;else I=u?m&&(o||p):c?m&&p&&(o||!h):l?m&&p&&!h&&(o||!f):!h&&!f&&(o?g<=t:g<t);I?i=d+1:s=d}return In(s,4294967294)}function oo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!Ts(a,c)){var c=a;i[o++]=0===s?0:s}}return i}function io(e){return"number"==typeof e?e:aa(e)?u:+e}function so(e){if("string"==typeof e)return e;if(Us(e))return Wt(e,so)+"";if(aa(e))return Yn?Yn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ao(e,t,n){var r=-1,o=wt,i=e.length,s=!0,a=[],c=a;if(n)s=!1,o=Rt;else if(i>=200){var l=t?null:Mo(e);if(l)return sn(l);s=!1,o=Pt,c=new zn}else c=t?[]:a;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,s&&d==d){for(var g=c.length;g--;)if(c[g]===d)continue e;t&&c.push(d),a.push(u)}else o(c,d,n)||(c!==a&&c.push(d),a.push(u))}return a}function co(e,t){return null==(e=Bi(e,t=Io(t,e)))||delete e[Fi(Pi(t))]}function lo(e,t,n,r){return Dr(e,t,n(vr(e,t)),r)}function uo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?eo(e,r?0:i,r?i+1:o):eo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Ln&&(n=n.value()),Vt(t,(function(e,t){return t.func.apply(t.thisArg,Nt([e],t.args))}),n)}function po(e,t,n){var r=e.length;if(r<2)return r?ao(e[0]):[];for(var o=-1,i=Ce(r);++o<r;)for(var s=e[o],a=-1;++a<r;)a!=o&&(i[o]=lr(i[o]||s,e[a],t,n));return ao(mr(i,1),t,n)}function ho(e,t,r){for(var o=-1,i=e.length,s=t.length,a={};++o<i;){var c=o<s?t[o]:n;r(a,e[o],c)}return a}function mo(e){return zs(e)?e:[]}function fo(e){return"function"==typeof e?e:nc}function Io(e,t){return Us(e)?e:bi(e,t)?[e]:Hi(Ia(e))}var bo=Mr;function Co(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:eo(e,t,r)}var yo=ct||function(e){return lt.clearTimeout(e)};function vo(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function Ao(e){var t=new e.constructor(e.byteLength);return new Le(t).set(new Le(e)),t}function Go(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Zo(e,t){if(e!==t){var r=e!==n,o=null===e,i=e==e,s=aa(e),a=t!==n,c=null===t,l=t==t,u=aa(t);if(!c&&!u&&!s&&e>t||s&&a&&l&&!c&&!u||o&&a&&l||!r&&l||!i)return 1;if(!o&&!s&&!u&&e<t||u&&r&&i&&!o&&!s||c&&r&&i||!a&&i||!l)return-1}return 0}function Bo(e,t,n,r){for(var o=-1,i=e.length,s=n.length,a=-1,c=t.length,l=fn(i-s,0),u=Ce(c+l),d=!r;++a<c;)u[a]=t[a];for(;++o<s;)(d||o<i)&&(u[n[o]]=e[o]);for(;l--;)u[a++]=e[o++];return u}function So(e,t,n,r){for(var o=-1,i=e.length,s=-1,a=n.length,c=-1,l=t.length,u=fn(i-a,0),d=Ce(u+l),g=!r;++o<u;)d[o]=e[o];for(var p=o;++c<l;)d[p+c]=t[c];for(;++s<a;)(g||o<i)&&(d[p+n[s]]=e[o++]);return d}function wo(e,t){var n=-1,r=e.length;for(t||(t=Ce(r));++n<r;)t[n]=e[n];return t}function Ro(e,t,r,o){var i=!r;r||(r={});for(var s=-1,a=t.length;++s<a;){var c=t[s],l=o?o(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),i?rr(r,c,l):qn(r,c,l)}return r}function Wo(e,t){return function(n,r){var o=Us(n)?At:tr,i=t?t():{};return o(n,e,si(r,2),i)}}function No(e){return Mr((function(t,r){var o=-1,i=r.length,s=i>1?r[i-1]:n,a=i>2?r[2]:n;for(s=e.length>3&&"function"==typeof s?(i--,s):n,a&&Ii(r[0],r[1],a)&&(s=i<3?n:s,i=1),t=Ze(t);++o<i;){var c=r[o];c&&e(t,c,o,s)}return t}))}function Vo(e,t){return function(n,r){if(null==n)return n;if(!Js(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Ze(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}function _o(e){return function(t,n,r){for(var o=-1,i=Ze(t),s=r(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===n(i[c],c,i))break}return t}}function ko(e){return function(t){var r=tn(t=Ia(t))?ln(t):n,o=r?r[0]:t.charAt(0),i=r?Co(r,1).join(""):t.slice(1);return o[e]()+i}}function Eo(e){return function(t){return Vt(Da(La(t).replace(je,"")),e,"")}}function Ho(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Tn(e.prototype),r=e.apply(n,t);return qs(r)?r:n}}function Fo(e){return function(t,r,o){var i=Ze(t);if(!Js(t)){var s=si(r,3);t=Na(t),r=function(e){return s(i[e],e,i)}}var a=e(t,r,o);return a>-1?i[s?t[a]:a]:n}}function Yo(e){return ei((function(t){var o=t.length,i=o,s=Kn.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new we(r);if(s&&!c&&"wrapper"==oi(a))var c=new Kn([],!0)}for(i=c?i:o;++i<o;){var l=oi(a=t[i]),u="wrapper"==l?ri(a):n;c=u&&Ci(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[oi(u[0])].apply(c,u[3]):1==a.length&&Ci(a)?c[l]():c.thru(a)}return function(){var e=arguments,n=e[0];if(c&&1==e.length&&Us(n))return c.plant(n).value();for(var r=0,i=o?t[r].apply(this,e):n;++r<o;)i=t[r].call(this,i);return i}}))}function Xo(e,t,r,o,i,s,c,l,u,d){var g=t&a,p=1&t,h=2&t,m=24&t,f=512&t,I=h?n:Ho(e);return function a(){for(var b=arguments.length,C=Ce(b),y=b;y--;)C[y]=arguments[y];if(m)var v=ii(a),A=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(C,v);if(o&&(C=Bo(C,o,i,m)),s&&(C=So(C,s,c,m)),b-=A,m&&b<d){var G=on(C,v);return Jo(e,t,Xo,a.placeholder,r,C,G,l,u,d-b)}var Z=p?r:this,B=h?Z[e]:e;return b=C.length,l?C=function(e,t){for(var r=e.length,o=In(t.length,r),i=wo(e);o--;){var s=t[o];e[o]=fi(s,r)?i[s]:n}return e}(C,l):f&&b>1&&C.reverse(),g&&u<b&&(C.length=u),this&&this!==lt&&this instanceof a&&(B=I||Ho(B)),B.apply(Z,C)}}function To(e,t){return function(n,r){return function(e,t,n,r){return br(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function xo(e,t){return function(r,o){var i;if(r===n&&o===n)return t;if(r!==n&&(i=r),o!==n){if(i===n)return o;"string"==typeof r||"string"==typeof o?(r=so(r),o=so(o)):(r=io(r),o=io(o)),i=e(r,o)}return i}}function Ko(e){return ei((function(t){return t=Wt(t,Mt(si())),Mr((function(n){var r=this;return e(t,(function(e){return vt(e,r,n)}))}))}))}function Lo(e,t){var r=(t=t===n?" ":so(t)).length;if(r<2)return r?zr(t,e):t;var o=zr(t,pt(e/cn(t)));return tn(t)?Co(ln(o),0,e).join(""):o.slice(0,e)}function Uo(e){return function(t,r,o){return o&&"number"!=typeof o&&Ii(t,r,o)&&(r=o=n),t=ga(t),r===n?(r=t,t=0):r=ga(r),function(e,t,n,r){for(var o=-1,i=fn(pt((t-e)/(n||1)),0),s=Ce(i);i--;)s[r?i:++o]=e,e+=n;return s}(t,r,o=o===n?t<r?1:-1:ga(o),e)}}function Oo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ma(t),n=ma(n)),e(t,n)}}function Jo(e,t,r,o,i,a,c,l,u,d){var g=8&t;t|=g?s:64,4&(t&=~(g?64:s))||(t&=-4);var p=[e,t,i,g?a:n,g?c:n,g?n:a,g?n:c,l,u,d],h=r.apply(n,p);return Ci(e)&&wi(h,p),h.placeholder=o,Ni(h,e,t)}function zo(e){var t=Ge[e];return function(e,n){if(e=ma(e),(n=null==n?0:In(pa(n),292))&&pn(e)){var r=(Ia(e)+"e").split("e");return+((r=(Ia(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Mo=Bn&&1/sn(new Bn([,-0]))[1]==c?function(e){return new Bn(e)}:ac;function jo(e){return function(t){var n=gi(t);return n==y?nn(t):n==B?an(t):function(e,t){return Wt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Po(e,t,o,c,l,u,d,g){var p=2&t;if(!p&&"function"!=typeof e)throw new we(r);var h=c?c.length:0;if(h||(t&=-97,c=l=n),d=d===n?d:fn(pa(d),0),g=g===n?g:pa(g),h-=l?l.length:0,64&t){var m=c,f=l;c=l=n}var I=p?n:ri(e),b=[e,t,o,c,l,m,f,u,d,g];if(I&&function(e,t){var n=e[1],r=t[1],o=n|r,s=o<131,c=r==a&&8==n||r==a&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!s&&!c)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?Bo(u,l,t[4]):l,e[4]=u?on(e[3],i):t[4]}(l=t[5])&&(u=e[5],e[5]=u?So(u,l,t[6]):l,e[6]=u?on(e[5],i):t[6]),(l=t[7])&&(e[7]=l),r&a&&(e[8]=null==e[8]?t[8]:In(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(b,I),e=b[0],t=b[1],o=b[2],c=b[3],l=b[4],!(g=b[9]=b[9]===n?p?0:e.length:fn(b[9]-h,0))&&24&t&&(t&=-25),t&&1!=t)C=8==t||16==t?function(e,t,r){var o=Ho(e);return function i(){for(var s=arguments.length,a=Ce(s),c=s,l=ii(i);c--;)a[c]=arguments[c];var u=s<3&&a[0]!==l&&a[s-1]!==l?[]:on(a,l);return(s-=u.length)<r?Jo(e,t,Xo,i.placeholder,n,a,u,n,n,r-s):vt(this&&this!==lt&&this instanceof i?o:e,this,a)}}(e,t,g):t!=s&&33!=t||l.length?Xo.apply(n,b):function(e,t,n,r){var o=1&t,i=Ho(e);return function t(){for(var s=-1,a=arguments.length,c=-1,l=r.length,u=Ce(l+a),d=this&&this!==lt&&this instanceof t?i:e;++c<l;)u[c]=r[c];for(;a--;)u[c++]=arguments[++s];return vt(d,o?n:this,u)}}(e,t,o,c);else var C=function(e,t,n){var r=1&t,o=Ho(e);return function t(){return(this&&this!==lt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,o);return Ni((I?Qr:wi)(C,b),e,t)}function Do(e,t,r,o){return e===n||Ts(e,Ne[r])&&!ke.call(o,r)?t:e}function Qo(e,t,r,o,i,s){return qs(e)&&qs(t)&&(s.set(t,e),Tr(e,t,n,Qo,s),s.delete(t)),e}function $o(e){return ra(e)?n:e}function qo(e,t,r,o,i,s){var a=1&r,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=s.get(e),d=s.get(t);if(u&&d)return u==t&&d==e;var g=-1,p=!0,h=2&r?new zn:n;for(s.set(e,t),s.set(t,e);++g<c;){var m=e[g],f=t[g];if(o)var I=a?o(f,m,g,t,e,s):o(m,f,g,e,t,s);if(I!==n){if(I)continue;p=!1;break}if(h){if(!kt(t,(function(e,t){if(!Pt(h,t)&&(m===e||i(m,e,r,o,s)))return h.push(t)}))){p=!1;break}}else if(m!==f&&!i(m,f,r,o,s)){p=!1;break}}return s.delete(e),s.delete(t),p}function ei(e){return Wi(Zi(e,n,Oi),e+"")}function ti(e){return Ar(e,Na,ui)}function ni(e){return Ar(e,Va,di)}var ri=Rn?function(e){return Rn.get(e)}:ac;function oi(e){for(var t=e.name+"",n=Wn[t],r=ke.call(Wn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ii(e){return(ke.call(Xn,"placeholder")?Xn:e).placeholder}function si(){var e=Xn.iteratee||rc;return e=e===rc?kr:e,arguments.length?e(arguments[0],arguments[1]):e}function ai(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ci(e){for(var t=Na(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ai(o)]}return t}function li(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return _r(r)?r:n}var ui=Et?function(e){return null==e?[]:(e=Ze(e),St(Et(e),(function(t){return ze.call(e,t)})))}:hc,di=Et?function(e){for(var t=[];e;)Nt(t,ui(e)),e=Oe(e);return t}:hc,gi=Gr;function pi(e,t,n){for(var r=-1,o=(t=Io(t,e)).length,i=!1;++r<o;){var s=Fi(t[r]);if(!(i=null!=e&&n(e,s)))break;e=e[s]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&$s(o)&&fi(s,o)&&(Us(e)||Ls(e))}function hi(e){return"function"!=typeof e.constructor||vi(e)?{}:Tn(Oe(e))}function mi(e){return Us(e)||Ls(e)||!!(De&&e&&e[De])}function fi(e,t){var n=typeof e;return!!(t=null==t?l:t)&&("number"==n||"symbol"!=n&&me.test(e))&&e>-1&&e%1==0&&e<t}function Ii(e,t,n){if(!qs(n))return!1;var r=typeof t;return!!("number"==r?Js(n)&&fi(t,n.length):"string"==r&&t in n)&&Ts(n[t],e)}function bi(e,t){if(Us(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!aa(e))||Q.test(e)||!D.test(e)||null!=t&&e in Ze(t)}function Ci(e){var t=oi(e),n=Xn[t];if("function"!=typeof n||!(t in Ln.prototype))return!1;if(e===n)return!0;var r=ri(n);return!!r&&e===r[0]}(An&&gi(new An(new ArrayBuffer(1)))!=N||Gn&&gi(new Gn)!=y||Zn&&gi(Zn.resolve())!=G||Bn&&gi(new Bn)!=B||Sn&&gi(new Sn)!=R)&&(gi=function(e){var t=Gr(e),r=t==A?e.constructor:n,o=r?Yi(r):"";if(o)switch(o){case Nn:return N;case Vn:return y;case _n:return G;case kn:return B;case En:return R}return t});var yi=Ve?Ds:mc;function vi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ne)}function Ai(e){return e==e&&!qs(e)}function Gi(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in Ze(r))}}function Zi(e,t,r){return t=fn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=fn(n.length-t,0),s=Ce(i);++o<i;)s[o]=n[t+o];o=-1;for(var a=Ce(t+1);++o<t;)a[o]=n[o];return a[t]=r(s),vt(e,this,a)}}function Bi(e,t){return t.length<2?e:vr(e,eo(t,0,-1))}function Si(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var wi=Vi(Qr),Ri=dt||function(e,t){return lt.setTimeout(e,t)},Wi=Vi($r);function Ni(e,t,n){var r=t+"";return Wi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(re,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Gt(g,(function(n){var r="_."+n[0];t&n[1]&&!wt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(oe);return t?t[1].split(ie):[]}(r),n)))}function Vi(e){var t=0,r=0;return function(){var o=bn(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function _i(e,t){var r=-1,o=e.length,i=o-1;for(t=t===n?o:t;++r<t;){var s=Jr(r,i),a=e[s];e[s]=e[r],e[r]=a}return e.length=t,e}var ki,Ei,Hi=(ki=ks((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace($,(function(e,n,r,o){t.push(r?o.replace(ce,"$1"):n||e)})),t}),(function(e){return 500===Ei.size&&Ei.clear(),e})),Ei=ki.cache,ki);function Fi(e){if("string"==typeof e||aa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Yi(e){if(null!=e){try{return _e.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Xi(e){if(e instanceof Ln)return e.clone();var t=new Kn(e.__wrapped__,e.__chain__);return t.__actions__=wo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ti=Mr((function(e,t){return zs(e)?lr(e,mr(t,1,zs,!0)):[]})),xi=Mr((function(e,t){var r=Pi(t);return zs(r)&&(r=n),zs(e)?lr(e,mr(t,1,zs,!0),si(r,2)):[]})),Ki=Mr((function(e,t){var r=Pi(t);return zs(r)&&(r=n),zs(e)?lr(e,mr(t,1,zs,!0),n,r):[]}));function Li(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:pa(n);return o<0&&(o=fn(r+o,0)),Ft(e,si(t,3),o)}function Ui(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return r!==n&&(i=pa(r),i=r<0?fn(o+i,0):In(i,o-1)),Ft(e,si(t,3),i,!0)}function Oi(e){return null!=e&&e.length?mr(e,1):[]}function Ji(e){return e&&e.length?e[0]:n}var zi=Mr((function(e){var t=Wt(e,mo);return t.length&&t[0]===e[0]?wr(t):[]})),Mi=Mr((function(e){var t=Pi(e),r=Wt(e,mo);return t===Pi(r)?t=n:r.pop(),r.length&&r[0]===e[0]?wr(r,si(t,2)):[]})),ji=Mr((function(e){var t=Pi(e),r=Wt(e,mo);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?wr(r,n,t):[]}));function Pi(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Di=Mr(Qi);function Qi(e,t){return e&&e.length&&t&&t.length?Ur(e,t):e}var $i=ei((function(e,t){var n=null==e?0:e.length,r=or(e,t);return Or(e,Wt(t,(function(e){return fi(e,n)?+e:e})).sort(Zo)),r}));function qi(e){return null==e?e:vn.call(e)}var es=Mr((function(e){return ao(mr(e,1,zs,!0))})),ts=Mr((function(e){var t=Pi(e);return zs(t)&&(t=n),ao(mr(e,1,zs,!0),si(t,2))})),ns=Mr((function(e){var t=Pi(e);return t="function"==typeof t?t:n,ao(mr(e,1,zs,!0),n,t)}));function rs(e){if(!e||!e.length)return[];var t=0;return e=St(e,(function(e){if(zs(e))return t=fn(e.length,t),!0})),Jt(t,(function(t){return Wt(e,Kt(t))}))}function os(e,t){if(!e||!e.length)return[];var r=rs(e);return null==t?r:Wt(r,(function(e){return vt(t,n,e)}))}var is=Mr((function(e,t){return zs(e)?lr(e,t):[]})),ss=Mr((function(e){return po(St(e,zs))})),as=Mr((function(e){var t=Pi(e);return zs(t)&&(t=n),po(St(e,zs),si(t,2))})),cs=Mr((function(e){var t=Pi(e);return t="function"==typeof t?t:n,po(St(e,zs),n,t)})),ls=Mr(rs),us=Mr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,os(e,r)}));function ds(e){var t=Xn(e);return t.__chain__=!0,t}function gs(e,t){return t(e)}var ps=ei((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,i=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Ln&&fi(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:gs,args:[i],thisArg:n}),new Kn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(i)})),hs=Wo((function(e,t,n){ke.call(e,n)?++e[n]:rr(e,n,1)})),ms=Fo(Li),fs=Fo(Ui);function Is(e,t){return(Us(e)?Gt:ur)(e,si(t,3))}function bs(e,t){return(Us(e)?Zt:dr)(e,si(t,3))}var Cs=Wo((function(e,t,n){ke.call(e,n)?e[n].push(t):rr(e,n,[t])})),ys=Mr((function(e,t,n){var r=-1,o="function"==typeof t,i=Js(e)?Ce(e.length):[];return ur(e,(function(e){i[++r]=o?vt(t,e,n):Rr(e,t,n)})),i})),vs=Wo((function(e,t,n){rr(e,n,t)}));function As(e,t){return(Us(e)?Wt:Fr)(e,si(t,3))}var Gs=Wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Zs=Mr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ii(e,t[0],t[1])?t=[]:n>2&&Ii(t[0],t[1],t[2])&&(t=[t[0]]),Kr(e,mr(t,1),[])})),Bs=ut||function(){return lt.Date.now()};function Ss(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Po(e,a,n,n,n,n,t)}function ws(e,t){var o;if("function"!=typeof t)throw new we(r);return e=pa(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Rs=Mr((function(e,t,n){var r=1;if(n.length){var o=on(n,ii(Rs));r|=s}return Po(e,r,t,n,o)})),Ws=Mr((function(e,t,n){var r=3;if(n.length){var o=on(n,ii(Ws));r|=s}return Po(t,r,e,n,o)}));function Ns(e,t,o){var i,s,a,c,l,u,d=0,g=!1,p=!1,h=!0;if("function"!=typeof e)throw new we(r);function m(t){var r=i,o=s;return i=s=n,d=t,c=e.apply(o,r)}function f(e){var r=e-u;return u===n||r>=t||r<0||p&&e-d>=a}function I(){var e=Bs();if(f(e))return b(e);l=Ri(I,function(e){var n=t-(e-u);return p?In(n,a-(e-d)):n}(e))}function b(e){return l=n,h&&i?m(e):(i=s=n,c)}function C(){var e=Bs(),r=f(e);if(i=arguments,s=this,u=e,r){if(l===n)return function(e){return d=e,l=Ri(I,t),g?m(e):c}(u);if(p)return yo(l),l=Ri(I,t),m(u)}return l===n&&(l=Ri(I,t)),c}return t=ma(t)||0,qs(o)&&(g=!!o.leading,a=(p="maxWait"in o)?fn(ma(o.maxWait)||0,t):a,h="trailing"in o?!!o.trailing:h),C.cancel=function(){l!==n&&yo(l),d=0,i=u=s=l=n},C.flush=function(){return l===n?c:b(Bs())},C}var Vs=Mr((function(e,t){return cr(e,1,t)})),_s=Mr((function(e,t,n){return cr(e,ma(t)||0,n)}));function ks(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new we(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(ks.Cache||Jn),n}function Es(e){if("function"!=typeof e)throw new we(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ks.Cache=Jn;var Hs=bo((function(e,t){var n=(t=1==t.length&&Us(t[0])?Wt(t[0],Mt(si())):Wt(mr(t,1),Mt(si()))).length;return Mr((function(r){for(var o=-1,i=In(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return vt(e,this,r)}))})),Fs=Mr((function(e,t){var r=on(t,ii(Fs));return Po(e,s,n,t,r)})),Ys=Mr((function(e,t){var r=on(t,ii(Ys));return Po(e,64,n,t,r)})),Xs=ei((function(e,t){return Po(e,256,n,n,n,t)}));function Ts(e,t){return e===t||e!=e&&t!=t}var xs=Oo(Zr),Ks=Oo((function(e,t){return e>=t})),Ls=Wr(function(){return arguments}())?Wr:function(e){return ea(e)&&ke.call(e,"callee")&&!ze.call(e,"callee")},Us=Ce.isArray,Os=mt?Mt(mt):function(e){return ea(e)&&Gr(e)==W};function Js(e){return null!=e&&$s(e.length)&&!Ds(e)}function zs(e){return ea(e)&&Js(e)}var Ms=Lt||mc,js=ft?Mt(ft):function(e){return ea(e)&&Gr(e)==f};function Ps(e){if(!ea(e))return!1;var t=Gr(e);return t==I||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ra(e)}function Ds(e){if(!qs(e))return!1;var t=Gr(e);return t==b||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Qs(e){return"number"==typeof e&&e==pa(e)}function $s(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function qs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ea(e){return null!=e&&"object"==typeof e}var ta=It?Mt(It):function(e){return ea(e)&&gi(e)==y};function na(e){return"number"==typeof e||ea(e)&&Gr(e)==v}function ra(e){if(!ea(e)||Gr(e)!=A)return!1;var t=Oe(e);if(null===t)return!0;var n=ke.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_e.call(n)==Ye}var oa=bt?Mt(bt):function(e){return ea(e)&&Gr(e)==Z},ia=Ct?Mt(Ct):function(e){return ea(e)&&gi(e)==B};function sa(e){return"string"==typeof e||!Us(e)&&ea(e)&&Gr(e)==S}function aa(e){return"symbol"==typeof e||ea(e)&&Gr(e)==w}var ca=yt?Mt(yt):function(e){return ea(e)&&$s(e.length)&&!!nt[Gr(e)]},la=Oo(Hr),ua=Oo((function(e,t){return e<=t}));function da(e){if(!e)return[];if(Js(e))return sa(e)?ln(e):wo(e);if($e&&e[$e])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$e]());var t=gi(e);return(t==y?nn:t==B?sn:Ta)(e)}function ga(e){return e?(e=ma(e))===c||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function pa(e){var t=ga(e),n=t%1;return t==t?n?t-n:t:0}function ha(e){return e?ir(pa(e),0,d):0}function ma(e){if("number"==typeof e)return e;if(aa(e))return u;if(qs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=qs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=zt(e);var n=ge.test(e);return n||he.test(e)?st(e.slice(2),n?2:8):de.test(e)?u:+e}function fa(e){return Ro(e,Va(e))}function Ia(e){return null==e?"":so(e)}var ba=No((function(e,t){if(vi(t)||Js(t))Ro(t,Na(t),e);else for(var n in t)ke.call(t,n)&&qn(e,n,t[n])})),Ca=No((function(e,t){Ro(t,Va(t),e)})),ya=No((function(e,t,n,r){Ro(t,Va(t),e,r)})),va=No((function(e,t,n,r){Ro(t,Na(t),e,r)})),Aa=ei(or),Ga=Mr((function(e,t){e=Ze(e);var r=-1,o=t.length,i=o>2?t[2]:n;for(i&&Ii(t[0],t[1],i)&&(o=1);++r<o;)for(var s=t[r],a=Va(s),c=-1,l=a.length;++c<l;){var u=a[c],d=e[u];(d===n||Ts(d,Ne[u])&&!ke.call(e,u))&&(e[u]=s[u])}return e})),Za=Mr((function(e){return e.push(n,Qo),vt(ka,n,e)}));function Ba(e,t,r){var o=null==e?n:vr(e,t);return o===n?r:o}function Sa(e,t){return null!=e&&pi(e,t,Sr)}var wa=To((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),qa(nc)),Ra=To((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),ke.call(e,t)?e[t].push(n):e[t]=[n]}),si),Wa=Mr(Rr);function Na(e){return Js(e)?jn(e):Er(e)}function Va(e){return Js(e)?jn(e,!0):function(e){if(!qs(e))return function(e){var t=[];if(null!=e)for(var n in Ze(e))t.push(n);return t}(e);var t=vi(e),n=[];for(var r in e)("constructor"!=r||!t&&ke.call(e,r))&&n.push(r);return n}(e)}var _a=No((function(e,t,n){Tr(e,t,n)})),ka=No((function(e,t,n,r){Tr(e,t,n,r)})),Ea=ei((function(e,t){var n={};if(null==e)return n;var r=!1;t=Wt(t,(function(t){return t=Io(t,e),r||(r=t.length>1),t})),Ro(e,ni(e),n),r&&(n=sr(n,7,$o));for(var o=t.length;o--;)co(n,t[o]);return n})),Ha=ei((function(e,t){return null==e?{}:function(e,t){return Lr(e,t,(function(t,n){return Sa(e,n)}))}(e,t)}));function Fa(e,t){if(null==e)return{};var n=Wt(ni(e),(function(e){return[e]}));return t=si(t),Lr(e,n,(function(e,n){return t(e,n[0])}))}var Ya=jo(Na),Xa=jo(Va);function Ta(e){return null==e?[]:jt(e,Na(e))}var xa=Eo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ka(t):t)}));function Ka(e){return Pa(Ia(e).toLowerCase())}function La(e){return(e=Ia(e))&&e.replace(fe,$t).replace(Pe,"")}var Ua=Eo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Oa=Eo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ja=ko("toLowerCase"),za=Eo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ma=Eo((function(e,t,n){return e+(n?" ":"")+Pa(t)})),ja=Eo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Pa=ko("toUpperCase");function Da(e,t,r){return e=Ia(e),(t=r?n:t)===n?function(e){return qe.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(se)||[]}(e):e.match(t)||[]}var Qa=Mr((function(e,t){try{return vt(e,n,t)}catch(e){return Ps(e)?e:new ve(e)}})),$a=ei((function(e,t){return Gt(t,(function(t){t=Fi(t),rr(e,t,Rs(e[t],e))})),e}));function qa(e){return function(){return e}}var ec=Yo(),tc=Yo(!0);function nc(e){return e}function rc(e){return kr("function"==typeof e?e:sr(e,1))}var oc=Mr((function(e,t){return function(n){return Rr(n,e,t)}})),ic=Mr((function(e,t){return function(n){return Rr(e,n,t)}}));function sc(e,t,n){var r=Na(t),o=yr(t,r);null!=n||qs(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=yr(t,Na(t)));var i=!(qs(n)&&"chain"in n&&!n.chain),s=Ds(e);return Gt(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=wo(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Nt([this.value()],arguments))})})),e}function ac(){}var cc=Ko(Wt),lc=Ko(Bt),uc=Ko(kt);function dc(e){return bi(e)?Kt(Fi(e)):function(e){return function(t){return vr(t,e)}}(e)}var gc=Uo(),pc=Uo(!0);function hc(){return[]}function mc(){return!1}var fc,Ic=xo((function(e,t){return e+t}),0),bc=zo("ceil"),Cc=xo((function(e,t){return e/t}),1),yc=zo("floor"),vc=xo((function(e,t){return e*t}),1),Ac=zo("round"),Gc=xo((function(e,t){return e-t}),0);return Xn.after=function(e,t){if("function"!=typeof t)throw new we(r);return e=pa(e),function(){if(--e<1)return t.apply(this,arguments)}},Xn.ary=Ss,Xn.assign=ba,Xn.assignIn=Ca,Xn.assignInWith=ya,Xn.assignWith=va,Xn.at=Aa,Xn.before=ws,Xn.bind=Rs,Xn.bindAll=$a,Xn.bindKey=Ws,Xn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Us(e)?e:[e]},Xn.chain=ds,Xn.chunk=function(e,t,r){t=(r?Ii(e,t,r):t===n)?1:fn(pa(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,s=0,a=Ce(pt(o/t));i<o;)a[s++]=eo(e,i,i+=t);return a},Xn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Xn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Ce(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Nt(Us(n)?wo(n):[n],mr(t,1))},Xn.cond=function(e){var t=null==e?0:e.length,n=si();return e=t?Wt(e,(function(e){if("function"!=typeof e[1])throw new we(r);return[n(e[0]),e[1]]})):[],Mr((function(n){for(var r=-1;++r<t;){var o=e[r];if(vt(o[0],this,n))return vt(o[1],this,n)}}))},Xn.conforms=function(e){return function(e){var t=Na(e);return function(n){return ar(n,e,t)}}(sr(e,1))},Xn.constant=qa,Xn.countBy=hs,Xn.create=function(e,t){var n=Tn(e);return null==t?n:nr(n,t)},Xn.curry=function e(t,r,o){var i=Po(t,8,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Xn.curryRight=function e(t,r,o){var i=Po(t,16,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Xn.debounce=Ns,Xn.defaults=Ga,Xn.defaultsDeep=Za,Xn.defer=Vs,Xn.delay=_s,Xn.difference=Ti,Xn.differenceBy=xi,Xn.differenceWith=Ki,Xn.drop=function(e,t,r){var o=null==e?0:e.length;return o?eo(e,(t=r||t===n?1:pa(t))<0?0:t,o):[]},Xn.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?eo(e,0,(t=o-(t=r||t===n?1:pa(t)))<0?0:t):[]},Xn.dropRightWhile=function(e,t){return e&&e.length?uo(e,si(t,3),!0,!0):[]},Xn.dropWhile=function(e,t){return e&&e.length?uo(e,si(t,3),!0):[]},Xn.fill=function(e,t,r,o){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&Ii(e,t,r)&&(r=0,o=i),function(e,t,r,o){var i=e.length;for((r=pa(r))<0&&(r=-r>i?0:i+r),(o=o===n||o>i?i:pa(o))<0&&(o+=i),o=r>o?0:ha(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Xn.filter=function(e,t){return(Us(e)?St:hr)(e,si(t,3))},Xn.flatMap=function(e,t){return mr(As(e,t),1)},Xn.flatMapDeep=function(e,t){return mr(As(e,t),c)},Xn.flatMapDepth=function(e,t,r){return r=r===n?1:pa(r),mr(As(e,t),r)},Xn.flatten=Oi,Xn.flattenDeep=function(e){return null!=e&&e.length?mr(e,c):[]},Xn.flattenDepth=function(e,t){return null!=e&&e.length?mr(e,t=t===n?1:pa(t)):[]},Xn.flip=function(e){return Po(e,512)},Xn.flow=ec,Xn.flowRight=tc,Xn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Xn.functions=function(e){return null==e?[]:yr(e,Na(e))},Xn.functionsIn=function(e){return null==e?[]:yr(e,Va(e))},Xn.groupBy=Cs,Xn.initial=function(e){return null!=e&&e.length?eo(e,0,-1):[]},Xn.intersection=zi,Xn.intersectionBy=Mi,Xn.intersectionWith=ji,Xn.invert=wa,Xn.invertBy=Ra,Xn.invokeMap=ys,Xn.iteratee=rc,Xn.keyBy=vs,Xn.keys=Na,Xn.keysIn=Va,Xn.map=As,Xn.mapKeys=function(e,t){var n={};return t=si(t,3),br(e,(function(e,r,o){rr(n,t(e,r,o),e)})),n},Xn.mapValues=function(e,t){var n={};return t=si(t,3),br(e,(function(e,r,o){rr(n,r,t(e,r,o))})),n},Xn.matches=function(e){return Yr(sr(e,1))},Xn.matchesProperty=function(e,t){return Xr(e,sr(t,1))},Xn.memoize=ks,Xn.merge=_a,Xn.mergeWith=ka,Xn.method=oc,Xn.methodOf=ic,Xn.mixin=sc,Xn.negate=Es,Xn.nthArg=function(e){return e=pa(e),Mr((function(t){return xr(t,e)}))},Xn.omit=Ea,Xn.omitBy=function(e,t){return Fa(e,Es(si(t)))},Xn.once=function(e){return ws(2,e)},Xn.orderBy=function(e,t,r,o){return null==e?[]:(Us(t)||(t=null==t?[]:[t]),Us(r=o?n:r)||(r=null==r?[]:[r]),Kr(e,t,r))},Xn.over=cc,Xn.overArgs=Hs,Xn.overEvery=lc,Xn.overSome=uc,Xn.partial=Fs,Xn.partialRight=Ys,Xn.partition=Gs,Xn.pick=Ha,Xn.pickBy=Fa,Xn.property=dc,Xn.propertyOf=function(e){return function(t){return null==e?n:vr(e,t)}},Xn.pull=Di,Xn.pullAll=Qi,Xn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ur(e,t,si(n,2)):e},Xn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Ur(e,t,n,r):e},Xn.pullAt=$i,Xn.range=gc,Xn.rangeRight=pc,Xn.rearg=Xs,Xn.reject=function(e,t){return(Us(e)?St:hr)(e,Es(si(t,3)))},Xn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=si(t,3);++r<i;){var s=e[r];t(s,r,e)&&(n.push(s),o.push(r))}return Or(e,o),n},Xn.rest=function(e,t){if("function"!=typeof e)throw new we(r);return Mr(e,t=t===n?t:pa(t))},Xn.reverse=qi,Xn.sampleSize=function(e,t,r){return t=(r?Ii(e,t,r):t===n)?1:pa(t),(Us(e)?Dn:Pr)(e,t)},Xn.set=function(e,t,n){return null==e?e:Dr(e,t,n)},Xn.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:Dr(e,t,r,o)},Xn.shuffle=function(e){return(Us(e)?Qn:qr)(e)},Xn.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&Ii(e,t,r)?(t=0,r=o):(t=null==t?0:pa(t),r=r===n?o:pa(r)),eo(e,t,r)):[]},Xn.sortBy=Zs,Xn.sortedUniq=function(e){return e&&e.length?oo(e):[]},Xn.sortedUniqBy=function(e,t){return e&&e.length?oo(e,si(t,2)):[]},Xn.split=function(e,t,r){return r&&"number"!=typeof r&&Ii(e,t,r)&&(t=r=n),(r=r===n?d:r>>>0)?(e=Ia(e))&&("string"==typeof t||null!=t&&!oa(t))&&!(t=so(t))&&tn(e)?Co(ln(e),0,r):e.split(t,r):[]},Xn.spread=function(e,t){if("function"!=typeof e)throw new we(r);return t=null==t?0:fn(pa(t),0),Mr((function(n){var r=n[t],o=Co(n,0,t);return r&&Nt(o,r),vt(e,this,o)}))},Xn.tail=function(e){var t=null==e?0:e.length;return t?eo(e,1,t):[]},Xn.take=function(e,t,r){return e&&e.length?eo(e,0,(t=r||t===n?1:pa(t))<0?0:t):[]},Xn.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?eo(e,(t=o-(t=r||t===n?1:pa(t)))<0?0:t,o):[]},Xn.takeRightWhile=function(e,t){return e&&e.length?uo(e,si(t,3),!1,!0):[]},Xn.takeWhile=function(e,t){return e&&e.length?uo(e,si(t,3)):[]},Xn.tap=function(e,t){return t(e),e},Xn.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new we(r);return qs(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),Ns(e,t,{leading:o,maxWait:t,trailing:i})},Xn.thru=gs,Xn.toArray=da,Xn.toPairs=Ya,Xn.toPairsIn=Xa,Xn.toPath=function(e){return Us(e)?Wt(e,Fi):aa(e)?[e]:wo(Hi(Ia(e)))},Xn.toPlainObject=fa,Xn.transform=function(e,t,n){var r=Us(e),o=r||Ms(e)||ca(e);if(t=si(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:qs(e)&&Ds(i)?Tn(Oe(e)):{}}return(o?Gt:br)(e,(function(e,r,o){return t(n,e,r,o)})),n},Xn.unary=function(e){return Ss(e,1)},Xn.union=es,Xn.unionBy=ts,Xn.unionWith=ns,Xn.uniq=function(e){return e&&e.length?ao(e):[]},Xn.uniqBy=function(e,t){return e&&e.length?ao(e,si(t,2)):[]},Xn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?ao(e,n,t):[]},Xn.unset=function(e,t){return null==e||co(e,t)},Xn.unzip=rs,Xn.unzipWith=os,Xn.update=function(e,t,n){return null==e?e:lo(e,t,fo(n))},Xn.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:lo(e,t,fo(r),o)},Xn.values=Ta,Xn.valuesIn=function(e){return null==e?[]:jt(e,Va(e))},Xn.without=is,Xn.words=Da,Xn.wrap=function(e,t){return Fs(fo(t),e)},Xn.xor=ss,Xn.xorBy=as,Xn.xorWith=cs,Xn.zip=ls,Xn.zipObject=function(e,t){return ho(e||[],t||[],qn)},Xn.zipObjectDeep=function(e,t){return ho(e||[],t||[],Dr)},Xn.zipWith=us,Xn.entries=Ya,Xn.entriesIn=Xa,Xn.extend=Ca,Xn.extendWith=ya,sc(Xn,Xn),Xn.add=Ic,Xn.attempt=Qa,Xn.camelCase=xa,Xn.capitalize=Ka,Xn.ceil=bc,Xn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=ma(r))==r?r:0),t!==n&&(t=(t=ma(t))==t?t:0),ir(ma(e),t,r)},Xn.clone=function(e){return sr(e,4)},Xn.cloneDeep=function(e){return sr(e,5)},Xn.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:n)},Xn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:n)},Xn.conformsTo=function(e,t){return null==t||ar(e,t,Na(t))},Xn.deburr=La,Xn.defaultTo=function(e,t){return null==e||e!=e?t:e},Xn.divide=Cc,Xn.endsWith=function(e,t,r){e=Ia(e),t=so(t);var o=e.length,i=r=r===n?o:ir(pa(r),0,o);return(r-=t.length)>=0&&e.slice(r,i)==t},Xn.eq=Ts,Xn.escape=function(e){return(e=Ia(e))&&z.test(e)?e.replace(O,qt):e},Xn.escapeRegExp=function(e){return(e=Ia(e))&&ee.test(e)?e.replace(q,"\\$&"):e},Xn.every=function(e,t,r){var o=Us(e)?Bt:gr;return r&&Ii(e,t,r)&&(t=n),o(e,si(t,3))},Xn.find=ms,Xn.findIndex=Li,Xn.findKey=function(e,t){return Ht(e,si(t,3),br)},Xn.findLast=fs,Xn.findLastIndex=Ui,Xn.findLastKey=function(e,t){return Ht(e,si(t,3),Cr)},Xn.floor=yc,Xn.forEach=Is,Xn.forEachRight=bs,Xn.forIn=function(e,t){return null==e?e:fr(e,si(t,3),Va)},Xn.forInRight=function(e,t){return null==e?e:Ir(e,si(t,3),Va)},Xn.forOwn=function(e,t){return e&&br(e,si(t,3))},Xn.forOwnRight=function(e,t){return e&&Cr(e,si(t,3))},Xn.get=Ba,Xn.gt=xs,Xn.gte=Ks,Xn.has=function(e,t){return null!=e&&pi(e,t,Br)},Xn.hasIn=Sa,Xn.head=Ji,Xn.identity=nc,Xn.includes=function(e,t,n,r){e=Js(e)?e:Ta(e),n=n&&!r?pa(n):0;var o=e.length;return n<0&&(n=fn(o+n,0)),sa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Yt(e,t,n)>-1},Xn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:pa(n);return o<0&&(o=fn(r+o,0)),Yt(e,t,o)},Xn.inRange=function(e,t,r){return t=ga(t),r===n?(r=t,t=0):r=ga(r),function(e,t,n){return e>=In(t,n)&&e<fn(t,n)}(e=ma(e),t,r)},Xn.invoke=Wa,Xn.isArguments=Ls,Xn.isArray=Us,Xn.isArrayBuffer=Os,Xn.isArrayLike=Js,Xn.isArrayLikeObject=zs,Xn.isBoolean=function(e){return!0===e||!1===e||ea(e)&&Gr(e)==m},Xn.isBuffer=Ms,Xn.isDate=js,Xn.isElement=function(e){return ea(e)&&1===e.nodeType&&!ra(e)},Xn.isEmpty=function(e){if(null==e)return!0;if(Js(e)&&(Us(e)||"string"==typeof e||"function"==typeof e.splice||Ms(e)||ca(e)||Ls(e)))return!e.length;var t=gi(e);if(t==y||t==B)return!e.size;if(vi(e))return!Er(e).length;for(var n in e)if(ke.call(e,n))return!1;return!0},Xn.isEqual=function(e,t){return Nr(e,t)},Xn.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?Nr(e,t,n,r):!!o},Xn.isError=Ps,Xn.isFinite=function(e){return"number"==typeof e&&pn(e)},Xn.isFunction=Ds,Xn.isInteger=Qs,Xn.isLength=$s,Xn.isMap=ta,Xn.isMatch=function(e,t){return e===t||Vr(e,t,ci(t))},Xn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Vr(e,t,ci(t),r)},Xn.isNaN=function(e){return na(e)&&e!=+e},Xn.isNative=function(e){if(yi(e))throw new ve("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return _r(e)},Xn.isNil=function(e){return null==e},Xn.isNull=function(e){return null===e},Xn.isNumber=na,Xn.isObject=qs,Xn.isObjectLike=ea,Xn.isPlainObject=ra,Xn.isRegExp=oa,Xn.isSafeInteger=function(e){return Qs(e)&&e>=-9007199254740991&&e<=l},Xn.isSet=ia,Xn.isString=sa,Xn.isSymbol=aa,Xn.isTypedArray=ca,Xn.isUndefined=function(e){return e===n},Xn.isWeakMap=function(e){return ea(e)&&gi(e)==R},Xn.isWeakSet=function(e){return ea(e)&&"[object WeakSet]"==Gr(e)},Xn.join=function(e,t){return null==e?"":hn.call(e,t)},Xn.kebabCase=Ua,Xn.last=Pi,Xn.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o;return r!==n&&(i=(i=pa(r))<0?fn(o+i,0):In(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ft(e,Tt,i,!0)},Xn.lowerCase=Oa,Xn.lowerFirst=Ja,Xn.lt=la,Xn.lte=ua,Xn.max=function(e){return e&&e.length?pr(e,nc,Zr):n},Xn.maxBy=function(e,t){return e&&e.length?pr(e,si(t,2),Zr):n},Xn.mean=function(e){return xt(e,nc)},Xn.meanBy=function(e,t){return xt(e,si(t,2))},Xn.min=function(e){return e&&e.length?pr(e,nc,Hr):n},Xn.minBy=function(e,t){return e&&e.length?pr(e,si(t,2),Hr):n},Xn.stubArray=hc,Xn.stubFalse=mc,Xn.stubObject=function(){return{}},Xn.stubString=function(){return""},Xn.stubTrue=function(){return!0},Xn.multiply=vc,Xn.nth=function(e,t){return e&&e.length?xr(e,pa(t)):n},Xn.noConflict=function(){return lt._===this&&(lt._=Xe),this},Xn.noop=ac,Xn.now=Bs,Xn.pad=function(e,t,n){e=Ia(e);var r=(t=pa(t))?cn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Lo(ht(o),n)+e+Lo(pt(o),n)},Xn.padEnd=function(e,t,n){e=Ia(e);var r=(t=pa(t))?cn(e):0;return t&&r<t?e+Lo(t-r,n):e},Xn.padStart=function(e,t,n){e=Ia(e);var r=(t=pa(t))?cn(e):0;return t&&r<t?Lo(t-r,n)+e:e},Xn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Cn(Ia(e).replace(te,""),t||0)},Xn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&Ii(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=ga(e),t===n?(t=e,e=0):t=ga(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var i=yn();return In(e+i*(t-e+it("1e-"+((i+"").length-1))),t)}return Jr(e,t)},Xn.reduce=function(e,t,n){var r=Us(e)?Vt:Ut,o=arguments.length<3;return r(e,si(t,4),n,o,ur)},Xn.reduceRight=function(e,t,n){var r=Us(e)?_t:Ut,o=arguments.length<3;return r(e,si(t,4),n,o,dr)},Xn.repeat=function(e,t,r){return t=(r?Ii(e,t,r):t===n)?1:pa(t),zr(Ia(e),t)},Xn.replace=function(){var e=arguments,t=Ia(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Xn.result=function(e,t,r){var o=-1,i=(t=Io(t,e)).length;for(i||(i=1,e=n);++o<i;){var s=null==e?n:e[Fi(t[o])];s===n&&(o=i,s=r),e=Ds(s)?s.call(e):s}return e},Xn.round=Ac,Xn.runInContext=e,Xn.sample=function(e){return(Us(e)?Pn:jr)(e)},Xn.size=function(e){if(null==e)return 0;if(Js(e))return sa(e)?cn(e):e.length;var t=gi(e);return t==y||t==B?e.size:Er(e).length},Xn.snakeCase=za,Xn.some=function(e,t,r){var o=Us(e)?kt:to;return r&&Ii(e,t,r)&&(t=n),o(e,si(t,3))},Xn.sortedIndex=function(e,t){return no(e,t)},Xn.sortedIndexBy=function(e,t,n){return ro(e,t,si(n,2))},Xn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=no(e,t);if(r<n&&Ts(e[r],t))return r}return-1},Xn.sortedLastIndex=function(e,t){return no(e,t,!0)},Xn.sortedLastIndexBy=function(e,t,n){return ro(e,t,si(n,2),!0)},Xn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=no(e,t,!0)-1;if(Ts(e[n],t))return n}return-1},Xn.startCase=Ma,Xn.startsWith=function(e,t,n){return e=Ia(e),n=null==n?0:ir(pa(n),0,e.length),t=so(t),e.slice(n,n+t.length)==t},Xn.subtract=Gc,Xn.sum=function(e){return e&&e.length?Ot(e,nc):0},Xn.sumBy=function(e,t){return e&&e.length?Ot(e,si(t,2)):0},Xn.template=function(e,t,r){var o=Xn.templateSettings;r&&Ii(e,t,r)&&(t=n),e=Ia(e),t=ya({},t,o,Do);var i,s,a=ya({},t.imports,o.imports,Do),c=Na(a),l=jt(a,c),u=0,d=t.interpolate||Ie,g="__p += '",p=Be((t.escape||Ie).source+"|"+d.source+"|"+(d===P?le:Ie).source+"|"+(t.evaluate||Ie).source+"|$","g"),h="//# sourceURL="+(ke.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tt+"]")+"\n";e.replace(p,(function(t,n,r,o,a,c){return r||(r=o),g+=e.slice(u,c).replace(be,en),n&&(i=!0,g+="' +\n__e("+n+") +\n'"),a&&(s=!0,g+="';\n"+a+";\n__p += '"),r&&(g+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),g+="';\n";var m=ke.call(t,"variable")&&t.variable;if(m){if(ae.test(m))throw new ve("Invalid `variable` option passed into `_.template`")}else g="with (obj) {\n"+g+"\n}\n";g=(s?g.replace(x,""):g).replace(K,"$1").replace(L,"$1;"),g="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+g+"return __p\n}";var f=Qa((function(){return Ae(c,h+"return "+g).apply(n,l)}));if(f.source=g,Ps(f))throw f;return f},Xn.times=function(e,t){if((e=pa(e))<1||e>l)return[];var n=d,r=In(e,d);t=si(t),e-=d;for(var o=Jt(r,t);++n<e;)t(n);return o},Xn.toFinite=ga,Xn.toInteger=pa,Xn.toLength=ha,Xn.toLower=function(e){return Ia(e).toLowerCase()},Xn.toNumber=ma,Xn.toSafeInteger=function(e){return e?ir(pa(e),-9007199254740991,l):0===e?e:0},Xn.toString=Ia,Xn.toUpper=function(e){return Ia(e).toUpperCase()},Xn.trim=function(e,t,r){if((e=Ia(e))&&(r||t===n))return zt(e);if(!e||!(t=so(t)))return e;var o=ln(e),i=ln(t);return Co(o,Dt(o,i),Qt(o,i)+1).join("")},Xn.trimEnd=function(e,t,r){if((e=Ia(e))&&(r||t===n))return e.slice(0,un(e)+1);if(!e||!(t=so(t)))return e;var o=ln(e);return Co(o,0,Qt(o,ln(t))+1).join("")},Xn.trimStart=function(e,t,r){if((e=Ia(e))&&(r||t===n))return e.replace(te,"");if(!e||!(t=so(t)))return e;var o=ln(e);return Co(o,Dt(o,ln(t))).join("")},Xn.truncate=function(e,t){var r=30,o="...";if(qs(t)){var i="separator"in t?t.separator:i;r="length"in t?pa(t.length):r,o="omission"in t?so(t.omission):o}var s=(e=Ia(e)).length;if(tn(e)){var a=ln(e);s=a.length}if(r>=s)return e;var c=r-cn(o);if(c<1)return o;var l=a?Co(a,0,c).join(""):e.slice(0,c);if(i===n)return l+o;if(a&&(c+=l.length-c),oa(i)){if(e.slice(c).search(i)){var u,d=l;for(i.global||(i=Be(i.source,Ia(ue.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var g=u.index;l=l.slice(0,g===n?c:g)}}else if(e.indexOf(so(i),c)!=c){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+o},Xn.unescape=function(e){return(e=Ia(e))&&J.test(e)?e.replace(U,dn):e},Xn.uniqueId=function(e){var t=++Ee;return Ia(e)+t},Xn.upperCase=ja,Xn.upperFirst=Pa,Xn.each=Is,Xn.eachRight=bs,Xn.first=Ji,sc(Xn,(fc={},br(Xn,(function(e,t){ke.call(Xn.prototype,t)||(fc[t]=e)})),fc),{chain:!1}),Xn.VERSION="4.17.21",Gt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Xn[e].placeholder=Xn})),Gt(["drop","take"],(function(e,t){Ln.prototype[e]=function(r){r=r===n?1:fn(pa(r),0);var o=this.__filtered__&&!t?new Ln(this):this.clone();return o.__filtered__?o.__takeCount__=In(r,o.__takeCount__):o.__views__.push({size:In(r,d),type:e+(o.__dir__<0?"Right":"")}),o},Ln.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Gt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Ln.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:si(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Gt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ln.prototype[e]=function(){return this[n](1).value()[0]}})),Gt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ln.prototype[e]=function(){return this.__filtered__?new Ln(this):this[n](1)}})),Ln.prototype.compact=function(){return this.filter(nc)},Ln.prototype.find=function(e){return this.filter(e).head()},Ln.prototype.findLast=function(e){return this.reverse().find(e)},Ln.prototype.invokeMap=Mr((function(e,t){return"function"==typeof e?new Ln(this):this.map((function(n){return Rr(n,e,t)}))})),Ln.prototype.reject=function(e){return this.filter(Es(si(e)))},Ln.prototype.slice=function(e,t){e=pa(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ln(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=pa(t))<0?r.dropRight(-t):r.take(t-e)),r)},Ln.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ln.prototype.toArray=function(){return this.take(d)},br(Ln.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Xn[o?"take"+("last"==t?"Right":""):t],s=o||/^find/.test(t);i&&(Xn.prototype[t]=function(){var t=this.__wrapped__,a=o?[1]:arguments,c=t instanceof Ln,l=a[0],u=c||Us(t),d=function(e){var t=i.apply(Xn,Nt([e],a));return o&&g?t[0]:t};u&&r&&"function"==typeof l&&1!=l.length&&(c=u=!1);var g=this.__chain__,p=!!this.__actions__.length,h=s&&!g,m=c&&!p;if(!s&&u){t=m?t:new Ln(this);var f=e.apply(t,a);return f.__actions__.push({func:gs,args:[d],thisArg:n}),new Kn(f,g)}return h&&m?e.apply(this,a):(f=this.thru(d),h?o?f.value()[0]:f.value():f)})})),Gt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Re[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Xn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Us(o)?o:[],e)}return this[n]((function(n){return t.apply(Us(n)?n:[],e)}))}})),br(Ln.prototype,(function(e,t){var n=Xn[t];if(n){var r=n.name+"";ke.call(Wn,r)||(Wn[r]=[]),Wn[r].push({name:t,func:n})}})),Wn[Xo(n,2).name]=[{name:"wrapper",func:n}],Ln.prototype.clone=function(){var e=new Ln(this.__wrapped__);return e.__actions__=wo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=wo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=wo(this.__views__),e},Ln.prototype.reverse=function(){if(this.__filtered__){var e=new Ln(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ln.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Us(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],s=i.size;switch(i.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=In(t,e+s);break;case"takeRight":e=fn(e,t-s)}}return{start:e,end:t}}(0,o,this.__views__),s=i.start,a=i.end,c=a-s,l=r?a:s-1,u=this.__iteratees__,d=u.length,g=0,p=In(c,this.__takeCount__);if(!n||!r&&o==c&&p==c)return go(e,this.__actions__);var h=[];e:for(;c--&&g<p;){for(var m=-1,f=e[l+=t];++m<d;){var I=u[m],b=I.iteratee,C=I.type,y=b(f);if(2==C)f=y;else if(!y){if(1==C)continue e;break e}}h[g++]=f}return h},Xn.prototype.at=ps,Xn.prototype.chain=function(){return ds(this)},Xn.prototype.commit=function(){return new Kn(this.value(),this.__chain__)},Xn.prototype.next=function(){this.__values__===n&&(this.__values__=da(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Xn.prototype.plant=function(e){for(var t,r=this;r instanceof xn;){var o=Xi(r);o.__index__=0,o.__values__=n,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t},Xn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ln){var t=e;return this.__actions__.length&&(t=new Ln(this)),(t=t.reverse()).__actions__.push({func:gs,args:[qi],thisArg:n}),new Kn(t,this.__chain__)}return this.thru(qi)},Xn.prototype.toJSON=Xn.prototype.valueOf=Xn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Xn.prototype.first=Xn.prototype.head,$e&&(Xn.prototype[$e]=function(){return this}),Xn}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(lt._=gn,define((function(){return gn}))):dt?((dt.exports=gn)._=gn,ut._=gn):lt._=gn}.call(this)},1159:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o;function s(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,a){a=a||{};var c,l,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(c=e,(l=Math.abs(c))>=o?s(c,l,o,"day"):l>=r?s(c,l,r,"hour"):l>=n?s(c,l,n,"minute"):l>=t?s(c,l,t,"second"):c+" ms"):function(e){var i=Math.abs(e);return i>=o?Math.round(e/o)+"d":i>=r?Math.round(e/r)+"h":i>=n?Math.round(e/n)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},234:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))n.call(i,l)&&(a[l]=i[l]);if(t){s=t(i);for(var u=0;u<s.length;u++)r.call(i,s[u])&&(a[s[u]]=i[s[u]])}}return a}},8157:(e,t,n)=>{"use strict";var r=n(234),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var s=60109,a=60110,c=60112;t.Suspense=60113;var l=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),i=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),s=d("react.provider"),a=d("react.context"),c=d("react.forward_ref"),t.Suspense=d("react.suspense"),l=d("react.memo"),u=d("react.lazy")}var g="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function f(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function I(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}f.prototype.isReactComponent={},f.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},f.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},I.prototype=f.prototype;var C=b.prototype=new I;C.constructor=b,r(C,f.prototype),C.isPureReactComponent=!0;var y={current:null},v=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function G(e,t,n){var r,i={},s=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)v.call(t,r)&&!A.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:e,key:s,ref:a,props:i,_owner:y.current}}function Z(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var B=/\/+/g;function S(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function w(e,t,n,r,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var c=!1;if(null===e)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case o:case i:c=!0}}if(c)return s=s(c=e),e=""===r?"."+S(c,0):r,Array.isArray(s)?(n="",null!=e&&(n=e.replace(B,"$&/")+"/"),w(s,t,n,"",(function(e){return e}))):null!=s&&(Z(s)&&(s=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,n+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(B,"$&/")+"/")+e)),t.push(s)),1;if(c=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var u=r+S(a=e[l],l);c+=w(a,t,n,u,s)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=g&&e[g]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),l=0;!(a=e.next()).done;)c+=w(a=a.value,t,n,u=r+S(a,l++),s);else if("object"===a)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return c}function R(e,t,n){if(null==e)return e;var r=[],o=0;return w(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function W(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var N={current:null};function V(){var e=N.current;if(null===e)throw Error(p(321));return e}var _={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:y,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!Z(e))throw Error(p(143));return e}},t.Component=f,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var i=r({},e.props),s=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=y.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)v.call(t,u)&&!A.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){l=Array(u);for(var d=0;d<u;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:o,type:e.type,key:s,ref:a,props:i,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=G,t.createFactory=function(e){var t=G.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=Z,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:W}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version="17.0.2"},1794:(e,t,n)=>{"use strict";e.exports=n(8157)},6165:(e,t,n)=>{!function(e){e.parser=function(e,t){return new o(e,t)},e.SAXParser=o,e.SAXStream=s,e.createStream=function(e,t){return new s(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function o(t,n){if(!(this instanceof o))return new o(t,n);var i=this;!function(e){for(var t=0,n=r.length;t<n;t++)e[r[t]]=""}(i),i.q=i.c="",i.bufferCheckPosition=e.MAX_BUFFER_LENGTH,i.opt=n||{},i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags,i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase",i.tags=[],i.closed=i.closedRoot=i.sawRoot=!1,i.tag=i.error=null,i.strict=!!t,i.noscript=!(!t&&!i.opt.noscript),i.state=Z.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=i.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(d)),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),S(i,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),o.prototype={end:function(){V(this)},write:function(t){var n=this;if(this.error)throw this.error;if(n.closed)return N(n,"Cannot write after close. Assign an onready handler.");if(null===t)return V(n);"object"==typeof t&&(t=t.toString());for(var o=0,i="";i=x(t,o++),n.c=i,i;)switch(n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++),n.state){case Z.BEGIN:if(n.state=Z.BEGIN_WHITESPACE,"\ufeff"===i)continue;T(n,i);continue;case Z.BEGIN_WHITESPACE:T(n,i);continue;case Z.TEXT:if(n.sawRoot&&!n.closedRoot){for(var s=o-1;i&&"<"!==i&&"&"!==i;)(i=x(t,o++))&&n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(s,o-1)}"<"!==i||n.sawRoot&&n.closedRoot&&!n.strict?(f(i)||n.sawRoot&&!n.closedRoot||_(n,"Text data outside of root node."),"&"===i?n.state=Z.TEXT_ENTITY:n.textNode+=i):(n.state=Z.OPEN_WAKA,n.startTagPosition=n.position);continue;case Z.SCRIPT:"<"===i?n.state=Z.SCRIPT_ENDING:n.script+=i;continue;case Z.SCRIPT_ENDING:"/"===i?n.state=Z.CLOSE_TAG:(n.script+="<"+i,n.state=Z.SCRIPT);continue;case Z.OPEN_WAKA:if("!"===i)n.state=Z.SGML_DECL,n.sgmlDecl="";else if(f(i));else if(C(g,i))n.state=Z.OPEN_TAG,n.tagName=i;else if("/"===i)n.state=Z.CLOSE_TAG,n.tagName="";else if("?"===i)n.state=Z.PROC_INST,n.procInstName=n.procInstBody="";else{if(_(n,"Unencoded <"),n.startTagPosition+1<n.position){var l=n.position-n.startTagPosition;i=new Array(l).join(" ")+i}n.textNode+="<"+i,n.state=Z.TEXT}continue;case Z.SGML_DECL:(n.sgmlDecl+i).toUpperCase()===a?(w(n,"onopencdata"),n.state=Z.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+i==="--"?(n.state=Z.COMMENT,n.comment="",n.sgmlDecl=""):(n.sgmlDecl+i).toUpperCase()===c?(n.state=Z.DOCTYPE,(n.doctype||n.sawRoot)&&_(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===i?(w(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=Z.TEXT):I(i)?(n.state=Z.SGML_DECL_QUOTED,n.sgmlDecl+=i):n.sgmlDecl+=i;continue;case Z.SGML_DECL_QUOTED:i===n.q&&(n.state=Z.SGML_DECL,n.q=""),n.sgmlDecl+=i;continue;case Z.DOCTYPE:">"===i?(n.state=Z.TEXT,w(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=i,"["===i?n.state=Z.DOCTYPE_DTD:I(i)&&(n.state=Z.DOCTYPE_QUOTED,n.q=i));continue;case Z.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q="",n.state=Z.DOCTYPE);continue;case Z.DOCTYPE_DTD:n.doctype+=i,"]"===i?n.state=Z.DOCTYPE:I(i)&&(n.state=Z.DOCTYPE_DTD_QUOTED,n.q=i);continue;case Z.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=Z.DOCTYPE_DTD,n.q="");continue;case Z.COMMENT:"-"===i?n.state=Z.COMMENT_ENDING:n.comment+=i;continue;case Z.COMMENT_ENDING:"-"===i?(n.state=Z.COMMENT_ENDED,n.comment=W(n.opt,n.comment),n.comment&&w(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+i,n.state=Z.COMMENT);continue;case Z.COMMENT_ENDED:">"!==i?(_(n,"Malformed comment"),n.comment+="--"+i,n.state=Z.COMMENT):n.state=Z.TEXT;continue;case Z.CDATA:"]"===i?n.state=Z.CDATA_ENDING:n.cdata+=i;continue;case Z.CDATA_ENDING:"]"===i?n.state=Z.CDATA_ENDING_2:(n.cdata+="]"+i,n.state=Z.CDATA);continue;case Z.CDATA_ENDING_2:">"===i?(n.cdata&&w(n,"oncdata",n.cdata),w(n,"onclosecdata"),n.cdata="",n.state=Z.TEXT):"]"===i?n.cdata+="]":(n.cdata+="]]"+i,n.state=Z.CDATA);continue;case Z.PROC_INST:"?"===i?n.state=Z.PROC_INST_ENDING:f(i)?n.state=Z.PROC_INST_BODY:n.procInstName+=i;continue;case Z.PROC_INST_BODY:if(!n.procInstBody&&f(i))continue;"?"===i?n.state=Z.PROC_INST_ENDING:n.procInstBody+=i;continue;case Z.PROC_INST_ENDING:">"===i?(w(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=Z.TEXT):(n.procInstBody+="?"+i,n.state=Z.PROC_INST_BODY);continue;case Z.OPEN_TAG:C(p,i)?n.tagName+=i:(k(n),">"===i?F(n):"/"===i?n.state=Z.OPEN_TAG_SLASH:(f(i)||_(n,"Invalid character in tag name"),n.state=Z.ATTRIB));continue;case Z.OPEN_TAG_SLASH:">"===i?(F(n,!0),Y(n)):(_(n,"Forward-slash in opening tag not followed by >"),n.state=Z.ATTRIB);continue;case Z.ATTRIB:if(f(i))continue;">"===i?F(n):"/"===i?n.state=Z.OPEN_TAG_SLASH:C(g,i)?(n.attribName=i,n.attribValue="",n.state=Z.ATTRIB_NAME):_(n,"Invalid attribute name");continue;case Z.ATTRIB_NAME:"="===i?n.state=Z.ATTRIB_VALUE:">"===i?(_(n,"Attribute without value"),n.attribValue=n.attribName,H(n),F(n)):f(i)?n.state=Z.ATTRIB_NAME_SAW_WHITE:C(p,i)?n.attribName+=i:_(n,"Invalid attribute name");continue;case Z.ATTRIB_NAME_SAW_WHITE:if("="===i)n.state=Z.ATTRIB_VALUE;else{if(f(i))continue;_(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",w(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===i?F(n):C(g,i)?(n.attribName=i,n.state=Z.ATTRIB_NAME):(_(n,"Invalid attribute name"),n.state=Z.ATTRIB)}continue;case Z.ATTRIB_VALUE:if(f(i))continue;I(i)?(n.q=i,n.state=Z.ATTRIB_VALUE_QUOTED):(_(n,"Unquoted attribute value"),n.state=Z.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case Z.ATTRIB_VALUE_QUOTED:if(i!==n.q){"&"===i?n.state=Z.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}H(n),n.q="",n.state=Z.ATTRIB_VALUE_CLOSED;continue;case Z.ATTRIB_VALUE_CLOSED:f(i)?n.state=Z.ATTRIB:">"===i?F(n):"/"===i?n.state=Z.OPEN_TAG_SLASH:C(g,i)?(_(n,"No whitespace between attributes"),n.attribName=i,n.attribValue="",n.state=Z.ATTRIB_NAME):_(n,"Invalid attribute name");continue;case Z.ATTRIB_VALUE_UNQUOTED:if(!b(i)){"&"===i?n.state=Z.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}H(n),">"===i?F(n):n.state=Z.ATTRIB;continue;case Z.CLOSE_TAG:if(n.tagName)">"===i?Y(n):C(p,i)?n.tagName+=i:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=Z.SCRIPT):(f(i)||_(n,"Invalid tagname in closing tag"),n.state=Z.CLOSE_TAG_SAW_WHITE);else{if(f(i))continue;y(g,i)?n.script?(n.script+="</"+i,n.state=Z.SCRIPT):_(n,"Invalid tagname in closing tag."):n.tagName=i}continue;case Z.CLOSE_TAG_SAW_WHITE:if(f(i))continue;">"===i?Y(n):_(n,"Invalid characters in closing tag");continue;case Z.TEXT_ENTITY:case Z.ATTRIB_VALUE_ENTITY_Q:case Z.ATTRIB_VALUE_ENTITY_U:var u,d;switch(n.state){case Z.TEXT_ENTITY:u=Z.TEXT,d="textNode";break;case Z.ATTRIB_VALUE_ENTITY_Q:u=Z.ATTRIB_VALUE_QUOTED,d="attribValue";break;case Z.ATTRIB_VALUE_ENTITY_U:u=Z.ATTRIB_VALUE_UNQUOTED,d="attribValue"}if(";"===i)if(n.opt.unparsedEntities){var v=X(n);n.entity="",n.state=u,n.write(v)}else n[d]+=X(n),n.entity="",n.state=u;else C(n.entity.length?m:h,i)?n.entity+=i:(_(n,"Invalid character in entity name"),n[d]+="&"+n.entity+i,n.entity="",n.state=u);continue;default:throw new Error(n,"Unknown state: "+n.state)}return n.position>=n.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),o=0,i=0,s=r.length;i<s;i++){var a=t[r[i]].length;if(a>n)switch(r[i]){case"textNode":R(t);break;case"cdata":w(t,"oncdata",t.cdata),t.cdata="";break;case"script":w(t,"onscript",t.script),t.script="";break;default:N(t,"Max buffer length exceeded: "+r[i])}o=Math.max(o,a)}var c=e.MAX_BUFFER_LENGTH-o;t.bufferCheckPosition=c+t.position}(n),n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;R(e=this),""!==e.cdata&&(w(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(w(e,"onscript",e.script),e.script="")}};try{t=n(2203).Stream}catch(e){t=function(){}}t||(t=function(){});var i=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function s(e,n){if(!(this instanceof s))return new s(e,n);t.apply(this),this._parser=new o(e,n),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(e){r.emit("error",e),r._parser.error=null},this._decoder=null,i.forEach((function(e){Object.defineProperty(r,"on"+e,{get:function(){return r._parser["on"+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser["on"+e]=t,t;r.on(e,t)},enumerable:!0,configurable:!1})}))}s.prototype=Object.create(t.prototype,{constructor:{value:s}}),s.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=n(3193).StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},s.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},s.prototype.on=function(e,n){var r=this;return r._parser["on"+e]||-1===i.indexOf(e)||(r._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),t.prototype.on.call(r,e,n)};var a="[CDATA[",c="DOCTYPE",l="http://www.w3.org/XML/1998/namespace",u="http://www.w3.org/2000/xmlns/",d={xml:l,xmlns:u},g=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,h=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function f(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function I(e){return'"'===e||"'"===e}function b(e){return">"===e||f(e)}function C(e,t){return e.test(t)}function y(e,t){return!C(e,t)}var v,A,G,Z=0;for(var B in e.STATE={BEGIN:Z++,BEGIN_WHITESPACE:Z++,TEXT:Z++,TEXT_ENTITY:Z++,OPEN_WAKA:Z++,SGML_DECL:Z++,SGML_DECL_QUOTED:Z++,DOCTYPE:Z++,DOCTYPE_QUOTED:Z++,DOCTYPE_DTD:Z++,DOCTYPE_DTD_QUOTED:Z++,COMMENT_STARTING:Z++,COMMENT:Z++,COMMENT_ENDING:Z++,COMMENT_ENDED:Z++,CDATA:Z++,CDATA_ENDING:Z++,CDATA_ENDING_2:Z++,PROC_INST:Z++,PROC_INST_BODY:Z++,PROC_INST_ENDING:Z++,OPEN_TAG:Z++,OPEN_TAG_SLASH:Z++,ATTRIB:Z++,ATTRIB_NAME:Z++,ATTRIB_NAME_SAW_WHITE:Z++,ATTRIB_VALUE:Z++,ATTRIB_VALUE_QUOTED:Z++,ATTRIB_VALUE_CLOSED:Z++,ATTRIB_VALUE_UNQUOTED:Z++,ATTRIB_VALUE_ENTITY_Q:Z++,ATTRIB_VALUE_ENTITY_U:Z++,CLOSE_TAG:Z++,CLOSE_TAG_SAW_WHITE:Z++,SCRIPT:Z++,SCRIPT_ENDING:Z++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var n=e.ENTITIES[t],r="number"==typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=r})),e.STATE)e.STATE[e.STATE[B]]=B;function S(e,t,n){e[t]&&e[t](n)}function w(e,t,n){e.textNode&&R(e),S(e,t,n)}function R(e){e.textNode=W(e.opt,e.textNode),e.textNode&&S(e,"ontext",e.textNode),e.textNode=""}function W(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function N(e,t){return R(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,S(e,"onerror",t),e}function V(e){return e.sawRoot&&!e.closedRoot&&_(e,"Unclosed root tag"),e.state!==Z.BEGIN&&e.state!==Z.BEGIN_WHITESPACE&&e.state!==Z.TEXT&&N(e,"Unexpected end"),R(e),e.c="",e.closed=!0,S(e,"onend"),o.call(e,e.strict,e.opt),e}function _(e,t){if("object"!=typeof e||!(e instanceof o))throw new Error("bad call to strictFail");e.strict&&N(e,t)}function k(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,w(e,"onopentagstart",n)}function E(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],o=n[1];return t&&"xmlns"===e&&(r="xmlns",o=""),{prefix:r,local:o}}function H(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=E(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==l)_(e,"xml: prefix must be bound to "+l+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==u)_(e,"xmlns: prefix must be bound to "+u+"\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,w(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function F(e,t){if(e.opt.xmlns){var n=e.tag,r=E(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(_(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){w(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,s=e.attribList.length;i<s;i++){var a=e.attribList[i],c=a[0],l=a[1],u=E(c,!0),d=u.prefix,g=u.local,p=""===d?"":n.ns[d]||"",h={name:c,value:l,prefix:d,local:g,uri:p};d&&"xmlns"!==d&&!p&&(_(e,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),e.tag.attributes[c]=h,w(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),w(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=Z.TEXT:e.state=Z.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function Y(e){if(!e.tagName)return _(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=Z.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=Z.SCRIPT);w(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)_(e,"Unexpected close tag");if(t<0)return _(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=Z.TEXT);e.tagName=n;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,w(e,"onclosetag",e.tagName);var s={};for(var a in i.ns)s[a]=i.ns[a];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==c.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];w(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=Z.TEXT}function X(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(_(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function T(e,t){"<"===t?(e.state=Z.OPEN_WAKA,e.startTagPosition=e.position):f(t)||(_(e,"Non-whitespace before first tag."),e.textNode=t,e.state=Z.TEXT)}function x(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}Z=e.STATE,String.fromCodePoint||(v=String.fromCharCode,A=Math.floor,G=function(){var e,t,n=[],r=-1,o=arguments.length;if(!o)return"";for(var i="";++r<o;){var s=Number(arguments[r]);if(!isFinite(s)||s<0||s>1114111||A(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?n.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,n.push(e,t)),(r+1===o||n.length>16384)&&(i+=v.apply(null,n),n.length=0)}return i},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:G,configurable:!0,writable:!0}):String.fromCodePoint=G)}(t)},6342:(e,t,n)=>{const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(c(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(c(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=o;const i=n(329),{safeRe:s,t:a}=n(2964),c=n(7657),l=n(2158),u=n(8338),d=n(9689)},9689:(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&I(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&m))+":"+e,n=o.get(t);if(n)return n;const r=this.options.loose,i=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(i,W(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),a("comparator trim",e),e=e.replace(l[u.TILDETRIM],g),a("tilde trim",e),e=e.replace(l[u.CARETTRIM],p),a("caret trim",e);let c=e.split(" ").map((e=>C(e,this.options))).join(" ").split(/\s+/).map((e=>R(e,this.options)));r&&(c=c.filter((e=>(a("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),a("range list",c);const I=new Map,b=c.map((e=>new s(e,this.options)));for(const e of b){if(f(e))return[e];I.set(e.value,e)}I.size>1&&I.has("")&&I.delete("");const y=[...I.values()];return o.set(t,y),y}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>b(n,t)&&e.set.some((e=>b(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(N(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(n(4375))({max:1e3}),i=n(329),s=n(6342),a=n(2158),c=n(8338),{safeRe:l,t:u,comparatorTrimReplace:d,tildeTrimReplace:g,caretTrimReplace:p}=n(2964),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:m}=n(7912),f=e=>"<0.0.0-0"===e.value,I=e=>""===e.value,b=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},C=(e,t)=>(a("comp",e,t),e=G(e,t),a("caret",e),e=v(e,t),a("tildes",e),e=B(e,t),a("xrange",e),e=w(e,t),a("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>A(e,t))).join(" "),A=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,o,i)=>{let s;return a("tilde",e,t,n,r,o,i),y(n)?s="":y(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:y(o)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(a("replaceTilde pr",i),s=`>=${n}.${r}.${o}-${i} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,a("tilde return",s),s}))},G=(e,t)=>e.trim().split(/\s+/).map((e=>Z(e,t))).join(" "),Z=(e,t)=>{a("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,o,i,s)=>{let c;return a("caret",e,t,n,o,i,s),y(n)?c="":y(o)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(i)?c="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:s?(a("replaceCaret pr",s),c="0"===n?"0"===o?`>=${n}.${o}.${i}-${s} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${s} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${s} <${+n+1}.0.0-0`):(a("no pr"),c="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),a("caret return",c),c}))},B=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>S(e,t))).join(" ")),S=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,o,i,s,c)=>{a("xRange",e,n,r,o,i,s,c);const l=y(o),u=l||y(i),d=u||y(s),g=d;return"="===r&&g&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&g?(u&&(i=0),s=0,">"===r?(r=">=",u?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===r&&(r="<",u?o=+o+1:i=+i+1),"<"===r&&(c="-0"),n=`${r+o}.${i}.${s}${c}`):u?n=`>=${o}.0.0${c} <${+o+1}.0.0-0`:d&&(n=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),a("xRange return",n),n}))},w=(e,t)=>(a("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),R=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),W=e=>(t,n,r,o,i,s,a,c,l,u,d,g,p)=>`${n=y(r)?"":y(o)?`>=${r}.0.0${e?"-0":""}`:y(i)?`>=${r}.${o}.0${e?"-0":""}`:s?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=y(l)?"":y(u)?`<${+l+1}.0.0-0`:y(d)?`<${l}.${+u+1}.0-0`:g?`<=${l}.${u}.${d}-${g}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`}`.trim(),N=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(a(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},8338:(e,t,n)=>{const r=n(2158),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(7912),{safeRe:s,t:a}=n(2964),c=n(329),{compareIdentifiers:l}=n(3065);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},5036:(e,t,n)=>{const r=n(7910);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},7657:(e,t,n)=>{const r=n(7387),o=n(4761),i=n(810),s=n(8195),a=n(205),c=n(8350);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return o(e,n,l);case">":return i(e,n,l);case">=":return s(e,n,l);case"<":return a(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},6020:(e,t,n)=>{const r=n(8338),o=n(7910),{safeRe:i,t:s}=n(2964);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?i[s.COERCERTLFULL]:i[s.COERCERTL];let o;for(;(o=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&o.index+o[0].length===n.index+n[0].length||(n=o),r.lastIndex=o.index+o[1].length+o[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?i[s.COERCEFULL]:i[s.COERCE]);if(null===n)return null;const a=n[2],c=n[3]||"0",l=n[4]||"0",u=t.includePrerelease&&n[5]?`-${n[5]}`:"",d=t.includePrerelease&&n[6]?`+${n[6]}`:"";return o(`${a}.${c}.${l}${u}${d}`,t)}},2771:(e,t,n)=>{const r=n(8338);e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}},8001:(e,t,n)=>{const r=n(9586);e.exports=(e,t)=>r(e,t,!0)},9586:(e,t,n)=>{const r=n(8338);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},9146:(e,t,n)=>{const r=n(7910);e.exports=(e,t)=>{const n=r(e,null,!0),o=r(t,null,!0),i=n.compare(o);if(0===i)return null;const s=i>0,a=s?n:o,c=s?o:n,l=!!a.prerelease.length;if(c.prerelease.length&&!l)return c.patch||c.minor?a.patch?"patch":a.minor?"minor":"major":"major";const u=l?"pre":"";return n.major!==o.major?u+"major":n.minor!==o.minor?u+"minor":n.patch!==o.patch?u+"patch":"prerelease"}},7387:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>0===r(e,t,n)},810:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)>0},8195:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)>=0},8781:(e,t,n)=>{const r=n(8338);e.exports=(e,t,n,o,i)=>{"string"==typeof n&&(i=o,o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o,i).version}catch(e){return null}}},205:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)<0},8350:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)<=0},3052:(e,t,n)=>{const r=n(8338);e.exports=(e,t)=>new r(e,t).major},3472:(e,t,n)=>{const r=n(8338);e.exports=(e,t)=>new r(e,t).minor},4761:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>0!==r(e,t,n)},7910:(e,t,n)=>{const r=n(8338);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},5895:(e,t,n)=>{const r=n(8338);e.exports=(e,t)=>new r(e,t).patch},4047:(e,t,n)=>{const r=n(7910);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},2276:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(t,e,n)},891:(e,t,n)=>{const r=n(2771);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},7116:(e,t,n)=>{const r=n(9689);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},5429:(e,t,n)=>{const r=n(2771);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},4523:(e,t,n)=>{const r=n(7910);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},6659:(e,t,n)=>{const r=n(2964),o=n(7912),i=n(8338),s=n(3065),a=n(7910),c=n(4523),l=n(5036),u=n(8781),d=n(9146),g=n(3052),p=n(3472),h=n(5895),m=n(4047),f=n(9586),I=n(2276),b=n(8001),C=n(2771),y=n(5429),v=n(891),A=n(810),G=n(205),Z=n(7387),B=n(4761),S=n(8195),w=n(8350),R=n(7657),W=n(6020),N=n(6342),V=n(9689),_=n(7116),k=n(8513),E=n(9214),H=n(4524),F=n(5183),Y=n(6720),X=n(2029),T=n(4253),x=n(4596),K=n(5969),L=n(2627),U=n(226);e.exports={parse:a,valid:c,clean:l,inc:u,diff:d,major:g,minor:p,patch:h,prerelease:m,compare:f,rcompare:I,compareLoose:b,compareBuild:C,sort:y,rsort:v,gt:A,lt:G,eq:Z,neq:B,gte:S,lte:w,cmp:R,coerce:W,Comparator:N,Range:V,satisfies:_,toComparators:k,maxSatisfying:E,minSatisfying:H,minVersion:F,validRange:Y,outside:X,gtr:T,ltr:x,intersects:K,simplifyRange:L,subset:U,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},7912:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},2158:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3065:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},329:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},2964:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(7912),s=n(2158),a=(t=e.exports={}).re=[],c=t.safeRe=[],l=t.src=[],u=t.t={};let d=0;const g="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[g,o]],h=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),o=d++;s(e,o,t),u[e]=o,l[o]=t,a[o]=new RegExp(t,n?"g":void 0),c[o]=new RegExp(r,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${g}*`),h("MAINVERSION",`(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${l[u.NUMERICIDENTIFIER]}|${l[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${l[u.NUMERICIDENTIFIERLOOSE]}|${l[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${g}+`),h("BUILD",`(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`),h("FULL",`^${l[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`),h("LOOSE",`^${l[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${l[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?)?)?`),h("XRANGE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),h("COERCE",`${l[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",l[u.COERCEPLAIN]+`(?:${l[u.PRERELEASE]})?`+`(?:${l[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",l[u.COERCE],!0),h("COERCERTLFULL",l[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${l[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${l[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${l[u.XRANGEPLAIN]})\\s+-\\s+(${l[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${l[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},4375:(e,t,n)=>{"use strict";const r=n(3113),o=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),c=Symbol("maxAge"),l=Symbol("dispose"),u=Symbol("noDisposeOnSet"),d=Symbol("lruList"),g=Symbol("cache"),p=Symbol("updateAgeOnGet"),h=()=>1,m=(e,t,n)=>{const r=e[g].get(t);if(r){const t=r.value;if(f(e,t)){if(b(e,r),!e[a])return}else n&&(e[p]&&(r.value.now=Date.now()),e[d].unshiftNode(r));return t.value}},f=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[c]&&n>e[c]},I=e=>{if(e[i]>e[o])for(let t=e[d].tail;e[i]>e[o]&&null!==t;){const n=t.prev;b(e,t),t=n}},b=(e,t)=>{if(t){const n=t.value;e[l]&&e[l](n.key,n.value),e[i]-=n.length,e[g].delete(n.key),e[d].removeNode(t)}};class C{constructor(e,t,n,r,o){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=o||0}}const y=(e,t,n,r)=>{let o=n.value;f(e,o)&&(b(e,n),e[a]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||h;if(this[s]="function"!=typeof t?h:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,I(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,I(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[s]&&(this[s]=e,this[i]=0,this[d].forEach((e=>{e.length=this[s](e.value,e.key),this[i]+=e.length}))),I(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let n=this[d].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[d].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[d].toArray().map((e=>e.key))}values(){return this[d].toArray().map((e=>e.value))}reset(){this[l]&&this[d]&&this[d].length&&this[d].forEach((e=>this[l](e.key,e.value))),this[g]=new Map,this[d]=new r,this[i]=0}dump(){return this[d].map((e=>!f(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[d]}set(e,t,n){if((n=n||this[c])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,a=this[s](t,e);if(this[g].has(e)){if(a>this[o])return b(this,this[g].get(e)),!1;const s=this[g].get(e).value;return this[l]&&(this[u]||this[l](e,s.value)),s.now=r,s.maxAge=n,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),I(this),!0}const p=new C(e,t,a,r,n);return p.length>this[o]?(this[l]&&this[l](e,t),!1):(this[i]+=p.length,this[d].unshift(p),this[g].set(e,this[d].head),I(this),!0)}has(e){if(!this[g].has(e))return!1;const t=this[g].get(e).value;return!f(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[d].tail;return e?(b(this,e),e.value):null}del(e){b(this,this[g].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{const e=o-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[g].forEach(((e,t)=>m(this,t,!1)))}}},7713:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},3113:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,o=arguments.length;n<o;n++)t.push(arguments[n]);return t}function o(e,t,n){var r=t===e.head?new a(n,null,t,e):new a(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function s(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){if(!(this instanceof a))return new a(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)s(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,o=this.head;null!==o;)n.push(e.call(t,o.value,this)),o=o.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,o=this.tail;null!==o;)n.push(e.call(t,o.value,this)),o=o.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=e(n,r.value,o),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=e(n,r.value,o),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;for(;null!==i&&o<t;o++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var s=[];for(r=0;i&&r<t;r++)s.push(i.value),i=this.removeNode(i);for(null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev),r=0;r<n.length;r++)i=o(this,i,n[r]);return s},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(7713)(r)}catch(e){}},4253:(e,t,n)=>{const r=n(2029);e.exports=(e,t,n)=>r(e,t,">",n)},5969:(e,t,n)=>{const r=n(9689);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},4596:(e,t,n)=>{const r=n(2029);e.exports=(e,t,n)=>r(e,t,"<",n)},9214:(e,t,n)=>{const r=n(8338),o=n(9689);e.exports=(e,t,n)=>{let i=null,s=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new r(i,n)))})),i}},4524:(e,t,n)=>{const r=n(8338),o=n(9689);e.exports=(e,t,n)=>{let i=null,s=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new r(i,n)))})),i}},5183:(e,t,n)=>{const r=n(8338),o=n(9689),i=n(810);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let s=null;o.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!s||n&&!i(n,s)||(n=s)}return n&&e.test(n)?n:null}},2029:(e,t,n)=>{const r=n(8338),o=n(6342),{ANY:i}=o,s=n(9689),a=n(7116),c=n(810),l=n(205),u=n(8350),d=n(8195);e.exports=(e,t,n,g)=>{let p,h,m,f,I;switch(e=new r(e,g),t=new s(t,g),n){case">":p=c,h=u,m=l,f=">",I=">=";break;case"<":p=l,h=d,m=c,f="<",I="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,g))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let s=null,a=null;if(r.forEach((e=>{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,p(e.semver,s.semver,g)?s=e:m(e.semver,a.semver,g)&&(a=e)})),s.operator===f||s.operator===I)return!1;if((!a.operator||a.operator===f)&&h(e,a.semver))return!1;if(a.operator===I&&m(e,a.semver))return!1}return!0}},2627:(e,t,n)=>{const r=n(7116),o=n(9586);e.exports=(e,t,n)=>{const i=[];let s=null,a=null;const c=e.sort(((e,t)=>o(e,t,n)));for(const e of c)r(e,t,n)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const l=[];for(const[e,t]of i)e===t?l.push(e):t||e!==c[0]?t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const u=l.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return u.length<d.length?u:t}},226:(e,t,n)=>{const r=n(9689),o=n(6342),{ANY:i}=o,s=n(7116),a=n(9586),c=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],u=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?c:l}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}const r=new Set;let o,u,p,h,m,f,I;for(const t of e)">"===t.operator||">="===t.operator?o=d(o,t,n):"<"===t.operator||"<="===t.operator?u=g(u,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&u){if(p=a(o.semver,u.semver,n),p>0)return null;if(0===p&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of r){if(o&&!s(e,String(o),n))return null;if(u&&!s(e,String(u),n))return null;for(const r of t)if(!s(e,String(r),n))return!1;return!0}let b=!(!u||n.includePrerelease||!u.semver.prerelease.length)&&u.semver,C=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;b&&1===b.prerelease.length&&"<"===u.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(I=I||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,o)if(C&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===C.major&&e.semver.minor===C.minor&&e.semver.patch===C.patch&&(C=!1),">"===e.operator||">="===e.operator){if(h=d(o,e,n),h===e&&h!==o)return!1}else if(">="===o.operator&&!s(o.semver,String(e),n))return!1;if(u)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(m=g(u,e,n),m===e&&m!==u)return!1}else if("<="===u.operator&&!s(u.semver,String(e),n))return!1;if(!e.operator&&(u||o)&&0!==p)return!1}return!(o&&f&&!u&&0!==p||u&&I&&!o&&0!==p||C||b)},d=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},g=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=u(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8513:(e,t,n)=>{const r=n(9689);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},6720:(e,t,n)=>{const r=n(9689);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},6809:(e,t,n)=>{"use strict";const r=n(857),o=n(2018),i=n(6690),{env:s}=process;let a;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const n=a||0;if("dumb"===s.TERM)return n;if("win32"===process.platform){const e=r.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in s)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in s))||"codeship"===s.CI_NAME?1:n;if("TEAMCITY_VERSION"in s)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0;if("truecolor"===s.COLORTERM)return 3;if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(s.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)||"COLORTERM"in s?1:n}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?a=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=1),"FORCE_COLOR"in s&&(a="true"===s.FORCE_COLOR?1:"false"===s.FORCE_COLOR?0:0===s.FORCE_COLOR.length?1:Math.min(parseInt(s.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(l(e,e&&e.isTTY))},stdout:c(l(!0,o.isatty(1))),stderr:c(l(!0,o.isatty(2)))}},3410:(e,t)=>{"use strict";t.fromCallback=function(e){return Object.defineProperty((function(...t){if("function"!=typeof t[t.length-1])return new Promise(((n,r)=>{t.push(((e,t)=>null!=e?r(e):n(t))),e.apply(this,t)}));e.apply(this,t)}),"name",{value:e.name})},t.fromPromise=function(e){return Object.defineProperty((function(...t){const n=t[t.length-1];if("function"!=typeof n)return e.apply(this,t);t.pop(),e.apply(this,t).then((e=>n(null,e)),n)}),"name",{value:e.name})}},2961:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedLocales=t.langParser=void 0;const r=n(4685),o=n(3937),i=n(3159),s=n(571),a=n(3504);function c(){if(void 0!==process.env.LANG)return"en";const e=Intl.DateTimeFormat().resolvedOptions().locale;return"zh"===e.substr(0,2)?"zh-CN"===e||"zh-SG"===e?"zh-CN":"zh-TW":e.substr(0,2)}t.langParser=c,r.use(o.initReactI18next).init({lng:c(),fallbackLng:"en",nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},resources:{"zh-CN":i.default,"zh-TW":s.default,en:a.default}}),t.supportedLocales=["en","zh"],t.default=r},3504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={translation:{continue:"Continue",ok:"OK",cancel:"Cancel",skip:"Skip",sure:"Yes, I'm sure",warning:"WARNING! ",attention:"Attention",failed:"Failed",completed:"Completed",yesContinue:"Yes, continue",reallyExit:"Are you sure you want to close Etcher?",yesExit:"Yes, quit",progress:{starting:"Starting...",decompressing:"Decompressing...",flashing:"Flashing...",finishing:"Finishing...",verifying:"Validating...",failing:"Failed"},message:{sizeNotRecommended:"Not recommended",tooSmall:"Too small",locked:"Locked",system:"System drive",containsImage:"Source drive",largeDrive:"Large drive",sourceLarger:"The selected source is {{byte}} larger than this drive.",flashSucceed_one:"Successful target",flashSucceed_other:"Successful targets",flashFail_one:"Failed target",flashFail_other:"Failed targets",toDrive:"to {{description}} ({{name}})",toTarget_one:"to {{num}} target",toTarget_other:"to {{num}} targets",andFailTarget_one:"and failed to be flashed to {{num}} target",andFailTarget_other:"and failed to be flashed to {{num}} targets",succeedTo:"{{name}} was successfully flashed {{target}}",exitWhileFlashing:"You are currently flashing a drive. Closing Etcher may leave your drive in an unusable state.",looksLikeWindowsImage:'It looks like you are trying to burn a Windows image.\n\nUnlike other images, Windows images require special processing to be made bootable. We suggest you use a tool specially designed for this purpose, such as <a href="https://rufus.akeo.ie">Rufus</a> (Windows), <a href="https://github.com/slacka/WoeUSB">WoeUSB</a> (Linux), or Boot Camp Assistant (macOS).',image:"image",drive:"drive",missingPartitionTable:"It looks like this is not a bootable {{type}}.\n\nThe {{type}} does not appear to contain a partition table, and might not be recognized or bootable by your device.",largeDriveSize:"This is a large drive! Make sure it doesn't contain files that you want to keep.",systemDrive:"Selecting your system drive is dangerous and will erase your drive!",sourceDrive:"Contains the image you chose to flash",noSpace:"Not enough space on the drive. Please insert larger one and try again.",genericFlashError:"Something went wrong. If it is a compressed image, please check that the archive is not corrupted.\n{{error}}",validation:"The write has been completed successfully but Etcher detected potential corruption issues when reading the image back from the drive. \n\nPlease consider writing the image to a different drive.",openError:"Something went wrong while opening {{source}}.\n\nError: {{error}}",flashError:"Something went wrong while writing {{image}} {{targets}}.",unplug:"Looks like Etcher lost access to the drive. Did it get unplugged accidentally?\n\nSometimes this error is caused by faulty readers that don't provide stable access to the drive.",cannotWrite:"Looks like Etcher is not able to write to this location of the drive. This error is usually caused by a faulty drive, reader, or port. \n\nPlease try again with another drive, reader, or port.",childWriterDied:"The writer process ended unexpectedly. Please try again, and contact the Etcher team if the problem persists.",badProtocol:"Only http:// and https:// URLs are supported."},target:{selectTarget:"Select target",plugTarget:"Plug a target drive",targets:"Targets",change:"Change"},source:{useSourceURL:"Use Image URL",auth:"Authentication",username:"Enter username",password:"Enter password",unsupportedProtocol:"Unsupported protocol",windowsImage:"Possible Windows image detected",partitionTable:"Missing partition table",errorOpen:"Error opening source",fromFile:"Flash from file",fromURL:"Flash from URL",clone:"Clone drive",image:"Image",name:"Name: ",path:"Path: ",selectSource:"Select source",plugSource:"Plug a source drive",osImages:"OS Images",allFiles:"All",enterValidURL:"Enter a valid URL"},drives:{name:"Name",size:"Size",location:"Location",find:"{{length}} found",select:"Select {{select}}",showHidden:"Show {{num}} hidden",systemDriveDanger:"Selecting your system drive is dangerous and will erase your drive!",openInBrowser:"`Etcher will open {{link}} in your browser`",changeTarget:"Change target",largeDriveWarning:"You are about to erase an unusually large drive",largeDriveWarningMsg:"Are you sure the selected drive is not a storage drive?",systemDriveWarning:"You are about to erase your computer's drives",systemDriveWarningMsg:"Are you sure you want to flash your system drive?"},flash:{another:"Flash another",target:"Target",location:"Location",error:"Error",flash:"Flash",flashNow:"Flash!",skip:"Validation has been skipped",moreInfo:"more info",speedTip:"The speed is calculated by dividing the image size by the flashing time.\nDisk images with ext partitions flash faster as we are able to skip unused parts.",speed:"Effective speed: {{speed}} MB/s",speedShort:"{{speed}} MB/s",eta:"ETA: {{eta}}",failedTarget:"Failed targets",failedRetry:"Retry failed targets",flashFailed:"Flash Failed.",flashCompleted:"Flash Completed!"},settings:{errorReporting:"Anonymously report errors to balena.io",autoUpdate:"Auto-updates enabled",settings:"Settings",systemInformation:"System Information",trimExtPartitions:"Trim unallocated space on raw images (in ext-type partitions)"},menu:{edit:"Edit",view:"View",devTool:"Toggle Developer Tools",window:"Window",help:"Help",pro:"Etcher Pro",website:"Etcher Website",issue:"Report an issue",about:"About Etcher",hide:"Hide Etcher",hideOthers:"Hide Others",unhide:"Unhide All",quit:"Quit Etcher"}}}},3159:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={translation:{ok:"好",cancel:"取消",continue:"继续",skip:"跳过",sure:"我确定",warning:"请注意！",attention:"请注意",failed:"失败",completed:"完毕",yesExit:"是的，可以退出",reallyExit:"真的要现在退出 Etcher 吗？",yesContinue:"是的，继续",progress:{starting:"正在启动……",decompressing:"正在解压……",flashing:"正在烧录……",finishing:"正在结束……",verifying:"正在验证……",failing:"失败……"},message:{sizeNotRecommended:"大小不推荐",tooSmall:"空间太小",locked:"被锁定",system:"系统盘",containsImage:"存放源镜像",largeDrive:"很大的磁盘",sourceLarger:"所选的镜像比目标盘大了 {{byte}} 比特。",flashSucceed_one:"烧录成功",flashSucceed_other:"烧录成功",flashFail_one:"烧录失败",flashFail_other:"烧录失败",toDrive:"到 {{description}} ({{name}})",toTarget_one:"到 {{num}} 个目标",toTarget_other:"到 {{num}} 个目标",andFailTarget_one:"并烧录失败了 {{num}} 个目标",andFailTarget_other:"并烧录失败了 {{num}} 个目标",succeedTo:"{{name}} 被成功烧录 {{target}}",exitWhileFlashing:"您当前正在刷机。 关闭 Etcher 可能会导致您的磁盘无法使用。",looksLikeWindowsImage:'看起来您正在尝试刻录 Windows 镜像。\n\n与其他镜像不同，Windows 镜像需要特殊处理才能使其可启动。 我们建议您使用专门为此目的设计的工具，例如 <a href="https://rufus.akeo.ie">Rufus</a> (Windows)、<a href="https://github. com/slacka/WoeUSB">WoeUSB</a> (Linux) 或 Boot Camp 助理 (macOS)。',image:"镜像",drive:"磁盘",missingPartitionTable:"看起来这不是一个可启动的{{type}}。\n\n这个{{type}}似乎不包含分区表，因此您的设备可能无法识别或无法正确启动。",largeDriveSize:"这是个很大的磁盘！请检查并确认它不包含对您很重要的信息",systemDrive:"选择系统盘很危险，因为这将会删除你的系统",sourceDrive:"源镜像位于这个分区中",noSpace:"磁盘空间不足。 请插入另一个较大的磁盘并重试。",genericFlashError:"出了点问题。如果源镜像曾被压缩过，请检查它是否已损坏。\n{{error}}",validation:"写入已成功完成，但 Etcher 在从磁盘读取镜像时检测到潜在的损坏问题。 \n\n请考虑将镜像写入其他磁盘。",openError:"打开 {{source}} 时出错。\n\n错误信息： {{error}}",flashError:"烧录 {{image}} {{targets}} 失败。",unplug:"看起来 Etcher 失去了对磁盘的连接。 它是不是被意外拔掉了？\n\n有时这个错误是因为读卡器出了故障。",cannotWrite:"看起来 Etcher 无法写入磁盘的这个位置。 此错误通常是由故障的磁盘、读取器或端口引起的。 \n\n请使用其他磁盘、读卡器或端口重试。",childWriterDied:"写入进程意外崩溃。请再试一次，如果问题仍然存在，请联系 Etcher 团队。",badProtocol:"仅支持 http:// 和 https:// 开头的网址。"},target:{selectTarget:"选择目标磁盘",plugTarget:"请插入目标磁盘",targets:"个目标",change:"更改"},menu:{edit:"编辑",view:"视图",devTool:"打开开发者工具",window:"窗口",help:"帮助",pro:"Etcher 专业版",website:"Etcher 的官网",issue:"提交一个 issue",about:"关于 Etcher",hide:"隐藏 Etcher",hideOthers:"隐藏其它窗口",unhide:"取消隐藏",quit:"退出 Etcher"},source:{useSourceURL:"使用镜像网络地址",auth:"验证",username:"输入用户名",password:"输入密码",unsupportedProtocol:"不支持的协议",windowsImage:"这可能是 Windows 系统镜像",partitionTable:"找不到分区表",errorOpen:"打开源镜像时出错",fromFile:"从文件烧录",fromURL:"从在线地址烧录",clone:"克隆磁盘",image:"镜像信息",name:"名称：",path:"路径：",selectSource:"选择源",plugSource:"请插入源磁盘",osImages:"系统镜像格式",allFiles:"任何文件格式",enterValidURL:"请输入一个正确的地址"},drives:{name:"名称",size:"大小",location:"位置",find:"找到 {{length}} 个",select:"选定 {{select}}",showHidden:"显示 {{num}} 个隐藏的磁盘",systemDriveDanger:"选择系统盘很危险，因为这将会删除你的系统！",openInBrowser:"Etcher 会在浏览器中打开 {{link}}",changeTarget:"改变目标",largeDriveWarning:"您即将擦除一个非常大的磁盘",largeDriveWarningMsg:"您确定所选磁盘不是存储磁盘吗？",systemDriveWarning:"您将要擦除系统盘",systemDriveWarningMsg:"您确定要烧录到系统盘吗？"},flash:{another:"烧录另一目标",target:"目标",location:"位置",error:"错误",flash:"烧录",flashNow:"现在烧录！",skip:"跳过了验证",moreInfo:"更多信息",speedTip:"通过将镜像大小除以烧录时间来计算速度。\n由于我们能够跳过未使用的部分，因此具有EXT分区的磁盘镜像烧录速度更快。",speed:"速度：{{speed}} MB/秒",speedShort:"{{speed}} MB/秒",eta:"预计还需要：{{eta}}",failedTarget:"失败的烧录目标",failedRetry:"重试烧录失败目标",flashFailed:"烧录失败。",flashCompleted:"烧录成功！"},settings:{errorReporting:"匿名地向 balena.io 报告运行错误和使用统计",autoUpdate:"自动更新",settings:"软件设置",systemInformation:"系统信息"}}}},571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={translation:{continue:"繼續",ok:"好",cancel:"取消",skip:"跳過",sure:"我確定",warning:"請注意！",attention:"請注意",failed:"失敗",completed:"完成",yesContinue:"是的，繼續",reallyExit:"真的要現在結束 Etcher 嗎？",yesExit:"是的，可以結束",progress:{starting:"正在啟動……",decompressing:"正在解壓縮……",flashing:"正在燒錄……",finishing:"正在結束……",verifying:"正在驗證……",failing:"失敗……"},message:{sizeNotRecommended:"大小不建議",tooSmall:"空間太小",locked:"被鎖定",system:"系統",containsImage:"存放來源映像檔",largeDrive:"很大的磁碟",sourceLarger:"所選的映像檔比目標磁碟大了 {{byte}} 位元組。",flashSucceed_one:"燒錄成功",flashSucceed_other:"燒錄成功",flashFail_one:"燒錄失敗",flashFail_other:"燒錄失敗",toDrive:"到 {{description}} ({{name}})",toTarget_one:"到 {{num}} 個目標",toTarget_other:"到 {{num}} 個目標",andFailTarget_one:"並燒錄失敗了 {{num}} 個目標",andFailTarget_other:"並燒錄失敗了 {{num}} 個目標",succeedTo:"{{name}} 被成功燒錄 {{target}}",exitWhileFlashing:"您目前正在刷寫。關閉 Etcher 可能會導致您的磁碟無法使用。",looksLikeWindowsImage:'看起來您正在嘗試燒錄 Windows 映像檔。\n\n與其他映像檔不同，Windows 映像檔需要特殊處理才能使其可啟動。我們建議您使用專門為此目的設計的工具，例如 <a href="https://rufus.akeo.ie">Rufus</a> (Windows)、<a href="https://github. com/slacka/WoeUSB">WoeUSB</a> (Linux) 或 Boot Camp 助理 (macOS)。',image:"映像檔",drive:"磁碟",missingPartitionTable:"看起來這不是一個可啟動的{{type}}。\n\n這個{{type}}似乎不包含分割表，因此您的設備可能無法識別或無法正確啟動。",largeDriveSize:"這是個很大容量的磁碟！請檢查並確認它不包含對您來說存放很重要的資料",systemDrive:"選擇系統分割區很危險，因為這將會刪除你的系統",sourceDrive:"來源映像檔位於這個分割區中",noSpace:"磁碟空間不足。請插入另一個較大的磁碟並重試。",genericFlashError:"出了點問題。如果來源映像檔曾被壓縮過，請檢查它是否已損壞。\n{{error}}",validation:"寫入已成功完成，但 Etcher 在從磁碟讀取映像檔時檢測到潛在的損壞問題。\n\n請考慮將映像檔寫入其他磁碟。",openError:"打開 {{source}} 時發生錯誤。\n\n錯誤訊息： {{error}}",flashError:"燒錄 {{image}} {{targets}} 失敗。",unplug:"看起來 Etcher 失去了對磁碟的連接。是不是被意外拔掉了？\n\n有時這個錯誤是因為讀卡器出了故障。",cannotWrite:"看起來 Etcher 無法寫入磁碟的這個位置。此錯誤通常是由故障的磁碟、讀取器或連接埠引起的。\n\n請使用其他磁碟、讀卡器或連接埠重試。",childWriterDied:"寫入處理程序意外崩潰。請再試一次，如果問題仍然存在，請聯絡 Etcher 團隊。",badProtocol:"僅支援 http:// 和 https:// 開頭的網址。"},target:{selectTarget:"選擇目標磁碟",plugTarget:"請插入目標磁碟",targets:"個目標",change:"更改"},source:{useSourceURL:"使用映像檔網址",auth:"驗證",username:"輸入使用者名稱",password:"輸入密碼",unsupportedProtocol:"不支持的通訊協定",windowsImage:"這可能是 Windows 系統映像檔",partitionTable:"找不到分割表",errorOpen:"打開來源映像檔時出錯",fromFile:"從檔案燒錄",fromURL:"從網址燒錄",clone:"再製磁碟",image:"映像檔訊息",name:"名稱：",path:"路徑：",selectSource:"選擇來源",plugSource:"請插入來源磁碟",osImages:"系統映像檔格式",allFiles:"任何檔案格式",enterValidURL:"請輸入正確的網址"},drives:{name:"名稱",size:"大小",location:"位置",find:"找到 {{length}} 個",select:"選取 {{select}}",showHidden:"顯示 {{num}} 個隱藏的磁碟",systemDriveDanger:"選擇系統分割區很危險，因為這將會刪除你的系統！",openInBrowser:"Etcher 會在瀏覽器中打開 {{link}}",changeTarget:"更改目標",largeDriveWarning:"您即將格式化一個非常大的磁碟",largeDriveWarningMsg:"您確定所選磁碟不是儲存資料的磁碟嗎？",systemDriveWarning:"您將要格式化系統分割區",systemDriveWarningMsg:"您確定要燒錄到系統分割區嗎？"},flash:{another:"燒錄另一目標",target:"目標",location:"位置",error:"錯誤",flash:"燒錄",flashNow:"現在燒錄！",skip:"跳過了驗證",moreInfo:"更多資訊",speedTip:"透過將映像檔大小除以燒錄時間來計算速度。\n由於我們能夠跳過未使用的部分，因此具有 ext 分割區的磁碟映像檔燒錄速度更快。",speed:"速度：{{speed}} MB/秒",speedShort:"{{speed}} MB/秒",eta:"預計還需要：{{eta}}",failedTarget:"目標燒錄失敗",failedRetry:"重試燒錄失敗的目標",flashFailed:"燒錄失敗。",flashCompleted:"燒錄成功！"},settings:{errorReporting:"匿名向 balena.io 回報程式錯誤和使用統計資料",autoUpdate:"自動更新",settings:"軟體設定",systemInformation:"系統資訊",trimExtPartitions:"修改原始映像檔上未分配的空間（在 ext 類型分割區中）"},menu:{edit:"編輯",view:"預覽",devTool:"打開開發者工具",window:"視窗",help:"協助",pro:"Etcher 專業版",website:"Etcher 的官網",issue:"提交 issue",about:"關於 Etcher",hide:"隱藏 Etcher",hideOthers:"隱藏其它視窗",unhide:"取消隱藏",quit:"結束 Etcher"}}}},9400:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAll=t.getSync=t.get=t.set=t.writeConfigFile=t.readAll=t.DEFAULT_HEIGHT=t.DEFAULT_WIDTH=void 0;const r=n(5623),o=n(4157),i=n(193),s=n(9896),a=n(6928),c=n(8330),l=r("etcher:models:settings");function u(){const e=o.app||n(3260).app;return(0,a.join)(e.getPath("userData"),"config.json")}async function d(){return await async function(e){let t="{}";try{t=await s.promises.readFile(e,{encoding:"utf8"})}catch(e){}try{return JSON.parse(t)}catch(e){return console.error(e),{}}}(u())}async function g(e,t){await s.promises.writeFile(e,JSON.stringify(t,null,2))}t.DEFAULT_WIDTH=800,t.DEFAULT_HEIGHT=480,t.readAll=d,t.writeConfigFile=g;const p={errorReporting:!0,updatesEnabled:["appimage","nsis","dmg"].includes(c.packageType),desktopNotifications:!0,autoBlockmapping:!0,decompressFirst:!0},h=i.cloneDeep(p),m=async function(){l("load");const e=await d();i.assign(h,e)}();function f(e){return i.cloneDeep(h[e])}t.set=async function(e,t,n=g){l("set",e,t),await m;const r=h[e];h[e]=t;try{await n(u(),h)}catch(t){throw h[e]=r,t}},t.get=async function(e){return await m,f(e)},t.getSync=f,t.getAll=async function(){return l("getAll"),await m,i.cloneDeep(h)}},8404:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logException=t.initAnalytics=t.anonymizeAnalyticsPayload=t.anonymizePath=t.anonymizeSentryData=void 0;const r=n(193),o=n(5401),i=n(9400),s=e=>{const t=e.split("generated").reverse()[0];return t!==e?`generated${t}`:e};t.anonymizeSentryData=e=>{var t,n,r,o;return null===(n=null===(t=e.exception)||void 0===t?void 0:t.values)||void 0===n||n.forEach((e=>{var t,n;null===(n=null===(t=e.stacktrace)||void 0===t?void 0:t.frames)||void 0===n||n.forEach((e=>{e.filename&&(e.filename=s(e.filename))}))})),null===(r=e.breadcrumbs)||void 0===r||r.forEach((e=>{var t;(null===(t=e.data)||void 0===t?void 0:t.url)&&(e.data.url=s(e.data.url))})),(null===(o=e.request)||void 0===o?void 0:o.url)&&(e.request.url=s(e.request.url)),e};const a=/(.*)(^|\s)(file:\/\/)?(\w:)?([\\/].+)/,c=["app.asar","Resources"];t.anonymizePath=e=>{const t=a.exec(e);if(null===t)return e;const n=t[5],o=t[2],i=t[1],s=t[3]||"",l=n[0],u=n.split(l),d=(0,r.findLastIndex)(u,(e=>c.includes(e)));return i+o+s+"[PERSONAL PATH]"+l+u.splice(d).join(l)};const l=e=>{try{return(0,t.anonymizePath)(e)}catch(e){return"[ANONYMIZE PATH FAILED]"}},u=["error.description","error.message","error.stack","image","image.path","path"];t.anonymizeAnalyticsPayload=e=>{for(const t of u){const n=e[t];null!=n&&(e[t]=l(n.toString()))}return e},t.initAnalytics=(0,r.once)((()=>{const e=i.getSync("analyticsSentryToken")||"https://739bbcfc0ba4481481138d3fc831136d@o95242.ingest.sentry.io/4504451487301632";o.init({dsn:e,beforeSend:t.anonymizeSentryData,debug:"true"===process.env.ETCHER_SENTRY_DEBUG})})),t.logException=function(e){const n=i.getSync("errorReporting");console.error(e),n&&((0,t.initAnalytics)(),o.captureException(e))}},2625:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4157),o=n(2550),i=n(4625),s=n(9896),a=n(857),c=n(6928),l=n(6659),u=n(193);n(440);const d=n(8330),g=n(675),p=n(9400),h=n(519),m=n(4685),f=n(7887),I=n(8404),b=n(8535),C="etcher",y=`${C}://`,v=["appimage","nsis","dmg"].includes(d.packageType);let A=!1,G=null;function Z(e){const t=p.getSync("errorReporting");console.error(e),t&&f.captureException(e)}async function B(e){if((e=e.slice(r.app.isPackaged?1:2)).length){const t=e[e.length-1];if(t.startsWith("--"))return;if("darwin"===(0,a.platform)()&&t.startsWith("-psn_"))return;if(!(t.startsWith("http://")||t.startsWith("https://")||t.startsWith(y)||await async function(e){try{return(await s.promises.stat(e)).isFile()}catch{}return!1}(t)))return;return t}}o.initialize();const S=(0,u.once)((()=>{const e=p.getSync("analyticsSentryToken")||"https://739bbcfc0ba4481481138d3fc831136d@o95242.ingest.sentry.io/4504451487301632";f.init({dsn:e,beforeSend:I.anonymizeSentryData,debug:"true"===process.env.ETCHER_SENTRY_DEBUG}),console.log(f.getCurrentScope())})),w=new Promise((e=>{r.ipcMain.on("source-selector-ready",e)}));async function R(e){void 0!==e&&"data:,"!==e&&(e=(e=e.replace(/\/$/,"")).startsWith(y)?e.slice(y.length):e,await w,r.BrowserWindow.getAllWindows().forEach((t=>{t.webContents.send("select-image",e)})))}r.app.on("open-url",(async(e,t)=>{e.preventDefault(),await R(t)})),r.app.on("window-all-closed",r.app.quit),r.app.on("before-quit",(()=>{r.app.releaseSingleInstanceLock(),process.exit(g.SUCCESS)})),r.ipcMain.handle("get-util-path",(()=>c.resolve(process.resourcesPath,"etcher-util.exe"))),n(2995)&&r.app.quit(),async function(){if(r.app.requestSingleInstanceLock()){S(),await r.app.whenReady();const e=await async function(){const e=Boolean(await p.get("fullscreen")),t=p.DEFAULT_WIDTH,n=p.DEFAULT_HEIGHT;let s=t,a=n;e&&({width:s,height:a}=r.screen.getPrimaryDisplay().bounds),G=new r.BrowserWindow({width:s,height:a,frame:!e,useContentSize:!0,show:!1,resizable:!1,maximizable:!1,fullscreen:e,fullscreenable:e,kiosk:e,autoHideMenuBar:!0,titleBarStyle:"hiddenInset",icon:c.join(__dirname,"media","icon.png"),darkTheme:!0,webPreferences:{backgroundThrottling:!1,nodeIntegration:!0,contextIsolation:!1,webviewTag:!0,zoomFactor:s/t,preload:require("path").resolve(__dirname,"../renderer","main_window","preload.js")}}),r.app.setAsDefaultProtocolClient(C),G.once("ready-to-show",(()=>{console.timeEnd("ready-to-show"),G.webContents.setZoomFactor(s/t),G.show()})),G.webContents.on("will-navigate",(e=>{e.preventDefault()})),G.loadURL(`file://${require("path").resolve(__dirname,"..","renderer","main_window","index.html")}`);const u=G.webContents;return o.enable(u),u.once("did-frame-finish-load",(async()=>{if(console.log("packageUpdatable",v),i.autoUpdater.on("error",(e=>{Z(e)})),v)try{!async function(e){for(;!A;){if(await p.get("updatesEnabled"))try{const e=await i.autoUpdater.checkForUpdates(),t=l.compare(e.updateInfo.version,d.version)>0;0!==e.updateInfo.stagingPercentage&&t&&(await i.autoUpdater.downloadUpdate(),A=!0)}catch(e){Z(e)}await(0,b.delay)(3e5)}}()}catch(e){Z(e)}})),G}();r.app.on("second-instance",(async(t,n)=>{e.isMinimized()&&e.restore(),e.focus(),await R(await B(n))})),await R(await B(process.argv)),r.ipcMain.on("change-lng",(function(e,t){m.changeLanguage(t,(()=>{console.log("Language changed to: "+t)})),null!=G?(0,h.buildWindowMenu)(G):console.log("Build menu failed. ")})),r.ipcMain.on("webview-dom-ready",((e,t)=>{r.webContents.fromId(t).setWindowOpenHandler((e=>{const t=new URL(e.url);return"http:"!==t.protocol&&"https:"!==t.protocol||"foreground-tab"!==e.disposition||p.getSync("disableExternalLinks")||r.shell.openExternal(t.href),{action:"deny"}}))}))}else r.app.quit()}(),console.time("ready-to-show")},519:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildWindowMenu=void 0;const r=n(4157),o=n(8330),i=n(4685);t.buildWindowMenu=function(e){const t=[{role:"editMenu",label:i.t("menu.edit")},{label:i.t("menu.view"),submenu:[{label:i.t("menu.devTool"),accelerator:"darwin"===process.platform?"Command+Alt+I":"Control+Shift+I",click:function(){e&&(e.webContents.isDevToolsOpened()?e.webContents.closeDevTools():e.webContents.openDevTools({mode:"detach"}))}}]},{role:"windowMenu",label:i.t("menu.window")},{role:"help",label:i.t("menu.help"),submenu:[{label:i.t("menu.pro"),click(){r.shell.openExternal("https://etcher.io/pro?utm_source=etcher_menu&ref=etcher_menu")}},{label:i.t("menu.website"),click(){r.shell.openExternal("https://etcher.io?ref=etcher_menu")}},{label:i.t("menu.issue"),click(){r.shell.openExternal("https://github.com/balena-io/etcher/issues")}}]}];"darwin"===process.platform?t.unshift({label:o.displayName,submenu:[{role:"about",label:i.t("menu.about")},{type:"separator"},{role:"hide",label:i.t("menu.hide")},{role:"hideOthers",label:i.t("menu.hideOthers")},{role:"unhide",label:i.t("menu.unhide")},{type:"separator"},{role:"quit",label:i.t("menu.quit")}]}):t.unshift({label:o.displayName,submenu:[{role:"quit"}]});const n=r.Menu.buildFromTemplate(t);r.Menu.setApplicationMenu(n)}},447:(e,t)=>{"use strict";function n(e,n){var r,o;if("string"==typeof e.code)return null===(o=null===(r=t.HUMAN_FRIENDLY[e.code])||void 0===r?void 0:r[n])||void 0===o?void 0:o.call(r,e)}function r(e){return"number"==typeof e&&(e=e.toString()),""===(null!=e?e:"").trim()}function o(e){if(r(e.title))throw new Error(`Invalid error title: ${e.title}`);const t=new Error(e.title);return t.description=e.description,!1===e.report&&(t.report=!1),void 0!==e.code&&(t.code=e.code),t}Object.defineProperty(t,"__esModule",{value:!0}),t.fromJSON=t.toJSON=t.createUserError=t.createError=t.getDescription=t.getTitle=t.HUMAN_FRIENDLY=void 0,t.HUMAN_FRIENDLY={ENOENT:{title:e=>`No such file or directory: ${e.path}`,description:()=>"The file you're trying to access doesn't exist"},EPERM:{title:()=>"You're not authorized to perform this operation",description:()=>"Please ensure you have necessary permissions for this task"},EACCES:{title:()=>"You don't have access to this resource",description:()=>"Please ensure you have necessary permissions to access this resource"},ENOMEM:{title:()=>"Your system ran out of memory",description:()=>"Please make sure your system has enough available memory for this task"}},t.getTitle=function(e){const t=n(e,"title");if(void 0!==t)return t;const o=e.message;if(!r(o))return o;const i=e.code;return r(i)?"An error ocurred":`Error code: ${i}`},t.getDescription=function(e){if(!r(e.description))return e.description;const t=n(e,"description");return void 0!==t?t:e.stack?e.stack:JSON.stringify(e,null,2)},t.createError=o,t.createUserError=function(e){return o({title:e.title,description:e.description,report:!1,code:e.code})},t.toJSON=function(e){return{name:e.name,message:e.message,description:e.description,stack:e.stack,report:e.report,code:e.code,syscall:e.syscall,errno:e.errno,stdout:e.stdout,stderr:e.stderr,device:e.device}},t.fromJSON=function(e){return Object.assign(new Error(e.message),e)}},675:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CANCELLED=t.VALIDATION_ERROR=t.GENERAL_ERROR=t.SUCCESS=void 0,t.SUCCESS=0,t.GENERAL_ERROR=1,t.VALIDATION_ERROR=2,t.CANCELLED=3},8535:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJson=t.delay=t.percentageToFloat=t.isValidPercentage=void 0;const r=n(447);function o(e){return"number"==typeof e&&e>=0&&e<=100}t.isValidPercentage=o,t.percentageToFloat=function(e){if(!o(e))throw r.createError({title:`Invalid percentage: ${e}`});return e/100},t.delay=async function(e){await new Promise((t=>{setTimeout(t,e)}))},t.isJson=function(e){try{JSON.parse(e)}catch(e){return!1}return!0}},2613:e=>{"use strict";e.exports=require("assert")},5317:e=>{"use strict";e.exports=require("child_process")},9140:e=>{"use strict";e.exports=require("constants")},6982:e=>{"use strict";e.exports=require("crypto")},1637:e=>{"use strict";e.exports=require("diagnostics_channel")},4157:e=>{"use strict";e.exports=require("electron")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},264:e=>{"use strict";e.exports=require("inspector")},9278:e=>{"use strict";e.exports=require("net")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2203:e=>{"use strict";e.exports=require("stream")},3193:e=>{"use strict";e.exports=require("string_decoder")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},3106:e=>{"use strict";e.exports=require("zlib")},6246:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},3937:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>Y,I18nextProvider:()=>z,Trans:()=>K,TransWithoutContext:()=>H,Translation:()=>J,composeInitialProps:()=>T,date:()=>P,getDefaults:()=>R,getI18n:()=>N,getInitialProps:()=>x,initReactI18next:()=>F,number:()=>Q,plural:()=>q,select:()=>$,selectOrdinal:()=>ee,setDefaults:()=>w,setI18n:()=>W,time:()=>D,useSSR:()=>M,useTranslation:()=>U,withSSR:()=>j,withTranslation:()=>O});var r=n(1794),o=n(6246),i=n(2961),s=n.n(i),a=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function c(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(s()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(a),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var c=i[1].trim(),l=[c,""];c.indexOf("=")>-1&&(l=c.split("=")),t.attrs[l[0]]=l[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var l=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,d=Object.create(null);function g(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(g,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var p={parse:function(e,t){t||(t={}),t.components||(t.components=d);var n,r=[],o=[],i=-1,s=!1;if(0!==e.indexOf("<")){var a=e.indexOf("<");r.push({type:"text",content:-1===a?e:e.substring(0,a)})}return e.replace(l,(function(a,l){if(s){if(a!=="</"+n.name+">")return;s=!1}var d,g="/"!==a.charAt(1),p=a.startsWith("\x3c!--"),h=l+a.length,m=e.charAt(h);if(p){var f=c(a);return i<0?(r.push(f),r):((d=o[i]).children.push(f),r)}if(g&&(i++,"tag"===(n=c(a)).type&&t.components[n.name]&&(n.type="component",s=!0),n.voidElement||s||!m||"<"===m||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===i&&r.push(n),(d=o[i-1])&&d.children.push(n),o[i]=n),(!g||n.voidElement)&&(i>-1&&(n.voidElement||n.name===a.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!s&&"<"!==m&&m)){d=-1===i?r:o[i].children;var I=e.indexOf("<",h),b=e.slice(h,-1===I?void 0:I);u.test(b)&&(b=" "),(I>-1&&i+d.length>=0||" "!==b)&&d.push({type:"text",content:b})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+g("",t)}),"")}};const h=p;function m(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const f={};function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&f[t[0]]||("string"==typeof t[0]&&(f[t[0]]=new Date),m(...t))}const b=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}};function C(e,t,n){e.loadNamespaces(t,b(e,n))}function y(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,b(e,r))}function v(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}const A=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,G={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Z=e=>G[e];let B,S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(A,Z)};function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S={...S,...e}}function R(){return S}function W(e){B=e}function N(){return B}function V(e,t){if(!e)return!1;const n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function _(e){if(!e)return[];const t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?k(t):t}function k(e){return Array.isArray(e)?e:[e]}function E(e,t){if(!e)return"";let n="";const o=k(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return o.forEach(((e,o)=>{if("string"==typeof e)n+=`${e}`;else if((0,r.isValidElement)(e)){const r=Object.keys(e.props).length,s=i.indexOf(e.type)>-1,a=e.props.children;if(!a&&s&&0===r)n+=`<${e.type}/>`;else if(a||s&&0===r)if(e.props.i18nIsDynamicList)n+=`<${o}></${o}>`;else if(s&&1===r&&"string"==typeof a)n+=`<${e.type}>${a}</${e.type}>`;else{const e=E(a,t);n+=`<${o}>${e}</${o}>`}else n+=`<${o}></${o}>`}else if(null===e)m("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"==typeof e){const{format:t,...r}=e,o=Object.keys(r);if(1===o.length){const e=t?`${o[0]}, ${t}`:o[0];n+=`{{${e}}}`}else m("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else m("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function H(e){let{children:t,count:n,parent:i,i18nKey:s,context:a,tOptions:c={},values:l,defaults:u,components:d,ns:g,i18n:p,t:m,shouldUnescape:f,...b}=e;const C=p||N();if(!C)return I("You will need to pass in an i18next instance by using i18nextReactModule"),t;const y=m||C.t.bind(C)||(e=>e);a&&(c.context=a);const v={...R(),...C.options&&C.options.react};let A=g||y.ns||C.options&&C.options.defaultNS;A="string"==typeof A?[A]:A||["translation"];const G=E(t,v),Z=u||G||v.transEmptyNodeValue||s,{hashTransKey:B}=v,S=s||(B?B(G||Z):G||Z);C.options&&C.options.interpolation&&C.options.interpolation.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...C.options.interpolation.defaultVariables}:{...C.options.interpolation.defaultVariables});const w=l?c.interpolation:{interpolation:{...c.interpolation,prefix:"#$?",suffix:"?$#"}},W={...c,count:n,...l,...w,defaultValue:Z,ns:A},H=S?y(S,W):Z;d&&Object.keys(d).forEach((e=>{const t=d[e];"function"==typeof t.type||!t.props||!t.props.children||H.indexOf(`${e}/>`)<0&&H.indexOf(`${e} />`)<0||(d[e]=r.createElement((function(){return r.createElement(r.Fragment,null,t)}),null))}));const F=function(e,t,n,i,s,a){if(""===t)return[];const c=i.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(c.map((e=>`<${e}`)).join("|")).test(t);if(!e&&!l&&!a)return[t];const u={};!function e(t){k(t).forEach((t=>{"string"!=typeof t&&(V(t)?e(_(t)):"object"!=typeof t||(0,r.isValidElement)(t)||Object.assign(u,t))}))}(e);const d=h.parse(`<0>${t}</0>`),g={...u,...s};function p(e,t,n){const o=_(e),i=f(o,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((e=>(0,r.isValidElement)(e)))}(o)&&0===i.length||e.props&&e.props.i18nIsDynamicList?o:i}function m(e,t,n,i,s){e.dummy?(e.children=t,n.push((0,r.cloneElement)(e,{key:i},s?void 0:t))):n.push(...r.Children.map([e],(e=>{const n={...e.props};return delete n.i18nIsDynamicList,r.createElement(e.type,o({},n,{key:i,ref:e.ref},s?{}:{children:t}))})))}function f(t,o,s){const u=k(t);return k(o).reduce(((t,o,d)=>{const h=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,g,n.language);if("tag"===o.type){let a=u[parseInt(o.name,10)];1!==s.length||a||(a=s[0][o.name]),a||(a={});const I=0!==Object.keys(o.attrs).length?function(e,t){const n={...t};return n.props=Object.assign(e.props,t.props),n}({props:o.attrs},a):a,b=(0,r.isValidElement)(I),C=b&&V(o,!0)&&!o.voidElement,y=l&&"object"==typeof I&&I.dummy&&!b,v="object"==typeof e&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof I){const e=n.services.interpolator.interpolate(I,g,n.language);t.push(e)}else if(V(I)||C)m(I,p(I,o,s),t,d);else if(y)m(I,f(u,o.children,s),t,d);else if(Number.isNaN(parseFloat(o.name)))if(v)m(I,p(I,o,s),t,d,o.voidElement);else if(i.transSupportBasicHtmlNodes&&c.indexOf(o.name)>-1)if(o.voidElement)t.push((0,r.createElement)(o.name,{key:`${o.name}-${d}`}));else{const e=f(u,o.children,s);t.push((0,r.createElement)(o.name,{key:`${o.name}-${d}`},e))}else if(o.voidElement)t.push(`<${o.name} />`);else{const e=f(u,o.children,s);t.push(`<${o.name}>${e}</${o.name}>`)}else if("object"!=typeof I||b)m(I,h,t,d,1!==o.children.length||!h);else{const e=o.children[0]?h:null;e&&t.push(e)}}else if("text"===o.type){const e=i.transWrapTextNodes,s=a?i.unescape(n.services.interpolator.interpolate(o.content,g,n.language)):n.services.interpolator.interpolate(o.content,g,n.language);e?t.push((0,r.createElement)(e,{key:`${o.name}-${d}`},s)):t.push(s)}return t}),[])}return _(f([{dummy:!0,children:e||[]}],d,k(e||[]))[0])}(d||t,H,C,v,W,f),Y=void 0!==i?i:v.defaultTransParent;return Y?(0,r.createElement)(Y,b,F):F}const F={type:"3rdParty",init(e){w(e.options.react),W(e)}},Y=(0,r.createContext)();class X{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function T(e){return t=>new Promise((n=>{const r=x();e.getInitialProps?e.getInitialProps(t).then((e=>{n({...e,...r})})):n(r)}))}function x(){const e=N(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((n=>{r[n]={},t.forEach((t=>{r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}function K(e){let{children:t,count:n,parent:o,i18nKey:i,context:s,tOptions:a={},values:c,defaults:l,components:u,ns:d,i18n:g,t:p,shouldUnescape:h,...m}=e;const{i18n:f,defaultNS:I}=(0,r.useContext)(Y)||{},b=g||f||N(),C=p||b&&b.t.bind(b);return H({children:t,count:n,parent:o,i18nKey:i,context:s,tOptions:a,values:c,defaults:l,components:u,ns:d||C&&C.ns||I||b&&b.options&&b.options.defaultNS,i18n:b,t:p,shouldUnescape:h,...m})}const L=(e,t)=>{const n=(0,r.useRef)();return(0,r.useEffect)((()=>{n.current=t?n.current:e}),[e,t]),n.current};function U(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:n}=t,{i18n:o,defaultNS:i}=(0,r.useContext)(Y)||{},s=n||o||N();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new X),!s){I("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react&&void 0!==s.options.react.wait&&I("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const a={...R(),...s.options.react,...t},{useSuspense:c,keyPrefix:l}=a;let u=e||i||s.options&&s.options.defaultNS;u="string"==typeof u?[u]:u||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(u);const d=(s.isInitialized||s.initializedStoreOnce)&&u.every((e=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;const s=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${n}`];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!s(r,e)||o&&!s(i,e)))}(e,t,n):(I("i18n.languages were undefined or empty",t.languages),!0)}(e,s,a)));function g(){return s.getFixedT(t.lng||null,"fallback"===a.nsMode?u:u[0],l)}const[p,h]=(0,r.useState)(g);let m=u.join();t.lng&&(m=`${t.lng}${m}`);const f=L(m),b=(0,r.useRef)(!0);(0,r.useEffect)((()=>{const{bindI18n:e,bindI18nStore:n}=a;function r(){b.current&&h(g)}return b.current=!0,d||c||(t.lng?y(s,t.lng,u,(()=>{b.current&&h(g)})):C(s,u,(()=>{b.current&&h(g)}))),d&&f&&f!==m&&b.current&&h(g),e&&s&&s.on(e,r),n&&s&&s.store.on(n,r),()=>{b.current=!1,e&&s&&e.split(" ").forEach((e=>s.off(e,r))),n&&s&&n.split(" ").forEach((e=>s.store.off(e,r)))}}),[s,m]);const v=(0,r.useRef)(!0);(0,r.useEffect)((()=>{b.current&&!v.current&&h(g),v.current=!1}),[s,l]);const A=[p,s,d];if(A.t=p,A.i18n=s,A.ready=d,d)return A;if(!d&&!c)return A;throw new Promise((e=>{t.lng?y(s,t.lng,u,(()=>e())):C(s,u,(()=>e()))}))}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function o(o){let{forwardedRef:i,...s}=o;const[a,c,l]=U(e,{...s,keyPrefix:t.keyPrefix}),u={...s,t:a,i18n:c,tReady:l};return t.withRef&&i?u.ref=i:!t.withRef&&i&&(u.forwardedRef=i),(0,r.createElement)(n,u)}return o.displayName=`withI18nextTranslation(${v(n)})`,o.WrappedComponent=n,t.withRef?(0,r.forwardRef)(((e,t)=>(0,r.createElement)(o,Object.assign({},e,{forwardedRef:t})))):o}}function J(e){const{ns:t,children:n,...r}=e,[o,i,s]=U(t,r);return n(o,{i18n:i,lng:i.language},s)}function z(e){let{i18n:t,defaultNS:n,children:o}=e;const i=(0,r.useMemo)((()=>({i18n:t,defaultNS:n})),[t,n]);return(0,r.createElement)(Y.Provider,{value:i},o)}function M(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{i18n:o}=n,{i18n:i}=(0,r.useContext)(Y)||{},s=o||i||N();s.options&&s.options.isClone||(e&&!s.initializedStoreOnce&&(s.services.resourceStore.data=e,s.options.ns=Object.values(e).reduce(((e,t)=>(Object.keys(t).forEach((t=>{e.indexOf(t)<0&&e.push(t)})),e)),s.options.ns),s.initializedStoreOnce=!0,s.isInitialized=!0),t&&!s.initializedLanguageOnce&&(s.changeLanguage(t),s.initializedLanguageOnce=!0))}function j(){return function(e){function t(t){let{initialI18nStore:n,initialLanguage:o,...i}=t;return M(n,o),(0,r.createElement)(e,{...i})}return t.getInitialProps=T(e),t.displayName=`withI18nextSSR(${v(e)})`,t.WrappedComponent=e,t}}const P=()=>"",D=()=>"",Q=()=>"",$=()=>"",q=()=>"",ee=()=>""},8991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>E,__assign:()=>i,__asyncDelegator:()=>B,__asyncGenerator:()=>Z,__asyncValues:()=>S,__await:()=>G,__awaiter:()=>h,__classPrivateFieldGet:()=>V,__classPrivateFieldIn:()=>k,__classPrivateFieldSet:()=>_,__createBinding:()=>f,__decorate:()=>a,__disposeResources:()=>F,__esDecorate:()=>l,__exportStar:()=>I,__extends:()=>o,__generator:()=>m,__importDefault:()=>N,__importStar:()=>W,__makeTemplateObject:()=>w,__metadata:()=>p,__param:()=>c,__propKey:()=>d,__read:()=>C,__rest:()=>s,__runInitializers:()=>u,__setFunctionName:()=>g,__spread:()=>y,__spreadArray:()=>A,__spreadArrays:()=>v,__values:()=>b,default:()=>Y});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,o,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),g=!1,p=n.length-1;p>=0;p--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(g)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var f=(0,n[p])("accessor"===c?{get:d.get,set:d.set}:d[l],h);if("accessor"===c){if(void 0===f)continue;if(null===f||"object"!=typeof f)throw new TypeError("Object expected");(a=s(f.get))&&(d.get=a),(a=s(f.set))&&(d.set=a),(a=s(f.init))&&o.unshift(a)}else(a=s(f))&&("field"===c?o.unshift(a):d[l]=a)}u&&Object.defineProperty(u,r.name,d),g=!0}function u(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function g(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var f=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function I(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||f(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function C(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(C(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function A(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function G(e){return this instanceof G?(this.v=e,this):new G(e)}function Z(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof G?Promise.resolve(n.value.v).then(c,l):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function c(e){a("next",e)}function l(e){a("throw",e)}function u(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function B(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:G(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var R=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function W(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return R(t,e),t}function N(e){return e&&e.__esModule?e:{default:e}}function V(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function _(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function k(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function E(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var H="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function F(e){function t(t){e.error=e.hasError?new H(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const Y={__extends:o,__assign:i,__rest:s,__decorate:a,__param:c,__metadata:p,__awaiter:h,__generator:m,__createBinding:f,__exportStar:I,__values:b,__read:C,__spread:y,__spreadArrays:v,__spreadArray:A,__await:G,__asyncGenerator:Z,__asyncDelegator:B,__asyncValues:S,__makeTemplateObject:w,__importStar:W,__importDefault:N,__classPrivateFieldGet:V,__classPrivateFieldSet:_,__classPrivateFieldIn:k,__addDisposableResource:E,__disposeResources:F}},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"balena-etcher","private":true,"displayName":"balenaEtcher","productName":"balenaEtcher","version":"2.1.2","packageType":"local","main":".webpack/main","description":"Flash OS images to SD cards and USB drives, safely and easily.","productDescription":"Etcher is a powerful OS image flasher built with web technologies to ensure flashing an SDCard or USB drive is a pleasant and safe experience. It protects you from accidentally writing to your hard-drives, ensures every byte of data was written correctly and much more.","homepage":"https://github.com/balena-io/etcher","repository":{"type":"git","url":"git@github.com:balena-io/etcher.git"},"scripts":{"prettify":"prettier --write lib/**/*.css && balena-lint --fix --typescript typings lib tests forge.config.ts forge.sidecar.ts webpack.config.ts","lint":"npm run prettify && catch-uncommitted","test":"echo \'Only use custom tests; if you want to test locally, use `npm run wdio`\' && exit 0","package":"electron-forge package","start":"electron-forge start","make":"electron-forge make","wdio":"xvfb-maybe wdio run ./wdio.conf.ts"},"husky":{"hooks":{"pre-commit":"npm run prettify"}},"author":"Balena Ltd. <hello@balena.io>","license":"Apache-2.0","dependencies":{"@electron/remote":"^2.1.2","@fortawesome/fontawesome-free":"^6.5.2","@ronomon/direct-io":"^3.0.1","@sentry/electron":"^4.24.0","axios":"^1.6.8","debug":"4.3.4","drivelist":"^12.0.2","electron-squirrel-startup":"^1.0.0","electron-updater":"6.1.8","etcher-sdk":"9.1.2","i18next":"23.11.2","immutable":"3.8.2","lodash":"4.17.21","outdent":"0.8.0","path-is-inside":"1.0.2","pretty-bytes":"6.1.1","react":"17.0.2","react-dom":"17.0.2","react-i18next":"13.5.0","redux":"4.2.1","rendition":"35.2.0","semver":"7.6.0","styled-components":"5.3.6","sys-class-rgb-led":"3.0.1","uuid":"9.0.1","ws":"^8.16.0"},"devDependencies":{"@balena/lint":"8.0.2","@electron-forge/cli":"7.4.0","@electron-forge/maker-deb":"7.4.0","@electron-forge/maker-dmg":"7.4.0","@electron-forge/maker-rpm":"7.4.0","@electron-forge/maker-squirrel":"7.4.0","@electron-forge/maker-zip":"7.4.0","@electron-forge/plugin-auto-unpack-natives":"7.4.0","@electron-forge/plugin-webpack":"7.4.0","@reforged/maker-appimage":"3.3.2","@svgr/webpack":"8.1.0","@types/chai":"4.3.14","@types/debug":"^4.1.12","@types/mime-types":"2.1.4","@types/node":"^20.11.6","@types/react":"17.0.2","@types/react-dom":"17.0.2","@types/semver":"7.5.8","@types/sinon":"17.0.3","@types/tmp":"0.2.6","@vercel/webpack-asset-relocator-loader":"1.7.3","@wdio/cli":"^8.36.1","@wdio/local-runner":"^8.36.1","@wdio/mocha-framework":"^8.36.1","@wdio/spec-reporter":"^8.36.1","@yao-pkg/pkg":"^5.11.5","catch-uncommitted":"^2.0.0","chai":"4.3.10","css-loader":"5.2.7","electron":"30.0.1","file-loader":"6.2.0","husky":"8.0.3","native-addon-loader":"2.0.1","node-loader":"^2.0.0","sinon":"^17.0.1","string-replace-loader":"3.1.0","style-loader":"3.3.3","ts-loader":"^9.5.1","ts-node":"^10.9.2","tslib":"2.6.2","typescript":"^5.3.3","url-loader":"4.1.1","wdio-electron-service":"^6.4.1","winusb-driver-generator":"^2.1.5","xvfb-maybe":"^0.2.1"},"hostDependencies":{"debian":["libasound2","libatk1.0-0","libc6","libcairo2","libcups2","libdbus-1-3","libexpat1","libfontconfig1","libfreetype6","libgbm1","libgcc1","libgdk-pixbuf2.0-0","libglib2.0-0","libgtk-3-0","liblzma5","libnotify4","libnspr4","libnss3","libpango1.0-0 | libpango-1.0-0","libstdc++6","libx11-6","libxcomposite1","libxcursor1","libxdamage1","libxext6","libxfixes3","libxi6","libxrandr2","libxrender1","libxss1","libxtst6","polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1"]},"engines":{"node":">=20 <21"},"versionist":{"publishedAt":"2025-05-07T12:59:43.267Z"},"optionalDependencies":{"bufferutil":"^4.0.8","utf-8-validate":"^5.0.10","winusb-driver-generator":"2.1.2"}}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.c=t,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),void 0!==n&&(n.ab=__dirname+"/native_modules/");var r=n(n.s=2625);module.exports=r})();
//# sourceMappingURL=index.js.map/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */

/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
const electron=require("electron");var IPCChannel;if(function(e){e.RENDERER_START="sentry-electron.renderer-start",e.EVENT="sentry-electron.event",e.SCOPE="sentry-electron.scope",e.ENVELOPE="sentry-electron.envelope",e.STATUS="sentry-electron.status",e.ADD_METRIC="sentry-electron.add-metric"}(IPCChannel||(IPCChannel={})),window.__SENTRY_IPC__)console.log("Sentry Electron preload has already been run");else{const e={sendRendererStart:()=>electron.ipcRenderer.send(IPCChannel.RENDERER_START),sendScope:e=>electron.ipcRenderer.send(IPCChannel.SCOPE,e),sendEvent:e=>electron.ipcRenderer.send(IPCChannel.EVENT,e),sendEnvelope:e=>electron.ipcRenderer.send(IPCChannel.ENVELOPE,e),sendStatus:e=>electron.ipcRenderer.send(IPCChannel.STATUS,e),sendAddMetric:e=>electron.ipcRenderer.send(IPCChannel.ADD_METRIC,e)};if(window.__SENTRY_IPC__=e,electron.contextBridge)try{electron.contextBridge.exposeInMainWorld("__SENTRY_IPC__",e)}catch(e){}}const electron=require("electron");function _interopNamespaceDefault(e){const n=Object.create(null);if(e)for(const r in e)n[r]=e[r];return n.default=e,n}const electron__namespace=_interopNamespaceDefault(electron);var IPCChannel;if(function(e){e.RENDERER_START="sentry-electron.renderer-start",e.EVENT="sentry-electron.event",e.SCOPE="sentry-electron.scope",e.ENVELOPE="sentry-electron.envelope",e.STATUS="sentry-electron.status",e.ADD_METRIC="sentry-electron.add-metric"}(IPCChannel||(IPCChannel={})),window.__SENTRY_IPC__)console.log("Sentry Electron preload has already been run");else{electron.crashReporter.start({companyName:"",ignoreSystemCrashHandler:!0,productName:electron__namespace.remote.app.name||electron__namespace.remote.app.getName(),submitURL:"",uploadToServer:!1});const e={sendRendererStart:()=>electron.ipcRenderer.send(IPCChannel.RENDERER_START),sendScope:e=>electron.ipcRenderer.send(IPCChannel.SCOPE,e),sendEvent:e=>electron.ipcRenderer.send(IPCChannel.EVENT,e),sendEnvelope:e=>electron.ipcRenderer.send(IPCChannel.ENVELOPE,e),sendStatus:e=>electron.ipcRenderer.send(IPCChannel.STATUS,e),sendAddMetric:e=>electron.ipcRenderer.send(IPCChannel.ADD_METRIC,e)};if(window.__SENTRY_IPC__=e,electron.contextBridge)try{electron.contextBridge.exposeInMainWorld("__SENTRY_IPC__",e)}catch(e){}}       GDEFh6l <  GPOSFy   GSUBr   4bOS/2^ػ c   `cmaph~ d  2cvt X    *fpgmY7   sgasp  4   glyf4   &head E   6hhea
( c   $hmtx<# E  loca[ (  maxp	p '    name~   zpostW;m `  HprepS8 `   V  T  L  	    q   EX /  >Y  EX  /   >Y      9    9       9    9    9    9013!%3/#73?#7'T8.//.01zooSnlKhdd^YY`   0 	  T   EX /  >Y  EX /  >Y  EX /  >Y   9 /     9013'.'#3#'#Ոz33\PP4n67mpr  S  0   % W   EX /  >Y  EX  /   >Y $   9 $/  $ 9         01332#32654&+32654&+S3U?#0+6G&C\6nSE=@@UbHNLJb%>-/PMB1H02*0(&574/  1&  9   EX 
/ 
 >Y  EX  /   >Y 
      01".54>32.#"3267X>lO./Qm>>`><&(C1aS,D>(g,V~QPX.2!K!=X7p%I.1  S  @ 
  5   EX /  >Y  EX  /   >Y     01332#'32654&+S+QsIA3dklc3Q|S*^syxn  S    M   EX /  >Y  EX  /   >Y       9 /     	 013!!3#!S bbb  S   	 C   EX /  >Y  EX  /   >Y       9 /  013!!3#Sbb  16 # M   EX 
/ 
 >Y  EX  /   >Y 
        
  9 /   01".54>32.#"32675#53eBqS.0SqAFa>=.,G3ec2|!m,V~QPX.3 K!!=X7p_!-  S  D  I   EX /  >Y  EX  /   >Y 
   9 
/    и   0133!3#!St	ttr"  S     %   EX /  >Y  EX  /   >Y0133Str    +   EX /  >Y  EX  /   >Y  01"&'732653E_P4..t0J87;$!8F?-O;"  S  V  e   EX /  >Y  EX /  >Y  EX  /   >Y  EX 	/ 	 >Y    9   	9 
  	9013333#St뀱^)q4u  S    +   EX /  >Y  EX  /   >Y  0133!Stb  S   ! ]   EX /  >Y  EX  /   >Y   9   9  и   к    9    901333>73#4>7##'#Stqk5kEl4A  A@r+675&576  S  =  [   EX /  >Y  EX 	/ 	 >Y  EX  /   >Y  EX /  >Y   	9    901333.53#'#SwCowC3u7rp4r7  1r  # 5   EX 
/ 
 >Y  EX  /   >Y   
  01".54>32'2>54&#"Q@jL**Lj@@jM**Mj@'>,[NN[,>/Y~PO}V..V}OP~Y/e"?Y7n}}n7Y?"  S     C   EX /  >Y  EX  /   >Y    9 /     01332+3254&+S6]D&&C[5^UKIQ0M96P5Mw>/  1R  0 K   EX /  >Y  EX /  >Y *   +         '01%2>54&#""&'.54>323267Q'>,[NN[,>b 5V>!*Lj@@jM*:Q2Q0#6S"@\9n}}n9\@"^I	7VtGO}V..V}ODqV8'$V  S  :   \   EX /  >Y  EX /  >Y  EX /  >Y   9 / 
  9 ܸ   01332##32654&+S3X@%G;d]CGGC]-J7K\  \889,  & 3 I   EX /  >Y  EX  /   >Y      9  !  )   901"&'732654./.54>32.#"B{/D#Z-8:%Z/&!:Q09j&; D*/8&Y0# =W2.O!).&	'
*8$'C2-&J)$% *7$(F5      3   EX /  >Y  EX  /   >Y    013#5!#׽,bb  P?  3   EX /  >Y  EX  /   >Y    01".5332>53H9[A#t#02$o"A[!HqQo5I,,I5xQqH!     @   EX /  >Y  EX /  >Y  EX  /   >Y    901333>73{\[w8d99d8Ir     ! v   EX /  >Y  EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y    9   9    901333>733>73#.'#w9PeP9o}QO5h44i4J3i55h4JrX&K&&K&      [   EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y    9   901333>?3#'.'#HE{PNQ=0033     @   EX /  >Y  EX /  >Y  EX  /   >Y    9013533>?3|GGy%E&&E%e  (   	 E   EX /  >Y  EX 	/ 	 >Y   и /    и /0135!5!!(<?FbFb  /  ) o   EX /  	>Y  EX  /   >Y    9 /      и /    9      !   "01"&54>7.#"'>32#'#'2675AP!GmL	"$E!*)f;\[_!K12D*(OA'=,#M&mg6&Zn !  I	  " z   EX /  	>Y  EX /  >Y  EX  /   >Y    9 и / 
   9        
      01"&'##3>32'2654&#"7"E
[sI&.H2#:LA1B28483!4¶R"#A\9?cD$_UTJR7  )  9   EX 
/ 
 	>Y  EX  /   >Y 
      01".54>32.#"32672W@$(DY10E8'<JI:3/#S"B`==`B# KYKJYL  +    z   EX /  	>Y  EX /  >Y  EX  /   >Y    9 и /    9             01"&54>32'53#'#'275.#"]m#:K(*:s_H7010B9z<`B$O>5&_7TNPS  )  # O   EX 
/ 
 	>Y  EX  /   >Y  
  9 /      ܸ 
 ! 01".54>32!326734&#"3XB%&?R+2L3M< 7'#V13,B#B_=<`B$">V3	BGH09A>    Z  V   EX /  	>Y  EX 
/ 
 >Y  EX /  >Y    и  и 
  013#5754>32&#"3#]BB(=,/>``V3&A/
VS5[p  (' 7 C Q    EX /  	>Y  EX  /   >Y &   9 &/ /ܹ J  	 / J9 & 8   8 &9  и /    >    D 01".54675.54675.54>323##"&';22654&#"2654&+"',K6$"!' 5F'%Z2D'"#-WY[%Da6#21$$220<I-*C(&C 0 5(/C,*B-U+)>*
9@$@.30.32/03/ $!%  I    X   EX /  	>Y  EX /  >Y  EX  /   >Y    9 и      0133>32#4&#"IsK3OHs$) 1¶_-e^%=2  <      5   EX /  	>Y  EX  /   >Y  и / 
0133"&54632Is9((((A$%%$ 2    ;   EX /  	>Y  EX  /   >Y    и / 01"&'732653"&54632"'
!t%<7))))V-+'B1$%%$  I    e   EX /  	>Y  EX /  >Y  EX  /   >Y  EX 	/ 	 >Y    9   	9 
  	90133373#'Iq~}~MGX}  I   +   EX /  >Y  EX  /   >Y 	 01"&533:7>2s	J@DV
  I   !    EX /  	>Y  EX  /   >Y    9  и / 
   9 и /   и / и /    
         01333>32>32#4&#"#4&#"I_I.6A#L/NJt%&.9s%'.9C!..*&2e^%=2=%=2=  I    [   EX /  	>Y  EX  /   >Y    9  и /   и /      01333>32#4&#"I_!M3OHs$) 1B .e^%=2  )   5   EX 
/ 
 	>Y  EX  /   >Y   
  01".54>32'2654&#".TA&&AT..U@''@U.6>>66=="B`==`B##B`==`B"^YJKYYKJY  I>	  " ~   EX /  	>Y  EX /  >Y  EX  /   >Y  и /   9   9             0133>32#"&'2654&#"I_L).G2#:L) @c1B284824&#B\9?cC$RUTJR7  +>    m   EX /  	>Y  EX /  >Y   9   9  и /            0157#"&54>32373275.#"xF&]m#:K(*?
[7010B9¡R#z<`B$/S7TNPS  I  w  I   EX /  	>Y  EX  /   >Y    9  и / ܸ   01333>32.#"I_J'#@W03
d-8   / I   EX /  	>Y  EX  /   >Y      9    &   901"&'732654.'.54632.#"3c$6!A&(&&2'`S3R55%#%2)0H'J!	"-AR$F	"1" 7)  Zq  O | /  EX 	/ 	 	>Y  EX  /   >Y 	   	 и  и    01".=#5?33#3267+;%FL`}}E3/A(V[VU  D  S   EX /  	>Y  EX  /   >Y 	     9     и   и /01"&5332673#'#OHs$( 1s^	 Ke^4=2 $PH&.      @   EX /  	>Y  EX /  	>Y  EX  /   >Y    901333>?3uN

No$J&&J$     ! [   EX /  	>Y  EX  /   >Y    9  и   и  к   9   !901333>?33>?3#'.'#t;	@iA	;l}98#F$$F##F$$F##E''F#      I   EX /  	>Y  EX  /   >Y  и   к   9    9013'33>?3#'.'#|7		/w|<4 ]++]a,+a  6  G   EX /  	>Y  EX  /   >Y      9    9  01"&'7326?33>?3j	'/	uU		Jo$/=Z/% G#"G!*B/  "   	 E   EX /  	>Y  EX 	/ 	 >Y   и /    и /0135#5!3"^>R[=\  0q&        0q&        0D&        0N&        0;&        0$&        0M&        0w&        0P&      (0&      0o&    
    0|&    G    0|&    I    0&    K    0&    M  (0D&    '     0&    O    0&    Q    0&    S    0&    U  (0M&    '    &J  ' _   EX /  >Y  EX /  >Y    +  	к   9 / 	 и    %  901"&54>7#'##33273'.'#,=33vՈ4.-'!r<6PP4n67m      |   EX /  >Y  EX /  >Y  EX /  >Y   9 /     9  
    9 /     013#	!!3#!!5#)3.G{Sni03dbbbb  ~& L   &   1& L   &     E    - k   EX /  >Y  EX /  >Y "  ,и ,/ и , +  и + (и (/     (9   0135#5732#32654&+32654&+3#hLL2V>#6:GL&C\6nRE@B@UbHPOIb6%=+-IOE3J12.-(==:6S; SM0&    3 1&&    (Z   1&q&    Q   1&D&    Q   1&P&    Q   1&F&    Q   S  @P&    9   S(@&    4 SM@&    4   X    S  q&       S  q&       S  D&       S  P&       S  ;&       S  $&       S  M&       S  F&       S(&    ' S  o&    
   S  N&       S  |&    G   7  |&    I   S  &    K   S  &    M   S(D&    '   '  S& # ]   EX 
/ 
 >Y  EX 	/ 	 >Y    + 
    
 	9 /   	   	 01"&54>7!!!3#!#3267,=  5.-' bbb"< S  &    Y   16q&    h   16D&    i   16M&    i   16F&    i   16&    %d   16P&    i   16$&    i   16N&    i    1u+ 5 W   EX 
/ 
 >Y  EX  /   >Y    + 
 #    +  0 
  9 0/ 2 01".54>32&54632.#".#"32675#53eBqS.0SqA#E<"	>=.,G3ec2|!m,V~QPX.5HVK!=X7p_!- S  DD& 	   J   S(D& 	   J SD& 	   J       s   EX /  >Y  EX /  >Y   9 / ܹ   и  и  	и  и  и     015753!533##!#!5!Kt	tGGttt	6jjjj;"bb   q& 
       L  'q& 
        ,D& 
        IN& 
        3;& 
        $& 
       F   F& 
        ,P& 
       >   o& 
   
    I( & 
      +&   5   EX 
/ 
 >Y  EX 	/ 	 >Y    + 	 01"&54>7#33267,=tF4.-& 	r(:<  (M& 
        D&    a   SV&    %H   S(V&    J SMV&    H O  q&        S  &    n S&    %!   S  &    N  S(&    ! ($&    '    ! SM&    !     M   EX /  >Y  EX /  >Y   9 / ܸ и  и  	 017'737!!5)ht(|F:R\Gpb S  q&    t   S  F&    t   S(&    v S  =q&    J   S  =q&    J   S  =P&    J   S  =N&    J   S=&    %P   S  =F&    J   S(=&    P SM=&    P 1rq&    Q   1rq&    Q   1rD&    Q   1rN&    Q   1r;&    Q   1r$&    Q   1rs&    Q   1rP&    Q   1(r&    Q 1ro&    
Q   1r|&    GQ   1r|&    IQ   1r&    KQ   1r&    MQ   1(rD&    'Q   Q 1rM&    Q   1r&    YQ    -  " , }   EX /  >Y  EX  /   >Y    9  ܺ    9  ܸ  ܸ  ܸ       #   *ܸ  +01"''7.54>327&#"2>54'SdF?=F!*Lj@gH@>H*Mj+@N['>,)8P0Y+sGO}V.9Q0[*oDP~Y/V&BC+}"?Y7D4)  1  (   U   EX 
/ 
 >Y  EX  /   >Y 
   к  
  9 /       01!".54>3!!3#!%3#"sHwT//VyJX$$esr*S|QQyQ)bbb^myzr  3*   0 K   EX 
/ 
 >Y  EX  /   >Y 
 )   
 )9  и   ! 01".54>32>54&'7'2>54&#"S@jL**Lj@K<##	W96.2*Mj@'>,[NN[,>/Y~PO}V.#"!$/4=,XP~Y/e"?Y7n}}n7Y?" 3q&    Q   3q&    Q   3o&    
Q   3N&    E   3(*&    Q  1&r & 6 I   EX /  >Y  EX /  >Y     +  и  '   / 01"&5467.54>3232672>54&#"l,=&?eG&*Lj@@jM*5L1'#52'>,[NN[,>.-$<3X{LO}V..V}ODjQ;4<3"?Y7n}}n7Y?" S  :q&    +   S  :P&    +   S  :F&    +   S:&    %;   S(:&    ; S(:$&    '+   ; SM:&    ; &q&       &D&       &P&       &&    (   &&    %   &F&       &(&      V * U   EX /  >Y  EX  /   >Y      9      и / #  901"&'732654./7.#"#4>32=]?5*0'B1{<-HMt"CdC[u{Y\2J+H3)#F)VZu9]B%]L[I'D2   P&       &    (   &    %   (&     M&          I   EX /  >Y  EX  /   >Y    +  
   и  013#5735#5!#3#y\yy+7bb; P?q&    G   P?q&    G   P?D&    G   P?N&    G   P?;&    G   P?$&    G   P?M&    G   P?w&    G   P?s&    G   P?P&    G   P?&    CG   P?&    <G   P?&    EG   P?&    ?G   P(?&    G P?o&    
G    P&? . G   EX /  >Y  EX /  >Y (   +     и  "01"&54>7.5332>533267b-=6V< t#02$o*>(&%4.-$$HnMo5I,,I5xD^C-3<  P> ( 7   EX /  >Y  EX  /   >Y    и #01".5332>53>54&'7H9[A#t#02$3	XF7"A[!HqQo5I,,I5x	!$/;=QqH! Pq&    G   Pq&    G   Po&    
G   PN&    G   P(>&    G   q&         q&         D&         ;&        q&         q&         D&         ;&         F&       (&       o&    
     N&        (  q&       (  P&       (  F&       ((&     (M&        X   Y   EX /  >Y  EX /  >Y   9 /  и    и      015732+32654&+3#M+QsIt3dklc377Q|S*7syxn;  S  (   9   EX /  >Y  EX  /   >Y    +    +013332+53254&+Sth6[B&&C[5h_HH_h/M97P4w=0  6j  " Q   EX /  >Y  EX  /   >Y 	   9 	/        	   01".5467!&#"'>32'267!LAgH&0K6&lH@hJ()Kj@FX
U-W|P
%O#,,URRV-__a``  SZ ' U   EX /  >Y  EX  /   >Y         9     и /01"&'732>54.#"#3>321
$4''$tq$]30S="1H	e5[GAY6!$L)/#P[[T(  SR   @   EX /  >Y  EX /  >Y  EX /  >Y    +0133"&'732653St~'
!t%<rW,+z'C0 /$&       /$&       /&       /&       /&       /&       /&       /&       /&       /(&      /	&    	   /&    F   &    H   /%&    J   /5&    L   /(&    '     /Z&    N   /Z&    P   /e&    R   /4&    T   /(&    '      /0 0 < {   EX !/ ! 	>Y  EX /  >Y +   +  %и %/ к 	 ! 9  ! 9 / !    1  	 4   501"&54>7'##"&54>7.#"'>323272675~*9
!K,AP!GmL	"$E!*)f;\[-*412D*(,,%5&OA'=,#M&mg66n !  4 / < C    EX /  	>Y  EX  /   >Y    9 /      *к   *9  к    *9  /   0  #к -   9 - 3   7ܸ   >ܸ  A01"&5467.#"'>32>32!3267#"&''267./734&#"AQ	!#E *)b63EK0/G0K6 4)#U/:T3_@^N'00*=OAOW#M&/**/#>W3"@FM1#,(Z,2&!<CB 4$&      4&       	  *    EX /  >Y  EX  /   >Y  
ܸ ܸ ܺ    9   и / 
 и  к    9      %   '   ( 01"&'###57533#>32'2654&#"7"E
[GGsI&.H2#:LA1B28483!446SS;TR"!;S39[?"_NF<I7 IM	&      )&    '   )$&       )&       )&       )&       +e &    4   +(&    3 +M&    3  +1  ,    EX /  >Y  EX  /   >Y  ܹ   
ܺ  
  9  и  и   и /    
9      !   "  
 % 01".54>32'5#53533#'#'275.#".K4#:K(*:sFFaF701)9!=W75W="OP;SS62#_7$3DK )$&        )$&        )&        )&        )&        )&        )&        )&        )(&     
 )	&     	   )&        )&     F   &     H   )%&     J   )5&     L   )(&     '   	  )0 0 7 W   EX /  	>Y  EX 	/ 	 >Y +   +   	9 / 	    2ܸ  5 01"&5467#".54>32!326732734&#"h*7&	3XB%&?R+2L3M< 7'!*
413,B,,%;#B_=<`B$">V3	BGH%69A> )]&     X   ('$& "      ('& "      ('& "      ('& "      ('& "   &   ('& "      ('& "      ('& "       q& #     - I(& #   " IM& #   " I& #   !      o   EX /  >Y  EX  /   >Y  и / и  и  	и к    9   и      013#57533#>32#54&#"IGGsK3OHs$) 146SS;T_-e^=2   $&G       H  +$&G        ,&G        9&G        '&G        &G        ,&G       4   	&G   	    <( & $      (0   # A   EX 
/ 
 	>Y  EX 	/ 	 >Y    + 	 и 
 ܸ 01"&54>7#3327"&54632*8
s#!4)))),,$	36$%%$  (0   5   EX 
/ 
 	>Y  EX 	/ 	 >Y    + 	 01"&54>7#3327*8
s#!4,,$	36  &&G        I     %   EX /  	>Y  EX /  >Y0133Is2-&       I& &   %   I(& &    IM& &     I    S   EX /  	>Y  EX  /   >Y    9  и   	к   	9 
   90133373#'Is~}~KYy A& '     6 I6 & '      I & '   N  D& '   %    I( & '    (x& '   '      M8& '       G   EX /  >Y  EX  /   >Y   +  
и  и    01"&='7373:7>23([s3)\	J@H64H6V
 I  $& (      I  & (      I(& (    I  $& )   ,   I  $& )   ,   I  & )   ,   I  & )   ,   I& )   %   I  & )   ,   I(& )    IM& )    C   ' )    Z   )$& *      )$& *      )& *      )& *      )& *      )& *      )& *      )& *      )(& *    )	& *   	   )& *   F   
& *   H   )%& *   J   )5& *   L   )(& *   '    )& *      )]& *   X    )  " *    EX /  	>Y  EX  /   >Y )   9 ) к    9    9    9  (к   (9  ( 9       # 01"&''7.54>3277&#"2654'%F..2&AT.M;/.2'@U,6Cy6D8$= V6=`B#,9$> W6=`B"4'ZYH5'  ) ( 4 ; k   EX 
/ 
 	>Y  EX  /   >Y 
 к  
  9 /   )  и   #и 
 /   6ܸ / 901".54>32>32!3267#"&''2654&#"%34&#"
.R=$%>R.6WV1/I1L6 5)#V03XU73<<32<<10+="B`==`B#6217#>W3	@FM7135^YJKYYKJY<CB  )! " . 2   EX  /   >Y 
  ) +  ) 
9   # 01".54>32>54&'7'2654&#".TA&&AT.3-$)	V *#+'@U.6>>66=="B`==`B#+*'./"!cA=`B"^YJKYYKJY )!$&t      )!$&t      )!	&t   	   )!&t       )(!&t     )0 ' 3 I   EX /  	>Y  EX /  >Y "   +  и  (   . 01"&54>7.54>323272654&#"()9	+M:"&AT..U@'+;$#"3,6>>66==,,!&A[9=`B##B`=2M<,36"YJKYYKJY I  $& -       w& -   %    ?  & -       I  w& -       =(w& -     =(w& -   '     Mw& -     $& .       & .       & .       & .   '    & .   %    & .       (& .      IA 8 i   EX #/ # >Y  EX  /   >Y   	 #  9  #  9 #     и / -   #9 4   #901"&'732654.54>54&#"#4>32*F"*32!$)0)%$25r6Q6-E/ )1),AO'& !-"-)+",HE0O9+8%3)&%6'!9* Z& /   #   Zq& /   '    Zq& /   %    (Zq& /     Mlq& /    ZF& /       Zq   g | /  EX /  	>Y  EX /  >Y    +     
и  и  и   и   017575#5?33#3#3267#".=FFL`}}}}E3+;%6rV[r;=VU/A(= D$& 0      D$& 0      D& 0      D& 0      D& 0      D& 0      D& 0      D& 0      D& 0      D& 0      D+& 0   B   D_& 0   ;   DY& 0   D   D_& 0   >   D(& 0   ) D	& 0   	    D0 ' g   EX /  	>Y  EX /  >Y "   +  к 	  9    	    и  и /01"&54>7'##"&5332673327*8
 K3OHs$( 1s/(4,,$	G&.e^4=2 $P36  DG % Y   EX /  	>Y  EX /  	>Y  EX  /   >Y  EX !/ ! >Y   	   01"&5332673>54&'7#'#OHs$( 1"	V$^	 Ke^4=2 $P	#'./";H&. DG$&      DG$&      DG	&   	   DG&      D(G&       $& 2   w     $& 2   w     & 2   w     & 2   w   6$& 4       6$& 4       6& 4       6& 4       6& 4       .& 4    6	& 4   	    6& 4       "  $& 5       "  & 5       "  & 5       "(& 5     "M& 5      0 $ 5 ]   EX /  >Y  EX  /   >Y  и ܸ и 
и  и  и   %  
 . 01".54>32.''7.'77'2654&'.#"-P>$!8J)"?0"z23$F |;L ;T17<97@!,!=X74T;2O!H5>G+I6?<s<eI(^[S"JA!5%  I>	  "    EX /  >Y  EX /  	>Y  EX  /   >Y  EX /  >Y   9   9            013>32#"&'2654&#"IsE&/J3#:L)#=c1B28482M #B\9?cC$NUTJR7  IG " Y   EX /  	>Y  EX /  >Y     +      9     и /01"&'732654&#"#33>32P'
!$) 1s_!M3OH$<V,++=2B .e^'B1 2   +   EX /  	>Y  EX  /   >Y  01"&'732653"'
!t%<V-+'B1  <2   ! - `   EX /  	>Y  EX  /   >Y  EX /  >Y  и 
и     и  "и (0133"&54632"&'732653"&54632Is9(((('
!t%<7))))A$%%$V-+'B1$%%$  B  & m   EX 
/ 
 	>Y  EX  /   >Y 
 и /    
9  
  9        
 $   & 01"&533>323267>54&#"jf_	 S2<H)$A *&b2D)$99ri@#)G<Ra"M&!@  I	  " u   EX /  	>Y  EX  /   >Y    9 и /  и / 	   9        	      01"&'##33>32'2654&#"7 F 	\_L).G2#:LA1B2848205&#B\9?cC$_UTJR7  I	 " .   /  EX /  	>Y  EX /  >Y  EX  /   >Y    9 и /       9   #   )   +   , 01"&'##4>32&#">32'2654&#"7"E
[.F2/+*I&.H2#:LA1B28483 2*I6
V56Z"#?Z7>aB#_RQGO7    5   EX /  	>Y  EX  /   >Y     01"&'732>54&#"'>32*S#.40#F6)8N6.T?%%@WL+<%KYK "B`>=`B"  ( 
 1 g   EX /  	>Y  EX -/ - >Y    ܹ %  	 % -9  - %9    # % -9 / - %901%2654&#"'>7.54>32&#"632#"'!&2uZ(DY10E5),?MMO;A)<%C7	M!'6 T4=`B# F$\M%H?61&,  +GO ! - |   EX /  	>Y  EX /  >Y  EX 	/ 	 >Y     +  	 9   	9 	 "   $   %   ( 01".57#"&54>32'533267275.#"	$6#E&]m#:K(*:s	#7010B9&5Z#z<`B$O$'(V7TNPS  +Q   ,    EX /  >Y  EX /  	>Y  EX  /   >Y    9      и /    9   !   #   $   ' 01"&54>32'4>32&#"#'#'275.#"]m#:K(*:%9(_H7010B9z<`B$k$;,V*(5&_7TNPS  %  " G   EX /  	>Y  EX  /   >Y   	   9 	/ ܸ    01"&'73267!.54>323.#"/Z#'8>=H7O2,O;"$?X9-3;H$GB	3V>"$B`<=_B#0<>A  +    y   EX /  	>Y  EX  /   >Y    9  и /   и /    9             01"&54>32373#'#'275.#"]m$:L)'?	\_H7010B9z<`B$05&_7TNPS I      %  # O   EX /  	>Y  EX  /   >Y 	   9 	/        	 !01".5467!.#"'>32'267#2M48B9 :'%Y10Q<"#=Q0.<6"?W5	?EL#B`<<`B$Y@?=B  % , 8 Y   EX /  	>Y  EX  /   >Y  5 +   +  	   ܸ 5 %ܸ   - 01".'%.#"'>3273267#".''2>5<'5O51<*"7'%V.HgV:#!87O3(<$<O,)&LC<$8%9
	%4[D(X)8![+/  0 , M   EX /  	>Y  EX  /   >Y     + 	   9      & 01".54675.54>32.#";#"3267*L:#=-))4E&,K#,1#.,.>Mc=08.,P&8$3:; #4!K! NA"&K  # + M   EX /  	>Y  EX  /   >Y    +        $  901"&'732654+532654&#"'6321S./81=dL=/++#4+IY%A2(),=!9JK&"AN !K/!4# ;:3$8&  0  . M   EX /  	>Y  EX  /   >Y (  ) + 	 ) (9      ! 01".54675.54>32'2654&#";#",N;#=-))5E'3\F)(D]3?FF>#-)+-]8&8$3:; #4! Aa@@`A YSUUT! NA"& 2  M   EX /  	>Y  EX  /   >Y    +      и  и /01"&'7326=#57533#2'
!PPtLL%<V-+6;'B1  /3U - < u   EX /  	>Y  EX  /   >Y '  ! + .   +       9   9  1   2   5 01"&'7326?#".54>3254>32&#"2675.#"+`)(#I =8E'.J5$:L('9$:)y`02) ;N80L #@Z89\A#%9*V,&"^e4(9#HP  /3 ! 0 w   EX /  	>Y  EX  /   >Y "   +       9   9  и /  %   &   ) 01"&'7326?#".54>323732675.#"+`)(#I =8E'.J5$:L('?^y`02) ;N80L #@Z89\A#-^e4(9#HP  ) # O   EX 
/ 
 	>Y  EX  /   >Y 
        
  9} /   01".54>32.#"32675#531XC'(DY2;L6,%2&K=$_\ A`@=`B#$F+?*PX
fO%  '  $ _   EX /  	>Y  EX  /   >Y    9    9   9  к   9    01"&546733>?3'2654'#>FuN

NoG>#G;%E2 7!!7 \3F%;GK.C!9   ! - q   EX /  	>Y  EX  /   >Y    9 (   9   (9     и  к  ( 9   " 01"&5467&#"'>32>32&#"'2654&'Xa</-2"5)R##R)5"3,.=bX&',! ,&ZU1c-5T*))*T5-c1UZ^0$#GG#$0  D>  \   EX 	/ 	 	>Y  EX /  >Y  EX  /   >Y  	  9       	 0157#"&5332673s K3OHs$( 3s¢d#-e^4=2%PS  I     f   EX /  >Y  EX /  	>Y  EX  /   >Y       9   и      0134>32&#">32#4&#"I.F2/+*K3OHs$) 1*I6
V56g-e^=2  IG . h   EX /  >Y  EX &/ & 	>Y  EX /  >Y     + &   #  9 #     01"&'732654&#"#4>32&#">32P'
!$) 1s.F2/+*K3OH$<V,+=2*I6
V56g-e^'B1  J    ?   EX /  	>Y  EX  /   >Y   	 +  и   0133353#5#Jsss뼼  
     K   EX /  	>Y  EX 
/ 
 >Y    +  и  и  ܸ 01757533##5"&54632
PsMMs:((((6;^$%%$  1  @  A   EX /  	>Y  EX  /   >Y      и  
01353#5!#31NNNN\4[[\ j  " . g   EX /  	>Y  EX /  >Y   ܸ ܺ   9   9   9   9  #ܸ )01&'#".546323%267&#""&54632 $C-!3$GA$t ;"))))D2$/4@ V6l$%%$ J  ) O   EX 	/ 	 >Y  EX /  >Y   +  и $и ܸ     01"&54632533#3:7#"&='354.#"HA3)!sMM	&>217)&3;V
J@;
  IG      EX /  >Y     +01".533267)8"s	".?&0'(V  I2M $ o   EX /  	>Y  EX /  >Y  EX  /   >Y  EX /  >Y        9      01"&'732654&#"'7##3!6tHa!6@-1A=6)ss{-G1#<O/ H"C;6;:p=2F)6T9  I    +   EX /  	>Y  EX /  >Y  01333Isq\  F !    EX /  	>Y  EX  /   >Y 	     9     и 	 и   к   9     и  и /01"&5332733273#'##"&'NJs%'.9s%&.9s^	 H/6@#Le^4=2=W=2=WC /.*&2  F> !    EX /  	>Y  EX /  >Y  EX  /   >Y  и  к   9   9        и     0157#"&'#"&5332733273#F+6@#L/NJs%'.9s%&.9s¡c%).*&2e^4=2=W=2=WS  IG .    EX  /   	>Y  EX /  >Y     +     и   &и  к # & 9 #      9      и /01"&'732654&#"#4&#"#33>32>32r$%&.9s%'.9s_I.6A#L/NJ$9V,++=2=%=2=C!..*&2e^'B1 G ! Y   EX /  	>Y  EX /  >Y     +  
и 
/   9      01"&'7326533>32#4&#"+#`!M3OHs$) 1"7V('B .e^%=2&?.  IGP " Y   EX /  	>Y  EX /  >Y     +  	    9     и /01".54&#"#33>323267
)7"$) 1s_!M3OH	#.?&1=2B .e^'(V  I    I   EX /  	>Y  EX  /   >Y  и   к   9    901333.=3#'.'#Iklk;.\&<0[&  )   ! M   EX 
/ 
 	>Y  EX  /   >Y 
    
  9 /      01".54>32"3.267#/T@&&@T//U@&&@U/1?

@14BA!@a?@`A!!A`@?a@!@<<@GCCG  )  + ]   EX 
/ 
 	>Y  EX  /   >Y 
 "  и /  
  9 /       и /01".54>32!#3#3!'267.#"!1ZD))DZ10"ٷ 21%%1 @`A@a@!UrNT\8(>+,?(  )>   ' w   EX /  	>Y  EX /  >Y  EX /  >Y  EX /  >Y       
и  и  и  &0174&'>5.54>753Q>>QN@>P3^I++I^3j3_H+,H^3NVOVNNVV$@]<<\A##A\<<]@$ ,  K   EX 
/ 
 	>Y  EX  /   >Y    
  9  	    и /01"'732673#'#6#@s^	J
d-9+X04 ,  K   EX 
/ 
 >Y  EX  /   >Y      
9  	    и /01"'732673#'#6#@s^	J
d-9>X04 G  M   EX /  	>Y  EX 
/ 
 >Y     +  
 9 
     01".=##"'7326733267J%3J(#@s	#*:"t04
d-9+'(V  IGw  H   EX /  	>Y     +  и /    9      01".533>32.#"3267)8"_J'#@	".?&W03
d-8'(V  I  g  /   EX /  	>Y  EX  /   >Y   0134>32.#"I/F/?$5*H3a.  I     K   EX /  	>Y  EX  /   >Y    + 
  9   и   01332#'#32654&+I)G44(fI:/11/:$;+7Eİ)$%"       K   EX 	/ 	 	>Y  EX /  >Y    +   9 	 и   013".5467'3353'35#")G45'gHs::/11%;+7EïV*$%#  G ? W   EX '/ ' 	>Y  EX  /   >Y    +        '9 ' .  6 '  901"'3267#".=732654.'.54632.#",(!
'(7"6!A&(&&2'`S3R55%#%2)0H+/T1B'6I!	"-AR$F	"1" 7) 26  5   EX /  >Y  EX  /   >Y     01"&'732654>32.#""'
!'?/"	&%<V-+5'B1V-+'B1 2F ' U   EX /  >Y  EX  /   >Y   ! +     ! и   и /   01"&'7326=#5754>32.#"3#2'
!PP'?/"	&LL%<V-+6'B1V-+;'B1  FZq  8   EX 	/ 	 	>Y     + 	   	 и  01".5#5?33#3267+;%FL`}}E3/A(V[hVU  
F    {   EX /  	>Y  EX /  >Y   +  и  и  
и  и и  и /   9      0157533533##'##"&=2675#
QssLL^	 K3OH 1$	6;H&.e^R $nC=2  ! - Y   EX /  	>Y  EX  /   >Y    и /      "и и /  !01".54>75#5332>54&'53#7V;Z"'++'"Y;V%=N)!:0'[J#WA6))6AW#J['0:!)N=%  D   E   EX /  	>Y  EX  /   >Y  и /   	    01"&5332>54#"'>32Zns2((A#;*:VmqF>3H+W3P6CpQ-      3   EX /  	>Y  EX  /   >Y к 	  90133#'.'#uN

N$K%%K$     ! W   EX /  	>Y  EX  /   >Y к   9  и  к   9    901333>?3#'.'##'.'#|:	7t<	AhB	:#E''F##F$$F##F$$F#      K   EX /  >Y  EX  /   >Y       9   к    9013>32.#"#'.'#%/=(	&/uU	
I*B.Y/%9 H##F"     7   EX /  	>Y  EX  /   >Y    9  013533>?3y75yNz77z  "G  K   EX /  	>Y  EX /  >Y     +    и  	  01".=!5#5!33267(7#^	#+;!>R[=j'(V  "  & Y   EX 	/ 	 	>Y  EX /  >Y   и / 	    &и &/ #ܸ ܸ  01'>7#5#5!>32+72654#"<W&G-.4)>++	W###(Q">R[=DM320$("',  2   I   EX /  	>Y  EX  /   >Y      9      01"&'732654&#"'7#5!6Ha!6@-1A=6)h-G1#<O/ H"C;6;:[=2F)6T9     /   EX /  >Y  EX  /   >Y  	 013>54&#"'>32+='93-B:!dH,M:"+;$@./039(J#52J1*D:4  $    /   EX /  >Y  EX  /   >Y   013.54>32.#"#<+$=Q.D_ ;<*8?'>+4:D*1J25#J(930/.  	     I   EX /  >Y  EX  /   >Y    +     и  0135#573>54&#"'>323#LRNE:3-B;"cH,N:"".V6]139(J#52J161.[      I   EX /  >Y  EX  /   >Y    +     и  0135#53.54>32.#"3#5H$=Q.D_ ;<*8?ENRL[+b;1J25#J(931]6V  .  7     +    +  и  и  и  0157333#3###5735M%MiiiiMrM%K6h;};s6}  6  ' 3 C   EX 
/ 
 >Y  EX  /   >Y .  ( +     
  01".54>32'2>54.#"7"&546321O99O11P99P1))((  !!,[^Z[-.ZZ^[,^@iMHfAAfHMi@       -    EX /  	>Y  EX /  >Y  EX /  >Y  и    и     и   и  /  &и &/  *и  +01!###5754>32.#"354>32&#"3#sBB)@-2$'=,.>``pV+&@.
V)*+3&A/
VS5[p   4 &    $j   ` &    'j    s , z | /  EX /  	>Y  EX 
/ 
 >Y  EX  /   >Y    
    и и  *и и   $и $/  013#5754>32&#"3733#3267#".=#]BB(=,/>_~~F3*;%V3&A/
VS5[VU/A(p   B    EX /  >Y  EX 
/ 
 >Y  EX /  >Y  EX /  	>Y  EX /  	>Y  EX %/ % 	>Y  EX )/ ) 	>Y  EX 6/ 6 >Y ) <  =и @и Aи и и 
    "   +и ,и 6 / 013#5754>32.#"354>32&#"3733#3267#".=###]BB)@-2$'=,.>_}}F3*;%sV+&@.
V)*+3&A/
VS5[VU/A(pp  1  @  =   EX /  >Y  EX  /   >Y 
  и    01353#5!#31NNMMbbb6b   @q&       1  Sq&         XD&        uN&         _;&       *  H$&       1  @F&         XP&       1  @o&   
    1(@&      1&@ ! U   EX /  >Y  EX 	/ 	 >Y    + 	 
     и 
 и 	 01"&54>7#53#5!#3#3267-<jNNMMY4.-'!	bbb6b2<   TM&        SR= " S   EX /  >Y  EX /  >Y     +  к   9  к   
901"&'73265#'##33.53'
!CowCo$:W-#p4r73u7z'C1 +   +$&   #   +$&   #   +&   #   +&   #   +&   #   +&   #   +&   #   +&   #   +&   #   +(&   % +	&   	#   +#&   F#   &   H#   +%&   J#   +5&   L#   +(&   '#   % +Z&   N#   +Z&   P#   +e&   R#   +4&   T#   +(&   '#   %  +0  ' 3    EX /  	>Y  EX /  >Y "   +  к 	  9   9  и /  и /  (  	 *   +   . 01"&54>7'##"&54>32373327275.#"*9
H(]m$:L)'?	\0'47010B9,,$	4&z<`B$036#7TNPS /3   /3$&   %   /3&   &   /3&   &   /3&   &   /3&   &&   /3&   &   /3&   &   /3&   &    I     %   EX /  >Y  EX /  >Y0133Is> B  &5     6 I  7 &5      I   &5   N   &5   %    ?( &5    (x&5   '    M&5         ?   EX /  >Y  EX 
/ 
 >Y    +  и  01'737#([s3)\sH64H6/    & !   5O    0    S  0     S    /   EX /  >Y  EX /  >Y   013!!Sb     F   5   EX /  >Y  EX /  >Y   
  901353%!'# ωW*U?>FHFb S      (      S  D 	    1r   ' C   EX /  >Y  EX /  >Y    +       0153".54>32'2>54&#"i@jL**Lj@@jM**Mj@'>,[NN[,>"ee/Y~PO}V..V}OP~Y/e"?Y7n}}n7Y?" S    
   S  V        3   EX /  >Y  EX  /   >Y к 	  901#3#.'#ˉ{\[rI8d99d8 S      S  =     3      C   EX 	/ 	 >Y  EX /  >Y    +    	  0135!5!5!34bb#bb	bb 1r     S  ;  @   EX /  >Y  EX /  >Y  EX /  >Y   013!#!St r, S       )    9   EX /  >Y  EX /  >Y     	 0135'5!!!)޵AFFbb             0   ' A } / /    +    +  
и  и  и  &014&'>5.54>753VIIVVIIV=cG''Gc=h=cG''Gc=JJ\WXIIX\Z'C];:]A%YY%A]:;]C'Z        :    Y   EX /  >Y  EX /  >Y   9     и  и  и  01!5.=33>=34;]@"qEDmCFr"A];"?`AYQJQYA`?"  -   - W   EX /  >Y  EX  /   >Y     й   и /  $   ,и ,/013535.54>323#5>54.#"-x&)LkAAjL)&x6?,>((?,?6^3@M-ErS..SrE-M@3^T.|Z0Q;!!;Q0Z|.T    T & $  k   C & \  k     & 	\  k    # & 
\  k    3;& 
       & F  k     '     k    ;&          &VF  k   )9 ! 2    EX /  	>Y  EX  /   >Y    9  и /   и /      9   "   '   (   + 01"&54>32373327#"&'#'2>?.#"Wj$<N*,Lr
%0:5A'7 ) 6x>bC$3>e-ebVV	*0Z_#/X>.*?*NP  HN   6 q }  /  EX /  >Y  EX /  >Y $  9 $ '   $ '9   '9     /   4 014>32#"&'2654&#"'>54&#"H5Q8&H8"/+AQ"7F$,W&.B99!/6#25I3XA$,C-4ObJ4N4)<t<=<0BV$*00TK)  N  P }  /  EX 
/ 
 	>Y  EX /  	>Y  EX /  	>Y    9    901>454.'73>73 5F'u*'"*8r
+A."65Ram7U`>oqzJ-d*  . + 9 U   EX /  >Y  EX  /   >Y 2   9 2 
и    "   9   , 01".54>7.54>32&#"'2654&'-Q>%.=#+!*@,3k9sJ '4 7(:S3695&@I +9S5*D7(%+0*X)!$08B*4V="^HC3IQ@1"  ) . e   EX /  	>Y  EX  /   >Y   # + 	 # 9      и  / # !и !/   ( 01".54675.54>32&#"3267&#"3267/P:"7+&&!7H(-T#+7=(3+/ *&b<9> ./T&8$39= #4!K&! UA"&J#  ,F + G }  /  EX /  >Y  EX 	/ 	 >Y    и / 	 & 01'>54.'.54>75!#vZ	($B3*G[18>>]0\I,!1"IA!$5R=2li`&[[_jl,$3"45Q  @N  U }  /  EX /  	>Y  EX /  >Y      9     и /01>54&#"#4&'33>32p&!5!sh#M5K@;~{s0=2)1\J(]18e^  6   % C   EX /  >Y  EX  /   >Y   ! +       01"&54632"3.2>7#bttb1O88O1####.ZZ^[,|5WAAW56ZDDZ6  I  +   EX /  	>Y  EX  /   >Y  01"&53327C3u!LAj.c`Z%V  ? # q   EX /  	>Y  EX 
/ 
 >Y  EX #/ # >Y  EX  /   >Y  и /    9    9   #901.'#4&'33>7"J#mrAHN)
'L+/57
)vCL4\N$>"z.UC.l0*$PMH    [   EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y       901''&#"'>32##|I.'O^ {s

j	^gjp  IN3 ( _ }  /  EX /  	>Y  EX  /   >Y      9  	   
и   и /  013326733267#"'##"&'Is$'3t!\=$(;4 /E.c`Z%VX** 3//      Q   EX /  	>Y  EX /  	>Y  EX /  	>Y  EX  /   >Y 	   9013.'73>73c>u,%	)4r
,;']$ahh,Y\AwwyC  F C  }  /  EX  /   >Y  EX 	/ 	 >Y +  2 +  2 +9     и /  "и "/ + .и ./ 2 /и // 	 < 01'>54.'.54>75.54675!#"3267.#"|[	('D3'3,4!t-=&#4'%5!&3!$-B0"<1#	H0"9[[71&\!.(&Q  )   5   EX 
/ 
 	>Y  EX  /   >Y   
  01".54>32'2654&#"/S@%%@S/.T@%%@T.8998899"B`=>`B""B`>=`B"^XKKYYKKX  K $ Y   EX /  	>Y  EX /  >Y  и  /    	и  и / 	 и    01"&54>5#'>5#57!#3267G9
tnH_'ND<JP$`df[W\%TM<V  EN  ! O }  /  EX /  	>Y  EX /  >Y   9        014>32#"&'2654&#"E#=R0js"9I'#Ff-A380A7Cb@v?cC$#>j<UTJRQNq!  )$  % I   EX 
/ 
 	>Y  EX  /   >Y 
    и / и /    01".54>3!.''2654.#"/R>$'@T-)B(*,!;P.1;(1>=!@^=@_>`\?7W= ^PH!;-LQJT    =   EX 	/ 	 	>Y  EX  /   >Y 	   и    01".5#57!#3267,".H`0&6"
V[J;W	  3 ! M   EX /  	>Y  EX 	/ 	 	>Y  EX /  	>Y  EX  /   >Y  01"&54654&'332654&'7dap5%.7psk_(O'J(:".345/OV4oD>~?  )Nq   ' ] } /| /  EX /  	>Y  EX /  >Y      
и  и  и  &0174&'>5.54>753Q>>QN@>P3^I++I^3j3_H+,H^3NVOVNNVV$@]<<\A#}}#A\<<]@$  	B   } /} 
/  EX /  	>Y  EX /  	>Y  EX /  	>Y   и  /   9   
9   9 	  9 
 и /01'7373#vrjxqV9  4Nq ) e | /}  /  EX "/ " 	>Y  EX 
/ 
 	>Y  EX !/ ! 	>Y  EX /  >Y   и  (015.=4&'333>54&'72B^:p!4$iFIo~&AW3vJ(:"*)%4&!Xc1a?:o<  . / M  /  EX /  	>Y  EX  /   >Y   и  #и   )к -   901"&546732654&'332654.'7#"&'#Qd/$k'*)%!+{) "+i$-]U*LE}F7+<pE@I29 :)): =.MN"855(8zQ~*11*  )I ' . }  /  EX /  	>Y     +   01'>54&'.54>32.#"M\%"C6!%@T/0F8&7B,!, ,"8S=;\?! KTE%2"	(T  G  + < W   EX /  >Y  EX  /   >Y    9 4   9 4 !   )    , 01".=4>32>54&#"2654.#"8+VE+4O6&H7"46%<+#>R8I+0#15|2A. 63'-;^D3X?$+B-4Q1@%3M4, '-1-Q9;6+!./=$  :  0 M   EX )/ ) >Y  EX /  >Y  ) 9    ) 
    017.""&54&'332>7.54>32-P> *&-e^[l-$#]yG1D'uz7Q2%?U48aW'36=-7`L"?P#(E3cY*  )N # / \ }  /  EX /  	>Y  EX 	/ 	 	>Y  EX /  >Y     и  'и  - 015.546754>32>54&#"/5_H*;._)*LE->$-I3+H^3@O.$#"A_?G6C1^<HT<U7!?[9>bD&*U*5h6UTNN9 )9&`   !   )&d       @N&f   +   I&h      '&h       )&n      3&s       3&s       .&w   j  /&h   =    3&s   =     l & <  ~   ` & 0      T & $       T & $  k    '           '          '          '          & X       & X      0M&        0$&        t '     ~    t '         C & \      C & \  k     '         '         '         '         ' 	    ~     ' 	         & 	\       & 	\  k    ^ ' 	       \ ' 	       W ' 	       U ' 	        ' 	         ' 	        T ' 
    ~    T ' 
        # & 
\      # & 
\  k     ' 
        ' 
        ' 
        ' 
        ' 
         ' 
        (M& 
        $& 
       & x  ~   & h     & P     & F  k   '      ~ '      o '       m '          '          '          '          '     k    M ' T       F ' M        '         M&         $&          &Vx  ~     &Vh       &VL       &VF  k    'V
        'V        'V        'V       $ 'V        $ 'V      6 &    n,  r & <  &~  nh  f & 0  &   n\   '     &   n   '     &   n   '     &   n   '     &   n   & X  &   n   & X  &   n   S & 	   n  + ' 	    &~   n!  + ' 	    &   n!   ' 	   &   n   ' 	   &   n   ' 	   &   n   ' 	   &   n  l ' 	    &   nb  l ' 	    &   nb   - &V   n  5 &Vx  &~   n+  % &Vh  &   n   'V
   &   n   'V   &   n   'V   &   n   'V   &   n  X 'V    &   nN  X 'V    &   nN   )9&`   	! 
 )9&`   !   )9$&`   !   )9$&`   !   )9&`   ^!   )9&`   [!   )9&`   ]!   )9&`   Z!   )9<&`   _!   )9<&`   \!   )9&`   !   )9&`   !   )9&`   !   )	&d   	    )&d       )$&d       )$&d       )&d   ^    )&d   [    )&d   ]    )&d   Z    @N	&f   	+   @N&f   +   @N$&f   +   @N$&f   +   @N&f   ^+   @N&f   [+   @N&f   ]+   @N&f   Z+   @N<&f   _+   @N<&f   \+   @N&f   +   4&h   	  
 *&h      $&h       H+$&h      &h   ^   &h   [   &h   ]   &h   Z   <&h   _   <&h   \   &&h      &h      9&h      /&h   @   /&h   =   7&h   A    )&n   	 
 )&n      )$&n      )$&n      )&n   ^   )&n   [   )&n   ]   )&n   Z   EN&p   	' 
 EN&p   '   3&s   	  
 3&s       3$&s       3$&s       3&s   ^    3&s   [    3&s   ]    3&s   Z    3<&s   _    3<&s   \    3&s       3&s       3&s       3&s   @    3&s   =    37&s   A    .&w   	j 
 .&w   j   .$&w   j   .$&w   j   .&w   ^j   .&w   [j   .&w   ]j   .&w   Zj   .<&w   _j   .<&w   \j   .&w   j   )09&`   9)   )09&`   '9)   	! 
 )09&`   '9)   !   )09$&`   '9)   !   )09$&`   '9)   !   )09&`   '9)   ^!   )09&`   '9)   [!   )09&`   '9)   ]!   )09&`   '9)   Z!   )09<&`   '9)   _!   )09<&`   '9)   \!   )09&`   '9)   !   @0&f   9    @0&f   '9    	+ 
 @0&f   '9    +   @0$&f   '9    +   @0$&f   '9    +   @0&f   '9    ^+   @0&f   '9    [+   @0&f   '9    ]+   @0&f   '9    Z+   @0<&f   '9    _+   @0<&f   '9    \+   @0&f   '9    +   .0&w   9f   .0&w   '9f   	j 
 .0&w   '9f   j   .0$&w   '9f   j   .0$&w   '9f   j   .0&w   '9f   ^j   .0&w   '9f   [j   .0&w   '9f   ]j   .0&w   '9f   Zj   .0<&w   '9f   _j   .0<&w   '9f   \j   .0&w   '9f   j    ?E + e }  /  EX /  	>Y  EX /  >Y и  и /   9   9 "  9  'и '/01'>7.'#4&'33>7&H!J"mrAHN)
'L+/57##!	)W**tBL4\N$>"z.UC.l0*$PMH52*  )N  $ C } /  EX /  	>Y  EX /  >Y        !01%2654&#"5.54>328998899&A0%@S/.T@%/?%MZNKYYKNZ	)@U4>`B""B`>3T@*	-P0  )F % C }  /  EX /  	>Y  EX 	/ 	 >Y    и 	  01'>54.'.54>;&"#"o[ (I9"'D]5!O&ANHD%1!&	
%;T9@_>`LQAG	%T  IN  . }  /  EX /  	>Y    +   01!#3#ID[NNV  L     EX 	/ 	 >Y01'>54''%&''%.'7q
9q?/B~H/	&iBJVZ.0\-0/8!au91>%`v=g)U8hb /J 'N  V O   ?J N  V ? N  
  R        +013Rs)n  :        EX  /   >Y 013?3:)Kn ,     r     EX /  >Y017e7 j5 =   0} 9    I
    /  EX  /   >Y  01"&53327C5u!KBK<V :k	 	   :k	 	   ;a    ,>    ,    c. ^   _. [   c. ]   i. Z   ~3< _   ~3< \   \?    f5 @   f5 =   vC7 A         EX /  >Y  01'>54&'7'*PJ#-1=3,)       EX /  >Y 	 01.5467p-#JP+'),3=  l     EX /  >Y  01'7!7e *   +   EX /  >Y  EX /  >Y  01'7'>54&'78e #BD&0	=40& (   +   EX /  >Y  EX /  >Y  01'7.54677e%DB#!&04=	 *   +   EX /  >Y  EX /  >Y  017'>54&'7d7 #BD&0	=40& (   +   EX /  >Y  EX /  >Y  017.5467e7%DB#!&04=	    ' `   EX /  >Y  EX /  >Y  EX /  >Y     +        и /01>323267#".#"'>54&'7$#5%#+	&
G@&P+#

+#

(	2    ' `   EX /  >Y  EX /  >Y  EX /  >Y   	 +     $   'и '/01.5467'>323267#".#"&@G&$#5%#2	+#

+#

  0     S  (   M   EX /  >Y  EX /  >Y      9      013!!32#'32654&+Sk4ZB&$@Y5oaHFHH_b,G36L2Z697. S  0    S  A    D{    K } /  EX /  >Y  EX /  >Y   и и  и   013#'53>7>7!3#5!#g	hMg+

	
H6T>.LKO2Hּ8F#;8: S         A 1    EX /  >Y  EX  /   >Y   / +   /9     и /  и  й $  / +к (  +9   .и *013'.#"'>323337>32.#"####>%	+'$JIoII#',	$>~PoP[-j.$
$.j-&&  & + S   EX /  >Y  EX  /   >Y      9 /      $  901"&'732654&+532654&#"'>32Dw3?)R39MKHQ=H?>0*F ;'k<gu--5F&CZ+2O&!7540W0--+M%*[Q2LR?1K3  S  G  I   EX /  >Y  EX  /   >Y    9  	и   к  	 90133373#467#Ss
D{sC7u3pr7r4 S  GJ&   Q   S  Y  W   EX 
/ 
 >Y  EX  /   >Y    + 
 и / 
     9   013337>32.#"##St]X%%*	M{\#/j& 1  A   EX /  >Y  EX  /   >Y     и /   01"&'732>7>7!##="ct"+6i
#A7afr,PLOf; S      S  D 	   1r    S  ;N   S      1&             G   EX /  >Y  EX  /   >Y      9     01"&'7326?33?3"${c41ZuVeEM  .    Y   EX /  >Y  EX /  >Y    +    +  
и  и  и  014&'>5.546753XQQXXQQX󂔔dJNREOMMOR[vu|ZZ|uv[        SD}  A } /  EX /  >Y  EX  /   >Y    и  0133333#5SttMg,Hּ  @    7   EX 
/ 
 >Y  EX /  >Y    + 
 01!#".=3326732$9Y?!qFG /t6V>J:r  S  %  G   EX /  >Y  EX /  >Y    и  и и  	01333333Srpr,,r  SDq  Q }  /  EX /  >Y  EX /  >Y    и  	и  и 	 015!333333 SrprL,,H       C   EX /  >Y  EX /  >Y    +      013#5!32#'32654+=Y4]D(%BZ6_UGHO,b/I38O2]5<f  S      I   EX /  >Y  EX /  >Y    +     и  013332#'32654&+3StS7[B%%B\7RIFKIJGt.J38O2]5<51r  S  &   9   EX /  >Y  EX /  >Y    +   013332#'32654&+Stf7[B%%B\7e\FKIJZ.J38O2]5<51     I   EX /  >Y  EX  /   >Y      9 /     01"&'73267#53.#"'>32Bi+>H0J[YI(C>!k?>hL+,Mi1.I%bhbYWK!2+UUUT)  Sp  * e   EX 	/ 	 >Y  EX /  >Y  EX /  >Y  EX  /   >Y    +      # 01".'##33>32'2>54&#"Z;aG+tt-F^9?gH((Hg?%<(TKLT);)NpGAfG%.V}OP~Y/e"?Y7n}}n7Y?"       T   EX /  >Y  EX /  >Y  EX /  >Y    +   9   01!##.54>;35#"a=L%AX3\\DFF  \N7J-r\,988 S  q&       S  ;&         % S   EX /  >Y  EX  /   >Y    +       и /    01"'732>54&#"##5!#>32&FA+t0"0U?%3C
Z*>:,bb3P98M1 S  q&A   %    1&   M   EX 
/ 
 >Y  EX  /   >Y 
    
  9 /      01".54>32.#"3#3267X?lO-.Pn?>`>=&Ia_P,D>(g)TUUU+2!KWYbia%I.1 &    S    
    3;& 
          ;    A   EX /  >Y  EX /  >Y   ܸ ܸ   и  01"&546323"&546323Dzt!""!!""!<r      g & / Y   EX /  >Y  EX  /   >Y   / +       и /     ( 01"&'732>7>7!32+#%32654&+G#NH7[B%%B\6#+6>GKJJ<i
#A7af.J38O2,PLOe;i5<51  S  z   g   EX /  >Y  EX  /   >Y    9 /    и  и /   й    и /01333332+#%32654&+SttH6[B%%B\6s=GKIJ<.J38O2"]5<51      E   EX /  >Y  EX  /   >Y   
 +    и   013#5!#>32#54&#"é26V< q?E.,bb4Q9@9 S  Yw&   M  S  Gw&   Q  D&       SD;  A } 
/  EX /  >Y  EX /  >Y    и  0133!3##5St t	g,r    C   B   EX  /   >Y    +    +  и  	и    013#53533#32#'32654&+t;5[C&$@Y6A7EFFK1]nn]s*C08N0Z1<4-  1r   ! C   EX 
/ 
 >Y  EX  /   >Y    + 
      01".54>32"!.267!Q@jL**Lj@@jL++Lj@FYUZFI\[-WSR~U++U~RSW-F][[]kggk   J  E   EX /  >Y  EX  /   >Y  и /    9   01333>?>32.#"{\2E>	9c99c9RKj$   S  :  5 | /  EX /  >Y  EX /  >Y   013!73!S c
      S   EX /  >Y  EX /  >Y 	  9 	/   и /    	 0157!!3##M鉉t'7,b;'  DZ 6  }  /  EX /  >Y  EX 
/ 
 >Y    + 
 и и  к   9     и /  !и  'и  .к 2  !9  4 015#####'.#"'>323337>32.#"3%PoP~>%	+'$JIoII#',	$>P&&[-j.$
$.j-H  &D . [ }  /  EX /  >Y  EX /  >Y    +       %  9  -015.'732654&+532654&#"'>326^*?)R39MKHQ=H?>0*F ;'k<gu--5F0C(
+)O&!7540W0--+M%*[Q2LR?)B1   SDt ! g }  /  EX /  >Y  EX /  >Y 	   +  и  и /     	 9   015###337>32.#"3%\tt]X%%*	MX
&#/jH      N   EX /  >Y  EX /  >Y  EX /  >Y    +    013#5!37>32.#"##׽1]X%%*	M{\,b#/j&  SD  U }  /  EX /  >Y  EX /  >Y к   9 / 
   и   015#!#3!33Ntt	tL"H  1D& " G }  /  EX /  >Y  EX /  >Y        !015.54>32.#"3267!4X@$/Qm>>`><&(C1aS,D>I-		4TsHPX.2!K!=X7p%I#.          [   EX /  >Y  EX /  >Y   9 /  к 	  9  и    01757333>?33##54[|GGywt7n%E&&E%;  D0  i }  /  EX /  >Y  EX /  >Y к   9   9  к   9   9   015#'.'##33>?331PN{HE{W33Q=00H  @D_  G }  /  EX /  >Y  EX /  >Y    +  и   015##".=3326733Q2$9Y?!qFG /tL6V>J:H  S  &  7   EX /  >Y  EX /  >Y    +  0133>32#54&#"St2$9Y?!qGF /5V?J; S    
     AD&       0D&         L   S  D&       6j    S  G*&   Q  1r;&    Q   1r   $&      s&      /     0 " / J  /  EX  /   >Y    ܹ )    )9   #   , 01"&54>7>7>32'2654&#"r{,QrE9 8M3P,)G4"<R00:83A@vV'
f'F>#$;U79^B$^WHHF*!`c  I     % M   EX /  	>Y  EX /  >Y   $ +  $ 9      01332#32654&+32654&+I)E3)),:6I*`K0*(/NX2-03T1#$763%5#$  & $  I    /   EX /  	>Y  EX /  >Y   013!#IC[p  T   K } /  EX /  	>Y  EX /  >Y   и и  и   013#'53>?!3#53#~d	QKcK*F8qK:R4 )      
   )    EX 
/ 
 	>Y  EX  /   >Y (   +   (9 
   
 и и  и    ( #к   # 9   &и "013'.#"'63235337>32&#"#'##5#
!!		/D,<f;-E/		 !|q?f?qN%k+=cc=+k%O     , M   EX /  	>Y  EX  /   >Y    +        %  901"&'732654+532654&#"'>323[./ C -=dI?/./(&:-&W4&E5((-7#;L#J&"AN!K!4#!;93$8&  I    I   EX /  	>Y  EX  /   >Y    9  и   к   901333>?3#5467#Ip$jp#&]/;&]/; I  &   #   I    S   EX 
/ 
 	>Y  EX  /   >Y    + 
 и 
     9   013337>32&#"#'#IsH."(		 "|Jc (	k%L    W   EX /  	>Y  EX /  >Y  EX /  >Y  EX  /   >Y     01"'73267>7!##<
Ms~J
h)/MM={=RU  I  > % ]   EX /  	>Y  EX  /   >Y    9  и   к   9   9    901333>?3#54>7##'.'#IO	
	KhJDL88153CD351  I    ?   EX /  	>Y  EX  /   >Y 
   +  и   0133353#5#Isss뼼 ) *    I    3   EX /  	>Y  EX  /   >Y и   013!##Isp I>	 +   )         3   EX /  	>Y  EX  /   >Y    013#5!#[[p 6 4    +> & 3 @    EX /  >Y  EX /  	>Y  EX  /   >Y  EX /  >Y   9   9  и  "к   "9 $ " 9  '   *   +   .  ' 4и . :и  =  $ > 0157#"&54>32'53>32#"'267.#"!2654&#"B1Vf4D%.q6*C/5E%0-$'62*6-0#$Jz<`B$HK#B\9?cC$HTNPSUTJR    3    IT0  A } /  EX /  	>Y  EX  /   >Y    и  0133333#5IssKcqqK  6    7   EX 
/ 
 	>Y  EX /  >Y    + 
 01!5#".=332753W%-I4s29# s+E1.+  I    C   EX /  	>Y  EX  /   >Y    и  и  	01333333Irorqq  IT
  Q }  /  EX /  	>Y  EX /  >Y    и  
и  и 
 015!333333rorJqqqK    ;   C   EX /  	>Y  EX /  >Y    +      013#5!32#'3254+C,K66K,C;dd;[&=+,>'YKH  I  z    I   EX /  	>Y  EX  /   >Y    +       и  013332#'3254+3Is4,K66K,4-cc-Ks&=+,>'YKH  I     9   EX /  	>Y  EX /  >Y    +   013332#'3254+IsJ,K66K,JBddB&=+,>'YKH     C   EX /  	>Y  EX  /   >Y   
 +       01"&'73267#53.#"'>32-V -7:I
D3/3N31U@%$?VEAHN@:D!@aB@`A   I  & e   EX 	/ 	 	>Y  EX /  	>Y  EX /  >Y  EX  /   >Y    +      ! 01".'##33>32'2654&#",K9&Zss[':I*-P;"";P337732;;6O20J4#B`==`B"^YJKYYKJY       K   EX /  	>Y  EX /  >Y    +   9  и   01!5+#7.54>;35#"UHs*75I*==055D7+;$"%$) )$&        )&         2 , v   EX /  >Y  EX /  >Y  EX  /   >Y    ܸ ܸ %ܹ   " % 9 "    и  01"&'732>54.#"##57533#>32*"	
('1sGGsI0Z]9QV>kS;M-46SS;T^,nX% I  %&       )   C   EX 
/ 
 	>Y  EX  /   >Y    + 
      01".54>32.#"3#32673W?$'CY2/G3-4F
H;7+#S A`@Aa@  G;?NFCH  .   <    $    '&G          
    A   EX /  	>Y  EX /  >Y   ܸ ܸ   и  01"&546323"&546323Dx    sC""""""""2  %    	   ' Y   EX /  	>Y  EX  /   >Y   ' +       и /     " 01"'73267>7!32+#%3254+="	
D4,K66K,n
,dd,
h&2HQ&=+,>'BCeKH  I     O   EX /  	>Y  EX  /   >Y    +    +  и   й  013335332+5#%3254+Iss4,K66K,$,dd,뼼&=+,>'YKH   :   I  %&     I  %&   #  6& 4        IT  A } 
/  EX /  	>Y  EX  /   >Y    и   013333##'Isscq    &q   B   EX  /   >Y    +    +  и  	и    013#53533#32#'3254+sA,K66K,A:cc:\ee\m&=+,>'YKH )        E   EX /  	>Y  EX  /   >Y  и /    9   01333>?>32.#"uN

"@;	
a$J&&J$nONc%   I    /   EX /  	>Y  EX /  >Y   013373#I^	p      I   EX /  	>Y  EX /  >Y    +     и  	017575!#3##5BC~~s6[;  
T .  }  /  EX /  	>Y  EX 
/ 
 >Y    + 
 и и  к   9     и /  и  !и  &к *  9  , 015#'##5##'.#"'63235337>32&#"3}1q?f?q|!!		/D,<f;-E/		 !cZN%k+=cc=+k%OK   T / Q }  /  EX /  	>Y  EX /  >Y    +        .01'.'732654+532654&#"'>32#D#/ C -=dI?/./(&:-&W4&E5((-7'6J&"AN!K!4#!;93/%  IT#  C   EX /  >Y  EX /  >Y    + 
   +   015#'##337>32&#"34|JssH."(		 "l]c (	k%LK    r  ]   EX /  	>Y  EX  /   >Y    +     и /     9   013#5!37>32&#"#'#H."(		"|J[c (	k%M  JT>  O }  /  EX /  	>Y  EX /  >Y 	   +  и  и   015#5##33533OsssJ뼼qK  )T   G }  /  EX /  	>Y  EX /  >Y        01'.54>32.#"3267'A/(DY10E8'<JI:3/6	*?T4=`B# KYKJYL  >  P   EX /  	>Y  EX /  >Y  EX  /   >Y    9  и  01533>?3uM


Mo%G$$G%  >  \   EX /  	>Y  EX  /   >Y  EX /  >Y к    9  и  и  015#57333>?33#M.uM


Mov6%G$$G%P;  T  i }  /  EX /  	>Y  EX /  >Y и  к   9   9   9   9   015#'.'##'33>?330<4x|7		/wa\a,+a ]++]K  6T  E   /  EX /  	>Y  EX /  >Y    +  и   015#5#".=3327533Q%-I4s29# sK+E1.+qK I   #   
  &   i   I  '   /&       4   )&        %   I  &   "  )& *      )   6& 4       6& 4        + 0 > U   EX /  >Y  EX  /   >Y 7   9 7 
и    7 '    1 01".54>7.54>7>7'2654&'-O<#/B',";S4%0 = 4B'$1"7'!<U26A5(AL*9Q2,F5'"$'&/f08C*4V>"^KD4CT?0!  4 - A M Q    EX /  >Y  EX  /   >Y O  N + H  8 +      и /    и  /    9    $   9 O .ܹ B 01"&/26533.=4632"#./#".54>32'2654&#"5!^		+T()/3		+S(*.b :,,:  :,,:  $$  $$aZ fgc.LB;9:Z ghb.LB;9:*='(=**=('=*I.-....-.@@  n - 9 E    EX /  >Y  EX  /   >Y  EX (/ ( >Y  + + @   9 @/ 1ܺ 
 @ 19  @ 19 $ + 9  7    :  = + 901".54>7.54>32>73.'>54&#"267.'1M6#-,<&CM(3M**j8& <&P)'bZ)8',5,O #@1C'"6-%&H"";,L? 6-()M $W3>r3^	# &/6&$./%S-1.8  (   5   EX /  >Y  EX  /   >Y     01"&54632'2>54.#" dttddttd''''Z:\DC[88[CD\:  J  |  C   EX /  >Y  EX  /   >Y         
01353#5>733Ju0EV}^H	^  !    A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;&BkK(63%=@,]B.J4%?T/:C@l\P$3;*@/33H,*WY^2b   / S   EX /  >Y  EX  /   >Y      9 /      '  901"&'732654.#52>54&#"'>32Nh"7J04A+H6/?'2,&=;)]9.L6;49K#=Q4&J)3-(T&(-!G$,+?(6HP?,D/    | 
  Y   EX /  >Y  EX  /   >Y    +  и и /  и  	к    901!5!533#%35467#+PPNYL0  | " M   EX /  >Y  EX  /   >Y      9 /      01"&'732654&#"'!#>32Mi#5H06E@5*7T')I6 %>Q5#J)@:9>#:a
1K34R8  , " . C   EX 
/ 
 >Y  EX  /   >Y   ) + 
     # 01".54>32.#">32'2654&#"/T?%*EZ1:S>75(K#)E1 6I+(740<	?%LvP]T(*F7ZB#(1J20M6X>;98!(UL  ,  |  7   EX /  >Y  EX  /   >Y    	и 	/013>7!5!)@.8E(Uy@aFE}]  ) ' 5 C a   EX /  >Y  EX  /   >Y >   9 > (  
 ( >9  > (9  .    6 01".54>75.54>32>54&#"2654.'/O9! )%33G)+E1(8P1-%2#..;)8 'D.@'1( H3'>,-?'+%(2 %?/s6*7-*$2-%<%09  %  . C   EX %/ % >Y  EX /  >Y     + %     01267.#""&'732>7#".54>32=	A.'859T>75(L#)D1 6I).T?%)E[F#'TL>:99*F7ZB#'1J20M6%LuP]U(  (   + G   EX /  >Y  EX  /   >Y          9   &01"&54632'2>54.#"7"&54632 dttddttd))))$$%%Z:]AA[88[AA]:&!!&&!!&  (   ! a   EX /  >Y  EX  /   >Y       9    9        9    901"&54632"654.267 dttddttd,),)@#*6C]9!%)6C^<  6  # 5   EX /  >Y  EX  /   >Y     01".54632'2>54.#"4S; zhhz ;S4(())-U|OO|U-^9[BBY66YBB[9  ,  |  5   EX /  >Y  EX /  >Y     013#5>73v0EV H	  #    A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;,AiI'24%>@-_A-I3$=R.:C@l\P$3;*@023H,*WY^2b %   #  | &  |'   ; (   ,  |  7   EX /  >Y  EX  /   >Y    	и 	/013>7!5!(?-7D&Uy@aFE}] 5 *  3 +   6   + G   EX /  >Y  EX  /   >Y          9   &01".54632'2654.#"7"&546324S; zhhz ;S44@++?5&&%%-U|OO|U-^p?Y88Y?p&!!&&!!&  6   ' a   EX /  >Y  EX  /   >Y       9    9        9     901".54632">54.2674S; zhhz ;S4/!,/!--U|OO|U-@#3C]9!%1C^<  (L   5   EX 
/ 
 >Y  EX  /   >Y   
  01".54>32'2654&#" 0P99P01O99O14664377'KpJIqK''KqIJpK'Zqaaqqaaq  J  @  C   EX /  >Y  EX  /   >Y         
01353#5>733Ju0EV}^eI^  !  K  A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;&BiJ'31&=@+_A-I4 :P0:C5ZNF!/:*?/42F+&HIN,b  L 1 F   EX /  >Y     +    9 /      '  901"&'732654.#52>54&#"'>32Nh"7J04A+H6/?'2,&=;)]9.L6;40$#=QX4&J)8-)T'(/ H$,,@(6L)6 ,E1  @ 
  D   EX /  >Y    +  и и  и  	к    9015!533#%35467#+PPLOrZK5  @ " <   EX /  >Y     +    9      01"&'732654&#"'!#>32Mi#5H06E@5*7T')I6 %>QX6$H)C<:@#Ab

2L46S9 -(   ,@  "   EX /  >Y   	и 	/01>7!5!)@.8E(LU}AbGF^ )*    L  * 2   EX #/ # >Y    +     + #  017267.#""&'732>7#"&54>32 AC3*:43H$,3 !8)Q%Yb!7J*7Y>!"*aRC<@@P6XA#'mf0P8,SvJ 0L :   ,  @  5   EX /  >Y  EX /  >Y     013#5>73v0EVI  $  K  A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;.BeE$02&8@+ZA-H37M/:C5ZNF!/:*?/42F+&HIN,b L=   @ >  @?   5 (	   ,@  "   EX /  >Y   	и 	/01>7!5!)@-7E(LV}AbGG_ 1 *  $L C   ?       EX  /   >Y 01"&54632 ++  **,"",,"",  /J       EX /  >Y 01'>'#"&54632H15	-- )-Q?@&%" '>8Jl ? 'N  V N   /J 'N  V O   U  &N  'Nc   N    S       EX /  >Y ܸ  017'3"&54632wt& ++  **Urr,"",,"",  SM       EX /  	>Y ܸ 0173"&54632dM: ++  **rUr,#!,,!#,  (  ) *   EX /  >Y   
 +  $ܸ  017&>54&#"'>32"&54632%!+&2@![9'B/"'2 **  ++$<2+)($,;&1*>) 3.*.4 ,"",,"",  -A  ' *   EX "/ " 	>Y     + " ܸ 
01"&54>'33267"&54632Od"&f%!+'2A"Z- **  **TR 3.*.4 %;2+))#-;&1,#!,,!#,  N        +01/3hvqq N &W   W     8~         +01"&547632&(|*)'%~:5A3:,! %  C        +01'>5#"&54632_*)'$&)3:,! %:5 8~ &Y   Y    C &Z   Z    Cd  Z   Cd  'Z   Z   / =        +017'57.ss=T%  6 =        +017'7'7c-rr-=$%T / = &_   _    6 = &`   `     * &        +01753*TT * &c    * "        +0175!*LL  * "        +0175!*LL  * "        +0175!*LL  * n"        +01!5n"LL  * "        +0175!*LL * "f   ?  N     (     
   +017".54>32-!!--""-#/0""0/#  {        +015!܅EE  6|     EX /  >Y   015!6FF 8    	    +01"&'732>7|g 0kmm33mmk0 g??6((6??  MN       +01.5467?EE?H9559g܅g aooa  +N        +01'>54&'7sH9559H?EE aooa g܅  Zh        +    +013#3Zmm\?"?  &h         +    +0153#53&mmĘ??   h 7 +  5  7 +    ! +    + ,  901".54>54.#52>54.54>;#"; .!!. 6$ ## $ 5(-*+F+*-(5 ?#-+Q062		350Q+-#?  &h$ 7 +      +    + '  ( +  ( '901532654&54675.54654&+5323"#&$ ## $6/!!/?#-+Q053		260Q+-#? 5(-*+F+*-(5   `C     EX /  >Y  013Nf  Y        +013YM  `M     EX /  >Y  013Nf  Y        +0133YMMM.@5  0     EX /  >Y01'7'7737'3:fm?ng:3K%b-<qq<-b%W  1  2   EX /  >Y    +  и /  	015'37'^P ^^  1     EX 
/ 
 >Y0175'75'37'7'^P^		^^		^  )  F      + +  2 +01>54.'"&'732654.5467&54>32.#"$7B#7Bb6b D8##%(<E<(-&*=(5U67#)<H<),'.BV%"'"G(&<  +>/)B!14&&I,?-.>' 5(  (   %   EX /  >Y  EX /  >Y013".54>;t6]E'&C[4,P"$8T9=S3F  YM        +   и  01333YMZM S &S   S   (  &U   U   S &S   U   (x &U   S       , <   EX !/ ! >Y    + ! 'ܸ  ܸ  ܺ    9017/3>54&#"'>32"&54632	_6-$:@&c8+H5&+$, **  ++`Bd "'*4#;0-*<%'<2**-,"",,"",  Z         +0133#Zm>  &          +013#53mt>N  Z|        +0133ZWm6?  & |        +01533&mW6?sN  Zhr   '      +    +  и  
01!#3'3#Zff//\?"??  &h>   '      +    +  и  
0153#5!'3#&fft//???  Z       +013#Zm?  &        +01#53mo?R  Zh        +0133ZWm?  &h         +01533&mW?oR  /  ' E D   EX  /   >Y   
 +     (ܸ  2ܹ 9  ( ? 01".54>32'2>54.#"7".54>32.#"3267vBwY55YwBBvY55YvB8bH**Hb88bI**IbB(E25D%-<-$3:90*'?
/W{MMzV--VzMM{W/4)Jh??gI((Ig??hJ)T3I.,G1"2D4:D8  /  ' 6 ? <   EX  /   >Y 
   + ?  ) + 8  4 +    01".54>32'2>54.#"'32+532654&+vBwY55YwBBvY55YvB8bH**Hb88bI**IbH!;++:!8.*+,).
/W{MMzV--VzMM{W/4)Jh??gI((Ig??hJ)`l/!#3"g"&   ;  ' 5 > W  5/ */ 5 ܹ    * ܹ 
  3 5 *9 3/ 7  0 7 39 5 2и * = 01".54>32'2>54.#"'532#'#532654&+(F55F((F55F(6''6 5''5-S!/,5!";5I,,J55J,,I5+)9##:**:##9);#OAAe  lz   ]  / / и  к   9 /    и  
и          015#5!#333?3#57##'#`]	^[+*[H	A9A	lGG8kIIktnnt  `z ' ; {  ;/ )/ ;  и  /   ) и /    9      9 7 ; )9 7/ ,  ) /и ; 2и / 5  ) 9 01"'73254&/.54632.#"733?3#57##'#A5**&,%>35%$,!+[+*[H	A9A	`01	)%(62)$#8kIIktnnt  `  0 \   EX /  	>Y   % +    +  и    +и +/ и /  и +  0133?3#57##'#".54>32.#"3267[+*[H	A9A	 8*+8 3( /. (*l8kIIktnnt*='(>,/4344-0  l   $ h   EX /  	>Y    +   # +   и  и  и и  	и        0133?3#57##'#!32#'3254&+[+*[H	A9A	@hLSRIP)(l8kIIktnnt8MLNQ;d1-  2\: D R c  ?    + E   + #  K + 
  5 +  к   #9 % # 9 E +и  H  % I 01".54>32#"&'##"&54>3237332>54.#"326726?&#"Jd;FvXNY0'>L%+<B 7G4H,4I+K.$!ChGB|`;.Pl=*R!Xv&!)!.]\gwA2[LCeD"&&&ME+UD+1)e2G-9dK,6cVJpK&@2##.7)%  2 E T k  ?    + 
  5 + F   + M  # +  и /   #9 % # 9 F +и +/  I  % J 01".54>32#"&'##"&54>3237332>54.#"3267'26?.#"v@uZ5?lQFsR,!6G&(2B!0?0C)2I+:& <]?;oV4*F\3!D(P4$$&OyS[j9+OnB>_@!*#'I<)O?'1)a,B,1V>$/V{KD`><|*2!!  #     y   EX  /   >Y  EX /  >Y    +    +  и  и  и  и  и  и  и  0137#537#53733733#3##7#37#XMUQ[EuDPYU^Fu vvLLLL <    $      	  T   EX /  >Y  EX /  >Y  EX /  >Y   9 /   9  013'.'#3#'#вy%&99)U)*T  S     $ W   EX /  >Y  EX /  >Y #  9 #/   
  #9      01332#32654&+32654+S+K7,/9>!;O.TB6/13CJ7<sJ2%#A<5(:%4% !%(H  1  9   EX 
/ 
 >Y  EX  /   >Y 
      01".54>32.#"326715^E(*H`63T?.@SMB$6?F#DeCAgG%(F]SW\DL  S     5   EX /  >Y  EX /  >Y     01332#'32654+S@gJ((He=.,NO,@bCDcA ZUY  S    M   EX /  >Y  EX /  >Y      9 /    	 013!#3#3SWZyUZ  S   	 9   EX /  >Y  EX 	/ 	 >Y    +   013!#3#SY_X  1   O   EX 
/ 
 >Y  EX  /   >Y 
        
  9} /  01".54>32.#"3275#53=9bH)*Jc9;S?1$EVOP.ba#DeCAgG%*E^WR_iR#  S    Q   EX /  >Y  EX /  >Y  EX /  >Y  EX /  >Y   	 +0133353#5#Sttt  S     %   EX /  >Y  EX /  >Y0133St  v  +   EX 
/ 
 >Y  EX  /   >Y  01"&'732653=TN 3#&t,C0/97(6X%B2  S    e   EX /  >Y  EX /  >Y  EX /  >Y  EX /  >Y   9   9 
  90133373#'St~|IO  S    +   EX /  >Y  EX /  >Y  01333StT_  S  G  o   EX /  >Y  EX /  >Y  EX 	/ 	 >Y  EX /  >Y   9  	 9   	9   901333?3#54>7##/#S{\"$Yzh0V,W/``/2/yy/2/  S     [   EX /  >Y  EX 	/ 	 >Y  EX /  >Y  EX /  >Y   	9   901333.=3#'#Su;
jr;
v*i.v+g.  1*   5   EX 
/ 
 >Y  EX  /   >Y   
  01".54>32'2654&#".8]C%%C]87]C%%C]7=HH=?GG&GfA@eF$%Ee@AfG&``TS\\ST`  S     9   EX /  >Y  EX /  >Y    +   01332+3254&+S.O:"";O-PKo89I'@/.B*X-%  0^:  ( K   EX /  >Y  EX /  >Y "   +         01%2654&#""&'.54>323267-=HH=?GGZrYj%C]87]C%iWB*1McXS\\SXcWEp@eF$%Ee@p&S	  S     T   EX /  >Y  EX  /   >Y  EX /  >Y    + 
  9   01332#'#32654&+S,N9!90{qOF87:6E%?.9Kҿ+(*#  & / I   EX /  >Y  EX  /   >Y      9    &   901"&'732654&/.54>32.#"?m':#O,)** =0%3H+=Z :A#$)(#<1$4L*!N""
#-#9)(J"/"#:,      3   EX /  >Y  EX  /   >Y    013#5!#__T  P  3   EX /  >Y  EX  /   >Y    01".5332653+3Q9s8118n7P:\B%P>>P)B\:     7   EX /  >Y  EX /  >Y   9  01333>?3yHGt-O--O-     ! S   EX /  >Y  EX !/ ! >Y к   9  и к   9   901333>?33>?3#'.'#mr,A_?	
,ji@>*R**R*)S**S)==      o   EX /  >Y  EX /  >Y  EX /  >Y  EX /  >Y   9   9   9   9013'33>?3#'.'#6	
3z=	:f((fm**m     7   EX /  >Y  EX /  >Y   9  013533>?3z66xOz88z  (   	 E   EX /  >Y  EX 	/ 	 >Y   и /    и /0135#5!!(uDh_D_  &      &      &      &      &      &      &      &      &    (&      &   
   &   G   &   I    &   K   G&   M (&   '     Y&   O   Y&   Q   S&   S   M&   U (&   '    &  ' _   EX /  >Y  EX /  >Y    +  	к 
  9 
/ 	 и 
   %  901"&54>7#'##33273'.'#-<%&u4.-'!<99)U)*T      s   EX /  >Y  EX /  >Y   9   9  
   к   9         0135#	!#3#3!5#'s$ִ>N'NZyUZ||  &     &       
    , g   EX /  >Y  EX /  >Y * + +  ' + + и * и /   '9     " 0135#5732#32654&+32654+3#iKK+K7,/9>!;O.TB6/13CJ7<sJnn+X2%#A<5(:%2)#$ **O9/ SM&   % 1&   (-   1&   - 1&   - 1&   - 1&   - S  &   " S(&   ! SM&   !   q   S  &   
 S  &   
 S  &   
 S  &   
 S  &   
 S  &   
 S  &   
 S  &   
 S(&    S  &   

 N  &   
 S  &   G
 "  &   I
 S   &   K
 S  G&   M
 S(&   '
   S& # ]   EX 
/ 
 >Y  EX 	/ 	 >Y    + 
    
 	9 /   	   	 01"&54>7#!#3#3#3267j,=W 4.-' ZyUZ"< S  l&   Y
 1&   : 1&   : 1&   : 1&   : 1&   %9   1&   : 1&   : 1&   :  1+ 2 Y   EX 
/ 
 >Y  EX  /   >Y    + 
 #    )  / 
  9} // - 01".54>32&54632.#".#"3275#53=9bH)*Jc9>8
?1$EVOP.ba#DeCAgG%
-ARE^WR_iR# S  &   0 S(&   0 S&   0    i   g   EX /  >Y  EX /  >Y  ܸ и  и  
и  ܸ и и  и  ܹ  0157533533##5##35#KttHHttt5OOOO:~GG   &     L  '&      ,&      I&      3&      &     F   &      ,&     >   &   
  I( &      +&   5   EX 
/ 
 >Y  EX 	/ 	 >Y    + 	 01"&54>7#33267,=tF4.-& 	(:<  (&     &   6 S&   %4   S(&   4 SM&   4 Q  &     S  n&   Zq S&   %   S  &   N   S(&    (&   '   SM&        ]   EX /  >Y  EX /  >Y   +    +   9  и  и и  
 017'7373!5)ht(}A:IB_v_ S  G&   M S  G&   M S(G&   M S   &   3 S   &   3 S   &   3 S   &   3 S &   %0   S   &   3 S( &   0 SM &   0 1*&   . 1*&   . 1*&   . 1*&   . 1*&   . 1*&   . 1*&   . 1*&   . 1(*&   . 1*&   
. 1*&   G. 1*&   I. 1* &   K. 1*G&   M. 1(*&   '. .  /,$  ! )    EX /  >Y  EX  /   >Y    9    9    9    9    9    9      "  '   9 (   901"''7.54>3277&#"2654'.\@5.:%C]8\?5.9%C]$5AK@K$1=$C#]9@eF$0=$B"[9AfG&8+"_dV5+$  1     U   EX 
/ 
 >Y  EX  /   >Y 
   к  
  9 /       01!".54>3!#3#3%3#"NAiK((Ig>kٷPQQ@aDDdAZyUZ[VUYVR  1I   , K   EX 
/ 
 >Y  EX  /   >Y    
9  и   !  
 ' 01".54>32>54&'7'2654&#".8]C%%C]8=3#&	W>0&)%C]7=HH=?GG&GfA@eF$$"'-4<#hEAfG&``TS\\ST` 1I&+   . 1I&+   . 1I&+   
. 1I&+    1(I&+   .  1&* $ 0 I   EX /  >Y  EX /  >Y    +  и  %   + 01"&5467.54>3232672654&#"I,=&7X=!%C]87]C%YP'$52=HH=?GG.-$<)Fc>@eF$%Ee@l"4<.`TS\\ST` 1*&   . 1*l&   Y. S  &   # S  &   # S  &   # S&   %'   S(&   ' S(&   '# ' SM&   ' &&    &&    &&    &&   (    &&   %	   &&    &(&   	  V> ( ]   EX /  >Y  EX  /   >Y      9  ܸ      и / !  901"&'732654&/7.#"#4>326O9-#<Ke/&7;t;W;QicEN+@%B#,;hBBH-L7RBdE< 7*   &     &   (    &   %    (&     M&          U   EX /  >Y  EX  /   >Y    9  и    
и  и  0135#5735#5!#3#y[xx7__; P&   ) P&   ) P&   ) P&   ) P&   ) P&   ) P&   ) P&   ) P&   ) P&   ) P,&   C) Pm&   <) Pc&   E) Pm&   ?) P(&   ) P&   
)  P& * ;   EX /  >Y  EX /  >Y    и  01"&54>7.53326533267E-<0K5s8118n"2 &%4.-$:Y?%P>>P)6L6%3<  P & 7   EX /  >Y  EX  /   >Y    и !01".5332653>54&'7+3Q9s81182	W!.7P:\B%P>>P)	'-+ B\: P&Z   ) P&Z   ) P&Z   
) P&Z   ) P(&Z   )   &   _   &   _   &   _   &   _  &      &      &      &      &    (&      &   
   &     (  &     (  &     (  &     ((&     (M&           W   EX /  >Y  EX /  >Y   9 /  и  и и      01757532+532654+3#K@gJ((He=t,NO,nn7@bCDcA UY;  S     9   EX /  >Y  EX /  >Y    +    +013332+53254&+StP-P:"";O-PIn86IS&@/-B*fX."  6   # Q   EX /  >Y  EX  /   >Y 	   9 	/        	 ! 01".5467!.#"'>32'267!(6Y@#tH@&>4 `>6YA$%B[63F
E%Gd?ILM%%Ge@@eG&[ECBF  S " a   EX /  >Y  EX  /   >Y         9      и /  и /01"&'732>54.#"#3>32m+(@tq K+)G4XW)F70B*%#: &@gI  S_   7   EX /  >Y  EX /  >Y    +  0133"&'732653St~'
!t%<X-+	'B1     S      S    /   EX /  >Y  EX /  >Y   013!#SZ`U        5   EX /  >Y  EX /  >Y   
  901353%3/# A22D9D_ S     (     S      1*   # C   EX /  >Y  EX /  >Y    +      01753".54>32'2654&#"ڨT8]C%%C]87]C%%C]7@JJ@AJJUU%GgAAeE$$EeAAgG%ZbXX]]XXb S      S         3   EX /  >Y  EX /  >Y к 	  901#3#'.'#yHG,Q,,Q, S  G   S       3      C   EX 	/ 	 >Y  EX /  >Y    +    	  0135!%5!%5!3wZZUUZZ 1*    S    3   EX /  >Y  EX /  >Y и   013!##StU S      )    E   EX /  >Y  EX /  >Y 	  и /    и /01357'5!#!)|D?YZ           0z   ' G    & +   
 +  и 
 и & ܸ & и  и  0154&'>5.54>753G<<GnG<<G7Y?""?Y7h7Y?""?Y7;=<;;<=E6L01L5CC5L10L6E       :  T  K   EX /  >Y  EX /  >Y    +  и  
и  и 01!5.=33>=3esn64j46nsefk{E<<E{kf  ,  9 + Y   EX /  >Y  EX  /   >Y   и   и  и /  $   *и */013535.54>323#5>54.#",a$B]89]B$a,2#3?G1,['0:!6[C%%C[6!:0'[Q&\@$=,\I@\&Q  3&      &        	   U | /  EX /  >Y  EX 
/ 
 >Y   
9 к   9     013'.'#3#'#!3вy%&t99)U)*T^  S  '   S | /  EX /  >Y  EX  /   >Y 
   9 
/    и   и 0133353#5#!3Stttt^  ,  + + / g | -/  EX /  >Y  EX  /   >Y   и   и  и /  $   *и */  ,013535.54>323#5>54.#"!3,a$B]89]B$a,2#3?G1,t['0:!6[C%%C[6!:0'[Q&\@$=,\I@\&Q^      S     M   EX /  >Y  EX /  >Y      9      013!!32#'3254&+SuQ,N:! 8M,UHn96G_x"9++=&UO&  S     S  x    T8   K } /  EX /  >Y  EX /  >Y   и и  и   01#'53>7>7!3#5!3#d'BKca$vMP]":8<&UMj<L(&( S         *    EX /  >Y  EX /  >Y    +   к   9  	   и /  и  и 	 !и  (к % ( 9   '01!5##'.#"'63235337>32&#"#'#8>|z1-F=7l7=F-1z|>ef(7||7(fe  ' * M   EX /  >Y  EX  /   >Y    +        #  901"&'732654+532654&#"'>329f-7"I*,:pG7601%=8#]3^d'$,:!:O#'L(&NJ$##J"NA&=@0'=*  S     E   EX /  >Y  EX 
/ 
 >Y и  к   9   
901#5467##337 j
;sk
;.g+v.i*v S   &   1~  S    W   EX 
/ 
 >Y  EX  /   >Y    + 
 и / 
     9   013337>32.#"#'#StCJ "&?yC}$	gd   A   EX /  >Y  EX  /   >Y     и /   01"&'732>7>7!##7

<tq'1h3*KL8l5AV3 S  G   S     1*   S     S     1           G   EX 	/ 	 >Y  EX  /   >Y    	  9    	9 	 01"'732?33?3-(
yH/+AsL
`zzh<C  .f    Y   EX /  >Y  EX /  >Y  ܹ   и  ܹ 
  и  и  014&'>%55.546753D<<DD<<Dn}}nbn}}n9779977MaaaaHHaaaaM       ST@  A } /  EX /  >Y  EX  /   >Y    и  0133333#5SttKcUUM  @    7   EX 
/ 
 >Y  EX /  >Y    + 
 01!5#".=3326753h(1M6q58"t,H57,  S    C   EX /  >Y  EX /  >Y    и  и  	01333333SnnnUU  ST  Q }  /  EX /  >Y  EX /  >Y    и  	и  и 	 015!333333nnnKUUUM    P   C   EX /  >Y  EX /  >Y    +      013#5!32#'32654&+D/O: !;P.B;6<:9:`'=,/A(\&+*$  S      I   EX /  >Y  EX /  >Y    +   и  и   01!3!332#'32654&+'tt;/O: ":P.916=:91'=,/A(\&+*$  S     9   EX /  >Y  EX /  >Y    +   013332#'32654&+StO/O: ":P.ME6=:9E'=,/A(\&+*$    I   EX  /   >Y  EX 
/ 
 >Y      
9 /      012#"&'73267#53.#"'64ZB&)F^58Z?6#:L
E7#7<H#DeAIiD ,FANU>AGF  S  $ e   EX 	/ 	 >Y  EX /  >Y  EX /  >Y  EX  /   >Y    +       01".'##33>32'2654&#"3T>'cttec7ZA$$AZ8<EE<<EE<W7go$Fe@AfG&`_UUZZUU_       T   EX  /   >Y  EX /  >Y  EX /  >Y    +   9    01#5##7.54>335#"tH|3= 9M-	FE69L<.>%",R S  &   
 S  &   
  4 % S   EX /  >Y  EX /  >Y    +     и     $и $/015!#>32#"&'732654&#"#%(I8!+:")62 t__y)?-*<&W"'** S  &x   ~  1  M   EX 
/ 
 >Y  EX  /   >Y 
    
  9 /      01".54>32.#"3#326716]E()H`64T?0 8MK>$6?F"CfECgF#(F@?UHGDL &   S       3&            =   EX /  >Y  EX /  >Y    +   и  01"&546323"&546323DztS!""!!""! v    % . W   EX /  >Y  EX  /   >Y   . +       и /     &01"&'732>7>7!32+#%32654&+7

(1/P9 !;O.]'1(6=::'h3*KL'=,/A(8l5AV3h&+*$  S     g   EX /  >Y  EX  /   >Y    9 /    и  и /   й    и /013335332+5#%32654&+Stt2/O: !;P.7)6<:9(ʿ'=,/A(\&+*$    2  E   EX /  >Y  EX /  >Y    +     и  015!#>32#54&#"#%.K3r03 t__y*D17, S  &   .~ S   &   1~ &    ~  ST   ; } 
/  EX /  >Y  EX  /   >Y  и   013333##'SttbU    8   H   EX /  >Y   +    +  ܸ  и  	и   013#53533#32#'32654&+hht4/P9 !;O.3+6=::*NZZNP%<*-?'V$*)"  1*   ! M   EX 
/ 
 >Y  EX  /   >Y 
    
  9 /      01".54>32"!.267!.8]C%%C]87]C%%C]78G

F79GI%FgBBeE##EeBBgF%CBBCMHHM     E   EX /  >Y  EX  /   >Y  и /    9   01333>?>32.#"yH
#=9	m*S-4K+yL?f  S    5 | /  EX /  >Y  EX /  >Y   013373#S`	U      Q   EX /  >Y  EX /  >Y 	  9 	/ ܸ и /    	 017575!#3##5MZ扉t7`<  T /  }  /  EX /  >Y  EX 
/ 
 >Y    + 
 и и  к   9     и /  и  !и  'к +  9  - 015#'##5##'.#"'63235337>32&#"3+|>l>|z1-F=7l7=F-1jXef(7||7(feM  'T + a }  /  EX /  >Y  EX /  >Y     9 /      #  9  *01'.'732654+532654&#"'>32*M#7"I*,:pG7601%=8#]3^d'$,:TB#L(&NJ$##J"NA&=@0@P  ST;  g }  /  EX /  >Y  EX /  >Y 	   +  и  и /     	 9   015#'##337>32.#"3*CttCJ "&?x_}$	gdM      |   EX /  >Y  EX 
/ 
 >Y  EX /  >Y  EX  /   >Y  EX /  >Y    +    и / и /013#5!37>32.#"#'#BJ!A->yC`}6'ge  STX  U }  /  EX /  >Y  EX /  >Y к   9 / 
   и   015#5##33533PtttKUM  1T  G }  /  EX /  >Y  EX /  >Y        01'.54>32.#"3267(D1*H`63T?.@SMB$6?7Q
+BY7AgG%(F]SW\D;         U   EX /  >Y  EX /  >Y   9  к 	  9  и  ܸ 01757333>?33##52[z66xdst71z88z;  T  i }  /  EX /  >Y  EX /  >Y к   9  к   9   9   9   015#'.'##'33>?331=	:{6	
3zdYm**mf((fM  @T&  G }  /  EX /  >Y  EX /  >Y    +  и   015#5#".=33267533P(1M6q58"tJ,H57,UM  S    7   EX /  >Y  EX /  >Y    +  
01>32#54&#"#(1M6q58"t-I48, S        &   n  &         S  &   
 6 s   S   &   1~ 1*&   . 1*   &    ~ &    ~  % ) 5 A    EX /  >Y  EX  /   >Y -   9 <   9 
 - <9  < -9     9     9 '    9 " ' 9  3    6  9  '901".54>7.54>32673&'>54&#"267.',C/&&6!=E",?"-hA4/CH#TL!.!#)#A4*7*#:2&B6)#78K_R	[,$)#> ##'  6  ' 5   EX 
/ 
 >Y  EX  /   >Y   
  01".54>32'2>54.#"/M88M//M88M/####&Hf@@fE%%Fe@@fH&Z-F23E**E32F-  ,  
  3   EX /  >Y  EX /  >Y  ܹ  013#5>73l->VH      =   EX /  >Y  EX /  >Y   и /   0135>54#"'>32>;':]A#U#7>)[8*C/ 7H'6vB1SI?R!=*)+<$#GFG#`   - M   EX /  >Y  EX  /   >Y    +        &  901"&'732654.#52654&#"'>32Ae5D0)5&?1R@*& 89%W3+F24.3C!9K*!G!& P*!"E $%6"*:@4$9'  %   
  S   EX /  >Y  EX 
/ 
 >Y   
9 / и    и к   
901!5#533#'35467#!ވGGN=U`@   " M   EX /  >Y  EX  /   >Y      9 /      01"&'732654&#"'!#>32D^ 3A,-97+%5:	$%B2"9K+H#0**0!_n)=*,C/  :   , M   EX 
/ 
 >Y  EX  /   >Y   ' + 
      
9   ! 01".54>32.#">32'2654&#"+M;#&AT-6O=3.#G#H^3D&!1/*6	9?bEKlF"$E)D1 PT)A-V-))-A4  !    3   EX /  >Y  EX  /   >Y    	013>7#5!$7)|2=#Cpea3_F7bhxL  2 % 1 ? W   EX /  >Y  EX  /   >Y &  : + 
 & :9  : &9  ,    2 01".54>75.54>32>54&#"2654.'+I6&".0@&R_%5K	,' +@)4#0'<&4)!
<)!6%N>$	
!* 6'7, (! #)$#
,$+  .  . M   EX %/ % >Y  EX /  >Y     + %        %901267.#""&'732>7#".54>327	9' 0.7P<2.#D!$>-3D&*N;#&@SA5-+-)$D*C1(=*(B-@bEKlG!  S    -   EX /  >Y  EX /  >Y ܸ  017/3"&54632wt& ++  **\\,"",,"",  S      1   EX /  >Y  EX /  >Y  ܸ 013?3"&54632dM: ++  **\\{,#!,,!#,  2+  ) *   EX /  >Y 
   +  $ܸ  017&>54&#"'>32"&54632"$#24!T6%>- $2 **  ++% B& 1+ ,"",,"", N= eW  N=e &W  W  83 fY  C< oZ  83f &Y  Y  C<o &Z  Z  * 8c   * u5        +0175!*KLL  * 5        +0175!*`LL  M|     EX /  >Y01.5467?EE?H9559VnnV P[[P  + |     EX /  >Y01'>54&'7sH9559H?EE P[[P Vnn  Zb        +    +013#3Zmmf??  & b        +    +0153#53&mmf?J?8   b 1 +  /  1 +    +    + &  901"&54>54.#5>54.546;#";?<!2$<?6$ ## $f5G F+F6?&7 2112 7&?  &$b 1 +      +    + #  $ +  $ #901532654&54675.54654&+532"#&$ ## $6?<$2!<?f?&7 2112 7&?6F+F G5 uV   R    !G   uH   &`   uJ   (uM   2N   *uI    %uJ!   @- ["   %- [#   *y $     %   ?V   K RK    K !KG   K ?H   K &K`   K ?J   K (?M   K 2KN   K *?I    K %?J !  K @ %"  K % %#  K *C $  K   %  K  V   $  /  EX  /   >Y ܸ  01"&54632'2654&#"EWWEEWWE ))  ))mcckkccmCCJJAAJJC  R        /  EX  /   >Y  013#5>73V%,E&6z  !  G  ,  /  EX /  >Y ܸ и /  0135>54&#"'>3230T^#&2H*>K"-0Hb)!&.%)B?012I  H ) <  /  EX  /   >Y    +   ܸ  ܺ "  901"&'732654&#52654&#"'>322N6$7'74+1 %2?,/$! -(5*$*53 , "(!-/%,  &  ` 
  J  /  EX  /   >Y   +  и и /  и  	к    90135#5733#'357#ٳh::_-_,;_7qO  J " 0  /  EX  /   >Y   +   ܸ  01"&'732654&#"'73#>324M6,'('.#&6*$*)"&JJ!01$  (M  $ 0  /  EX  /   >Y    +  ܸ   01"&54632.#"632'2654&#"KT`P&3" ,4&5:@$1" ( *l]fo8@>&C91$C" $$2.  2  N  (  /  EX  /   >Y  ܸ 	и 	/013>7#5!|(#+0RKI'I/,PRW2  *I  * 7 D  /  EX  /   >Y   3 + 	   39  3  9  %ܸ   +01".54675.54>32'654&#"2654.' 5%- #/8K% (&5!)
&+#(#6*'81-2$) "+#  %J  % 0   /  EX /  >Y    +   ܸ  017267.#""&'73267#"&54>32#*"!&2# +4'49A$1KT`3." $8@=%C91$l]fo  @        +01.5467+..+?$""$T?WW?<}CC}<  %        +01'>54&'7d?$!!$?+..T<}CC}<?WW  *  h     EX  /   >Y  01"&54632`       h     EX /  >Y  01'>'#"&546323"%"!!:{.%+*3J  V   R    !G    H   &`    J   ( M   2N   * I    % J!   @  "   %  #   *  p$      p%   !y5Q   yMs   yU_   {1 	  +  
/ / /   
9  ܺ   
9013'.'#3#'#k	
cY  e22"G##GPqq  5y1   ! 7  / /    9   ܺ 
   9  ܸ  0132#'32654+3254+5"9*$&a-=$H5,'Q7?__?(5T!0 5E?  yq9    
/  / 
 ܸ   01".54>32.#"3267*H5 8J*)A.&4C>6+.7y8R65T;!3QFHQ2@  51     / /  
ܸ  0132#'32654&+5wfrqc'!?DE? ilmnCHOPC  5G1  #  /  /   +  ܸ   
01!#3#35FgEyE  5B1 	    / /   +  01!#3#5FtF  y~9 ! #   / 
/   + 
 ܸ   01".54>32.#"32675#53,L8  9M-.@/&8EB@ 	OJy9R65T:!5QFHR
XD  51    / /  / / 	  +013353#5#5TTTP  5 1    / /0135TP  y1    
/  / 01"&'732653.@9+S!3y&%*.$/5(  51  1   / 	/ / /    9   	9 
   9013373#'5T]\r=J~  5=1    /  / 01335TE  51  ;   / 
/ / /   
9  
 9    9    90133?3#5467##/#5[OJ\O%I$J$PPPNaaN  51  '  / 
/ /  /   
9    90133.=3#/#5X,NW-]"P%P\#M$  y9     
/  / ܸ 
 01".54>32'2654&#"+H33H++H33H+2;;23::y;S54S99S45S;GTGFPPFGT  5u1     /  /   +  0132+53254&+5$=-.=#D=]/.=4%%6#M&  9  ( +  / / "  +   ܸ  ܸ  012654&#""&'.54>3232673;;33::C[GV3H++H4PB7
&UHFPPFHU=0t^4S99S4Zr=  51   )   / / /   + 
  9  0132#'#53254&+5"<-/&g^[@;Y-,;2$0>F#  yV9 + +  /  / ܺ    9  ܺ &   901"&'732654&/.54>32.#"-S 1>#"%< (7!&H+/ );+,Sy  8$-!40,9N  ^1     / / ܸ 01#5!#~N|jFF  4y1    /  / 	ܸ  01"&=3326=3RXS/(&0PXy]lE66El] n1    / /  /    90133>?3Y<

;U$C%%C$P  
1 ! =  /  /    9  и и   к   9    90133>?33>?3#'.'#aWW#
3H5
$PRh4		1#D##E"!F##E"P11  f1  ;  / / /  /    9   9   9    9017'33>?3#'.'#|t]-
+Yt{\2
	0[  [b""b W1    /  /    9  01533>?3Z-

-Wj..j  Q1 	 '  / 	/ ܸ и /  ܸ и /015#5!3ϼ#28F2E  !y5  ! 5   / /   +  	ܸ   и   ܺ    901"&5467.#"'>32#'#'2675.6[f1G'}C0 ?1y7*58
 7#@F (  /y^R   L   / /  EX /  >Y    9   и / 
   9   ܸ  01"&'##3>32'2654#".@S/>D&3,*C"" y!w6YK*B-C66b"  y'    
/  / 
 ܸ   01".54>32.#"3267#:*-; %2&$0.%"6y+@)(?,6:./9
5  yMR   ;   / / /  ܺ   9   и   ܺ    901"&54>32'53#'#'275&#"?I'1*SD,!*y\U&=*6q/!C#4.n  y=  $ 1  
/  /  
  9 /   ܸ  ܸ 
 "01".54>32#327'34.#"#;-*8%5 3&*#;u)y,?)'?,,7++3'   _  '  
/ / / ܸ и  и 
 01#5754>32.#"3#>--+#)@@=."<9@   U 2 > M X   /  EX /  >Y F , + 3 # +  , F9  3 #9  и  9ܸ и   ?017"&5475.54675.54>323##"&';22654&#"2654&+"&';M.$0t9	#.
:<=_N &/+
+),),,>*
&+1C)    /NR    / / / /  013>32#54&#"/S6!8/T !w?H:"%  & X     / /  ܸ 01"&546323Y@SE   X      / /   ܸ  ܸ 017"&'732653"&54632	S0?X6G  /^R  1  / 	/ / /   9   9 
  9013373#'/Sr[t[S.叇6Q  /y R    /  / 01"&533:7-#Sy5-w>  /   C   / / к    9  к 	  9   и и  ܸ 0133>32>32#54&#"#54&#"/C/!C4!61S%T&E,:#G;"%&"%&  /N  -  / /  к   9  и  0133>32#54&#"/B6!8/T!E,H:"%  yU     
/  / ܸ 
 01".54>32'2654&#" 8,,8 9,,9#%%##%%y,?((@,,@((?,C8/0990/8  / ^   H   / /  EX /  >Y и /   9   9  ܸ  01733>32#"'72654#"/B3>D&3.'@*C"" #YK*B-$Ab66b"   M   ;  / /  /   9   9  и  ܸ  01757#"&54>32373'275&#".@J'22&@ "+m8ZQ(?,)!432h  /  %  / /  к   9  0133632.#"/C&7	*E9AH$  y + <   /  EX /  >Y   ܺ    9  ܺ $   901"&'732654&'.54632.#""C%-+!@8%7'"!Dy5*83		 -:  y   <   /  EX /  >Y ܸ  	ܸ  и  и   01"&=#5?33#327;0.2
FRR-$yC7>XXA9<  ,yK  >   /  EX /  >Y   	ܸ  и   и /    901"&=332753#'#80T "$SB	5yG:"$'+  J 	 &   /  EX /  >Y    9 0133?3yqS11PpEcc    F   /  EX /  >Y    9 и и   к 
  9   90133?33?3#/#fVT$+F-$MRb$$E____ZZ  ?  P   /  EX /  >Y   и  к   9    9   9 
  9017'33?3#/#jbZ"XbgY$!!:33:<55<   H  <   /  EX /  >Y   ܺ 
   9    9  01"&'7326?33>?3J
T6,Ps= @?-.9?   	 '  / 	/ ܸ и /  ܸ и /0157#533-A-A  4Z     /    +015.54>32.#"')7/@))#*1:"&-!2!#4$ $8#  .      (   EX  /   >Y    +    01373'3.UUbUU9  .         +01'3UU           +    9017"&'573267u"8u
#*60TF)49	   H  # L   /  EX /  >Y    9    9   9 к   9   017"&546733>?3'2654'#+1mS32Oi2+1(.!$$".(15+/  x=   ( 9  / /    +   9 /  ܸ   ܸ  &01'7".54>32#327'34.#"v9i"#;-*8%5 3&*#;u)n6zZ,?)'?,,7++3'  y=   ( 9  / /    +   9 /  ܸ   ܸ  &01'7".54>32#327'34.#",i9n#;-*8%5 3&*#;u)*z6,?)'?,,7++3'  y:  ! 1  /  /    9 /  ܸ   ܸ  01".54673.#"'>32'267#&4")'%:GT)8 (y,8',3[O'@,@&*!/  yM   P   /  EX /  >Y    9 и /   и /    9   ܸ  01"&54>32373#'#'275&#"?I'21&@C,!*y[T'=+( !C#4.n    O  + P   /  EX /  >Y    +   ܺ   9   9  и /  &017"&'7326=7#"&54>32373'275.#"A0'')?J'22&BT>  "*%7, 	'WH%=*'BI#~1-,1  / R    / /013/S/  *y         +   +01"&54632'"&54632`y      *( d      +0153*(<<  *,3`        +015!*	,44  *,	`        +015!*,44  (6         + 
   +01".54>32'2654&#"1%%11%%1 ''  ''$22$$22$;+"#++#"+   ]6 ! - (   EX /  >Y "   +  ( 017'7.5467'76327'#"&'72654&#"R;>>;D0::0E;??;E76i+;;+*<<]<?9!"9?<FF<?9"!9?<F3?45??54?  - -    EX /  >Y  EX /  >Y     9   9  и /  и    "  9 )  9  ,и  - 015.'732654.546753.#".]"4#H)10(=F=(PDP0E;4$).(=F=(PKnd' N"-)!,$!-?/F]fd+C)''!!.C2Hag  3   + [   EX /  >Y  EX  /   >Y    +   *  и /     !и  "0135>54&'#573.54>32.#"3#!30:dC5J,7O@*/4
GW7E3-H2*$?73/J-<b    |  k   EX 	/ 	 >Y  EX  /   >Y   +  и к  	  9 	 и  и  и  и  0135#535#5333>?33#3#Ɲw@@t<;;2!B""B!;;<   5 q   EX /  >Y  EX  /   >Y   +  и  и     !и  "и  *и  +и   / 01".'#57&45<7#57>32.#"3#3#3267H.P?,
?99?
-BT2-RA-6FD3 2A#W<Y988:Z>!*$?PH=	=FM <-0  =  " 7     +    +  и  и  и  !015.54>753&'>72..2`^r 7L-B*?6#',0G$48L%Loc~l4U>'eb GIb   $ 1     +     +   	 +  и 	 01&'73>?#5737>32.#"3#h6)%	QHUY0
'&r|)?aU	CQP1ieW<+;U-M8   :   5    EX /  >Y  EX  /   >Y  EX #/ # >Y  EX /  >Y  EX 4/ 4 >Y  EX /  >Y         9    9 ,   9 -   901"&7&'#7.54>?33273.'>7I68&/*+e,@K8O1,+5#A	6,A"R3.8q@q cm#pDoS6
hbeq.?
8<*/c  3   2    EX /  >Y  EX 2/ 2 >Y    +    +  и /  и /     #и  %и  )и  +и 2 1 0135>7#573.'#573.54>32.#"3#3#!3.9hGS;5J,7O@*/4GQ389-H2*$?73>>(9b    |   # ( .    EX /  >Y  EX #/ # >Y &   +   ' +    #9  и  и # к   9  	и & и / ' и  и /  и ' и & и  и  !и & +и ' -013'3'#5#575#57533533#3##'#3'#3/#$-#HHHHoTJVFFFFoRL-9~;. <-7,172U576/    |   ! i   EX /  >Y  EX  /   >Y    +    !  9 !/ и !   и  и ! 013#575323#+3.#3267#JDD+K:'<<';K*&	=33>D'>-J+@*2Z0*1.   |  	 ! '    EX /  >Y  EX !/ ! >Y    +   ! 9  и и ! и  к   9  %и и к   9  и и  к "  !9013'3?##573373333###'3?#k	)	%E>$h1\2`"9?#v#) 3	'RJJ*-! 2*SJJ  B    ) - P   EX */ * >Y   + * ,ܸ  и  и  и  и   ܸ  $017"&54>32'5#53533#'#'2675.#"5!HW/;#,`LLO8&"#3+{qa\*C.K>::8a(O6-78>>    |   & / 4 {   EX 	/ 	 >Y  EX  /   >Y 	 !  и и и и  "и и  +и и  ,и и  4и и  0ܸ 013#575#575323#3#+3.#4&'#364327#JDDDDLrE;;E)7D%&7&|Pi-5,}9C12"2!224|:  * & m   EX /  >Y  EX /  >Y  ܸ  и         9 / "   %и  &015.54>753.#"32675#530P9 9P1O)FA1 HLLF%T;Qne2RrHEqT4	gd*?~pr|_:e   : q   EX /  >Y  EX  /   >Y 	  + 	 и  и     $и  %и 	 *и  +и   2 01"&547#573>7#573>54&#"'>323#3!3267`i
DG!H($ 39 O;Sd
O}'--%D 1-13]Q$88' (@#-WN%=="","K  :  $ U   EX /  >Y  EX /  >Y       и  и  и  #015.54>753.'678567m2S;! ;S3C(HA$.$AH-@azwd0StIFqT4	`]) ?%1<%.e  F  |  g   EX /  >Y  EX /  >Y    	ܸ ܸ ܸ  и 	 и  и      901753267#573.+5!#3##'FD<FHD9D$ECH8]-09& \=4 >ES  | " c   EX 	/ 	 >Y  EX  /   >Y   +  и  ܸ и  и  и  и    015575575377>54&'7fTTTTt<.`6c,C,?,C-ƎRCR?RCR&4!BcA  !  |  k   EX /  >Y  EX  /   >Y   +  ܸ  ܸ  
  и  и  и  и  0135575575#5!#77xxxxxxxx@C@?@CAUUAD@?@C@  !  |   9   EX 
/ 
 >Y  EX  /   >Y 
 и и и 013#57!#5!ƥHu8=9?==    |  # g   EX 	/ 	 >Y  EX  /   >Y  	  9| / и и и  и  и  и и 	 " 0135#575#5732+3#32654&+JDDDD/R=#$>Q.$;AA;8781+E01F-6>L<9=4 W     EX  /   >Y 013eFZW  W   + '   'w           ' 3 ? K    EX /  >Y  EX 
/ 
 >Y  EX  /   >Y  EX /  >Y  EX 4/ 4 >Y    + "  . + 
    (  " :и ( @и . F013"&54632'2654&#""&54632'2654&#""&54632'2654&#"eFZEWWEEWWE ))  ))EWWEEWWE ))  ))EWWEEWWE ))  ))ZmcckkccmCCJJAAJJCmcckkccmCCJJAAJJCCmcckkccmCCJJAAJJC 8 ' '`      8 ' 'N       ' '}      8	 ' 'H      " '  'z      8 ' 'H      " '  'z       '   't      &; '   '      8 ' 'R       '   't      8 ' 'H      8
 ' 'R        '   't        '   't        ' 'B       8 ' 'R   !    7F    ! - ^   EX 
/ 
 >Y  EX  /   >Y  EX /  >Y    +   ( + 
    " 013#5>73#5>73"&54632'2654&#"eFcV%,ExV%,EEWWEEWWE ))  ))Z&6z&6zmcckkccmCCJJAAJJC  '   't       " c1       +  и  	0175#53533#ճWcTT  " t        +015!" TT  1 w       +017'7'77'l;;;;w<<<<  " T?    2   EX /  >Y 
   +     +   015!"&54632"&54632"'''''''' TT%$$%h%$$%  J N v " & p    " u# 	      +    901-5%CuTaD00D  " u# 	      +    90175?5/5"uaD00DaT  "  # 	     EX 
/ 
 >Y  01-5%5!CCba;'';SS  "  # 	     EX 
/ 
 >Y  0175?5/55!"Ca;'';abSS  "  1   8   EX /  >Y    +  и  	и   0175#53533#5!ճWSSSS  7 	    EX /  >Y  013#/#7`a70/7y  " 4`  U   EX /  	>Y  EX /  	>Y    +  и    и и и  01?#537#5!733#3!8J`RJMJ`RJ4|TT||TT|      +    +  и /  ܸ  ܸ  01%".#"'>32327W/(%* > G#/(%* = F;.4-;/3-   & p    " ct       +01%5!5!cT  &  % 1 < S  2    +   8 +   , + &  	 +   	9    9 )  9 :  901%"&'##".54>323>32%267.#"2654&#"?@].!*2!;,/A'1)!%^>'B01Dl$;<#&+/.481KC$E<<".="-F0#1A1E)0M6l,"&0+#$2:(09_0< IN3k    ,  * M   EX /  >Y  EX  /   >Y 
  % +  % 
9       01".54>3254&#"'>32'267.#"&D49O1&H>>;03$T2ks(Ie03K<:?92I-2S<!" ia0H!%We7^SX%E>38  /bO %       +    +01"&'732654.54>32&#"c)$@3($@UGK8wyy;3W@$UHJ8wyy;3W@$  "B4        +01'73>73Ik
OX9A%%t    FB   -  V    |  (   EX /  >Y     +   0155!!!ɾYxF44Fab  T`|     EX /  >Y  01!#!Tuxq   " , I   EX /  >Y  EX  /   >Y    9   $   9  * 01".''>754>323267>54&#"!;/ ,--=$BQde1"-+Lr37#';'H=W8SN^O;3F,3j=)$;  .   1 G   EX 
/ 
 >Y  EX  /   >Y "  +   ܺ    
9 
 *01".54>32!"32673!2=4'.#"J`88`JI`8)pAEu*41	*n?An*	5[zFFz[55[zF	
.5<3<GZ,35-  B 	      +015!!+8r

?\  (A 	 "   EX /  >Y  ܺ    901'3'@
?88s  'Q 	      +01'7!5!'7>8s8?\?  (A 	 "   EX /  >Y  ܺ    9017373@]?8s8  -I       +01!-<  ]       +01	^P^   V  ' ;       + 
   +01".54>32'2>54.#"7".54>32UoAAoUUoAAoUCyZ55ZyCCx[55[xC1WB&&BW11WB&&BWK:l^]m;;m]^l:H/Y~OO~X00X~OO~Y/]$B[76[B%%B[68[A$  -I  	       +    +017!%!!-KA]t<A/K7  1E       +01531<.  1E         +0153%!1m<.M8  -]       +    9013-.8xx  -]   3     +    9    9    9    90137	-.L:8xx		  1E       +01#5Exx.  1E         +01#5!Exx	.M  I       +    901#5I.  I   3     +    9    9    9    901#5	I.L:  J  	 (   EX  /   >Y    +    017!%!!JDK;
q:D2(  J'$   (   EX /  >Y    +   01%.'73>7!!7!67RD-L#7]9C<e#D4:H&;jMB19v<jZXq:I:@)D  x       +    901.'73>7I2K(@JZg7H7i]PSG1=AZ7@3i   (   
   +    
901".54>323'>54&'&,<#!A	"/*<92C
-#	.04)J*.R-D/  6   5   EX /  >Y  EX  /   >Y     013'3?/#ڤa3:77::66
TTa~uttu  R        +01Rs)m R &        :        +01#/7K)sm R    8~ Y   C Z   #  3 W) #   T) j=M$    =$    i4    i@      q        +01'3_ T     7=$ r = $ r   q +B  \?    nB    T    o;    /    6    AV    m  '   0  )    )   # / ; G S _ k w      EX </ < >Y *  $ + N  H + 6  0 +    + *  и  /   0 и /   и 0 и / < B  $ Tи * Zи 0 `и `/ 6 fи f/ * lи l/  rи  xи  ~017"&54632'"&546327"&54632"&54632"&54632"&54632"&54632"&54632"&54632"&546327"&54632'"&54632j.	=XX=
,`mnfg~mn X= ;$     EX  /   >Y 01'7P=L f Aq     EX  /   >Y 01'7>uL , ,   |  / 01'7"Is$, = $     EX  /   >Y 01'79P=9L  q     EX  /   >Y 01'73>:L , m    / 017,&sK; W4   *   EX /  >Y ܸ  к   90173'#oto-zz_+gg a D  *   EX /  >Y ܸ  к   90173'#a|a2kkoo!XX J?   0   EX  /   >Y ܸ и   и  ܸ 01".#"'>323267E&#J87&J8?CEK# DL D N  0   EX  /   >Y ܸ и   и  ܸ 01".#"'>32327I) L>1) #L>CB:CC tT      / 015!TLL q $     EX  /   >Y 015!LLtT    ];       EX  /   >Y ܸ ܸ 01".'732>7*<'D!!D'<;+8!!8+ \<       EX  /   >Y 	ܸ ܸ 01".'332673+='[))['=<*:!*44*!:* e M      EX  /   >Y ܸ ܸ 
01"&'73267HLB-&&-BLI<!**!<I [ D      EX  /   >Y 	ܸ ܸ 01".'332673-='c##c'=%1 ++ 1% A D       +01"&54632&&&&A%$$%  GF     EX  /   >Y 01"&54632((((%$$% \B         +   и  01"&546323"&54632g##""""##B######## Z ;   (   EX  /   >Y ܸ   и  01"&546323"&54632k!!""""!!!""!!""! : Y	      EX  /   >Y ܸ ܸ 01'>54&'7&
&+TM#.:1I91"  Xo      EX  /   >Y ܸ ܸ 01'>54&'7&
&+PJ".1=-'" / y        +   +01"&54632'2654&#":??::??:/:+,::,+:.  jw        +   +01"&54632'2654&#"/;;/.<<.3+,33,+3. 6         +01'7'73>WO=>WO6$$  s   $   EX /  >Y ܸ и  017?waKrtaKr֝++ W@   &   EX  /   >Y ܺ    9 01'737:o-zz-o@*ff* a P  &   EX  /   >Y ܺ    9 01'737>a2kk2ap XX p $ 1       +01'3M$? &6 q      / ܸ   и  01'7'7rhOWghOW6$$  ws   (   EX  /   >Y ܸ   и  01'7'7qrKatrKa++ ]6      / ܸ ܸ   01'>32.#"_D'<**<'D.,,.68++8$88 ? 2    
   +01"5467632:*09?L&A&) ; O     	 +01.5467&.#MT+&;"/5C < :      +01'67#"&54632 8:+<'*L&B: Y		    \       +01#5#5353\@nn@E;E  R        +01##533Rn@@nEE = \     EX /  >Y  01#5#53\@n=W;         +01'>54&'7	#(	W-;2$#'-!0!  ;        +   +01&546&7;B@@B&  &8//7-  $ f        +  01#53533fF@F;ii  f        +   01##5#53fF@F̔ii;  f        +   и  01##5#53533fF@FF@FEE;EE H f        +0153f̸;;( D  \/    y    W      +  ܸ  01'>54'7^
=-DI8^2!.&#0. < h       +  ܸ 01.5467*I8^W
=-D<&#0.2   W      
 +  ܸ  01'>54&'73^
=- -.F$'^2^A	!0.  W      
 +  ܸ  01'>54&'73^
=- -.F$'^2^A	!0. 0 p        +01"&54>73327*8G=4,,% /36 & x        +01"&54>733267,=K"5.-("4<  /        +0173/R ! |       +015##53A;TTW!   ]   ]   J    tM   J  S  y  G        +   +015654&56;&  &B@@. -7//8 $ |        +0153353|;;܏SS  |         +    +0153'35#|0N N   W     + 
   +   и  / 
 и  и /  и /  и  и /0146323>324&#"#54&#"33((42><PJJP6##  ##6 $ ]        +01'7'77'3*33*33*33*3$)33*33*33)3J?    0 g     EX  /   >Y  01"&=3326713+U:4(	A 8      +01'>32.#"X g||g 0kmm33mmk7?>>?7(( dC _    '   / 
  +   ܸ  и 
 01'7"&546323"&54632.P@|+ `     4   EX  /   >Y   +   ܸ   и  01"&54632?"&54632k%_Iug/vt T5     '  / 
  +  ܸ  и 
 017'"&546323"&54632.)UHA dC _    #  
  +    +  и 
 01'7"&546323"&54632b@Po+| `     4   EX /  >Y   +  
ܸ  и 
 01'7"&546323"&54632/3uI;X v/ T5     '  /    +  ܸ   и  01"&54632'77"&54632{_EU&MN dC 7  ! - 7    +  (и ܸ ܸ и ܸ 
и  и  "01>32327#".#""&546323"&54632.&$ 	4.&# 	06+06+ dC +    '     +  ܸ ܸ   и  01"&54632'5!"&54632g=%C:: `     0   EX  /   >Y ܸ ܸ ܸ   и  01"&54632'5!"&54632k;$:: dC Y    5    +  ܸ  ܺ    9 и  и  0137#'"&546323"&54632dbb']\]$YEE$\\ `     >   EX /  >Y ܸ  ܸ ܺ    9 и  и  01'737"&546323"&546322_.aa._Nd!JJ!d q8      	  +   +  ܸ 01'73'#?i&a\a&gpS?e8+\\+D&{+u s |   ,   EX  /   >Y ܸ ܸ   и ܸ 
01'73'#'7_.[d[.]%b*!__!F)Z2 8       	 +   +  ܸ 01'73'#''7i&a\a&gl-m?8+\\+D'&t,  |   0   EX  /   >Y ܸ ܸ   и   	ܸ 01'73'#''7_.[d[.]b%_*!__!F&'S0 q8 %   '    +  ܸ и ܸ 	ܸ ܸ 01'73'#7'>54&'7i&a\a&g	&
G@&8+\\+D*4(# s    4   EX  /   >Y ܸ ܸ   и ܸ 	ܸ ܸ 01'73'#'>54&'7_.[d[.]%G>=!__!F
)4(")& q8 5   7    +  ܸ и  ܸ ܸ и ܸ и  01'73'#'>32327#".#"i&a\a&g'$!7'$!8+VV+>[04(04( k    D   EX  /   >Y ܸ ܸ   и  ܸ ܸ и ܸ и  01'73'#'>32327#".#"_.[d[.]**!:**!!YY!@^05+05+ ]; Z   #    +   ܸ ܸ  	ܸ 01'7".'732>74[En*<'>##>'<%4+8$$8+ e    ,   EX /  >Y ܸ ܸ ܸ  ܸ 017"&'73267/_Io
HL</))/<LJ/vgI<$--$<I ]; Z   #    +   ܸ ܸ  	ܸ 01'7".'732>7lE[2*<'>##>'<u4+8$$8+ e    ,   EX /  >Y ܸ ܸ ܸ  ܸ 01'7"&'73267/9oI0HL</))/<LJ&v/I<$--$<I ]; e  % +    +   ܸ ܸ ܸ ܸ  ܸ !01'>54&'7".'732>7	 (HC(
*<'>##>'<+A/)z+8$$8+ e    4   EX /  >Y ܸ  ܸ ܸ ܸ ܸ  ܸ 01'>54&'7"&'73267%G>=HL</))/<L#)3(#)%kI<$--$<I k; 4  ' 3  	   + 	 ܸ и  ܸ ܸ %и ܸ и   '01".'73267'>32327#".#"&6$;),,);$6+&!=+&!;(
%%
(04(04( j   # /   / ܸ ܸ 
и ܸ ܸ !и ܸ и  #01"&'73267'>32327#".#"HI:*,,*:I**!:**!>/
%%
/>05+05+ z7 4   +    +  ܸ и  ܸ ܸ ܸ 01'73'#7".'73267])X\X)[ ..$(($..7VV=T"" n    8   EX  /   >Y ܸ ܸ   и  ܸ ܸ ܸ 01'73'#7"&'73267_,YdY,]FG:(**(:G!YY!FT9,
  
,9 tT ]       +   ܸ 01'75!)11g>LL q        EX /  >Y ܸ  ܸ 01'75!(1>5iALL W.    ,  /  EX  /   >Y ܸ 	ܸ ܸ  01.54677<'JGG8&aE@#+1C#5 M.    ,  /  EX  /   >Y ܸ 	ܸ ܸ  01.5467'7F'JGG{Ca$@#+1C#B l3 <  % /   / ܸ 	ܸ ܸ ܸ ܸ #и ܸ и  %01.5467'>32327#".#"&?G&+&!=+&!32	}04(04( Q.    ,  /  EX  /   >Y ܸ ܸ ܸ  01'>54'77
GGJ'|&aE@0#C1+#	 Q.    ,  /  EX  /   >Y ܸ ܸ ܸ  01'>54'7'7
GGJ'Ca$@0#C1+# l3 <  % /  / ܸ ܸ ܸ ܸ ܸ и ܸ 
и  01>32327#".#"'>54&'7+&!=+&!8	&G?&04(04((	2    & !    $O   3 & !    '=       h   k       
   s              a  &    4        A  ~    }      ,    	R  
+  
                  u  X        $        #          6      u  F    v       U     !g  !  !  !  !  !  !  "  "'  "?  "W  "o  "  "  "  "  "  #  #  #7  #O  #o  $K  %  %/  %G  &1  &I  &a  &y  &  &  &  &  &  '	  '  '1  'I  'a  'y  '  '  '  '  '  (	  (!  (9  (Q  (i  (  (  )g  )  )  )  )  )  )  *  *'  *?  +-  +E  +]  +u  ,4  ,L  ,d  ,|  ,  ,  ,  ,  ,  -  -$  -  -  -  -  .  .  .5  .M  .e  .}  .  .  .  /N  /f  /~  /  /  /  /  /  0  0&  0>  0V  0n  0  0  0  0  0  0  1  1.  1F  1^  1v  1  1  1  1  1  3  3  4  4  4  4  4  4  5  5  6  6,  6D  6\  6|  6  6  6  6  6  7  7$  7<  8  8(  8@  8X  8p  8  9  9  95  9M  9e  9}  9  9  9  9  9  :  :%  :=  :U  :m  :  ;S  <  <  <1  <I  <a  <y  <  <  <  <  <  =	  =!  =9  =Q  =i  =  =  =  =  =  =  >  >  ?>  ?  @  AN  Af  A~  A  A  A  A  A  B  B&  B>  BV  Bn  B  B  B  B  B  C  C  C6  CV  D  E  E  F  G  G2  GJ  Gb  Gz  G  G  G  G  G  H  I  I/  IG  I_  Iw  I  I  I  I  I  J  J  J7  JO  Jg  J  K~  K  K  K  K  K  L  L&  L>  LV  Ln  L  L  L  Mx  M  M  M  M  M  N  N   N8  NP  N  O~  O  O  O  P  P  P3  P  P  P  P  Q  Q-  QM  Qe  Q  R  R%  R=  RU  Rm  R  R  R  R  R  R  S  S-  SE  S]  Su  S  S  S  S  S  T  T  T5  TM  Te  T  T  T  U  V  W  W  W  W  W  X
  X  X  Y  Y/  YG  Y_  Y  Y  Y  Y  Y  Y  Z  Z'  Z?  [A  [Y  [q  [  [  [  [  \  \  \  \  \  ]  ]#  ];  ]S  ]k  ]  ]  ]  ]  ]  ]  ^  ^  _  _  _  `  `  `1  `I  `a  `y  `  `  `  `  `  a	  a!  a9  aQ  ai  a  a  a  a  b  c  dq  d  e  f  g  h  i)  j"  k&  l0  l  m  m  n  o  pX  q   q  r  s  t  ui  v;  w5  w  x  y  y  z  z  {  |  }  }  ~+                    )    a    x        B      d  :    I      (      A    I                          3  K  c  {              i  y            	  !  9  Q  i                1  I  a                (  @  X  p            %  E  ]          Q                ,  <  L      6  F            F    .  D  Z  p                      V      !      y    F      U      J  "        4  6        )  A  Y  q                -  C  Y  q                -  E  [  q    ¡  ¹          -  E  ]  u  Í  å  ý          1  I  a  y  đ  ĩ            1  I  a  y  ő  ũ        	  !  9  Q  i    ƕ  ƫ        	  !  9  Q  i  Ǉ  ǥ        %  C  a  y  ș  ȹ        9  Y  y  ɑ  ɯ        -  M  m  ʍ  ʥ  ʽ          5  M  e  }  ˕  ˭          %  =  U  m  ̅  ̝  ̵          -  E  ]  u  ͍  ͥ  ͽ          5  M  e  }  Ε  έ          %  =  U  m  υ  ϝ  ϵ          -  E  ]  u  Ѝ  Х  н          5  M  e  }  ѕ  ѭ          %  =  U  m  ҅  ҝ  ҽ        =  ]  }  ӝ  ӽ        5  U  u  ԕ  Ե        5  U  u  Ս  խ        -  M  m  ֍  ֭        ؇  7  ّ      1  C  l  ڠ  ڲ        ]  o  ہ  ۓ  ۥ  ۷            #  5  G  Y  k  ܿ    E  ݹ  +  ޞ          n  ~    >  N  f  6        (  8  H  X  h  x      .      p    _    w      D  $                    S  c  G            Q      9      N  .      :        n                    (  8  P  h  x  N  	  U      [ s      S c s   [ k  	P 	 
J 
 m   b   - ! 9         2 B Z r     7      >  m   k   $ 4 L \ t        e   !U ! "c #= # $ %^ % & ' ({ )J ) *B * * +  + +  + + + ,p -O - .S . / 0M 0 1 1Y 1i 2 2* 2 3" 32 3B 3R 3b 3 3 3 4 4m 4 4 4 5 5v 6 6 6 6 7@ 7 7 7 7 7 8 8< 8T 8l 8 8 8 8 9 96 9[ 9k 9} 9 9 : :i : : ; ;W < < = =* =] = = >B > ? ? @! @9 @Q @i @ A= Af A A A B8 B B B C C7 D= E( F, F H H I K	 LY M/ M? M N O, O P Pt Q# Q Q R> R S S T~ U U VU V W X X Y Y Z Z [j [ [ [ [ [ [ \ \* \B \Z \r \ \ \ \ \ ]
 ]" ]: ]R ]r ^M _ _% _= `  `8 `P `h ` ` ` ` ` ` a a  a8 aP ah a a a a a a b b( b@ bX bp b cS ck c c c c c c d d+ e e* eB eZ f f f7 fO fg f f f f f f gx g g g g g h h  h8 hP hh h h i/ iG i_ iw i i i i i j j j7 jO jg j j j j j j k k' k? kW ko k k l m` n. nF n^ nv n n o| o o o o o p p$ pD p\ pt p p p p p q q q r r# r; rS r r s
 s" s: sR sj s s s s s s t t* tB tZ u u u u v v v2 vJ vb vz v v v v v w
 w" w: wR wj w w w w xs x y z} z { { {i { { { { | | | }4 }D }T } } ~. ~> ~ ~ ~   3   2  a K [        & >  }        z < L  4  .  ]   X   (        {  j *     k   b  8 V 5   O    t 
         - = U m  l  [ *  w H     h 
  2 B R j     $ l    < N ` r          & 8 J \ n          " 4   _   *  #    $ i       ( : L ^ p        X  f  
 K   ;     
       * { (   d  ® % þ ]   U Ƣ  { ǿ `  E    ˝  ̙  }  ΢  P Ϟ    ь B  ӆ U z   ! G ս p t J   ں [ ܧ ݺ         K   0  . > N p   ' I k      7 Y {     %  7 {   h z    b   e  l       Z j z      K    '  * V   - [   8  %          - ? Q c u            &  8  J  \  n       E m    H       Y  
 f   D  	 	j 	 
$ 
X 
 
 = e   O    ( T    C w    % 7 I   * z   ? k }       K  1 q      +  $  1  j   ) {  ,      ;  $   5   !r " " # #W # $ $ %! % & & & & & & & & & &    `M_< 	    
    ?\8n   	       T   .U S@ 1q S S St 1 S S U S S S S 1F S 1P S! &"  P    ( /3 I )4 + )=  (. I <
 I IK I0 I% )4 I4 +u I i , D     "......................BBBh U S@ 1@ 1@ 1@ 1@ 1q Sq Sq S  S S S S S S S S S S S S 7 S S S S St 1t 1t 1t 1t 1t 1t 1t 1t 1 S S S  L F > I + U SU SU S O S S S S  S S S S S S S S S S S S 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 -[ 1 3 3 3 3 3 3 1P SP SP SP SP SP SP S! &! &! &! &! &! &! & V" " " " " "  P P P P P P P P P P P P P P P P P P P P P P P         ( ( ( ( ( X S 6 S5 S / / / / / / / / / / / /  / / / / / / / / / 4 4 4. 3 I ) ) ) ) )R +4 +4 +4 + ) ) ) ) ) ) ) ) ) ) ) )  ) ) ) ) ) ( ( ( ( ( ( ( (.. I. I. I.  H 4 < ( ( I
 I
 I
 I
 I A' I I D I  K IK IK I0 I0 I0 I0 I0 I0 I0 I0 I. C% )% )% )% )% )% )% )% )% )% )% )% 
% )% )% )% )% )% )> )% )% )% )% )% )% )% )u Iu u ?u Iu =u =u       \ Ii i i i i ii , D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D             " " " " "( 04 I0 I < B4 I4 I  (4 +4 + %4 + I % % 0 #, 0(; /; / )  0 D. I. I< J( 
q 1CT Ia I IK FK FK I00 I( I% ) ) )uuuu Ie I I  (i T 
& ! D    " "  $ 	 5  6j p y   r 1r r 1r rr r *r 1r r 1r 1r 1r  S4 +4 +4 +4 +4 +4 +4 +4 +4 +4 +4 +4 +4 +4 4 +4 +4 +4 +4 +4 +4 +4 +4 +; /; /; /; /; /; /; /; /; / I B$ I I  ?U .U S Sf   S ( S 1 SU S S S( 3 1 SF S  )"  0  : -R  vvB )G H  . ) ,( @ 6 I ? B I    )c / E0 ) 	 3 ) 	 4 . )@ G : )B ) )( @ I  )	 3	 3 .	 3j^RR  ..vv42-*$$ddvv52.+
IB.OOCs S88yy -B2ffB )B )B )B )B )B )B )B )B )B )B )B )B ) ) ) ) ) ) ) ) )( @( @( @( @( @( @( @( @( @( @( @ 4 * H  )  )  )  )  )  )  )  )/ E/ E	 3	 3	 3	 3	 3	 3	 3	 3	 3	 3	 3	 3	 3	 3	 3	 3 . . . . . . . . . . .B )B )B )B )B )B )B )B )B )B )B )B )( @( @( @( @( @( @( @( @( @( @( @( @ . . . . . . . . . . . . ?  ) ) I  / ? ? R :%  \% j%  I% % % % % % c% _% c% i% ~% ~% \% f% f% v   \  .N SU S S  SE / & S SY S S S 1 SF S@ 1"   .  Sf @x S S : SN S@  SX  S S  S@ 1! & S    S Y S S  Sk  1( S m / & S  S@ 1C r @f S SE .B S 6 S 1 1   /) 0 I I.  ) 
  > I> I
 I(  I< I% )4 I4 I )   + ? I 6	 I Ib  I I  I  ) )0  I )  <  	 I. 
 I> I 8 IL % )  I  
  2 I{ M J )   $ 6. I 
 I / 4 ) %> I% )% )   + 4  ( J !    , , ) % ( (/ 6 , #  #   ; , 5  3/ 6/ 6 ( J !    - , )  0 , $    5 , 1 $ ? / ? / U; S; S ( - N N 8 C 8 C C C / 6 / 6B *B * *  * * * *  * ?E (    8D MD +D ZD &D  D &X   YX   Y 0 1 1 )W ( YF SL ( S ( D ZD &D ZD & Z &D ZD &D ZD & / /     k 2& 2 # < S  18 S S S3 1` S S  S S ST S[ 1 SZ 0 S & S P   (.  S  1  1  1  1  18 S8 S8 SN  S S S S S S S S S S N S " S S S S S3 13 13 13 13 13 13 13 13 1` S` S` S  L F > I +  S S S Q S S S S  S S S ST ST ST ST ST ST ST ST S[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ / 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1[ 1 S S S S S S S & & & & & & &g V      S PS PS PS PS PS PS PS PS PS PS PS PS PS PS PS PS Pc Pc Pc Pc Pc Pc P     ( ( ( ( (N   SQ 6I S5 S S S   S (` S[ 1 S S ST S 3[ 1Z S S )  0  :e ,z S~ , S S SH  S  'T ST S  S> S` S[ 1Z S S  1   . S S/ @ S) Sw  S S 9 S  S S_  S 1 & S  / Sq   ST S P S* [ 1 S 
  'N S k S  1 : @/ S S  SQ 6T S[ 1[ 1  6  6{ ,   %  : ! 2 .; S; S 2 N N 8 C 8 CB * * *D MD +D ZD &D  D &t t Rt !t t &t t (t 2t *t %  @  %  *   t t Rt !t t &t t (t 2t *t %  @  %  *   t t Rt !t t &t t (t 2t *t %  @  %  *   t t Rt !t t &t t (t 2t *t %  @  %  *   ` !| q w 5  5h 5V 5  5  5M  5Q 5 5 5  5  5m n  4j 
n Ri ` !| /6 | U   ` w /  & b /  /8 /x /q | /|   /"   y ,R  H P - C  . . P U U U |     /  *  *] *3 *\ (  - 3   =  : 3   B  *  : F  ! !  [W [W [WI   8; 8' 5 8C "5 8C "C e &5 8C 5 85 8C C / 5 8d 7C  " " 1 "  " " " " " " 7 "     " &B I) ,j /= "f   -  T   .j j (j 'j (v -v v  v -v 1v 1v -v -v 1v 1v v # J# Jv   6 R R : R 8 C    % j% % i% i  %   7   % \% n% % o% % % % % E )  X  f          W  a  J  D  t  q  t  ]  \  e  [      \  Z              W  a   &    ]                              \                    W  ]  ]  J  t  J        N    J    8  d  `  T  d  `  T  d  d  `  d  `  q  s      q  s  q  k  ]  e  ]  e  ]  e  k  j  z  n  t  q  W  M  l  Q  Q  l            }      U L      88n               h X   X   KX  ^ 2&  `           ADBO @                        $          $  
         / 9 @ Z ` z ~~7C\ghjnv{~ *,14=BEauz~/W_cuCIMPRX[!%+;IScoEMQWY[]}     " & 0 3 5 : ? D I q y              !!! !"!&!.!^!!""""""""+"H"`"e#%%%%%%%%&&j''R'.%.;     0 : A [ a { 7CP^hjlox} #,.49BEatz~ 0XbrCGMORV[ $*2>RXl  HPRY[]_       & / 2 5 9 < D G p t }             !!! !"!&!.!P!!""""""""+"H"`"d#%%%%%%%%&&j''R'.".:           f       >                  nonnonmlih    >]    "!                   w                                  
                                &          aba                Z        ,  &  M            sp  4  }  oUMi(  'myܣi-  f                                                                                                              "$&*.8:@B  B  D  D        @BHJLNPbxz  \          ~             
  
                                                                                          SX|!WpqzOcNvPQUrxsmtwu`T}{~y}4adz~k6bV 6 7 8 9 : = L Q Z [ \ ^ y z { }                     ;<=?[abcder ;  <  K R S U T V Y _! `" a# j, ] m/ n0 o1 p2 u6 x: |> ~@ F D G  H IL M P N O T X \ Z`  f p g s { | }                    t t  >  A h      N q3 z l. Y M  Zbgino\ch 	"#$%')+,jlWfXYZ]_[^|}~xqrstuvw	
RTU[]`de P W X k- r4 v7 w9 J K Q R S U V W ] ^ _ q ~             8 ? @ A B C D E F G	 H
 I J b$ c% d& e' f( g) h* i+ B C i j k l m n o u v w x y            1256789:	
#$34=>ABCDEFIJMNOPQRUVYZ[\]^?<@Gonpz}KHLStvxuwy,-./ +0{|rWTX;_sqiefjYZ][\^{|ldnoY^ fg     %$                    !   !  S   "   "  X   #   #     $   $  |   %   %     &   &  !   '   '  W   (   )  p   *   *  z   +   +     ,   ,  O   -   -  c   .   .  N   /   /  v   0   9  "   :   ;  P   <   <     =   =     >   >     ?   ?  U   @   @     A   Z      [   [  r   \   \  x   ]   ]  s   ^   ^     _   _  m   `   `     a   z      {   {  t   |   |  w   }   }  u   ~   ~          `        T                }        {        ~        y        }                        4        a                d                        z                                        ~        k                        6        b                V         6         =         L         Q         Z         ^         y         }                                                                                                                                                   ;        ?                [        a                r                                                 ;              <              K             R             S  	  	    
  
   U             T             V             Y             _      !       `      "       a      #       j      ,       ]             m      /       n      0         o  !  !  1  "  "   p  #  #  2  $  $   u  %  %  6  &  &   x  '  '  :  (  (   |  )  )  >  *  *   ~  +  +  @  ,  ,     -  -  F  .  .     /  /  D  0  0     1  1  G  2  2     3  3    4  4     5  5  H  6  6     7  7  I  8  8  L  9  9     :  :  M  ;  ;     <  <  P  =  =     >  >  N  ?  ?     @  @  O  A  A     B  B  T  C  C     D  D  X  E  E     F  F  \  G  G     H  H  Z  I  I  `  J  J     K  K    L  L     M  M  f  N  N     O  O  p  P  P     Q  Q  g  R  R     S  S  s  T  T     U  U  {  V  V     W  W  |  X  X     Y  Y  }  Z  Z     [  [    \  \     ]  ]    ^  ^     _  _    `  `     a  a    b  b     c  c    d  d     e  e    f  f     g  g    h  h     i  i    j  j     k  k    l  l     m  m    n  n     o  o    p  p     q  q    r  r     s  s    t  t     u  u    v  v     w  w    x  x     y  y     z  z    {  {     |  |    }  }     ~  ~                            t             t                           >                    A             h                                                                        N             q      3             z       l      .             Y       M                                  7  7    C  C   O  P  P    Q  Q    R  X    Y  \    ^  g    h  h    j  j    l  n    o  v    x  {    }  ~                                                              X      Z      b      g      i                        k            l                                          n      o      \      c      h                                                     	  	  	  
  
                                         #  &  "  '  '  '  (  (  )  )  *  +  ,  ,  -  .  1  .  4  4  2  9  =  3  B  B  8  E  E  9  a  a  :  t  u  h  z  z  m  ~  ~  e      j      l      W      f      X      \      ]      _            ?      P      [      ^      |            `      x      q                              y      {      `      a      b      c      d                 /    0  W    X  _    b  b    c  c    r  r    s  s    t  t    u  u                                      	            
                                                                                                                                                                                                                                            C  C  Q  G  G  R  H  I  T  M  M  W  O  O  [  P  P  ]  R  R  _  V  V  `  W  X  d  [  [  f      S      V      j       P             W             X             k      -         r  !  !  4  $  $   v  %  %  7  *  *   w  +  +  9  2  2     3  3  J  4  4     5  5  K  6  6     7  7  Q  8  8     9  9  R  :  :     ;  ;  S  >  >     ?  ?  U  @  @     A  A  V  B  B     C  C  W  D  D     E  E  ]  F  F     G  G  ^  H  H     I  I  _  R  R     S  S  q  X  X     Y  Y  ~  Z  Z     [  [    \  \     ]  ]    ^  ^     _  _    `  `     a  a    b  b     c  c    l  l     m  m    n  n     o  o                                                                                      8                    ?             @             A             B             C             D             E             F             G      	       H      
       I             J             b      $       c      %       d      &       e      '       f      (       g      )       h      *       i      +             B             C             i             j             k             l             m             n             o             u             v             w             x             y                                                                                                                                                                	    
                                 !    "  '     (  )    *  /    0  1    2  7    8  9    :  ?    @  A    B  E    H  I    J  M    P  Q  !  R  W  %  Y  Y    [  [    ]  ]    _  _    `  a  1  b  g  5  h  i    j  o    p  q    r  s    t  u    v  w  	  x  y    z  {  #  |  }  3      =      A            I      M            U      Y                  ?      <      @            G                        o      n      p      z      }      K      H      L            S                        t      v      x                                          u      w      y      ,            +      0                        {      r      W      T      X      ;      _                        s      q        a        i        e        j                Y        ]        [        ^       !  {   "   "  l   &   &  R   /   /  d   0   0     2   3     5   5     9   :  _   <   <     =   =     >   ?  n   D   D     G   G     H   H     I   I     p   p     q   q  Y   t   y      }   ~          ^        
                r                                                                                                  !  !    !  !     !  !    !   !     !"  !"    !&  !&    !.  !.    !P  !P    !Q  !R    !S  !Z    ![  !^    !  !    !  !    "  "    "  "    "  "    "  "    "  "    "  "    "  "    "  "    "  "    "+  "+    "H  "H    "`  "`    "d  "e    #  #    %  %    %  %    %  %    %  %    %  %    %  %    %  %    %  %    %  %    &  &    &j  &j    '  '    'R  'R    '  '    ."  .%    .:  .;  g              f            e j k    ,K 	PXY D 	 _^- ,  EiD`- , *!- , F%FRX#Y  Id F had%F hadRX#eY/  SXi  TX!@Yi  TX!@eYY:- , F%FRX#Y F jad%F jadRX#Y/- ,K &PXQXD@DY!! EPXD!YY- ,  EiD`  E}iD`- , *- ,K &SX@ Y &SX#!#Y &SX#! #Y &SX#! #Y &SX#!@#Y  &SX%EPX#!#!%E#!#!Y!YD- 	,KSXED!!Y-  + ++0& +,& + <0$ +8," + +  E}iDK `RX Y    \ f t }   3   > ~           	       	  0   	    	  B  	  0   	  t`  	  ,  	     	  4  	 	   	  2  	  >  	  4^  	    	   C o p y r i g h t   2 0 1 0 ,   2 0 1 2 ,   2 0 1 4   A d o b e   S y s t e m s   I n c o r p o r a t e d   ( h t t p : / / w w w . a d o b e . c o m / ) ,   w i t h   R e s e r v e d   F o n t   N a m e    S o u r c e  . S o u r c e   S a n s   P r o   S e m i B o l d R e g u l a r 2 . 0 2 1 ; A D B O ; S o u r c e S a n s P r o - S e m i B o l d V e r s i o n   2 . 0 2 1 ; P S   2 . 0 0 0 ; h o t c o n v   1 . 0 . 8 6 ; m a k e o t f . l i b 2 . 5 . 6 3 4 0 6 S o u r c e S a n s P r o - S e m i B o l d S o u r c e   i s   a   t r a d e m a r k   o f   A d o b e   S y s t e m s   I n c o r p o r a t e d   i n   t h e   U n i t e d   S t a t e s   a n d / o r   o t h e r   c o u n t r i e s . A d o b e   S y s t e m s   I n c o r p o r a t e d P a u l   D .   H u n t h t t p : / / w w w . a d o b e . c o m / t y p e T h i s   F o n t   S o f t w a r e   i s   l i c e n s e d   u n d e r   t h e   S I L   O p e n   F o n t   L i c e n s e ,   V e r s i o n   1 . 1 .   T h i s   l i c e n s e   i s   a v a i l a b l e   w i t h   a   F A Q   a t :   h t t p : / / s c r i p t s . s i l . o r g / O F L .   T h i s   F o n t   S o f t w a r e   i s   d i s t r i b u t e d   o n   a n    A S   I S    B A S I S ,   W I T H O U T   W A R R A N T I E S   O R   C O N D I T I O N S   O F   A N Y   K I N D ,   e i t h e r   e x p r e s s   o r   i m p l i e d .   S e e   t h e   S I L   O p e n   F o n t   L i c e n s e   f o r   t h e   s p e c i f i c   l a n g u a g e ,   p e r m i s s i o n s   a n d   l i m i t a t i o n s   g o v e r n i n g   y o u r   u s e   o f   t h i s   F o n t   S o f t w a r e . h t t p : / / s c r i p t s . s i l . o r g / O F L S o u r c e   S a n s   P r o S e m i B o l d          2                    h    $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ]     b c	
  d    e   !"#$%&'()*+ ,-./012345   6 7 89:;<=>?@ABCDEFG HIJKLM fNOPQ     gRSTUVWXYZ[\]  ^_`abcdefghijklm nopqrstuvwx   y hz{|}~      j i k m l n  o   q p r s  u t v w   x z y { } |   	
    ~   !"#$%&'()*+,- . /0123 456  789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	                  "  
                 B   > @ ^ `  _ ?          #  	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrst u vwxyz{|}~                    !    A  a          C             	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstu  AmacronAbreveuni01CDuni1EA0uni1EA2uni1EA4uni1EA6uni1EA8uni1EAAuni1EACuni1EAEuni1EB0uni1EB2uni1EB4uni1EB6Aogonekuni01FCuni01E2uni0243uni1E06Ccircumflex
CdotaccentDcaronuni1E0Cuni1E0EDcroatEcaronEmacronEbreve
Edotaccentuni1EB8uni1EBAuni1EBCuni1EBEuni1EC0uni1EC2uni1EC4uni1EC6Eogonekuni1E16uni01F4Gcircumflex
Gdotaccentuni0122Gcaronuni1E20uni00470303uni0193Hcircumflexuni1E24uni1E2AHbarItildeImacronuni01CFuni1EC8uni1ECAIogonekuni012CJcircumflexuni0136uni1E32uni1E34LacuteLcaronuni013BLdotuni1E36uni1E38uni1E3Auni1E3Euni1E40uni1E42Nacuteuni01F8Ncaronuni0145uni1E44uni1E46uni1E48OmacronOhungarumlautuni01D1uni1ECCuni1ECEuni1ED0uni1ED2uni1ED4uni1ED6uni1ED8uni014Euni1E52Ohornuni1EDAuni1EDCuni1EDEuni1EE0uni1EE2uni01EARacuteRcaronuni1E58uni0156uni1E5Auni1E5Cuni1E5ESacuteScircumflexuni015Euni0218uni1E60uni1E62uni1E9ETcaronuni0162uni021Auni1E6Cuni1E6Euni0166UtildeUmacronUbreveUringUhungarumlautuni01D3uni01D5uni01D7uni01D9uni01DBuni1EE4uni1EE6UogonekUhornuni1EE8uni1EEAuni1EECuni1EEEuni1EF0WgraveWacuteWcircumflex	WdieresisYgraveYcircumflexuni1E8Euni1EF4uni1EF6uni1EF8Zacute
Zdotaccentuni1E92uni1E94uni018Funi014Auni0132amacronabreveuni01CEuni1EA1uni1EA3uni1EA5uni1EA7uni1EA9uni1EABuni1EADuni1EAFuni1EB1uni1EB3uni1EB5uni1EB7aogonekuni01FDuni01E3uni0180uni1E07ccircumflex
cdotaccentdcaronuni1E0Duni1E0Fecaronemacronebreve
edotaccentuni1EB9uni1EBBuni1EBDuni1EBFuni1EC1uni1EC3uni1EC5uni1EC7eogonekuni1E17uni01F5gcircumflex
gdotaccentuni0123gcaronuni1E21uni00670303hcircumflexuni1E25uni1E96uni1E2Bhbaritildeimacronuni01D0uni1EC9uni1ECBiogonek	iogonek.duni012Djcircumflexuni0137uni1E33uni1E35kgreenlandiclacutelcaronldotuni013Cuni1E37uni1E39uni1E3Buni1E3Funi1E41uni1E43nacuteuni01F9ncaronuni0146uni1E45uni1E47uni1E49napostropheomacronohungarumlautuni01D2uni1ECDuni1ECFuni1ED1uni1ED3uni1ED5uni1ED7uni1ED9uni014Funi1E53ohornuni1EDBuni1EDDuni1EDFuni1EE1uni1EE3uni01EBracuteuni0157rcaronuni1E59uni1E5Buni1E5Duni1E5Fsacutescircumflexuni015Funi0219uni1E61uni1E63tcaronuni0163uni021Buni1E6Duni1E6Funi1E97uni0167utildeumacronubreveuringuhungarumlautuni01D4uni01D6uni01D8uni01DAuni01DCuni1EE5uni1EE7uogonekuhornuni1EE9uni1EEBuni1EEDuni1EEFuni1EF1wgravewacutewcircumflex	wdieresisygraveycircumflexuni1E8Funi1EF5uni1EF7uni1EF9zacute
zdotaccentuni1E93uni1E95uni014Buni0237uni0133uni0250uni0252uni0253uni0254uni0255uni0256uni0257uni0258uni0251uni0299uni0259uni025Auni025Buni025Cuni025Euni025Funi0260uni0261uni0262uni0263uni0264uni0265uni0266uni0267uni029Cuni0268uni026Auni029Duni026Cuni026Duni026Euni029Funi026Funi0270uni0271uni0272uni0273uni0274uni0275uni0276uni0278uni0279uni027Auni027Buni027Duni027Euni0280uni0281uni0282uni0283uni0284uni0288uni0289uni028Auni028Buni028Cuni028Duni028Euni028Funi0290uni0291uni0292uni0294uni0295uni02A1uni02A2uni01C2uni0298f_ff_f_if_f_lf_tf_f_tI.aIgrave.aIacute.aIcircumflex.aItilde.aIdieresis.a	Imacron.aIdotaccent.a	uni01CF.a	uni1EC8.a	uni1ECA.a	Iogonek.a	uni012C.a	uni014A.aa.aagrave.aaacute.aacircumflex.aatilde.aadieresis.a	amacron.aabreve.aaring.a	uni01CE.a	uni1EA1.a	uni1EA3.a	uni1EA5.a	uni1EA7.a	uni1EA9.a	uni1EAB.a	uni1EAD.a	uni1EAF.a	uni1EB1.a	uni1EB3.a	uni1EB5.a	uni1EB7.a	aogonek.ag.a	uni01F5.agcircumflex.agbreve.agdotaccent.a	uni0123.agcaron.a	uni1E21.auni00670303.al.alacute.alcaron.aldot.a	uni013C.a	uni1E37.a	uni1E39.a	uni1E3B.alslash.afl.aAlphaBetaGammauni0394EpsilonZetaEtaThetaIotaKappaLambdaMuNuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsiuni03A9
AlphatonosEpsilontonosEtatonos	IotatonosIotadieresisOmicrontonosUpsilontonosUpsilondieresis
Omegatonosalphabetagammadeltaepsilonzetaetathetaiotakappalambdauni03BCnuxiomicronrhosigmatauupsilonphichipsiomegauni03C2uni03D0uni03D1uni03D5
alphatonosepsilontonosetatonos	iotatonosiotadieresisomicrontonosupsilontonosupsilondieresis
omegatonosiotadieresistonosupsilondieresistonosuni1F08uni1F09uni1FBAuni1FBBuni1F0Auni1F0Buni1F0Cuni1F0Duni1F0Euni1F0Funi1FB8uni1FB9uni1F18uni1F19uni1FC8uni1FC9uni1F1Auni1F1Buni1F1Cuni1F1Duni1F28uni1F29uni1FCAuni1FCBuni1F2Auni1F2Buni1F2Cuni1F2Duni1F2Euni1F2Funi1F38uni1F39uni1FDAuni1FDBuni1F3Auni1F3Buni1F3Cuni1F3Duni1F3Euni1F3Funi1FD8uni1FD9uni1F48uni1F49uni1FF8uni1FF9uni1F4Auni1F4Buni1F4Cuni1F4Duni1FECuni1F59uni1FEAuni1FEBuni1F5Buni1F5Duni1F5Funi1FE8uni1FE9uni1F68uni1F69uni1FFAuni1FFBuni1F6Auni1F6Buni1F6Cuni1F6Duni1F6Euni1F6Funi1FBCuni1F88uni1F89uni1F8Auni1F8Buni1F8Cuni1F8Duni1F8Euni1F8Funi1FCCuni1F98uni1F99uni1F9Auni1F9Buni1F9Cuni1F9Duni1F9Euni1F9Funi1FFCuni1FA8uni1FA9uni1FAAuni1FABuni1FACuni1FADuni1FAEuni1FAFuni1F00uni1F01uni1F70uni1F71uni1F02uni1F03uni1F04uni1F05uni1F06uni1F07uni1FB0uni1FB1uni1FB6uni1F10uni1F11uni1F72uni1F73uni1F12uni1F13uni1F14uni1F15uni1F20uni1F21uni1F74uni1F75uni1F22uni1F23uni1F24uni1F25uni1F26uni1F27uni1FC6uni1F30uni1F31uni1F76uni1F77uni1F32uni1F33uni1F34uni1F35uni1F36uni1F37uni1FD0uni1FD1uni1FD6uni1FD2uni1FD3uni1FD7uni1F40uni1F41uni1F78uni1F79uni1F42uni1F43uni1F44uni1F45uni1FE4uni1FE5uni1F50uni1F51uni1F7Auni1F7Buni1F52uni1F53uni1F54uni1F55uni1F56uni1F57uni1FE6uni1FE0uni1FE1uni1FE2uni1FE3uni1FE7uni1F60uni1F61uni1F7Cuni1F7Duni1F62uni1F63uni1F64uni1F65uni1F66uni1F67uni1FF6uni1FB3uni1F80uni1F81uni1FB2uni1FB4uni1F82uni1F83uni1F84uni1F85uni1F86uni1F87uni1FB7uni1FC3uni1F90uni1F91uni1FC2uni1FC4uni1F92uni1F93uni1F94uni1F95uni1F96uni1F97uni1FC7uni1FF3uni1FA0uni1FA1uni1FF2uni1FF4uni1FA2uni1FA3uni1FA4uni1FA5uni1FA6uni1FA7uni1FF7uni03D7uni03D9uni03DBuni03DDuni03E1uni037E	anoteleiaanoteleia.capuni0374uni0375tonos	tonos.capdieresistonosuni037Auni1FBEuni1FBDuni1FBFuni1FFEuni1FEFuni1FFDuni1FCDuni1FDDuni1FCEuni1FDEuni1FCFuni1FDFuni1FC0uni1FEDuni1FEEuni1FC1uni1FBD.capuni1FFE.capuni1FEF.capuni1FCD.capuni1FDD.capuni1FCE.capuni1FDE.capuni1FCF.capuni1FDF.capuni0410uni0411uni0412uni0413uni0414uni0415uni0416uni0417uni0418uni0419uni041Auni041Buni041Cuni041Duni041Euni041Funi0420uni0421uni0422uni0423uni0424uni0425uni0426uni0427uni0428uni0429uni042Auni042Buni042Cuni042Duni042Euni042Funi0400uni0401uni0402uni0403uni0404uni0405uni0406uni0407	uni0407.auni0408uni0409uni040Auni040Buni040Cuni040Duni040Euni040Funi0462uni0472uni0474uni0490uni0492uni0496uni0498uni049Auni04A0uni04A2uni04AAuni04AEuni04B0uni04B2uni04B6uni04BAuni04C0uni04C1uni04D0uni04D4uni04D6uni04D8uni04E2uni04E6uni04E8uni04EEuni04F2uni0430uni0431uni0432uni0433uni0434uni0435uni0436uni0437uni0438uni0439uni043Auni043Buni043Cuni043Duni043Euni043Funi0440uni0441uni0442uni0443uni0444uni0445uni0446uni0447uni0448uni0449uni044Auni044Buni044Cuni044Duni044Euni044Funi0450uni0451uni0452uni0453uni0454uni0455uni0456uni0457	uni0457.auni0458uni0459uni045Auni045Buni045Cuni045Duni045Euni045Funi0463uni0473uni0475uni0491uni0493uni0497uni0499uni049Buni04A1uni04A3uni04ABuni04AFuni04B1uni04B3uni04B7uni04BBuni04C2uni04CFuni04D1uni04D5uni04D7uni04D9uni04E3uni04E7uni04E9uni04EFuni04F3uni0431.srbuni2116zero.0zero.0s	zero.pnumone.pnumtwo.pnum
three.pnum	four.pnum	five.pnumsix.pnum
seven.pnum
eight.pnum	nine.pnumzero.0pzero.0ps	zero.tnumone.tnumtwo.tnum
three.tnum	four.tnum	five.tnumsix.tnum
seven.tnum
eight.tnum	nine.tnum	zero.onumone.onumtwo.onum
three.onum	four.onum	five.onumsix.onum
seven.onum
eight.onum	nine.onumuni00ADuni2E3Auni2E3B
figuredashuni2015uni203Euni203Funi2016uni203Cuni2047uni2049uni2048uni203Duni231Cuni231Duni231Euni231Funi27E6uni27E7uni2E22uni2E23uni2E24uni2E25uni2117uni2120u1F16Au1F16Bat.casei.trkA.scB.scC.scD.scE.scF.scG.scH.scI.scJ.scK.scL.scM.scN.scO.scP.scQ.scR.scS.scT.scU.scV.scW.scX.scY.scZ.sc	Agrave.sc	Aacute.scAcircumflex.sc	Atilde.scAdieresis.sc
Amacron.sc	Abreve.scAring.sc
uni01CD.sc
uni1EA0.sc
uni1EA2.sc
uni1EA4.sc
uni1EA6.sc
uni1EA8.sc
uni1EAA.sc
uni1EAC.sc
uni1EAE.sc
uni1EB0.sc
uni1EB2.sc
uni1EB4.sc
uni1EB6.sc
Aogonek.scAE.sc
uni01FC.sc
uni01E2.sc
uni0243.sc
uni1E06.scCcedilla.sc	Cacute.scCcircumflex.sc	Ccaron.scCdotaccent.sc	Dcaron.sc
uni1E0C.sc
uni1E0E.sc	Dcroat.sc	Egrave.sc	Eacute.scEcircumflex.sc	Ecaron.scEdieresis.sc
Emacron.sc	Ebreve.scEdotaccent.sc
uni1EB8.sc
uni1EBA.sc
uni1EBC.sc
uni1EBE.sc
uni1EC0.sc
uni1EC2.sc
uni1EC4.sc
uni1EC6.sc
Eogonek.sc
uni1E16.sc
uni01F4.scGcircumflex.sc	Gbreve.scGdotaccent.sc
uni0122.sc	Gcaron.sc
uni1E20.scuni00470303.sc
uni0193.scHcircumflex.sc
uni1E24.sc
uni1E2A.scHbar.sc	Igrave.sc	Iacute.scIcircumflex.sc	Itilde.scIdieresis.sc
Imacron.scIdotaccent.sc
uni01CF.sc
uni1EC8.sc
uni1ECA.sc
Iogonek.sc
uni012C.scJcircumflex.sc
uni0136.sc
uni1E32.sc
uni1E34.sc	Lacute.sc	Lcaron.sc
uni013B.scLdot.sc
uni1E36.sc
uni1E38.sc
uni1E3A.sc	Lslash.sc
uni1E3E.sc
uni1E40.sc
uni1E42.sc	Nacute.sc
uni01F8.sc	Ncaron.sc	Ntilde.sc
uni0145.sc
uni1E44.sc
uni1E46.sc
uni1E48.sc	Ograve.sc	Oacute.scOcircumflex.sc	Otilde.scOdieresis.sc
Omacron.scOhungarumlaut.sc
uni01D1.sc
uni1ECC.sc
uni1ECE.sc
uni1ED0.sc
uni1ED2.sc
uni1ED4.sc
uni1ED6.sc
uni1ED8.sc	Oslash.scOE.scOhorn.sc
uni1EDA.sc
uni1EDC.sc
uni1EDE.sc
uni1EE0.sc
uni1EE2.sc
uni01EA.sc
uni014E.sc
uni1E52.sc	Racute.sc
uni1E58.sc	Rcaron.sc
uni0156.sc
uni1E5A.sc
uni1E5C.sc
uni1E5E.sc	Sacute.scScircumflex.sc	Scaron.sc
uni015E.sc
uni0218.sc
uni1E60.sc
uni1E62.sc
uni1E9E.sc	Tcaron.sc
uni0162.sc
uni021A.sc
uni1E6C.sc
uni1E6E.sc
uni0166.sc	Ugrave.sc	Uacute.scUcircumflex.sc	Utilde.scUdieresis.sc
Umacron.sc	Ubreve.scUring.scUhungarumlaut.sc
uni01D3.sc
uni01D5.sc
uni01D7.sc
uni01D9.sc
uni01DB.sc
uni1EE4.sc
uni1EE6.sc
Uogonek.scUhorn.sc
uni1EE8.sc
uni1EEA.sc
uni1EEC.sc
uni1EEE.sc
uni1EF0.sc	Wgrave.sc	Wacute.scWcircumflex.scWdieresis.sc	Ygrave.sc	Yacute.scYcircumflex.scYdieresis.sc
uni1E8E.sc
uni1EF4.sc
uni1EF6.sc
uni1EF8.sc	Zacute.sc	Zcaron.scZdotaccent.sc
uni1E92.sc
uni1E94.scEth.scThorn.sc
uni018F.sc
uni014A.sc
uni0132.scAlpha.scBeta.scGamma.sc
uni0394.sc
Epsilon.scZeta.scEta.scTheta.scIota.scKappa.sc	Lambda.scMu.scNu.scXi.sc
Omicron.scPi.scRho.scSigma.scTau.sc
Upsilon.scPhi.scChi.scPsi.sc
uni03A9.scIotadieresis.scUpsilondieresis.scAlphaiotasub.scEtaiotasub.scOmegaiotasub.sc
uni0410.sc
uni0411.sc
uni0412.sc
uni0413.sc
uni0414.sc
uni0415.sc
uni0416.sc
uni0417.sc
uni0418.sc
uni0419.sc
uni041A.sc
uni041B.sc
uni041C.sc
uni041D.sc
uni041E.sc
uni041F.sc
uni0420.sc
uni0421.sc
uni0422.sc
uni0423.sc
uni0424.sc
uni0425.sc
uni0426.sc
uni0427.sc
uni0428.sc
uni0429.sc
uni042A.sc
uni042B.sc
uni042C.sc
uni042D.sc
uni042E.sc
uni042F.sc
uni0400.sc
uni0401.sc
uni0402.sc
uni0403.sc
uni0404.sc
uni0405.sc
uni0406.sc
uni0407.scuni0407.sca
uni0408.sc
uni0409.sc
uni040A.sc
uni040B.sc
uni040C.sc
uni040D.sc
uni040E.sc
uni040F.sc
uni0462.sc
uni0472.sc
uni0474.sc
uni0490.sc
uni0492.sc
uni0496.sc
uni0498.sc
uni049A.sc
uni04A0.sc
uni04A2.sc
uni04AA.sc
uni04AE.sc
uni04B0.sc
uni04B2.sc
uni04B6.sc
uni04BA.sc
uni04C0.sc
uni04C1.sc
uni04D0.sc
uni04D4.sc
uni04D6.sc
uni04D8.sc
uni04E2.sc
uni04E6.sc
uni04E8.sc
uni04EE.sc
uni04F2.scampersand.sczero.scone.sctwo.scthree.scfour.scfive.scsix.scseven.sceight.scnine.sc	exclam.scexclamdown.scquestion.scquotesingle.scquotedbl.scquoteleft.scquoteright.scquotedblleft.scquotedblright.sc	hyphen.sc	endash.sc	emdash.scparenleft.scparenright.scbracketleft.scbracketright.scbraceleft.scbraceright.sc	zero.supsone.supstwo.sups
three.sups	four.sups	five.supssix.sups
seven.sups
eight.sups	nine.supsparenleft.supsparenright.supsperiod.sups
comma.sups	zero.subsone.substwo.subs
three.subs	four.subs	five.subssix.subs
seven.subs
eight.subs	nine.subsparenleft.subsparenright.subsperiod.subs
comma.subs	zero.dnomone.dnomtwo.dnom
three.dnom	four.dnom	five.dnomsix.dnom
seven.dnom
eight.dnom	nine.dnomparenleft.dnomparenright.dnomperiod.dnom
comma.dnom	zero.numrone.numrtwo.numr
three.numr	four.numr	five.numrsix.numr
seven.numr
eight.numr	nine.numrparenleft.numrparenright.numrperiod.numr
comma.numrordfeminine.aA.supsB.supsC.supsD.supsE.supsF.supsG.supsH.supsI.supsJ.supsK.supsL.supsM.supsN.supsO.supsP.supsQ.supsR.supsS.supsT.supsU.supsV.supsW.supsX.supsY.supsZ.supsa.supsb.supsc.supsd.supse.supsf.supsg.supsh.supsi.supsj.supsk.supsl.supsm.supsn.supso.supsp.supsq.supsr.supss.supst.supsu.supsv.supsw.supsx.supsy.supsz.supsuni02C1uni02D0uni02D1uni02DEuni02E0egrave.supseacute.supsuni0259.supsa.supag.supal.supa
colon.supshyphen.supsendash.supsemdash.supsEurouni0192colonmonetarylirauni20A6pesetauni20A9donguni20B1uni20B2uni20B4uni20B5uni20B9uni20BAuni20AEuni20B8uni20BDuni2215
slash.fraconethird	twothirdsuni2155uni2156uni2157uni2158uni2159uni215Auni2150	oneeighththreeeighthsfiveeighthsseveneighthsuni2151uni2152uni2189uni2219uni00B5uni2206uni2126uni2113	estimateduni2190arrowupuni2192	arrowdownuni25A0uni25C6uni25C9uni2752triagupuni25B3uni25B6uni25B7triagdnuni25BDuni25C0uni25C1uni2610uni2611uni2713uni266Auni2032uni2033uni2035uni02B9uni02BBuni02BCuni02BEuni02BFuni02C8uni02C9uni02CAuni02CBuni02CCuni25CCuni0300uni0300.cap	uni0300.guni0301uni0301.cap	uni0301.guni0302uni0302.capuni0303uni0303.capuni0304uni0304.capuni0305uni0306	uni0306.cuni0306.capuni0306.ccapuni0307uni0307.capuni0308uni0308.capuni0309uni0309.capuni030Auni030A.capuni030Buni030B.capuni030Cuni030C.cap	uni030C.auni030Funi030F.capuni0311uni0312	uni0312.guni0313	uni0313.guni0318uni0319uni031Auni031Buni031Cuni031Duni031Euni031Funi0320uni0323uni0324uni0325uni0326	uni0326.auni0327uni0327.capuni0328uni0328.capuni0329uni032Auni032Cuni032Euni032Funi0330uni0331uni0334uni0339uni033Auni033Buni033Cuni033Duni0342uni0345uni0361uni03080301uni03080301.capuni03080301.guni03080300uni03080300.capuni03080300.guni03080303uni03080304uni03080304.capuni0308030Cuni0308030C.capuni03020301uni03020301.capuni03020300uni03020300.capuni03020309uni03020309.capuni03020303uni03020303.capuni03060301uni03060301.capuni03060300uni03060300.capuni03060309uni03060309.capuni03060303uni03060303.capuni03020306uni03020306.capuni03040301uni03040301.capuni03120301uni03120300uni03120303uni03130301uni03130300uni03130303uni00A0uni2007
space.fracnbspace.fracuni202FuniFEFF                 ~  5  K L  j j  s s                  ,, 22 55 DD EE GG NN rt zz                   !! +, 11 55 ?? CC EE GG MM OO RR VV [[ ^^ `` dd ff hh nn pp ss ww   _ aa cc nn pp vv yy                                ++ 11 HH YZ tt vw z| ~               % '9 ;W Z_            		      78 ;; => @B DD FF HH JJ LL NN PP RR TT VV Z_       
 l  DFLT cyrl ,grek >latn P                    	          
            kern bkern bkern bkern bmark hmark hmark hmark hmkmk ~mkmk ~mkmk ~mkmk ~size size size size     
   	              	    d          <4^      R           ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5,EGrstz!+,5`dfhnpswacvwz{|~ |D|@& D&^,X|2@8>DJPV\bhntz|X
."(.4|:@FLRX^djpv||.:FLRv    	                *               %     ,             .  v      
  &      )   (   h       i $       m          #        F   
<?CEGIKMOQSUW  h        	 
                  K L j         +1HYZt    n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n    hV    >     \ &,28>DJPV\bhvntzL|X
d^"(jp.4:@FLRX^djppv| 9   h b ;   t J 5 .        &   V  S P G H Y :  3     %   Q K  D ,    0   Q 3 "3 3 :3 03 63 &3  3 M3 23 %3 #3 3  3 _3  3  3  3  3 3  3 -3 .3  3 *3 g -; ! 3 K 1! )!  !               j             2 <  '(       . /H        " ( . 4 : @ @ @6                                 . @    % +1 36 99   -      5    3   4   5 6GG 7tt 8 9 : ; > C F I K L O P T U [ \!! ],, ^55 _`` `dd aff bww c d t++ }HH ~ZZ vw z| ~            ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^    ".(.4:@@HFLRX^djrpv|0<00BH0Zr Br$***0<6<BHNTZ`fxlrx~  Z 5 ( c J Q ?       
      E   {& &       P G `  &  ! 2        & 9 ) "      8       v     $  & ,     h     :    ' 	   _   *   %     4 M 0 /       -  #           $  2             #           $ 0       * 0            " ( . 4   p               ,  )      $ * 0G    0 $ * 0 6 < B H N       E          Z              #            0 <  *     
  +            " F ( . 4 4 : @ F L R X       Q   G          K    x   .   *   -         l  v6  . 	78;=>@ABDFHJLNPRTVZ[\]^_   .                                                                                                                                                           	 4N6j( (    J\LB	&	,	,






HZdvL0<F<F6<<FFLV\b*Hf$Bd~rrr*Prrx~DDDD(.DZd(BL~     3tuvwxyADHPQRTU]^emux
`	./01234567DEFGHIJKLM_aprtvH|}~ = > "? "@  
; < = 0> B? B@ 0A B E F 0  -     5                  UZ\cdefijz             " *  ,  1  2  3                        	
               ! " # $ % & ' ( ) * + , - ./012345a b c d e f g h i j k l m n o p q r s t u v w x y z                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 cdefijk  m        ! " / 3 5                                    	
./012345       >Z\_ac d e f i j kxzfg Q       % 5                             	
HNOR]^cdefijvz $                   z  b    " % . 1  2  5               	
./012345H    NORY Z[ \]^_acdefijkvx  .    vz $ z  $    +  h	 
   BDn 	      	 	 
   	      	      	 ( Q  Q  		 (   $ $ Z\ u   b   O Q    q  
W X Y Z [ \          O Q   /015 / 
./0123457 /01357 /01357 /01357 /01357 ./01234567 /157 /015 EFGIK EGK 	DEFGHIKM EFGIKM EFGIKM DEFGIKM EFGIKM DEFGHIJKLM EFGIKM EFGIK W X $Y Z $\ ] _    $  $  $      	; = 8> 8? 8@ 8A 8F 8H 8    O  YNOR]^ !"#$%&'()*+,-./0123;<=>?@Almnop  q s u           	      
    /01357EFGIKM ./01234567DEJKLM 017FGIK / 0 1 23 4DEF G 	H I 	JL 
M     > 
                                                                                                                                                                                                     
k~  	 kk ~~   	      $                 ! !  " "  * *  , ,  / /  1 1  2 2  4 4  Q U  l t    - .5 az             
4 >>  	dk 	fg         $           bb ll rr uu   P    V ^                                                 %             
      	                        z                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   D   D                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      4         4                                                                                                                                                                                                                                                                                                         
                                              
                                                                      
                                                                                             
                                              
                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     o5KTVkvx      oo     55 KK TT VV kk 
vv xx   	       <   \   m   m   t   m   m   ]   :   ;   =   ?   _   A   `   j    l ! ! k " " 7 $ $ s % % 9 * * l , , l 0 0 v 1 1 < 2 2 > 3 3 ^ 4 4 @ 5 5 y 6 K \ O O 6 Q U m Y Y 6 l t m x x 8   t   m   ]   :   ;   ?   A   `   6   u  j- l.5 7;F sHH 9az l v > @ y 9 s v l l 9 l @ v v 9 l 9 v y k k4 l>> k?? SBB VDD [FF iII SLL ZMM iPP YQQ 4RR 5TT UUU XWW r^^ 5`` abb bjj Wll cnn dqq drr ett duu Twx d{{ d|| a d d r S 5 S r a d1; d<G aT_ dab d L  Q &  h h 2   O  2 & # 2 h M q  2  P h 0 Q & 2 h O  Q L h  f    g ' $    g  g  3 g N        ! g  g p 1     3   g / 		 '

 $    g / N  ' f g  g 3NO 	RR 	UU 
WX YY ZZ [[ \\ ]^ 	__ x`` )aa xbb )cf wij w 
 
 s    -        K  .    -3 ;A BB oCH I_ `c dk lp .vv R{{ J}} n R n H I G I R *    ( %    ,  ,  F + C      %  "    , B  E     F    , D  ( %    , C   ( *   , F V   fg k )   *n. K G                                                                                                                                             
                                                                                                                                                                                                                                                                                                                     
      
                     
                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                                     
                                                                                                                                                                                     
                                                                                                                 , @ , 4                                                       ( . > J                * 	                                                                                                                                                                                                          x                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
           	                       * 	   &                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        0                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                  ^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                  
                    
                                                                                                                                                                                                                                                              p                                                                                                  .                                                                                                                                                                                                                        
                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	                                                                                                                   
  
                                                                                                                                                                                                     
 
     
     . 4 5 D                            2                                                                  4 4 4                                                                         0                                                                                            0  4                                                                                                                                                                                                                                                                                                                                          
                   
                                                                                                                                            $                                                                                                                                                                               
                
                        4 8                                                                                                                                                                                                                                                                                                
                                             $                                                                                                                                                                                                                                                                                                                                                                                                                                       $                                                                                                                                                                       
                         ,                                                                                                                                                                                                                                                                                                                                                                              #  & !:GG3IN4PS:U>477Q	qVsugg              )   
       	 	  
 
          "      )   +   )   .   1   5   ;   >   A   D   G   J   '         ! !  " "  # # # & &  ' '   ( ) # * + ' , , 9 - - , . . / / / 3 0 0 9 1 1 < 2 2 ? 3 3 B 4 4 E 5 5 H 6 K  L N 
 O P  Q U  V Y ) Z k 
 l t  u w  x x  y           "      "      )   
   &   )   .   1      5   ;   8   A   G   J   )   2   )     '  - .5 6: #GG 9IL MM  NN PS  U` #ar 'ss ty $zz '{ , /  3 9 6 ? E H ' #  '  ' 9 ' ' 9  E 9 # 9 9 # 9 ' ' 9 , 9 / 3 ' H  3  4 977     ( 	      !  ( * ( - 0 4 : = @ C F I  	   ( 	     !	 ! ) (** 	+0 %13 (4: -;A 0BB CH 4IY :Z_ 7`c @dk Flp Iqq (st (uu gg                -         .               /      &       1 ! !  " " 0 $ $ D % % 8 ( ) = * * 1 + + = , , 1 - - = . .  / /  0 0  1 1   2 2 ! 3 3 " 4 4 $ 5 5 6 6 K  L N B Q U  l t    -      .               &   @- 1.5 0:: @;F DGG =HH 8LL =U_ =az 1{ =    ! $ 6 = 8 D  = 1 1 = 8 1 $  = F =  = 8 = 1 = =  8   ? , 6   <4 1>> ee ENO PQ RR SS :UU WX (YY 'ZZ [[ '\\ ]^ __ 3`` 7aa 3bb 7cf 2ij 2kk qq 9ss 9uu 9vv ;xx )zz  :  :  9 9 9 * + D 	 C  C  C 
 C  C  C      #  % 	 A C  C C  C 
 C C3 4: C;A CH I_ `c dk lp %rr Ctu C     5 4 > '  'fg     "z 9 G                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                            
                                                                                                                                                                                                                                                                                                                                                           4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       l                                         H                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      (                                                                                                                                                                                                                                            ,                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                        	                                                                                                                    
  
                                                                                                                           4                                                                                                                                                                                                                                                                                                                                                                                                                
                                      H                 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                         <                                                                                                                                                                                                                     ,                        ?n  pb 0dd#nn$v%B  p?? @@ AA BB CC DD 8EE +FF #GG +HH II JK +LL 5MM #NN +OO  PP (QQ .RR 2SS TT UU VV WW XX Y[ +\\ #]^ 2__ aa bb cc 	dd ee 6ff gg /hh ii jj kk ll mm 3nn !pp !qq &rr ,ss 0tt !uu vv 0ww !xx %yy zz /{{ !}} ~~   ! 0 !  0   + #   2       !!0 01; !HS T_ !`` aa !bb )dd $nn vv ww xx yy 
zz {{ 7|| *}} "~~ *   * 4 " *  ' - 1     * 1 *    ?? BB &DD FF II LL )MM PP (QQ 
RR SS TT %UU VV WW D^^ `` *aa +bb cc ,dd -ee <ff .gg 1hh ii .jj 'kk All mm ;nn 0oo #pp $qq 0rr ss 2tt 0uu vv 2wx 0yz 1{{ 0|| *}} -~~ .  8 0 2 0 8 2 D    D  * - . 		 8

  8 0  $!0 21; 0<G *HS .T_ 0`` .ab 0cc Add =ee /nn NO PQ RR SS 4UU WX  YY ZZ [[ \\ ]^ __ 5`` 6aa 5bb 6cf 3ij 3kk qq @ss @uu @vv Exx "zz ! 4  4  @ @ @ :vv wx 9yy >zz 9{{ || 9}} ~ 9  9 B  9 C 	     ? 9   9 ?     7 F &     5   5N9T < q                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              p                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                          ,                                                                                                   \                                                                                                                                                                                             L    l                                                                D                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                   
                                                                                                                                                 
                                   $                                                                                              <    T                                                                                                 (           0 (    0                                                                                                 0                         (                                                      <   (   4                                                                      4          6         0     0 0     0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                               	                                                                                                                                                                                   
  
                                                                                                                                                                                                                                                                                                                                              (                                                                     @                                            
                                                                                                                                                                                             $                                                                                            (     "                                                        H                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
         
                                       
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ( ; = n          9  0  ! 9 * ! * $ *   - 6   0 * 0 ' * ' $ *     	 *  ' 3 ! * 6 * ; $   ! 9 ! 0   0 * !   $ * $ 6  7  .   7 (  ( " ( "  + 4 "  . ( . % ( % " (      % 1    ( 4 ( % "  		 

 7  .   . 1   " ( " 4  8  /    8 )   ) # )   , 5 
  / ) / & ) & # )      )  & 2   ) 5 ) : #     8   /   / )     # ) # 5    g   /   /   i   /   /   2   4   7   j   ;   k ! ! - $ $ o / / 1 1 1 5 4 4 : 6 K g Q U / l t /   i   /   2   4   ;   k;F o 1 : o : 1 - - h>> -ee `  n  n N M n $ n ) n )  K " I n  n  n M n L n  n ) S n J $ n  n K n + )  n N M n  n ) P I  n N  m n n ) K  H ^  X C , ^ # ^ X ^ ] X  * X % ^  ^  ^ ! ^ B X D ^ X   e E # ^ D  ^ * ^  X ' ^ \		 C

 , ^  ^ X ' %  C  X Z ^ X *NO PQ RR SS aUU WX >YY =ZZ [[ =\\ ]^ __ R`` Oaa Rbb Ocf Qij Qkk qq Uss Uuu Uvv Yxx ?zz  a  a  U U U @ A o b . . p c . . 0 d 3 6 8 9 < b . . p c3 .;A 0CH dI_ 3`c 8lp <  _ 
 _ T G _  _ ( _ (  F  & _ 	 _  _ G _ W _  _ (  _   _  _ F _  (  _ T G _  _ (  & 	 _ T  l _ _ ( F     V [ f =  =fg - p   J        P   P                                                                                                                                                                                                                                                                            ( (                                                                                                                                                                                                                                                                             ( ( (          (f                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            8 8   0                   $ 0                                                                                                                                                                                               0                  r                                                                                                                                                                                                                                               NS  UU Wf ij pp rr tt   " # $  NO PQ RR SS UU WX 
YY ZZ 	[[ \\ 	]^ __ `` aa bb cf ij       	  D         Z   2   4   7   :   \      ]       . ! !  " "  % % 
 ( )  * * . + +  , , . - -  . .  / / 0 1 1 5 2 2 8 3 3 [ 4 4 ; 5 5  6 K  L N       Z   2   4   :      ]   - ..5 :: GG HH 
LL U_ az .{   0 8 ;   
  . .  
 . ;    
  .    
 0 ^   4 .>> ?? wBB UDD YII wLL XPP WQQ +RR SS %TT TUU &VV VWW vXZ f\\ d]] ^^ __ c`` #aa xbb `cc ydd {ee jj all bnn 'oo mpp ~qq 'rr )tt 'uu Swx '{{ '|| #}} { ' ' v w f f f d f   c w v f V c # { '  ~1; '<G #T_ 'ab ' t  	 P     K   P N  H     "  	 P  k K  	 t    s    Q O           J      I  M     u              		 Q

 O      J  Q s     // C55 FEE BKK EMM ANO RR TT VV WX ?YY =ZZ >[[ =\\ >]^ zz  - / / q / / i 1 3 6 9 r < j - / / q3 /;A iCH 1I_ 3`c 9dk <lp jvv $yy z{{ h}} ( $ g ( e * , } p | , $ |   R    L  n     _ o  L !   R   l n  R   L D @ G U V = > =fg     
\ DFLT cyrl Pgrek latn          
   ( 2 < N X b l v           
 SRB  >        ) 3 = F O Y c m w                   * 4 > G P Z d n x                    ! + 5 ? H Q [ e o y           " AZE  TCRT  NSM  SKS  TRK $       " , 6 @ R \ f p z                 # - 7 A I S ] g q {                 $ . 8 B J T ^ h r |                 % / 9 C K U _ i s }                 & 0 : D L V ` j t ~              	   ' 1 ; E M W a k u            aaltZaaltZaaltZaaltZaaltZaaltZaaltZaaltZaaltZaaltZc2scbc2scbc2scbc2scbc2scbc2scbc2scbc2scbc2scbc2scbcaselcaselcaselcaselcaselcaselcaselcaselcaselcaselccmprccmprccmprccmprccmprccmprccmprccmprccmprccmprdnomdnomdnomdnomdnomdnomdnomdnomdnomdnomfracfracfracfracfracfracfracfracfracfracligaligaligaligaligaligaligaligaligaligaloclloclloclloclloclloclloclloclnumrnumrnumrnumrnumrnumrnumrnumrnumrnumronumonumonumonumonumonumonumonumonumonumordnordnordnordnordnordnordnordnordnordnpnumpnumpnumpnumpnumpnumpnumpnumpnumpnumsaltsaltsaltsaltsaltsaltsaltsaltsaltsaltsinf8sinf8sinf8sinf8sinf8sinf8sinf8sinf8sinf8sinf8smcpsmcpsmcpsmcpsmcpsmcpsmcpsmcpsmcpsmcpss01ss01ss01ss01ss01ss01ss01ss01ss01ss01ss02ss02ss02ss02ss02ss02ss02ss02ss02ss02ss03ss03ss03ss03ss03ss03ss03ss03ss03ss03ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss05.ss05.ss05.ss05.ss05.ss05.ss05.ss05.ss05.ss05.subs8subs8subs8subs8subs8subs8subs8subs8subs8subs8sups>sups>sups>sups>sups>sups>sups>sups>sups>sups>zeroJzeroJzeroJzeroJzeroJzeroJzeroJzeroJzeroJzeroJ                #     	 
                  /                                           $ % ' ( ) * + , - .         
  $ % &     ' (     ) *   
  + , -     !                  " 2 fh
@VjHdPZd!""Z$h%%H%r%&&f&~&&'
'P'''(((()V)j)))**|***      ^	
 !"#$%&'(23)*+,-./01465789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrsu  !"#$%&'(23)*+,-./01476589:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrtuvwxyz{|}vz|~yz{vvvvvvvvvvvvzzzzzzzz||||||||||~~~~~~~~~~g-EFGHIJKLM9/01234567vV5stu
(*<?CEGIKMOQSUW>  D 6 x     C    - 67 9F HK U_ a  LM?FNH_VaanggottpqffB[!!e,,f/8gEMqPPzS\{ru44QQWW\\		''));;>>BBDDFFHHJJLLNNPPRRTTVVgg       $*06<BHNT\bhntz
$*06<BHNTZ`flrx~ &,28>DJPV\bhntz,<L\ltz 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W, X Y Z [ \5 ] ^ _ ` a b c d e f g h i j  	 
           t             ! " # $ % & ' ( ) * + p q - . / 0 1 2 3 4 6 7 
8 	9 : ; < = sr ~ ~ ~  5 	&
.:-, '/; (0< )1= * 2> +3? ,4@ -5A . 6B /!7C D98 D" E# F$ G% H& I' J( K) L* M+ . 2$ 3%	 w x y 0" 1#       5   y  4   @  A W.5 YMT a iGG j k m n"+ o.. y:D zNO cc ef pq          u                                      K          
 2 8 > D J P V \ b h  
 \ _  !cf                *  *  
 G      0 N              \ c         t       _ !f       V           
 $       2    0  )           1  D        
   : d        $H F L V J 	      $P N T R 	T 8     $ * 0 6 <> @ ; = A B D A 8       & ,[ [ Z Z \ \ 8       & ,^ ^ ] ] _ _ 8           & 0 : D N X b l v          K )   j )   s     )    )    )   )     , )   5 2 '  D )  N   z )      )  1 '      
       " $ ' * / 0,      
  2D4>j|HZ	8	z	
.  > F N V ^ f n v ~                    n n nZ n[ n\ n] n^ n_ 9 9 9Z 9[ 9\ 9] 9^ 9_ n       9 Z [ \ ] ^ _     $ * 0 6 <     Z [ ] ^  : B J R Z b j r z                    n n nZ n[ n\ n] n^ n_ 9 9 9Z 9[ 9\ 9] 9^ 9_ n     9 Z [ \ ] ^ _   " ( . 4 : @ F L R X ^ d y    [    Z [ ] ^ _     $ * 0 6 <     Z [ ] ^    	     & , 2 8 > D    ^   Z [ \  : B J R Z b j r z                    n n nZ n[ n\ n] n^ n_ 9 9 9Z 9[ 9\ 9] 9^ 9_ n p v    9 Z [ \ ^ _  4 < D L T \ d l t |               ? 9@ 9> 9= 9G 98D 9ZB 9[F 9\C 9]A 9^E 9_       8< 9 Z [ \ ] ^ _     $ * 0 6 <     Z [ ] ^  0 8 @ H P X ` h p x             K 9L 9J 9I 9S 98P 9ZN 9[R 9\O 9]M 9^Q 9_     8H 9 Z [ \ ]  ^ _  $ * 0 6 < B H N T Z ` f l r x ~ 	 
       8 ; > A Z [ \ ] ^ _     $ * 0 6 <     Z [ ] ^        $ * 0 6 < B H N T Z ` f l r x ~ # $ - ,  " ! + 8/ ;. >0 A( Z& [* \' ]% ^) _  0 8 @ H P X ` h p x             W 9X 9V 9U 9_ 98\ 9ZZ 9[^ 9\[ 9]Y 9^] 9_3 4 2 1 ; 8T 98 Z6 [: \7 ]5 ^9 _     $ * 0 6 <   Z [ \ ] ^ _     $ * 0 6 <   Z [ \ ] ^ _     $ * 0 6 <   Z [ \ ] ^ _    $ * 0 6 < B H N T? @ > = G 8D ZB [F \C ]A ^E _    $ * 0 6 < B H N TK L J I S 8P ZN [R \O ]M ^Q _    $ * 0 6 < B H N TW X V U _ 8\ ZZ [^ \[ ]Y ^] _  ?CEGMORV`dfhnpsw<HT     
 b           1       6     ?_  \ACO     N      1  
(*<?CEGIKMOQSUW  	');>BDFHJLNPRTV      $ 6 H h      P  P    1     \  \    1     h  h    1           1               1               1           N $vwxyz{|}~vz|~  `x  |         yvvvvvvvvvvvvvzzzzzzzz|||||||||||~~~~~~~~~~~~~  _        V 	
 !"#$%&'(23)*+,-./01465789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~vz|~vvvvvvvvvvvvzzzzzzzz||||||||||~~~~~~~~~~~~       6  ?_  ]         "+         . V  !!  S\ cc ef pu         
	 !"#$%&'(23)*+,-./01476589:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrtus    5   7 9F ZHK hM_ la              L     (       &'()*+,-./2301        !$%"#         v      0 R           1  &/     `     H      1  %         &      1  bc  !    &3         @ QRSTUVWXYZ[\]^_`abcdefghijpqr    5           5             n  	        vwxy  Pcef       " 
  "+  NO 
pq        . ./01234567DEFGHIJKLM  "+  :C 
       . :;<=>?@ABCDEFGHIJKLM  "+  .7 
                
  ".       j 2g"#$%&'()*+./01234567
(*<?CEGIKMOQSUW  2f:;<=>?@ABCDEFGHIJKLM	');>BDFHJLNPRTV        56789:;<=u>   'MNOPQRST\g          t                 8  !"#$%&'()*+5s        44 QQ           a        
,-./01234t   " "  .5 WW 	          g         	
   
 
   y            G         > , 2 8 > D J P V \ b  ZZ    ~   k                ,8       $        ! /  !  /   !           E )   $       f 0bE !"#$%
(*<?CEGIKMOQSUWc  0 D&'()*+,-./0123	');>BDFHJLNPRTV`  /*! For license information please see index.js.LICENSE.txt */
__REACT_DEVTOOLS_GLOBAL_HOOK__={isDisabled:!0},(self.webpackChunkbalena_etcher=self.webpackChunkbalena_etcher||[]).push([[7],{30594:(e,t,n)=>{"use strict";var r=n(77915),a=Object.prototype.hasOwnProperty,i={align:"text-align",valign:"vertical-align",height:"height",width:"width"};function o(e){var t;if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName)for(t in i)a.call(i,t)&&void 0!==e.properties[t]&&(s(e,i[t],e.properties[t]),delete e.properties[t])}function s(e,t,n){var r=(e.properties.style||"").trim();r&&!/;\s*/.test(r)&&(r+=";"),r&&(r+=" ");var a=r+t+": "+n+";";e.properties.style=a}e.exports=function(e){return r(e,"element",o),e}},18954:e=>{"use strict";function t(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null==e)return a;if("object"==typeof e)return("length"in e?r:n)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function r(e){var n=function(e){for(var n=[],r=e.length,a=-1;++a<r;)n[a]=t(e[a]);return n}(e),r=n.length;return function(){for(var e=-1;++e<r;)if(n[e].apply(this,arguments))return!0;return!1}}function a(){return!0}e.exports=t},24588:(e,t,n)=>{"use strict";e.exports=s;var r=n(18954),a=!0,i="skip",o=!1;function s(e,t,n,a){var s;"function"==typeof t&&"function"!=typeof n&&(a=n,n=t,t=null),s=r(t),function e(r,l,d){var c,p=[];return(t&&!s(r,l,d[d.length-1]||null)||(p=u(n(r,d)))[0]!==o)&&r.children&&p[0]!==i?(c=u(function(t,n){for(var r,i=a?-1:1,s=(a?t.length:-1)+i;s>-1&&s<t.length;){if((r=e(t[s],s,n))[0]===o)return r;s="number"==typeof r[1]?r[1]:s+i}}(r.children,d.concat(r))),c[0]===o?c:p):p}(e,null,[])}function u(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[a,e]:[e]}s.CONTINUE=a,s.SKIP=i,s.EXIT=o},77915:(e,t,n)=>{"use strict";e.exports=s;var r=n(24588),a=r.CONTINUE,i=r.SKIP,o=r.EXIT;function s(e,t,n,a){"function"==typeof t&&"function"!=typeof n&&(a=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],a=r?r.children.indexOf(e):null;return n(e,a,r)}),a)}s.CONTINUE=a,s.SKIP=i,s.EXIT=o},13526:(e,t,n)=>{"use strict";const r=n(24905),a=n(55186),i=n(4919);e.exports=e=>{return(e=e||{}).alias&&i.alias(e.alias),e=>{r(e,"element",t)};function t(t,n,r){if(!r||"pre"!==r.tagName||"code"!==t.tagName)return;const o=function(e){const t=e.properties.className||[];for(const e of t)if("language-"===e.slice(0,9))return e.slice(9).toLowerCase();return null}(t);if(null===o)return;let s;try{r.properties.className=(r.properties.className||[]).concat("language-"+o),s=i.highlight(a(t),o)}catch(t){if(e.ignoreMissing&&/Unknown language/.test(t.message))return;throw t}t.children=s}}},5727:e=>{"use strict";e.exports=function(e){if(e)throw e}},26091:e=>{"use strict";e.exports=function(e,t){var n,r=String(e),a=0;if("string"!=typeof t)throw new Error("Expected character");for(n=r.indexOf(t);-1!==n;)a++,n=r.indexOf(t,n+t.length);return a}},26415:e=>{"use strict";e.exports=function(e){return String(e).replace(/\s+/g," ")}},51697:(e,t)=>{"use strict";t.parse=function(e){for(var t,r=[],i=String(e||a),o=i.indexOf(n),s=0,u=!1;!u;)-1===o&&(o=i.length,u=!0),!(t=i.slice(s,o).trim())&&u||r.push(t),s=o+1,o=i.indexOf(n,s);return r},t.stringify=function(e,t){var i=t||{},o=!1===i.padLeft?a:r,s=i.padRight?r:a;return e[e.length-1]===a&&(e=e.concat(a)),e.join(s+n+o).trim()};var n=",",r=" ",a=""},96599:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,l,d,c=arguments[0],p=1,f=arguments.length,m=!1;for("boolean"==typeof c&&(m=c,c=arguments[1]||{},p=2),(null==c||"object"!=typeof c&&"function"!=typeof c)&&(c={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=u(c,n),c!==(a=u(t,n))&&(m&&a&&(o(a)||(l=i(a)))?(l?(l=!1,d=r&&i(r)?r:[]):d=r&&o(r)?r:{},s(c,{name:n,newValue:e(m,d,a)})):void 0!==a&&s(c,{name:n,newValue:a}));return c}},85722:(e,t,n)=>{const r=n(9853);e.exports=i;const a=Object.hasOwnProperty;function i(){if(!(this instanceof i))return new i;this.reset()}function o(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(r,"").replace(/ /g,"-"))}i.prototype.slug=function(e,t){const n=this;let r=o(e,!0===t);const i=r;for(;a.call(n.occurrences,r);)n.occurrences[i]++,r=i+"-"+n.occurrences[i];return n.occurrences[r]=0,r},i.prototype.reset=function(){this.occurrences=Object.create(null)},i.slug=o},9853:e=>{e.exports=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},33347:(e,t,n)=>{"use strict";var r=n(97952),a=n(72107),i=n(61946),o=n(60308),s=n(11014),u=n(51697),l=n(97858),d=n(10784),c=n(40033),p=c("root"),f=c("element"),m=c("text");function g(e,t,n){var r,i,o=n.schema,s=o,u=t.tagName,l={},c=[],p=-1;for(r in"html"===o.space&&"svg"===u.toLowerCase()&&(s=a,n.schema=s),t.properties)h(l,r,t.properties[r],n,u);if(n.vdom&&("html"===s.space?u=u.toUpperCase():l.namespace=d[s.space]),n.prefix&&(n.key++,l.key=n.prefix+n.key),t.children)for(;++p<t.children.length;)i=t.children[p],f(i)?c.push(g(e,i,n)):m(i)&&c.push(i.value);return n.schema=o,c.length?e.call(t,u,l,c):e.call(t,u,l)}function h(e,t,n,r,a){var d,c=i(r.schema,t);null==n||n!=n||!1===n&&(r.vue||r.vdom||r.hyperscript)||!n&&c.boolean&&(r.vue||r.vdom||r.hyperscript)||(n&&"object"==typeof n&&"length"in n&&(n=(c.commaSeparated?u:s).stringify(n)),c.boolean&&r.hyperscript&&(n=""),"style"===c.property&&"string"==typeof n&&(r.react||r.vue||r.vdom)&&(n=function(e,t){var n={};try{l(e,(function(e,t){"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),n[e.replace(/-([a-z])/g,E)]=t}))}catch(e){throw e.message=t+"[style]"+e.message.slice(9),e}return n}(n,a)),r.vue?"style"!==c.property&&(d="attrs"):c.mustUseProperty||(r.vdom?"style"!==c.property&&(d="attributes"):r.hyperscript&&(d="attrs")),d?(e[d]||(e[d]={}),e[d][c.attribute]=n):c.space&&r.react?e[o[c.property]||c.property]=n:e[c.attribute]=n)}function b(e){return Boolean(e&&e.context&&e.cleanup)}function E(e,t){return t.toUpperCase()}e.exports=function(e,t,n){var i,o=n||{},s=function(e){var t=e&&e("div");return Boolean(t&&("_owner"in t||"_store"in t)&&null==t.key)}(e),u=function(e){var t=e&&e("div");return Boolean(t&&t.context&&t.context._isVue)}(e),l=function(e){return e&&"VirtualNode"===e("div").type}(e);if("function"!=typeof e)throw new Error("h is not a function");if("string"==typeof o||"boolean"==typeof o?(i=o,o={}):i=o.prefix,p(t))t=1===t.children.length&&f(t.children[0])?t.children[0]:{type:"element",tagName:"div",properties:{},children:t.children};else if(!f(t))throw new Error("Expected root or element, not `"+(t&&t.type||t)+"`");return g(e,t,{schema:"svg"===o.space?a:r,prefix:null==i?s||u||l?"h-":null:i,key:0,react:s,vue:u,vdom:l,hyperscript:b(e)})}},15194:(e,t,n)=>{"use strict";var r=n(87010),a=n(21168),i=n(61946),o=n(97952),s=n(72107),u=n(92087),l=n(10784);e.exports=function(e,t){var n,r=t||{};return r.messages?(n=r,r={}):n=r.file,p(e,{schema:"svg"===r.space?s:o,file:n,verbose:r.verbose})};var d={}.hasOwnProperty,c={"#document":f,"#document-fragment":f,"#text":function(e){return{type:"text",value:e.value}},"#comment":function(e){return{type:"comment",value:e.data}},"#documentType":function(e){return{type:"doctype",name:e.name||"",public:e.publicId||null,system:e.systemId||null}}};function p(e,t){var n,r,a,i=t.schema,u=d.call(c,e.nodeName)?c[e.nodeName]:m;return u===m&&(t.schema=e.namespaceURI===l.svg?s:o),e.childNodes&&(n=function(e,t){for(var n=-1,r=[];++n<e.length;)r[n]=p(e[n],t);return r}(e.childNodes,t)),r=u(e,n,t),e.sourceCodeLocation&&t.file&&(a=g(r,e.sourceCodeLocation,t))&&(t.location=!0,r.position=a),t.schema=i,r}function f(e,t,n){var r,a,i={type:"root",children:t,data:{quirksMode:"quirks"===e.mode||"limited-quirks"===e.mode}};return n.file&&n.location&&(r=String(n.file),a=u(r),i.position={start:a.toPoint(0),end:a.toPoint(r.length)}),i}function m(e,t,n){for(var i,o,s,u,l,d="svg"===n.schema.space?r:a,c={},f=-1;++f<e.attrs.length;)c[((o=e.attrs[f]).prefix?o.prefix+":":"")+o.name]=o.value;return"template"===(i=d(e.tagName,c,t)).tagName&&"content"in e&&(u=(s=e.sourceCodeLocation)&&s.startTag&&h(s.startTag).end,l=s&&s.endTag&&h(s.endTag).start,i.content=p(e.content,n),(u||l)&&n.file&&(i.content.position={start:u,end:l})),i}function g(e,t,n){var r,a,o,s=h(t);if("element"===e.type&&(r=e.children[e.children.length-1],!t.endTag&&r&&r.position&&r.position.end&&(s.end=Object.assign({},r.position.end)),n.verbose)){for(a in o={},t.attrs)o[i(n.schema,a).property]=h(t.attrs[a]);e.data={position:{opening:h(t.startTag),closing:t.endTag?h(t.endTag):null,properties:o}}}return s}function h(e){var t=b({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=b({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:null}function b(e){return e.line&&e.column?e:null}},64011:e=>{"use strict";var t={}.hasOwnProperty;e.exports=function(e,n){var r,a;return!(!e||!n||"object"!=typeof e||"element"!==e.type)&&(null!=(a=(r=e.properties)&&t.call(r,n)&&r[n])&&!1!==a)}},84866:e=>{"use strict";e.exports=function(e){var a=(e&&"element"===e.type&&e.tagName||"").toLowerCase(),i=2===a.length&&a.charCodeAt(0)===t?a.charCodeAt(1):0;return i>n&&i<=r?i-n:null};var t=104,n=48,r=54},94334:e=>{"use strict";e.exports=function(e,n){for(var r,a,i,o=e||"",s=n||"div",u={},l=0;l<o.length;)t.lastIndex=l,i=t.exec(o),(r=o.slice(l,i?i.index:o.length))&&(a?"#"===a?u.id=r:u.className?u.className.push(r):u.className=[r]:s=r,l+=r.length),i&&(a=i[0],l++);return{type:"element",tagName:s,properties:u,children:[]}};var t=/[#.]/g},40017:(e,t,n)=>{"use strict";var r=n(14941),a=n(79885),i=n(24905),o=n(15194),s=n(99745),u=n(80078),l=n(10784),d=n(118),c=n(35592);e.exports=function e(t,n,y){var C,N,R,I,k,v,O,D,w,L,x=new r(T),P=d("type",{handlers:{root:function(e){F(e.children)},element:function(e){B(),x._processToken(function(e){var t=_(e);return t.startTag=c(t),{type:g,tagName:e.tagName,selfClosing:!1,attrs:A(e),location:t}}(e),l.html),F(e.children),u.indexOf(e.tagName)<0&&(B(),x._processToken(function(e){var t=_(e);return t.endTag=c(t),{type:h,tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){B(),x._processToken({type:m,chars:e.value,location:_(e)})},comment:M,doctype:function(e){var t=s(e);B(),x._processToken({type:E,name:t.name,forceQuirks:!1,publicId:t.publicId,systemId:t.systemId,location:_(e)})},raw:function(e){var t,n=a.start(e),r=n.line||1,i=n.column||1,o=n.offset||0;R.html=null,R.pos=-1,R.lastGapPos=-1,R.lastCharPos=-1,R.gapStack=[],R.skipNextNewLine=!1,R.lastChunkWritten=!1,R.endOfChunkHit=!1,I.isEol=!1,I.lineStartPos=1-i,I.droppedBufferSize=o,I.offset=0,I.col=1,I.line=r,k.currentAttrLocation=null,k.ctLoc=_(e),N.write(e.value),x._runParsingLoop(null),(t=N.currentCharacterToken)&&(t.location.endLine=I.line,t.location.endCol=I.col+1,t.location.endOffset=I.offset+1,x._processToken(t))}},unknown:S});if(n&&!("contents"in n)&&(y=n,n=void 0),y&&y.passThrough)for(O=-1;++O<y.passThrough.length;)P.handlers[y.passThrough[O]]=U;return v=o(!(L="root"===(w=t).type?w.children[0]:w)||"doctype"!==L.type&&"html"!==L.tagName?function(){var e={nodeName:"template",tagName:"template",attrs:[],namespaceURI:l.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:l.html,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};return x._bootstrap(n,e),x._pushTmplInsertionMode(p),x._initTokenizerForFragmentParsing(),x._insertFakeRootElement(),x._resetInsertionMode(),x._findFormInFragmentContext(),N=x.tokenizer,R=N.preprocessor,k=N.__mixins[0],I=k.posTracker,P(t),x._adoptNodes(n.childNodes[0],r),r}():(D=x.treeAdapter.createDocument(),x._bootstrap(D,null),N=x.tokenizer,R=N.preprocessor,k=N.__mixins[0],I=k.posTracker,P(t),D),n),C&&i(v,"comment",(function(e,t,n){if(e.value.stitch)return n.children[t]=e.value.stitch,t})),"root"!==t.type&&1===v.children.length?v.children[0]:v;function F(e){var t=-1;if(e)for(;++t<e.length;)P(e[t])}function M(e){B(),x._processToken({type:b,data:e.value,location:_(e)})}function U(t){var r=Object.assign({},t);C=!0,t.children&&(r.children=e({type:"root",children:t.children},n,y).children),M({value:{stitch:r}})}function B(){N.tokenQueue=[],N.state=f,N.returnState="",N.charRefCode=-1,N.tempBuff=[],N.lastStartTagName="",N.consumedAfterSnapshot=-1,N.active=!1,N.currentCharacterToken=null,N.currentToken=null,N.currentAttr=null}};var p="IN_TEMPLATE_MODE",f="DATA_STATE",m="CHARACTER_TOKEN",g="START_TAG_TOKEN",h="END_TAG_TOKEN",b="COMMENT_TOKEN",E="DOCTYPE_TOKEN",T={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function A(e){return s({tagName:e.tagName,type:"element",properties:e.properties}).attrs}function S(e){throw new Error("Cannot compile `"+e.type+"` node")}function _(e){var t=a.start(e),n=a.end(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}},99745:(e,t,n)=>{"use strict";var r=n(35592),a=n(97952),i=n(72107),o=n(61946),s=n(33347),u=n(10784),l=n(118);e.exports=function(e,t){return c(e,"svg"===t?i:a)};var d=["svg","html"],c=l("type");function p(e,t,n){var r,a=n,o=e.position,s=e.children,l=[],d=s?s.length:0,p=-1;for("element"===e.type&&("html"===a.space&&"svg"===e.tagName&&(a=i),t.namespaceURI=u[a.space]);++p<d;)(r=c(s[p],a)).parentNode=t,l[p]=r;return"element"!==e.type&&"root"!==e.type||(t.childNodes=l),o&&o.start&&o.end&&(t.sourceCodeLocation={startLine:o.start.line,startCol:o.start.column,startOffset:o.start.offset,endLine:o.end.line,endCol:o.end.column,endOffset:o.end.offset}),t}c.handlers.root=function(e,t){return p(e,{nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks"},t)},c.handlers.element=function(e,t){var n=t.space,a=r(e,{children:[]});return s((function(n,r){var i,s,l,c,f,m,g=[];for(c in r)f=o(t,c),!1===(s=r[c])||f.boolean&&!s||(l={name:c,value:!0===s?"":String(s)},f.space&&-1===d.indexOf(f.space)&&(-1===(m=c.indexOf(":"))?l.prefix="":(l.name=c.slice(m+1),l.prefix=c.slice(0,m)),l.namespace=u[f.space]),g.push(l));return i=p(e,{nodeName:n,tagName:n,attrs:g},t),"template"===n&&(i.content=function(e,t){return p(e,{nodeName:"#document-fragment"},t)}(a.content,t)),i}),a,{space:n})},c.handlers.text=function(e,t){return p(e,{nodeName:"#text",value:e.value},t)},c.handlers.comment=function(e,t){return p(e,{nodeName:"#comment",data:e.value},t)},c.handlers.doctype=function(e,t){return p(e,{nodeName:"#documentType",name:e.name,publicId:e.public||"",systemId:e.system||""},t)}},55186:e=>{"use strict";function t(e){return"text"===e.type?e.value:e.children?n(e):""}function n(e){for(var n=e.children,r=n.length,a=-1,i=[];++a<r;)i[a]=t(n[a]);return i.join("")}e.exports=function(e){return"children"in e?n(e):"value"in e?e.value:""}},68174:(e,t,n)=>{"use strict";var r=n(61946),a=n(94310),i=n(94334),o=n(11014).parse,s=n(51697).parse;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r<n;)a[(t=e[r]).toLowerCase()]=t;return a}(n):null;return function(e,n){var r,o=i(e,t),s=Array.prototype.slice.call(arguments,2),d=o.tagName.toLowerCase();if(o.tagName=a&&u.call(a,d)?a[d]:d,n&&function(e,t){return"string"==typeof e||"length"in e||function(e,t){var n=t.type;return!("input"===e||!n||"string"!=typeof n)&&("object"==typeof t.children&&"length"in t.children||(n=n.toLowerCase(),"button"===e?"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n:"value"in t))}(t.tagName,e)}(n,o)&&(s.unshift(n),n=null),n)for(r in n)c(o.properties,r,n[r]);return l(o.children,s),"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o};function c(t,n,a){var i,u,l;null!=a&&a==a&&(u=(i=r(e,n)).property,"string"==typeof(l=a)&&(i.spaceSeparated?l=o(l):i.commaSeparated?l=s(l):i.commaOrSpaceSeparated&&(l=o(s(l).join(" ")))),"style"===u&&"string"!=typeof a&&(l=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(l)),"className"===u&&t.className&&(l=t.className.concat(l)),t[u]=function(e,t,n){var r,a,i;if("object"!=typeof n||!("length"in n))return d(e,t,n);for(a=n.length,r=-1,i=[];++r<a;)i[r]=d(e,t,n[r]);return i}(i,u,l))}};var u={}.hasOwnProperty;function l(e,t){var n,r;if("string"!=typeof t&&"number"!=typeof t)if("object"==typeof t&&"length"in t)for(n=-1,r=t.length;++n<r;)l(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");e.push(t)}else e.push({type:"text",value:String(t)})}function d(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&("string"!=typeof r||""!==r&&a(n)!==a(t)||(r=!0)),r}},647:(e,t,n)=>{"use strict";var r=n(97952),a=n(68174)(r,"div");a.displayName="html",e.exports=a},21168:(e,t,n)=>{"use strict";e.exports=n(647)},87010:(e,t,n)=>{"use strict";var r=n(72107),a=n(70447),i=n(68174)(r,"g",a);i.displayName="svg",e.exports=i},97832:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},53922:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,u=/^\s+|\s+$/g,l="";function d(e){return e?e.replace(u,l):l}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,p=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function m(){var e={line:c,column:p};return function(t){return t.position=new g(e),T(),t}}function g(e){this.start=e,this.end={line:c,column:p},this.source=u.source}g.prototype.content=e;var h=[];function b(t){var n=new Error(u.source+":"+c+":"+p+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=p,n.source=e,!u.silent)throw n;h.push(n)}function E(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function T(){E(r)}function A(e){var t;for(e=e||[];t=S();)!1!==t&&e.push(t);return e}function S(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;l!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,l===e.charAt(n-1))return b("End of comment missing");var r=e.slice(2,n-2);return p+=2,f(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function _(){var e=m(),n=E(a);if(n){if(S(),!E(i))return b("property missing ':'");var r=E(o),u=e({type:"declaration",property:d(n[0].replace(t,l)),value:r?d(r[0].replace(t,l)):l});return E(s),u}}return T(),function(){var e,t=[];for(A(t);e=_();)!1!==e&&(t.push(e),A(t));return t}()}},44968:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},61572:(e,t,n)=>{"use strict";var r=n(44968),a=n(56845);e.exports=function(e){return r(e)||a(e)}},63672:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},56845:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},85609:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},99734:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},70209:e=>{"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\s/},61984:e=>{"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\w/},50447:e=>{"use strict";e.exports=a;var t=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],n=t.concat(["~","|"]),r=n.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);function a(e){var a=e||{};return a.commonmark?r:a.gfm?n:t}a.default=t,a.gfm=n,a.commonmark=r},75626:(e,t,n)=>{"use strict";var r=n(24905);e.exports=function(e,t){return n=function(e,t){var n={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return r(e,"definition",t&&t.commonmark?function(e){var t=i(e.identifier);a.call(n,t)||(n[t]=e)}:function(e){n[i(e.identifier)]=e}),n}(e,t),function(e){var t=e&&i(e);return t&&a.call(n,t)?n[t]:null};var n};var a={}.hasOwnProperty;function i(e){return e.toUpperCase()}},51816:(e,t,n)=>{"use strict";e.exports=n(29700)},53247:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n,a,i=t.children||[],o=i.length,s=[],u=-1;++u<o;)(n=r(e,i[u],t))&&(u&&"break"===i[u-1].type&&(n.value&&(n.value=n.value.replace(/^\s+/,"")),(a=n.children&&n.children[0])&&a.value&&(a.value=a.value.replace(/^\s+/,""))),s=s.concat(n));return s};var r=n(8960)},1529:(e,t,n)=>{"use strict";e.exports=function(e){for(var t,n,o,s,u=e.footnoteById,l=e.footnoteOrder,d=l.length,c=-1,p=[];++c<d;)(t=u[l[c].toUpperCase()])&&(s=(o=t.children.concat())[o.length-1],n={type:"link",url:"#fnref-"+t.identifier,data:{hProperties:{className:["footnote-backref"]}},children:[{type:"text",value:"↩"}]},s&&"paragraph"===s.type||(s={type:"paragraph",children:[]},o.push(s)),s.children.push(n),p.push({type:"listItem",data:{hProperties:{id:"fn-"+t.identifier}},children:o,position:t.position}));return 0===p.length?null:e(null,"div",{className:["footnotes"]},i([r(e),a(e,{type:"list",ordered:!0,children:p})],!0))};var r=n(2355),a=n(98438),i=n(9386)},50805:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"blockquote",r(a(e,t),!0))};var r=n(9386),a=n(53247)},14259:(e,t,n)=>{"use strict";e.exports=function(e,t){return[e(t,"br"),r("text","\n")]};var r=n(17130)},31655:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.value?t.value+"\n":"",a=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};return a&&(i.className=["language-"+a]),e(t.position,"pre",[e(t,"code",i,[r("text",n)])])};var r=n(17130)},51910:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"del",r(e,t))};var r=n(53247)},4288:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"em",r(e,t))};var r=n(53247)},43534:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=e.footnoteOrder,a=String(t.identifier);return-1===n.indexOf(a)&&n.push(a),e(t.position,"sup",{id:"fnref-"+a},[e(t,"a",{href:"#fn-"+a,className:["footnote-ref"]},[r("text",t.label||a)])])};var r=n(17130)},75318:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n=e.footnoteById,a=e.footnoteOrder,i=1;i in n;)i++;return i=String(i),a.push(i),n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},r(e,{type:"footnoteReference",identifier:i,position:t.position})};var r=n(43534)},99042:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"h"+t.depth,r(e,t))};var r=n(53247)},94443:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.dangerous?e.augment(t,r("raw",t.value)):null};var r=n(17130)},57753:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i=e.definition(t.identifier);return i?(n={src:r(i.url||""),alt:t.alt},null!==i.title&&void 0!==i.title&&(n.title=i.title),e(t,"img",n)):a(e,t)};var r=n(70457),a=n(55548)},12649:(e,t,n)=>{"use strict";var r=n(70457);e.exports=function(e,t){var n={src:r(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)}},76940:(e,t,n)=>{"use strict";function r(){return null}e.exports={blockquote:n(50805),break:n(14259),code:n(31655),delete:n(51910),emphasis:n(4288),footnoteReference:n(43534),footnote:n(75318),heading:n(99042),html:n(94443),imageReference:n(57753),image:n(12649),inlineCode:n(82769),linkReference:n(89542),link:n(96686),listItem:n(57980),list:n(98438),paragraph:n(20510),root:n(14642),strong:n(6601),table:n(74760),text:n(41749),thematicBreak:n(2355),toml:r,yaml:r,definition:r,footnoteDefinition:r}},82769:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.value.replace(/\r?\n|\r/g," ");return e(t,"code",[r("text",n)])};var r=n(17130)},89542:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o=e.definition(t.identifier);return o?(n={href:r(o.url||"")},null!==o.title&&void 0!==o.title&&(n.title=o.title),e(t,"a",n,i(e,t))):a(e,t)};var r=n(70457),a=n(55548),i=n(53247)},96686:(e,t,n)=>{"use strict";var r=n(70457),a=n(53247);e.exports=function(e,t){var n={href:r(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,a(e,t))}},57980:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var o,s,u,l=a(e,t),d=l[0],c=n?function(e){for(var t=e.spread,n=e.children,r=n.length,a=-1;!t&&++a<r;)t=i(n[a]);return t}(n):i(t),p={},f=[];for("boolean"==typeof t.checked&&(d&&"p"===d.tagName||(d=e(null,"p",[]),l.unshift(d)),0!==d.children.length&&d.children.unshift(r("text"," ")),d.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),p.className=["task-list-item"]),o=l.length,s=-1;++s<o;)u=l[s],(c||0!==s||"p"!==u.tagName)&&f.push(r("text","\n")),"p"!==u.tagName||c?f.push(u):f=f.concat(u.children);return o&&(c||"p"!==u.tagName)&&f.push(r("text","\n")),e(t,"li",p,f)};var r=n(17130),a=n(53247);function i(e){var t=e.spread;return null==t?e.children.length>1:t}},98438:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i,o={},s=t.ordered?"ol":"ul",u=-1;for("number"==typeof t.start&&1!==t.start&&(o.start=t.start),i=(n=a(e,t)).length;++u<i;)if(n[u].properties.className&&-1!==n[u].properties.className.indexOf("task-list-item")){o.className=["contains-task-list"];break}return e(t,s,o,r(n,!0))};var r=n(9386),a=n(53247)},20510:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"p",r(e,t))};var r=n(53247)},14642:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("root",a(i(e,t))))};var r=n(17130),a=n(9386),i=n(53247)},6601:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(53247)},74760:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n,o,s,u,l,d=t.children,c=d.length,p=t.align||[],f=p.length,m=[];c--;){for(o=d[c].children,u=0===c?"th":"td",n=f||o.length,s=[];n--;)l=o[n],s[n]=e(l,u,{align:p[n]},l?i(e,l):[]);m[c]=e(d[c],"tr",a(s,!0))}return e(t,"table",a([e(m[0].position,"thead",a([m[0]],!0))].concat(m[1]?e({start:r.start(m[1]),end:r.end(m[m.length-1])},"tbody",a(m.slice(1),!0)):[]),!0))};var r=n(79885),a=n(9386),i=n(53247)},41749:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))};var r=n(17130)},2355:e=>{"use strict";e.exports=function(e,t){return e(t,"hr")}},29700:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=function(e,t){var n=t||{};void 0===n.allowDangerousHTML||p||(p=!0,console.warn("mdast-util-to-hast: deprecation: `allowDangerousHTML` is nonstandard, use `allowDangerousHtml` instead"));var r=n.allowDangerousHtml||n.allowDangerousHTML,u={};return f.dangerous=r,f.definition=s(e,n),f.footnoteById=u,f.footnoteOrder=[],f.augment=l,f.handlers=Object.assign({},d,n.handlers),f.unknownHandler=n.unknownHandler,a(e,"footnoteDefinition",(function(e){var t=String(e.identifier).toUpperCase();c.call(u,t)||(u[t]=e)})),f;function l(e,t){var n,r;return e&&"data"in e&&(n=e.data,"element"===t.type&&n.hName&&(t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=Object.assign({},t.properties,n.hProperties)),t.children&&n.hChildren&&(t.children=n.hChildren)),r=e&&e.position?e:{position:e},o(r)||(t.position={start:i.start(r),end:i.end(r)}),t}function f(e,t,n,r){return null==r&&"object"==typeof n&&"length"in n&&(r=n,n={}),l(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),f=u(n,e),m=l(n);return m&&(f.children=f.children.concat(r("text","\n"),m)),f};var r=n(17130),a=n(24905),i=n(79885),o=n(30399),s=n(75626),u=n(8960),l=n(1529),d=n(76940),c={}.hasOwnProperty,p=!1},8960:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var r=t&&t.type,a=i.call(e.handlers,r)?e.handlers[r]:e.unknownHandler;if(!r)throw new Error("Expected node, got `"+t+"`");return("function"==typeof a?a:o)(e,t,n)};var r=n(17130),a=n(53247),i={}.hasOwnProperty;function o(e,t){return function(e){var t=e.data||{};return!(i.call(t,"hName")||i.call(t,"hProperties")||i.call(t,"hChildren"))&&"value"in e}(t)?e.augment(t,r("text",t.value)):e(t,"div",a(e,t))}},55548:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i,o,s=t.referenceType,u="]";return"collapsed"===s?u+="[]":"full"===s&&(u+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type?r("text","!["+t.alt+u):((i=(n=a(e,t))[0])&&"text"===i.type?i.value="["+i.value:n.unshift(r("text","[")),(o=n[n.length-1])&&"text"===o.type?o.value+=u:n.push(r("text",u)),n)};var r=n(17130),a=n(53247)},9386:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=[],a=-1,i=e.length;for(t&&n.push(r("text","\n"));++a<i;)a&&n.push(r("text","\n")),n.push(e[a]);return t&&0!==e.length&&n.push(r("text","\n")),n};var r=n(17130)},70457:e=>{"use strict";var t={};function n(e,r,a){var i,o,s,u,l,d="";for("string"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),l=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),i=0,o=e.length;i<o;i++)if(s=e.charCodeAt(i),a&&37===s&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))d+=e.slice(i,i+3),i+=2;else if(s<128)d+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<o&&(u=e.charCodeAt(i+1))>=56320&&u<=57343){d+=encodeURIComponent(e[i]+e[i+1]),i++;continue}d+="%EF%BF%BD"}else d+=encodeURIComponent(e[i]);return d}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},80950:e=>{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&(n!==r&&n)}},78818:(e,t,n)=>{"use strict";var r=n(82719),a=n(21257),i=n(56845),o=n(85609),s=n(61572),u=n(80950);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,B,G,H,$,z,V,K,W,j,Y,q,X,Z,Q,J,ee,te=t.additional,ne=t.nonTerminated,re=t.text,ae=t.reference,ie=t.warning,oe=t.textContext,se=t.referenceContext,ue=t.warningContext,le=t.position,de=t.indent||[],ce=e.length,pe=0,fe=-1,me=le.column||1,ge=le.line||1,he="",be=[];for("string"==typeof te&&(te=te.charCodeAt(0)),X=Ee(),$=ie?function(e,t){var n=Ee();n.column+=t,n.offset+=t,ie.call(ue,M[e],n,e)}:c,pe--,ce++;++pe<ce;)if(B===m&&(me=de[fe]||1),(B=e.charCodeAt(pe))===b){if((H=e.charCodeAt(pe+1))===f||H===m||H===g||H===h||H===b||H===T||H!=H||te&&H===te){he+=d(B),me++;continue}for(W=j=pe+1,J=j,H===S?(J=++W,(H=e.charCodeAt(J))===_||H===y?(Y=R,J=++W):Y=I):Y=N,n="",K="",p="",q=v[Y],J--;++J<ce&&q(H=e.charCodeAt(J));)p+=d(H),Y===N&&l.call(r,p)&&(n=p,K=r[p]);(o=e.charCodeAt(J)===E)&&(J++,(i=Y===N&&u(p))&&(n=p,K=i)),Q=1+J-j,(o||ne)&&(p?Y===N?(o&&!K?$(x,1):(n!==p&&(Q=1+(J=W+n.length)-W,o=!1),o||(z=n?O:w,t.attribute?(H=e.charCodeAt(J))===A?($(z,Q),K=null):s(H)?K=null:$(z,Q):$(z,Q))),G=K):(o||$(D,Q),(ee=G=parseInt(p,k[Y]))>=55296&&ee<=57343||ee>1114111?($(F,Q),G=d(C)):G in a?($(P,Q),G=a[G]):(V="",U(G)&&$(P,Q),G>65535&&(V+=d((G-=65536)>>>10|55296),G=56320|1023&G),G=V+d(G))):Y!==N&&$(L,Q)),G?(Te(),X=Ee(),pe=J-1,me+=J-j+1,be.push(G),(Z=Ee()).offset++,ae&&ae.call(se,G,{start:X,end:Z},e.slice(j-1,J)),X=Z):(p=e.slice(j-1,J),he+=p,me+=p.length,pe=J-1)}else 10===B&&(ge++,fe++,me=0),B==B?(he+=d(B),me++):Te();return be.join("");function Ee(){return{line:ge,column:me,offset:pe+(le.offset||0)}}function Te(){he&&(be.push(he),re&&re.call(oe,he,{start:X,end:Ee()}),he="")}}(e,o)};var l={}.hasOwnProperty,d=String.fromCharCode,c=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f=9,m=10,g=12,h=32,b=38,E=59,T=60,A=61,S=35,_=88,y=120,C=65533,N="named",R="hexadecimal",I="decimal",k={};k[R]=16,k[I]=10;var v={};v[N]=s,v[I]=i,v[R]=o;var O=1,D=2,w=3,L=4,x=5,P=6,F=7,M={};function U(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}M[O]="Named character references must be terminated by a semicolon",M[D]="Numeric character references must be terminated by a semicolon",M[w]="Named character references cannot be empty",M[L]="Numeric character references cannot be empty",M[x]="Named character references must be known",M[P]="Numeric character references cannot be disallowed",M[F]="Numeric character references cannot be outside the permissible Unicode range"},10421:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(7202),a="html",i=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],o=i.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],u=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],l=u.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function d(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function c(e,t){for(let n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}t.isConforming=function(e){return e.name===a&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==a)return r.QUIRKS;const t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return r.QUIRKS;let n=e.publicId;if(null!==n){if(n=n.toLowerCase(),s.indexOf(n)>-1)return r.QUIRKS;let e=null===t?o:i;if(c(n,e))return r.QUIRKS;if(e=null===t?u:l,c(n,e))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+d(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+d(n)),r}},78054:e=>{"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},339:(e,t,n)=>{"use strict";const r=n(56283),a=n(7202),i=a.TAG_NAMES,o=a.NAMESPACES,s=a.ATTRS,u={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},l={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:o.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:o.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:o.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:o.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:o.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:o.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:o.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:o.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:o.XML},"xml:space":{prefix:"xml",name:"space",namespace:o.XML},xmlns:{prefix:"",name:"xmlns",namespace:o.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:o.XMLNS}},d=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},c={[i.B]:!0,[i.BIG]:!0,[i.BLOCKQUOTE]:!0,[i.BODY]:!0,[i.BR]:!0,[i.CENTER]:!0,[i.CODE]:!0,[i.DD]:!0,[i.DIV]:!0,[i.DL]:!0,[i.DT]:!0,[i.EM]:!0,[i.EMBED]:!0,[i.H1]:!0,[i.H2]:!0,[i.H3]:!0,[i.H4]:!0,[i.H5]:!0,[i.H6]:!0,[i.HEAD]:!0,[i.HR]:!0,[i.I]:!0,[i.IMG]:!0,[i.LI]:!0,[i.LISTING]:!0,[i.MENU]:!0,[i.META]:!0,[i.NOBR]:!0,[i.OL]:!0,[i.P]:!0,[i.PRE]:!0,[i.RUBY]:!0,[i.S]:!0,[i.SMALL]:!0,[i.SPAN]:!0,[i.STRONG]:!0,[i.STRIKE]:!0,[i.SUB]:!0,[i.SUP]:!0,[i.TABLE]:!0,[i.TT]:!0,[i.U]:!0,[i.UL]:!0,[i.VAR]:!0};t.causesExit=function(e){const t=e.tagName;return!(t!==i.FONT||null===r.getTokenAttr(e,s.COLOR)&&null===r.getTokenAttr(e,s.SIZE)&&null===r.getTokenAttr(e,s.FACE))||c[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=u[e.attrs[t].name];n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=l[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){const t=d[e.tagName];t&&(e.tagName=t)},t.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==o.HTML||!function(e,t,n){if(t===o.MATHML&&e===i.ANNOTATION_XML)for(let e=0;e<n.length;e++)if(n[e].name===s.ENCODING){const t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}return t===o.SVG&&(e===i.FOREIGN_OBJECT||e===i.DESC||e===i.TITLE)}(e,t,n))||!(r&&r!==o.MATHML||!function(e,t){return t===o.MATHML&&(e===i.MI||e===i.MO||e===i.MN||e===i.MS||e===i.MTEXT)}(e,t))}},7202:(e,t)=>{"use strict";const n=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const r=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[n.HTML]:{[r.ADDRESS]:!0,[r.APPLET]:!0,[r.AREA]:!0,[r.ARTICLE]:!0,[r.ASIDE]:!0,[r.BASE]:!0,[r.BASEFONT]:!0,[r.BGSOUND]:!0,[r.BLOCKQUOTE]:!0,[r.BODY]:!0,[r.BR]:!0,[r.BUTTON]:!0,[r.CAPTION]:!0,[r.CENTER]:!0,[r.COL]:!0,[r.COLGROUP]:!0,[r.DD]:!0,[r.DETAILS]:!0,[r.DIR]:!0,[r.DIV]:!0,[r.DL]:!0,[r.DT]:!0,[r.EMBED]:!0,[r.FIELDSET]:!0,[r.FIGCAPTION]:!0,[r.FIGURE]:!0,[r.FOOTER]:!0,[r.FORM]:!0,[r.FRAME]:!0,[r.FRAMESET]:!0,[r.H1]:!0,[r.H2]:!0,[r.H3]:!0,[r.H4]:!0,[r.H5]:!0,[r.H6]:!0,[r.HEAD]:!0,[r.HEADER]:!0,[r.HGROUP]:!0,[r.HR]:!0,[r.HTML]:!0,[r.IFRAME]:!0,[r.IMG]:!0,[r.INPUT]:!0,[r.LI]:!0,[r.LINK]:!0,[r.LISTING]:!0,[r.MAIN]:!0,[r.MARQUEE]:!0,[r.MENU]:!0,[r.META]:!0,[r.NAV]:!0,[r.NOEMBED]:!0,[r.NOFRAMES]:!0,[r.NOSCRIPT]:!0,[r.OBJECT]:!0,[r.OL]:!0,[r.P]:!0,[r.PARAM]:!0,[r.PLAINTEXT]:!0,[r.PRE]:!0,[r.SCRIPT]:!0,[r.SECTION]:!0,[r.SELECT]:!0,[r.SOURCE]:!0,[r.STYLE]:!0,[r.SUMMARY]:!0,[r.TABLE]:!0,[r.TBODY]:!0,[r.TD]:!0,[r.TEMPLATE]:!0,[r.TEXTAREA]:!0,[r.TFOOT]:!0,[r.TH]:!0,[r.THEAD]:!0,[r.TITLE]:!0,[r.TR]:!0,[r.TRACK]:!0,[r.UL]:!0,[r.WBR]:!0,[r.XMP]:!0},[n.MATHML]:{[r.MI]:!0,[r.MO]:!0,[r.MN]:!0,[r.MS]:!0,[r.MTEXT]:!0,[r.ANNOTATION_XML]:!0},[n.SVG]:{[r.TITLE]:!0,[r.FOREIGN_OBJECT]:!0,[r.DESC]:!0}}},79332:(e,t)=>{"use strict";const n=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];t.REPLACEMENT_CHARACTER="�",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},72401:(e,t,n)=>{"use strict";const r=n(24810);e.exports=class extends r{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}}},66579:(e,t,n)=>{"use strict";const r=n(72401),a=n(79111),i=n(98372),o=n(24810);e.exports=class extends r{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),o.install(this.tokenizer,a,e.opts),o.install(this.tokenizer,i)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}},43951:(e,t,n)=>{"use strict";const r=n(72401),a=n(90225),i=n(24810);e.exports=class extends r{constructor(e,t){super(e,t),this.posTracker=i.install(e,a),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}}},79111:(e,t,n)=>{"use strict";const r=n(72401),a=n(43951),i=n(24810);e.exports=class extends r{constructor(e,t){super(e,t);const n=i.install(e.preprocessor,a,t);this.posTracker=n.posTracker}}},18561:(e,t,n)=>{"use strict";const r=n(24810);e.exports=class extends r{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}},82386:(e,t,n)=>{"use strict";const r=n(24810),a=n(56283),i=n(98372),o=n(18561),s=n(7202).TAG_NAMES;e.exports=class extends r{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),i={};t.type===a.END_TAG_TOKEN&&r===t.tagName?(i.endTag=Object.assign({},n),i.endLine=n.endLine,i.endCol=n.endCol,i.endOffset=n.endOffset):(i.endLine=n.startLine,i.endCol=n.startCol,i.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}_getOverriddenMethods(e,t){return{_bootstrap(n,a){t._bootstrap.call(this,n,a),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const s=r.install(this.tokenizer,i);e.posTracker=s.posTracker,r.install(this.openElements,o,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===a.END_TAG_TOKEN&&(n.tagName===s.HTML||n.tagName===s.BODY&&this.openElements.hasInScope(s.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t<r;t++){const r=n[t];if(this.treeAdapter.isDocumentTypeNode(r)){this.treeAdapter.setNodeSourceCodeLocation(r,e.location);break}}},_attachElementToTree(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);const r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(e,n){t._appendCommentNode.call(this,e,n);const r=this.treeAdapter.getChildNodes(n),a=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(a,e.location)},_findFosterParentingLocation(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters(n){t._insertCharacters.call(this,n);const r=this._shouldFosterParentOnInsertion(),a=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,i=this.treeAdapter.getChildNodes(a),o=r&&e.lastFosterParentingLocation.beforeElement?i.indexOf(e.lastFosterParentingLocation.beforeElement)-1:i.length-1,s=i[o];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:e,endCol:t,endOffset:r}=n.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:e,endCol:t,endOffset:r})}else this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}}},98372:(e,t,n)=>{"use strict";const r=n(24810),a=n(56283),i=n(90225);e.exports=class extends r{constructor(e){super(e),this.tokenizer=e,this.posTracker=r.install(e.preprocessor,i),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===a.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(a.MODE).forEach((r=>{const i=a.MODE[r];n[i]=function(n){e.ctLoc=e._getCurrentLocation(),t[i].call(this,n)}})),n}}},90225:(e,t,n)=>{"use strict";const r=n(24810);e.exports=class extends r{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}},6164:e=>{"use strict";class t{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(e).length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const o=this.entries[e];if(o.type===t.MARKER_ENTRY)break;const s=o.element,u=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===a&&this.treeAdapter.getNamespaceURI(s)===i&&u.length===r&&n.push({idx:e,attrs:u})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),a=r.length,i=Object.create(null);for(let e=0;e<a;e++){const t=r[e];i[t.name]=t.value}for(let e=0;e<a;e++)for(let r=0;r<n;r++){const a=t[r].attrs[e];if(i[a.name]!==a.value&&(t.splice(r,1),n--),t.length<3)return}for(let e=n-1;e>=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:t.MARKER_ENTRY}),this.length++}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}insertElementAfterBookmark(e,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const e=this.entries.pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}getElementEntry(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}t.MARKER_ENTRY="MARKER_ENTRY",t.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=t},14941:(e,t,n)=>{"use strict";const r=n(56283),a=n(68869),i=n(6164),o=n(82386),s=n(66579),u=n(24810),l=n(63452),d=n(34724),c=n(10421),p=n(339),f=n(78054),m=n(79332),g=n(7202),h=g.TAG_NAMES,b=g.NAMESPACES,E=g.ATTRS,T={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:l},A="hidden",S=8,_=3,y="INITIAL_MODE",C="BEFORE_HTML_MODE",N="BEFORE_HEAD_MODE",R="IN_HEAD_MODE",I="IN_HEAD_NO_SCRIPT_MODE",k="AFTER_HEAD_MODE",v="IN_BODY_MODE",O="TEXT_MODE",D="IN_TABLE_MODE",w="IN_TABLE_TEXT_MODE",L="IN_CAPTION_MODE",x="IN_COLUMN_GROUP_MODE",P="IN_TABLE_BODY_MODE",F="IN_ROW_MODE",M="IN_CELL_MODE",U="IN_SELECT_MODE",B="IN_SELECT_IN_TABLE_MODE",G="IN_TEMPLATE_MODE",H="AFTER_BODY_MODE",$="IN_FRAMESET_MODE",z="AFTER_FRAMESET_MODE",V="AFTER_AFTER_BODY_MODE",K="AFTER_AFTER_FRAMESET_MODE",W={[h.TR]:F,[h.TBODY]:P,[h.THEAD]:P,[h.TFOOT]:P,[h.CAPTION]:L,[h.COLGROUP]:x,[h.TABLE]:D,[h.BODY]:v,[h.FRAMESET]:$},j={[h.CAPTION]:D,[h.COLGROUP]:D,[h.TBODY]:D,[h.TFOOT]:D,[h.THEAD]:D,[h.COL]:x,[h.TR]:P,[h.TD]:F,[h.TH]:F},Y={[y]:{[r.CHARACTER_TOKEN]:ue,[r.NULL_CHARACTER_TOKEN]:ue,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?g.DOCUMENT_MODE.QUIRKS:c.getDocumentMode(t);c.isConforming(t)||e._err(f.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=C},[r.START_TAG_TOKEN]:ue,[r.END_TAG_TOKEN]:ue,[r.EOF_TOKEN]:ue},[C]:{[r.CHARACTER_TOKEN]:le,[r.NULL_CHARACTER_TOKEN]:le,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?(e._insertElement(t,b.HTML),e.insertionMode=N):le(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==h.HTML&&n!==h.HEAD&&n!==h.BODY&&n!==h.BR||le(e,t)},[r.EOF_TOKEN]:le},[N]:{[r.CHARACTER_TOKEN]:de,[r.NULL_CHARACTER_TOKEN]:de,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.HEAD?(e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=R):de(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HEAD||n===h.BODY||n===h.HTML||n===h.BR?de(e,t):e._err(f.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:de},[R]:{[r.CHARACTER_TOKEN]:fe,[r.NULL_CHARACTER_TOKEN]:fe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:ce,[r.END_TAG_TOKEN]:pe,[r.EOF_TOKEN]:fe},[I]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:me,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.BASEFONT||n===h.BGSOUND||n===h.HEAD||n===h.LINK||n===h.META||n===h.NOFRAMES||n===h.STYLE?ce(e,t):n===h.NOSCRIPT?e._err(f.nestedNoscriptInHead):me(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.NOSCRIPT?(e.openElements.pop(),e.insertionMode=R):n===h.BR?me(e,t):e._err(f.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:me},[k]:{[r.CHARACTER_TOKEN]:ge,[r.NULL_CHARACTER_TOKEN]:ge,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.BODY?(e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=v):n===h.FRAMESET?(e._insertElement(t,b.HTML),e.insertionMode=$):n===h.BASE||n===h.BASEFONT||n===h.BGSOUND||n===h.LINK||n===h.META||n===h.NOFRAMES||n===h.SCRIPT||n===h.STYLE||n===h.TEMPLATE||n===h.TITLE?(e._err(f.abandonedHeadElementChild),e.openElements.push(e.headElement),ce(e,t),e.openElements.remove(e.headElement)):n===h.HEAD?e._err(f.misplacedStartTagForHeadElement):ge(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.BODY||n===h.HTML||n===h.BR?ge(e,t):n===h.TEMPLATE?pe(e,t):e._err(f.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:ge},[v]:{[r.CHARACTER_TOKEN]:be,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:ke,[r.END_TAG_TOKEN]:we,[r.EOF_TOKEN]:Le},[O]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:oe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:ne,[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[r.EOF_TOKEN]:function(e,t){e._err(f.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[D]:{[r.CHARACTER_TOKEN]:xe,[r.NULL_CHARACTER_TOKEN]:xe,[r.WHITESPACE_CHARACTER_TOKEN]:xe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Pe,[r.END_TAG_TOKEN]:Fe,[r.EOF_TOKEN]:Le},[w]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:Ue,[r.DOCTYPE_TOKEN]:Ue,[r.START_TAG_TOKEN]:Ue,[r.END_TAG_TOKEN]:Ue,[r.EOF_TOKEN]:Ue},[L]:{[r.CHARACTER_TOKEN]:be,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TD||n===h.TFOOT||n===h.TH||n===h.THEAD||n===h.TR?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D,e._processToken(t)):ke(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.CAPTION||n===h.TABLE?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D,n===h.TABLE&&e._processToken(t)):n!==h.BODY&&n!==h.COL&&n!==h.COLGROUP&&n!==h.HTML&&n!==h.TBODY&&n!==h.TD&&n!==h.TFOOT&&n!==h.TH&&n!==h.THEAD&&n!==h.TR&&we(e,t)},[r.EOF_TOKEN]:Le},[x]:{[r.CHARACTER_TOKEN]:Be,[r.NULL_CHARACTER_TOKEN]:Be,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.COL?(e._appendElement(t,b.HTML),t.ackSelfClosing=!0):n===h.TEMPLATE?ce(e,t):Be(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.COLGROUP?e.openElements.currentTagName===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=D):n===h.TEMPLATE?pe(e,t):n!==h.COL&&Be(e,t)},[r.EOF_TOKEN]:Le},[P]:{[r.CHARACTER_TOKEN]:xe,[r.NULL_CHARACTER_TOKEN]:xe,[r.WHITESPACE_CHARACTER_TOKEN]:xe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,b.HTML),e.insertionMode=F):n===h.TH||n===h.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(h.TR),e.insertionMode=F,e._processToken(t)):n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TFOOT||n===h.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.TBODY||n===h.TFOOT||n===h.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D):n===h.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D,e._processToken(t)):(n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP||n!==h.HTML&&n!==h.TD&&n!==h.TH&&n!==h.TR)&&Fe(e,t)},[r.EOF_TOKEN]:Le},[F]:{[r.CHARACTER_TOKEN]:xe,[r.NULL_CHARACTER_TOKEN]:xe,[r.WHITESPACE_CHARACTER_TOKEN]:xe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.TH||n===h.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,b.HTML),e.insertionMode=M,e.activeFormattingElements.insertMarker()):n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR?e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.TR?e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P):n===h.TABLE?e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):n===h.TBODY||n===h.TFOOT||n===h.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(h.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):(n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP||n!==h.HTML&&n!==h.TD&&n!==h.TH)&&Fe(e,t)},[r.EOF_TOKEN]:Le},[M]:{[r.CHARACTER_TOKEN]:be,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.CAPTION||n===h.COL||n===h.COLGROUP||n===h.TBODY||n===h.TD||n===h.TFOOT||n===h.TH||n===h.THEAD||n===h.TR?(e.openElements.hasInTableScope(h.TD)||e.openElements.hasInTableScope(h.TH))&&(e._closeTableCell(),e._processToken(t)):ke(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.TD||n===h.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F):n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP&&n!==h.HTML&&we(e,t)},[r.EOF_TOKEN]:Le},[U]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Ge,[r.END_TAG_TOKEN]:He,[r.EOF_TOKEN]:Le},[B]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e._processToken(t)):Ge(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.CAPTION||n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR||n===h.TD||n===h.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e._processToken(t)):He(e,t)},[r.EOF_TOKEN]:Le},[G]:{[r.CHARACTER_TOKEN]:be,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===h.BASE||n===h.BASEFONT||n===h.BGSOUND||n===h.LINK||n===h.META||n===h.NOFRAMES||n===h.SCRIPT||n===h.STYLE||n===h.TEMPLATE||n===h.TITLE)ce(e,t);else{const r=j[n]||v;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.TEMPLATE&&pe(e,t)},[r.EOF_TOKEN]:$e},[H]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?ke(e,t):ze(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?e.fragmentContext||(e.insertionMode=V):ze(e,t)},[r.EOF_TOKEN]:se},[$]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.FRAMESET?e._insertElement(t,b.HTML):n===h.FRAME?(e._appendElement(t,b.HTML),t.ackSelfClosing=!0):n===h.NOFRAMES&&ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName!==h.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===h.FRAMESET||(e.insertionMode=z))},[r.EOF_TOKEN]:se},[z]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ae,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.NOFRAMES&&ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===h.HTML&&(e.insertionMode=K)},[r.EOF_TOKEN]:se},[V]:{[r.CHARACTER_TOKEN]:Ve,[r.NULL_CHARACTER_TOKEN]:Ve,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===h.HTML?ke(e,t):Ve(e,t)},[r.END_TAG_TOKEN]:Ve,[r.EOF_TOKEN]:se},[K]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.NOFRAMES&&ce(e,t)},[r.END_TAG_TOKEN]:ne,[r.EOF_TOKEN]:se}};function q(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):De(e,t),n}function X(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a)&&(n=a)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Z(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);const n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=_;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Q(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Q(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function J(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),a=e.treeAdapter.getNamespaceURI(t);r===h.TEMPLATE&&a===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ee(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),a=n.token,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i)}function te(e,t){let n;for(let r=0;r<S&&(n=q(e,t),n);r++){const t=X(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=Z(e,t,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),J(e,a,r),ee(e,t,n)}}function ne(){}function re(e){e._err(f.misplacedDoctype)}function ae(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function ie(e,t){e._appendCommentNode(t,e.document)}function oe(e,t){e._insertCharacters(t)}function se(e){e.stopped=!0}function ue(e,t){e._err(f.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,g.DOCUMENT_MODE.QUIRKS),e.insertionMode=C,e._processToken(t)}function le(e,t){e._insertFakeRootElement(),e.insertionMode=N,e._processToken(t)}function de(e,t){e._insertFakeElement(h.HEAD),e.headElement=e.openElements.current,e.insertionMode=R,e._processToken(t)}function ce(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.BASE||n===h.BASEFONT||n===h.BGSOUND||n===h.LINK||n===h.META?(e._appendElement(t,b.HTML),t.ackSelfClosing=!0):n===h.TITLE?e._switchToTextParsing(t,r.MODE.RCDATA):n===h.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,r.MODE.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=I):n===h.NOFRAMES||n===h.STYLE?e._switchToTextParsing(t,r.MODE.RAWTEXT):n===h.SCRIPT?e._switchToTextParsing(t,r.MODE.SCRIPT_DATA):n===h.TEMPLATE?(e._insertTemplate(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=G,e._pushTmplInsertionMode(G)):n===h.HEAD?e._err(f.misplacedStartTagForHeadElement):fe(e,t)}function pe(e,t){const n=t.tagName;n===h.HEAD?(e.openElements.pop(),e.insertionMode=k):n===h.BODY||n===h.BR||n===h.HTML?fe(e,t):n===h.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==h.TEMPLATE&&e._err(f.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(f.endTagWithoutMatchingOpenElement)}function fe(e,t){e.openElements.pop(),e.insertionMode=k,e._processToken(t)}function me(e,t){const n=t.type===r.EOF_TOKEN?f.openElementsLeftAfterEof:f.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=R,e._processToken(t)}function ge(e,t){e._insertFakeElement(h.BODY),e.insertionMode=v,e._processToken(t)}function he(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function be(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ee(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML)}function Te(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Ae(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Se(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function _e(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ye(e,t){e._appendElement(t,b.HTML),t.ackSelfClosing=!0}function Ce(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Ne(e,t){e.openElements.currentTagName===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function Re(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML)}function Ie(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function ke(e,t){const n=t.tagName;switch(n.length){case 1:n===h.I||n===h.S||n===h.B||n===h.U?Ae(e,t):n===h.P?Ee(e,t):n===h.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(h.A);n&&(te(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):Ie(e,t);break;case 2:n===h.DL||n===h.OL||n===h.UL?Ee(e,t):n===h.H1||n===h.H2||n===h.H3||n===h.H4||n===h.H5||n===h.H6?function(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==h.H1&&n!==h.H2&&n!==h.H3&&n!==h.H4&&n!==h.H5&&n!==h.H6||e.openElements.pop(),e._insertElement(t,b.HTML)}(e,t):n===h.LI||n===h.DD||n===h.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.items[t],a=e.treeAdapter.getTagName(r);let i=null;if(n===h.LI&&a===h.LI?i=h.LI:n!==h.DD&&n!==h.DT||a!==h.DD&&a!==h.DT||(i=a),i){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(a!==h.ADDRESS&&a!==h.DIV&&a!==h.P&&e._isSpecialElement(r))break}e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t):n===h.EM||n===h.TT?Ae(e,t):n===h.BR?_e(e,t):n===h.HR?function(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===h.RB?Re(e,t):n===h.RT||n===h.RP?function(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,b.HTML)}(e,t):n!==h.TH&&n!==h.TD&&n!==h.TR&&Ie(e,t);break;case 3:n===h.DIV||n===h.DIR||n===h.NAV?Ee(e,t):n===h.PRE?Te(e,t):n===h.BIG?Ae(e,t):n===h.IMG||n===h.WBR?_e(e,t):n===h.XMP?function(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===h.SVG?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenSVGAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0}(e,t):n===h.RTC?Re(e,t):n!==h.COL&&Ie(e,t);break;case 4:n===h.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===h.BASE||n===h.LINK||n===h.META?ce(e,t):n===h.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===h.MAIN||n===h.MENU?Ee(e,t):n===h.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===h.CODE||n===h.FONT?Ae(e,t):n===h.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(te(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===h.AREA?_e(e,t):n===h.MATH?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenMathMLAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0}(e,t):n===h.MENU?function(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t):n!==h.HEAD&&Ie(e,t);break;case 5:n===h.STYLE||n===h.TITLE?ce(e,t):n===h.ASIDE?Ee(e,t):n===h.SMALL?Ae(e,t):n===h.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==g.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=D}(e,t):n===h.EMBED?_e(e,t):n===h.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML);const n=r.getTokenAttr(t,E.TYPE);n&&n.toLowerCase()===A||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===h.PARAM||n===h.TRACK?ye(e,t):n===h.IMAGE?function(e,t){t.tagName=h.IMG,_e(e,t)}(e,t):n!==h.FRAME&&n!==h.TBODY&&n!==h.TFOOT&&n!==h.THEAD&&Ie(e,t);break;case 6:n===h.SCRIPT?ce(e,t):n===h.CENTER||n===h.FIGURE||n===h.FOOTER||n===h.HEADER||n===h.HGROUP||n===h.DIALOG?Ee(e,t):n===h.BUTTON?function(e,t){e.openElements.hasInScope(h.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1}(e,t):n===h.STRIKE||n===h.STRONG?Ae(e,t):n===h.APPLET||n===h.OBJECT?Se(e,t):n===h.KEYGEN?_e(e,t):n===h.SOURCE?ye(e,t):n===h.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===h.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode===D||e.insertionMode===L||e.insertionMode===P||e.insertionMode===F||e.insertionMode===M?e.insertionMode=B:e.insertionMode=U}(e,t):n===h.OPTION?Ne(e,t):Ie(e,t);break;case 7:n===h.BGSOUND?ce(e,t):n===h.DETAILS||n===h.ADDRESS||n===h.ARTICLE||n===h.SECTION||n===h.SUMMARY?Ee(e,t):n===h.LISTING?Te(e,t):n===h.MARQUEE?Se(e,t):n===h.NOEMBED?Ce(e,t):n!==h.CAPTION&&Ie(e,t);break;case 8:n===h.BASEFONT?ce(e,t):n===h.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=$)}(e,t):n===h.FIELDSET?Ee(e,t):n===h.TEXTAREA?function(e,t){e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O}(e,t):n===h.TEMPLATE?ce(e,t):n===h.NOSCRIPT?e.options.scriptingEnabled?Ce(e,t):Ie(e,t):n===h.OPTGROUP?Ne(e,t):n!==h.COLGROUP&&Ie(e,t);break;case 9:n===h.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}(e,t):Ie(e,t);break;case 10:n===h.BLOCKQUOTE||n===h.FIGCAPTION?Ee(e,t):Ie(e,t);break;default:Ie(e,t)}}function ve(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Oe(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function De(e,t){const n=t.tagName;for(let t=e.openElements.stackTop;t>0;t--){const r=e.openElements.items[t];if(e.treeAdapter.getTagName(r)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(r);break}if(e._isSpecialElement(r))break}}function we(e,t){const n=t.tagName;switch(n.length){case 1:n===h.A||n===h.B||n===h.I||n===h.S||n===h.U?te(e,t):n===h.P?function(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(h.P),e._closePElement()}(e):De(e,t);break;case 2:n===h.DL||n===h.UL||n===h.OL?ve(e,t):n===h.LI?function(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}(e):n===h.DD||n===h.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===h.H1||n===h.H2||n===h.H3||n===h.H4||n===h.H5||n===h.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===h.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(h.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===h.EM||n===h.TT?te(e,t):De(e,t);break;case 3:n===h.BIG?te(e,t):n===h.DIR||n===h.DIV||n===h.NAV||n===h.PRE?ve(e,t):De(e,t);break;case 4:n===h.BODY?function(e){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=H)}(e):n===h.HTML?function(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=H,e._processToken(t))}(e,t):n===h.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(h.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(h.FORM):e.openElements.remove(n))}(e):n===h.CODE||n===h.FONT||n===h.NOBR?te(e,t):n===h.MAIN||n===h.MENU?ve(e,t):De(e,t);break;case 5:n===h.ASIDE?ve(e,t):n===h.SMALL?te(e,t):De(e,t);break;case 6:n===h.CENTER||n===h.FIGURE||n===h.FOOTER||n===h.HEADER||n===h.HGROUP||n===h.DIALOG?ve(e,t):n===h.APPLET||n===h.OBJECT?Oe(e,t):n===h.STRIKE||n===h.STRONG?te(e,t):De(e,t);break;case 7:n===h.ADDRESS||n===h.ARTICLE||n===h.DETAILS||n===h.SECTION||n===h.SUMMARY||n===h.LISTING?ve(e,t):n===h.MARQUEE?Oe(e,t):De(e,t);break;case 8:n===h.FIELDSET?ve(e,t):n===h.TEMPLATE?pe(e,t):De(e,t);break;case 10:n===h.BLOCKQUOTE||n===h.FIGCAPTION?ve(e,t):De(e,t);break;default:De(e,t)}}function Le(e,t){e.tmplInsertionModeStackTop>-1?$e(e,t):e.stopped=!0}function xe(e,t){const n=e.openElements.currentTagName;n===h.TABLE||n===h.TBODY||n===h.TFOOT||n===h.THEAD||n===h.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=w,e._processToken(t)):Me(e,t)}function Pe(e,t){const n=t.tagName;switch(n.length){case 2:n===h.TD||n===h.TH||n===h.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(h.TBODY),e.insertionMode=P,e._processToken(t)}(e,t):Me(e,t);break;case 3:n===h.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(h.COLGROUP),e.insertionMode=x,e._processToken(t)}(e,t):Me(e,t);break;case 4:n===h.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):Me(e,t);break;case 5:n===h.TABLE?function(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===h.STYLE?ce(e,t):n===h.TBODY||n===h.TFOOT||n===h.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=P}(e,t):n===h.INPUT?function(e,t){const n=r.getTokenAttr(t,E.TYPE);n&&n.toLowerCase()===A?e._appendElement(t,b.HTML):Me(e,t),t.ackSelfClosing=!0}(e,t):Me(e,t);break;case 6:n===h.SCRIPT?ce(e,t):Me(e,t);break;case 7:n===h.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=L}(e,t):Me(e,t);break;case 8:n===h.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=x}(e,t):n===h.TEMPLATE?ce(e,t):Me(e,t);break;default:Me(e,t)}}function Fe(e,t){const n=t.tagName;n===h.TABLE?e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode()):n===h.TEMPLATE?pe(e,t):n!==h.BODY&&n!==h.CAPTION&&n!==h.COL&&n!==h.COLGROUP&&n!==h.HTML&&n!==h.TBODY&&n!==h.TD&&n!==h.TFOOT&&n!==h.TH&&n!==h.THEAD&&n!==h.TR&&Me(e,t)}function Me(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Ue(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Me(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Be(e,t){e.openElements.currentTagName===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=D,e._processToken(t))}function Ge(e,t){const n=t.tagName;n===h.HTML?ke(e,t):n===h.OPTION?(e.openElements.currentTagName===h.OPTION&&e.openElements.pop(),e._insertElement(t,b.HTML)):n===h.OPTGROUP?(e.openElements.currentTagName===h.OPTION&&e.openElements.pop(),e.openElements.currentTagName===h.OPTGROUP&&e.openElements.pop(),e._insertElement(t,b.HTML)):n===h.INPUT||n===h.KEYGEN||n===h.TEXTAREA||n===h.SELECT?e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),n!==h.SELECT&&e._processToken(t)):n!==h.SCRIPT&&n!==h.TEMPLATE||ce(e,t)}function He(e,t){const n=t.tagName;if(n===h.OPTGROUP){const t=e.openElements.items[e.openElements.stackTop-1],n=t&&e.treeAdapter.getTagName(t);e.openElements.currentTagName===h.OPTION&&n===h.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===h.OPTGROUP&&e.openElements.pop()}else n===h.OPTION?e.openElements.currentTagName===h.OPTION&&e.openElements.pop():n===h.SELECT&&e.openElements.hasInSelectScope(h.SELECT)?(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode()):n===h.TEMPLATE&&pe(e,t)}function $e(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function ze(e,t){e.insertionMode=v,e._processToken(t)}function Ve(e,t){e.insertionMode=v,e._processToken(t)}e.exports=class{constructor(e){this.options=d(T,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&u.install(this,o),this.options.onParseError&&u.install(this,s,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(h.TEMPLATE,b.HTML,[]));const n=this.treeAdapter.createElement("documentmock",b.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===h.TEMPLATE&&this._pushTmplInsertionMode(G),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),a=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,a),a}_bootstrap(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=y,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new a(this.document,this.treeAdapter),this.activeFormattingElements=new i(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==b.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O}switchToPlaintextParsing(){this.insertionMode=O,this.originalInsertionMode=v,this.tokenizer.state=r.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===h.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===h.TITLE||e===h.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===h.STYLE||e===h.XMP||e===h.IFRAME||e===h.NOEMBED||e===h.NOFRAMES||e===h.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===h.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===h.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(h.HTML,b.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===b.HTML)return!1;if(this.treeAdapter.getTagName(t)===h.ANNOTATION_XML&&n===b.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===h.SVG)return!1;const a=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN;return!((e.type===r.START_TAG_TOKEN&&e.tagName!==h.MGLYPH&&e.tagName!==h.MALIGNMARK||a)&&this._isIntegrationPoint(t,b.MATHML)||(e.type===r.START_TAG_TOKEN||a)&&this._isIntegrationPoint(t,b.HTML)||e.type===r.EOF_TOKEN)}_processToken(e){Y[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){Y[v][e.type](this,e)}_processTokenInForeignContent(e){e.type===r.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===r.NULL_CHARACTER_TOKEN?function(e,t){t.chars=m.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===r.WHITESPACE_CHARACTER_TOKEN?oe(this,e):e.type===r.COMMENT_TOKEN?ae(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(p.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?p.adjustTokenMathMLAttrs(t):r===b.SVG&&(p.adjustTokenSVGTagName(t),p.adjustTokenSVGAttrs(t)),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===r.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===r.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(f.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),a=this.treeAdapter.getAttrList(e);return p.isIntegrationPoint(n,r,a,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===i.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=F}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(h.P),this.openElements.popUntilTagNamePopped(h.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop,t=!1;e>=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),a=W[r];if(a){this.insertionMode=a;break}if(!(t||r!==h.TD&&r!==h.TH)){this.insertionMode=M;break}if(!t&&r===h.HEAD){this.insertionMode=R;break}if(r===h.SELECT){this._resetInsertionModeForSelect(e);break}if(r===h.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===h.HTML){this.insertionMode=this.headElement?k:N;break}if(t){this.insertionMode=v;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===h.TEMPLATE)break;if(n===h.TABLE)return void(this.insertionMode=B)}this.insertionMode=U}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===h.TABLE||t===h.TBODY||t===h.TFOOT||t===h.THEAD||t===h.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),a=this.treeAdapter.getNamespaceURI(n);if(r===h.TEMPLATE&&a===b.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===h.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return g.SPECIAL_ELEMENTS[n][t]}}},68869:(e,t,n)=>{"use strict";const r=n(7202),a=r.TAG_NAMES,i=r.NAMESPACES;function o(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI;case 3:return e===a.RTC;case 6:return e===a.OPTION;case 8:return e===a.OPTGROUP}return!1}function s(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI||e===a.TD||e===a.TH||e===a.TR;case 3:return e===a.RTC;case 5:return e===a.TBODY||e===a.TFOOT||e===a.THEAD;case 6:return e===a.OPTION;case 7:return e===a.CAPTION;case 8:return e===a.OPTGROUP||e===a.COLGROUP}return!1}function u(e,t){switch(e.length){case 2:if(e===a.TD||e===a.TH)return t===i.HTML;if(e===a.MI||e===a.MO||e===a.MN||e===a.MS)return t===i.MATHML;break;case 4:if(e===a.HTML)return t===i.HTML;if(e===a.DESC)return t===i.SVG;break;case 5:if(e===a.TABLE)return t===i.HTML;if(e===a.MTEXT)return t===i.MATHML;if(e===a.TITLE)return t===i.SVG;break;case 6:return(e===a.APPLET||e===a.OBJECT)&&t===i.HTML;case 7:return(e===a.CAPTION||e===a.MARQUEE)&&t===i.HTML;case 8:return e===a.TEMPLATE&&t===i.HTML;case 13:return e===a.FOREIGN_OBJECT&&t===i.SVG;case 14:return e===a.ANNOTATION_XML&&t===i.MATHML}return!1}e.exports=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===a.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===i.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===i.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.H1||e===a.H2||e===a.H3||e===a.H4||e===a.H5||e===a.H6&&t===i.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.TD||e===a.TH&&t===i.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==a.TABLE&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==a.TBODY&&this.currentTagName!==a.TFOOT&&this.currentTagName!==a.THEAD&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==a.TR&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===a.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===a.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(u(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===a.H1||t===a.H2||t===a.H3||t===a.H4||t===a.H5||t===a.H6)&&n===i.HTML)return!0;if(u(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if((n===a.UL||n===a.OL)&&r===i.HTML||u(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(n===a.BUTTON&&r===i.HTML||u(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n===a.TABLE||n===a.TEMPLATE||n===a.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===i.HTML){if(t===a.TBODY||t===a.THEAD||t===a.TFOOT)return!0;if(t===a.TABLE||t===a.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n!==a.OPTION&&n!==a.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;o(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;s(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;o(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}},56283:(e,t,n)=>{"use strict";const r=n(31672),a=n(79332),i=n(85229),o=n(78054),s=a.CODE_POINTS,u=a.CODE_POINT_SEQUENCES,l={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},d="DATA_STATE",c="RCDATA_STATE",p="RAWTEXT_STATE",f="SCRIPT_DATA_STATE",m="PLAINTEXT_STATE",g="TAG_OPEN_STATE",h="END_TAG_OPEN_STATE",b="TAG_NAME_STATE",E="RCDATA_LESS_THAN_SIGN_STATE",T="RCDATA_END_TAG_OPEN_STATE",A="RCDATA_END_TAG_NAME_STATE",S="RAWTEXT_LESS_THAN_SIGN_STATE",_="RAWTEXT_END_TAG_OPEN_STATE",y="RAWTEXT_END_TAG_NAME_STATE",C="SCRIPT_DATA_LESS_THAN_SIGN_STATE",N="SCRIPT_DATA_END_TAG_OPEN_STATE",R="SCRIPT_DATA_END_TAG_NAME_STATE",I="SCRIPT_DATA_ESCAPE_START_STATE",k="SCRIPT_DATA_ESCAPE_START_DASH_STATE",v="SCRIPT_DATA_ESCAPED_STATE",O="SCRIPT_DATA_ESCAPED_DASH_STATE",D="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",w="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",L="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",x="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",P="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",M="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",U="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",B="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",G="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",H="BEFORE_ATTRIBUTE_NAME_STATE",$="ATTRIBUTE_NAME_STATE",z="AFTER_ATTRIBUTE_NAME_STATE",V="BEFORE_ATTRIBUTE_VALUE_STATE",K="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",W="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",j="ATTRIBUTE_VALUE_UNQUOTED_STATE",Y="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",q="SELF_CLOSING_START_TAG_STATE",X="BOGUS_COMMENT_STATE",Z="MARKUP_DECLARATION_OPEN_STATE",Q="COMMENT_START_STATE",J="COMMENT_START_DASH_STATE",ee="COMMENT_STATE",te="COMMENT_LESS_THAN_SIGN_STATE",ne="COMMENT_LESS_THAN_SIGN_BANG_STATE",re="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",ae="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",ie="COMMENT_END_DASH_STATE",oe="COMMENT_END_STATE",se="COMMENT_END_BANG_STATE",ue="DOCTYPE_STATE",le="BEFORE_DOCTYPE_NAME_STATE",de="DOCTYPE_NAME_STATE",ce="AFTER_DOCTYPE_NAME_STATE",pe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",fe="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",me="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",ge="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",he="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",be="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",Ee="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Te="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Ae="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Se="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",_e="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ye="BOGUS_DOCTYPE_STATE",Ce="CDATA_SECTION_STATE",Ne="CDATA_SECTION_BRACKET_STATE",Re="CDATA_SECTION_END_STATE",Ie="CHARACTER_REFERENCE_STATE",ke="NAMED_CHARACTER_REFERENCE_STATE",ve="AMBIGUOS_AMPERSAND_STATE",Oe="NUMERIC_CHARACTER_REFERENCE_STATE",De="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",we="DECIMAL_CHARACTER_REFERENCE_START_STATE",Le="HEXADEMICAL_CHARACTER_REFERENCE_STATE",xe="DECIMAL_CHARACTER_REFERENCE_STATE",Pe="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Fe(e){return e===s.SPACE||e===s.LINE_FEED||e===s.TABULATION||e===s.FORM_FEED}function Me(e){return e>=s.DIGIT_0&&e<=s.DIGIT_9}function Ue(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_Z}function Be(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_Z}function Ge(e){return Be(e)||Ue(e)}function He(e){return Ge(e)||Me(e)}function $e(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_F}function ze(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_F}function Ve(e){return e+32}function Ke(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function We(e){return String.fromCharCode(Ve(e))}function je(e,t){const n=i[++e];let r=++e,a=r+n-1;for(;r<=a;){const e=r+a>>>1,o=i[e];if(o<t)r=e+1;else{if(!(o>t))return i[e+n];a=e-1}}return-1}class Ye{constructor(){this.preprocessor=new r,this.tokenQueue=[],this.allowCDATA=!1,this.state=d,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:Ye.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,a=!0;const i=e.length;let o,u=0,l=t;for(;u<i;u++){if(u>0&&(l=this._consume(),r++),l===s.EOF){a=!1;break}if(o=e[u],l!==o&&(n||l!==Ve(o))){a=!1;break}}if(!a)for(;r--;)this._unconsume();return a}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==u.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==u.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:Ye.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Ye.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Ye.COMMENT_TOKEN,data:""}}_createDoctypeToken(e){this.currentToken={type:Ye.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:Ye.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(e){null===Ye.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(o.duplicateAttribute),this.state=e}_leaveAttrValue(e){this.state=e}_emitCurrentToken(){this._emitCurrentCharacterToken();const e=this.currentToken;this.currentToken=null,e.type===Ye.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===Ye.END_TAG_TOKEN&&(e.attrs.length>0&&this._err(o.endTagWithAttributes),e.selfClosing&&this._err(o.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Ye.CHARACTER_TOKEN;Fe(e)?t=Ye.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=Ye.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,Ke(e))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(e){this._appendCharToCurrentCharacterToken(Ye.CHARACTER_TOKEN,e)}_matchNamedCharacterReference(e){let t=null,n=1,r=je(0,e);for(this.tempBuff.push(e);r>-1;){const e=i[r],a=e<7;a&&1&e&&(t=2&e?[i[++r],i[++r]]:[i[++r]],n=0);const o=this._consume();if(this.tempBuff.push(o),n++,o===s.EOF)break;r=a?4&e?je(r,o):-1:o===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===K||this.returnState===W||this.returnState===j}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===s.EQUALS_SIGN||He(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=Ke(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[d](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=g:e===s.AMPERSAND?(this.returnState=d,this.state=Ie):e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitCodePoint(e)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[c](e){this.preprocessor.dropParsedChunk(),e===s.AMPERSAND?(this.returnState=c,this.state=Ie):e===s.LESS_THAN_SIGN?this.state=E:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[p](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=S:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[f](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=C:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[m](e){this.preprocessor.dropParsedChunk(),e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[g](e){e===s.EXCLAMATION_MARK?this.state=Z:e===s.SOLIDUS?this.state=h:Ge(e)?(this._createStartTagToken(),this._reconsumeInState(b)):e===s.QUESTION_MARK?(this._err(o.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(X)):e===s.EOF?(this._err(o.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(o.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(d))}[h](e){Ge(e)?(this._createEndTagToken(),this._reconsumeInState(b)):e===s.GREATER_THAN_SIGN?(this._err(o.missingEndTagName),this.state=d):e===s.EOF?(this._err(o.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(o.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(X))}[b](e){Fe(e)?this.state=H:e===s.SOLIDUS?this.state=q:e===s.GREATER_THAN_SIGN?(this.state=d,this._emitCurrentToken()):Ue(e)?this.currentToken.tagName+=We(e):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.tagName+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=Ke(e)}[E](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=T):(this._emitChars("<"),this._reconsumeInState(c))}[T](e){Ge(e)?(this._createEndTagToken(),this._reconsumeInState(A)):(this._emitChars("</"),this._reconsumeInState(c))}[A](e){if(Ue(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=Ke(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=H);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this.state=d,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(c)}}[S](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=_):(this._emitChars("<"),this._reconsumeInState(p))}[_](e){Ge(e)?(this._createEndTagToken(),this._reconsumeInState(y)):(this._emitChars("</"),this._reconsumeInState(p))}[y](e){if(Ue(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=Ke(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=H);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=d)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}[C](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=N):e===s.EXCLAMATION_MARK?(this.state=I,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(f))}[N](e){Ge(e)?(this._createEndTagToken(),this._reconsumeInState(R)):(this._emitChars("</"),this._reconsumeInState(f))}[R](e){if(Ue(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=Ke(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=H);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=d)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(f)}}[I](e){e===s.HYPHEN_MINUS?(this.state=k,this._emitChars("-")):this._reconsumeInState(f)}[k](e){e===s.HYPHEN_MINUS?(this.state=D,this._emitChars("-")):this._reconsumeInState(f)}[v](e){e===s.HYPHEN_MINUS?(this.state=O,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=w:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[O](e){e===s.HYPHEN_MINUS?(this.state=D,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=w:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=v,this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=v,this._emitCodePoint(e))}[D](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?this.state=w:e===s.GREATER_THAN_SIGN?(this.state=f,this._emitChars(">")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=v,this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=v,this._emitCodePoint(e))}[w](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=L):Ge(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(P)):(this._emitChars("<"),this._reconsumeInState(v))}[L](e){Ge(e)?(this._createEndTagToken(),this._reconsumeInState(x)):(this._emitChars("</"),this._reconsumeInState(v))}[x](e){if(Ue(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=Ke(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=H);if(e===s.SOLIDUS)return void(this.state=q);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=d)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(v)}}[P](e){Fe(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?F:v,this._emitCodePoint(e)):Ue(e)?(this.tempBuff.push(Ve(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(v)}[F](e){e===s.HYPHEN_MINUS?(this.state=M,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[M](e){e===s.HYPHEN_MINUS?(this.state=U,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=F,this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=F,this._emitCodePoint(e))}[U](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===s.GREATER_THAN_SIGN?(this.state=f,this._emitChars(">")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=F,this._emitChars(a.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=F,this._emitCodePoint(e))}[B](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=G,this._emitChars("/")):this._reconsumeInState(F)}[G](e){Fe(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?v:F,this._emitCodePoint(e)):Ue(e)?(this.tempBuff.push(Ve(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(F)}[H](e){Fe(e)||(e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?this._reconsumeInState(z):e===s.EQUALS_SIGN?(this._err(o.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=$):(this._createAttr(""),this._reconsumeInState($)))}[$](e){Fe(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?(this._leaveAttrName(z),this._unconsume()):e===s.EQUALS_SIGN?this._leaveAttrName(V):Ue(e)?this.currentAttr.name+=We(e):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN?(this._err(o.unexpectedCharacterInAttributeName),this.currentAttr.name+=Ke(e)):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.name+=a.REPLACEMENT_CHARACTER):this.currentAttr.name+=Ke(e)}[z](e){Fe(e)||(e===s.SOLIDUS?this.state=q:e===s.EQUALS_SIGN?this.state=V:e===s.GREATER_THAN_SIGN?(this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState($)))}[V](e){Fe(e)||(e===s.QUOTATION_MARK?this.state=K:e===s.APOSTROPHE?this.state=W:e===s.GREATER_THAN_SIGN?(this._err(o.missingAttributeValue),this.state=d,this._emitCurrentToken()):this._reconsumeInState(j))}[K](e){e===s.QUOTATION_MARK?this.state=Y:e===s.AMPERSAND?(this.returnState=K,this.state=Ie):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ke(e)}[W](e){e===s.APOSTROPHE?this.state=Y:e===s.AMPERSAND?(this.returnState=W,this.state=Ie):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ke(e)}[j](e){Fe(e)?this._leaveAttrValue(H):e===s.AMPERSAND?(this.returnState=j,this.state=Ie):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(d),this._emitCurrentToken()):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN||e===s.EQUALS_SIGN||e===s.GRAVE_ACCENT?(this._err(o.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=Ke(e)):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ke(e)}[Y](e){Fe(e)?this._leaveAttrValue(H):e===s.SOLIDUS?this._leaveAttrValue(q):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(d),this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._err(o.missingWhitespaceBetweenAttributes),this._reconsumeInState(H))}[q](e){e===s.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._err(o.unexpectedSolidusInTag),this._reconsumeInState(H))}[X](e){e===s.GREATER_THAN_SIGN?(this.state=d,this._emitCurrentToken()):e===s.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):this.currentToken.data+=Ke(e)}[Z](e){this._consumeSequenceIfMatch(u.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=Q):this._consumeSequenceIfMatch(u.DOCTYPE_STRING,e,!1)?this.state=ue:this._consumeSequenceIfMatch(u.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Ce:(this._err(o.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=X):this._ensureHibernation()||(this._err(o.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(X))}[Q](e){e===s.HYPHEN_MINUS?this.state=J:e===s.GREATER_THAN_SIGN?(this._err(o.abruptClosingOfEmptyComment),this.state=d,this._emitCurrentToken()):this._reconsumeInState(ee)}[J](e){e===s.HYPHEN_MINUS?this.state=oe:e===s.GREATER_THAN_SIGN?(this._err(o.abruptClosingOfEmptyComment),this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ee](e){e===s.HYPHEN_MINUS?this.state=ie:e===s.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=te):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=Ke(e)}[te](e){e===s.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=ne):e===s.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ee)}[ne](e){e===s.HYPHEN_MINUS?this.state=re:this._reconsumeInState(ee)}[re](e){e===s.HYPHEN_MINUS?this.state=ae:this._reconsumeInState(ie)}[ae](e){e!==s.GREATER_THAN_SIGN&&e!==s.EOF&&this._err(o.nestedComment),this._reconsumeInState(oe)}[ie](e){e===s.HYPHEN_MINUS?this.state=oe:e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[oe](e){e===s.GREATER_THAN_SIGN?(this.state=d,this._emitCurrentToken()):e===s.EXCLAMATION_MARK?this.state=se:e===s.HYPHEN_MINUS?this.currentToken.data+="-":e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ee))}[se](e){e===s.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=ie):e===s.GREATER_THAN_SIGN?(this._err(o.incorrectlyClosedComment),this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ee))}[ue](e){Fe(e)?this.state=le:e===s.GREATER_THAN_SIGN?this._reconsumeInState(le):e===s.EOF?(this._err(o.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(le))}[le](e){Fe(e)||(Ue(e)?(this._createDoctypeToken(We(e)),this.state=de):e===s.NULL?(this._err(o.unexpectedNullCharacter),this._createDoctypeToken(a.REPLACEMENT_CHARACTER),this.state=de):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=d):e===s.EOF?(this._err(o.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(Ke(e)),this.state=de))}[de](e){Fe(e)?this.state=ce:e===s.GREATER_THAN_SIGN?(this.state=d,this._emitCurrentToken()):Ue(e)?this.currentToken.name+=We(e):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.name+=a.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=Ke(e)}[ce](e){Fe(e)||(e===s.GREATER_THAN_SIGN?(this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(u.PUBLIC_STRING,e,!1)?this.state=pe:this._consumeSequenceIfMatch(u.SYSTEM_STRING,e,!1)?this.state=Ee:this._ensureHibernation()||(this._err(o.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[pe](e){Fe(e)?this.state=fe:e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=me):e===s.APOSTROPHE?(this._err(o.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ge):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye))}[fe](e){Fe(e)||(e===s.QUOTATION_MARK?(this.currentToken.publicId="",this.state=me):e===s.APOSTROPHE?(this.currentToken.publicId="",this.state=ge):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[me](e){e===s.QUOTATION_MARK?this.state=he:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=d):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Ke(e)}[ge](e){e===s.APOSTROPHE?this.state=he:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=d):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Ke(e)}[he](e){Fe(e)?this.state=be:e===s.GREATER_THAN_SIGN?(this.state=d,this._emitCurrentToken()):e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Ae):e===s.APOSTROPHE?(this._err(o.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Se):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye))}[be](e){Fe(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=d):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Ae):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Se):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[Ee](e){Fe(e)?this.state=Te:e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Ae):e===s.APOSTROPHE?(this._err(o.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Se):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye))}[Te](e){Fe(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Ae):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Se):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=d,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[Ae](e){e===s.QUOTATION_MARK?this.state=_e:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=d):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Ke(e)}[Se](e){e===s.APOSTROPHE?this.state=_e:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=d):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Ke(e)}[_e](e){Fe(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=d):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(ye)))}[ye](e){e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=d):e===s.NULL?this._err(o.unexpectedNullCharacter):e===s.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Ce](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Ne:e===s.EOF?(this._err(o.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[Ne](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Re:(this._emitChars("]"),this._reconsumeInState(Ce))}[Re](e){e===s.GREATER_THAN_SIGN?this.state=d:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Ce))}[Ie](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Oe):He(e)?this._reconsumeInState(ke):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[ke](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[s.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===s.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(o.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=ve}[ve](e){He(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=Ke(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(o.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[Oe](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=De):this._reconsumeInState(we)}[De](e){!function(e){return Me(e)||$e(e)||ze(e)}(e)?(this._err(o.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Le)}[we](e){Me(e)?this._reconsumeInState(xe):(this._err(o.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Le](e){$e(e)?this.charRefCode=16*this.charRefCode+e-55:ze(e)?this.charRefCode=16*this.charRefCode+e-87:Me(e)?this.charRefCode=16*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(o.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[xe](e){Me(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(o.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[Pe](){if(this.charRefCode===s.NULL)this._err(o.nullCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(o.characterReferenceOutsideUnicodeRange),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(a.isSurrogate(this.charRefCode))this._err(o.surrogateCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(a.isUndefinedCodePoint(this.charRefCode))this._err(o.noncharacterCharacterReference);else if(a.isControlCodePoint(this.charRefCode)||this.charRefCode===s.CARRIAGE_RETURN){this._err(o.controlCharacterReference);const e=l[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Ye.CHARACTER_TOKEN="CHARACTER_TOKEN",Ye.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ye.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ye.START_TAG_TOKEN="START_TAG_TOKEN",Ye.END_TAG_TOKEN="END_TAG_TOKEN",Ye.COMMENT_TOKEN="COMMENT_TOKEN",Ye.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ye.EOF_TOKEN="EOF_TOKEN",Ye.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ye.MODE={DATA:d,RCDATA:c,RAWTEXT:p,SCRIPT_DATA:f,PLAINTEXT:m},Ye.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=Ye},85229:e=>{"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},31672:(e,t,n)=>{"use strict";const r=n(79332),a=n(78054),i=r.CODE_POINTS;e.exports=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(r.isSurrogatePair(t))return this.pos++,this._addGap(),r.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,i.EOF;return this._err(a.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,i.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===i.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===i.CARRIAGE_RETURN?(this.skipNextNewLine=!0,i.LINE_FEED):(this.skipNextNewLine=!1,r.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===i.LINE_FEED||e===i.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){r.isControlCodePoint(e)?this._err(a.controlCharacterInInputStream):r.isUndefinedCodePoint(e)&&this._err(a.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}},63452:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(7202);t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const a=function(e){return{nodeName:"#text",value:e,parentNode:null}},i=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},o=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let a=null;for(let t=0;t<e.childNodes.length;t++)if("#documentType"===e.childNodes[t].nodeName){a=e.childNodes[t];break}a?(a.name=t,a.publicId=n,a.systemId=r):i(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},t.setDocumentMode=function(e,t){e.mode=t},t.getDocumentMode=function(e){return e.mode},t.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},t.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}i(e,a(t))},t.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&"#text"===r.nodeName?r.value+=t:o(e,a(t),n)},t.adoptAttributes=function(e,t){const n=[];for(let t=0;t<e.attrs.length;t++)n.push(e.attrs[t].name);for(let r=0;r<t.length;r++)-1===n.indexOf(t[r].name)&&e.attrs.push(t[r])},t.getFirstChild=function(e){return e.childNodes[0]},t.getChildNodes=function(e){return e.childNodes},t.getParentNode=function(e){return e.parentNode},t.getAttrList=function(e){return e.attrs},t.getTagName=function(e){return e.tagName},t.getNamespaceURI=function(e){return e.namespaceURI},t.getTextNodeContent=function(e){return e.value},t.getCommentNodeContent=function(e){return e.data},t.getDocumentTypeNodeName=function(e){return e.name},t.getDocumentTypeNodePublicId=function(e){return e.publicId},t.getDocumentTypeNodeSystemId=function(e){return e.systemId},t.isTextNode=function(e){return"#text"===e.nodeName},t.isCommentNode=function(e){return"#comment"===e.nodeName},t.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},t.isElementNode=function(e){return!!e.tagName},t.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},t.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},t.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)}},34724:e=>{"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))}},24810:e=>{"use strict";class t{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}t.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let n=0;n<e.__mixins.length;n++)if(e.__mixins[n].constructor===t)return e.__mixins[n];const r=new t(e,n);return e.__mixins.push(r),r},e.exports=t},61946:(e,t,n)=>{"use strict";var r=n(94310),a=n(30752),i=n(82616),o="data";e.exports=function(e,t){var n=r(t),p=t,f=i;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&n.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?p=function(e){var t=e.slice(5).replace(u,c);return o+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);return u.test(t)?e:("-"!==(t=t.replace(l,d)).charAt(0)&&(t="-"+t),o+t)}(t),f=a),new f(p,t))};var s=/^data[-\w.:]+$/i,u=/-[a-z]/g,l=/[A-Z]/g;function d(e){return"-"+e.toLowerCase()}function c(e){return e.charAt(1).toUpperCase()}},97952:(e,t,n)=>{"use strict";var r=n(17310),a=n(82461),i=n(16024),o=n(55643),s=n(2572),u=n(33448);e.exports=r([i,a,o,s,u])},2572:(e,t,n)=>{"use strict";var r=n(56379),a=n(93532),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},33448:(e,t,n)=>{"use strict";var r=n(56379),a=n(93532),i=n(30073),o=r.boolean,s=r.overloadedBoolean,u=r.booleanish,l=r.number,d=r.spaceSeparated,c=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:c,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:l,colSpan:null,content:null,contentEditable:u,controls:o,controlsList:d,coords:l|c,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:l,hidden:o,high:l,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:c,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:l,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:l,rowSpan:l,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:c,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:u,width:l,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:l,security:null,unselectable:null}})},87475:(e,t,n)=>{"use strict";var r=n(56379),a=n(93532),i=n(276),o=r.boolean,s=r.number,u=r.spaceSeparated,l=r.commaSeparated,d=r.commaOrSpaceSeparated;e.exports=a({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:i,properties:{about:d,accentHeight:s,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s,amplitude:s,arabicForm:null,ascent:s,attributeName:null,attributeType:null,azimuth:s,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s,by:null,calcMode:null,capHeight:s,className:u,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:s,diffuseConstant:s,direction:null,display:null,dur:null,divisor:s,dominantBaseline:null,download:o,dx:null,dy:null,edgeMode:null,editable:null,elevation:s,enableBackground:null,end:null,event:null,exponent:s,externalResourcesRequired:null,fill:null,fillOpacity:s,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:l,g2:l,glyphName:l,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s,horizOriginX:s,horizOriginY:s,id:null,ideographic:s,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s,k:s,k1:s,k2:s,k3:s,k4:s,kernelMatrix:d,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:s,overlineThickness:s,paintOrder:null,panose1:null,path:null,pathLength:s,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s,pointsAtY:s,pointsAtZ:s,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:d,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:d,rev:d,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:d,requiredFeatures:d,requiredFonts:d,requiredFormats:d,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:s,specularExponent:s,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s,strikethroughThickness:s,string:null,stroke:null,strokeDashArray:d,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s,strokeOpacity:s,strokeWidth:null,style:null,surfaceScale:s,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:d,tabIndex:s,tableValues:null,target:null,targetX:s,targetY:s,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:d,to:null,transform:null,u1:null,u2:null,underlinePosition:s,underlineThickness:s,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s,values:null,vAlphabetic:s,vMathematical:s,vectorEffect:null,vHanging:s,vIdeographic:s,version:null,vertAdvY:s,vertOriginX:s,vertOriginY:s,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},30073:(e,t,n)=>{"use strict";var r=n(276);e.exports=function(e,t){return r(e,t.toLowerCase())}},276:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},93532:(e,t,n)=>{"use strict";var r=n(94310),a=n(51055),i=n(30752);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],u=e.attributes||{},l=e.properties,d=e.transform,c={},p={};for(t in l)n=new i(t,d(u,t),l[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),c[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(c,p,o)}},30752:(e,t,n)=>{"use strict";var r=n(82616),a=n(56379);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,d=-1;for(u(this,"space",s),r.call(this,e,t);++d<o;)u(this,l=i[d],(n&a[l])===a[l])}function u(e,t,n){n&&(e[t]=n)}},82616:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},17310:(e,t,n)=>{"use strict";var r=n(35592),a=n(51055);e.exports=function(e){for(var t,n,i=e.length,o=[],s=[],u=-1;++u<i;)t=e[u],o.push(t.property),s.push(t.normal),n=t.space;return new a(r.apply(null,o),r.apply(null,s),n)}},51055:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},56379:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},82461:(e,t,n)=>{"use strict";var r=n(93532);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},16024:(e,t,n)=>{"use strict";var r=n(93532);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},55643:(e,t,n)=>{"use strict";var r=n(93532),a=n(30073);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:a,properties:{xmlns:null,xmlnsXLink:null}})},94310:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},72107:(e,t,n)=>{"use strict";var r=n(17310),a=n(82461),i=n(16024),o=n(55643),s=n(2572),u=n(87475);e.exports=r([i,a,o,s,u])},19632:(e,t,n)=>{"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(21168),u=n(78818),l=n(8781),d=n(72798),c=n(51079),p=n(60442),f=n(8317);o();var m={}.hasOwnProperty;function g(){}g.prototype=l;var h=new g;function b(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===h.languages[e.displayName]&&e(h)}e.exports=h,h.highlight=function(e,t){var n,r=l.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===h.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!m.call(h.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=h.languages[t]}return r.call(this,e,n,t)},h.register=b,h.alias=function(e,t){var n,r,a,i,o=h.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i<a;)o[r[i]]=o[n]},h.registered=function(e){if("string"!=typeof e)throw new Error("Expected `string` for `language`, got `"+e+"`");return m.call(h.languages,e)},h.listLanguages=function(){var e,t=h.languages,n=[];for(e in t)m.call(t,e)&&"object"==typeof t[e]&&n.push(e);return n},b(d),b(c),b(p),b(f),h.util.encode=function(e){return e},h.Token.stringify=function(e,t,n){var r;return"string"==typeof e?{type:"text",value:e}:"Array"===h.util.type(e)?function(e,t){for(var n,r=[],a=e.length,i=-1;++i<a;)""!==(n=e[i])&&null!=n&&r.push(n);for(i=-1,a=r.length;++i<a;)n=r[i],r[i]=h.Token.stringify(n,t,r);return r}(e,t):(r={type:e.type,content:h.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias)),h.hooks.run("wrap",r),s(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=u(e[t]);return e}(r.attributes),r.content))}},4919:(e,t,n)=>{"use strict";var r=n(19632);e.exports=r,r.register(n(17016)),r.register(n(42793)),r.register(n(80231)),r.register(n(77632)),r.register(n(80621)),r.register(n(53911)),r.register(n(70495)),r.register(n(51374)),r.register(n(60482)),r.register(n(51335)),r.register(n(69831)),r.register(n(86986)),r.register(n(88568)),r.register(n(29841)),r.register(n(74521)),r.register(n(61892)),r.register(n(834)),r.register(n(22037)),r.register(n(9527)),r.register(n(90080)),r.register(n(93402)),r.register(n(45956)),r.register(n(54476)),r.register(n(99545)),r.register(n(16272)),r.register(n(50147)),r.register(n(10831)),r.register(n(33791)),r.register(n(69175)),r.register(n(3054)),r.register(n(13227)),r.register(n(34021)),r.register(n(86313)),r.register(n(8493)),r.register(n(10205)),r.register(n(18148)),r.register(n(22652)),r.register(n(44932)),r.register(n(13872)),r.register(n(96031)),r.register(n(91579)),r.register(n(44233)),r.register(n(80276)),r.register(n(96421)),r.register(n(12397)),r.register(n(22698)),r.register(n(38613)),r.register(n(49473)),r.register(n(47354)),r.register(n(2399)),r.register(n(46108)),r.register(n(56869)),r.register(n(14152)),r.register(n(85943)),r.register(n(29286)),r.register(n(14333)),r.register(n(62055)),r.register(n(36885)),r.register(n(86121)),r.register(n(71781)),r.register(n(1302)),r.register(n(20575)),r.register(n(4085)),r.register(n(85121)),r.register(n(80213)),r.register(n(84404)),r.register(n(89293)),r.register(n(80403)),r.register(n(19811)),r.register(n(55629)),r.register(n(32485)),r.register(n(51668)),r.register(n(10857)),r.register(n(51319)),r.register(n(14150)),r.register(n(24262)),r.register(n(97910)),r.register(n(51376)),r.register(n(77322)),r.register(n(97020)),r.register(n(30152)),r.register(n(82766)),r.register(n(14091)),r.register(n(72318)),r.register(n(37240)),r.register(n(58034)),r.register(n(23252)),r.register(n(66791)),r.register(n(31209)),r.register(n(42640)),r.register(n(67653)),r.register(n(37596)),r.register(n(52104)),r.register(n(73694)),r.register(n(73572)),r.register(n(5410)),r.register(n(84527)),r.register(n(19161)),r.register(n(61154)),r.register(n(74745)),r.register(n(3442)),r.register(n(24982)),r.register(n(1911)),r.register(n(36735)),r.register(n(59233)),r.register(n(67629)),r.register(n(90364)),r.register(n(46872)),r.register(n(2942)),r.register(n(17558)),r.register(n(14562)),r.register(n(41846)),r.register(n(4814)),r.register(n(694)),r.register(n(97617)),r.register(n(44259)),r.register(n(48795)),r.register(n(56303)),r.register(n(74235)),r.register(n(71225)),r.register(n(56703)),r.register(n(24083)),r.register(n(15336)),r.register(n(76981)),r.register(n(83498)),r.register(n(56492)),r.register(n(54473)),r.register(n(49909)),r.register(n(5636)),r.register(n(99919)),r.register(n(34467)),r.register(n(10520)),r.register(n(60988)),r.register(n(89808)),r.register(n(69490)),r.register(n(72983)),r.register(n(66245)),r.register(n(49798)),r.register(n(8134)),r.register(n(66407)),r.register(n(20867)),r.register(n(11274)),r.register(n(1230)),r.register(n(89778)),r.register(n(31433)),r.register(n(47042)),r.register(n(15771)),r.register(n(51222)),r.register(n(1099)),r.register(n(74105)),r.register(n(33050)),r.register(n(45479)),r.register(n(13675)),r.register(n(68594)),r.register(n(90743)),r.register(n(13616)),r.register(n(5918)),r.register(n(70907)),r.register(n(86991)),r.register(n(185)),r.register(n(64339)),r.register(n(64918)),r.register(n(87862)),r.register(n(76492)),r.register(n(43684)),r.register(n(76095)),r.register(n(82530)),r.register(n(32418)),r.register(n(73864)),r.register(n(89345)),r.register(n(33372)),r.register(n(91915)),r.register(n(84435)),r.register(n(40741)),r.register(n(782)),r.register(n(98581)),r.register(n(58662)),r.register(n(36800)),r.register(n(49431)),r.register(n(97750)),r.register(n(55956)),r.register(n(80768)),r.register(n(68576)),r.register(n(14117)),r.register(n(74791)),r.register(n(6769)),r.register(n(1997)),r.register(n(73213)),r.register(n(47587)),r.register(n(97641)),r.register(n(28071)),r.register(n(28680)),r.register(n(69300)),r.register(n(16376)),r.register(n(4496)),r.register(n(46707)),r.register(n(89836)),r.register(n(31979)),r.register(n(97494)),r.register(n(90483)),r.register(n(76535)),r.register(n(30766)),r.register(n(19832)),r.register(n(66362)),r.register(n(91511)),r.register(n(74289)),r.register(n(47726)),r.register(n(24468)),r.register(n(64779)),r.register(n(1448)),r.register(n(51450)),r.register(n(70)),r.register(n(54436)),r.register(n(76001)),r.register(n(72052)),r.register(n(20142)),r.register(n(87085)),r.register(n(45522)),r.register(n(44543)),r.register(n(47968)),r.register(n(86973)),r.register(n(51898)),r.register(n(78880)),r.register(n(1247)),r.register(n(60676)),r.register(n(6077)),r.register(n(8487)),r.register(n(76857)),r.register(n(60254)),r.register(n(29196)),r.register(n(14801)),r.register(n(7030)),r.register(n(81972)),r.register(n(82999)),r.register(n(91967)),r.register(n(44945)),r.register(n(29726)),r.register(n(80207)),r.register(n(89349)),r.register(n(71923)),r.register(n(71117)),r.register(n(84742)),r.register(n(38899)),r.register(n(8183)),r.register(n(36750)),r.register(n(15540)),r.register(n(30735)),r.register(n(72861)),r.register(n(86175)),r.register(n(63010)),r.register(n(91540)),r.register(n(6590)),r.register(n(72194)),r.register(n(68036)),r.register(n(53059)),r.register(n(33453)),r.register(n(89054)),r.register(n(20120)),r.register(n(4284)),r.register(n(37629)),r.register(n(15591)),r.register(n(71950)),r.register(n(40396)),r.register(n(22642)),r.register(n(95844)),r.register(n(19092)),r.register(n(46145)),r.register(n(33666)),r.register(n(16576)),r.register(n(62254)),r.register(n(8009)),r.register(n(87203)),r.register(n(46394))},17016:e=>{"use strict";function t(e){e.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},42793:e=>{"use strict";function t(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}(e)}e.exports=t,t.displayName="abnf",t.aliases=[]},80231:e=>{"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},77632:e=>{"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},80621:e=>{"use strict";function t(e){!function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}(e)}e.exports=t,t.displayName="agda",t.aliases=[]},53911:e=>{"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},70495:e=>{"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},51374:e=>{"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},60482:(e,t,n)=>{"use strict";var r=n(29196);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,(function(){return t.source}));function r(e){return RegExp(e.replace(/<CLASS-NAME>/g,(function(){return n})),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},51335:e=>{"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},69831:e=>{"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},86986:e=>{"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},88568:(e,t,n)=>{"use strict";var r=n(12397);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},29841:e=>{"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},74521:e=>{"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){for(var t={},r=0,a=(e=e.split(" ")).length;r<a;r++)t[e[r]]=n[e[r]];return t}t.inside.interpreted.inside.rest=r("macro inline replacement entity"),n["passthrough-block"].inside.rest=r("macro"),n["literal-block"].inside.rest=r("callout"),n.table.inside.rest=r("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),n["other-block"].inside.rest=r("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),n.title.inside.rest=r("macro inline replacement entity"),e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))})),e.languages.adoc=e.languages.asciidoc}(e)}e.exports=t,t.displayName="asciidoc",t.aliases=["adoc"]},61892:e=>{"use strict";function t(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}e.exports=t,t.displayName="asm6502",t.aliases=[]},834:e=>{"use strict";function t(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},22037:(e,t,n)=>{"use strict";var r=n(38613);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},9527:e=>{"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},90080:e=>{"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},93402:e=>{"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return t[+n]}))}(e,t),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},45956:e=>{"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},54476:e=>{"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o<a.length;o++)i[a[o]]=e.languages.bash[a[o]];e.languages.shell=e.languages.bash}(e)}e.exports=t,t.displayName="bash",t.aliases=["shell"]},99545:e=>{"use strict";function t(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},16272:e=>{"use strict";function t(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}e.exports=t,t.displayName="batch",t.aliases=[]},50147:e=>{"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},10831:e=>{"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},33791:e=>{"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},69175:(e,t,n)=>{"use strict";var r=n(10205);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},3054:e=>{"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},13227:e=>{"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},34021:e=>{"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},86313:e=>{"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},8493:e=>{"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},10205:e=>{"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},18148:e=>{"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},22652:(e,t,n)=>{"use strict";var r=n(12397);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},44932:e=>{"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},60442:e=>{"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},13872:e=>{"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},96031:e=>{"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},91579:e=>{"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},44233:e=>{"use strict";function t(e){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},80276:e=>{"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},96421:e=>{"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,(function(){return t}))),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},12397:(e,t,n)=>{"use strict";var r=n(10205);function a(e){e.register(r),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(e)}e.exports=a,a.displayName="cpp",a.aliases=[]},22698:(e,t,n)=>{"use strict";var r=n(70);function a(e){e.register(r),function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}e.exports=a,a.displayName="crystal",a.aliases=[]},38613:e=>{"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var a="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",o="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function u(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=u(i),d=RegExp(u(a+" "+i+" "+o+" "+s)),c=u(i+" "+o+" "+s),p=u(a+" "+i+" "+s),f=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),m=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,h=t(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,h]),E=/\[\s*(?:,\s*)*\]/.source,T=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,E]),A=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,E]),S=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[A]),_=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,b,E]),y={keyword:d,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,N=/"(?:\\.|[^\\"\r\n])*"/.source,R=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[N]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:y},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,_]),lookbehind:!0,inside:y},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:y},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:y},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[T]),lookbehind:!0,inside:y},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[_,p,g]),inside:y}],keyword:d,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:y},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[_,b]),inside:y,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[_]),lookbehind:!0,inside:y,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:y}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,h,g,_,d.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,m]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:d,"class-name":{pattern:RegExp(_),greedy:!0,inside:y},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var I=N+"|"+C,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),v=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),O=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,v]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[O,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[O]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[v]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var w=/:[^}\r\n]+/.source,L=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),x=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,w]),P=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[I]),2),F=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,w]);function M(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,w]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[x]),lookbehind:!0,greedy:!0,inside:M(x,L)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:M(F,P)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},49473:(e,t,n)=>{"use strict";var r=n(38613);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a<r;a++)e=e.replace(/<self>/g,(function(){return"(?:"+e+")"}));return e.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+n+")").replace(/<comment>/g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),s=r(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),u=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,l=/(?!\d)[^\s>\/=$<%]+/.source+u+/\s*\/?>/.source,d=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+u+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+l+"|"+r(/<\1/.source+u+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+l+"|<self>)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/</.source+l+")";e.languages.cshtml=e.languages.extend("markup",{});var c={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:e.languages.insertBefore("csharp","string",{html:{pattern:RegExp(d),greedy:!0,inside:e.languages.cshtml}},{csharp:e.languages.extend("csharp",{})})};e.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[o,/(?:code|functions)\s*/.source+o,/(?:for|foreach|lock|switch|using|while)\s*/.source+a+/\s*/.source+o,/do\s*/.source+o+/\s*while\s*/.source+a+/(?:\s*;)?/.source,/try\s*/.source+o+/\s*catch\s*/.source+a+/\s*/.source+o+/\s*finally\s*/.source+o,/if\s*/.source+a+/\s*/.source+o+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+a+")?"+/\s*/.source+o+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:c}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:c}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+a+")(?:"+/[?!]?\.\w+\b/.source+"|"+a+"|"+i+"|"+s+a+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:c}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),e.languages.razor=e.languages.cshtml}(e)}e.exports=a,a.displayName="cshtml",a.aliases=["razor"]},47354:e=>{"use strict";function t(e){!function(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}(e)}e.exports=t,t.displayName="csp",t.aliases=[]},2399:e=>{"use strict";function t(e){!function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},51079:e=>{"use strict";function t(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}e.exports=t,t.displayName="css",t.aliases=[]},46108:e=>{"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},56869:e=>{"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},14152:e=>{"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},85943:e=>{"use strict";function t(e){!function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}e.exports=t,t.displayName="dart",t.aliases=[]},29286:e=>{"use strict";function t(e){!function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}(e)}e.exports=t,t.displayName="dataweave",t.aliases=[]},14333:e=>{"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},62055:e=>{"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},36885:e=>{"use strict";function t(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}e.exports=t,t.displayName="diff",t.aliases=[]},86121:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"django",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"django")})),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"jinja2",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"jinja2")}))}(e)}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},71781:e=>{"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},1302:e=>{"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,(function(){return t})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,(function(){return r})),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(/<OPT>/g,(function(){return a})).replace(/<SP>/g,(function(){return n})),RegExp(e,t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},20575:e=>{"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(/<ID>/g,(function(){return t})),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},4085:e=>{"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},85121:e=>{"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},80213:e=>{"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},84404:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})),e.languages.eta=e.languages.ejs}(e)}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},89293:e=>{"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach((function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}}))}e.exports=t,t.displayName="elixir",t.aliases=[]},80403:e=>{"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},19811:(e,t,n)=>{"use strict";var r=n(70),a=n(51222);function i(e){e.register(r),e.register(a),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")}))}(e)}e.exports=i,i.displayName="erb",i.aliases=[]},55629:e=>{"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},32485:(e,t,n)=>{"use strict";var r=n(89778),a=n(51222);function i(e){e.register(r),e.register(a),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")}))}(e)}e.exports=i,i.displayName="etlua",i.aliases=[]},51668:e=>{"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},10857:e=>{"use strict";function t(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return new RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(o).forEach((function(e){r[e].pattern=i(o[e])})),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"]),e.languages.factor=r}(e)}e.exports=t,t.displayName="factor",t.aliases=[]},51319:e=>{"use strict";function t(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}}(e)}e.exports=t,t.displayName="$false",t.aliases=[]},14150:e=>{"use strict";function t(e){e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},24262:e=>{"use strict";function t(e){!function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}e.exports=t,t.displayName="flow",t.aliases=[]},97910:e=>{"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},51376:e=>{"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},77322:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(/<expr>/g,(function(){return t}));t=t.replace(/<expr>/g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,(function(){return t}))),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,(function(){return t}))),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",(function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,(function(){return t})),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")}))}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},97020:e=>{"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},30152:e=>{"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},82766:e=>{"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},14091:e=>{"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},72318:e=>{"use strict";function t(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(e)}e.exports=t,t.displayName="gherkin",t.aliases=[]},37240:e=>{"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},58034:(e,t,n)=>{"use strict";var r=n(10205);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},23252:e=>{"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},66791:e=>{"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},31209:e=>{"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},42640:e=>{"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},67653:e=>{"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(c(["definition-mutation","punctuation"])&&"("===d(1).content){n+=2;var i=p(/^\($/,/^\)$/);if(-1===i)continue;for(;n<i;n++){var o=d(0);"variable"===o.type&&(f(o,"variable-input"),a.push(o.content))}n=i+1}if(c(["punctuation","property-query"])&&"{"===d(0).content&&(n++,f(d(0),"property-mutation"),a.length>0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var u=n;u<s;u++){var l=t[u];"variable"===l.type&&a.indexOf(l.content)>=0&&f(l,"variable-input")}}}}function d(e){return t[n+e]}function c(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=d(n+t);if(!r||r.type!==e[n])return!1}return!0}function p(e,r){for(var a=1,i=n;i<t.length;i++){var o=t[i],s=o.content;if("punctuation"===o.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0==--a)return i}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}))}e.exports=t,t.displayName="graphql",t.aliases=[]},37596:e=>{"use strict";function t(e){e.languages.groovy=e.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",(function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}}))}e.exports=t,t.displayName="groovy",t.aliases=[]},52104:(e,t,n)=>{"use strict";var r=n(70);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r<a;r++){var i=t[r];i="string"==typeof i?{filter:i,language:i}:i,e.languages[i.language]&&(n["filter-"+i.filter]={pattern:RegExp("((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+".replace("{{filter_name}}",(function(){return i.filter}))),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[i.language,"language-"+i.language],inside:e.languages[i.language]}}})}e.languages.insertBefore("haml","filter",n)}(e)}e.exports=a,a.displayName="haml",a.aliases=[]},73694:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(e)}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},73572:e=>{"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},5410:e=>{"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},84527:e=>{"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},19161:(e,t,n)=>{"use strict";var r=n(10205);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},61154:e=>{"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},74745:e=>{"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},3442:e=>{"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},24982:e=>{"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};function o(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}for(var s in a)if(a[s]){n=n||{};var u=i[s]?o(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+u+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},1911:e=>{"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},36735:e=>{"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},59233:e=>{"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(/<SELF>/g,(function(){return t(e,n-1)}))}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a={pattern:n,greedy:!0,inside:{escape:r}},i=t(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,(function(){return n.source})),8),o={pattern:RegExp(i),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(i),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":o,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":o,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:a},o.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},67629:(e,t,n)=>{"use strict";var r=n(73572);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},90364:e=>{"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},46872:e=>{"use strict";function t(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},2942:e=>{"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},17558:e=>{"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},14562:e=>{"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="io",t.aliases=[]},41846:e=>{"use strict";function t(e){e.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},4814:e=>{"use strict";function t(e){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}e.exports=t,t.displayName="java",t.aliases=[]},694:(e,t,n)=>{"use strict";var r=n(4814),a=n(97617);function i(e){e.register(r),e.register(a),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,(function(){return n}));e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(e)}e.exports=i,i.displayName="javadoc",i.aliases=[]},97617:e=>{"use strict";function t(e){!function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,u=i.length;s<u;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),n(i[s]);else n(i)}}(t,(function(e){e.inside||(e.inside={}),e.inside.rest=n}))}))}}),t.addSupport(["java","javascript","php"],t)}(e)}e.exports=t,t.displayName="javadoclike",t.aliases=[]},8317:e=>{"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},44259:e=>{"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},48795:e=>{"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},56303:e=>{"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},74235:e=>{"use strict";function t(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,(function(){return t}))),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};r.interpolation.inside.content.inside=a}(e)}e.exports=t,t.displayName="jq",t.aliases=[]},71225:e=>{"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],i=e.languages.javascript[a];"RegExp"===e.util.type(i)&&(i=e.languages.javascript[a]={pattern:i});var o=i.inside||{};i.inside=o,o["maybe-class-name"]=/^[A-Z][\s\S]*/}}(e)}e.exports=t,t.displayName="jsExtras",t.aliases=[]},56703:e=>{"use strict";function t(e){!function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],i=r.pattern.source;function o(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function u(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function l(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,u(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}function d(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(i),lookbehind:!0}}),o=0,d={},c=u(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=s(o++,r)););return d[n]=a,n})).join(""),n,r),p=Object.keys(d);return o=0,function e(t){for(var n=0;n<t.length;n++){if(o>=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=p[o],i="string"==typeof r?r:r.content,s=i.indexOf(a);if(-1!==s){++o;var u=i.substring(0,s),c=l(d[a]),f=i.substring(s+a.length),m=[];if(u&&m.push(u),m.push(c),f){var g=[f];e(g),m.push.apply(m,g)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(c),new e.Token(r,c,"language-"+r,t)}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in c&&function t(n){for(var r=0,a=n.length;r<a;r++){var i=n[r];if("string"!=typeof i){var o=i.content;if(Array.isArray(o))if("template-string"===i.type){var s=o[1];if(3===o.length&&"string"!=typeof s&&"embedded-code"===s.type){var u=p(s),l=s.alias,c=Array.isArray(l)?l[0]:l,f=e.languages[c];if(!f)continue;o[1]=d(u,f,c)}}else t(o);else"string"!=typeof o&&t([o])}}}(t.tokens)}))}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},24083:(e,t,n)=>{"use strict";var r=n(97617),a=n(72861);function i(e){e.register(r),e.register(a),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(e)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},15336:e=>{"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},76981:(e,t,n)=>{"use strict";var r=n(15336);function a(e){e.register(r),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(e)}e.exports=a,a.displayName="json5",a.aliases=[]},83498:(e,t,n)=>{"use strict";var r=n(15336);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},56492:e=>{"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},54473:e=>{"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],i=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var u=o(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(u+=o(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(u=o(t[r-1])+u,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",u,null,u)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},49909:e=>{"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},5636:e=>{"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,(function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source})),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},99919:e=>{"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},34467:e=>{"use strict";function t(e){!function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},10520:e=>{"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(/<nonId>/g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},60988:e=>{"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},89808:e=>{"use strict";function t(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},69490:(e,t,n)=>{"use strict";var r=n(51222),a=n(55956);function i(e){e.register(r),e.register(a),function(e){e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}};var t=e.languages.extend("markup",{});e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",(function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")}))}(e)}e.exports=i,i.displayName="latte",i.aliases=[]},72983:e=>{"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},66245:(e,t,n)=>{"use strict";var r=n(87085);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,n=0;n<5;n++)t=t.replace(/<expr>/g,(function(){return t}));t=t.replace(/<expr>/g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,(function(){return t})),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},49798:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,(function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")}))}e.exports=a,a.displayName="liquid",a.aliases=[]},8134:e=>{"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,u={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},l={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:u},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:u},d="\\S+(?:\\s+\\S+)*",c={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+d),inside:l},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+d),inside:l},keys:{pattern:RegExp("&key\\s+"+d+"(?:\\s+&allow-other-keys)?"),inside:l},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};u.lambda.inside.arguments=c,u.defun.inside.arguments=e.util.clone(c),u.defun.inside.arguments.inside.sublist=c,e.languages.lisp=u,e.languages.elisp=u,e.languages.emacs=u,e.languages["emacs-lisp"]=u}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},66407:e=>{"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},20867:e=>{"use strict";function t(e){!function(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}(e)}e.exports=t,t.displayName="llvm",t.aliases=[]},11274:e=>{"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},1230:e=>{"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},89778:e=>{"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},31433:e=>{"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},47042:e=>{"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},15771:e=>{"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var i=a.content[1],o=a.content[3];if(i&&o&&"code-language"===i.type&&"code-block"===o.type&&"string"==typeof i.content){var s=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),u="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());o.alias?"string"==typeof o.alias?o.alias=[o.alias,u]:o.alias.push(u):o.alias=[u]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var i=t.classes[r],l=/language-(.+)/.exec(i);if(l){n=l[1];break}}var d=e.languages[n];if(d)t.content=e.highlight(t.content.value.replace(o,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),u(n)):s[t]||e})),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var o=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},51222:e=>{"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var u=0;u<s.length&&!(a>=i.length);u++){var l=s[u];if("string"==typeof l||l.content&&"string"==typeof l.content){var d=i[a],c=n.tokenStack[d],p="string"==typeof l?l:l.content,f=t(r,d),m=p.indexOf(f);if(m>-1){++a;var g=p.substring(0,m),h=new e.Token(r,e.tokenize(c,n.grammar),"language-"+r,c),b=p.substring(m+f.length),E=[];g&&E.push.apply(E,o([g])),E.push(h),b&&E.push.apply(E,o([b])),"string"==typeof l?s.splice.apply(s,[u,1].concat(E)):l.content=E}}else l.content&&o(l.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},72798:e=>{"use strict";function t(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},1099:e=>{"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},74105:e=>{"use strict";function t(e){!function(e){var t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}(e)}e.exports=t,t.displayName="maxscript",t.aliases=[]},33050:e=>{"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},45479:e=>{"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},13675:e=>{"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},68594:e=>{"use strict";function t(e){!function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map((function(e){return e.replace("$","\\$")}))).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}e.exports=t,t.displayName="mongodb",t.aliases=[]},90743:e=>{"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},13616:e=>{"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},5918:e=>{"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70907:e=>{"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},86991:e=>{"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},185:e=>{"use strict";function t(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",(function(e){e.tokens.forEach((function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],a="[]{}".indexOf(r);if(-1!==a)if(a%2==0)t.push(a+1);else if(t.pop()!==a)return!1}return 0===t.length})(t)||(e.type="bad-line",e.content=t)}}))}))}(e)}e.exports=t,t.displayName="naniscript",t.aliases=[]},64339:e=>{"use strict";function t(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},64918:e=>{"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},87862:e=>{"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},76492:e=>{"use strict";function t(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}(e)}e.exports=t,t.displayName="nginx",t.aliases=[]},43684:e=>{"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},76095:e=>{"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},82530:e=>{"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},32418:(e,t,n)=>{"use strict";var r=n(10205);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},73864:e=>{"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},89345:(e,t,n)=>{"use strict";var r=n(10205);function a(e){e.register(r),function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}(e)}e.exports=a,a.displayName="opencl",a.aliases=[]},33372:e=>{"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},91915:e=>{"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},84435:e=>{"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"],t=t.map((function(e){return e.split("").join(" *")})).join("|"),RegExp("\\b(?:"+t+")\\b")),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},40741:e=>{"use strict";function t(e){!function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}e.exports=t,t.displayName="parser",t.aliases=[]},782:e=>{"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},98581:e=>{"use strict";function t(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,(function(){return t})),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,(function(){return n})),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,(function(){return n})),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,(function(){return n}))),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce((function(e,t){return e[t]=r[t],e}),{});r["class-name"].forEach((function(e){e.inside=a}))}(e)}e.exports=t,t.displayName="pascaligo",t.aliases=[]},58662:e=>{"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},36800:e=>{"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},49431:e=>{"use strict";function t(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(e)}e.exports=t,t.displayName="perl",t.aliases=[]},97750:(e,t,n)=>{"use strict";var r=n(55956);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},55956:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,a=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:a,punctuation:i};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:a,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(e)}e.exports=a,a.displayName="php",a.aliases=[]},80768:(e,t,n)=>{"use strict";var r=n(55956),a=n(97617);function i(e){e.register(r),e.register(a),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(e)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},68576:(e,t,n)=>{"use strict";var r=n(29196);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},14117:e=>{"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},74791:e=>{"use strict";function t(e){!function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}e.exports=t,t.displayName="powershell",t.aliases=[]},6769:e=>{"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},1997:e=>{"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},73213:e=>{"use strict";function t(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}(e)}e.exports=t,t.displayName="promql",t.aliases=[]},47587:e=>{"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},97641:e=>{"use strict";function t(e){!function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}e.exports=t,t.displayName="protobuf",t.aliases=[]},28071:e=>{"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},28680:e=>{"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a<i;a++){var o=n[a];o="string"==typeof o?{filter:o,language:o}:o,e.languages[o.language]&&(r["filter-"+o.filter]={pattern:RegExp(t.replace("<filter_name>",(function(){return o.filter})),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},69300:e=>{"use strict";function t(e){!function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}e.exports=t,t.displayName="puppet",t.aliases=[]},16376:e=>{"use strict";function t(e){!function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var t=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach((function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("<lang>",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}})),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}e.exports=t,t.displayName="pure",t.aliases=[]},4496:e=>{"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},46707:(e,t,n)=>{"use strict";var r=n(73572);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},89836:e=>{"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},31979:e=>{"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},97494:e=>{"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,(function(){return t})).replace(/<comment>/g,(function(){return n})),a=0;a<2;a++)r=r.replace(/<expr>/g,(function(){return r}));r=r.replace(/<expr>/g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},90483:e=>{"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},76535:e=>{"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}var r=RegExp("\\b(?:"+"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within".trim().replace(/ /g,"|")+")\\b"),a=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),i={keyword:r,punctuation:/[<>()?,.:[\]]/},o=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[o]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[a]),lookbehind:!0,inside:i},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[a]),lookbehind:!0,inside:i}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[o]));e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},30766:e=>{"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},19832:(e,t,n)=>{"use strict";var r=n(87085);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},66362:e=>{"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},91511:e=>{"use strict";function t(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",a=RegExp(r+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":i}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(e)}e.exports=t,t.displayName="regex",t.aliases=[]},74289:e=>{"use strict";function t(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},47726:e=>{"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},24468:e=>{"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},64779:e=>{"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},1448:e=>{"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},51450:e=>{"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var i in r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,(function(){return e})),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},70:e=>{"use strict";function t(e){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(e)}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},54436:e=>{"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},76001:e=>{"use strict";function t(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},a={pattern:/&[a-z_]\w*/i},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],u={pattern:RegExp(t),greedy:!0},l=/[$%@.(){}\[\];,\\]/,d={pattern:/%?\b\w+(?=\()/,alias:"keyword"},c={function:d,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:l,string:u},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},m={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},g={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},h=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,(function(){return h})),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,(function(){return h})),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:d,"arg-value":c["arg-value"],operator:c.operator,argument:c.arg,number:n,"numeric-constant":r,punctuation:l,string:u}},E={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,(function(){return t})),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":m,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:l,string:u}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,(function(){return t})),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:E,"submit-statement":g,"global-statements":m,number:n,"numeric-constant":r,punctuation:l,string:u}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,(function(){return t})),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:E,"submit-statement":g,"global-statements":m,number:n,"numeric-constant":r,punctuation:l,string:u}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:c}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:c},step:o,keyword:E,function:d,format:p,altformat:f,"global-statements":m,number:n,"numeric-constant":r,punctuation:l,string:u}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,(function(){return t})),"im"),lookbehind:!0,inside:c},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:l}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:c},"cas-actions":b,comment:s,function:d,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:u,step:o,keyword:E,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:l}}(e)}e.exports=t,t.displayName="sas",t.aliases=[]},72052:e=>{"use strict";function t(e){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}e.exports=t,t.displayName="sass",t.aliases=[]},20142:(e,t,n)=>{"use strict";var r=n(4814);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},87085:e=>{"use strict";function t(e){!function(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}e.exports=t,t.displayName="scheme",t.aliases=[]},45522:e=>{"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},44543:(e,t,n)=>{"use strict";var r=n(54476);function a(e){e.register(r),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,(function(){return t})),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(e)}e.exports=a,a.displayName="shellSession",a.aliases=[]},47968:e=>{"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},86973:e=>{"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},51898:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,(function(){return t.source})),"g");e.hooks.add("before-tokenize",(function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,(function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")}))}(e)}e.exports=a,a.displayName="smarty",a.aliases=[]},78880:e=>{"use strict";function t(e){!function(e){var t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,(function(){return/\s*(?:[*,]|->)/.source})).replace(/<TERMINAL>/g,(function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source})).replace(/<LONG-ID>/g,(function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source})).replace(/<KEYWORD>/g,(function(){return t.source})),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},1247:e=>{"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},60676:e=>{"use strict";function t(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}e.exports=t,t.displayName="solutionFile",t.aliases=[]},6077:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,(function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")}))}(e)}e.exports=a,a.displayName="soy",a.aliases=[]},8487:(e,t,n)=>{"use strict";var r=n(15540);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},76857:e=>{"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},60254:e=>{"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},29196:e=>{"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},14801:e=>{"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},7030:e=>{"use strict";function t(e){!function(e){var t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}e.exports=t,t.displayName="stan",t.aliases=[]},81972:e=>{"use strict";function t(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}e.exports=t,t.displayName="stylus",t.aliases=[]},82999:e=>{"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach((function(t){t.inside.interpolation.inside=e.languages.swift}))}e.exports=t,t.displayName="swift",t.aliases=[]},91967:e=>{"use strict";function t(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}e.exports=t,t.displayName="systemd",t.aliases=[]},44945:(e,t,n)=>{"use strict";var r=n(29726),a=n(38613);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},29726:e=>{"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},80207:(e,t,n)=>{"use strict";var r=n(29726),a=n(53059);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},89349:(e,t,n)=>{"use strict";var r=n(8009);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},71923:e=>{"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},71117:e=>{"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(/<MOD>/g,(function(){return"(?:"+t+")"})).replace(/<PAR>/g,(function(){return"(?:"+n+")"})),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")<MOD>+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var u=o.inline.inside;u.bold.inside=s,u.italic.inside=s,u.inserted.inside=s,u.deleted.inside=s,u.span.inside=s;var l=o.table.inside;l.inline=s.inline,l.link=s.link,l.image=s.image,l.footnote=s.footnote,l.acronym=s.acronym,l.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},84742:e=>{"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,(function(){return t}))}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},38899:e=>{"use strict";function t(e){!function(e){e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}e.exports=t,t.displayName="tremor",t.aliases=[]},8183:(e,t,n)=>{"use strict";var r=n(54473),a=n(72861);function i(e){e.register(r),e.register(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}e.exports=i,i.displayName="tsx",i.aliases=[]},36750:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),function(e){e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")}))}(e)}e.exports=a,a.displayName="tt2",a.aliases=[]},15540:e=>{"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},30735:(e,t,n)=>{"use strict";var r=n(51222);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",(function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")}))}e.exports=a,a.displayName="twig",a.aliases=[]},72861:e=>{"use strict";function t(e){!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(e)}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},86175:e=>{"use strict";function t(e){!function(e){var t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},63010:e=>{"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},91540:e=>{"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},6590:e=>{"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+"(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},72194:e=>{"use strict";function t(e){!function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}e.exports=t,t.displayName="v",t.aliases=[]},68036:e=>{"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53059:(e,t,n)=>{"use strict";var r=n(99545);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},33453:e=>{"use strict";function t(e){!function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}e.exports=t,t.displayName="velocity",t.aliases=[]},89054:e=>{"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},20120:e=>{"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},4284:e=>{"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},37629:e=>{"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},15591:e=>{"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},71950:e=>{"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},40396:e=>{"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},22642:e=>{"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},95844:e=>{"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},19092:e=>{"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},46145:e=>{"use strict";function t(e){!function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},33666:e=>{"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},a={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",a)}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},16576:e=>{"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},62254:e=>{"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i<r.length;i++){var o=r[i],s=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?a.length>0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0&&"punctuation"===o.type&&"{"===o.content)||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var u=t(o);i<r.length-1&&("string"==typeof r[i+1]||"plain-text"===r[i+1].type)&&(u+=t(r[i+1]),r.splice(i+1,1)),i>0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(u=t(r[i-1])+u,r.splice(i-1,1),i--),/^\s+$/.test(u)?r[i]=u:r[i]=new e.Token("plain-text",u,null,u)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",(function(e){"xquery"===e.language&&n(e.tokens)}))}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},8009:e=>{"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+i+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},87203:e=>{"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},46394:e=>{"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,t(i)).replace(/<ALIGN>/g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,t(i)).replace(/<ALIGN>/g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach((function(t){null===t.inside&&(t.inside=e.languages.zig)}))}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},8781:e=>{var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},a.util.type(t)){case"Object":if(i=a.util.objId(t),n[i])return n[i];for(var o in r={},n[i]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":return i=a.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,a){r[a]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=a.util.clone(a.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||a.languages)[e],o={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(o[u]=n[u]);n.hasOwnProperty(s)||(o[s]=i[s])}var l=r[e];return r[e]=o,a.languages.DFS(a.languages,(function(t,n){n===l&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,r,i){i=i||{};var o=a.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var u=t[s],l=a.util.type(u);"Object"!==l||i[o(u)]?"Array"!==l||i[o(u)]||(i[o(u)]=!0,e(u,n,s,i)):(i[o(u)]=!0,e(u,n,null,i))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),a.hooks.run("before-all-elements-highlight",r);for(var i,o=0;i=r.elements[o++];)a.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=a.util.getLanguage(t),o=a.languages[i];a.util.setLanguage(t,i);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&a.util.setLanguage(s,i);var u={element:t,language:i,grammar:o,code:t.textContent};function l(e){u.highlightedCode=e,a.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,a.hooks.run("after-highlight",u),a.hooks.run("complete",u),r&&r.call(u.element)}if(a.hooks.run("before-sanity-check",u),(s=u.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!u.code)return a.hooks.run("complete",u),void(r&&r.call(u.element));if(a.hooks.run("before-highlight",u),u.grammar)if(n&&e.Worker){var d=new Worker(a.filename);d.onmessage=function(e){l(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else l(a.highlight(u.code,u.grammar,u.language));else l(a.util.encode(u.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(a.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=a.tokenize(r.code,r.grammar),a.hooks.run("after-tokenize",r),i.stringify(a.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new u;return l(a,a.head,e),s(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(e,t,n,r,u,c){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(c&&c.cause==p+","+m)return;var g=f[m],h=g.inside,b=!!g.lookbehind,E=!!g.greedy,T=g.alias;if(E&&!g.pattern.global){var A=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,A+"g")}for(var S=g.pattern||g,_=r.next,y=u;_!==t.tail&&!(c&&y>=c.reach);y+=_.value.length,_=_.next){var C=_.value;if(t.length>e.length)return;if(!(C instanceof i)){var N,R=1;if(E){if(!(N=o(S,y,e,b))||N.index>=e.length)break;var I=N.index,k=N.index+N[0].length,v=y;for(v+=_.value.length;I>=v;)v+=(_=_.next).value.length;if(y=v-=_.value.length,_.value instanceof i)continue;for(var O=_;O!==t.tail&&(v<k||"string"==typeof O.value);O=O.next)R++,v+=O.value.length;R--,C=e.slice(y,v),N.index-=y}else if(!(N=o(S,0,C,b)))continue;I=N.index;var D=N[0],w=C.slice(0,I),L=C.slice(I+D.length),x=y+C.length;c&&x>c.reach&&(c.reach=x);var P=_.prev;if(w&&(P=l(t,P,w),y+=w.length),d(t,P,R),_=l(t,P,new i(p,h?a.tokenize(D,h):D,T,D)),L&&l(t,_,L),R>1){var F={cause:p+","+m,reach:x};s(e,t,n,_.prev,y,F),c&&F.reach>c.reach&&(c.reach=F.reach)}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function d(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var u in i.attributes)s+=" "+u+'="'+(i.attributes[u]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(a.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()}),!1),a):a;var c=a.util.currentScript();function p(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var f=document.readyState;"loading"===f||"interactive"===f&&c&&c.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=t),"undefined"!=typeof global&&(global.Prism=t)},97150:e=>{"use strict";e.exports={mode:"lazy"}},71582:(e,t,n)=>{"use strict";const r=n(97150),a=n(41027),i=n(54969),o=new WeakMap;function s(e){let t=o.get(e);t||(t=function(e){const t=i.transform(e,T);return new i.TransformResult(t.getAST(),d)}(i.parse(`/${e.source}/${e.flags}`)),o.set(e,t));const n=t.getExtra();return{measurementRegExp:t.toRegExp(),groupInfos:n}}function u(e,t){const n=e.index,r=n+e[0].length,a=[],i=e.groups?Object.create(null):void 0;l(a,0,[n,r]);for(const r of t){let t;if(void 0!==e[r.newGroupNumber]){let a=n;if(r.measurementGroups)for(const t of r.measurementGroups)a+=e[t].length;t=[a,a+e[r.newGroupNumber].length]}l(a,r.oldGroupNumber,t),i&&void 0!==r.groupName&&l(i,r.groupName,t)}return l(a,"groups",i),a}function l(e,t,n){const r=Object.getOwnPropertyDescriptor(e,t);if(r?r.configurable:Object.isExtensible(e)){const a={enumerable:!r||r.enumerable,configurable:!r||r.configurable,writable:!0,value:n};Object.defineProperty(e,t,a)}}let d,c=!1,p=new Set,f=[],m=!1,g=1,h=[],b=new Map,E=new Map;const T={init(){c=!1,p.clear(),f.length=0,m=!1,g=1,h.length=0,b.clear(),E.clear(),d=[]},RegExp:e=>(i.traverse(e.node,S),p.size>0&&(i.transform(e.node,_),i.transform(e.node,y),c&&i.transform(e.node,C)),!1)},A={pre(e){f.push(m),m="Group"===e.node.type&&e.node.capturing},post(e){m&&p.add(e.node),m=f.pop()||m}},S={Alternative:A,Disjunction:A,Assertion:A,Group:A,Repetition:A,Backreference(e){c=!0}},_={Alternative(e){if(p.has(e.node)){let t=0,n=[];const r=[],a=[];for(let o=0;o<e.node.expressions.length;o++){const s=e.node.expressions[o];if(p.has(s)){if(o>t){const e={type:"Group",capturing:!0,number:-1,expression:n.length>1?{type:"Alternative",expressions:n}:1===n.length?n[0]:null};a.push(e),r.push(e),t=o,n=[]}h.push(r),i.transform(s,_),h.pop(),n.push(s)}else n.push(s)}e.update({expressions:a.concat(n)})}return!1},Group(e){e.node.capturing&&b.set(e.node,function(){const e=[];for(const t of h)for(const n of t)e.push(n);return e}())}},y={Group(e){if(!d)throw new Error("Not initialized.");if(!e.node.capturing)return;const t=e.node.number,n=g++,r=b.get(e.node);-1!==t&&(d.push({oldGroupNumber:t,newGroupNumber:n,measurementGroups:r&&r.map((e=>e.number)),groupName:e.node.name}),E.set(t,n)),e.update({number:n})}},C={Backreference(e){const t=E.get(e.node.number);t&&("number"===e.node.kind?e.update({number:t,reference:t}):e.update({number:t}))}};e.exports=function(e){return"spec-compliant"===r.mode?function(e,t){const{measurementRegExp:n,groupInfos:r}=s(e);n.lastIndex=e.lastIndex;const i=a.call(n,t);if(null===i)return null;e.lastIndex=n.lastIndex;const o=[];l(o,0,i[0]);for(const e of r)l(o,e.oldGroupNumber,i[e.newGroupNumber]);return l(o,"index",i.index),l(o,"input",i.input),l(o,"groups",i.groups),l(o,"indices",u(i,r)),o}(this,e):function(e,t){const n=e.lastIndex,r=a.call(e,t);if(null===r)return null;let i;return Object.defineProperty(r,"indices",{enumerable:!0,configurable:!0,get(){if(void 0===i){const{measurementRegExp:o,groupInfos:d}=s(e);o.lastIndex=n;const c=a.call(o,t);if(null===c)throw new TypeError;l(r,"indices",i=u(c,d))}return i},set(e){l(r,"indices",e)}}),r}(this,e)}},32710:(e,t,n)=>{"use strict";const r=n(71582),a=n(41027),i=n(74943),o=n(13089),s=n(97150),u=i();function l(e,t){return u.call(e,t)}l.implementation=r,l.native=a,l.getPolyfill=i,l.shim=o,l.config=s,l||(l={}),e.exports=l},41027:e=>{"use strict";const t=RegExp.prototype.exec;e.exports=t},74943:(e,t,n)=>{"use strict";const r=n(41027),a=n(71582);e.exports=function(){const e=new RegExp("a");return r.call(e,"a").indices?r:a}},13089:(e,t,n)=>{"use strict";const r=n(74943);e.exports=function(){const e=r();RegExp.prototype.exec!==e&&(RegExp.prototype.exec=e)}},83376:(e,t,n)=>{"use strict";var r=n(39192),a=n(12901);e.exports={transform:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.length>0?t:Object.keys(r),i=void 0,o={};return n.forEach((function(t){if(!r.hasOwnProperty(t))throw new Error("Unknown compat-transform: "+t+". Available transforms are: "+Object.keys(r).join(", "));var n=r[t];i=a.transform(e,n),e=i.getAST(),"function"==typeof n.getExtra&&(o[t]=n.getExtra())})),i.setExtra(o),i}}},11799:e=>{"use strict";var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=function(){function e(t,n){var r=n.flags,a=n.groups,i=n.source;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._re=t,this._groups=a,this.flags=r,this.source=i||t.source,this.dotAll=r.includes("s"),this.global=t.global,this.ignoreCase=t.ignoreCase,this.multiline=t.multiline,this.sticky=t.sticky,this.unicode=t.unicode}return t(e,[{key:"test",value:function(e){return this._re.test(e)}},{key:"compile",value:function(e){return this._re.compile(e)}},{key:"toString",value:function(){return this._toStringResult||(this._toStringResult="/"+this.source+"/"+this.flags),this._toStringResult}},{key:"exec",value:function(e){var t=this._re.exec(e);if(!this._groups||!t)return t;for(var n in t.groups={},this._groups){var r=this._groups[n];t.groups[n]=t[r]}return t}}]),e}();e.exports={RegExpTree:n}},60130:e=>{"use strict";e.exports={_hasUFlag:!1,shouldRun:function(e){return!!e.flags.includes("s")&&(e.flags=e.flags.replace("s",""),this._hasUFlag=e.flags.includes("u"),!0)},Char:function(e){var t=e.node;if("meta"===t.kind&&"."===t.value){var n="\\uFFFF",r="￿";this._hasUFlag&&(n="\\u{10FFFF}",r="􏿿"),e.replace({type:"CharacterClass",expressions:[{type:"ClassRange",from:{type:"Char",value:"\\0",kind:"decimal",symbol:"\0"},to:{type:"Char",value:n,kind:"unicode",symbol:r}}]})}}}},43880:e=>{"use strict";e.exports={_groupNames:{},init:function(){this._groupNames={}},getExtra:function(){return this._groupNames},Group:function(e){var t=e.node;t.name&&(this._groupNames[t.name]=t.number,delete t.name,delete t.nameRaw)},Backreference:function(e){var t=e.node;"name"===t.kind&&(t.kind="number",t.reference=t.number,delete t.referenceRaw)}}},26177:e=>{"use strict";e.exports={RegExp:function(e){var t=e.node;t.flags.includes("x")&&(t.flags=t.flags.replace("x",""))}}},39192:(e,t,n)=>{"use strict";e.exports={dotAll:n(60130),namedCapturingGroups:n(43880),xFlag:n(26177)}},52584:e=>{"use strict";function t(e){return e?n[e.type](e):""}var n={RegExp:function(e){return"/"+t(e.body)+"/"+e.flags},Alternative:function(e){return(e.expressions||[]).map(t).join("")},Disjunction:function(e){return t(e.left)+"|"+t(e.right)},Group:function(e){var n=t(e.expression);return e.capturing?e.name?"(?<"+(e.nameRaw||e.name)+">"+n+")":"("+n+")":"(?:"+n+")"},Backreference:function(e){switch(e.kind){case"number":return"\\"+e.reference;case"name":return"\\k<"+(e.referenceRaw||e.reference)+">";default:throw new TypeError("Unknown Backreference kind: "+e.kind)}},Assertion:function(e){switch(e.kind){case"^":case"$":case"\\b":case"\\B":return e.kind;case"Lookahead":var n=t(e.assertion);return e.negative?"(?!"+n+")":"(?="+n+")";case"Lookbehind":var r=t(e.assertion);return e.negative?"(?<!"+r+")":"(?<="+r+")";default:throw new TypeError("Unknown Assertion kind: "+e.kind)}},CharacterClass:function(e){var n=e.expressions.map(t).join("");return e.negative?"[^"+n+"]":"["+n+"]"},ClassRange:function(e){return t(e.from)+"-"+t(e.to)},Repetition:function(e){return""+t(e.expression)+t(e.quantifier)},Quantifier:function(e){var t=void 0,n=e.greedy?"":"?";switch(e.kind){case"+":case"?":case"*":t=e.kind;break;case"Range":t=e.from===e.to?"{"+e.from+"}":e.to?"{"+e.from+","+e.to+"}":"{"+e.from+",}";break;default:throw new TypeError("Unknown Quantifier kind: "+e.kind)}return""+t+n},Char:function(e){var t=e.value;switch(e.kind){case"simple":return e.escaped?"\\"+t:t;case"hex":case"unicode":case"oct":case"decimal":case"control":case"meta":return t;default:throw new TypeError("Unknown Char kind: "+e.kind)}},UnicodeProperty:function(e){return"\\"+(e.negative?"P":"p")+"{"+(e.shorthand||e.binary?"":e.name+"=")+e.value+"}"}};e.exports={generate:t}},71908:e=>{"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=null;function a(e,t){if(!t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var a=e[r],i=t[r];if(a.size!==i.size)return!1;if([].concat(n(a)).sort().join(",")!==[].concat(n(i)).sort().join(","))return!1}return!0}function i(e,t,n,r){var a=!0,i=!1,s=void 0;try{for(var u,l=r[Symbol.iterator]();!(a=(u=l.next()).done);a=!0)if(!o(e,t,n,u.value))return!1}catch(e){i=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw s}}return!0}function o(e,t,n,a){if(!r[e]||!r[t])return!1;var i=n[e][a],o=n[t][a];return!i&&!o||r[e].has(i)&&r[t].has(o)}e.exports={minimize:function(e){var o=e.getTransitionTable(),s=Object.keys(o),u=e.getAlphabet(),l=e.getAcceptingStateNumbers();r={};var d=new Set;s.forEach((function(e){e=Number(e),l.has(e)?r[e]=l:(d.add(e),r[e]=d)}));var c=[[d,l].filter((function(e){return e.size>0}))],p=void 0,f=void 0;p=c[c.length-1],f=c[c.length-2];for(var m=function(){var e,t={},a=!0,s=!1,l=void 0;try{for(var d,m=p[Symbol.iterator]();!(a=(d=m.next()).done);a=!0){var g=d.value,h={},b=(e=g,Array.isArray(e)?e:Array.from(e)),E=b[0],T=b.slice(1);h[E]=new Set([E]);var A=!0,S=!1,_=void 0;try{e:for(var y,C=T[Symbol.iterator]();!(A=(y=C.next()).done);A=!0){var N=y.value,R=!0,I=!1,k=void 0;try{for(var v,O=Object.keys(h)[Symbol.iterator]();!(R=(v=O.next()).done);R=!0){var D=v.value;if(i(N,D,o,u)){h[D].add(N),h[N]=h[D];continue e}}}catch(e){I=!0,k=e}finally{try{!R&&O.return&&O.return()}finally{if(I)throw k}}h[N]=new Set([N])}}catch(e){S=!0,_=e}finally{try{!A&&C.return&&C.return()}finally{if(S)throw _}}Object.assign(t,h)}}catch(e){s=!0,l=e}finally{try{!a&&m.return&&m.return()}finally{if(s)throw l}}r=t;var w=new Set(Object.keys(t).map((function(e){return t[e]})));c.push([].concat(n(w))),p=c[c.length-1],f=c[c.length-2]};!a(p,f);)m();var g=new Map,h=1;p.forEach((function(e){return g.set(e,h++)}));var b={},E=new Set,T=function(e,t){var n=!0,r=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var s=i.value;l.has(s)&&E.add(t)}}catch(e){r=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw a}}},A=!0,S=!1,_=void 0;try{for(var y,C=g.entries()[Symbol.iterator]();!(A=(y=C.next()).done);A=!0){var N=y.value,R=t(N,2),I=R[0],k=R[1];b[k]={};var v=!0,O=!1,D=void 0;try{for(var w,L=u[Symbol.iterator]();!(v=(w=L.next()).done);v=!0){var x=w.value;T(I,k);var P=void 0,F=!0,M=!1,U=void 0;try{for(var B,G=I[Symbol.iterator]();!(F=(B=G.next()).done);F=!0){var H=B.value;if(P=o[H][x])break}}catch(e){M=!0,U=e}finally{try{!F&&G.return&&G.return()}finally{if(M)throw U}}P&&(b[k][x]=g.get(r[P]))}}catch(e){O=!0,D=e}finally{try{!v&&L.return&&L.return()}finally{if(O)throw D}}}}catch(e){S=!0,_=e}finally{try{!A&&C.return&&C.return()}finally{if(S)throw _}}return e.setTransitionTable(b),e.setAcceptingStateNumbers(E),e}}},20799:(e,t,n)=>{"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=n(71908),o=n(11620).EPSILON_CLOSURE,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._nfa=t}return r(e,[{key:"minimize",value:function(){this.getTransitionTable(),this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._originalTransitionTable=this._transitionTable,i.minimize(this)}},{key:"getAlphabet",value:function(){return this._nfa.getAlphabet()}},{key:"getAcceptingStateNumbers",value:function(){return this._acceptingStateNumbers||this.getTransitionTable(),this._acceptingStateNumbers}},{key:"getOriginaAcceptingStateNumbers",value:function(){return this._originalAcceptingStateNumbers||this.getTransitionTable(),this._originalAcceptingStateNumbers}},{key:"setTransitionTable",value:function(e){this._transitionTable=e}},{key:"setAcceptingStateNumbers",value:function(e){this._acceptingStateNumbers=e}},{key:"getTransitionTable",value:function(){var e=this;if(this._transitionTable)return this._transitionTable;var t=this._nfa.getTransitionTable(),n=Object.keys(t);this._acceptingStateNumbers=new Set;for(var r=[t[n[0]][o]],i=this.getAlphabet(),s=this._nfa.getAcceptingStateNumbers(),u={},l=function(t){var n=!0,r=!1,a=void 0;try{for(var i,o=s[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var u=i.value;if(-1!==t.indexOf(u)){e._acceptingStateNumbers.add(t.join(","));break}}}catch(e){r=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw a}}};r.length>0;){var d=r.shift(),c=d.join(",");u[c]={};var p=!0,f=!1,m=void 0;try{for(var g,h=i[Symbol.iterator]();!(p=(g=h.next()).done);p=!0){var b=g.value,E=[];l(d);var T=!0,A=!1,S=void 0;try{for(var _,y=d[Symbol.iterator]();!(T=(_=y.next()).done);T=!0){var C=t[_.value][b];if(C){var N=!0,R=!1,I=void 0;try{for(var k,v=C[Symbol.iterator]();!(N=(k=v.next()).done);N=!0){var O=k.value;t[O]&&E.push.apply(E,a(t[O][o]))}}catch(e){R=!0,I=e}finally{try{!N&&v.return&&v.return()}finally{if(R)throw I}}}}}catch(e){A=!0,S=e}finally{try{!T&&y.return&&y.return()}finally{if(A)throw S}}var D=new Set(E),w=[].concat(a(D));if(w.length>0){var L=w.join(",");u[c][b]=L,u.hasOwnProperty(L)||r.unshift(w)}}}catch(e){f=!0,m=e}finally{try{!p&&h.return&&h.return()}finally{if(f)throw m}}}return this._transitionTable=this._remapStateNumbers(u)}},{key:"_remapStateNumbers",value:function(e){var t={};this._originalTransitionTable=e;var n={};for(var r in Object.keys(e).forEach((function(e,n){t[e]=n+1})),e){var a=e[r],i={};for(var o in a)i[o]=t[a[o]];n[t[r]]=i}this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._acceptingStateNumbers=new Set;var s=!0,u=!1,l=void 0;try{for(var d,c=this._originalAcceptingStateNumbers[Symbol.iterator]();!(s=(d=c.next()).done);s=!0){var p=d.value;this._acceptingStateNumbers.add(t[p])}}catch(e){u=!0,l=e}finally{try{!s&&c.return&&c.return()}finally{if(u)throw l}}return n}},{key:"getOriginalTransitionTable",value:function(){return this._originalTransitionTable||this.getTransitionTable(),this._originalTransitionTable}},{key:"matches",value:function(e){for(var t=1,n=0,r=this.getTransitionTable();e[n];)if(!(t=r[t][e[n++]]))return!1;return!!this.getAcceptingStateNumbers().has(t)}}]),e}();e.exports=s},82636:(e,t,n)=>{"use strict";var r=n(87523),a=n(20799),i=n(28632),o=n(45978);e.exports={NFA:r,DFA:a,builders:o,toNFA:function(e){return i.build(e)},toDFA:function(e){return new a(this.toNFA(e))},test:function(e,t){return this.toDFA(e).matches(t)}}},45978:(e,t,n)=>{"use strict";var r=n(87523),a=n(5035),i=n(11620).EPSILON;function o(e){var t=new a,n=new a({accepting:!0});return new r(t.addTransition(e,n),n)}function s(e,t){return e.out.accepting=!1,t.out.accepting=!0,e.out.addTransition(i,t.in),new r(e.in,t.out)}function u(e,t){var n=new a,o=new a;return n.addTransition(i,e.in),n.addTransition(i,t.in),o.accepting=!0,e.out.accepting=!1,t.out.accepting=!1,e.out.addTransition(i,o),t.out.addTransition(i,o),new r(n,o)}e.exports={alt:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=!0,i=!1,o=void 0;try{for(var u,l=n[Symbol.iterator]();!(a=(u=l.next()).done);a=!0)e=s(e,u.value)}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return e},char:o,e:function(){return o(i)},or:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=!0,i=!1,o=void 0;try{for(var s,l=n[Symbol.iterator]();!(a=(s=l.next()).done);a=!0)e=u(e,s.value)}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return e},rep:function(e){return e.in.addTransition(i,e.out),e.out.addTransition(i,e.in),e},repExplicit:function(e){var t=new a,n=new a({accepting:!0});return t.addTransition(i,e.in),t.addTransition(i,n),e.out.accepting=!1,e.out.addTransition(i,n),n.addTransition(i,e.in),new r(t,n)},plusRep:function(e){return e.out.addTransition(i,e.in),e},questionRep:function(e){return e.in.addTransition(i,e.out),e}}},28632:(e,t,n)=>{"use strict";var r=n(71972),a=n(45978),i=a.alt,o=a.char,s=a.or,u=a.rep,l=a.plusRep,d=a.questionRep;function c(e){if(e&&!p[e.type])throw new Error(e.type+" is not supported in NFA/DFA interpreter.");return e?p[e.type](e):""}var p={RegExp:function(e){if(""!==e.flags)throw new Error("NFA/DFA: Flags are not supported yet.");return c(e.body)},Alternative:function(e){var t=(e.expressions||[]).map(c);return i.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))},Disjunction:function(e){return s(c(e.left),c(e.right))},Repetition:function(e){switch(e.quantifier.kind){case"*":return u(c(e.expression));case"+":return l(c(e.expression));case"?":return d(c(e.expression));default:throw new Error("Unknown repeatition: "+e.quantifier.kind+".")}},Char:function(e){if("simple"!==e.kind)throw new Error("NFA/DFA: Only simple chars are supported yet.");return o(e.value)},Group:function(e){return c(e.expression)}};e.exports={build:function(e){var t=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(t=r.parse(e,{captureLocations:!0})),c(t)}}},5035:(e,t,n)=>{"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(52173),i=n(11620).EPSILON,o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"matches",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(t.has(this))return!1;if(t.add(this),0===e.length){if(this.accepting)return!0;var n=!0,r=!1,a=void 0;try{for(var o,s=this.getTransitionsOnSymbol(i)[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(o.value.matches("",t))return!0}catch(e){r=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw a}}return!1}var u=e[0],l=e.slice(1),d=this.getTransitionsOnSymbol(u),c=!0,p=!1,f=void 0;try{for(var m,g=d[Symbol.iterator]();!(c=(m=g.next()).done);c=!0)if(m.value.matches(l))return!0}catch(e){p=!0,f=e}finally{try{!c&&g.return&&g.return()}finally{if(p)throw f}}var h=!0,b=!1,E=void 0;try{for(var T,A=this.getTransitionsOnSymbol(i)[Symbol.iterator]();!(h=(T=A.next()).done);h=!0)if(T.value.matches(e,t))return!0}catch(e){b=!0,E=e}finally{try{!h&&A.return&&A.return()}finally{if(b)throw E}}return!1}},{key:"getEpsilonClosure",value:function(){var e=this;return this._epsilonClosure||function(){var t=e.getTransitionsOnSymbol(i),n=e._epsilonClosure=new Set;n.add(e);var r=!0,a=!1,o=void 0;try{for(var s,u=t[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var l=s.value;n.has(l)||(n.add(l),l.getEpsilonClosure().forEach((function(e){return n.add(e)})))}}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}}(),this._epsilonClosure}}]),t}(a);e.exports=o},87523:(e,t,n)=>{"use strict";var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(11620),o=i.EPSILON,s=i.EPSILON_CLOSURE,u=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.in=t,this.out=n}return a(e,[{key:"matches",value:function(e){return this.in.matches(e)}},{key:"getAlphabet",value:function(){if(!this._alphabet){this._alphabet=new Set;var e=this.getTransitionTable();for(var t in e){var n=e[t];for(var r in n)r!==s&&this._alphabet.add(r)}}return this._alphabet}},{key:"getAcceptingStates",value:function(){return this._acceptingStates||this.getTransitionTable(),this._acceptingStates}},{key:"getAcceptingStateNumbers",value:function(){if(!this._acceptingStateNumbers){this._acceptingStateNumbers=new Set;var e=!0,t=!1,n=void 0;try{for(var r,a=this.getAcceptingStates()[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var i=r.value;this._acceptingStateNumbers.add(i.number)}}catch(e){t=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(t)throw n}}}return this._acceptingStateNumbers}},{key:"getTransitionTable",value:function(){var e=this;if(!this._transitionTable){this._transitionTable={},this._acceptingStates=new Set;var t=new Set,n=new Set;!function a(i){if(!t.has(i)){t.add(i),i.number=t.size,e._transitionTable[i.number]={},i.accepting&&e._acceptingStates.add(i);var o=i.getTransitions(),s=!0,u=!1,l=void 0;try{for(var d,c=o[Symbol.iterator]();!(s=(d=c.next()).done);s=!0){var p=d.value,f=r(p,2),m=f[0],g=f[1],h=[];n.add(m);var b=!0,E=!1,T=void 0;try{for(var A,S=g[Symbol.iterator]();!(b=(A=S.next()).done);b=!0){var _=A.value;a(_),h.push(_.number)}}catch(e){E=!0,T=e}finally{try{!b&&S.return&&S.return()}finally{if(E)throw T}}e._transitionTable[i.number][m]=h}}catch(e){u=!0,l=e}finally{try{!s&&c.return&&c.return()}finally{if(u)throw l}}}}(this.in),t.forEach((function(t){delete e._transitionTable[t.number][o],e._transitionTable[t.number][s]=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t.getEpsilonClosure())).map((function(e){return e.number}))}))}return this._transitionTable}}]),e}();e.exports=u},11620:e=>{"use strict";e.exports={EPSILON:"ε",EPSILON_CLOSURE:"ε*"}},52173:e=>{"use strict";var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=function(){function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).accepting,n=void 0!==t&&t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._transitions=new Map,this.accepting=n}return t(e,[{key:"getTransitions",value:function(){return this._transitions}},{key:"addTransition",value:function(e,t){return this.getTransitionsOnSymbol(e).add(t),this}},{key:"getTransitionsOnSymbol",value:function(e){var t=this._transitions.get(e);return t||(t=new Set,this._transitions.set(e,t)),t}}]),e}();e.exports=n},1670:(e,t,n)=>{"use strict";var r=n(5169),a=n(71972),i=n(12901),o=n(76530);e.exports={optimize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.whitelist,s=void 0===n?[]:n,u=t.blacklist,l=void 0===u?[]:u,d=(s.length>0?s:Array.from(o.keys())).filter((function(e){return!l.includes(e)})),c=e;e instanceof RegExp&&(e=""+e),"string"==typeof e&&(c=a.parse(e));var p=new i.TransformResult(c),f=void 0;do{f=p.toString(),c=r(p.getAST()),d.forEach((function(e){if(!o.has(e))throw new Error("Unknown optimization-transform: "+e+". Available transforms are: "+Array.from(o.keys()).join(", "));var t=o.get(e),n=i.transform(c,t);n.toString()!==p.toString()&&(n.toString().length<=p.toString().length?p=n:c=r(p.getAST()))}))}while(p.toString()!==f);return p}}},40784:e=>{"use strict";var t="A".codePointAt(0),n="Z".codePointAt(0);e.exports={_AZClassRanges:null,_hasUFlag:!1,init:function(e){this._AZClassRanges=new Set,this._hasUFlag=e.flags.includes("u")},shouldRun:function(e){return e.flags.includes("i")},Char:function(e){var r=e.node,a=e.parent;if(!isNaN(r.codePoint)&&(this._hasUFlag||!(r.codePoint>=4096))){if("ClassRange"===a.type){if(!(this._AZClassRanges.has(a)||(i=a,o=i.from,s=i.to,o.codePoint>=t&&o.codePoint<=n&&s.codePoint>=t&&s.codePoint<=n)))return;this._AZClassRanges.add(a)}var i,o,s,u=r.symbol.toLowerCase();u!==r.symbol&&(r.value=function(e,t){var n=e.codePointAt(0);if("decimal"===t.kind)return"\\"+n;if("oct"===t.kind)return"\\0"+n.toString(8);if("hex"===t.kind)return"\\x"+n.toString(16);if("unicode"===t.kind){if(t.isSurrogatePair){var r=function(e){var t=(e-65536)%1024+56320;return{lead:(Math.floor((e-65536)/1024)+55296).toString(16),trail:t.toString(16)}}(n),a=r.lead,i=r.trail;return"\\u"+"0".repeat(4-a.length)+a+"\\u"+"0".repeat(4-i.length)+i}if(t.value.includes("{"))return"\\u{"+n.toString(16)+"}";var o=n.toString(16);return"\\u"+"0".repeat(4-o.length)+o}return e}(u,r),r.symbol=u,r.codePoint=u.codePointAt(0))}}}},12966:e=>{"use strict";function t(e,t){var i=n(e),o=n(t);if(i===o){if("ClassRange"===e.type&&"ClassRange"!==t.type)return-1;if("ClassRange"===t.type&&"ClassRange"!==e.type)return 1;if("ClassRange"===e.type&&"ClassRange"===t.type)return n(e.to)-n(t.to);if(r(e)&&r(t)||a(e)&&a(t))return e.value<t.value?-1:1}return i-o}function n(e){return"Char"===e.type?"-"===e.value||"control"===e.kind?1/0:"meta"===e.kind&&isNaN(e.codePoint)?-1:e.codePoint:e.from.codePoint}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"Char"===e.type&&"meta"===e.kind&&(t?e.value===t:/^\\[dws]$/i.test(e.value))}function a(e){return"Char"===e.type&&"control"===e.kind}function i(e,t,n){for(var r=0;r<t.length;r++)if(o(e,t[r],n))return!0;return!1}function o(e,t,n){return"ClassRange"===e.type?o(e.from,t,n)&&o(e.to,t,n):!("\\S"!==t||!r(e,"\\w")&&!r(e,"\\d"))||!("\\D"!==t||!r(e,"\\W")&&!r(e,"\\s"))||!("\\w"!==t||!r(e,"\\d"))||!("\\W"!==t||!r(e,"\\s"))||"Char"===e.type&&!isNaN(e.codePoint)&&("\\s"===t?s(e):"\\S"===t?!s(e):"\\d"===t?u(e):"\\D"===t?!u(e):"\\w"===t?l(e,n):"\\W"===t&&!l(e,n))}function s(e){return 9===e.codePoint||10===e.codePoint||11===e.codePoint||12===e.codePoint||13===e.codePoint||32===e.codePoint||160===e.codePoint||5760===e.codePoint||e.codePoint>=8192&&e.codePoint<=8202||8232===e.codePoint||8233===e.codePoint||8239===e.codePoint||8287===e.codePoint||12288===e.codePoint||65279===e.codePoint}function u(e){return e.codePoint>=48&&e.codePoint<=57}function l(e,t){return u(e)||e.codePoint>=65&&e.codePoint<=90||e.codePoint>=97&&e.codePoint<=122||"_"===e.value||t&&(383===e.codePoint||8490===e.codePoint)}function d(e,t){if(t&&"ClassRange"===t.type){if(p(e,t))return!0;if(m(e)&&t.to.codePoint===e.codePoint-1)return t.to=e,!0;if("ClassRange"===e.type&&e.from.codePoint<=t.to.codePoint+1&&e.to.codePoint>=t.from.codePoint-1)return e.from.codePoint<t.from.codePoint&&(t.from=e.from),e.to.codePoint>t.to.codePoint&&(t.to=e.to),!0}return!1}function c(e,t){return!(!t||"ClassRange"!==t.type||!m(e)||t.from.codePoint!==e.codePoint+1||(t.from=e,0))}function p(e,t){return("Char"!==e.type||!isNaN(e.codePoint))&&("ClassRange"===e.type?p(e.from,t)&&p(e.to,t):e.codePoint>=t.from.codePoint&&e.codePoint<=t.to.codePoint)}function f(e,t,n){if(!m(e))return 0;for(var r=0;t>0;){var a=n[t],i=n[t-1];if(!m(i)||i.codePoint!==a.codePoint-1)break;r++,t--}return r>1?(n[t]={type:"ClassRange",from:n[t],to:e},r):0}function m(e){return e&&"Char"===e.type&&!isNaN(e.codePoint)&&(l(e,!1)||"unicode"===e.kind||"hex"===e.kind||"oct"===e.kind||"decimal"===e.kind)}e.exports={_hasIUFlags:!1,init:function(e){this._hasIUFlags=e.flags.includes("i")&&e.flags.includes("u")},CharacterClass:function(e){var n=e.node.expressions,a=[];n.forEach((function(e){r(e)&&a.push(e.value)})),n.sort(t);for(var o=0;o<n.length;o++){var s=n[o];if(i(s,a,this._hasIUFlags)||d(s,n[o-1])||c(s,n[o+1]))n.splice(o,1),o--;else{var u=f(s,o,n);n.splice(o-u+1,u),o-=u}}}}},42575:e=>{"use strict";e.exports={ClassRange:function(e){var t=e.node;t.from.codePoint===t.to.codePoint?e.replace(t.from):t.from.codePoint===t.to.codePoint-1&&(e.getParent().insertChildAt(t.to,e.index+1),e.replace(t.from))}}},26828:e=>{"use strict";e.exports={CharacterClass:function(e){for(var t=e.node,n={},r=0;r<t.expressions.length;r++){var a=e.getChild(r),i=a.jsonEncode();n.hasOwnProperty(i)&&(a.remove(),r--),n[i]=!0}}}},11412:e=>{"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}e.exports={_hasIFlag:!1,_hasUFlag:!1,init:function(e){this._hasIFlag=e.flags.includes("i"),this._hasUFlag=e.flags.includes("u")},CharacterClass:function(e){!function(e){e.node.expressions.forEach((function(t,n){(function(e){return"ClassRange"===e.type&&"0"===e.from.value&&"9"===e.to.value})(t)&&e.getChild(n).replace({type:"Char",value:"\\d",kind:"meta"})}))}(e),function(e,t,n){var r=e.node,o=null,s=null,u=null,l=null,d=null,c=null;r.expressions.forEach((function(r,p){a(r,"\\d")?o=e.getChild(p):function(e){return"ClassRange"===e.type&&"a"===e.from.value&&"z"===e.to.value}(r)?s=e.getChild(p):function(e){return"ClassRange"===e.type&&"A"===e.from.value&&"Z"===e.to.value}(r)?u=e.getChild(p):function(e){return"Char"===e.type&&"_"===e.value&&"simple"===e.kind}(r)?l=e.getChild(p):t&&n&&i(r,383)?d=e.getChild(p):t&&n&&i(r,8490)&&(c=e.getChild(p))})),o&&(s&&u||t&&(s||u))&&l&&(!n||!t||d&&c)&&(o.replace({type:"Char",value:"\\w",kind:"meta"}),s&&s.remove(),u&&u.remove(),l.remove(),d&&d.remove(),c&&c.remove())}(e,this._hasIFlag,this._hasUFlag),function(e){var t=e.node;if(!(t.expressions.length<n.length)&&n.every((function(e){return t.expressions.some((function(t){return e(t)}))}))){var r=t.expressions.find((function(e){return a(e,"\\n")}));r.value="\\s",r.symbol=void 0,r.codePoint=NaN,t.expressions.map((function(t,r){return n.some((function(e){return e(t)}))?e.getChild(r):void 0})).filter(Boolean).forEach((function(e){return e.remove()}))}}(e)}};var n=[function(e){return r(e," ")}].concat(t(["\\f","\\n","\\r","\\t","\\v"].map((function(e){return function(t){return a(t,e)}}))),t([160,5760,8232,8233,8239,8287,12288,65279].map((function(e){return function(t){return i(t,e)}}))),[function(e){return"ClassRange"===e.type&&i(e.from,8192)&&i(e.to,8202)}]);function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"simple";return"Char"===e.type&&e.value===t&&e.kind===n}function a(e,t){return r(e,t,"meta")}function i(e,t){return"Char"===e.type&&"unicode"===e.kind&&e.codePoint===t}},53316:e=>{"use strict";function t(e){return/[*[()+?$./{}|]/.test(e)}e.exports={CharacterClass:function(e){var n=e.node;if(1===n.expressions.length&&function(e){var t=e.parent,n=e.index;if("Alternative"!==t.type)return!0;var r=t.expressions[n-1];return null==r||("Backreference"!==r.type||"number"!==r.kind)&&("Char"!==r.type||"decimal"!==r.kind)}(e)&&function(e){return"Char"===e.type&&"\\b"!==e.value}(n.expressions[0])){var r=n.expressions[0],a=r.value,i=r.kind,o=r.escaped;if(n.negative){if(!function(e){return/^\\[dwsDWS]$/.test(e)}(a))return;a=function(e){return/[dws]/.test(e)?e.toUpperCase():e.toLowerCase()}(a)}e.replace({type:"Char",value:a,kind:i,escaped:o||t(a)})}}}},24425:e=>{"use strict";var t="A".codePointAt(0),n="Z".codePointAt(0),r="a".codePointAt(0),a="z".codePointAt(0),i="0".codePointAt(0),o="9".codePointAt(0);e.exports={Char:function(e){var s,u,l,d=e.node,c=e.parent;if(!isNaN(d.codePoint)&&"simple"!==d.kind&&("ClassRange"!==c.type||(u=(s=c).from,l=s.to,u.codePoint>=i&&u.codePoint<=o&&l.codePoint>=i&&l.codePoint<=o||u.codePoint>=t&&u.codePoint<=n&&l.codePoint>=t&&l.codePoint<=n||u.codePoint>=r&&u.codePoint<=a&&l.codePoint>=r&&l.codePoint<=a))&&(p=d.codePoint)>=32&&p<=126){var p,f=String.fromCodePoint(d.codePoint),m={type:"Char",kind:"simple",value:f,symbol:f,codePoint:d.codePoint};(function(e,t){return"ClassRange"===t||"CharacterClass"===t?/[\]\\^-]/.test(e):/[*[()+?^$./\\|{}]/.test(e)})(f,c.type)&&(m.escaped=!0),e.replace(m)}}}},25529:e=>{"use strict";function t(e,t,n){for(var r=e,a=(n?r>=0:r<t.expressions.length)&&t.expressions[r];a&&"Char"===a.type&&"simple"===a.kind&&!a.escaped&&/\d/.test(a.value);)n?r--:r++,a=(n?r>=0:r<t.expressions.length)&&t.expressions[r];return Math.abs(e-r)}function n(e,t){return e&&"Char"===e.type&&"simple"===e.kind&&!e.escaped&&e.value===t}e.exports={_hasXFlag:!1,init:function(e){this._hasXFlag=e.flags.includes("x")},Char:function(e){var r=e.node;r.escaped&&function(e,r){var a=e.node.value,i=e.index,o=e.parent;return"CharacterClass"!==o.type&&"ClassRange"!==o.type?!function(e,r,a,i){return"{"===e?function(e,r){if(null==e)return!1;var a=t(e+1,r),i=e+a+1,o=i<r.expressions.length&&r.expressions[i];if(a){if(n(o,"}"))return!0;if(n(o,","))return n(o=(i=i+(a=t(i+1,r))+1)<r.expressions.length&&r.expressions[i],"}")}return!1}(r,a):"}"===e?function(e,r){if(null==e)return!1;var a=t(e-1,r,!0),i=e-a-1,o=i>=0&&r.expressions[i];return!(!a||!n(o,"{"))||!!n(o,",")&&(o=(i=i-(a=t(i-1,r,!0))-1)<r.expressions.length&&r.expressions[i],a&&n(o,"{"))}(r,a):!(!i||!/[ #]/.test(e))||/[*[()+?^$./\\|]/.test(e)}(a,i,o,r):!function(e,t,n){return"^"===e?0===t&&!n.negative:"-"===e||/[\]\\]/.test(e)}(a,i,o)}(e,this._hasXFlag)&&delete r.escaped}}},35806:e=>{"use strict";e.exports={shouldRun:function(e){return e.flags.includes("u")},Char:function(e){var t=e.node;"unicode"===t.kind&&t.isSurrogatePair&&!isNaN(t.codePoint)&&(t.value="\\u{"+t.codePoint.toString(16)+"}",delete t.isSurrogatePair)}}},81474:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var a=n(32725),i=n(90336).increaseQuantifierByOne;function o(e,t,n){for(var i=e.node,o=Math.ceil(n/2),s=0;s<o;){var u=n-2*s-1,l=void 0,d=void 0;if(0===s?(l=t,d=e.getChild(u)):(l=a.getForNode({type:"Alternative",expressions:[].concat(r(i.expressions.slice(n-s,n)),[t.node])}),d=a.getForNode({type:"Alternative",expressions:[].concat(r(i.expressions.slice(u,n-s)))})),l.hasEqualSource(d)){for(var c=0;c<2*s+1;c++)e.getChild(u).remove();return t.replace({type:"Repetition",expression:0===s&&"Repetition"!==l.node.type?l.node:{type:"Group",capturing:!1,expression:l.node},quantifier:{type:"Quantifier",kind:"Range",from:2,to:2,greedy:!0}}),u}s++}return n}function s(e,t,n){for(var o=e.node,s=0;s<n;){var u=e.getChild(s);if("Repetition"===u.node.type&&u.node.quantifier.greedy){var l=u.getChild(),d=void 0;if("Group"!==l.node.type||l.node.capturing||(l=l.getChild()),s+1===n?"Group"!==(d=t).node.type||d.node.capturing||(d=d.getChild()):d=a.getForNode({type:"Alternative",expressions:[].concat(r(o.expressions.slice(s+1,n+1)))}),l.hasEqualSource(d)){for(var c=s;c<n;c++)e.getChild(s+1).remove();return i(u.node.quantifier),s}}s++}return n}function u(e,t,n){var o=e.node;if("Repetition"===t.node.type&&t.node.quantifier.greedy){var s=t.getChild(),u=void 0;"Group"!==s.node.type||s.node.capturing||(s=s.getChild());var l=void 0;if("Alternative"===s.node.type?(l=s.node.expressions.length,u=a.getForNode({type:"Alternative",expressions:[].concat(r(o.expressions.slice(n-l,n)))})):(l=1,"Group"!==(u=e.getChild(n-1)).node.type||u.node.capturing||(u=u.getChild())),u.hasEqualSource(s)){for(var d=n-l;d<n;d++)e.getChild(n-l).remove();return i(t.node.quantifier),n-l}}return n}e.exports={Alternative:function(e){for(var t=e.node,n=1;n<t.expressions.length;){var r=e.getChild(n);if((n=Math.max(1,o(e,r,n)))>=t.expressions.length)break;if(r=e.getChild(n),(n=Math.max(1,s(e,r,n)))>=t.expressions.length)break;r=e.getChild(n),n=Math.max(1,u(e,r,n)),n++}}}},72191:(e,t,n)=>{"use strict";var r=n(32725),a=n(90336),i=a.disjunctionToList,o=a.listToDisjunction;e.exports={Disjunction:function(e){var t=e.node,n={},a=i(t).filter((function(e){var t=e?r.getForNode(e).jsonEncode():"null";return!n.hasOwnProperty(t)&&(n[t]=e,!0)}));e.replace(o(a))}}},64094:e=>{"use strict";e.exports={Disjunction:function(e){var r=e.node,a=e.parent;if(t[a.type]){var i=new Map;if(n(r,i)&&i.size){var o={type:"CharacterClass",expressions:Array.from(i.keys()).sort().map((function(e){return i.get(e)}))};t[a.type](e.getParent(),o)}}}};var t={RegExp:function(e,t){e.node.body=t},Group:function(e,t){var n=e.node;n.capturing?n.expression=t:e.replace(t)}};function n(e,t){if(!e)return!1;var r=e.type;if("Disjunction"===r){var a=e.left,i=e.right;return n(a,t)&&n(i,t)}if("Char"===r){if("meta"===e.kind&&"."===e.symbol)return!1;var o=e.value;return t.set(o,e),!0}return"CharacterClass"===r&&!e.negative&&e.expressions.every((function(e){return n(e,t)}))}},76530:(e,t,n)=>{"use strict";e.exports=new Map([["charSurrogatePairToSingleUnicode",n(35806)],["charCodeToSimpleChar",n(24425)],["charCaseInsensitiveLowerCaseTransform",n(40784)],["charClassRemoveDuplicates",n(26828)],["quantifiersMerge",n(20459)],["quantifierRangeToSymbol",n(46688)],["charClassClassrangesToChars",n(42575)],["charClassToMeta",n(11412)],["charClassToSingleChar",n(53316)],["charEscapeUnescape",n(25529)],["charClassClassrangesMerge",n(12966)],["disjunctionRemoveDuplicates",n(72191)],["groupSingleCharsToCharClass",n(64094)],["removeEmptyGroup",n(48915)],["ungroup",n(69297)],["combineRepeatingPatterns",n(81474)]])},46688:e=>{"use strict";e.exports={Quantifier:function(e){"Range"===e.node.kind&&(function(e){var t=e.node;0!==t.from||t.to||(t.kind="*",delete t.from)}(e),function(e){var t=e.node;1!==t.from||t.to||(t.kind="+",delete t.from)}(e),function(e){var t=e.node;1===t.from&&1===t.to&&e.parentPath.replace(e.parentPath.node.expression)}(e))}}},20459:(e,t,n)=>{"use strict";var r=n(90336).increaseQuantifierByOne;function a(e){return e.greedy&&("+"===e.kind||"*"===e.kind||"Range"===e.kind&&!e.to)}function i(e){var t=void 0,n=void 0;return"*"===e.kind?t=0:"+"===e.kind?t=1:"?"===e.kind?(t=0,n=1):(t=e.from,e.to&&(n=e.to)),{from:t,to:n}}e.exports={Repetition:function(e){var t=e.node;if("Alternative"===e.parent.type&&e.index){var n=e.getPreviousSibling();if(n)if("Repetition"===n.node.type){if(!n.getChild().hasEqualSource(e.getChild()))return;var o=i(n.node.quantifier),s=o.from,u=o.to,l=i(t.quantifier),d=l.from,c=l.to;if(n.node.quantifier.greedy!==t.quantifier.greedy&&!a(n.node.quantifier)&&!a(t.quantifier))return;t.quantifier.kind="Range",t.quantifier.from=s+d,u&&c?t.quantifier.to=u+c:delete t.quantifier.to,(a(n.node.quantifier)||a(t.quantifier))&&(t.quantifier.greedy=!0),n.remove()}else{if(!n.hasEqualSource(e.getChild()))return;r(t.quantifier),n.remove()}}}}},48915:e=>{"use strict";e.exports={Group:function(e){var t=e.node,n=e.parent,r=e.getChild();t.capturing||r||("Repetition"===n.type?e.getParent().replace(t):"RegExp"!==n.type&&e.remove())}}},69297:e=>{"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}e.exports={Group:function(e){var n=e.node,r=e.parent,a=e.getChild();if(!n.capturing&&a&&function(e){var t=e.parent,n=e.index;if("Alternative"!==t.type)return!0;var r=t.expressions[n-1];return null==r||("Backreference"!==r.type||"number"!==r.kind)&&("Char"!==r.type||"decimal"!==r.kind)}(e)&&!("Disjunction"===a.node.type&&"RegExp"!==r.type||"Repetition"===r.type&&"Char"!==a.node.type&&"CharacterClass"!==a.node.type))if("Alternative"===a.node.type){var i=e.getParent();"Alternative"===i.node.type&&i.replace({type:"Alternative",expressions:[].concat(t(r.expressions.slice(0,e.index)),t(a.node.expressions),t(r.expressions.slice(e.index+1)))})}else e.replace(a.node)}}},44882:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var a=void 0,i={},o=void 0,s=void 0;function u(e,t){return i.options.captureLocations?e&&t?{startOffset:e.startOffset,endOffset:t.endOffset,startLine:e.startLine,endLine:t.endLine,startColumn:e.startColumn,endColumn:t.endColumn}:e||t:null}var l=[[-1,1,function(e,t){s=u(t,t),o=e}],[0,4,function(e,t,n,r,a,i,l,d){s=u(a,d),o=L({type:"RegExp",body:t,flags:R(r)},x(a,d||l))}],[1,1,function(e,t){s=u(t,t),o=e}],[1,0,function(){s=null,o=""}],[2,1,function(e,t){s=u(t,t),o=e}],[2,2,function(e,t,n,r){s=u(n,r),o=e+t}],[3,1,function(e,t){s=u(t,t),o=e}],[4,1,function(e,t){s=u(t,t),o=e}],[4,3,function(e,t,n,r,a,i){s=u(r,i);var l=null;a&&(l=x(r||a,i||a)),o=L({type:"Disjunction",left:e,right:n},l)}],[5,1,function(e,t){s=u(t,t),o=0!==e.length?1===e.length?L(e[0],s):L({type:"Alternative",expressions:e},s):null}],[6,0,function(){s=null,o=[]}],[6,2,function(e,t,n,r){s=u(n,r),o=e.concat(t)}],[7,1,function(e,t){s=u(t,t),o=L(Object.assign({type:"Assertion"},e),s)}],[7,2,function(e,t,n,r){s=u(n,r),o=e,t&&(o=L({type:"Repetition",expression:e,quantifier:t},s))}],[8,1,function(e,t){s=u(t,t),o={kind:"^"}}],[8,1,function(e,t){s=u(t,t),o={kind:"$"}}],[8,1,function(e,t){s=u(t,t),o={kind:"\\b"}}],[8,1,function(e,t){s=u(t,t),o={kind:"\\B"}}],[8,3,function(e,t,n,r,a,i){s=u(r,i),o={kind:"Lookahead",assertion:t}}],[8,3,function(e,t,n,r,a,i){s=u(r,i),o={kind:"Lookahead",negative:!0,assertion:t}}],[8,3,function(e,t,n,r,a,i){s=u(r,i),o={kind:"Lookbehind",assertion:t}}],[8,3,function(e,t,n,r,a,i){s=u(r,i),o={kind:"Lookbehind",negative:!0,assertion:t}}],[9,1,function(e,t){s=u(t,t),o=e}],[9,1,function(e,t){s=u(t,t),o=e}],[9,1,function(e,t){s=u(t,t),o=e}],[10,1,function(e,t){s=u(t,t),o=C(e,"simple",s)}],[10,1,function(e,t){s=u(t,t),(o=C(e.slice(1),"simple",s)).escaped=!0}],[10,1,function(e,t){s=u(t,t),(o=C(e,"unicode",s)).isSurrogatePair=!0}],[10,1,function(e,t){s=u(t,t),o=C(e,"unicode",s)}],[10,1,function(e,t){s=u(t,t),o=function(e,t){var n="P"===e[1],r=e.indexOf("="),a=e.slice(3,-1!==r?r:-1),i=void 0,o=-1===r&&y.isGeneralCategoryValue(a),s=-1===r&&y.isBinaryPropertyName(a);if(o)i=a,a="General_Category";else if(s)i=a;else{if(!y.isValidName(a))throw new SyntaxError("Invalid unicode property name: "+a+".");if(i=e.slice(r+1,-1),!y.isValidValue(a,i))throw new SyntaxError("Invalid "+a+" unicode property value: "+i+".")}return L({type:"UnicodeProperty",name:a,value:i,negative:n,shorthand:o,binary:s,canonicalName:y.getCanonicalName(a)||a,canonicalValue:y.getCanonicalValue(i)||i},t)}(e,s)}],[10,1,function(e,t){s=u(t,t),o=C(e,"control",s)}],[10,1,function(e,t){s=u(t,t),o=C(e,"hex",s)}],[10,1,function(e,t){s=u(t,t),o=C(e,"oct",s)}],[10,1,function(e,t){var n,r,a;s=u(t,t),n=e,r=s,a=Number(n.slice(1)),o=a>0&&a<=E?L({type:"Backreference",kind:"number",number:a,reference:a},r):C(n,"decimal",r)}],[10,1,function(e,t){s=u(t,t),o=C(e,"meta",s)}],[10,1,function(e,t){s=u(t,t),o=C(e,"meta",s)}],[10,1,function(e,t){s=u(t,t),o=function(e,t){var n=e.slice(3,-1),r=w(n);if(T.hasOwnProperty(r))return L({type:"Backreference",kind:"name",number:T[r],reference:r,referenceRaw:n},t);var a=null,i=null,o=null,s=null;t&&(a=t.startOffset,i=t.startLine,o=t.endLine,s=t.startColumn);var u=/^[\w$<>]/,l=void 0,d=[C(e.slice(1,2),"simple",a?{startLine:i,endLine:o,startColumn:s,startOffset:a,endOffset:a+=2,endColumn:s+=2}:null)];for(d[0].escaped=!0,e=e.slice(2);e.length>0;){var c=null;(c=e.match(I))||(c=e.match(k))?(a&&(l={startLine:i,endLine:o,startColumn:s,startOffset:a,endOffset:a+=c[0].length,endColumn:s+=c[0].length}),d.push(C(c[0],"unicode",l)),e=e.slice(c[0].length)):(c=e.match(u))&&(a&&(l={startLine:i,endLine:o,startColumn:s,startOffset:a,endOffset:++a,endColumn:++s}),d.push(C(c[0],"simple",l)),e=e.slice(1))}return d}(e,t)}],[11,1,function(e,t){s=u(t,t),o=e}],[11,0],[12,1,function(e,t){s=u(t,t),o=e}],[12,2,function(e,t,n,r){s=u(n,r),e.greedy=!1,o=e}],[13,1,function(e,t){s=u(t,t),o=L({type:"Quantifier",kind:e,greedy:!0},s)}],[13,1,function(e,t){s=u(t,t),o=L({type:"Quantifier",kind:e,greedy:!0},s)}],[13,1,function(e,t){s=u(t,t),o=L({type:"Quantifier",kind:e,greedy:!0},s)}],[13,1,function(e,t){s=u(t,t);var n=S(e);o=L({type:"Quantifier",kind:"Range",from:n[0],to:n[0],greedy:!0},s)}],[13,1,function(e,t){s=u(t,t),o=L({type:"Quantifier",kind:"Range",from:S(e)[0],greedy:!0},s)}],[13,1,function(e,t){s=u(t,t);var n=S(e);o=L({type:"Quantifier",kind:"Range",from:n[0],to:n[1],greedy:!0},s)}],[14,1,function(e,t){s=u(t,t),o=e}],[14,1,function(e,t){s=u(t,t),o=e}],[15,3,function(e,t,n,r,a,l){s=u(r,l);var d=String(e),c=w(d);if(!i.options.allowGroupNameDuplicates&&T.hasOwnProperty(c))throw new SyntaxError('Duplicate of the named group "'+c+'".');T[c]=e.groupNumber,o=L({type:"Group",capturing:!0,name:c,nameRaw:d,number:e.groupNumber,expression:t},s)}],[15,3,function(e,t,n,r,a,i){s=u(r,i),o=L({type:"Group",capturing:!0,number:e.groupNumber,expression:t},s)}],[16,3,function(e,t,n,r,a,i){s=u(r,i),o=L({type:"Group",capturing:!1,expression:t},s)}],[17,3,function(e,t,n,r,a,i){s=u(r,i),o=L({type:"CharacterClass",negative:!0,expressions:t},s)}],[17,3,function(e,t,n,r,a,i){s=u(r,i),o=L({type:"CharacterClass",expressions:t},s)}],[18,0,function(){s=null,o=[]}],[18,1,function(e,t){s=u(t,t),o=e}],[19,1,function(e,t){s=u(t,t),o=[e]}],[19,2,function(e,t,n,r){s=u(n,r),o=[e].concat(t)}],[19,4,function(e,t,n,r,a,i,l,d){s=u(a,d),_(e,n),o=[L({type:"ClassRange",from:e,to:n},x(a,l))],r&&(o=o.concat(r))}],[20,1,function(e,t){s=u(t,t),o=e}],[20,2,function(e,t,n,r){s=u(n,r),o=[e].concat(t)}],[20,4,function(e,t,n,r,a,i,l,d){s=u(a,d),_(e,n),o=[L({type:"ClassRange",from:e,to:n},x(a,l))],r&&(o=o.concat(r))}],[21,1,function(e,t){s=u(t,t),o=C(e,"simple",s)}],[21,1,function(e,t){s=u(t,t),o=e}],[22,1,function(e,t){s=u(t,t),o=e}],[22,1,function(e,t){s=u(t,t),o=C(e,"meta",s)}]],d={SLASH:"23",CHAR:"24",BAR:"25",BOS:"26",EOS:"27",ESC_b:"28",ESC_B:"29",POS_LA_ASSERT:"30",R_PAREN:"31",NEG_LA_ASSERT:"32",POS_LB_ASSERT:"33",NEG_LB_ASSERT:"34",ESC_CHAR:"35",U_CODE_SURROGATE:"36",U_CODE:"37",U_PROP_VALUE_EXP:"38",CTRL_CH:"39",HEX_CODE:"40",OCT_CODE:"41",DEC_CODE:"42",META_CHAR:"43",ANY:"44",NAMED_GROUP_REF:"45",Q_MARK:"46",STAR:"47",PLUS:"48",RANGE_EXACT:"49",RANGE_OPEN:"50",RANGE_CLOSED:"51",NAMED_CAPTURE_GROUP:"52",L_PAREN:"53",NON_CAPTURE_GROUP:"54",NEG_CLASS:"55",R_BRACKET:"56",L_BRACKET:"57",DASH:"58",$:"59"},c=[{0:1,23:"s2"},{59:"acc"},{3:3,4:4,5:5,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"s7"},{23:"r6",25:"s12"},{23:"r7",25:"r7",31:"r7"},{7:14,8:15,9:16,10:25,14:27,15:42,16:43,17:26,23:"r9",24:"s28",25:"r9",26:"s17",27:"s18",28:"s19",29:"s20",30:"s21",31:"r9",32:"s22",33:"s23",34:"s24",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",52:"s44",53:"s45",54:"s46",55:"s40",57:"s41"},{1:8,2:9,24:"s10",59:"r3"},{59:"r1"},{24:"s11",59:"r2"},{24:"r4",59:"r4"},{24:"r5",59:"r5"},{5:13,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r8",25:"r8",31:"r8"},{23:"r11",24:"r11",25:"r11",26:"r11",27:"r11",28:"r11",29:"r11",30:"r11",31:"r11",32:"r11",33:"r11",34:"r11",35:"r11",36:"r11",37:"r11",38:"r11",39:"r11",40:"r11",41:"r11",42:"r11",43:"r11",44:"r11",45:"r11",52:"r11",53:"r11",54:"r11",55:"r11",57:"r11"},{23:"r12",24:"r12",25:"r12",26:"r12",27:"r12",28:"r12",29:"r12",30:"r12",31:"r12",32:"r12",33:"r12",34:"r12",35:"r12",36:"r12",37:"r12",38:"r12",39:"r12",40:"r12",41:"r12",42:"r12",43:"r12",44:"r12",45:"r12",52:"r12",53:"r12",54:"r12",55:"r12",57:"r12"},{11:47,12:48,13:49,23:"r38",24:"r38",25:"r38",26:"r38",27:"r38",28:"r38",29:"r38",30:"r38",31:"r38",32:"r38",33:"r38",34:"r38",35:"r38",36:"r38",37:"r38",38:"r38",39:"r38",40:"r38",41:"r38",42:"r38",43:"r38",44:"r38",45:"r38",46:"s52",47:"s50",48:"s51",49:"s53",50:"s54",51:"s55",52:"r38",53:"r38",54:"r38",55:"r38",57:"r38"},{23:"r14",24:"r14",25:"r14",26:"r14",27:"r14",28:"r14",29:"r14",30:"r14",31:"r14",32:"r14",33:"r14",34:"r14",35:"r14",36:"r14",37:"r14",38:"r14",39:"r14",40:"r14",41:"r14",42:"r14",43:"r14",44:"r14",45:"r14",52:"r14",53:"r14",54:"r14",55:"r14",57:"r14"},{23:"r15",24:"r15",25:"r15",26:"r15",27:"r15",28:"r15",29:"r15",30:"r15",31:"r15",32:"r15",33:"r15",34:"r15",35:"r15",36:"r15",37:"r15",38:"r15",39:"r15",40:"r15",41:"r15",42:"r15",43:"r15",44:"r15",45:"r15",52:"r15",53:"r15",54:"r15",55:"r15",57:"r15"},{23:"r16",24:"r16",25:"r16",26:"r16",27:"r16",28:"r16",29:"r16",30:"r16",31:"r16",32:"r16",33:"r16",34:"r16",35:"r16",36:"r16",37:"r16",38:"r16",39:"r16",40:"r16",41:"r16",42:"r16",43:"r16",44:"r16",45:"r16",52:"r16",53:"r16",54:"r16",55:"r16",57:"r16"},{23:"r17",24:"r17",25:"r17",26:"r17",27:"r17",28:"r17",29:"r17",30:"r17",31:"r17",32:"r17",33:"r17",34:"r17",35:"r17",36:"r17",37:"r17",38:"r17",39:"r17",40:"r17",41:"r17",42:"r17",43:"r17",44:"r17",45:"r17",52:"r17",53:"r17",54:"r17",55:"r17",57:"r17"},{4:57,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:59,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:61,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:63,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r22",24:"r22",25:"r22",26:"r22",27:"r22",28:"r22",29:"r22",30:"r22",31:"r22",32:"r22",33:"r22",34:"r22",35:"r22",36:"r22",37:"r22",38:"r22",39:"r22",40:"r22",41:"r22",42:"r22",43:"r22",44:"r22",45:"r22",46:"r22",47:"r22",48:"r22",49:"r22",50:"r22",51:"r22",52:"r22",53:"r22",54:"r22",55:"r22",57:"r22"},{23:"r23",24:"r23",25:"r23",26:"r23",27:"r23",28:"r23",29:"r23",30:"r23",31:"r23",32:"r23",33:"r23",34:"r23",35:"r23",36:"r23",37:"r23",38:"r23",39:"r23",40:"r23",41:"r23",42:"r23",43:"r23",44:"r23",45:"r23",46:"r23",47:"r23",48:"r23",49:"r23",50:"r23",51:"r23",52:"r23",53:"r23",54:"r23",55:"r23",57:"r23"},{23:"r24",24:"r24",25:"r24",26:"r24",27:"r24",28:"r24",29:"r24",30:"r24",31:"r24",32:"r24",33:"r24",34:"r24",35:"r24",36:"r24",37:"r24",38:"r24",39:"r24",40:"r24",41:"r24",42:"r24",43:"r24",44:"r24",45:"r24",46:"r24",47:"r24",48:"r24",49:"r24",50:"r24",51:"r24",52:"r24",53:"r24",54:"r24",55:"r24",57:"r24"},{23:"r25",24:"r25",25:"r25",26:"r25",27:"r25",28:"r25",29:"r25",30:"r25",31:"r25",32:"r25",33:"r25",34:"r25",35:"r25",36:"r25",37:"r25",38:"r25",39:"r25",40:"r25",41:"r25",42:"r25",43:"r25",44:"r25",45:"r25",46:"r25",47:"r25",48:"r25",49:"r25",50:"r25",51:"r25",52:"r25",53:"r25",54:"r25",55:"r25",56:"r25",57:"r25",58:"r25"},{23:"r26",24:"r26",25:"r26",26:"r26",27:"r26",28:"r26",29:"r26",30:"r26",31:"r26",32:"r26",33:"r26",34:"r26",35:"r26",36:"r26",37:"r26",38:"r26",39:"r26",40:"r26",41:"r26",42:"r26",43:"r26",44:"r26",45:"r26",46:"r26",47:"r26",48:"r26",49:"r26",50:"r26",51:"r26",52:"r26",53:"r26",54:"r26",55:"r26",56:"r26",57:"r26",58:"r26"},{23:"r27",24:"r27",25:"r27",26:"r27",27:"r27",28:"r27",29:"r27",30:"r27",31:"r27",32:"r27",33:"r27",34:"r27",35:"r27",36:"r27",37:"r27",38:"r27",39:"r27",40:"r27",41:"r27",42:"r27",43:"r27",44:"r27",45:"r27",46:"r27",47:"r27",48:"r27",49:"r27",50:"r27",51:"r27",52:"r27",53:"r27",54:"r27",55:"r27",56:"r27",57:"r27",58:"r27"},{23:"r28",24:"r28",25:"r28",26:"r28",27:"r28",28:"r28",29:"r28",30:"r28",31:"r28",32:"r28",33:"r28",34:"r28",35:"r28",36:"r28",37:"r28",38:"r28",39:"r28",40:"r28",41:"r28",42:"r28",43:"r28",44:"r28",45:"r28",46:"r28",47:"r28",48:"r28",49:"r28",50:"r28",51:"r28",52:"r28",53:"r28",54:"r28",55:"r28",56:"r28",57:"r28",58:"r28"},{23:"r29",24:"r29",25:"r29",26:"r29",27:"r29",28:"r29",29:"r29",30:"r29",31:"r29",32:"r29",33:"r29",34:"r29",35:"r29",36:"r29",37:"r29",38:"r29",39:"r29",40:"r29",41:"r29",42:"r29",43:"r29",44:"r29",45:"r29",46:"r29",47:"r29",48:"r29",49:"r29",50:"r29",51:"r29",52:"r29",53:"r29",54:"r29",55:"r29",56:"r29",57:"r29",58:"r29"},{23:"r30",24:"r30",25:"r30",26:"r30",27:"r30",28:"r30",29:"r30",30:"r30",31:"r30",32:"r30",33:"r30",34:"r30",35:"r30",36:"r30",37:"r30",38:"r30",39:"r30",40:"r30",41:"r30",42:"r30",43:"r30",44:"r30",45:"r30",46:"r30",47:"r30",48:"r30",49:"r30",50:"r30",51:"r30",52:"r30",53:"r30",54:"r30",55:"r30",56:"r30",57:"r30",58:"r30"},{23:"r31",24:"r31",25:"r31",26:"r31",27:"r31",28:"r31",29:"r31",30:"r31",31:"r31",32:"r31",33:"r31",34:"r31",35:"r31",36:"r31",37:"r31",38:"r31",39:"r31",40:"r31",41:"r31",42:"r31",43:"r31",44:"r31",45:"r31",46:"r31",47:"r31",48:"r31",49:"r31",50:"r31",51:"r31",52:"r31",53:"r31",54:"r31",55:"r31",56:"r31",57:"r31",58:"r31"},{23:"r32",24:"r32",25:"r32",26:"r32",27:"r32",28:"r32",29:"r32",30:"r32",31:"r32",32:"r32",33:"r32",34:"r32",35:"r32",36:"r32",37:"r32",38:"r32",39:"r32",40:"r32",41:"r32",42:"r32",43:"r32",44:"r32",45:"r32",46:"r32",47:"r32",48:"r32",49:"r32",50:"r32",51:"r32",52:"r32",53:"r32",54:"r32",55:"r32",56:"r32",57:"r32",58:"r32"},{23:"r33",24:"r33",25:"r33",26:"r33",27:"r33",28:"r33",29:"r33",30:"r33",31:"r33",32:"r33",33:"r33",34:"r33",35:"r33",36:"r33",37:"r33",38:"r33",39:"r33",40:"r33",41:"r33",42:"r33",43:"r33",44:"r33",45:"r33",46:"r33",47:"r33",48:"r33",49:"r33",50:"r33",51:"r33",52:"r33",53:"r33",54:"r33",55:"r33",56:"r33",57:"r33",58:"r33"},{23:"r34",24:"r34",25:"r34",26:"r34",27:"r34",28:"r34",29:"r34",30:"r34",31:"r34",32:"r34",33:"r34",34:"r34",35:"r34",36:"r34",37:"r34",38:"r34",39:"r34",40:"r34",41:"r34",42:"r34",43:"r34",44:"r34",45:"r34",46:"r34",47:"r34",48:"r34",49:"r34",50:"r34",51:"r34",52:"r34",53:"r34",54:"r34",55:"r34",56:"r34",57:"r34",58:"r34"},{23:"r35",24:"r35",25:"r35",26:"r35",27:"r35",28:"r35",29:"r35",30:"r35",31:"r35",32:"r35",33:"r35",34:"r35",35:"r35",36:"r35",37:"r35",38:"r35",39:"r35",40:"r35",41:"r35",42:"r35",43:"r35",44:"r35",45:"r35",46:"r35",47:"r35",48:"r35",49:"r35",50:"r35",51:"r35",52:"r35",53:"r35",54:"r35",55:"r35",56:"r35",57:"r35",58:"r35"},{23:"r36",24:"r36",25:"r36",26:"r36",27:"r36",28:"r36",29:"r36",30:"r36",31:"r36",32:"r36",33:"r36",34:"r36",35:"r36",36:"r36",37:"r36",38:"r36",39:"r36",40:"r36",41:"r36",42:"r36",43:"r36",44:"r36",45:"r36",46:"r36",47:"r36",48:"r36",49:"r36",50:"r36",51:"r36",52:"r36",53:"r36",54:"r36",55:"r36",56:"r36",57:"r36",58:"r36"},{10:70,18:65,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{10:70,18:83,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{23:"r47",24:"r47",25:"r47",26:"r47",27:"r47",28:"r47",29:"r47",30:"r47",31:"r47",32:"r47",33:"r47",34:"r47",35:"r47",36:"r47",37:"r47",38:"r47",39:"r47",40:"r47",41:"r47",42:"r47",43:"r47",44:"r47",45:"r47",46:"r47",47:"r47",48:"r47",49:"r47",50:"r47",51:"r47",52:"r47",53:"r47",54:"r47",55:"r47",57:"r47"},{23:"r48",24:"r48",25:"r48",26:"r48",27:"r48",28:"r48",29:"r48",30:"r48",31:"r48",32:"r48",33:"r48",34:"r48",35:"r48",36:"r48",37:"r48",38:"r48",39:"r48",40:"r48",41:"r48",42:"r48",43:"r48",44:"r48",45:"r48",46:"r48",47:"r48",48:"r48",49:"r48",50:"r48",51:"r48",52:"r48",53:"r48",54:"r48",55:"r48",57:"r48"},{4:85,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:87,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:89,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r13",24:"r13",25:"r13",26:"r13",27:"r13",28:"r13",29:"r13",30:"r13",31:"r13",32:"r13",33:"r13",34:"r13",35:"r13",36:"r13",37:"r13",38:"r13",39:"r13",40:"r13",41:"r13",42:"r13",43:"r13",44:"r13",45:"r13",52:"r13",53:"r13",54:"r13",55:"r13",57:"r13"},{23:"r37",24:"r37",25:"r37",26:"r37",27:"r37",28:"r37",29:"r37",30:"r37",31:"r37",32:"r37",33:"r37",34:"r37",35:"r37",36:"r37",37:"r37",38:"r37",39:"r37",40:"r37",41:"r37",42:"r37",43:"r37",44:"r37",45:"r37",52:"r37",53:"r37",54:"r37",55:"r37",57:"r37"},{23:"r39",24:"r39",25:"r39",26:"r39",27:"r39",28:"r39",29:"r39",30:"r39",31:"r39",32:"r39",33:"r39",34:"r39",35:"r39",36:"r39",37:"r39",38:"r39",39:"r39",40:"r39",41:"r39",42:"r39",43:"r39",44:"r39",45:"r39",46:"s56",52:"r39",53:"r39",54:"r39",55:"r39",57:"r39"},{23:"r41",24:"r41",25:"r41",26:"r41",27:"r41",28:"r41",29:"r41",30:"r41",31:"r41",32:"r41",33:"r41",34:"r41",35:"r41",36:"r41",37:"r41",38:"r41",39:"r41",40:"r41",41:"r41",42:"r41",43:"r41",44:"r41",45:"r41",46:"r41",52:"r41",53:"r41",54:"r41",55:"r41",57:"r41"},{23:"r42",24:"r42",25:"r42",26:"r42",27:"r42",28:"r42",29:"r42",30:"r42",31:"r42",32:"r42",33:"r42",34:"r42",35:"r42",36:"r42",37:"r42",38:"r42",39:"r42",40:"r42",41:"r42",42:"r42",43:"r42",44:"r42",45:"r42",46:"r42",52:"r42",53:"r42",54:"r42",55:"r42",57:"r42"},{23:"r43",24:"r43",25:"r43",26:"r43",27:"r43",28:"r43",29:"r43",30:"r43",31:"r43",32:"r43",33:"r43",34:"r43",35:"r43",36:"r43",37:"r43",38:"r43",39:"r43",40:"r43",41:"r43",42:"r43",43:"r43",44:"r43",45:"r43",46:"r43",52:"r43",53:"r43",54:"r43",55:"r43",57:"r43"},{23:"r44",24:"r44",25:"r44",26:"r44",27:"r44",28:"r44",29:"r44",30:"r44",31:"r44",32:"r44",33:"r44",34:"r44",35:"r44",36:"r44",37:"r44",38:"r44",39:"r44",40:"r44",41:"r44",42:"r44",43:"r44",44:"r44",45:"r44",46:"r44",52:"r44",53:"r44",54:"r44",55:"r44",57:"r44"},{23:"r45",24:"r45",25:"r45",26:"r45",27:"r45",28:"r45",29:"r45",30:"r45",31:"r45",32:"r45",33:"r45",34:"r45",35:"r45",36:"r45",37:"r45",38:"r45",39:"r45",40:"r45",41:"r45",42:"r45",43:"r45",44:"r45",45:"r45",46:"r45",52:"r45",53:"r45",54:"r45",55:"r45",57:"r45"},{23:"r46",24:"r46",25:"r46",26:"r46",27:"r46",28:"r46",29:"r46",30:"r46",31:"r46",32:"r46",33:"r46",34:"r46",35:"r46",36:"r46",37:"r46",38:"r46",39:"r46",40:"r46",41:"r46",42:"r46",43:"r46",44:"r46",45:"r46",46:"r46",52:"r46",53:"r46",54:"r46",55:"r46",57:"r46"},{23:"r40",24:"r40",25:"r40",26:"r40",27:"r40",28:"r40",29:"r40",30:"r40",31:"r40",32:"r40",33:"r40",34:"r40",35:"r40",36:"r40",37:"r40",38:"r40",39:"r40",40:"r40",41:"r40",42:"r40",43:"r40",44:"r40",45:"r40",52:"r40",53:"r40",54:"r40",55:"r40",57:"r40"},{25:"s12",31:"s58"},{23:"r18",24:"r18",25:"r18",26:"r18",27:"r18",28:"r18",29:"r18",30:"r18",31:"r18",32:"r18",33:"r18",34:"r18",35:"r18",36:"r18",37:"r18",38:"r18",39:"r18",40:"r18",41:"r18",42:"r18",43:"r18",44:"r18",45:"r18",52:"r18",53:"r18",54:"r18",55:"r18",57:"r18"},{25:"s12",31:"s60"},{23:"r19",24:"r19",25:"r19",26:"r19",27:"r19",28:"r19",29:"r19",30:"r19",31:"r19",32:"r19",33:"r19",34:"r19",35:"r19",36:"r19",37:"r19",38:"r19",39:"r19",40:"r19",41:"r19",42:"r19",43:"r19",44:"r19",45:"r19",52:"r19",53:"r19",54:"r19",55:"r19",57:"r19"},{25:"s12",31:"s62"},{23:"r20",24:"r20",25:"r20",26:"r20",27:"r20",28:"r20",29:"r20",30:"r20",31:"r20",32:"r20",33:"r20",34:"r20",35:"r20",36:"r20",37:"r20",38:"r20",39:"r20",40:"r20",41:"r20",42:"r20",43:"r20",44:"r20",45:"r20",52:"r20",53:"r20",54:"r20",55:"r20",57:"r20"},{25:"s12",31:"s64"},{23:"r21",24:"r21",25:"r21",26:"r21",27:"r21",28:"r21",29:"r21",30:"r21",31:"r21",32:"r21",33:"r21",34:"r21",35:"r21",36:"r21",37:"r21",38:"r21",39:"r21",40:"r21",41:"r21",42:"r21",43:"r21",44:"r21",45:"r21",52:"r21",53:"r21",54:"r21",55:"r21",57:"r21"},{56:"s72"},{56:"r55"},{10:70,20:73,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r56",58:"s74"},{24:"r62",28:"r62",35:"r62",36:"r62",37:"r62",38:"r62",39:"r62",40:"r62",41:"r62",42:"r62",43:"r62",44:"r62",45:"r62",56:"r62",58:"r62"},{24:"r63",28:"r63",35:"r63",36:"r63",37:"r63",38:"r63",39:"r63",40:"r63",41:"r63",42:"r63",43:"r63",44:"r63",45:"r63",56:"r63",58:"r63"},{24:"r64",28:"r64",35:"r64",36:"r64",37:"r64",38:"r64",39:"r64",40:"r64",41:"r64",42:"r64",43:"r64",44:"r64",45:"r64",56:"r64",58:"r64"},{24:"r65",28:"r65",35:"r65",36:"r65",37:"r65",38:"r65",39:"r65",40:"r65",41:"r65",42:"r65",43:"r65",44:"r65",45:"r65",56:"r65",58:"r65"},{23:"r52",24:"r52",25:"r52",26:"r52",27:"r52",28:"r52",29:"r52",30:"r52",31:"r52",32:"r52",33:"r52",34:"r52",35:"r52",36:"r52",37:"r52",38:"r52",39:"r52",40:"r52",41:"r52",42:"r52",43:"r52",44:"r52",45:"r52",46:"r52",47:"r52",48:"r52",49:"r52",50:"r52",51:"r52",52:"r52",53:"r52",54:"r52",55:"r52",57:"r52"},{56:"r57"},{10:70,21:77,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{56:"r59"},{10:70,20:79,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r63",58:"s80"},{10:70,18:78,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r58"},{56:"r60"},{10:70,21:81,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{10:70,18:82,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r61"},{56:"s84"},{23:"r53",24:"r53",25:"r53",26:"r53",27:"r53",28:"r53",29:"r53",30:"r53",31:"r53",32:"r53",33:"r53",34:"r53",35:"r53",36:"r53",37:"r53",38:"r53",39:"r53",40:"r53",41:"r53",42:"r53",43:"r53",44:"r53",45:"r53",46:"r53",47:"r53",48:"r53",49:"r53",50:"r53",51:"r53",52:"r53",53:"r53",54:"r53",55:"r53",57:"r53"},{25:"s12",31:"s86"},{23:"r49",24:"r49",25:"r49",26:"r49",27:"r49",28:"r49",29:"r49",30:"r49",31:"r49",32:"r49",33:"r49",34:"r49",35:"r49",36:"r49",37:"r49",38:"r49",39:"r49",40:"r49",41:"r49",42:"r49",43:"r49",44:"r49",45:"r49",46:"r49",47:"r49",48:"r49",49:"r49",50:"r49",51:"r49",52:"r49",53:"r49",54:"r49",55:"r49",57:"r49"},{25:"s12",31:"s88"},{23:"r50",24:"r50",25:"r50",26:"r50",27:"r50",28:"r50",29:"r50",30:"r50",31:"r50",32:"r50",33:"r50",34:"r50",35:"r50",36:"r50",37:"r50",38:"r50",39:"r50",40:"r50",41:"r50",42:"r50",43:"r50",44:"r50",45:"r50",46:"r50",47:"r50",48:"r50",49:"r50",50:"r50",51:"r50",52:"r50",53:"r50",54:"r50",55:"r50",57:"r50"},{25:"s12",31:"s90"},{23:"r51",24:"r51",25:"r51",26:"r51",27:"r51",28:"r51",29:"r51",30:"r51",31:"r51",32:"r51",33:"r51",34:"r51",35:"r51",36:"r51",37:"r51",38:"r51",39:"r51",40:"r51",41:"r51",42:"r51",43:"r51",44:"r51",45:"r51",46:"r51",47:"r51",48:"r51",49:"r51",50:"r51",51:"r51",52:"r51",53:"r51",54:"r51",55:"r51",57:"r51"}],p=[],f=void 0,m=[[/^#[^\n]+/,function(){}],[/^\s+/,function(){}],[/^-/,function(){return"DASH"}],[/^\//,function(){return"CHAR"}],[/^#/,function(){return"CHAR"}],[/^\|/,function(){return"CHAR"}],[/^\./,function(){return"CHAR"}],[/^\{/,function(){return"CHAR"}],[/^\{\d+\}/,function(){return"RANGE_EXACT"}],[/^\{\d+,\}/,function(){return"RANGE_OPEN"}],[/^\{\d+,\d+\}/,function(){return"RANGE_CLOSED"}],[/^\\k<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return O(a.slice(3,-1),this.getCurrentState()),"NAMED_GROUP_REF"}],[/^\\b/,function(){return"ESC_b"}],[/^\\B/,function(){return"ESC_B"}],[/^\\c[a-zA-Z]/,function(){return"CTRL_CH"}],[/^\\0\d{1,2}/,function(){return"OCT_CODE"}],[/^\\0/,function(){return"DEC_CODE"}],[/^\\\d{1,3}/,function(){return"DEC_CODE"}],[/^\\u[dD][89abAB][0-9a-fA-F]{2}\\u[dD][c-fC-F][0-9a-fA-F]{2}/,function(){return"U_CODE_SURROGATE"}],[/^\\u\{[0-9a-fA-F]{1,}\}/,function(){return"U_CODE"}],[/^\\u[0-9a-fA-F]{4}/,function(){return"U_CODE"}],[/^\\[pP]\{\w+(?:=\w+)?\}/,function(){return"U_PROP_VALUE_EXP"}],[/^\\x[0-9a-fA-F]{2}/,function(){return"HEX_CODE"}],[/^\\[tnrdDsSwWvf]/,function(){return"META_CHAR"}],[/^\\\//,function(){return"ESC_CHAR"}],[/^\\[ #]/,function(){return"ESC_CHAR"}],[/^\\[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/,function(){return"ESC_CHAR"}],[/^\\[^*?+\[()\\|]/,function(){var e=this.getCurrentState();if("u_class"===e&&"\\-"===a)return"ESC_CHAR";if("u"===e||"xu"===e||"u_class"===e)throw new SyntaxError("invalid Unicode escape "+a);return"ESC_CHAR"}],[/^\(/,function(){return"CHAR"}],[/^\)/,function(){return"CHAR"}],[/^\(\?=/,function(){return"POS_LA_ASSERT"}],[/^\(\?!/,function(){return"NEG_LA_ASSERT"}],[/^\(\?<=/,function(){return"POS_LB_ASSERT"}],[/^\(\?<!/,function(){return"NEG_LB_ASSERT"}],[/^\(\?:/,function(){return"NON_CAPTURE_GROUP"}],[/^\(\?<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return O(a=a.slice(3,-1),this.getCurrentState()),"NAMED_CAPTURE_GROUP"}],[/^\(/,function(){return"L_PAREN"}],[/^\)/,function(){return"R_PAREN"}],[/^[*?+[^$]/,function(){return"CHAR"}],[/^\\\]/,function(){return"ESC_CHAR"}],[/^\]/,function(){return this.popState(),"R_BRACKET"}],[/^\^/,function(){return"BOS"}],[/^\$/,function(){return"EOS"}],[/^\*/,function(){return"STAR"}],[/^\?/,function(){return"Q_MARK"}],[/^\+/,function(){return"PLUS"}],[/^\|/,function(){return"BAR"}],[/^\./,function(){return"ANY"}],[/^\//,function(){return"SLASH"}],[/^[^*?+\[()\\|]/,function(){return"CHAR"}],[/^\[\^/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"NEG_CLASS"}],[/^\[/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"L_BRACKET"}]],g={INITIAL:[8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u:[8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],xu:[0,1,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],x:[0,1,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u_class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]},h={type:"$",value:""};f={initString:function(e){return this._string=e,this._cursor=0,this._states=["INITIAL"],this._tokensQueue=[],this._currentLine=1,this._currentColumn=0,this._currentLineBeginOffset=0,this._tokenStartOffset=0,this._tokenEndOffset=0,this._tokenStartLine=1,this._tokenEndLine=1,this._tokenStartColumn=0,this._tokenEndColumn=0,this},getStates:function(){return this._states},getCurrentState:function(){return this._states[this._states.length-1]},pushState:function(e){this._states.push(e)},begin:function(e){this.pushState(e)},popState:function(){return this._states.length>1?this._states.pop():this._states[0]},getNextToken:function(){if(this._tokensQueue.length>0)return this.onToken(this._toToken(this._tokensQueue.shift()));if(!this.hasMoreTokens())return this.onToken(h);for(var e=this._string.slice(this._cursor),t=g[this.getCurrentState()],n=0;n<t.length;n++){var i=t[n],o=m[i],s=this._match(e,o[0]);if(""===e&&""===s&&this._cursor++,null!==s){(a=s).length;var u=o[1].call(this);if(!u)return this.getNextToken();if(Array.isArray(u)){var l,d=u.slice(1);u=u[0],d.length>0&&(l=this._tokensQueue).unshift.apply(l,r(d))}return this.onToken(this._toToken(u,a))}}if(this.isEOF())return this._cursor++,h;this.throwUnexpectedToken(e[0],this._currentLine,this._currentColumn)},throwUnexpectedToken:function(e,t,n){var r=this._string.split("\n")[t-1],a="";throw r&&(a="\n\n"+r+"\n"+" ".repeat(n)+"^\n"),new SyntaxError(a+'Unexpected token: "'+e+'" at '+t+":"+n+".")},getCursor:function(){return this._cursor},getCurrentLine:function(){return this._currentLine},getCurrentColumn:function(){return this._currentColumn},_captureLocation:function(e){var t=/\n/g;this._tokenStartOffset=this._cursor,this._tokenStartLine=this._currentLine,this._tokenStartColumn=this._tokenStartOffset-this._currentLineBeginOffset;for(var n=void 0;null!==(n=t.exec(e));)this._currentLine++,this._currentLineBeginOffset=this._tokenStartOffset+n.index+1;this._tokenEndOffset=this._cursor+e.length,this._tokenEndLine=this._currentLine,this._tokenEndColumn=this._currentColumn=this._tokenEndOffset-this._currentLineBeginOffset},_toToken:function(e){return{type:e,value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",startOffset:this._tokenStartOffset,endOffset:this._tokenEndOffset,startLine:this._tokenStartLine,endLine:this._tokenEndLine,startColumn:this._tokenStartColumn,endColumn:this._tokenEndColumn}},isEOF:function(){return this._cursor===this._string.length},hasMoreTokens:function(){return this._cursor<=this._string.length},_match:function(e,t){var n=e.match(t);return n?(this._captureLocation(n[0]),this._cursor+=n[0].length,n[0]):null},onToken:function(e){return e}},i.lexer=f,i.tokenizer=f,i.options={captureLocations:!0};var b={setOptions:function(e){return i.options=e,this},getOptions:function(){return i.options},parse:function(e,t){if(!f)throw new Error("Tokenizer instance wasn't specified.");f.initString(e);var n=i.options;t&&(i.options=Object.assign({},i.options,t)),b.onParseBegin(e,f,i.options),p.length=0,p.push(0);var u=f.getNextToken(),m=null;do{u||(i.options=n,F());var g=p[p.length-1],h=d[u.type];c[g].hasOwnProperty(h)||(i.options=n,P(u));var E=c[g][h];if("s"===E[0]){var T=null;i.options.captureLocations&&(T={startOffset:u.startOffset,endOffset:u.endOffset,startLine:u.startLine,endLine:u.endLine,startColumn:u.startColumn,endColumn:u.endColumn}),m=this.onShift(u),p.push({symbol:d[m.type],semanticValue:m.value,loc:T},Number(E.slice(1))),u=f.getNextToken()}else if("r"===E[0]){var A=E.slice(1),S=l[A],_="function"==typeof S[2],y=_?[]:null,C=_&&i.options.captureLocations?[]:null;if(0!==S[1])for(var N=S[1];N-- >0;){p.pop();var R=p.pop();_&&(y.unshift(R.semanticValue),C&&C.unshift(R.loc))}var I={symbol:S[0]};if(_){a=m?m.value:null,m&&m.value.length;var k=null!==C?y.concat(C):y;S[2].apply(S,r(k)),I.semanticValue=o,C&&(I.loc=s)}var v=p[p.length-1],O=S[0];p.push(I,c[v][O])}else if("acc"===E){p.pop();var D=p.pop();return(1!==p.length||0!==p[0]||f.hasMoreTokens())&&(i.options=n,P(u)),D.hasOwnProperty("semanticValue")?(i.options=n,b.onParseEnd(D.semanticValue),D.semanticValue):(b.onParseEnd(),i.options=n,!0)}}while(f.hasMoreTokens()||p.length>1)},setTokenizer:function(e){return f=e,b},getTokenizer:function(){return f},onParseBegin:function(e,t,n){},onParseEnd:function(e){},onShift:function(e){return e}},E=0,T={},A="";function S(e){var t=e.match(/\d+/g).map(Number);if(Number.isFinite(t[1])&&t[1]<t[0])throw new SyntaxError("Numbers out of order in "+e+" quantifier");return t}function _(e,t){if("control"===e.kind||"control"===t.kind||!isNaN(e.codePoint)&&!isNaN(t.codePoint)&&e.codePoint>t.codePoint)throw new SyntaxError("Range "+e.value+"-"+t.value+" out of order in character class")}b.onParseBegin=function(e,t){A=e,E=0,T={};var n=e.lastIndexOf("/"),r=e.slice(n);r.includes("x")&&r.includes("u")?t.pushState("xu"):(r.includes("x")&&t.pushState("x"),r.includes("u")&&t.pushState("u"))},b.onShift=function(e){return"L_PAREN"!==e.type&&"NAMED_CAPTURE_GROUP"!==e.type||(e.value=new String(e.value),e.value.groupNumber=++E),e};var y=n(81925);function C(e,t,n){var r=void 0,a=void 0;switch(t){case"decimal":a=Number(e.slice(1)),r=String.fromCodePoint(a);break;case"oct":a=parseInt(e.slice(1),8),r=String.fromCodePoint(a);break;case"hex":case"unicode":if(e.lastIndexOf("\\u")>0){var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e.split("\\u").slice(1),2),o=i[0],s=i[1];a=1024*((o=parseInt(o,16))-55296)+((s=parseInt(s,16))-56320)+65536,r=String.fromCodePoint(a)}else{var u=e.slice(2).replace("{","");if((a=parseInt(u,16))>1114111)throw new SyntaxError("Bad character escape sequence: "+e);r=String.fromCodePoint(a)}break;case"meta":switch(e){case"\\t":a=(r="\t").codePointAt(0);break;case"\\n":a=(r="\n").codePointAt(0);break;case"\\r":a=(r="\r").codePointAt(0);break;case"\\v":a=(r="\v").codePointAt(0);break;case"\\f":a=(r="\f").codePointAt(0);break;case"\\b":a=(r="\b").codePointAt(0);case"\\0":r="\0",a=0;case".":r=".",a=NaN;break;default:a=NaN}break;case"simple":a=(r=e).codePointAt(0)}return L({type:"Char",value:e,kind:t,symbol:r,codePoint:a},n)}var N="gimsuxy";function R(e){var t=new Set,n=!0,r=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var s=i.value;if(t.has(s)||!N.includes(s))throw new SyntaxError("Invalid flags: "+e);t.add(s)}}catch(e){r=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw a}}return e.split("").sort().join("")}var I=/^\\u[0-9a-fA-F]{4}/,k=/^\\u\{[0-9a-fA-F]{1,}\}/,v=/\\u\{[0-9a-fA-F]{1,}\}/;function O(e,t){if(v.test(e)&&"u"!==t&&"xu"!==t&&"u_class"!==t)throw new SyntaxError('invalid group Unicode name "'+e+'", use `u` flag.');return e}var D=/\\u(?:([dD][89aAbB][0-9a-fA-F]{2})\\u([dD][c-fC-F][0-9a-fA-F]{2})|([dD][89aAbB][0-9a-fA-F]{2})|([dD][c-fC-F][0-9a-fA-F]{2})|([0-9a-ce-fA-CE-F][0-9a-fA-F]{3}|[dD][0-7][0-9a-fA-F]{2})|\{(0*(?:[0-9a-fA-F]{1,5}|10[0-9a-fA-F]{4}))\})/;function w(e){return e.replace(new RegExp(D,"g"),(function(e,t,n,r,a,i,o){return t?String.fromCodePoint(parseInt(t,16),parseInt(n,16)):r?String.fromCodePoint(parseInt(r,16)):a?String.fromCodePoint(parseInt(a,16)):i?String.fromCodePoint(parseInt(i,16)):o?String.fromCodePoint(parseInt(o,16)):e}))}function L(e,t){return i.options.captureLocations&&(e.loc={source:A.slice(t.startOffset,t.endOffset),start:{line:t.startLine,column:t.startColumn,offset:t.startOffset},end:{line:t.endLine,column:t.endColumn,offset:t.endOffset}}),e}function x(e,t){return i.options.captureLocations?{startOffset:e.startOffset,endOffset:t.endOffset,startLine:e.startLine,endLine:t.endLine,startColumn:e.startColumn,endColumn:t.endColumn}:null}function P(e){"$"===e.type&&F(),f.throwUnexpectedToken(e.value,e.startLine,e.startColumn)}function F(){!function(e){throw new SyntaxError("Unexpected end of input.")}()}e.exports=b},71972:(e,t,n)=>{"use strict";var r=n(44882),a=r.parse.bind(r);r.parse=function(e,t){return a(""+e,t)},r.setOptions({captureLocations:!1}),e.exports=r},81925:e=>{"use strict";var t={General_Category:"gc",Script:"sc",Script_Extensions:"scx"},n=l(t),r={ASCII:"ASCII",ASCII_Hex_Digit:"AHex",Alphabetic:"Alpha",Any:"Any",Assigned:"Assigned",Bidi_Control:"Bidi_C",Bidi_Mirrored:"Bidi_M",Case_Ignorable:"CI",Cased:"Cased",Changes_When_Casefolded:"CWCF",Changes_When_Casemapped:"CWCM",Changes_When_Lowercased:"CWL",Changes_When_NFKC_Casefolded:"CWKCF",Changes_When_Titlecased:"CWT",Changes_When_Uppercased:"CWU",Dash:"Dash",Default_Ignorable_Code_Point:"DI",Deprecated:"Dep",Diacritic:"Dia",Emoji:"Emoji",Emoji_Component:"Emoji_Component",Emoji_Modifier:"Emoji_Modifier",Emoji_Modifier_Base:"Emoji_Modifier_Base",Emoji_Presentation:"Emoji_Presentation",Extended_Pictographic:"Extended_Pictographic",Extender:"Ext",Grapheme_Base:"Gr_Base",Grapheme_Extend:"Gr_Ext",Hex_Digit:"Hex",IDS_Binary_Operator:"IDSB",IDS_Trinary_Operator:"IDST",ID_Continue:"IDC",ID_Start:"IDS",Ideographic:"Ideo",Join_Control:"Join_C",Logical_Order_Exception:"LOE",Lowercase:"Lower",Math:"Math",Noncharacter_Code_Point:"NChar",Pattern_Syntax:"Pat_Syn",Pattern_White_Space:"Pat_WS",Quotation_Mark:"QMark",Radical:"Radical",Regional_Indicator:"RI",Sentence_Terminal:"STerm",Soft_Dotted:"SD",Terminal_Punctuation:"Term",Unified_Ideograph:"UIdeo",Uppercase:"Upper",Variation_Selector:"VS",White_Space:"space",XID_Continue:"XIDC",XID_Start:"XIDS"},a=l(r),i={Cased_Letter:"LC",Close_Punctuation:"Pe",Connector_Punctuation:"Pc",Control:["Cc","cntrl"],Currency_Symbol:"Sc",Dash_Punctuation:"Pd",Decimal_Number:["Nd","digit"],Enclosing_Mark:"Me",Final_Punctuation:"Pf",Format:"Cf",Initial_Punctuation:"Pi",Letter:"L",Letter_Number:"Nl",Line_Separator:"Zl",Lowercase_Letter:"Ll",Mark:["M","Combining_Mark"],Math_Symbol:"Sm",Modifier_Letter:"Lm",Modifier_Symbol:"Sk",Nonspacing_Mark:"Mn",Number:"N",Open_Punctuation:"Ps",Other:"C",Other_Letter:"Lo",Other_Number:"No",Other_Punctuation:"Po",Other_Symbol:"So",Paragraph_Separator:"Zp",Private_Use:"Co",Punctuation:["P","punct"],Separator:"Z",Space_Separator:"Zs",Spacing_Mark:"Mc",Surrogate:"Cs",Symbol:"S",Titlecase_Letter:"Lt",Unassigned:"Cn",Uppercase_Letter:"Lu"},o=l(i),s={Adlam:"Adlm",Ahom:"Ahom",Anatolian_Hieroglyphs:"Hluw",Arabic:"Arab",Armenian:"Armn",Avestan:"Avst",Balinese:"Bali",Bamum:"Bamu",Bassa_Vah:"Bass",Batak:"Batk",Bengali:"Beng",Bhaiksuki:"Bhks",Bopomofo:"Bopo",Brahmi:"Brah",Braille:"Brai",Buginese:"Bugi",Buhid:"Buhd",Canadian_Aboriginal:"Cans",Carian:"Cari",Caucasian_Albanian:"Aghb",Chakma:"Cakm",Cham:"Cham",Cherokee:"Cher",Common:"Zyyy",Coptic:["Copt","Qaac"],Cuneiform:"Xsux",Cypriot:"Cprt",Cyrillic:"Cyrl",Deseret:"Dsrt",Devanagari:"Deva",Dogra:"Dogr",Duployan:"Dupl",Egyptian_Hieroglyphs:"Egyp",Elbasan:"Elba",Ethiopic:"Ethi",Georgian:"Geor",Glagolitic:"Glag",Gothic:"Goth",Grantha:"Gran",Greek:"Grek",Gujarati:"Gujr",Gunjala_Gondi:"Gong",Gurmukhi:"Guru",Han:"Hani",Hangul:"Hang",Hanifi_Rohingya:"Rohg",Hanunoo:"Hano",Hatran:"Hatr",Hebrew:"Hebr",Hiragana:"Hira",Imperial_Aramaic:"Armi",Inherited:["Zinh","Qaai"],Inscriptional_Pahlavi:"Phli",Inscriptional_Parthian:"Prti",Javanese:"Java",Kaithi:"Kthi",Kannada:"Knda",Katakana:"Kana",Kayah_Li:"Kali",Kharoshthi:"Khar",Khmer:"Khmr",Khojki:"Khoj",Khudawadi:"Sind",Lao:"Laoo",Latin:"Latn",Lepcha:"Lepc",Limbu:"Limb",Linear_A:"Lina",Linear_B:"Linb",Lisu:"Lisu",Lycian:"Lyci",Lydian:"Lydi",Mahajani:"Mahj",Makasar:"Maka",Malayalam:"Mlym",Mandaic:"Mand",Manichaean:"Mani",Marchen:"Marc",Medefaidrin:"Medf",Masaram_Gondi:"Gonm",Meetei_Mayek:"Mtei",Mende_Kikakui:"Mend",Meroitic_Cursive:"Merc",Meroitic_Hieroglyphs:"Mero",Miao:"Plrd",Modi:"Modi",Mongolian:"Mong",Mro:"Mroo",Multani:"Mult",Myanmar:"Mymr",Nabataean:"Nbat",New_Tai_Lue:"Talu",Newa:"Newa",Nko:"Nkoo",Nushu:"Nshu",Ogham:"Ogam",Ol_Chiki:"Olck",Old_Hungarian:"Hung",Old_Italic:"Ital",Old_North_Arabian:"Narb",Old_Permic:"Perm",Old_Persian:"Xpeo",Old_Sogdian:"Sogo",Old_South_Arabian:"Sarb",Old_Turkic:"Orkh",Oriya:"Orya",Osage:"Osge",Osmanya:"Osma",Pahawh_Hmong:"Hmng",Palmyrene:"Palm",Pau_Cin_Hau:"Pauc",Phags_Pa:"Phag",Phoenician:"Phnx",Psalter_Pahlavi:"Phlp",Rejang:"Rjng",Runic:"Runr",Samaritan:"Samr",Saurashtra:"Saur",Sharada:"Shrd",Shavian:"Shaw",Siddham:"Sidd",SignWriting:"Sgnw",Sinhala:"Sinh",Sogdian:"Sogd",Sora_Sompeng:"Sora",Soyombo:"Soyo",Sundanese:"Sund",Syloti_Nagri:"Sylo",Syriac:"Syrc",Tagalog:"Tglg",Tagbanwa:"Tagb",Tai_Le:"Tale",Tai_Tham:"Lana",Tai_Viet:"Tavt",Takri:"Takr",Tamil:"Taml",Tangut:"Tang",Telugu:"Telu",Thaana:"Thaa",Thai:"Thai",Tibetan:"Tibt",Tifinagh:"Tfng",Tirhuta:"Tirh",Ugaritic:"Ugar",Vai:"Vaii",Warang_Citi:"Wara",Yi:"Yiii",Zanabazar_Square:"Zanb"},u=l(s);function l(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(Array.isArray(r))for(var a=0;a<r.length;a++)t[r[a]]=n;else t[r]=n}return t}function d(e){return i.hasOwnProperty(e)||o.hasOwnProperty(e)}function c(e){return s.hasOwnProperty(e)||u.hasOwnProperty(e)}e.exports={isAlias:function(e){return n.hasOwnProperty(e)||a.hasOwnProperty(e)},isValidName:function(e){return t.hasOwnProperty(e)||n.hasOwnProperty(e)||r.hasOwnProperty(e)||a.hasOwnProperty(e)},isValidValue:function(e,t){return function(e){return"General_Category"===e||"gc"==e}(e)?d(t):!!function(e){return"Script"===e||"Script_Extensions"===e||"sc"===e||"scx"===e}(e)&&c(t)},isGeneralCategoryValue:d,isScriptCategoryValue:c,isBinaryPropertyName:function(e){return r.hasOwnProperty(e)||a.hasOwnProperty(e)},getCanonicalName:function(e){return n.hasOwnProperty(e)?n[e]:a.hasOwnProperty(e)?a[e]:null},getCanonicalValue:function(e){return o.hasOwnProperty(e)?o[e]:u.hasOwnProperty(e)?u[e]:a.hasOwnProperty(e)?a[e]:null},NON_BINARY_PROP_NAMES_TO_ALIASES:t,NON_BINARY_ALIASES_TO_PROP_NAMES:n,BINARY_PROP_NAMES_TO_ALIASES:r,BINARY_ALIASES_TO_PROP_NAMES:a,GENERAL_CATEGORY_VALUE_TO_ALIASES:i,GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES:o,SCRIPT_VALUE_TO_ALIASES:s,SCRIPT_VALUE_ALIASES_TO_VALUE:u}},658:(e,t,n)=>{"use strict";var r=n(83376),a=n(52584),i=n(1670),o=n(71972),s=n(12901),u=n(3849),l=n(82636),d=n(11799).RegExpTree,c={parser:o,fa:l,TransformResult:s.TransformResult,parse:function(e,t){return o.parse(""+e,t)},traverse:function(e,t,n){return u.traverse(e,t,n)},transform:function(e,t){return s.transform(e,t)},generate:function(e){return a.generate(e)},toRegExp:function(e){var t=this.compatTranspile(e);return new RegExp(t.getSource(),t.getFlags())},optimize:function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).blacklist;return i.optimize(e,{whitelist:t,blacklist:n})},compatTranspile:function(e,t){return r.transform(e,t)},exec:function(e,t){if("string"==typeof e){var n=this.compatTranspile(e),r=n.getExtra();e=r.namedCapturingGroups?new d(n.toRegExp(),{flags:n.getFlags(),source:n.getSource(),groups:r.namedCapturingGroups}):n.toRegExp()}return e.exec(t)}};e.exports=c},12901:(e,t,n)=>{"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(52584),i=n(71972),o=n(3849),s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._ast=t,this._source=null,this._string=null,this._regexp=null,this._extra=n}return r(e,[{key:"getAST",value:function(){return this._ast}},{key:"setExtra",value:function(e){this._extra=e}},{key:"getExtra",value:function(){return this._extra}},{key:"toRegExp",value:function(){return this._regexp||(this._regexp=new RegExp(this.getSource(),this._ast.flags)),this._regexp}},{key:"getSource",value:function(){return this._source||(this._source=a.generate(this._ast.body)),this._source}},{key:"getFlags",value:function(){return this._ast.flags}},{key:"toString",value:function(){return this._string||(this._string=a.generate(this._ast)),this._string}}]),e}();e.exports={TransformResult:s,transform:function(e,t){var n=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(n=i.parse(e,{captureLocations:!0})),o.traverse(n,t),new s(n)}}},90336:e=>{"use strict";e.exports={disjunctionToList:function e(t){if("Disjunction"!==t.type)throw new TypeError('Expected "Disjunction" node, got "'+t.type+'"');var n=[];return t.left&&"Disjunction"===t.left.type?n.push.apply(n,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e(t.left)).concat([t.right])):n.push(t.left,t.right),n},listToDisjunction:function(e){return e.reduce((function(e,t){return{type:"Disjunction",left:e,right:t}}))},increaseQuantifierByOne:function(e){"*"===e.kind?e.kind="+":"+"===e.kind?(e.kind="Range",e.from=2,delete e.to):"?"===e.kind?(e.kind="Range",e.from=1,e.to=2):"Range"===e.kind&&(e.from+=1,e.to&&(e.to+=1))}}},3849:(e,t,n)=>{"use strict";var r=n(32725);e.exports={traverse:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{asNodes:!1};function a(e,t,n,a){var i=r.getForNode(t);return r.getForNode(e,i,n,a)}Array.isArray(t)||(t=[t]),t=t.filter((function(t){return"function"!=typeof t.shouldRun||t.shouldRun(e)})),r.initRegistry(),t.forEach((function(t){"function"==typeof t.init&&t.init(e)})),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.pre,a=t.post,i=t.skipProperty;!function e(t,o,s,u){if(t&&"string"==typeof t.type){var l=void 0;if(n&&(l=n(t,o,s,u)),!1!==l)for(var d in o&&o[s]&&(t=isNaN(u)?o[s]:o[s][u]),t)if(t.hasOwnProperty(d)){if(i?i(d,t):"$"===d[0])continue;var c=t[d];if(Array.isArray(c)){var p=0;for(r.traversingIndexStack.push(p);p<c.length;)e(c[p],t,d,p),p=r.updateTraversingIndex(1);r.traversingIndexStack.pop()}else e(c,t,d)}a&&a(t,o,s,u)}}(e,null)}(e,{pre:function(e,r,i,o){var s=void 0;n.asNodes||(s=a(e,r,i,o));var u=!0,l=!1,d=void 0;try{for(var c,p=t[Symbol.iterator]();!(u=(c=p.next()).done);u=!0){var f=c.value;if("function"==typeof f["*"])if(s){if(!s.isRemoved()&&!1===f["*"](s))return!1}else f["*"](e,r,i,o);var m=void 0;if("function"==typeof f[e.type]?m=f[e.type]:"object"==typeof f[e.type]&&"function"==typeof f[e.type].pre&&(m=f[e.type].pre),m)if(s){if(!s.isRemoved()&&!1===m.call(f,s))return!1}else m.call(f,e,r,i,o)}}catch(e){l=!0,d=e}finally{try{!u&&p.return&&p.return()}finally{if(l)throw d}}},post:function(e,r,i,o){if(e){var s=void 0;n.asNodes||(s=a(e,r,i,o));var u=!0,l=!1,d=void 0;try{for(var c,p=t[Symbol.iterator]();!(u=(c=p.next()).done);u=!0){var f=c.value,m=void 0;if("object"==typeof f[e.type]&&"function"==typeof f[e.type].post&&(m=f[e.type].post),m)if(s){if(!s.isRemoved()&&!1===m.call(f,s))return!1}else m.call(f,e,r,i,o)}}catch(e){l=!0,d=e}finally{try{!u&&p.return&&p.return()}finally{if(l)throw d}}}},skipProperty:function(e){return"loc"===e}})}}},32725:e=>{"use strict";var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n="expressions",r="expression",a=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.node=t,this.parentPath=n,this.parent=n?n.node:null,this.property=r,this.index=a}return t(e,[{key:"_enforceProp",value:function(e){if(!this.node.hasOwnProperty(e))throw new Error("Node of type "+this.node.type+" doesn't have \""+e+'" collection.')}},{key:"setChild",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=void 0;return null!=a?(i||(i=n),this._enforceProp(i),this.node[i][a]=t,o=e.getForNode(t,this,i,a)):(i||(i=r),this._enforceProp(i),this.node[i]=t,o=e.getForNode(t,this,i,null)),o}},{key:"appendChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t||(t=n),this._enforceProp(t);var r=this.node[t].length;return this.setChild(e,r,t)}},{key:"insertChildAt",value:function(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n;this._enforceProp(a),this.node[a].splice(r,0,t),r<=e.getTraversingIndex()&&e.updateTraversingIndex(1),this._rebuildIndex(this.node,a)}},{key:"remove",value:function(){if(!this.isRemoved()&&(e.registry.delete(this.node),this.node=null,this.parent)){if(null!==this.index)return this.parent[this.property].splice(this.index,1),this.index<=e.getTraversingIndex()&&e.updateTraversingIndex(-1),this._rebuildIndex(this.parent,this.property),this.index=null,void(this.property=null);delete this.parent[this.property],this.property=null}}},{key:"_rebuildIndex",value:function(t,n){for(var r=e.getForNode(t),a=0;a<t[n].length;a++)e.getForNode(t[n][a],r,n,a).index=a}},{key:"isRemoved",value:function(){return null===this.node}},{key:"replace",value:function(t){return e.registry.delete(this.node),this.node=t,this.parent?(null!==this.index?this.parent[this.property][this.index]=t:this.parent[this.property]=t,e.getForNode(t,this.parentPath,this.property,this.index)):null}},{key:"update",value:function(e){Object.assign(this.node,e)}},{key:"getParent",value:function(){return this.parentPath}},{key:"getChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.node.expressions?e.getForNode(this.node.expressions[t],this,n,t):this.node.expression&&0==t?e.getForNode(this.node.expression,this,r):null}},{key:"hasEqualSource",value:function(e){return JSON.stringify(this.node,i)===JSON.stringify(e.node,i)}},{key:"jsonEncode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.format,n=e.useLoc;return JSON.stringify(this.node,n?null:i,t)}},{key:"getPreviousSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index-1],e.getForNode(this.parent),this.property,this.index-1):null}},{key:"getNextSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index+1],e.getForNode(this.parent),this.property,this.index+1):null}}],[{key:"getForNode",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;if(!t)return null;e.registry.has(t)||e.registry.set(t,new e(t,n,r,-1==a?null:a));var i=e.registry.get(t);return null!==n&&(i.parentPath=n,i.parent=i.parentPath.node),null!==r&&(i.property=r),a>=0&&(i.index=a),i}},{key:"initRegistry",value:function(){e.registry||(e.registry=new Map),e.registry.clear()}},{key:"updateTraversingIndex",value:function(t){return e.traversingIndexStack[e.traversingIndexStack.length-1]+=t}},{key:"getTraversingIndex",value:function(){return e.traversingIndexStack[e.traversingIndexStack.length-1]}}]),e}();function i(e,t){if("loc"!==e)return t}a.initRegistry(),a.traversingIndexStack=[],e.exports=a},5169:e=>{"use strict";e.exports=function e(t){if(null===t||"object"!=typeof t)return t;var n=void 0;for(var r in n=Array.isArray(t)?[]:{},t)n[r]=e(t[r]);return n}},54969:(e,t,n)=>{"use strict";e.exports=n(658)},70910:(e,t,n)=>{"use strict";var r=n(96599),a=n(64011),i=n(84866),o=n(24905);e.exports=function(e){var t,n=e||{},l=n.properties,d=n.behaviour||n.behavior||"prepend",c=n.content||u,p=n.group;return"wrap"===d?t=function(e){return e.children=[h(e,r(!0,{},l),e.children)],[o.SKIP]}:"before"===d||"after"===d?t=function(e,t,n){var a=h(e,r(!0,{},l),m(c,e)),i="before"===d?[a,e]:[e,a],u=p&&g(p,e);return u&&(u.children=i,i=u),s.apply(n.children,[t,1].concat(i)),[o.SKIP,t+i.length]}:(t=function(e){return e.children["prepend"===d?"unshift":"push"](h(e,r(!0,{},l),m(c,e))),[o.SKIP]},l||(l={ariaHidden:"true",tabIndex:-1})),function(e){o(e,"element",f)};function f(e,n,r){if(i(e)&&a(e,"id"))return t(e,n,r)}function m(e,t){var n=g(e,t);return Array.isArray(n)?n:[n]}function g(e,t){return"function"==typeof e?e(t):r(!0,Array.isArray(e)?[]:{},e)}function h(e,t,n){return{type:"element",tagName:"a",properties:Object.assign({},t,{href:"#"+e.properties.id}),children:n}}};var s=[].splice,u={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]}},2781:(e,t,n)=>{"use strict";var r=n(40017);e.exports=function(e){return function(t,n){return r(t,n,e)}}},70816:(e,t,n)=>{"use strict";var r=n(33347),a=n(30594);e.exports=function(e){var t=e||{},n=t.createElement;function s(e,r,a){var s=e;return a&&o.has(e)&&(a=a.filter((function(e){return"\n"!==e}))),t.components&&i.call(t.components,e)&&(s=t.components[e],t.passNode&&(r.node=this)),n(s,r,a)}this.Compiler=function(e){var i=r(s,a(e),t.prefix);return"root"===e.type?(i="div"!==i.type||1===e.children.length&&"element"===e.children[0].type?[i]:i.props.children,n(t.Fragment||"div",{},i)):i}};var i={}.hasOwnProperty,o=new Set(["table","thead","tbody","tfoot","tr","th","td"])},72546:(e,t,n)=>{"use strict";var r=n(35483);e.exports=function(e){return function(t){return r(t,e)}}},35483:(e,t,n)=>{"use strict";e.exports=n(61803)},61803:(e,t,n)=>{"use strict";var r=n(35592),a=n(49781);e.exports=function(e,t){var n,i={type:"root",children:[]};return e&&"object"==typeof e&&e.type&&(n=u(r(a,t||{}),e,[]))?"length"in n?1===n.length?n[0]:(i.children=n,i):n:i};var i={}.hasOwnProperty,o="data*",s={root:{children:l},doctype:function(e){return e.allowDoctypes?{name:p}:null},comment:function(e){return e.allowComments?{value:m}:null},element:{tagName:f,properties:function(e,t,n,a){var s,u,l,p,m,h=f(e,n.tagName,0,a),E=e.attributes,T=e.required||{},A=t||{},S={};for(p in s=r(g(E["*"]),g(i.call(E,h)?E[h]:[])),A){if(m=A[p],i.call(s,p))l=s[p];else{if(!b(p)||!i.call(s,o))continue;l=s[o]}null!=(m=m&&"object"==typeof m&&"length"in m?d(e,m,p,l):c(e,m,p,l))&&(S[p]=m)}for(p in u=i.call(T,h)?T[h]:{})i.call(S,p)||(S[p]=u[p]);return S},children:l},text:{value:function(e,t){return"string"==typeof t?t:""}},"*":{data:h,position:h}};function u(e,t,n){var a,o,u,l,d=t&&t.type,c={type:t.type},p=!0;if(i.call(s,d))if("function"==typeof(a=s[d])&&(a=a(e,t)),a)for(l in o=r(a,s["*"]))!1===(u=o[l](e,t[l],t,n))?(p=!1,c[l]=t[l]):null!=u&&(c[l]=u);else p=!1;else p=!1;return p?c:c.children&&0!==c.children.length&&-1===e.strip.indexOf(c.tagName)?c.children:null}function l(e,t,n,r){var a,i=t||[],o=i.length||0,s=[],l=-1;for(r=r.concat(n.tagName);++l<o;)(a=u(e,i[l],r))&&("length"in a?s=s.concat(a):s.push(a));return s}function d(e,t,n,r){for(var a,i=t.length,o=[],s=-1;++s<i;)null!=(a=c(e,t[s],n,r))&&o.push(a);return o}function c(e,t,n,r){return"boolean"!=typeof t&&"number"!=typeof t&&"string"!=typeof t?null:function(e,t,n){var r,a,o,s,u,l=e.protocols;if(0===(l=i.call(l,n)?l[n].concat():[]).length)return!0;if("#"===(a=(t=String(t)).charAt(0))||"/"===a)return!0;if(-1===(o=t.indexOf(":")))return!0;for(s=l.length,u=-1;++u<s;)if(o===(r=l[u]).length&&t.slice(0,r.length)===r)return!0;return-1!==(u=t.indexOf("?"))&&o>u||-1!==(u=t.indexOf("#"))&&o>u}(e,t,n)?0!==r.length&&-1===r.indexOf(t)?null:(-1!==e.clobber.indexOf(n)&&(t=e.clobberPrefix+t),t):null}function p(){return"html"}function f(e,t,n,r){var a,o,s="string"==typeof t?t:null,u=e.ancestors;if(!s||"*"===s||-1===e.tagNames.indexOf(s))return!1;if(0!==(u=i.call(u,s)?u[s]:[]).length)for(a=u.length+1,o=-1;++o<a;){if(!u[o])return!1;if(-1!==r.indexOf(u[o]))break}return s}function m(e,t){var n="string"==typeof t?t:"",r=n.indexOf("--\x3e");return-1===r?n:n.slice(0,r)}function g(e){for(var t,n={},r=e.length,a=-1;++a<r;)(t=e[a])&&"object"==typeof t&&"length"in t?n[t[0]]=t.slice(1):n[t]=[];return n}function h(e,t){return t}function b(e){return e.length>4&&"data"===e.slice(0,4).toLowerCase()}},90710:(e,t,n)=>{"use strict";var r=n(85722)(),a=n(64011),i=n(84866),o=n(55186),s=n(24905);function u(e){r.reset(),s(e,"element",(function(e){i(e)&&!a(e,"id")&&(e.properties.id=r.slug(o(e)))}))}e.exports=function(){return u}},31730:(e,t,n)=>{"use strict";e.exports=function(){return o};var r=n(24905),a=/[\t ]*(?:\r?\n|\r)/g,i=[].splice;function o(e){r(e,"text",s)}function s(e,t,n){var r,o,s=[],u=0;for(a.lastIndex=0,r=a.exec(e.value);r;)u!==(o=r.index)&&s.push({type:"text",value:e.value.slice(u,o)}),s.push({type:"break"}),u=o+r[0].length,r=a.exec(e.value);if(s.length>0)return u<e.value.length&&s.push({type:"text",value:e.value.slice(u)}),i.apply(n.children,[t,1].concat(s)),t+s.length}},37997:(e,t,n)=>{"use strict";var r=n(71218),a=n(35592),i=n(64349);function o(e){var t=this.data("settings"),n=r(i);n.prototype.options=a(n.prototype.options,t,e),this.Parser=n}e.exports=o,o.Parser=i},16768:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},67215:(e,t,n)=>{"use strict";var r=n(35592),a=n(78818);e.exports=function(e){return n.raw=function(e,n,o){return a(e,r(o,{position:t(n),warning:i}))},n;function t(t){for(var n=e.offset,r=t.line,a=[];++r&&r in n;)a.push((n[r]||0)+1);return{start:t,indent:a}}function n(n,r,o){a(n,{position:t(r),warning:i,text:o,reference:o,textContext:e,referenceContext:e})}function i(t,n,r){3!==r&&e.file.message(t,n)}}},57919:(e,t,n)=>{"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:n(16768)}},35063:e=>{"use strict";e.exports=function(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}},5517:e=>{"use strict";e.exports=function(e,t){return e.indexOf("`",t)}},66253:e=>{"use strict";e.exports=function(e,t){return e.indexOf("~~",t)}},4980:(e,t,n)=>{"use strict";var r=n(56845),a=n(44968);function i(e){return r(e)||a(e)||43===e||45===e||46===e||95===e}e.exports=function e(t,n){var r,a;if(!this.options.gfm)return-1;if(-1===(r=t.indexOf("@",n)))return-1;if((a=r)===n||!i(t.charCodeAt(a-1)))return e.call(this,t,r+1);for(;a>n&&i(t.charCodeAt(a-1));)a--;return a}},70964:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("*",t),r=e.indexOf("_",t);return-1===r?n:-1===n||r<n?r:n}},24177:e=>{"use strict";e.exports=function(e,t){return e.indexOf("\\",t)}},6466:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r||n<r?n:r}},32029:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("**",t),r=e.indexOf("__",t);return-1===r?n:-1===n||r<n?r:n}},12e3:e=>{"use strict";e.exports=function(e,t){return e.indexOf("<",t)}},129:e=>{"use strict";e.exports=function(e,n){var r,a,i,o=-1;if(!this.options.gfm)return o;for(a=t.length,r=-1;++r<a;)-1!==(i=e.indexOf(t[r],n))&&(-1===o||i<o)&&(o=i);return o};var t=["www.","http://","https://"]},71146:(e,t,n)=>{"use strict";var r=n(35592),a=n(19906);e.exports=function(){var e,t=this,n=String(t.file),s={line:1,column:1,offset:0},u=r(s);return 65279===(n=n.replace(o,i)).charCodeAt(0)&&(n=n.slice(1),u.column++,u.offset++),e={type:"root",children:t.tokenizeBlock(n,u),position:{start:s,end:t.eof||r(s)}},t.options.position||a(e,!0),e};var i="\n",o=/\r\n|\r/g},64349:(e,t,n)=>{"use strict";var r=n(35592),a=n(60267),i=n(92087),o=n(3593),s=n(67215),u=n(98792);function l(e,t){this.file=t,this.offset={},this.options=r(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=i(t).toOffset,this.unescape=o(this,"escape"),this.decode=s(this)}e.exports=l;var d=l.prototype;function c(e){var t,n=[];for(t in e)n.push(t);return n}d.setOptions=n(17266),d.parse=n(71146),d.options=n(57919),d.exitStart=a("atStart",!0),d.enterList=a("inList",!1),d.enterLink=a("inLink",!1),d.enterBlock=a("inBlock",!1),d.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],d.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],d.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]],d.blockTokenizers={blankLine:n(1556),indentedCode:n(96800),fencedCode:n(14160),blockquote:n(17636),atxHeading:n(36079),thematicBreak:n(68294),list:n(54091),setextHeading:n(72617),html:n(10950),definition:n(45902),table:n(50495),paragraph:n(61421)},d.inlineTokenizers={escape:n(11244),autoLink:n(9957),url:n(36734),email:n(61771),html:n(30957),link:n(66035),reference:n(63410),strong:n(96616),emphasis:n(31578),deletion:n(88628),code:n(15690),break:n(52720),text:n(41176)},d.blockMethods=c(d.blockTokenizers),d.inlineMethods=c(d.inlineTokenizers),d.tokenizeBlock=u("block"),d.tokenizeInline=u("inline"),d.tokenizeFactory=u},17266:(e,t,n)=>{"use strict";var r=n(35592),a=n(50447),i=n(57919);e.exports=function(e){var t,n,o=this,s=o.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=r(e)}for(t in i){if(null==(n=e[t])&&(n=s[t]),"blocks"!==t&&"boolean"!=typeof n||"blocks"===t&&"object"!=typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return o.options=e,o.escape=a(e),o}},9957:(e,t,n)=>{"use strict";var r=n(70209),a=n(78818),i=n(12e3);e.exports=p,p.locator=i,p.notInLink=!0;var o="<",s=">",u="@",l="/",d="mailto:",c=d.length;function p(e,t,n){var i,p,f,m,g,h=this,b="",E=t.length,T=0,A="",S=!1,_="";if(t.charAt(0)===o){for(T++,b=o;T<E&&(i=t.charAt(T),!(r(i)||i===s||i===u||":"===i&&t.charAt(T+1)===l));)A+=i,T++;if(A){if(_+=A,A="",_+=i=t.charAt(T),T++,i===u)S=!0;else{if(":"!==i||t.charAt(T+1)!==l)return;_+=l,T++}for(;T<E&&(i=t.charAt(T),!r(i)&&i!==s);)A+=i,T++;if(i=t.charAt(T),A&&i===s)return!!n||(f=_+=A,b+=_+i,(p=e.now()).column++,p.offset++,S&&(_.slice(0,c).toLowerCase()===d?(f=f.slice(c),p.column+=c,p.offset+=c):_=d+_),m=h.inlineTokenizers,h.inlineTokenizers={text:m.text},g=h.enterLink(),f=h.tokenizeInline(f,p),h.inlineTokenizers=m,g(),e(b)({type:"link",title:null,url:a(_,{nonTerminated:!1}),children:f}))}}}},1556:e=>{"use strict";var t=/^[ \t]*(\n|$)/;e.exports=function(e,n,r){for(var a,i="",o=0,s=n.length;o<s&&null!=(a=t.exec(n.slice(o)));)o+=a[0].length,i+=a[0];if(""!==i)return!!r||void e(i)}},17636:(e,t,n)=>{"use strict";var r=n(40399),a=n(34213);e.exports=function(e,t,n){for(var l,d,c,p,f,m,g,h,b,E=this,T=E.offset,A=E.blockTokenizers,S=E.interruptBlockquote,_=e.now(),y=_.line,C=t.length,N=[],R=[],I=[],k=0;k<C&&((d=t.charAt(k))===s||d===o);)k++;if(t.charAt(k)===u){if(n)return!0;for(k=0;k<C;){for(g=k,h=!1,-1===(p=t.indexOf(i,k))&&(p=C);k<C&&((d=t.charAt(k))===s||d===o);)k++;if(t.charAt(k)===u?(k++,h=!0,t.charAt(k)===s&&k++):k=g,f=t.slice(k,p),!h&&!r(f)){k=g;break}if(!h&&(c=t.slice(k),a(S,A,E,[e,c,!0])))break;m=g===k?f:t.slice(g,p),I.push(k-g),N.push(m),R.push(f),k=p+1}for(k=-1,C=I.length,l=e(N.join(i));++k<C;)T[y]=(T[y]||0)+I[k],y++;return b=E.enterBlock(),R=E.tokenizeBlock(R.join(i),_),b(),l({type:"blockquote",children:R})}};var i="\n",o="\t",s=" ",u=">"},52720:(e,t,n)=>{"use strict";var r=n(35063);e.exports=s,s.locator=r;var a=" ",i="\n",o=2;function s(e,t,n){for(var r,s=t.length,u=-1,l="";++u<s;){if((r=t.charAt(u))===i){if(u<o)return;return!!n||e(l+=r)({type:"break"})}if(r!==a)return;l+=r}}},14160:e=>{"use strict";e.exports=function(e,u,l){var d,c,p,f,m,g,h,b,E,T,A,S,_,y=this,C=y.options.gfm,N=u.length+1,R=0,I="";if(C){for(;R<N&&((p=u.charAt(R))===r||p===n);)I+=p,R++;if(S=R,(p=u.charAt(R))===a||p===i){for(R++,c=p,d=1,I+=p;R<N&&(p=u.charAt(R))===c;)I+=p,d++,R++;if(!(d<o)){for(;R<N&&((p=u.charAt(R))===r||p===n);)I+=p,R++;for(f="",h="";R<N&&(p=u.charAt(R))!==t&&(c!==i||p!==c);)p===r||p===n?h+=p:(f+=h+p,h=""),R++;if(!(p=u.charAt(R))||p===t){if(l)return!0;(_=e.now()).column+=I.length,_.offset+=I.length,I+=f,f=y.decode.raw(y.unescape(f),_),h&&(I+=h),h="",T="",A="",b="",E="";for(var k=!0;R<N;)if(b+=T,E+=A,T="",A="",(p=u.charAt(R))===t){for(k?(I+=p,k=!1):(T+=p,A+=p),h="",R++;R<N&&(p=u.charAt(R))===r;)h+=p,R++;if(T+=h,A+=h.slice(S),!(h.length>=s)){for(h="";R<N&&(p=u.charAt(R))===c;)h+=p,R++;if(T+=h,A+=h,!(h.length<d)){for(h="";R<N&&((p=u.charAt(R))===r||p===n);)T+=p,A+=p,R++;if(!p||p===t)break}}}else b+=p,A+=p,R++;for(I+=b+T,R=-1,N=f.length;++R<N;)if((p=f.charAt(R))===r||p===n)m||(m=f.slice(0,R));else if(m){g=f.slice(R);break}return e(I)({type:"code",lang:m||f||null,meta:g||null,value:E})}}}}};var t="\n",n="\t",r=" ",a="~",i="`",o=3,s=4},96800:(e,t,n)=>{"use strict";var r=n(39946),a=n(54276);e.exports=function(e,t,n){for(var r,l,d,c=-1,p=t.length,f="",m="",g="",h="";++c<p;)if(r=t.charAt(c),d)if(d=!1,f+=g,m+=h,g="",h="",r===i)g=r,h=r;else for(f+=r,m+=r;++c<p;){if(!(r=t.charAt(c))||r===i){h=r,g=r;break}f+=r,m+=r}else if(r===s&&t.charAt(c+1)===r&&t.charAt(c+2)===r&&t.charAt(c+3)===r)g+=u,c+=3,d=!0;else if(r===o)g+=r,d=!0;else{for(l="";r===o||r===s;)l+=r,r=t.charAt(++c);if(r!==i)break;g+=l+r,h+=r}if(m)return!!n||e(f)({type:"code",lang:null,meta:null,value:a(m)})};var i="\n",o="\t",s=" ",u=r(s,4)},15690:(e,t,n)=>{"use strict";var r=n(5517);e.exports=s,s.locator=r;var a=10,i=32,o=96;function s(e,t,n){for(var r,s,u,l,d,c,p=t.length,f=0;f<p&&t.charCodeAt(f)===o;)f++;if(0!==f&&f!==p){for(r=f,d=t.charCodeAt(f);f<p;){if(l=d,d=t.charCodeAt(f+1),l===o){if(void 0===s&&(s=f),u=f+1,d!==o&&u-s===r){c=!0;break}}else void 0!==s&&(s=void 0,u=void 0);f++}if(c){if(n)return!0;if(f=r,p=s,l=t.charCodeAt(f),d=t.charCodeAt(p-1),c=!1,p-f>2&&(l===i||l===a)&&(d===i||d===a)){for(f++,p--;f<p;){if((l=t.charCodeAt(f))!==i&&l!==a){c=!0;break}f++}!0===c&&(r++,s--)}return e(t.slice(0,u))({type:"inlineCode",value:t.slice(r,s)})}}}},45902:(e,t,n)=>{"use strict";var r=n(70209),a=n(58133);e.exports=function(e,t,n){for(var r,b,A,S,_,y,C,N,R=this,I=R.options.commonmark,k=0,v=t.length,O="";k<v&&((S=t.charAt(k))===d||S===l);)O+=S,k++;if((S=t.charAt(k))===c){for(k++,O+=S,A="";k<v&&(S=t.charAt(k))!==p;)S===s&&(A+=S,k++,S=t.charAt(k)),A+=S,k++;if(A&&t.charAt(k)===p&&t.charAt(k+1)===g){for(y=A,k=(O+=A+p+g).length,A="";k<v&&((S=t.charAt(k))===l||S===d||S===u);)O+=S,k++;if(A="",r=O,(S=t.charAt(k))===h){for(k++;k<v&&E(S=t.charAt(k));)A+=S,k++;if((S=t.charAt(k))===E.delimiter)O+=h+A+S,k++;else{if(I)return;k-=A.length+1,A=""}}if(!A){for(;k<v&&T(S=t.charAt(k));)A+=S,k++;O+=A}if(A){for(C=A,A="";k<v&&((S=t.charAt(k))===l||S===d||S===u);)A+=S,k++;if(_=null,(S=t.charAt(k))===i?_=i:S===o?_=o:S===f&&(_=m),_){if(!A)return;for(k=(O+=A+S).length,A="";k<v&&(S=t.charAt(k))!==_;){if(S===u){if(k++,(S=t.charAt(k))===u||S===_)return;A+=u}A+=S,k++}if((S=t.charAt(k))!==_)return;b=O,O+=A+S,k++,N=A,A=""}else A="",k=O.length;for(;k<v&&((S=t.charAt(k))===l||S===d);)O+=S,k++;return(S=t.charAt(k))&&S!==u?void 0:!!n||(r=e(r).test().end,C=R.decode.raw(R.unescape(C),r,{nonTerminated:!1}),N&&(b=e(b).test().end,N=R.decode.raw(R.unescape(N),b)),e(O)({type:"definition",identifier:a(y),label:y,title:N||null,url:C}))}}}};var i='"',o="'",s="\\",u="\n",l="\t",d=" ",c="[",p="]",f="(",m=")",g=":",h="<",b=">";function E(e){return e!==b&&e!==c&&e!==p}function T(e){return e!==c&&e!==p&&!r(e)}E.delimiter=b},88628:(e,t,n)=>{"use strict";var r=n(70209),a=n(66253);e.exports=s,s.locator=a;var i="~",o="~~";function s(e,t,n){var a,s,u,l="",d="",c="",p="";if(this.options.gfm&&t.charAt(0)===i&&t.charAt(1)===i&&!r(t.charAt(2)))for(a=1,s=t.length,(u=e.now()).column+=2,u.offset+=2;++a<s;){if(!((l=t.charAt(a))!==i||d!==i||c&&r(c)))return!!n||e(o+p+o)({type:"delete",children:this.tokenizeInline(p,u)});p+=d,c=d,d=l}}},61771:(e,t,n)=>{"use strict";var r=n(78818),a=n(56845),i=n(44968),o=n(4980);e.exports=p,p.locator=o,p.notInLink=!0;var s=43,u=45,l=46,d=64,c=95;function p(e,t,n){var o,p,f,m,g=this,h=g.options.gfm,b=g.inlineTokenizers,E=0,T=t.length,A=-1;if(h){for(o=t.charCodeAt(E);a(o)||i(o)||o===s||o===u||o===l||o===c;)o=t.charCodeAt(++E);if(0!==E&&o===d){for(E++;E<T&&(o=t.charCodeAt(E),a(o)||i(o)||o===u||o===l||o===c);)E++,-1===A&&o===l&&(A=E);if(-1!==A&&A!==E&&o!==u&&o!==c)return o===l&&E--,p=t.slice(0,E),!!n||(m=g.enterLink(),g.inlineTokenizers={text:b.text},f=g.tokenizeInline(p,e.now()),g.inlineTokenizers=b,m(),e(p)({type:"link",title:null,url:"mailto:"+r(p,{nonTerminated:!1}),children:f}))}}}},31578:(e,t,n)=>{"use strict";var r=n(40399),a=n(61984),i=n(70209),o=n(70964);e.exports=d,d.locator=o;var s="*",u="_",l="\\";function d(e,t,n){var o,d,c,p,f,m,g,h=0,b=t.charAt(h);if(!(b!==s&&b!==u||(d=this.options.pedantic,f=b,c=b,m=t.length,h++,p="",b="",d&&i(t.charAt(h)))))for(;h<m;){if(g=b,!((b=t.charAt(h))!==c||d&&i(g))){if((b=t.charAt(++h))!==c){if(!r(p)||g===c)return;if(!d&&c===u&&a(b)){p+=c;continue}return!!n||((o=e.now()).column++,o.offset++,e(f+p+c)({type:"emphasis",children:this.tokenizeInline(p,o)}))}p+=c}d||b!==l||(p+=b,b=t.charAt(++h)),p+=b,h++}}},11244:(e,t,n)=>{"use strict";var r=n(24177);e.exports=o,o.locator=r;var a="\n",i="\\";function o(e,t,n){var r,o;if(t.charAt(0)===i&&(r=t.charAt(1),-1!==this.escape.indexOf(r)))return!!n||(o=r===a?{type:"break"}:{type:"text",value:r},e(i+r)(o))}},36079:e=>{"use strict";e.exports=function(e,o,s){for(var u,l,d,c=this.options.pedantic,p=o.length+1,f=-1,m=e.now(),g="",h="";++f<p;){if((u=o.charAt(f))!==r&&u!==n){f--;break}g+=u}for(d=0;++f<=p;){if((u=o.charAt(f))!==a){f--;break}g+=u,d++}if(!(d>i)&&d&&(c||o.charAt(f+1)!==a)){for(p=o.length+1,l="";++f<p;){if((u=o.charAt(f))!==r&&u!==n){f--;break}l+=u}if(c||0!==l.length||!u||u===t){if(s)return!0;for(g+=l,l="",h="";++f<p&&(u=o.charAt(f))&&u!==t;)if(u===r||u===n||u===a){for(;u===r||u===n;)l+=u,u=o.charAt(++f);if(c||!h||l||u!==a){for(;u===a;)l+=u,u=o.charAt(++f);for(;u===r||u===n;)l+=u,u=o.charAt(++f);f--}else h+=u}else h+=l+u,l="";return m.column+=g.length,m.offset+=g.length,e(g+=h+l)({type:"heading",depth:d,children:this.tokenizeInline(h,m)})}}};var t="\n",n="\t",r=" ",a="#",i=6},72617:e=>{"use strict";e.exports=function(e,l,d){for(var c,p,f,m,g,h=e.now(),b=l.length,E=-1,T="";++E<b;){if((f=l.charAt(E))!==r||E>=o){E--;break}T+=f}for(c="",p="";++E<b;){if((f=l.charAt(E))===t){E--;break}f===r||f===n?p+=f:(c+=p+f,p="")}if(h.column+=T.length,h.offset+=T.length,T+=c+p,f=l.charAt(++E),m=l.charAt(++E),f===t&&(m===a||m===i)){for(T+=f,p=m,g=m===a?s:u;++E<b;){if((f=l.charAt(E))!==m){if(f!==t)return;E--;break}p+=f}return!!d||e(T+p)({type:"heading",depth:g,children:this.tokenizeInline(c,h)})}};var t="\n",n="\t",r=" ",a="=",i="-",o=3,s=1,u=2},10950:(e,t,n)=>{"use strict";var r=n(92405).X;e.exports=function(e,t,n){for(var r,A,S,_,y,C,N,R=this.options.blocks.join("|"),I=new RegExp("^</?("+R+")(?=(\\s|/?>|$))","i"),k=t.length,v=0,O=[[u,l,!0],[d,c,!0],[p,f,!0],[m,g,!0],[h,b,!0],[I,E,!0],[T,E,!1]];v<k&&((_=t.charAt(v))===a||_===i);)v++;if(t.charAt(v)===s){for(r=-1===(r=t.indexOf(o,v+1))?k:r,A=t.slice(v,r),S=-1,y=O.length;++S<y;)if(O[S][0].test(A)){C=O[S];break}if(C){if(n)return C[2];if(v=r,!C[1].test(A))for(;v<k;){if(r=-1===(r=t.indexOf(o,v+1))?k:r,A=t.slice(v+1,r),C[1].test(A)){A&&(v=r);break}v=r}return e(N=t.slice(0,v))({type:"html",value:N})}}};var a="\t",i=" ",o="\n",s="<",u=/^<(script|pre|style)(?=(\s|>|$))/i,l=/<\/(script|pre|style)>/i,d=/^<!--/,c=/-->/,p=/^<\?/,f=/\?>/,m=/^<![A-Za-z]/,g=/>/,h=/^<!\[CDATA\[/,b=/]]>/,E=/^$/,T=new RegExp(r.source+"\\s*$")},30957:(e,t,n)=>{"use strict";var r=n(44968),a=n(12e3),i=n(92405).T;e.exports=p,p.locator=a;var o="<",s="?",u="!",l="/",d=/^<a /i,c=/^<\/a>/i;function p(e,t,n){var a,p,f=this,m=t.length;if(!(t.charAt(0)!==o||m<3)&&(a=t.charAt(1),(r(a)||a===s||a===u||a===l)&&(p=t.match(i))))return!!n||(p=p[0],!f.inLink&&d.test(p)?f.inLink=!0:f.inLink&&c.test(p)&&(f.inLink=!1),e(p)({type:"html",value:p}))}},66035:(e,t,n)=>{"use strict";var r=n(70209),a=n(6466);e.exports=b,b.locator=a;var i="\n",o="!",s='"',u="'",l="(",d=")",c="<",p=">",f="[",m="\\",g="]",h="`";function b(e,t,n){var a,b,E,T,A,S,_,y,C,N,R,I,k,v,O,D,w,L,x=this,P="",F=0,M=t.charAt(0),U=x.options.pedantic,B=x.options.commonmark,G=x.options.gfm;if(M===o&&(y=!0,P=M,M=t.charAt(++F)),M===f&&(y||!x.inLink)){for(P+=M,v="",F++,R=t.length,k=0,(D=e.now()).column+=F,D.offset+=F;F<R;){if(S=M=t.charAt(F),M===h){for(b=1;t.charAt(F+1)===h;)S+=M,F++,b++;E?b>=E&&(E=0):E=b}else if(M===m)F++,S+=t.charAt(F);else if(E&&!G||M!==f){if((!E||G)&&M===g){if(!k){if(t.charAt(F+1)!==l)return;S+=l,a=!0,F++;break}k--}}else k++;v+=S,S="",F++}if(a){for(C=v,P+=v+S,F++;F<R&&(M=t.charAt(F),r(M));)P+=M,F++;if(v="",T=P,(M=t.charAt(F))===c){for(F++,T+=c;F<R&&(M=t.charAt(F))!==p;){if(B&&M===i)return;v+=M,F++}if(t.charAt(F)!==p)return;P+=c+v+p,O=v,F++}else{for(M=null,S="";F<R&&(M=t.charAt(F),!S||!(M===s||M===u||B&&M===l));){if(r(M)){if(!U)break;S+=M}else{if(M===l)k++;else if(M===d){if(0===k)break;k--}v+=S,S="",M===m&&(v+=m,M=t.charAt(++F)),v+=M}F++}O=v,F=(P+=v).length}for(v="";F<R&&(M=t.charAt(F),r(M));)v+=M,F++;if(M=t.charAt(F),P+=v,v&&(M===s||M===u||B&&M===l))if(F++,v="",N=M===l?d:M,A=P+=M,B){for(;F<R&&(M=t.charAt(F))!==N;)M===m&&(v+=m,M=t.charAt(++F)),F++,v+=M;if((M=t.charAt(F))!==N)return;for(I=v,P+=v+M,F++;F<R&&(M=t.charAt(F),r(M));)P+=M,F++}else for(S="";F<R;){if((M=t.charAt(F))===N)_&&(v+=N+S,S=""),_=!0;else if(_){if(M===d){P+=v+N+S,I=v;break}r(M)?S+=M:(v+=N+S+M,S="",_=!1)}else v+=M;F++}if(t.charAt(F)===d)return!!n||(P+=d,O=x.decode.raw(x.unescape(O),e(T).test().end,{nonTerminated:!1}),I&&(A=e(A).test().end,I=x.decode.raw(x.unescape(I),A)),L={type:y?"image":"link",title:I||null,url:O},y?L.alt=x.decode.raw(x.unescape(C),D)||null:(w=x.enterLink(),L.children=x.tokenizeInline(C,D),w()),e(P)(L))}}}},54091:(e,t,n)=>{"use strict";var r=n(40399),a=n(39946),i=n(56845),o=n(74976),s=n(53782),u=n(34213);e.exports=function(e,t,n){for(var a,o,s,E,A,S,_,y,C,R,I,k,v,O,D,w,L,x,P,F,M,U,B,G=this,H=G.options.commonmark,$=G.options.pedantic,z=G.blockTokenizers,V=G.interruptList,K=0,W=t.length,j=null,Y=!1;K<W&&((E=t.charAt(K))===h||E===m);)K++;if((E=t.charAt(K))===l||E===c||E===p)A=E,s=!1;else{for(s=!0,o="";K<W&&(E=t.charAt(K),i(E));)o+=E,K++;if(E=t.charAt(K),!o||!(E===f||H&&E===b))return;if(n&&"1"!==o)return;j=parseInt(o,10),A=E}if((E=t.charAt(++K))===m||E===h||!($||E!==g&&""!==E)){if(n)return!0;for(K=0,O=[],D=[],w=[];K<W;){for(_=K,y=!1,B=!1,-1===(S=t.indexOf(g,K))&&(S=W),a=0;K<W;){if((E=t.charAt(K))===h)a+=T-a%T;else{if(E!==m)break;a++}K++}if(L&&a>=L.indent&&(B=!0),E=t.charAt(K),C=null,!B){if(E===l||E===c||E===p)C=E,K++,a++;else{for(o="";K<W&&(E=t.charAt(K),i(E));)o+=E,K++;E=t.charAt(K),K++,o&&(E===f||H&&E===b)&&(C=E,a+=o.length+1)}if(C)if((E=t.charAt(K))===h)a+=T-a%T,K++;else if(E===m){for(U=K+T;K<U&&t.charAt(K)===m;)K++,a++;K===U&&t.charAt(K)===m&&(K-=T-1,a-=T-1)}else E!==g&&""!==E&&(C=null)}if(C){if(!$&&A!==C)break;y=!0}else H||B||t.charAt(_)!==m?H&&L&&(B=a>=L.indent||a>T):B=!0,y=!1,K=_;if(I=t.slice(_,S),R=_===K?I:t.slice(K,S),(C===l||C===d||C===p)&&z.thematicBreak.call(G,e,I,!0))break;if(k=v,v=!y&&!r(R).length,B&&L)L.value=L.value.concat(w,I),D=D.concat(w,I),w=[];else if(y)0!==w.length&&(Y=!0,L.value.push(""),L.trail=w.concat()),L={value:[I],indent:a,trail:[]},O.push(L),D=D.concat(w,I),w=[];else if(v){if(k&&!H)break;w.push(I)}else{if(k)break;if(u(V,z,G,[e,I,!0]))break;L.value=L.value.concat(w,I),D=D.concat(w,I),w=[]}K=S+1}for(F=e(D.join(g)).reset({type:"list",ordered:s,start:j,spread:Y,children:[]}),x=G.enterList(),P=G.enterBlock(),K=-1,W=O.length;++K<W;)L=O[K].value.join(g),M=e.now(),e(L)(N(G,L,M),F),L=O[K].trail.join(g),K!==W-1&&(L+=g),e(L);return x(),P(),F}};var l="*",d="_",c="+",p="-",f=".",m=" ",g="\n",h="\t",b=")",E="x",T=4,A=/\n\n(?!\s*$)/,S=/^\[([ X\tx])][ \t]/,_=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,y=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,C=/^( {1,4}|\t)?/gm;function N(e,t,n){var r,a,i=e.offset,o=null;return t=(e.options.pedantic?R:I).apply(null,arguments),e.options.gfm&&(r=t.match(S))&&(a=r[0].length,o=r[1].toLowerCase()===E,i[n.line]+=a,t=t.slice(a)),{type:"listItem",spread:A.test(t),checked:o,children:e.tokenizeBlock(t,n)}}function R(e,t,n){var r=e.offset,a=n.line;return t=t.replace(y,i),a=n.line,t.replace(C,i);function i(e){return r[a]=(r[a]||0)+e.length,a++,""}}function I(e,t,n){var r,i,u,l,d,c,p,f=e.offset,h=n.line;for(l=(t=t.replace(_,(function(e,t,n,o,s){return i=t+n+o,u=s,Number(n)<10&&i.length%2==1&&(n=m+n),(r=t+a(m,n.length)+o)+u}))).split(g),(d=s(t,o(r).indent).split(g))[0]=u,f[h]=(f[h]||0)+i.length,h++,c=0,p=l.length;++c<p;)f[h]=(f[h]||0)+l[c].length-d[c].length,h++;return d.join(g)}},61421:(e,t,n)=>{"use strict";var r=n(40399),a=n(54276),i=n(34213);e.exports=function(e,t,n){for(var d,c,p,f,m,g=this,h=g.options.commonmark,b=g.blockTokenizers,E=g.interruptParagraph,T=t.indexOf(s),A=t.length;T<A;){if(-1===T){T=A;break}if(t.charAt(T+1)===s)break;if(h){for(f=0,d=T+1;d<A;){if((p=t.charAt(d))===o){f=l;break}if(p!==u)break;f++,d++}if(f>=l&&p!==s){T=t.indexOf(s,T+1);continue}}if(c=t.slice(T+1),i(E,b,g,[e,c,!0]))break;if(d=T,-1!==(T=t.indexOf(s,T+1))&&""===r(t.slice(d,T))){T=d;break}}return c=t.slice(0,T),!!n||(m=e.now(),e(c=a(c))({type:"paragraph",children:g.tokenizeInline(c,m)}))};var o="\t",s="\n",u=" ",l=4},63410:(e,t,n)=>{"use strict";var r=n(70209),a=n(6466),i=n(58133);e.exports=g,g.locator=a;var o="link",s="image",u="shortcut",l="collapsed",d="full",c="!",p="[",f="\\",m="]";function g(e,t,n){var a,g,h,b,E,T,A,S,_=this,y=_.options.commonmark,C=t.charAt(0),N=0,R=t.length,I="",k="",v=o,O=u;if(C===c&&(v=s,k=C,C=t.charAt(++N)),C===p){for(N++,k+=C,T="",S=0;N<R;){if((C=t.charAt(N))===p)A=!0,S++;else if(C===m){if(!S)break;S--}C===f&&(T+=f,C=t.charAt(++N)),T+=C,N++}if(I=T,a=T,(C=t.charAt(N))===m){if(N++,I+=C,T="",!y)for(;N<R&&(C=t.charAt(N),r(C));)T+=C,N++;if((C=t.charAt(N))===p){for(g="",T+=C,N++;N<R&&(C=t.charAt(N))!==p&&C!==m;)C===f&&(g+=f,C=t.charAt(++N)),g+=C,N++;(C=t.charAt(N))===m?(O=g?d:l,T+=g+C,N++):g="",I+=T,T=""}else{if(!a)return;g=a}if(O===d||!A)return I=k+I,v===o&&_.inLink?null:!!n||((h=e.now()).column+=k.length,h.offset+=k.length,b={type:v+"Reference",identifier:i(g=O===d?g:a),label:g,referenceType:O},v===o?(E=_.enterLink(),b.children=_.tokenizeInline(a,h),E()):b.alt=_.decode.raw(_.unescape(a),h)||null,e(I)(b))}}}},96616:(e,t,n)=>{"use strict";var r=n(40399),a=n(70209),i=n(32029);e.exports=l,l.locator=i;var o="\\",s="*",u="_";function l(e,t,n){var i,l,d,c,p,f,m,g=0,h=t.charAt(g);if(!(h!==s&&h!==u||t.charAt(++g)!==h||(l=this.options.pedantic,p=(d=h)+d,f=t.length,g++,c="",h="",l&&a(t.charAt(g)))))for(;g<f;){if(m=h,!((h=t.charAt(g))!==d||t.charAt(g+1)!==d||l&&a(m))&&(h=t.charAt(g+2))!==d){if(!r(c))return;return!!n||((i=e.now()).column+=2,i.offset+=2,e(p+c+p)({type:"strong",children:this.tokenizeInline(c,i)}))}l||h!==o||(c+=h,h=t.charAt(++g)),c+=h,g++}}},50495:(e,t,n)=>{"use strict";var r=n(70209);e.exports=function(e,t,n){var h,b,E,T,A,S,_,y,C,N,R,I,k,v,O,D,w,L,x,P,F,M;if(this.options.gfm){for(h=0,D=0,S=t.length+1,_=[];h<S;){if(P=t.indexOf(i,h),F=t.indexOf(d,h+1),-1===P&&(P=t.length),-1===F||F>P){if(D<p)return;break}_.push(t.slice(h,P)),D++,h=P+1}for(T=_.join(i),h=0,S=(b=_.splice(1,1)[0]||[]).length,D--,E=!1,R=[];h<S;){if((C=b.charAt(h))===d){if(N=null,!1===E){if(!1===M)return}else R.push(E),E=!1;M=!1}else if(C===s)N=!0,E=E||null;else if(C===u)E=E===f?m:N&&null===E?g:f;else if(!r(C))return;h++}if(!1!==E&&R.push(E),!(R.length<c)){if(n)return!0;for(O=-1,L=[],x=e(T).reset({type:"table",align:R,children:L});++O<D;){for(w=_[O],A={type:"tableRow",children:[]},O&&e(i),e(w).reset(A,x),S=w.length+1,h=0,y="",I="",k=!0;h<S;)(C=w.charAt(h))!==a&&C!==o?(""===C||C===d?k?e(C):(!I&&!C||k||(T=I,y.length>1&&(C?(T+=y.slice(0,-1),y=y.charAt(y.length-1)):(T+=y,y="")),v=e.now(),e(T)({type:"tableCell",children:this.tokenizeInline(I,v)},A)),e(y+C),y="",I=""):(y&&(I+=y,y=""),I+=C,C===l&&h!==S-2&&(I+=w.charAt(h+1),h++)),k=!1,h++):(I?y+=C:e(C),h++);O||e(i+b)}return x}}};var a="\t",i="\n",o=" ",s="-",u=":",l="\\",d="|",c=1,p=2,f="left",m="center",g="right"},41176:e=>{"use strict";e.exports=function(e,t,n){var r,a,i,o,s,u,l,d,c,p,f=this;if(n)return!0;for(o=(r=f.inlineMethods).length,a=f.inlineTokenizers,i=-1,c=t.length;++i<o;)"text"!==(d=r[i])&&a[d]&&((l=a[d].locator)||e.file.fail("Missing locator: `"+d+"`"),-1!==(u=l.call(f,t,1))&&u<c&&(c=u));s=t.slice(0,c),p=e.now(),f.decode(s,p,(function(t,n,r){e(r||t)({type:"text",value:t})}))}},68294:e=>{"use strict";e.exports=function(e,u,l){for(var d,c,p,f,m=-1,g=u.length+1,h="";++m<g&&((d=u.charAt(m))===t||d===r);)h+=d;if(d===a||d===i||d===o)for(c=d,h+=d,p=1,f="";++m<g;)if((d=u.charAt(m))===c)p++,h+=f+c,f="";else{if(d!==r)return p>=s&&(!d||d===n)?(h+=f,!!l||e(h)({type:"thematicBreak"})):void 0;f+=d}};var t="\t",n="\n",r=" ",a="*",i="-",o="_",s=3},36734:(e,t,n)=>{"use strict";var r=n(26091),a=n(78818),i=n(56845),o=n(44968),s=n(70209),u=n(129);e.exports=C,C.locator=u,C.notInLink=!0;var l=33,d=38,c=41,p=42,f=44,m=45,g=46,h=58,b=59,E=63,T=60,A=95,S=126,_="(",y=")";function C(e,t,n){var u,C,N,R,I,k,v,O,D,w,L,x,P,F,M=this,U=M.options.gfm,B=M.inlineTokenizers,G=t.length,H=-1,$=!1;if(U){if("www."===t.slice(0,4))$=!0,R=4;else if("http://"===t.slice(0,7).toLowerCase())R=7;else{if("https://"!==t.slice(0,8).toLowerCase())return;R=8}for(H=R-1,N=R,u=[];R<G;)if((v=t.charCodeAt(R))!==g){if(!i(v)&&!o(v)&&v!==m&&v!==A)break;R++}else{if(H===R-1)break;u.push(R),H=R,R++}if(v===g&&(u.pop(),R--),void 0!==u[0]&&(C=u.length<2?N:u[u.length-2]+1,-1===t.slice(C,R).indexOf("_"))){if(n)return!0;for(O=R,I=R;R<G&&(v=t.charCodeAt(R),!s(v)&&v!==T);)R++,v===l||v===p||v===f||v===g||v===h||v===E||v===A||v===S||(O=R);if(R=O,t.charCodeAt(R-1)===c)for(k=t.slice(I,R),D=r(k,_),w=r(k,y);w>D;)R=I+k.lastIndexOf(y),k=t.slice(I,R),w--;if(t.charCodeAt(R-1)===b&&(R--,o(t.charCodeAt(R-1)))){for(O=R-2;o(t.charCodeAt(O));)O--;t.charCodeAt(O)===d&&(R=O)}return L=t.slice(0,R),P=a(L,{nonTerminated:!1}),$&&(P="http://"+P),F=M.enterLink(),M.inlineTokenizers={text:B.text},x=M.tokenizeInline(L,e.now()),M.inlineTokenizers=B,F(),e(L)({type:"link",title:null,url:P,children:x})}}}},98792:e=>{"use strict";function t(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function n(e,t){return e.value+=t.value,e}function r(e,t){return this.options.commonmark||this.options.gfm?t:(e.children=e.children.concat(t.children),e)}e.exports=function(e){return function(a,i){var o,s,u,l,d,c=this,p=c.offset,f=[],m=c[e+"Methods"],g=c[e+"Tokenizers"],h=i.line,b=i.column;if(!a)return f;for(S.now=T,S.file=c.file,E("");a;){for(o=-1,s=m.length,l=!1;++o<s&&(!(u=g[m[o]])||u.onlyAtStart&&!c.atStart||u.notInList&&c.inList||u.notInBlock&&c.inBlock||u.notInLink&&c.inLink||(d=a.length,u.apply(c,[S,a]),!(l=d!==a.length))););l||c.file.fail(new Error("Infinite loop"),S.now())}return c.eof=T(),f;function E(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)h++,t=n,n=e.indexOf("\n",n+1);-1===t?b+=e.length:b=e.length-t,h in p&&(-1!==t?b+=p[h]:b<=p[h]&&(b=p[h]+1))}function T(){var e={line:h,column:b};return e.offset=c.toOffset(e),e}function A(e){this.start=e,this.end=T()}function S(e){var i,o=function(){var e=[],t=h+1;return function(){for(var n=h+1;t<n;)e.push((p[t]||0)+1),t++;return e}}(),s=(i=T(),function(e,t){var n=e.position,r=n?n.start:i,a=[],o=n&&n.end.line,s=i.line;if(e.position=new A(r),n&&t&&n.indent){if(a=n.indent,o<s){for(;++o<s;)a.push((p[o]||0)+1);a.push(i.column)}t=a.concat(t)}return e.position.indent=t||[],e}),u=T();return function(e){a.slice(0,e.length)!==e&&c.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),T())}(e),l.reset=d,d.test=m,l.test=m,a=a.slice(e.length),E(e),o=o(),l;function l(e,a){return s(function(e,a){var i=a?a.children:f,o=i[i.length-1];return o&&e.type===o.type&&("text"===e.type||"blockquote"===e.type)&&t(o)&&t(e)&&(e=("text"===e.type?n:r).call(c,o,e)),e!==o&&i.push(e),c.atStart&&0!==f.length&&c.exitStart(),e}(s(e),a),o)}function d(){var t=l.apply(null,arguments);return h=u.line,b=u.column,a=e+a,t}function m(){var t=s({});return h=u.line,b=u.column,a=e+a,t.position}}}}},3593:e=>{"use strict";e.exports=function(e,n){return function(r){for(var a,i=0,o=r.indexOf(t),s=e[n],u=[];-1!==o;)u.push(r.slice(i,o)),i=o+1,(a=r.charAt(i))&&-1!==s.indexOf(a)||u.push(t),o=r.indexOf(t,i+1);return u.push(r.slice(i)),u.join("")}};var t="\\"},74976:e=>{"use strict";e.exports=function(e){for(var i,o=0,s=0,u=e.charAt(o),l={},d=0;u===t||u===n;){for(s+=i=u===t?a:r,i>1&&(s=Math.floor(s/i)*i);d<s;)l[++d]=o;u=e.charAt(++o)}return{indent:s,stops:l}};var t="\t",n=" ",r=1,a=4},92405:(e,t)=>{"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.X=new RegExp("^(?:"+n+"|"+r+")"),t.T=new RegExp("^(?:"+n+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},34213:e=>{"use strict";e.exports=function(e,t,n,r){for(var a,i,o=e.length,s=-1;++s<o;)if((void 0===(i=(a=e[s])[1]||{}).pedantic||i.pedantic===n.options.pedantic)&&(void 0===i.commonmark||i.commonmark===n.options.commonmark)&&t[a[0]].apply(n,r))return!0;return!1}},58133:(e,t,n)=>{"use strict";var r=n(26415);e.exports=function(e){return r(e).toLowerCase()}},53782:(e,t,n)=>{"use strict";var r=n(40399),a=n(39946),i=n(74976);e.exports=function(e,t){var n,l,d,c=e.split(o),p=c.length+1,f=1/0,m=[];for(c.unshift(a(s,t)+u);p--;)if(l=i(c[p]),m[p]=l.stops,0!==r(c[p]).length){if(!l.indent){f=1/0;break}l.indent>0&&l.indent<f&&(f=l.indent)}if(f!==1/0)for(p=c.length;p--;){for(d=m[p],n=f;n&&!(n in d);)n--;c[p]=c[p].slice(d[n]+1)}return c.shift(),c.join(o)};var o="\n",s=" ",u="!"},4543:(e,t,n)=>{"use strict";var r=n(51816);e.exports=function(e,t){return e&&!e.process&&(t=e,e=null),e?function(e,t){return function(n,a,i){e.run(r(n,t),a,(function(e){i(e)}))}}(e,t):function(e){return function(t){return r(t,e)}}(t)}},15007:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Markdown:()=>V,defaultSanitizerOptions:()=>D,getProcessor:()=>z});var r=n(18991),a=n(81794),i=n(31730),o=n.n(i),s=n(31041),u=n(12155),l=n(6291),d=n(65243),c=n.n(d),p=n(37997),f=n.n(p),m=n(4543),g=n.n(m),h=n(70816),b=n.n(h),E=n(72546),T=n.n(E),A=n(70910),S=n.n(A),_=n(90710),y=n.n(_),C=n(2781),N=n.n(C),R=n(13526),I=n.n(R),k=n(40864),v=n(37067),O=n(33388);const D=JSON.parse('{"strip":["script"],"clobberPrefix":"user-content-","clobber":["name","id"],"ancestors":{"tbody":["table"],"tfoot":["table"],"thead":["table"],"td":["table"],"th":["table"],"tr":["table"]},"protocols":{"href":["http","https","mailto","xmpp","irc","ircs"],"cite":["http","https"],"src":["http","https"],"longDesc":["http","https"]},"tagNames":["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],"attributes":{"a":["href"],"img":["src","longDesc"],"input":[["type","checkbox"],["disabled",true]],"li":[["className","task-list-item"]],"div":["itemScope","itemType"],"blockquote":["cite"],"del":["cite"],"ins":["cite"],"q":["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},"required":{"input":{"type":"checkbox","disabled":true}}}'),w=(0,O.css)(L||(L=(0,r.__makeTemplateObject)(["\n\tcode[class*='language-'],\n\tpre[class*='language-'] {\n\t\tcolor: black;\n\t\tbackground: none;\n\t\ttext-shadow: 0 1px white;\n\t\tfont-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n\t\tfont-size: 1em;\n\t\ttext-align: left;\n\t\twhite-space: pre;\n\t\tword-spacing: normal;\n\t\tword-break: normal;\n\t\tword-wrap: normal;\n\t\tline-height: 1.5;\n\n\t\t-moz-tab-size: 4;\n\t\t-o-tab-size: 4;\n\t\ttab-size: 4;\n\n\t\t-webkit-hyphens: none;\n\t\t-moz-hyphens: none;\n\t\t-ms-hyphens: none;\n\t\thyphens: none;\n\t}\n\n\tpre[class*='language-']::-moz-selection,\n\tpre[class*='language-'] ::-moz-selection,\n\tcode[class*='language-']::-moz-selection,\n\tcode[class*='language-'] ::-moz-selection {\n\t\ttext-shadow: none;\n\t\tbackground: #b3d4fc;\n\t}\n\n\tpre[class*='language-']::selection,\n\tpre[class*='language-'] ::selection,\n\tcode[class*='language-']::selection,\n\tcode[class*='language-'] ::selection {\n\t\ttext-shadow: none;\n\t\tbackground: #b3d4fc;\n\t}\n\n\t@media print {\n\t\tcode[class*='language-'],\n\t\tpre[class*='language-'] {\n\t\t\ttext-shadow: none;\n\t\t}\n\t}\n\n\tpre[class*='language-'] {\n\t\tpadding: 1em;\n\t\tmargin: 0.5em 0;\n\t\toverflow: auto;\n\t}\n\n\t:not(pre) > code[class*='language-'],\n\tpre[class*='language-'] {\n\t\tbackground: #f5f2f0;\n\t}\n\n\t:not(pre) > code[class*='language-'] {\n\t\tpadding: 0.1em;\n\t\tborder-radius: 0.3em;\n\t\twhite-space: normal;\n\t}\n\n\t.token.comment,\n\t.token.prolog,\n\t.token.doctype,\n\t.token.cdata {\n\t\tcolor: slategray;\n\t}\n\n\t.token.punctuation {\n\t\tcolor: #999;\n\t}\n\n\t.token.namespace {\n\t\topacity: 0.7;\n\t}\n\n\t.token.property,\n\t.token.tag,\n\t.token.boolean,\n\t.token.number,\n\t.token.constant,\n\t.token.symbol,\n\t.token.deleted {\n\t\tcolor: #905;\n\t}\n\n\t.token.selector,\n\t.token.attr-name,\n\t.token.string,\n\t.token.char,\n\t.token.builtin,\n\t.token.inserted {\n\t\tcolor: #690;\n\t}\n\n\t.token.operator,\n\t.token.entity,\n\t.token.url,\n\t.language-css .token.string,\n\t.style .token.string {\n\t\tcolor: #9a6e3a;\n\n\t\tbackground: hsla(0, 0%, 100%, 0.5);\n\t}\n\n\t.token.atrule,\n\t.token.attr-value,\n\t.token.keyword {\n\t\tcolor: #07a;\n\t}\n\n\t.token.function,\n\t.token.class-name {\n\t\tcolor: #dd4a68;\n\t}\n\n\t.token.regex,\n\t.token.important,\n\t.token.variable {\n\t\tcolor: #e90;\n\t}\n\n\t.token.important,\n\t.token.bold {\n\t\tfont-weight: bold;\n\t}\n\t.token.italic {\n\t\tfont-style: italic;\n\t}\n\n\t.token.entity {\n\t\tcursor: help;\n\t}\n"],["\n\tcode[class*='language-'],\n\tpre[class*='language-'] {\n\t\tcolor: black;\n\t\tbackground: none;\n\t\ttext-shadow: 0 1px white;\n\t\tfont-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n\t\tfont-size: 1em;\n\t\ttext-align: left;\n\t\twhite-space: pre;\n\t\tword-spacing: normal;\n\t\tword-break: normal;\n\t\tword-wrap: normal;\n\t\tline-height: 1.5;\n\n\t\t-moz-tab-size: 4;\n\t\t-o-tab-size: 4;\n\t\ttab-size: 4;\n\n\t\t-webkit-hyphens: none;\n\t\t-moz-hyphens: none;\n\t\t-ms-hyphens: none;\n\t\thyphens: none;\n\t}\n\n\tpre[class*='language-']::-moz-selection,\n\tpre[class*='language-'] ::-moz-selection,\n\tcode[class*='language-']::-moz-selection,\n\tcode[class*='language-'] ::-moz-selection {\n\t\ttext-shadow: none;\n\t\tbackground: #b3d4fc;\n\t}\n\n\tpre[class*='language-']::selection,\n\tpre[class*='language-'] ::selection,\n\tcode[class*='language-']::selection,\n\tcode[class*='language-'] ::selection {\n\t\ttext-shadow: none;\n\t\tbackground: #b3d4fc;\n\t}\n\n\t@media print {\n\t\tcode[class*='language-'],\n\t\tpre[class*='language-'] {\n\t\t\ttext-shadow: none;\n\t\t}\n\t}\n\n\tpre[class*='language-'] {\n\t\tpadding: 1em;\n\t\tmargin: 0.5em 0;\n\t\toverflow: auto;\n\t}\n\n\t:not(pre) > code[class*='language-'],\n\tpre[class*='language-'] {\n\t\tbackground: #f5f2f0;\n\t}\n\n\t:not(pre) > code[class*='language-'] {\n\t\tpadding: 0.1em;\n\t\tborder-radius: 0.3em;\n\t\twhite-space: normal;\n\t}\n\n\t.token.comment,\n\t.token.prolog,\n\t.token.doctype,\n\t.token.cdata {\n\t\tcolor: slategray;\n\t}\n\n\t.token.punctuation {\n\t\tcolor: #999;\n\t}\n\n\t.token.namespace {\n\t\topacity: 0.7;\n\t}\n\n\t.token.property,\n\t.token.tag,\n\t.token.boolean,\n\t.token.number,\n\t.token.constant,\n\t.token.symbol,\n\t.token.deleted {\n\t\tcolor: #905;\n\t}\n\n\t.token.selector,\n\t.token.attr-name,\n\t.token.string,\n\t.token.char,\n\t.token.builtin,\n\t.token.inserted {\n\t\tcolor: #690;\n\t}\n\n\t.token.operator,\n\t.token.entity,\n\t.token.url,\n\t.language-css .token.string,\n\t.style .token.string {\n\t\tcolor: #9a6e3a;\n\n\t\tbackground: hsla(0, 0%, 100%, 0.5);\n\t}\n\n\t.token.atrule,\n\t.token.attr-value,\n\t.token.keyword {\n\t\tcolor: #07a;\n\t}\n\n\t.token.function,\n\t.token.class-name {\n\t\tcolor: #dd4a68;\n\t}\n\n\t.token.regex,\n\t.token.important,\n\t.token.variable {\n\t\tcolor: #e90;\n\t}\n\n\t.token.important,\n\t.token.bold {\n\t\tfont-weight: bold;\n\t}\n\t.token.italic {\n\t\tfont-style: italic;\n\t}\n\n\t.token.entity {\n\t\tcursor: help;\n\t}\n"])));var L,x,P=n(13975),F=n(53997),M=n.n(F),U=n(32710),B=n.n(U),G=function(e){return function(e){return"element"===e.type}(e)&&"code"===e.tagName},H=function(e){var t;if(null===(t=e.decorators)||void 0===t?void 0:t.length){var n=function(t,n){if(function(e){return"text"===e.type}(t)&&"string"==typeof t.value){var r=t.value,a=e.decorators.find((function(e){return e.match.test(r)}));if(a){if(!1!==a.ignoreCodeBlock&&n.some(G))return M().SKIP;var i=t;return i.type="element",i.tagName="span",i.children=function(e,t){t.match.lastIndex=0;for(var n=[],r=0;;){var a=B()(t.match,e);if(!a)break;var i=t.captureGroupIndex||0,o=a.indices[i],s=o[0],u=o[1],l=e.slice(s,u);if(n.push({type:"text",value:e.substring(r,s)},{type:"element",tagName:t.component,properties:t.properties,children:[{type:"text",value:l}]}),r=u,!t.match.global)break}return e.length>r&&n.push({type:"text",value:e.substring(r)}),t.match.lastIndex=0,n}(t.value,a),M().SKIP}}};return function(e){M()(e,n,!0)}}},$=(0,O.default)(s.Dy)(x||(x=(0,r.__makeTemplateObject)(["\n\t","\n\n\t* {\n\t\tbox-sizing: border-box;\n\t}\n\n\t& code {\n\t\tbackground-color: ",";\n\t\tpadding: 0.2em 0px;\n\t\tmargin: 0px;\n\t\tborder-radius: 3px;\n\t\tline-height: 1.2;\n\t}\n\n\t& p {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: ",";\n\t\t&:last-child {\n\t\t\tmargin-bottom: 0 !important;\n\t\t}\n\t}\n\n\t& pre {\n\t\tbackground-color: ",";\n\t}\n\n\t& pre > code {\n\t\tdisplay: block;\n\t\tbackground: none;\n\t\toverflow-y: auto;\n\t}\n\n\t& code,\n\tkbd,\n\tpre {\n\t\tfont-family: ",";\n\t}\n\n\t& kbd {\n\t\tdisplay: inline-block;\n\t\tpadding: 3px 5px;\n\t\tfont-size: 11px;\n\t\tline-height: 10px;\n\t\tcolor: ",";\n\t\tvertical-align: middle;\n\t\tbackground-color: ",";\n\t\tborder: solid 1px ",";\n\t\tborder-bottom-color: ",";\n\t\tborder-radius: 3px;\n\t\tbox-shadow: inset 0 -1px 0 ",";\n\t}\n\n\tdl {\n\t\tpadding: 0;\n\t}\n\n\tdl dt {\n\t\tpadding: 0;\n\t\tmargin-top: 16px;\n\t\tfont-size: 1em;\n\t\tfont-style: italic;\n\t\tfont-weight: ",";\n\t}\n\n\tdl dd {\n\t\tpadding: 0 16px;\n\t\tmargin-bottom: 16px;\n\t}\n\n\ttd,\n\tth {\n\t\tpadding: 0;\n\t}\n\n\ttable {\n\t\tborder-spacing: 0;\n\t\tborder-collapse: collapse;\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\toverflow: auto;\n\t}\n\n\ttable th {\n\t\tfont-weight: ",";\n\t}\n\n\ttable th,\n\ttable td {\n\t\tpadding: 6px 13px;\n\t\tborder: 1px solid ",";\n\t}\n\n\ttable tr {\n\t\tbackground-color: #fff;\n\t\tborder-top: 1px solid ",";\n\t}\n\n\ttable tr:nth-child(2n) {\n\t\tbackground-color: ",";\n\t}\n\n\tblockquote {\n\t\tmargin: 0;\n\t}\n\n\tblockquote,\n\tdl,\n\ttable {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 16px;\n\t}\n\n\tblockquote {\n\t\tpadding: 0 1em;\n\t\tcolor: ",";\n\t\tborder-left: 0.25em solid ",";\n\t}\n\n\tblockquote > :first-child {\n\t\tmargin-top: 0;\n\t}\n\n\tblockquote > :last-child {\n\t\tmargin-bottom: 0;\n\t}\n\n\t.heading-anchor-link span.icon {\n\t\tbackground-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAA/1BMVEUAAAAAAAAAgIAAVVVAQIAzZmYrVYAkSW0wUHAtS2kmTXMkVW0sTm8pUnAnTmwmTHEuUm0tU3EpU24oUXIpUW4oT3ErUW0qTm0rUHErUW8qT3EsUHArUXApT3EqUW4sUXApT28qUXApT3ApT28rUG8qUW8pUHAqUG8rT28qT28rUG4qUG4pUW8qUXAqUG4pUW8qUHAqUHAqUG4qUW8rUW8qUW4qUG8rUW8qUHAqUG8qUG4qUG8qUG8qUW8pUG8rUHAqUG8pUG8pUW8rUG8qUW8qUG8qUG8rUG8qUG8rUW8qUG8rUG8qUG8qUG8qUG8qUG8qUG8qUG8qUG8qUG////+bGS/DAAAAU3RSTlMAAQIDBAUGBxARFBUXGRobHCIlJiwtLzE2PD1AQkRPUl5iZGpsbnBzd3p9f4iLjY6SmZ2eoausrrC1u7y9vr/Aw8vR0tTW3d7j5Onq6+zx9fr7/UBGcCYAAAABYktHRFTkA4ilAAAArElEQVQYGa3BV1bCUABAwQuhh94kICoISgfphmZEpYm0/e+Fl5Ccw7/McAPxrC7OFXlyuhjLWCRtGkUXnWkSpvzGw4XnN4dp0Mbghk6f0msC4b2FLvAJjSHq/FAAqt8SwoeK/asMPOwV8K7rNkjvg1S2PoS3CaCsV2ryRYOegu5xh+B/rkWKP+DC8LTFFDsomEZdLI1lxo4gt/5CWBzN48mwuONK+D4rpJz81xnMWxXLF2A3LAAAAABJRU5ErkJggg==');\n\t\twidth: 20px;\n\t\tbackground-repeat: no-repeat;\n\t\theight: 20px;\n\t\tdisplay: inline-block;\n\t\ttransform-origin: 0px 0px;\n\t\tvisibility: hidden;\n\t}\n\t.heading-anchor-link {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\ttransform: translateX(-100%);\n\t\twidth: 20px;\n\t\theight: 20px;\n\t\tpadding-right: 4px;\n\t}\n\n\th1:hover .heading-anchor-link span.icon,\n\th2:hover .heading-anchor-link span.icon,\n\th3:hover .heading-anchor-link span.icon,\n\th4:hover .heading-anchor-link span.icon,\n\th5:hover .heading-anchor-link span.icon,\n\th6:hover .heading-anchor-link span.icon {\n\t\tvisibility: visible;\n\t}\n\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6 {\n\t\tposition: relative;\n\t}\n"],["\n\t","\n\n\t* {\n\t\tbox-sizing: border-box;\n\t}\n\n\t& code {\n\t\tbackground-color: ",";\n\t\tpadding: 0.2em 0px;\n\t\tmargin: 0px;\n\t\tborder-radius: 3px;\n\t\tline-height: 1.2;\n\t}\n\n\t& p {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: ",";\n\t\t&:last-child {\n\t\t\tmargin-bottom: 0 !important;\n\t\t}\n\t}\n\n\t& pre {\n\t\tbackground-color: ",";\n\t}\n\n\t& pre > code {\n\t\tdisplay: block;\n\t\tbackground: none;\n\t\toverflow-y: auto;\n\t}\n\n\t& code,\n\tkbd,\n\tpre {\n\t\tfont-family: ",";\n\t}\n\n\t& kbd {\n\t\tdisplay: inline-block;\n\t\tpadding: 3px 5px;\n\t\tfont-size: 11px;\n\t\tline-height: 10px;\n\t\tcolor: ",";\n\t\tvertical-align: middle;\n\t\tbackground-color: ",";\n\t\tborder: solid 1px ",";\n\t\tborder-bottom-color: ",";\n\t\tborder-radius: 3px;\n\t\tbox-shadow: inset 0 -1px 0 ",";\n\t}\n\n\tdl {\n\t\tpadding: 0;\n\t}\n\n\tdl dt {\n\t\tpadding: 0;\n\t\tmargin-top: 16px;\n\t\tfont-size: 1em;\n\t\tfont-style: italic;\n\t\tfont-weight: ",";\n\t}\n\n\tdl dd {\n\t\tpadding: 0 16px;\n\t\tmargin-bottom: 16px;\n\t}\n\n\ttd,\n\tth {\n\t\tpadding: 0;\n\t}\n\n\ttable {\n\t\tborder-spacing: 0;\n\t\tborder-collapse: collapse;\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\toverflow: auto;\n\t}\n\n\ttable th {\n\t\tfont-weight: ",";\n\t}\n\n\ttable th,\n\ttable td {\n\t\tpadding: 6px 13px;\n\t\tborder: 1px solid ",";\n\t}\n\n\ttable tr {\n\t\tbackground-color: #fff;\n\t\tborder-top: 1px solid ",";\n\t}\n\n\ttable tr:nth-child(2n) {\n\t\tbackground-color: ",";\n\t}\n\n\tblockquote {\n\t\tmargin: 0;\n\t}\n\n\tblockquote,\n\tdl,\n\ttable {\n\t\tmargin-top: 0;\n\t\tmargin-bottom: 16px;\n\t}\n\n\tblockquote {\n\t\tpadding: 0 1em;\n\t\tcolor: ",";\n\t\tborder-left: 0.25em solid ",";\n\t}\n\n\tblockquote > :first-child {\n\t\tmargin-top: 0;\n\t}\n\n\tblockquote > :last-child {\n\t\tmargin-bottom: 0;\n\t}\n\n\t.heading-anchor-link span.icon {\n\t\tbackground-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAA/1BMVEUAAAAAAAAAgIAAVVVAQIAzZmYrVYAkSW0wUHAtS2kmTXMkVW0sTm8pUnAnTmwmTHEuUm0tU3EpU24oUXIpUW4oT3ErUW0qTm0rUHErUW8qT3EsUHArUXApT3EqUW4sUXApT28qUXApT3ApT28rUG8qUW8pUHAqUG8rT28qT28rUG4qUG4pUW8qUXAqUG4pUW8qUHAqUHAqUG4qUW8rUW8qUW4qUG8rUW8qUHAqUG8qUG4qUG8qUG8qUW8pUG8rUHAqUG8pUG8pUW8rUG8qUW8qUG8qUG8rUG8qUG8rUW8qUG8rUG8qUG8qUG8qUG8qUG8qUG8qUG8qUG8qUG////+bGS/DAAAAU3RSTlMAAQIDBAUGBxARFBUXGRobHCIlJiwtLzE2PD1AQkRPUl5iZGpsbnBzd3p9f4iLjY6SmZ2eoausrrC1u7y9vr/Aw8vR0tTW3d7j5Onq6+zx9fr7/UBGcCYAAAABYktHRFTkA4ilAAAArElEQVQYGa3BV1bCUABAwQuhh94kICoISgfphmZEpYm0/e+Fl5Ccw7/McAPxrC7OFXlyuhjLWCRtGkUXnWkSpvzGw4XnN4dp0Mbghk6f0msC4b2FLvAJjSHq/FAAqt8SwoeK/asMPOwV8K7rNkjvg1S2PoS3CaCsV2ryRYOegu5xh+B/rkWKP+DC8LTFFDsomEZdLI1lxo4gt/5CWBzN48mwuONK+D4rpJz81xnMWxXLF2A3LAAAAABJRU5ErkJggg==');\n\t\twidth: 20px;\n\t\tbackground-repeat: no-repeat;\n\t\theight: 20px;\n\t\tdisplay: inline-block;\n\t\ttransform-origin: 0px 0px;\n\t\tvisibility: hidden;\n\t}\n\t.heading-anchor-link {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\ttransform: translateX(-100%);\n\t\twidth: 20px;\n\t\theight: 20px;\n\t\tpadding-right: 4px;\n\t}\n\n\th1:hover .heading-anchor-link span.icon,\n\th2:hover .heading-anchor-link span.icon,\n\th3:hover .heading-anchor-link span.icon,\n\th4:hover .heading-anchor-link span.icon,\n\th5:hover .heading-anchor-link span.icon,\n\th6:hover .heading-anchor-link span.icon {\n\t\tvisibility: visible;\n\t}\n\n\th1,\n\th2,\n\th3,\n\th4,\n\th5,\n\th6 {\n\t\tposition: relative;\n\t}\n"])),w,(function(e){return e.theme.colors.gray.light}),(function(e){return(0,v.px)(e.theme.space[2])}),(function(e){return e.theme.colors.gray.light}),(function(e){return e.theme.monospace}),(function(e){return e.theme.colors.text.main}),(function(e){return(0,P.a)(e.theme.colors.gray.light)}),(function(e){return e.theme.colors.gray.main}),(function(e){return(0,P.e$)(e.theme.colors.gray.main,.1)}),(function(e){return(0,P.e$)(e.theme.colors.gray.main,.1)}),(function(e){return e.theme.weights[1]}),(function(e){return e.theme.weights[1]}),(function(e){return e.theme.colors.gray.main}),(function(e){return e.theme.colors.gray.light}),(function(e){return e.theme.colors.gray.light}),(function(e){return e.theme.colors.text.main}),(function(e){return e.theme.colors.gray.main})),z=function(e,t,n,i,d,p){var m=c()().use(f(),{gfm:!0}).use(o()).use(g(),{allowDangerousHtml:!n});return i||(m=m.use(I(),{ignoreMissing:!0})),d||(m=m.use(y()).use(S(),{properties:{className:"heading-anchor-link"}})),n||(m=m.use(N())),null!==t&&(m=m.use(T(),null!=t?t:(0,r.__assign)((0,r.__assign)({},D),{attributes:(0,r.__assign)((0,r.__assign)({},D.attributes),{"*":(0,r.__spreadArray)((0,r.__spreadArray)([],D.attributes["*"],!0),["class","className"],!1)})}))),m.use(b(),{createElement:a.createElement,components:(0,r.__assign)({p:function(e){return a.createElement(s.Dy.p,(0,r.__assign)({},e))},a:function(e){return a.createElement(l.N,(0,r.__assign)({},e))},h1:function(e){return a.createElement(u.D.h1,(0,r.__assign)({},e))},h2:function(e){return a.createElement(u.D.h2,(0,r.__assign)({},e))},h3:function(e){return a.createElement(u.D.h3,(0,r.__assign)({},e))},h4:function(e){return a.createElement(u.D.h4,(0,r.__assign)({},e))},h5:function(e){return a.createElement(u.D.h5,(0,r.__assign)({},e))},h6:function(e){return a.createElement(u.D.h6,(0,r.__assign)({},e))},hr:function(e){return a.createElement(k.c,(0,r.__assign)({},e))}},e)}),m.use(H,{decorators:p})},V=function(e){var t=e.children,n=e.componentOverrides,i=e.sanitizerOptions,o=e.disableRawHtml,s=e.disableCodeHighlight,u=e.decorators,l=e.disableAutoHeadingLinking,d=(0,r.__rest)(e,["children","componentOverrides","sanitizerOptions","disableRawHtml","disableCodeHighlight","decorators","disableAutoHeadingLinking"]),c=(0,O.useTheme)(),p=a.useMemo((function(){return z(n,i,o,s,l,u).processSync(t).result}),[n,i,o,s,u,t,l]);return a.createElement($,(0,r.__assign)({theme:c},d),p)}},39946:e=>{"use strict";var t,n="";e.exports=function(e,r){if("string"!=typeof e)throw new TypeError("expected a string");if(1===r)return e;if(2===r)return e+e;var a=e.length*r;if(t!==e||void 0===t)t=e,n="";else if(n.length>=a)return n.substr(0,a);for(;a>n.length&&r>1;)1&r&&(n+=e),r>>=1,e+=e;return n=(n+=e).substr(0,a)}},11014:(e,t)=>{"use strict";t.parse=function(e){var t=String(e||n).trim();return t===n?[]:t.split(a)},t.stringify=function(e){return e.join(r).trim()};var n="",r=" ",a=/[ \t\n\r\f]+/g},60267:e=>{"use strict";e.exports=function(e,t,n){return function(){var r=n||this,a=r[e];return r[e]=!t,function(){r[e]=a}}}},97858:(e,t,n)=>{var r=n(53922);e.exports=function(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var i,o,s=r(e),u="function"==typeof t,l=0,d=s.length;l<d;l++)i=(n=s[l]).property,o=n.value,u?t(i,o,n):o&&(a||(a={}),a[i]=o);return a}},54276:e=>{"use strict";e.exports=function(e){return String(e).replace(/\n+$/,"")}},40399:(e,t)=>{(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},8362:(e,t,n)=>{"use strict";var r=n(3752);e.exports=i,i.wrap=r;var a=[].slice;function i(){var e=[],t={run:function(){var t=-1,n=a.call(arguments,0,-1),i=arguments[arguments.length-1];if("function"!=typeof i)throw new Error("Expected function as last argument, not "+i);(function o(s){var u=e[++t],l=a.call(arguments,0).slice(1),d=n.length,c=-1;if(s)i(s);else{for(;++c<d;)null!==l[c]&&void 0!==l[c]||(l[c]=n[c]);n=l,u?r(u,o).apply(null,n):i.apply(null,[null].concat(n))}}).apply(null,[null].concat(n))},use:function(n){if("function"!=typeof n)throw new Error("Expected `fn` to be a function, not "+n);return e.push(n),t}};return t}},3752:e=>{"use strict";var t=[].slice;e.exports=function(e,n){var r;return function(){var n,o=t.call(arguments,0),s=e.length>o.length;s&&o.push(a);try{n=e.apply(null,o)}catch(e){if(s&&r)throw e;return a(e)}s||(n&&"function"==typeof n.then?n.then(i,a):n instanceof Error?a(n):i(n))};function a(){r||(r=!0,n.apply(null,arguments))}function i(e){a(null,e)}}},71218:(e,t,n)=>{"use strict";var r=n(35592),a=n(97832);e.exports=function(e){var t,n,i;for(n in a(s,e),a(o,s),t=s.prototype)(i=t[n])&&"object"==typeof i&&(t[n]="concat"in i?i.concat():r(i));return s;function o(t){return e.apply(this,t)}function s(){return this instanceof s?e.apply(this,arguments):new o(arguments)}}},65243:(e,t,n)=>{"use strict";var r=n(5727),a=n(63672),i=n(96599),o=n(99734),s=n(8362),u=n(87369);e.exports=function e(){var t,n=[],a=s(),E={},T=-1;return A.data=function(e,n){return"string"==typeof e?2===arguments.length?(g("data",t),E[e]=n,A):d.call(E,e)&&E[e]||null:e?(g("data",t),E=e,A):E},A.freeze=S,A.attachers=n,A.use=function(e){var r;if(g("use",t),null==e);else if("function"==typeof e)d.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?u(e):a(e)}return r&&(E.settings=i(E.settings||{},r)),A;function a(e){u(e.plugins),e.settings&&(r=i(r||{},e.settings))}function s(e){if("function"==typeof e)d(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?d.apply(null,e):a(e)}}function u(e){var t=-1;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)s(e[t])}}function d(e,t){var r=function(e){for(var t=-1;++t<n.length;)if(n[t][0]===e)return n[t]}(e);r?(o(r[1])&&o(t)&&(t=i(!0,r[1],t)),r[1]=t):n.push(l.call(arguments))}},A.parse=function(e){var t,n=u(e);return S(),f("parse",t=A.Parser),p(t,"parse")?new t(String(n),n).parse():t(String(n),n)},A.stringify=function(e,t){var n,r=u(t);return S(),m("stringify",n=A.Compiler),h(e),p(n,"compile")?new n(e,r).compile():n(e,r)},A.run=_,A.runSync=function(e,t){var n,a;return _(e,t,(function(e,t){a=!0,n=t,r(e)})),b("runSync","run",a),n},A.process=y,A.processSync=function(e){var t,n;return S(),f("processSync",A.Parser),m("processSync",A.Compiler),y(t=u(e),(function(e){n=!0,r(e)})),b("processSync","process",n),t},A;function A(){for(var t=e(),r=-1;++r<n.length;)t.use.apply(null,n[r]);return t.data(i(!0,{},E)),t}function S(){var e,r;if(t)return A;for(;++T<n.length;)!1!==(e=n[T])[1]&&(!0===e[1]&&(e[1]=void 0),"function"==typeof(r=e[0].apply(A,e.slice(1)))&&a.use(r));return t=!0,T=1/0,A}function _(e,t,n){if(h(e),S(),n||"function"!=typeof t||(n=t,t=null),!n)return new Promise(r);function r(r,i){a.run(e,u(t),(function(t,a,o){a=a||e,t?i(t):r?r(a):n(null,a,o)}))}r(null,n)}function y(e,t){if(S(),f("process",A.Parser),m("process",A.Compiler),!t)return new Promise(n);function n(n,r){var a=u(e);c.run(A,{file:a},(function(e){e?r(e):n?n(a):t(null,a)}))}n(null,t)}}().freeze();var l=[].slice,d={}.hasOwnProperty,c=s().use((function(e,t){t.tree=e.parse(t.file)})).use((function(e,t,n){e.run(t.tree,t.file,(function(e,r,a){e?n(e):(t.tree=r,t.file=a,n())}))})).use((function(e,t){var n=e.stringify(t.tree,t.file);null==n||("string"==typeof n||a(n)?("value"in t.file&&(t.file.value=n),t.file.contents=n):t.file.result=n)}));function p(e,t){return"function"==typeof e&&e.prototype&&(function(e){var t;for(t in e)return!0;return!1}(e.prototype)||t in e.prototype)}function f(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function m(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function g(e,t){if(t)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function h(e){if(!e||"string"!=typeof e.type)throw new Error("Expected node, got `"+e+"`")}function b(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}},17130:e=>{"use strict";e.exports=function(e,t,n){var r;return null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={}),r=Object.assign({type:String(e)},t),Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r}},30399:e=>{"use strict";e.exports=function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}},40033:e=>{"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return function(t){return Boolean(t&&t.type===e)}}(n);if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r<t.length;)n[r]=e(t[r]);return function(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(n):function(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(n);if("function"==typeof n)return n;throw new Error("Expected function, string, or object as test")}},79885:e=>{"use strict";var t=a("start"),n=a("end");function r(e){return{start:t(e),end:n(e)}}function a(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}e.exports=r,r.start=t,r.end=n},19906:(e,t,n)=>{"use strict";var r=n(24905);function a(e){delete e.position}function i(e){e.position=void 0}e.exports=function(e,t){return r(e,t?a:i),e}},38677:e=>{"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"==typeof e||(e={}),a(e.line)+":"+a(e.column)}function r(e){return e&&"object"==typeof e||(e={}),n(e.start)+"-"+n(e.end)}function a(e){return e&&"number"==typeof e?e:1}e.exports=function(e){return e&&"object"==typeof e?t.call(e,"position")||t.call(e,"type")?r(e.position):t.call(e,"start")||t.call(e,"end")?r(e):t.call(e,"line")||t.call(e,"column")?n(e):"":""}},35932:e=>{e.exports=function(e){return e}},53997:(e,t,n)=>{"use strict";e.exports=u;var r=n(40033),a=n(35932),i=!0,o="skip",s=!1;function u(e,t,n,u){var l,d;"function"==typeof t&&"function"!=typeof n&&(u=n,n=t,t=null),d=r(t),l=u?-1:1,function e(r,c,p){var f,m="object"==typeof r&&null!==r?r:{};return"string"==typeof m.type&&(f="string"==typeof m.tagName?m.tagName:"string"==typeof m.name?m.name:void 0,g.displayName="node ("+a(m.type+(f?"<"+f+">":""))+")"),g;function g(){var a,f,m=p.concat(r),g=[];if((!t||d(r,c,p[p.length-1]||null))&&(g=function(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[i,e]:[e]}(n(r,p)),g[0]===s))return g;if(r.children&&g[0]!==o)for(f=(u?r.children.length:-1)+l;f>-1&&f<r.children.length;){if((a=e(r.children[f],f,m)())[0]===s)return a;f="number"==typeof a[1]?a[1]:f+l}return g}}(e,null,[])()}u.CONTINUE=i,u.SKIP=o,u.EXIT=s},24905:(e,t,n)=>{"use strict";e.exports=s;var r=n(53997),a=r.CONTINUE,i=r.SKIP,o=r.EXIT;function s(e,t,n,a){"function"==typeof t&&"function"!=typeof n&&(a=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],a=r?r.children.indexOf(e):null;return n(e,a,r)}),a)}s.CONTINUE=a,s.SKIP=i,s.EXIT=o},92087:e=>{"use strict";e.exports=function(e){for(var t=String(e),n=[],r=/\r?\n|\r/g;r.exec(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:a,toPosition:a,toOffset:function(e){var t,r=e&&e.line,a=e&&e.column;return isNaN(r)||isNaN(a)||!(r-1 in n)||(t=(n[r-2]||0)+a-1||0),t>-1&&t<n[n.length-1]?t:-1}};function a(e){var t=-1;if(e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(n[t-1]||0)+1,offset:e};return{}}}},50439:(e,t,n)=>{"use strict";var r=n(38677);function a(){}e.exports=o,a.prototype=Error.prototype,o.prototype=new a;var i=o.prototype;function o(e,t,n){var a,i,o;"string"==typeof t&&(n=t,t=null),a=function(e){var t,n=[null,null];return"string"==typeof e&&(-1===(t=e.indexOf(":"))?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1))),n}(n),i=r(t)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(o=t,t=t.start):o.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=o,this.source=a[0],this.ruleId=a[1]}i.file="",i.name="",i.reason="",i.message="",i.stack="",i.fatal=null,i.column=null,i.line=null},87369:(e,t,n)=>{"use strict";e.exports=n(81809)},1702:(e,t,n)=>{"use strict";var r=n(30024),a=n(57787),i=n(63672);e.exports=u;var o={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function u(e){var t,n;if(e){if("string"==typeof e||i(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof u))return new u(e);for(this.data={},this.messages=[],this.history=[],this.cwd=a.cwd(),n=-1;++n<s.length;)t=s[n],o.call(e,t)&&(this[t]=e[t]);for(t in e)s.indexOf(t)<0&&(this[t]=e[t])}function l(e,t){if(e&&e.indexOf(r.sep)>-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function d(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function c(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}u.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(u.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){d(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(u.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){c(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(u.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){d(e,"basename"),l(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(u.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(l(e,"extname"),c(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(u.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){d(e,"stem"),l(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},81809:(e,t,n)=>{"use strict";var r=n(50439),a=n(1702);e.exports=a,a.prototype.message=function(e,t,n){var a=new r(e,t,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a},a.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},a.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},30024:(e,t)=>{"use strict";function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var r,a,i,o,s=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(n(e),r=e.length,void 0===t||!t.length||t.length>e.length){for(;r--;)if(47===e.charCodeAt(r)){if(i){s=r+1;break}}else u<0&&(i=!0,u=r+1);return u<0?"":e.slice(s,u)}if(t===e)return"";for(a=-1,o=t.length-1;r--;)if(47===e.charCodeAt(r)){if(i){s=r+1;break}}else a<0&&(i=!0,a=r+1),o>-1&&(e.charCodeAt(r)===t.charCodeAt(o--)?o<0&&(u=r):(o=-1,u=a));return s===u?u=a:u<0&&(u=e.length),e.slice(s,u)},t.dirname=function(e){var t,r,a;if(n(e),!e.length)return".";for(t=-1,a=e.length;--a;)if(47===e.charCodeAt(a)){if(r){t=a;break}}else r||(r=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,r,a,i=-1,o=0,s=-1,u=0;for(n(e),a=e.length;a--;)if(47!==(r=e.charCodeAt(a)))s<0&&(t=!0,s=a+1),46===r?i<0?i=a:1!==u&&(u=1):i>-1&&(u=-1);else if(t){o=a+1;break}return i<0||s<0||0===u||1===u&&i===s-1&&i===o+1?"":e.slice(i,s)},t.join=function(){for(var e,t,r,a,i=-1;++i<arguments.length;)n(arguments[i]),arguments[i]&&(e=void 0===e?arguments[i]:e+"/"+arguments[i]);return void 0===e?".":(n(t=e),r=47===t.charCodeAt(0),a=function(e,t){for(var n,r,a="",i=0,o=-1,s=0,u=-1;++u<=e.length;){if(u<e.length)n=e.charCodeAt(u);else{if(47===n)break;n=47}if(47===n){if(o===u-1||1===s);else if(o!==u-1&&2===s){if(a.length<2||2!==i||46!==a.charCodeAt(a.length-1)||46!==a.charCodeAt(a.length-2))if(a.length>2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",i=0):i=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),o=u,s=0;continue}}else if(a.length){a="",i=0,o=u,s=0;continue}t&&(a=a.length?a+"/..":"..",i=2)}else a.length?a+="/"+e.slice(o+1,u):a=e.slice(o+1,u),i=u-o-1;o=u,s=0}else 46===n&&s>-1?s++:s=-1}return a}(t,!r),a.length||r||(a="."),a.length&&47===t.charCodeAt(t.length-1)&&(a+="/"),r?"/"+a:a)},t.sep="/"},57787:(e,t)=>{"use strict";t.cwd=function(){return"/"}},35592:e=>{e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var a in r)t.call(r,a)&&(e[a]=r[a])}return e};var t=Object.prototype.hasOwnProperty},118:e=>{"use strict";e.exports=function(e,r){var a=r||{};function i(r){var a=i.invalid,o=i.handlers;return r&&n.call(r,e)&&(a=n.call(o,r[e])?o[r[e]]:i.unknown),(a||t).apply(this,arguments)}return i.handlers=a.handlers||{},i.invalid=a.invalid,i.unknown=a.unknown,i};var t=Function.prototype,n={}.hasOwnProperty},82719:e=>{"use strict";e.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},21257:e=>{"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},70447:e=>{"use strict";e.exports=JSON.parse('["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]')},80078:e=>{"use strict";e.exports=JSON.parse('["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]')},60308:e=>{"use strict";e.exports=JSON.parse('{"classId":"classID","dataType":"datatype","itemId":"itemID","strokeDashArray":"strokeDasharray","strokeDashOffset":"strokeDashoffset","strokeLineCap":"strokeLinecap","strokeLineJoin":"strokeLinejoin","strokeMiterLimit":"strokeMiterlimit","typeOf":"typeof","xLinkActuate":"xlinkActuate","xLinkArcRole":"xlinkArcrole","xLinkHref":"xlinkHref","xLinkRole":"xlinkRole","xLinkShow":"xlinkShow","xLinkTitle":"xlinkTitle","xLinkType":"xlinkType","xmlnsXLink":"xmlnsXlink"}')},49781:e=>{"use strict";e.exports=JSON.parse('{"strip":["script"],"clobberPrefix":"user-content-","clobber":["name","id"],"ancestors":{"tbody":["table"],"tfoot":["table"],"thead":["table"],"td":["table"],"th":["table"],"tr":["table"]},"protocols":{"href":["http","https","mailto","xmpp","irc","ircs"],"cite":["http","https"],"src":["http","https"],"longDesc":["http","https"]},"tagNames":["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],"attributes":{"a":["href"],"img":["src","longDesc"],"input":[["type","checkbox"],["disabled",true]],"li":[["className","task-list-item"]],"div":["itemScope","itemType"],"blockquote":["cite"],"del":["cite"],"ins":["cite"],"q":["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},"required":{"input":{"type":"checkbox","disabled":true}}}')},10784:e=>{"use strict";e.exports=JSON.parse('{"html":"http://www.w3.org/1999/xhtml","mathml":"http://www.w3.org/1998/Math/MathML","svg":"http://www.w3.org/2000/svg","xlink":"http://www.w3.org/1999/xlink","xml":"http://www.w3.org/XML/1998/namespace","xmlns":"http://www.w3.org/2000/xmlns/"}')}}]);
//# sourceMappingURL=index.js.map/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */

/*!
 * repeat-string <https://github.com/jonschlinkert/repeat-string>
 *
 * Copyright (c) 2014-2015, Jon Schlinkert.
 * Licensed under the MIT License.
 */

/*!
Copyright 2019 Ron Buckton

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

/**
 * Prism: Lightweight, robust, elegant syntax highlighting
 *
 * @license MIT <https://opensource.org/licenses/MIT>
 * @author Lea Verou <https://lea.verou.me>
 * @namespace
 * @public
 */
       GDEFh6l \  GPOS6O   GSUBr   4bOS/2]פ g   `cmaph~ gd  2cvt "    *fpgmY7 <  sgasp  T   glyffCV   *&head I   6hhea
* f   $hmtx6b	, I@  loca +d  maxp	z +D    name 4  LpostW;m   Hprepc    V  Y  5  	    q   EX /  >Y  EX  /   >Y      9    9       9    9    9    9013!%!/#73?#7'YI4661BByX~l:gg^ww2     	  T   EX /  >Y  EX /  >Y  EX /  >Y   9 /     9013'.'#3#'#  ^Y>?odd7m99mZp  Z  $   % W   EX /  >Y  EX  /   >Y $   9 $/  $ 9         01332#32654&+32654&+Z2S;!1/<J$B\7~aTJMMerU^\Wr&=+1OND0H0y:290?B=9  4 ! 9   EX 
/ 
 >Y  EX  /   >Y 
      01".54>32.#"3267R>hM+,Nj?<[-B*/L64K/0H .'b.WPO~X/1 6"%Eb=>cF&'#4-2  Z  4 
  5   EX /  >Y  EX  /   >Y     01332#'32654&+Z(NrJUKssssKN{U-D}}  Z    M   EX /  >Y  EX  /   >Y       9 /     	 013!!3#!Zz1FGG  Z   	 C   EX /  >Y  EX  /   >Y       9 /  013!!3#ZzFF  4& ' M   EX 
/ 
 >Y  EX  /   >Y 
       " 
  9 "/ $ 01".54>32.#"32675#53\AmN,-PoA"9/%.B22P87Q5#? h.WPO~X/6$%Eb=>cF&E!+  Z  2  I   EX /  >Y  EX  /   >Y 
   9 
/    и   0133!3#!ZS1TTp5  Z     %   EX /  >Y  EX  /   >Y0133ZSp    +   EX 
/ 
 >Y  EX  /   >Y  01"'732653{:<8#54T+Ei*'#AK1*K8   Z  ?  e   EX /  >Y  EX /  >Y  EX  /   >Y  EX 	/ 	 >Y    9   	9 
  	9013333#ZS^]qIjU  Z    +   EX /  >Y  EX  /   >Y  0133!ZSG  Z  }  ]   EX /  >Y  EX  /   >Y   9   9  и   к    9    901333>73#467##'#Zd~|eN4|7|4"E""E"^pi,j,T,j,  Z  -  [   EX /  >Y  EX 	/ 	 >Y  EX  /   >Y  EX /  >Y   	9    901333.53#'#ZVGOVGd2k4Sp2g4  4e  ' 5   EX 
/ 
 >Y  EX  /   >Y   
  01".54>32'2>54.#"L>gJ))Jg>>gK))Kg>,G33G,,G33G0YOO}W./W}NOY0I&Gc>=bD%%Db=>cG&  Z     C   EX /  >Y  EX  /   >Y    9 /     01332+32654&+Z7[@$#@Y6lbVSWV^-J64L2HAFG7  4[s  6 K   EX #/ # >Y  EX /  >Y 0   +     # 
   -01%2>54.#"".'.54>323267L,G33G,,G33G-M=-6X?")Jg>>gK)!=V4T6!29&He?=bD%%Db=?eH&*9"6XwHO}W./W}NGuW7	,+@	  Z      \   EX /  >Y  EX /  >Y  EX /  >Y   9 / 
  9 ܸ   01332##32654&+Z2U="PD^wnMRRMn,F3M\Y?@A4  * 3 I   EX /  >Y  EX  /   >Y      9  !  )   901"&'732654./.54>32.#"Ev+2#_3AH(^0&7K-;d#-I.7C &]2$:R4-:%-;0#)
(7$%@/-$6!3-!()7$'D3      3   EX /  >Y  EX  /   >Y    013#5!#JFF  W.  3   EX /  >Y  EX  /   >Y    01".5332>53C2W?$S)8 !8*P$?VClO};P00P;OlC       @   EX /  >Y  EX /  >Y  EX  /   >Y    901333>73YiiU;d::d;bp     ! v   EX /  >Y  EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y    9   9    901333>733>73#.'#VE		[L[	
EPdc	a6h66i5e4j66i5ep&I&&I&u      [   EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y    9   901333>?3#'.'#\YWX\`_S=++33     @   EX /  >Y  EX /  >Y  EX  /   >Y    9013533>?3YU"TW$F%%F$n  -   	 E   EX /  >Y  EX 	/ 	 >Y   и /    и /0135!5!!-Y]2F1G  4  ' q   EX /  	>Y  EX  /   >Y    9 /      и /    9           01"&54674.#"'>32#'#'2675=Q	'*J "b;YPD#P#>#=S32HBPU," 9)m[:)B! '*$  R  & z   EX /  	>Y  EX /  >Y  EX  /   >Y    9 и / 
   9      !  
 #   $ 01"&'##3>32'2>54.#")"I BR!N)/H1":L83%1";G ?!2X'#A[8>bD#E1H-(B/B  . ! 9   EX 
/ 
 	>Y  EX  /   >Y 
      01".54>32.#"32670T=#&@U/0D*/!8('8!"9$!P"A_<=_B""62E**D17!  /  # z   EX /  	>Y  EX /  >Y  EX  /   >Y    9 и /    9             01"&54>32'53#'#'2675.#"\m#:L**> SDK"<93&Fz;_B$S89)E!"1D*Xb  .  % Q   EX 
/ 
 	>Y  EX  /   >Y  
  9 /        
 ! 01".54>32!3267!4&#"1U?$%=N*.I1WF#; N?9/&#A^<<_B# <T4	N[6&JM'8    ?  V   EX /  	>Y  EX /  >Y  EX /  >Y    и  и   013#5754632&#"3#`BBEI)Dgg>MKV	?^MC]  -  7 G Y    EX /  	>Y  EX  /   >Y /   9 // P  	 / P9 &   9 &/ 8   8 &9  и /    @    H 01".54675.54675.54>323##"&';22>54&#"2>54&+"&'-J5&!"'2C%#d0A%&$2^UU"@[9%<++<%!#9(20T!K"0 8'.C,(@-?4'?+	7="=.+6;;6+$"*'.  R    X   EX /  	>Y  EX /  >Y  EX  /   >Y    9 и      0133>32#4&#"RR#L3MGR,0&:%d!/`^)E=&%  C      5   EX /  	>Y  EX  /   >Y  и / 
0133"&54632RR(!!!!J '    ;   EX /  	>Y  EX  /   >Y    и / 01"&'732653"&54632 $	$R<!!!!>2-JX#  R    e   EX /  	>Y  EX /  >Y  EX  /   >Y  EX 	/ 	 >Y    9   	9 
  	9013333#'RQ[Z[ j  R   +   EX /  >Y  EX  /   >Y 	 01"&533:7/(R	86f>  R   !    EX /  	>Y  EX  /   >Y    9  и / 
   9 и /   и / и /    
         01333>32>32#4&#"#4&#"RD K,8?&M-KIR,.7CR,/7CF#/1,*3`^)E=K)E=K  R    [   EX /  	>Y  EX  /   >Y    9  и /   и /      01333>32#4&#"RD#M3MGR,0&:%F#/`^)E=&%  .  ' 5   EX 
/ 
 	>Y  EX  /   >Y   
  01".54>32'2>54.#"-Q>%%>Q--Q>%%>Q-4%%44%%4"A_<=_B""B_=<_A"D1D**E22E**D1  R3  ' ~   EX /  	>Y  EX /  >Y  EX  /   >Y  и /   9   9     !   $   % 0133>32#"&'2>54.#"RD!O+/H0":L*"C"w3%1"?$!>8(#A[9>aD#U1H-(B/"   /3  # ~   EX /  	>Y  EX /  >Y  EX  /   >Y   9   9  и /            0157#"&54>323732675.#"K*\m#:L**@!B"<93&FͭX'z;_B$.M!"1D*Xb  R  ^  I   EX /  	>Y  EX  /   >Y    9  и / ܸ   01333>32.#"RDG*CX.6
H2>   1 I   EX /  	>Y  EX  /   >Y      9     (   901"&'732654.'.54>32.#"4^#) C,00(4)+>'.M'6 .+'5*-C&7 , 	!,3% 4*
!0"4(  En  O | /  EX 	/ 	 	>Y  EX  /   >Y 	   	 и  и    01".5#5?33#3267'5!HL
E!*/*<$>C-1>  K  S   EX /  	>Y  EX  /   >Y 	     9     и   и /01"&5332673#'#NGS+0&:#RD"K`^4E='+YL(0      @   EX /  	>Y  EX /  	>Y  EX  /   >Y    901333>73U\\Q$H##H$     ! [   EX /  	>Y  EX  /   >Y    9  и   и  к   9   !901333>733>73#.'#TH	KPL	GNdF		
D#B""C"#B""B##D%%E#      I   EX /  	>Y  EX  /   >Y  и   к   9    90137'33>?3#'.'#YA;VYGBk))kq,+q  /  G   EX /  	>Y  EX  /   >Y      9    9  01"&'7326?33>73Z	*5Uc
WP ,8A;-$ G"!H $>-     	 E   EX /  	>Y  EX 	/ 	 >Y   и /    и /0135#5!! L ,wC,C   c&         c&         F&         I&         -&         &         J&         p&         M&       3&       h&    
     x&    G     x&    I     &    K     &    M   3F&    '      &    O     &    Q     &    S     &    U   3J&    '     ,<  % _   EX /  >Y  EX /  >Y    +  	к   9 / 	 и    #  901"&54>7#'##33273'.'#(8>?U^#--  ,+& 	p>-Cdd7m99m       |   EX /  >Y  EX /  >Y  EX /  >Y   9 /     9  	    9 /     013#	!!3#!!5#"=5X cxvLkFGG   k& L   4     & L   4     5    - _   EX /  >Y  EX /  >Y "  ,и и , +и и + (и к   (9   0135#5732#32654&+32654&+3#kMM2S;!8:HP$B[7bTKOMesU^]Vs+&<*0KPE2I1|9760CFA<e/ ZW$&    , 4&    (W   4c&    J   4F&    J   4M&    J   45&    J   Z  4M&    3   Z34&    0 ZW4&    0 !  J    Z  c&       Z  c&       Z  F&       Z  M&       Z  -&       Z  &       Z  J&       Z  5&       Z3&    ' Z  h&    
   Z  I&       Z  x&    G   I  x&    I   Z  &    K   Z  &    M   Z3F&    '   '  Z,   ]   EX /  >Y  EX /  >Y    +  
    9 /       01"&5467!!!3#!#327(8/z1!.,+*AFGG%- Z  &    Y   4&c&    a   4&F&    a   4&J&    a   4&5&    a   4&&    %\   4&M&    a   4&&    a   4&I&    a    4e$ 7 W   EX 
/ 
 >Y  EX  /   >Y    + 
 #    -  2 
  9 2/ 4 01".54>32&54632.#".#"32675#53\AmN,-PoA->3.B22P87Q5#? h.WPO~X/0=?!7%Eb=>cF&E!+ Z  2F& 	   F   Z32& 	   F Z2& 	   F        s   EX /  >Y  EX /  >Y   9 / ܹ   и  и  	и  и  и     015753!533##!#!5! NS1THHTSS1*uuuu/5oo   c& 
       M  
c& 
        F& 
        4I& 
        -& 
        	& 
       J   5& 
        M& 
       ?   h& 
   
    N3 & 
      +,   5   EX /  >Y  EX /  >Y    +  
01"&5467#3327(8+S"-,++<p4-  J& 
       F&    \   Z?&    %E   Z3?&    G ZW?&    E P  c&        Z  &    g Z&    %    Z  &    N  Z3&       3&    '      ZW&          M   EX /  >Y  EX /  >Y   9 / ܸ и  и  	 017'737!!5eS57\_5nG Z  }c&    j   Z  }5&    j   Z3}&    l Z  -c&    G   Z  -c&    G   Z  -M&    F   Z  -I&    F   Z-&    %H   Z  -5&    F   Z3-&    H ZW-&    H 4ec&    L   4ec&    L   4eF&    L   4eI&    L   4e-&    L   4e&    L   4el&    L   4eM&    L   43e&    L 4eh&    
L   4ex&    GL   4ex&    IL   4e&    KL   4e&    ML   43eF&    'L   L 4eJ&    L   4e&    YL    2k  $ / }   EX /  >Y  EX  /   >Y    9  ܺ    9  ܸ  ܸ  ܸ       %   -ܸ  .01"''7.54>327&#"2>54&'OhG@.F")Jg>hH>.E ")Kg  3L,G3,G32AS$[-uHO}W.?Q#Y,sHOY0W0S u6%Db&Gc>0P 8  4     U   EX /  >Y  EX  /   >Y    
к    9 /       01!".5463!!3#!%3#"qKuR+ ]00wzz-U{NFGGD}~  7l%   4 K   EX 
/ 
 >Y  EX  /   >Y 
 +   
 +9  и   ! 01".54>32>54&'7'2>54.#"O>gJ))Jg>G;*'A
9207)Kg>,G33G,,G33G0YOO}W.'#(3:,[OY0I&Gc>=bD%%Db=>cG& 7lc&    L   7lc&    L   7lh&    
L   7lI&    E   73l%&    L  4,e & : I   EX /  >Y  EX /  >Y     +  и  '   1 01"&5467.54>3232672>54.#"i(7#?fH&)Jg>>gK)5L1)%	.1,G33G,,G33G,+!;2Y}MO}W./W}NCjR=8-&Gc>=bD%%Db=>cG& Z   c&        Z   M&        Z   5&        Z &    %/   Z3 &    / Z3 &    '    / ZW &    / *c&       *F&       *M&       *&    (   *&    %   *5&       *3&      [p ( U   EX /  >Y  EX  /   >Y      9      и / !  901"&'732654./7.#"#4632:\0<%5:,K9A3PYTzTji]2F*"6 ?2*$
6"0_fnvTFbH'C1   M&       &    (   &    %   3&     W&          I   EX /  >Y  EX  /   >Y    +  
   и  013#5735#5!#3#{X#{{9,FF/ W.c&    B   W.c&    B   W.F&    B   W.I&    B   W.-&    B   W.&    B   W.J&    B   W.p&    B   W.l&    B   W.M&    B   W.&    CB   W.&    <B   W.&    EB   W.&    ?B   W3.&    B W.h&    
B    W,. - G   EX /  >Y  EX /  >Y (   +     и  "01"&54>7.5332>53327^(8	3U="S)8 !8*P*;$'(.,+!	 CjL};P00P;B[?)8-  W9 ( 7   EX /  >Y  EX  /   >Y    и #01".5332>53>54&'7C2W?$S)8 !8*!*0A+$?VClO};P00P;$*(*OlC Wc&    B   Wc&    B   Wh&    
B   WI&    B   W39&    B   c&         c&         F&         -&        c&         c&         F&         -&         5&       3&       h&    
     I&        -  c&       -  M&       -  5&       -3&     -W&      !  J   Y   EX /  >Y  EX /  >Y   9 /  и    и      015732+32654&+3#!O(NrJSKssssKA+ N{U-A}}/  Z     9   EX /  >Y  EX  /   >Y    +    +013332+532654&+ZSv6Z?##@Y6vlVSTUln.I64M2@GG6  :^  ! Q   EX /  >Y  EX  /   >Y 	   9 	/        	  01".5467!.#"'>32'267!G?dE%d^2Q)#iC'Ig@Tgc/X}My$9"+RW.Eupmx  ZG ' U   EX /  >Y  EX  /   >Y         9     и /01"&'732>54.#"#3>32,$+<$,+(SQ#b41S="/AK>gNJd<$Q(5#O\_R&  Z[   @   EX /  >Y  EX /  >Y  EX /  >Y    +0133"&'732653ZS$
%S>pB3-mKW 4&       4&       4&       4&       4&       4&       4&       4&       4&       43&      4&    	   4&    F   &    H   4&    J   4#&    L   43&    '     4@&    N   4@&    P   4P&    R   4"&    T   43&    '      42 / ; y   EX /  	>Y  EX /  >Y )   +  #и #/ к 	  9   9     0  	 3   4 01"&54>7'##"&54674.#"'>3232672675x&5#P.=Q	'*J "b;YP*-	-#>#=S32+*% 	6)HBPU," 9)m[;)! '*$  : 1 @ G    EX /  	>Y  EX  /   >Y    9      ,к   ,9  к    ,9   2  %к /   9 / 5   9    B   E01"&54674.#"'>32>32!3267#"&''267.'5734&#">Q&(H!"`66FQ2-E/(6#8 L2=R2e"P!
:Q31;83IHBPU," 9)7007 <U4&>,97$-.B'$5'*$KPS :&      :&         .    EX /  >Y  EX  /   >Y  
ܸ ܸ ܺ    9   и / 
 и  к    9      )   +   , 01"&'###57533#>32'2>54.#")"I BJJR!N)/H1":L83%1"<F ?!2;+]]0]W'!;T39[?!E-A'";*C RW&     .&    '   .&       .&       .&       .&       /I &    +   /3&    . /W&    -  /!  +    EX /  >Y  EX  /   >Y  ܹ   ܺ    9  и  и   и /    9          !   $ 01"&54>32'5#53533#'#'2675.#"\m#:L**> SHHFJ"<93&F{p6W="TU0]]+7'E!",=$MZ .&     	   .&     	   .&     	   .&     	   .&     	   .&     	   .&     	   .&     	   .3&      .&     		   .&     	   .&     F	   &     H	   .&     J	   .#&     L	   .3&     '	     .2 3 < Y   EX /  	>Y  EX /  >Y -   +   9 /  !   5   8 01"&54>7#".54>32!32673267!4&#"f&4
1U?$%=N*.I1WF#;!*
	-?9/&+*"	#A^<<_B# <T4	N[6'")JM'8 .K&     X	   - & "      - & "      - & "      - & "      - & "   &   - & "      - & "      - & "       p& #   |* R3& #    RW& #    R& #         o   EX /  >Y  EX  /   >Y  и / и  и  	и к    9   и      013#57533#>32#4&#"RJJR#L3MGR,0&:%;+]]0]d!0`^E<%%   &G   {  C  
&G   {   &G   {   (&G   {   &G   {    &G   {   &G   {  7   &G   	{  C3 & $    |  &2   " A   EX /  	>Y  EX /  >Y    +  
и  ܸ 01"&5467#33267"&54632&5+R#
-!!!!+*(<6)  &2   5   EX /  	>Y  EX /  >Y    +  
01"&5467#33267&5+R#
-+*(<6)  &G   |   R     %   EX /  	>Y  EX /  >Y0133RR'&   {  R& &   %   R3& &    RW& &     R    S   EX /  	>Y  EX  /   >Y    9  и   	к   	9 
   9013333#'RR[ZZj} A & '   w4 R & '       Rk & '   N  > & '   %    R3 & '    3 o& '   ' z    W"& '        G   EX /  >Y  EX  /   >Y   +  
и  и    01"&='7373:7/(9WR6T	86$557#54> R  & (      R  & (      R3& (    R  & )   $   R  & )   #   R  & )   $   R  & )   $   R& )   %   R  & )   $   R3& )    RW& )    ?   ' )    Z   .& *      .& *      .& *      .& *      .& *      .& *      .& *      .& *      .3& *    .& *   	   .& *   F   & *   H   .& *   J   .#& *   L   .3& *   '    .& *      .K& *   X    .  $ .    EX /  	>Y  EX  /   >Y -   9 - к    9    9    9  ,к   ,9  , 9       % 01"''7.54>327&#"2>54'O<1%6%>Q-&H2$6%>Q%85&5''1<A U6=_B"=A W6<_A"C.(1E1D)C/'  .! ( < C i   EX 
/ 
 	>Y  EX  /   >Y 
 к  
  9   )  и   $и 
 3   >  3 A01".54>32>32!3267#"&''2>54.#"734&#",O<#$<P,8^Y6-F0)7#: N29^9x2$$22$$2>83J"A_<=_B"><9A <U4&>,9@9yD1D**E22E**D1KPS  . " 6 C   EX 
/ 
 	>Y  EX  /   >Y 
 -   
 -9   # 01".54>32>54&'7'2>54.#"-Q>%%>Q-2-*,@
'&,%>Q-4%%44%%4"A_<=_B"-*(,! fD<_A"D1D**E22E**D1 .&t      .&t      .&t   	   .&t       .3&t     .2 ( < I   EX /  	>Y  EX /  >Y "   +  и  )   3 01"&54>7.54>3232672>54.#"'&4	,N;"%>Q--Q>%*:$"%
-,4%%44%%4+*!%@\:=_B""B_=3M;+8)1D**E22E**D1 R  h& -       ^& -   %y  >  t& -       R  ^& -       C3^& -    y C3^& -   '     yW^& -    y & .       & .       & .       & .   '    & .   %    & .       3& .      R# 7 i   EX "/ " >Y  EX  /   >Y   
 "  9  "  9 "     и / ,   "9 3   "901"&'732654.54>54&#"#4632*D!3**,3,!)*6;Rf^'=*#,3,*;:0 & -#"0,. &1MN^q(5&5,) $6( 6( E& /      En& /   '    En& /   %    3En& /     WZn& /    E7& /       En ! g | /  EX /  	>Y  EX /  >Y  ! +     
и  и  и ! и   017575#5?33#3#3267#".=HHL
E!*/'5!+>C0R-1>*<$Q K& 0      K& 0      K& 0      K& 0      K& 0      K& 0      K& 0      K& 0      K& 0      K& 0      K& 0   B   KL& 0   ;   KH& 0   D   KL& 0   >   K3& 0   " K& 0   	    K2 & g   EX /  	>Y  EX /  >Y     +  к   9        и  и /01"&5467'##"&53326733267&51 "K3NGS*1&:#R-*	-+*)=H(0`^4E='+Y6)  K. % Y   EX /  	>Y  EX /  	>Y  EX  /   >Y  EX !/ ! >Y   	   01"&5332673>54&'7#'#NGS+0&:#@
#D"K`^4E='+Y"(- 9L(0 K.&   
   K.&   
   K.&   	
   K.&   
   K3.&      & 2   h     & 2   h     & 2   h     & 2   h   /& 4       /& 4       /& 4       /& 4       /& 4       /& 4    /& 4   	    /& 4         & 5         & 5         & 5       3& 5     W& 5      5 # 8 ]   EX /  >Y  EX  /   >Y  и ܸ и 
и  и  и   $  
 / 01".54>32.''7&'77'2>54&'.#"*N<$ 7K,&F7&4<&$F <L9O/"2"!B"!4$'2 =W63S;  ">\&I)A( 4,I)B=w<cG'D4I,,,;"&=+  R3  '    EX /  >Y  EX /  	>Y  EX  /   >Y  EX /  >Y   9   9    !   $   % 013>32#"&'2>54.#"RR L(0I2":L*#B!w3%1"?$!>S%#A[9>aD#S1H-(B/"   RI   Y   EX /  	>Y  EX /  >Y     +      9     и /01"&'732654&#"#33>32R$	$,0&:%RD#M3MG<?3-=E=&%F#/`^JX '   +   EX /  	>Y  EX  /   >Y  01"&'732653 $	$R<>2-JX  C'    + `   EX /  	>Y  EX  /   >Y  EX /  >Y  и 
и     и   и &0133"&54632"&'732653"&54632RR(!!!!$	$R<!!!!J>2-JX#  K  ) m   EX /  	>Y  EX  /   >Y  и / 	   9    9         &  	 ) 01".533>323267'>54&#"4J/D#Y19J0$)E  ^=T3- "E&6M/"D$,A>S]," 9))&"$(  R  & u   EX /  	>Y  EX  /   >Y    9 и /  и /    9          #   $ 01"'##33>32'2>54.#")DGCD!O+/H0":L83%1"?$!>;/9(#A[9>aD#E1H-(B/"   R " 0   /  EX /  	>Y  EX /  >Y  EX  /   >Y    9 и /       9   #   +   -   . 01"&'##4>32&#">32'2>54&#")"I B*?++0-!N)/H1":L83%;E<F ?0*D2	?@9q'#?[7>`B#E1F,OaC   ! 5   EX /  	>Y  EX  /   >Y     01"&'732>54.#"'>32-P #:!!7)&5#1*K7+P<$$=S!71D**F16""A_><_A"  . 
 4 g   EX /  	>Y  EX 1/ 1 >Y    ܹ )  	 ) 19  1 )9    & ) 19 3 1 )901%2654&#"'>7.54>32.#">32#"'$/;%sB!&@U/0D(1"9*&S*6<'9#D56&"{3 [9=_B""32F+":)+9.+! *  /I?  . |   EX /  	>Y  EX /  >Y  EX /  >Y     +   9   9      #   $   ' 01"&57#"&54>32'533267%2675.#"?:I+\m#:L**> S
"<93&FI@f'z;_B$S*.?!"1D*Xb  /C  .    EX /  >Y  EX /  	>Y  EX  /   >Y    9      и /    9       #   $   ' 01"&54>32'4632.#"#'#'2675.#"\m#:L**> ?C	!DK"<93&Fz;_B$FQ?2*9)E!"1D*Xb  %  # I   EX /  	>Y  EX  /   >Y   
   9 
/    ! 01"&'73267!.54>32!.#"2R ?#HQ5K/,L9 ">TD79H6[N	4T< #B_<<^A#&HOM  /  # y   EX /  	>Y  EX  /   >Y    9  и /   и /    9             01"&54>32373#'#'2675.#"\m#;L*)@!CDK"<93&Fz;_B$/9)E!"1D*Xb R      %  # Q   EX /  	>Y  EX  /   >Y 	   9 	/        	 ! 01".5467!.#"'>32'267!.J5GKB%<"S3.N9!!9N.9ED =W6	IZ9"B^<<_B#BRKON  % . : Y   EX /  	>Y  EX  /   >Y  7 +  ! +  	   ܸ 7 'ܸ   / 01".'%.#"'>3273267#".''2>54&'2K5CH0&:"O2GgQ,	!<4K0/!
H"9L*539IC!#	+		%4[D(A1A%	i6;  2 / M   EX /  	>Y  EX  /   >Y !  " +  " !9      ) 01".54>75.54>32.#";#"3267)I6'(*0@$,G !5 )86;7F<@F8!= #*N&6");"!2 7&&!*;*().7  % / M   EX /  	>Y  EX  /   >Y    +        &  901"&'732654&+532654&#"'>322P+#!<!8F@<E6;64) 9!!M-">.*('5G7.)(*;*!&&7 2!";)"6&  2  1 M   EX /  	>Y  EX  /   >Y *  + +  + *9      # 01".54>75.54>32'2654&#";#",M8 '(*1A&2YC'&AX2HTVI*949*:>E&6");"!2  @`@?_@ B`\]b&&!*;*(). '  M   EX /  	>Y  EX  /   >Y    +      и  и /01"&'73265#57533#+$	$VVRSS<>2-+0JX  2(Eu + : u   EX /  	>Y  EX  /   >Y %   + ,   +       9   9  /   0   3 01"&'7326?#".54>32'4632&#"2675.#"-[&$I#CAI+.J4#:M)*< ?D!p_";  93&F:E;\&"?[99\@#)BP?2*[e!!"0A'R`  2( ! 0 w   EX /  	>Y  EX  /   >Y "   +       9   9  и /  %   &   ) 01"&'7326?#".54>323732675.#"-[&$I#CAI+.J4#:M)*?Ep_";  93&F:E;\&"?[99\@#-[e!!"0A'R`  . # O   EX 
/ 
 	>Y  EX  /   >Y 
        
  9} /   01".54>32.#"32675#531V?$%AW29H(3'!;+VH.lW!A`>;^B#%31F-Zdw;#     ' _   EX /  	>Y  EX  /   >Y    9 "   9   "9  к  " 9    01"&546733>73'2654&'#69U\\Q95@4#I4!9  9!O,&#4@9?##A   # / q   EX /  	>Y  EX  /   >Y    9 *   9   *9  	   и 	 к  * 9   $ 01"&5467.#"'>32>32&#"'2654&' UYC28.)P##O).71DXU0.7'(6.YN7j/ #</((/<# /j7NYD;*,V%%V,*;  K3  \   EX 	/ 	 	>Y  EX /  >Y  EX  /   >Y  	  9       	 0157#"&5332673~#M3NGS+0&<#Sͮj'0`^4E=&,YM  R     f   EX /  >Y  EX /  	>Y  EX  /   >Y       9   и      0134>32&#">32#4&#"R*?++0-#L3MGR,0&:%*D2	?@9~!0`^"E<%%  RI , h   EX /  >Y  EX &/ & 	>Y  EX /  >Y     + &   #  9 #     01"&'732654&#"#4>32&#">32R$	$,0&:%R*?++0-#L3MG<?3-6E<%%*D2	?@9~!0`^JX  S    ?   EX /  	>Y  EX  /   >Y   	 +  и   0133353#5#SRRR       K   EX /  	>Y  EX 
/ 
 >Y    +  и  и  ܸ 01757533##5"&54632VRSSR*!!!!+0c  .  '  A   EX /  	>Y  EX  /   >Y      и  
01353#53#3.TTSSC`CCC 2  ! - g   EX /  	>Y  EX /  >Y   ܸ ܺ   9   9   9   9  "ܸ (01&'#".546323%267&#""&54632&%?,. ?:(+R:4#($!!!!G0!(-7":c\  (  + O   EX 
/ 
 >Y  EX /  >Y   +   и &и ܸ     01"&54632533#3:7#"&='354.#"yB=.%
RSS	/(?1&"-	/>86/  RI     EX /  >Y 	    +01"&533267D7RSH*.?  R'. ( o   EX /  	>Y  EX /  >Y  EX  /   >Y  EX /  >Y   	     9      01".'732>54&#"'!#3!6`$;0&)F5/#EA!RRu0N6"9K4&'7">F-],2J,5Q8  R    +   EX /  	>Y  EX /  >Y  01333RR]C  M !    EX /  	>Y  EX  /   >Y 	     9     и 	 и   к   9     и  и /01"&5332733273#'##"&'KIR,/7BS+/6DRD L,8?&M`^4E=K`E=K`F"02+*3  M3 !    EX /  	>Y  EX /  >Y  EX  /   >Y  и  к   9   9        и     0157#"&'#"&5332733273#J*8?&M-KIR,/7BS+/6DRͭg&-2+*3`^4E=K`E=K`M  RI -    EX !/ ! 	>Y  EX /  >Y     + !   и ! 'и  к $ ' 9 $    ! 9    ! и /01"&'732654&#"#4&#"#33>32>32p##,.7CR,/7CRD K,8?&M-KI;?3-=E=K)E=KF#/1,*3`^JX I   Y   EX /  	>Y  EX /  >Y     +  и /   9      01"&'7326533>32#4&#") 
F#M3MGR,0&:%7?.*F#/`^)E=&%HS  RI=   Y   EX /  	>Y  EX /  >Y     +      9  
   и /01"&54&#"#33>323267 D7,0&:%RD#M3MG
 SHEE=&%F#/`^*.?  R    I   EX /  	>Y  EX  /   >Y  и   к   9    901333.=3#.'#RNNM:0Z';0Z'  .   ! M   EX 
/ 
 	>Y  EX  /   >Y 
    
  9 /      01".54>32"!.267!-R>$$>R--R>$$>R-:N	#	N;?OO @_??`A  A`??_@ PHHPYQQY  .  + ]   EX 
/ 
 	>Y  EX  /   >Y 
 "  и /  
  9 /       и /01".54>32!#3#3!'267.#"2WB&&BW2/0##!;++;!@_??_@!?;?C_/F/0G.  .3z 
  - w   EX /  	>Y  EX  /   >Y  EX /  >Y  EX /  >Y       и  и  "и  ,0174&'>5.54>753.?##?._L$>.2\G++G\2L3\G*+G]1,E0z0E+Wb0Ek#A\<;\@""@\;<\A# 	  K   EX 
/ 
 	>Y  EX  /   >Y    
  9  	    и /01"'732673#'#1CRDG
H2>8Y/6 	  K   EX 
/ 
 >Y  EX  /   >Y      
9  	    и /01"'732673#'#1CRDG
H2>8Y/6 Ip  M   EX /  	>Y  EX /  >Y     +   9      01"&=##"'73267332672?5G*CR LE/6
H2>8*.?  RI^  H   EX 
/ 
 	>Y     + 
 и /  
  9 
     01"&533>32.#"3267D7DG*CSHX.6
H2>*.?  R  P  /   EX /  	>Y  EX  /   >Y  
 0134632.#"RYP4!#:VbE 1   R     K   EX /  	>Y  EX  /   >Y    + 
  9   и   01332#'#532654&+R'D1=-[u[L7==7L"7(:D-++'        K   EX 	/ 	 	>Y  EX /  >Y    +   9 	 и   013".5467'3353'35#"'D1=-\t[RLL6==#7(;DȽ@/++(  I ? W   EX '/ ' 	>Y  EX  /   >Y    +        '9 ' .  6 '  901"'3267#"&=732654.'.54>32.#"83%
#D:) C,00(4)+>'.M'6 .+'5*-C-4=XJE6, 	!,3% 4*
!0"4( '  5   EX /  >Y  EX  /   >Y     01"&'732654632.#" $	$AN*<>2-kKW?3-JX '* # U   EX /  >Y  EX  /   >Y   +      и  и /   01"&'73265#574632.#"3#+$	$VVAN*SS<>2-+KW?3-0JX  HEn  8   EX 	/ 	 	>Y     + 	   	 и  01".5#5?33#3267'5!HL
E!*/+<$>CF-1>  3    {   EX /  	>Y  EX /  >Y   +  и  и  
и  и и  и /   9      0157533533##'##"&=2675#VSRRRD"K3NG&:#++0L(0`^T'+yIE=  % - Y   EX /  	>Y  EX  /   >Y    и /      "и и /  !01".54>75#5332>54&'53#5S9b)2"4#"4"2(b9R%>P*%?4)C5"dH#>..>#Hd"5C)4?%*P>%  K ! E   EX /  	>Y  EX  /   >Y  и /       01".5332>54&#"'632)D2S'1!&)#DO7Q5P8):%!;O/NP@gm@mP-      3   EX /  	>Y  EX  /   >Y к 	  90133#.'#`U\[$I##I$       W   EX /  	>Y  EX  /   >Y к   9  и  к   9    901333>73#.'##.'#eF	
D`THKPL		G#D%%E##B"DC#B""B#      K   EX /  >Y  EX  /   >Y       9   к    9013>32.#"#.'# ,8%	*5Td
V+$>-A;-A G"!H      7   EX /  	>Y  EX  /   >Y    9  013533>?3XBBWB66  I  K   EX 	/ 	 	>Y  EX /  >Y     +    и 	   01"&=!5#5!33267C9 L 
QB$,wC,_*.?    & Y   EX /  	>Y  EX /  >Y   и /     &и &/ #ܸ ܸ  01'67#5#5!>32+72654&#"0
 G0G,+0&:(3	V(*/Q
' ,wC,GM/-+!(y$03  ' $ I   EX /  	>Y  EX  /   >Y 	     9      01".'732>54&#"'#5!6$;0&)F5/#EA!U0N6"9K4&'7">F-C,2J,5Q8     /   EX /  >Y  EX  /   >Y   013>54&#"'>32WQB<3F,'0;#*J7 ->%D2]?:D,6 0H0+D;2      /   EX /  >Y  EX  /   >Y   013.54>32.#"%>-!:N,!8.$,B/AGQW2;D+0H0 6-D:?]2       I   EX /  >Y  EX  /   >Y    +     и  013#573>54&#"'>323#LYQKA<3F,'0:$*J7 L:>3c8:D,6 0H0@f*C       I   EX /  >Y  EX  /   >Y    +     и  013#53.54>32.#"3#ȵ:L!:M-!8-%,B/AGLQYLC*f@0H0 6-D:8c3>    7     +    +  и  и  и  0157333#3###5735M%:gggg:rM%K+t/{/e*{  ;  # / C   EX /  >Y  EX  /   >Y *  $ +       01".54632'2>54.#""&54632/K5n^]n4L.."".."".,[``[,D HsTLpJ##JpLTsH      \ (    EX /  	>Y  EX /  >Y  EX /  >Y  и    и     и  и /  !и !/  %и  &01!###5754632&#"354632&#"3#}RBBKL/#$(EI)Dgg]>@LX
>30>MKV	?^MC]    &    $A    &    'A    E + z | /  EX /  	>Y  EX /  >Y  EX  /   >Y        и и  )и и   #и #/  013#5754632&#"3733#3267#".5#`BBEI)D
D"*/'5!>MKV	?^MC-1>*<$]  b >    EX /  >Y  EX /  >Y  EX /  >Y  EX /  	>Y  EX /  	>Y  EX  /   	>Y  EX $/ $ 	>Y  EX 2/ 2 >Y $ 8  9и <и =и и и        &и 'и 2 + 013#5754632&#"354632&#"3733#3267#".5###`BBKL/#$(EI)D
D"*/'5!R>@LX
>30>MKV	?^MC-1>*<$]]  .  (  =   EX /  >Y  EX  /   >Y 
  и    01353#53#3.TTSSGFFG %  (c&       .  3c&         @F&        ]I&         D-&       &  2&       .  (5&         @M&       .  (h&   
    .3(&      .,(  U   EX /  >Y  EX /  >Y    +       и  и  01"&5467#53#53#3#3267'8,hTTSSW"	.,+)@GFFG7-   >J&        Z[-   S   EX /  >Y  EX /  >Y     +  к   9  к   
901"&'73265#'##33.53$
%GOVGO=B4,2g4d2k4SmKW /   /&      /&      /&      /&      /&      /&      /&      /&      /&      /3&    /&   	   /&   F   #&   H   /&   J   /#&   L   /3&   '    /@&   N   /@&   P   /P&   R   /"&   T   /3&   '     /2 & 5    EX /  	>Y  EX /  >Y     +  к   9   9  и /  и /  '   *   +   . 01"&5467'##"&54>3237332672675.#"&50 K+\m#;L*)@!C-*	-"<93&F+*)=5)z;_B$/6)!"1D*Xb 2(   2(&      2(&      2(&      2(&      2(&   &   2(&      2(&      2(&       R     %   EX /  >Y  EX /  >Y0133RR8 B   &5   x4 R   &5       R  l &5   N   &5   %{  E3 &5    {3 o&5   ' {   {W &5    {      ?   EX /  >Y  EX 
/ 
 >Y    +  и  01'737#WR6TR'557#54K    & !   56         Z  $     Z    /   EX /  >Y  EX /  >Y   013!!ZzF    .   5   EX /  >Y  EX /  >Y   
  901353%!'#`JZfEE2^2G, Z      -      Z  2 	    4e   + C   EX /  >Y  EX /  >Y    +     " 0153".54>32'2>54.#"p>gJ))Jg>>gK))Kg>,G33G,,G33G5HH0YOO}W./W}NOY0I&Gc>=bD%%Db=>cG& Z    
   Z  ?          3   EX /  >Y  EX  /   >Y к 	  90113#.'#`Xjipc:e::e: Z  }    Z  -     1      C   EX 	/ 	 >Y  EX /  >Y    +    	  0135!5!5!1GG5GGFF 4e     Z  +  @   EX /  >Y  EX /  >Y  EX /  >Y   013!#!ZSpJ Z       ,    9   EX /  >Y  EX /  >Y     	 01355!!!,_21FG             0   + A } / /    +    +  и  и   и  *014&'>%5.54>753NhY,H232H,Yh>eH''He>K>eH''He>KTe3E**E3eK]&C];:\A%\\%A\:;]C&]        ?  |  Y   EX /  >Y  EX /  >Y 
  9 
    и 
 и  и  01!5.=33>=36tRSRORRS"@[:w~_XXW_?\=  -  y 1 W   EX /  >Y  EX  /   >Y     й   и /  &   0и 0/013535.54>323#5>54.#"-*!(Ig@@gJ(!+1$2H..H2$1D7FS2EtU//UtE2SF7D=8FU45[C&&C[54UF8=   3 &   k    & @  k    r & 	@  k      & 
@  k    -& 
       & /  k    Y & |  k    -&          &V/  k   ." $ 7    EX 
/ 
 	>Y  EX  /   >Y  
  9 
 и /   и /   "   
9   %  " *   +  
 0 01".54>323733267#"&5#'2>?.#"*D2#;M*-TQ
,48N.$
 #2&> ?[<?bC$:Es0if[!?03cE)7[(20I0U]  OM	  ; q }  /  EX /  >Y  EX /  >Y &  9 & )   & )9   )9     3   9 014>32#"&'72>54&#"'>54.#"O2K3$B32.HS 5D%.Z&.#DD'6"%9?#R2V>#+A,6S
eM1L5 *>u>$5!:N? *0*ZWXX-  M  P }  /  EX 
/ 
 	>Y  EX /  	>Y  EX /  	>Y    9    901>454.'73>73!7F%S0,#/IS
-@-<0 Zjt9[e>nq{I,b*  4 + ; U   EX /  >Y  EX  /   >Y 4   9 4 
и    "   9   , 01".54>7.54>32.#"'2654.'*N<%2E'1%'<)Yx?\#*&(58+7P2BC'MW&29R4,I9)'+1''B#$%09E,4U=!DYI3*%`G$9(  . 0 e   EX /  	>Y  EX  /   >Y   % + 	 % 9     !и !/ % "и "/   * 01".54675.54>32.#"3267&"#"3267-K7;*&'3C&,O"!;"-=4;$xE?#?##,R&6"59<"!2 7&&!*@R).7"  0H - G }  /  EX /  >Y  EX 	/ 	 >Y    и / 	 & 01'>54.'.54>7*5!#hB	+"%B21N_.=BAJ/`N2&6"#4" $4Q<8zsd#CC!dsx3+;&#E  KM  U }  /  EX /  	>Y  EX /  >Y      9     и /01>54&#"#4&'33>32~$+#"#RK&Q6G=xjE=)aB&e98`^  ;   % C   EX /  >Y  EX  /   >Y   ! +       01".54632"3.2>7#/K4l^^l4K/*  *+  +,[``[,@eGGe@AiMMiA  R   +   EX /  	>Y  EX  /   >Y 
 01"&533273*S";6cX'>  I % q   EX /  	>Y  EX /  >Y  EX %/ % >Y  EX  /   >Y  и /    9    9    %901.'#4&'33>7**(MQDKN')S-0499AE!M0aH = 2\J3
N=1$OOI    [   EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y       901''.#"'>32##gW5**!HT WCE
D
ii  RM ( _ }  /  EX /  	>Y  EX  /   >Y      9     и   и /  01332>73327#"&'##"&'RR)0   S*)E(0AA%LcX>-1/-$700      Q   EX /  	>Y  EX /  	>Y  EX /  	>Y  EX  /   >Y    9013.'73>73&08S0) -C	S
,:%Czn/'fop1^c?xvy@  H E  }  /  EX  /   >Y  EX 	/ 	 >Y -  4 +  4 -9     и /  "и "/ - 0и 0/ 4 1и 1/ 	 > 01'>54.'.54>75.5467*5!#"3267.#"oB
+!'D4)6-8&" #r,"$,;/*9"$3  $,C0$?2$	I5*@CC--!F&8#$0#E  .   5   EX 
/ 
 	>Y  EX  /   >Y   
  01".54>32'2654&#"-Q<##<Q-.Q<##<Q.AHHAAGG"A^==`A""A`==^A"DeUUggUUe  1 # Y   EX /  	>Y  EX /  >Y  и  /    	и  и / 	 и    01"&54>5#'>5#57!#327:0SqFa!><GV\(gggc?D)_YG?  NM  ) O }  /  EX /  	>Y  EX /  >Y   9    !   ' 014>32#"&'72>54.#"N":N,gk"8H&'J"~/$0"0$"@?^>t>aD#'!98: 1H-(B/-D.|)  .  ) I   EX 
/ 
 	>Y  EX  /   >Y 
 "  и / и /    01".54>3!.''2>54.#",O<#%>P+
*F*-3!9M,1"!1:M$1!?^<@]=FbE9X> D.B)$C3Y[*C0    =   EX /  	>Y  EX  /   >Y    	и    01"&5#57!#3267 8+FR)><5>CRJ?  < % M   EX /  	>Y  EX 	/ 	 	>Y  EX /  	>Y  EX  /   >Y  01"&54654&'332654&'7XaP'5EP6L_a,U,B&7 154!-Y_8tC?A>_A!  .Mzn 
  - ] } /| !/  EX /  	>Y  EX /  >Y      и  и  "и  ,0174&'>5.54>753.?##?._L$>.2\G++G\2L3\G*+G]1,E0z0E+Wb0E#A\<;\@""@\;<\A#  	A   } /} 
/  EX /  	>Y  EX /  	>Y  EX /  	>Y   и  /   9   
9   9 	  9 
 и /01'7373#\SR}WPV:  =Myn ) e | /}  /  EX "/ " 	>Y  EX 
/ 
 	>Y  EX !/ ! 	>Y  EX /  >Y   и  (015.=4&'333>54.'70>Y9PNQMQW	Px#=V4B&7 -*$JY7eh337 =l?  3 9 M  	/  EX /  	>Y  EX  /   >Y   "и  +и   3к 7   901".546732>54&'332654.'7#"&'#$>-4&K 5) Z )4	J [L*GC<[<N9!9<B&LR."=''=#/SX%=87:AH*{y*..*  .L ) . }  /  EX /  	>Y "   +   01'>54&'.54>32.#"<B+"C4!#<N,1B*+3$&2)!, !6Q<:[? "6.A(+9'	
$K  N  ) : W   EX /  >Y  EX  /   >Y    9 2   9 2    '    * 01".54>32>54&#"2654.#"1'QA*0J2"B379Q[!9M=T49(9>9J#5%>;-38[B	2U=#*@,6UiO/K4 6#,595WH>3'E6E(  B  2 M   EX +/ + >Y  EX /  >Y ! + 9 !   + 
    017.#""&54&'332>7.54>325\G%2*6rQZN$+ \zH/>$pq6K <,
Hc>?Z[+57(#/@nV>R&(C0iX&  .Mz % 3 \ }  /  EX /  	>Y  EX 	/ 	 	>Y  EX /  >Y    "и  )и  1 015.546754632>54&#"/3]G*=.C!.?&SA)D0*G\3%>.:,)!?]>K6024:"*A.gc"?Z9>`C%+U*=z>2G-S`? ."&`      .&d       KM&f   "   R &h   | &h   |  .&n      <&s       <&s       3&w   ^  &h   =|  <&s   =     B & %  ~   : &        3 &       3 &   k    '          '          '          '         b & E      b & E       J&         &        T & v  ~    T & v       & @       & @  k     '          '          '          '          & 	v  ~     & 	v      r & 	@      r & 	@  k     ' 	         ' 	         ' 	         ' 	         ' 	         ' 	        # & 
v  ~    # & 
v        & 
@        & 
@  k     ' 
         ' 
         ' 
         ' 
        i ' 
        i ' 
        J& 
        	& 
       & a  ~   & S     & 5     & /  k  G '       C '       = '       9 '          & v       '         Y & |      Y & |  k     ' &        ' !        '         J&         &          &Va  ~     &VS       &V2      &V/  k   Y 'V        U 'V        T 'V        Q 'V         'V         'V       	 &    n  . & %  &~  nC  & &   &   n;   '     &   n   '     &   n   '     &   n   '     &   n  N & E  &   nc  N & E  &   nc   Zu & 	   n   & 	v  &~   n    & 	v  &   n   b ' 	    &   nw  ^ ' 	    &   ns  ^ ' 	    &   ns  Z ' 	    &   no  1 ' 	    &   nF  1 ' 	    &   nF   - &V   n   &Va  &~   n   &VS  &   n  m 'V    &   n  i 'V    &   n~  h 'V    &   n}  d 'V    &   ny   'V    &   n1   'V    &   n1   ."&`   	 
 ."&`      ."&`      ."&`      ."&`   ^   ."&`   [   ."&`   ]   ."&`   Z   ."'&`   _   ."'&`   \   ."&`      ."&`      ."&`      .&d   	    .&d       .&d       .&d       .&d   ^    .&d   [    .&d   ]    .&d   Z    KM&f   	"   KM&f   "   KM&f   "   KM&f   "   KM&f   ^"   KM&f   ["   KM&f   ]"   KM&f   Z"   KM'&f   _"   KM'&f   \"   KM&f   "   8 &h   	|
 , &h   |  &h   |  D&h   |  &h   ^|  &h   [|  &h   ]|  &h   Z| 	'&h   _| 	'&h   \| &h   | &h   | )&h   | &h   @| &h   =| &&h   A|  .&n   	 
 .&n      .&n      .&n      .&n   ^   .&n   [   .&n   ]   .&n   Z   NM&p   	$ 
 NM&p   $   <&s   	  
 <&s       <&s       <&s       <&s   ^    <&s   [    <&s   ]    <&s   Z    <'&s   _    <'&s   \    <&s       <&s       <&s       <&s   @    <&s   =    <&&s   A    3&w   	^ 
 3&w   ^   3&w   ^   3&w   ^   3&w   ^^   3&w   [^   3&w   ]^   3&w   Z^   3'&w   _^   3'&w   \^   3&w   ^   .7"&`   9   .7"&`   '9   	 
 .7"&`   '9      .7"&`   '9      .7"&`   '9      .7"&`   '9   ^   .7"&`   '9   [   .7"&`   '9   ]   .7"&`   '9   Z   .7"'&`   '9   _   .7"'&`   '9   \   .7"&`   '9      K7&f   9v  K7&f   &9v  	" 
 K7&f   &9v  "   K7&f   &9v  "   K7&f   &9v  "   K7&f   &9v  ^"   K7&f   &9v  ["   K7&f   &9v  ]"   K7&f   &9v  Z"   K7'&f   &9v  _"   K7'&f   &9v  \"   K7&f   &9v  "   37&w   9X   37&w   '9X   	^ 
 37&w   '9X   ^   37&w   '9X   ^   37&w   '9X   ^   37&w   '9X   ^^   37&w   '9X   [^   37&w   '9X   ]^   37&w   '9X   Z^   37'&w   '9X   _^   37'&w   '9X   \^   37&w   '9X   ^    IE + e }  /  EX  /   	>Y  EX /  >Y и   и / 	  9   9 $  9  )и )/01'>7.'#4&'33>7j`'G**(MQDKN')S-049!I)Y+9@D!M0aH = 2\J3
N=1$OOI5c  .M  & C } /  EX /  	>Y  EX /  >Y        !01%2654&#"5.54>32AHHAAGG'C2#<Q-.Q<#0B&6fVUggUVf(?X6=`A""A`=6V?(('+  .H % C }  /  EX /  	>Y  EX 	/ 	 >Y    и 	   01'>54.'.54>;&"#"_B#(H7 %BY3K)KY(9"F5 %

#9S9@]=FY[(:)3.I  RM  . }  /  EX /  	>Y    +   01!#3#R1C;QX  M       +    901'>54''%&''%.'7P

?yE"EK"*tK3W[0
0\.C;9#Ez?8>&E}Hv,=5h3_ /V 'N  i O   A] N  i A N  *  R        +0173RQ"\  @         EX  /   >Y 013?3@"6\ .n     V     EX /  >Y017L2 z3 =   7o 9    R     /  EX  /   >Y  01"&533273+S;61QH> <_ 	   <_ 	   >S    .0    .n    s/ ^   m/{ [   s/ ]   w/ Z   2' _   2' \   bA    t3 @   t3 =   vL& A         EX /  >Y  01'>54&'7	!)*	BH(&	/-,&       EX /  >Y 	 01.5467b(HB	*)!&,-/	  S     EX /  >Y  01'72L     +   EX /  >Y  EX /  >Y 
 01'7'>54'72LC	6@!&5//.#     +   EX /  >Y  EX /  >Y  01'7.54673L!@6	C#.//5     +   EX /  >Y  EX /  >Y 
 017#'>54'7L2C	6@!&5//.#     +   EX /  >Y  EX /  >Y  017#.5467L2|!@6	C#.//5    % W   EX /  >Y  EX  /   >Y    +  и /    и /    01>323267#".#"'>54&'7 !* !1 %;>9Z####!
'!    ' W   EX /  >Y  EX /  >Y   $ +  	   и /    'и '/01.5467'>323267#".#"y"?;%  !* !'
####        Z     M   EX /  >Y  EX /  >Y      9      013!!32#'32654&+Z~4X@$ltUSUUrF+E1g`B?D?8 Z  $    Z  A    Dd  ! K } /  EX /  >Y  EX /  >Y   и и  и   013#'53>7>7!3#5!#lI	
		LI	I#126WA1RPU52Ѽ%Tk*GDF Z          5    EX /  >Y  EX  /   >Y   3 +   39     и /  и  й &  3 /к ,  /9   2и .013'.#"'>323337>32.#"####E	&$"MYOXN"$&	E[_O_^!N
0%%0
N!77  * / M   EX /  >Y  EX  /   >Y    +        (  901"&'732>54&+532654&#"'>32Hr2/+X9 8*\UJ6WLI7.N-#j<.M7209K%@V-39,$!0?<@9845!8#++?'4OSD/J3  Z  6  I   EX /  >Y  EX  /   >Y    9  	и   к  	 90133373#467#ZRGXRG4k2pW4g2b Z  6I&   L   Z  B  W   EX 
/ 
 >Y  EX  /   >Y    + 
 и / 
     9   013337>32.#"##ZSq\"#$	W[p%0
N 7     A   EX /  >Y  EX  /   >Y     и /   01"&'732>7>7!##8$HS&.M%F:gmpJ[XK`7 Z  }    Z  2 	   4e    Z  +N   Z      4             G   EX /  >Y  EX  /   >Y      9     01"&'7326?3373 'Yz2.qUKK#܁$=F  /    Y   EX /  >Y  EX /  >Y    +    +  
и  и  и  014&'>5.546753hbbhhbbh솔JKUam\UU\a^ts}]]}st^        ZDh  A } /  EX /  >Y  EX  /   >Y    и  0133!33#5ZSSI	II2Ѽ  C    7   EX 
/ 
 >Y  EX /  >Y    + 
 01!#".=3326739'8X=!R*=(%7S&3R;)8"%p  Z    G   EX /  >Y  EX /  >Y    и  и и  	01333333ZRQRIIp  ZDP  Q }  /  EX /  >Y  EX /  >Y    и  	и  и 	 015!333333\RQRI	II2       C   EX /  >Y  EX /  >Y    +      013#5!32#'32654&+&l4ZB&"?Y6rhSUYVaJF-F05L1D>F<<  Z      I   EX /  >Y  EX /  >Y    +     и  013332#'32654&+3ZSf6Y@#"?Y7g]SVVVZS-F15L1D>F?9p  Z     9   EX /  >Y  EX /  >Y    +   013332#'32654&+ZSy6Y@#"?Y7zoTVVVm-F15L1D>F?9      I   EX /  >Y  EX  /   >Y      9 /     01"&'73267!5!.#"'>32Cf*.!O3Wf	cV,J. g=>fH()Je2-4#'{}Gin!6 1,VSTU,  ZX  . e   EX 	/ 	 >Y  EX /  >Y  EX /  >Y  EX  /   >Y    +      % 01".'##33>32'2>54.#"J:`E)SS+D\8<dG''Gd<+D00D+*D00D-SwJCkJ'/W}NOY0I&Gc>=bD%%Db=>cG&       T   EX /  >Y  EX /  >Y  EX /  >Y    +   9   01!##.54>;35#"y`AS"=U2nnMRRZO3F,pY4A@? Z  c&       Z  -&        ~ ' S   EX /  >Y  EX  /   >Y    +       и /    01"&'732>54&#"##5!#>32$
&TM6T9"2U?#3AC3&JCJFF2P79N0 Z  c&A   "    4   M   EX 
/ 
 >Y  EX  /   >Y 
    
  9 /      01".54>32.#"!!3267R?iL*+Mj@<\-C*Xlk^0H .'b,UTSV,1 6"niG}{'#4-2 *    Z    
    -& 
           -    A   EX /  >Y  EX /  >Y   ܸ ܸ   и  01"&546323"&546323?uS5p      [ % . Y   EX /  >Y  EX  /   >Y   . +       и /     ' 01"&'732>7>7!32+#%32654&+>$4[6Y@#"?Y7 &.QTVVVOM%F:gm-F15L1J[XK`7P>F?9  Z  u   g   EX /  >Y  EX  /   >Y    9 /    и  и /   й    и /0133!332+!%32654&+ZS'T[6Y@#"?Y7{QTVVVO-F15L15D>F?9    u  E   EX /  >Y  EX  /   >Y   
 +    и   013#5!#>32#54&#"β:5U;RLN8JFF2N7J? Z  Bg&   D  Z  6g&   L  E&       ZD+  A } 
/  EX /  >Y  EX /  >Y    и  0133!3##5ZS+SIIp    :   B   EX  /   >Y    +    +  и  	и    013#53533#32#'32654&+TN6Y@#!=W7TJSQSXCD}}D)B/5K0B;E>5  4e   ! C   EX 
/ 
 >Y  EX  /   >Y    + 
      01".54>32"!.267!L>gJ))Jg>>gK))Kg>Rh

hRWjtj.WRR}V,,V~QRW.bqjjq{{     1  E   EX /  >Y  EX  /   >Y  и /    9   01333>?>32.#"Yi@95;d:546IBM%%  Z  <  5 | /  EX /  >Y  EX /  >Y   013!73!Z-G	  !    S   EX /  >Y  EX /  >Y 	  9 	/   и /    	 0157!!3##!OzٕS3,.F/3  D5 :  }  /  EX /  >Y  EX 
/ 
 >Y    + 
 и и  к   9      и  /  #и  )и  0к 6  #9  8 015#####'.#"'>323337>32.#"3 _O_\E	&$"MYOXN"$&	E?	77^!N
0%%0
N!2  *D 2 [ }  /  EX  /   >Y  EX /  >Y    +        )  9  1015.'732>54&+532654&#"'>32;a+/+X9 8*\UJ6WLI7.N-#j<.M7209K3G),-9,$!0?<@9845!8#++?'4OSD*D1  ZDZ ! g }  /  EX /  >Y  EX /  >Y 	   +  и  и /     	 9   015###337>32.#"3!pSSq\"#$	WF	7%0
N 2      p   EX /  >Y  EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y    +    013#5!37>32.#"##q\#"%	VZpJF%0
N 7  ZD{  U }  /  EX /  >Y  EX /  >Y к   9 / 
   и   015#!#3!33)KSS1TI	52  4D $ G }  /  EX /  >Y  EX /  >Y        #015.54>32.#"3267+6[A%,Nj?<[-B*/L64K/0H . N14VwJO~X/1 6"%Eb=>cF&'#4&.          [   EX /  >Y  EX /  >Y   9 /  к 	  9  и    01757333>?33##59X!YU"TWyT,n$F%%F$/  D  i }  /  EX /  >Y  EX /  >Y к   9   9  к   9   9   015#'.'##33>?33'`_X\YWXD	33S=++2  CDE  G }  /  EX /  >Y  EX /  >Y    +  и   015##".=3326733L9'8X=!R*=(%7SI	&3R;)8"%2  Z    7   EX /  >Y  EX /  >Y    +  0133>32#54.#"ZS9&8Y=!R*>($73R;)8" Z    
     E&        E&          L   Z  E&       :^    Z  6&   L  4e-&    L   4e   &       l&       4     5 " 1 [   EX /  >Y  EX  /   >Y   + +       9 /   #   . 01"&54>7>7>32'2>54&#"mx+PqE1;U9  W.+H3":N,/#D?#L%K{W%K	/VK();T5:^B#D1D)KY&2&ju  R     ' M   EX /  	>Y  EX /  >Y   & +  & 9       01332#32654&+32654&+R(B/+&%3F*r\=429bi<;>>d/!)4($4#'""&,)%*  R    /   EX /  	>Y  EX /  >Y   013!#R/C]  T   K } /  EX /  	>Y  EX /  >Y   и и  и   013#'53>?!3#5'3#cG	
.GG⛬4,J;]4HZ` .         +    EX /  	>Y  EX  /   >Y *   +   *9     и и  и    * %к " % 9   (и $013'.#*'63235337>32&"#"#'##5#'!(>.KIK.>("&YzPIPz `*M+=ll=+M*`   % / M   EX /  	>Y  EX  /   >Y    +        (  901"&'732>54&+532654&#"'>323Z+#"G%,!@<C7;:8-*=##S5$@0*&*; 6G#5!*(;)$%%6 2!#:95"6&  R    I   EX /  	>Y  EX  /   >Y    9  и   к   901333>73#5467#RP%MP%']/:']0; R  &      R    S   EX 
/ 
 	>Y  EX  /   >Y    + 
 и 
     9   013337>32&"#"#'#RR^0 "
	)Z`l (	M`   
  =   EX /  	>Y  EX  /   >Y     и   01"&'73267>7!##6
 
	+SL16OOCC  R  ' % ]   EX /  	>Y  EX  /   >Y    9  и   к   9   9    901333>?3#54>7##'.'#R__
]^K\7^;;+--;;--+  R    ?   EX /  	>Y  EX  /   >Y 
   +  и   0133353#5#RRRR . *    R    3   EX /  	>Y  EX  /   >Y и   013!##RR] R3 +   .         3   EX /  	>Y  EX  /   >Y    013#5!#CC] / 4    /3 ' 6 E    EX /  >Y  EX /  	>Y  EX  /   >Y  EX /  >Y   9   9  и  "к   "9 % " 9  (   +   ,   /  ( 7и / ?и  B  % C 0157#"&54>32'53>32#"&'267.#"!2654.#"G1Td3B%/P7+B-3D%1&+)=&3@**+͜Iz;_B$HJ#A[9>aD#H01D*Xbf[(B/    3    RT  A } /  EX /  	>Y  EX  /   >Y    и  0133333#5RRRGG]]4  ;    7   EX 
/ 
 	>Y  EX /  >Y    + 
 01!5#"&=3326753\]eR=C$RN[60  R    C   EX /  	>Y  EX  /   >Y    и  и  	01333333RROQ]]  RT  Q }  /  EX /  	>Y  EX /  >Y    и  
и  и 
 015!333333ROQG]]]4    *   C   EX /  	>Y  EX /  >Y    +      013#5332#'3254&+ƬQWjjWQIy<=ICIOQJBY.*  R  P    I   EX /  	>Y  EX  /   >Y    +       и  013332#'3254&+3RRE+G33G+E<y;><ZR%9():&BY.*  R     9   EX /  	>Y  EX /  >Y    +   013332#'3254&+RR\+G33G+\Sy;>S%9():&BY.*     C   EX /  	>Y  EX  /   >Y   
 +       01"&'73267#53.#"'>32/Q";$CS	O:$5'K6-Q=#"=S!2TU;LK2#?aA@_?   R  , e   EX 	/ 	 	>Y  EX /  	>Y  EX /  >Y  EX  /   >Y    +      # 01".'##33>32'2>54&#"+J8$iRRj%8H)+M9!!9M/0!E<0##0:T52O6"B_=<_A"D1D*Th2E**D1        K   EX /  	>Y  EX /  >Y    +   9  и   01!5+#7.54>;'35#"^Z]/@3F)LL9AAC:(7"'++- .&     	   .&     	    ' , v   EX /  >Y  EX /  >Y  EX  /   >Y    ܸ ܸ %ܹ   " % 9 "    и  01"&'732>54.#"##57533#>32'.!-";$RJJR"L1X\5L>Fy]@V5#%;+]]0]a!-qY% R  &       .   C   EX 
/ 
 	>Y  EX  /   >Y    + 
      01".54>32.#"3#32671T="%@U/0E'2 <R
RE#;!!P ?_@@a? "4LK;UT4!  .   C    $    &G   {          A   EX /  	>Y  EX /  >Y   ܸ ܸ   и  01"&546323"&546323?oRL'  %     " * Y   EX /  	>Y  EX  /   >Y   * +       и /     $ 01"&'73267>7!32+#%3254&+8

%	$@+G33G+
FJ7z<>7L/8KS%9():&CHMINY.*  R     O   EX /  	>Y  EX  /   >Y    +    +  и   й  013335332+5#%3254&+RRR@WkkW'8y;>8ųIOQJBY.*   :   R  &     R  &     /& 4        RT  A } 
/  EX /  	>Y  EX  /   >Y    и   013333##'RRR	F]    n   B   EX  /   >Y    +    +  и  	и    013#53533#32#'3254&+RQWjjWQHz<>HCttCIOQJBY.* .        E   EX /  	>Y  EX  /   >Y  и /    9   01333>?>32&#"U\	072m$H##H$HDJ$%  R    /   EX /  	>Y  EX /  >Y   013373#RC	]      I   EX /  	>Y  EX /  >Y    +     и  	017575!#3##5B/݅R*C/  T 0  }  /  EX /  	>Y  EX 
/ 
 >Y    + 
 и и  к   9     и /  и  "и  (к ,  9  . 015#'##5##'.#*'63235337>32&"#"3l)zPIPzY'!(>.KIK.>("&qG `*M+=ll=+M*`4  %T 2 Q }  /  EX  /   	>Y  EX /  >Y    +         101'.'732>54&+532654&#"'>32&H##"G%,!@<C7;:8-*=##S5$@0*&*;*8 	5!*(;)$%%6 2!#:951$  RT   v   EX /  	>Y  EX /  	>Y  EX /  	>Y  EX /  >Y  EX /  >Y 
   +      015#'##337>32&"#"3+`RR^0 "
	)zK	l (	M`4    Y  ]   EX /  	>Y  EX  /   >Y    +     и /     9   013#5337>32&"#"#'#Ƭ^0"		)[_Cl (	Ma  ST'  O }  /  EX /  	>Y  EX /  >Y 	   +  и  и   015#5##33533HRRRF	]4  .T # G }  /  EX /  	>Y  EX /  >Y        "01'.54>32.#"3267(D1&@U/0D*/!8('8!"9$5C	(@V5=_B""62E**D17/  3  P   EX /  	>Y  EX /  >Y  EX  /   >Y    9  и  01533>73÷U[[Q$G""G$	  3  \   EX /  	>Y  EX  /   >Y  EX /  >Y к    9  и  и  015#57333>733#ÔN4U[[Q}*$G""G$	I/  T  i }  /  EX /  	>Y  EX /  >Y и  к   9   9   9   9   015#'.'##7'33>?33)GBVYA;VsIq,+qk))k4  ;T  E   /  EX /  	>Y  EX /  >Y    +  и   015#5#"&=33267533J]eR=C$RG	N[60]4 R   #     &   U   R  '   4&       :   .&     	   %   R  &     .& *      .   /& 4       /& 4        / . @ U   EX /  >Y  EX  /   >Y 9   9 9 и    9 %    / 01".5467.54>7>7'2>54.'*L:#jW1& =W6'65I.'3!9):Q1!4$'NZ&17P2\n"#&%,K08D,3V>"D,=$0)$`H"7'  ;o - A M Q    EX /  >Y  EX  /   >Y O  N + H  8 +      и /    и  /    9    $   9 O .ܹ B 01"&/26533.=4632"#./#".54>32'2654&#"53[	\.X+9%)	\-X,8$R 8**8 8**8'//''//XAgh/NEA$21Agi/NEA$11 )<&'<))<'&<)78238832822   R - ; I    EX /  >Y  EX  /   >Y  EX (/ ( >Y  + + B   9 B/ 1ܺ 
 B 19  B 19 $ + 9  9    <  ? + 901".54>7.54>32>73.'>54&#"267.'-I5$/(8"=D*5 W//M8'">#L(&]e)!%,4">0Y##/#/0C(!6.')M$!8*H: 6/)3^')`9Av4 D
%"):!%+6*c6=&-   ,   5   EX /  >Y  EX  /   >Y     01"&54632'2>54.#"alla`ll`-!!-.!EBAeFFd??dF  O  ~  C   EX /  >Y  EX  /   >Y         
01353#5>733Ot,A?D5D  $    A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;(HpL(<=(D/(Z?Yf'E_981HtcS'7F- /,5gU-[ai;G   3 S   EX !/ ! >Y  EX  /   >Y 	   !  9 /   !   )  901".'732654.#52>54&#"'>32&?4)*M9:J0N93E+;3(C,%Y9*F3@42&!9L 6.?6/"? ,/6$4#-)<':J)6!*D/    ~ 
  Y   EX /  >Y  EX  /   >Y    +  и и /  и  	к    901!5!533#%35467#0\WW6tBG,  ~ & M   EX /  >Y  EX  /   >Y 	     9 /      01".'732>54&#"'!#>32&?3)(M83&J>!/,?.)H6$<M6,&6!BJ3G1K44P7  0   . C   EX 
/ 
 >Y  EX  /   >Y   ) + 
     ! 01".54>32.#">32'2>54&#"/P;"(DW04K.7!<.P'Sc4D'(:<HG&MsM`U''3@gL%+bc.K6A%3 ?H'-^a  ,  ~  7   EX /  >Y  EX  /   >Y    	и 	/013>7!5!+C/9G*Z~BG3H]  ) ' 5 E a   EX /  >Y  EX  /   >Y >   9 > (  
 ( >9  > (9  .    6 01".54>75.54>32>54&#"2654.'-M7 !+#60B'*B/(6L #:5-:)58E0?"&3%2/@&5+!G3%<+-?%.( '2 $>.h@#0A8/) >2,!E,,!  (  . C   EX %/ % >Y  EX /  >Y     + %     01267.#""&'732>7#"&54>32 GH=):3M.7"<.P(Sb3E&/Q;!(DW6(-^`%4?H&4AhM&,bc.K6&MsM`U'  ,   # G   EX /  >Y  EX  /   >Y         9  01"&54632'2654&#"7"&54632alla`ll`8HH89HH9####B}}"  ""  "  ,   ! a   EX /  >Y  EX  /   >Y       9    9        9    901"&54632">54.267alla`ll` 4"/ 3HW&)>%FdA(+8>%  7   5   EX /  >Y  EX  /   >Y     01".54632'2654&#"2O8rddr8O2;HH;;HH-U|OO|U-Dzz  2   ~  5   EX /  >Y  EX /  >Y     013#5>73u-A?5  %    A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;+HnL'9>(E0*[=Yd&E^781HtcS'7F- /.3gU-[ai;G %   "  ~ &  ~'   = (   ,  ~  7   EX /  >Y  EX  /   >Y    	и 	/013>7!5!*A/8F)Z~BG3H] 7 *  4 +   7   ' G   EX /  >Y  EX  /   >Y         9  "01".54632'2654&#"7"&546322O8rddr8O2>IJ=>II>$$$$-U|OO|U-D||"  ""  "  7   # a   EX /  >Y  EX  /   >Y       9    9        9    901".54632"654&2672O8rddr8O2"7M=#7%3-U|OO|U-W&*6J)*;6JFfB   ,J   5   EX /  >Y  EX  /   >Y     01"&54632'2654&#"^oo^^nn^;AA;<AAB{nnzznn{  O  >  C   EX /  >Y  EX  /   >Y         
01353#5>733Ot,A?D5D  $  H  A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;(GoL(:<)D/(Z?Xe%C[681;aSI#5D, .-4eT)LPW2G  J 3 F   EX !/ ! >Y 	    +  !  9 /   !   )  901".'732654.#52>54&#"'>32&?4)*M9:J0N93E+;3(C,%Y9*F3@42&!9LV 6-B6/"@!,/8$4#-*=':M*7!*E0  > 
  D   EX /  >Y    +  и и  и  	к    9015!533#%35467#0\WWJ7bBD20  > & <   EX /  >Y 	    +    9      01".'732>54&#"'!#>32&?3)(M83&J>!/,?.)H6$<MV 4,'6"CK8G2L45R8 1(   ,>  "   EX /  >Y   	и 	/01>7!5!+C/9G*J[BG3I^ )*    J  - 2   EX $/ $ >Y    +     + $  017267.#""&'732>7#"&54>32#J JA+:&0F #1>#<-S*Y`5G(4T:$AZ(.gi'6!DN:.=dJ&*ld/O8+QsI\Y, 4J :   2   >  5   EX /  >Y  EX /  >Y     013#5>73u-A?5  )  H  A   EX /  >Y  EX /  >Y   и и /  	 0135>54&#"'>32>;0GlH$7<)?/(V>,E0#?Y681;aSI#5D, .,50D*)LPW2G J=   > >  >?   9 (	   ,>  "   EX /  >Y   	и 	/01>7!5!,A/8G*J[BG3I_ 1 *  &J C   A  r     EX  /   >Y 01"&54632}########  /V  r     EX /  >Y 01'>'#"&54632C+0#$ %F0?(4-A` A 'N  i N   /V 'N  i O   ^s r &N  'Nl   N    U       EX /  >Y ܸ  017'3"&54632tS####z^^####  UH       EX /  	>Y ܸ 0173"&54632g9)####^z^,####  &y  ' *   EX /  >Y   
 +  "ܸ  017&>54&#"'>32"&54632'"10!;/ U7L[#'!"""##'?5.-.(9+$/UK!60/29#####  0<  ' *   EX "/ " 	>Y     + " ܸ 
01"&54>'33267"&54632L[#' I'"01!:0 U+####UK!60/29#'?5.-/(8+#08####  P        +01/3cX\\ PX &W   W     9         +01"&5467632x!64&&!.,<X'9*  ?        +01'>5#"&54632V&% "7&9+/,<W 9k &Y   Y    ?q &Z   Z    ?p  |Z   ?pq | 'Z   Z   - B        +017'57$vvB>  6 B        +017'7'7Y#vv#B> - Bw &_   _    6 B &`   `     )         +01753)?? ) c    )         +0175!)99  )         +0175!)99  )         +0175!)99  ) o        +01!5o99  )         +0175!)99 ) f   A N    (     
   +017".54>32(()) ,--,           +015!~77  8o        +015!877 :        +01"&'73267e`mm`eA?):55:)?A  RP	       +01.5467>FF>3:99:dބe`ss`  &P        +01'>54&'7Y3:99:3>FF`ss`e݄  ^h        +    +013#3^uu\//  h         +    +0153#53tt//  "h 1 +  /    +    +    + &  901"&54>54.#52>54&546;#";;:""	:;-)  )8M1..43X7M8/*1.T313		403T.1*/  h 3 +      +    + #  $ +  $ #901532654&54675.54654&+532"#)  ),,	$2!,/*1.T304		313T.1*/3'7X3/4..1'3  
`Q     EX /  >Y  013
<f  \        +013\:  `T     EX /  >Y  013;f  \        +0133\:::#50  :h     EX /  >Y01'7'7737'(9af	1	ga8'G^(.lk.(^V  6  6   EX /  >Y    +  и /  	и 	/015'37'FP;GG  6  X   EX 
/ 
 >Y    +    +  и /  и /  и /  и /0175'75'37'7'FPGGGG  -  G      + ,  3 +01>54.'"&'732654.5467.54>32.#"u(=G(<G w6X2:((-)=H=)0&'8&0M(6!*%)>G>)/&+;\!+ &!",!(E&!-(&*=.,@(/$"5%$+=.0;'2$  )   %   EX /  >Y  EX /  >Y013".54>;|T6]C&$AX4,P 25R9;Q3R  \+        +   и  01333\:[: U &S   S   & &U   U   Uw &S   U    &R &U   S       , <   EX !/ ! >Y    + ! 'ܸ  ܸ  ܺ    9017/3>54&#"'>32"&54632
F75$?/#Z6(C.&+"""##SA().,=!+)-*:"%<3//5 ####  ^         +0133#^u/~            +013#53t/O  ^~        +0133^>u4}/   ~        +01533t>4/N  ^h[   '      +    +  и  
013#3'3#^nn--\///  h   '      +    +  и  
0153#53'3#nn`,,///  ^       +013#^u/          +01#53t/R  ^h        +0133^>u/  h         +01533t>/R  1  ' E D   EX  /   >Y   
 +     (ܸ  2ܹ 9  ( ? 01".54>32'2>54.#"7".54>32.#"3267tAvX44XvAAuY44YuA9dK,,Kd99dK,,KdA&B23C$*;#)7CA6 0>/W{MLzV..VzLM{W/**MkBAkL))LkABkM*^3I/+F2!'K;BM*!  1  ' 6 ? <   EX  /   >Y 
   + ?  ) + 8  4 +    01".54>32'2>54.#"'32+532654&+tAvX44XvAAuY44YuA9dK,,Kd99dK,,Kd>6((6I>-11->/W{MLzV..VzLM{W/**MkBAkL))LkABkM*jk-!1!s%*$   ?  ' 5 = W  5/ */ 5 ܹ    * ܹ 
  3 5 *9 3/ 7  0 7 39 5 2и * < 01".54>32'2>54.#"'532#'#53254&+'D33D''E33E'7((7 6''6(L ...#)+?4H,,H44H,,H4%*;$#;++;#$;*=$SFFf"  n`   ]  / / и  к   9 /    и  
и          01#5!#333?3#57##'#fcdI/.H7I/In 66 6tNNtʉii  b` ) = {  =/ +/ =  и  /   + и / 
   9      9 9 = +9 9/ .  + 1и = 4и 1 7  + ; 01"&'732654&/.54632.#"733?3#57##'#!9!)/%:/2$."(I/.H7I/Ib%(#'1'	'# 6tNNtʉii  b~  1 K  +   +   % +    +  и /  и / и    0133?3#57##'#".54>32.#"3267I/.H7I/I5'(60 #64$!2n6tNNtʉii*='&=+%:89<"  n   % [     +   $ +   и  и  и и  и /    	и    0133?3#57##'#!32#'32654&+I/.H7I/I>\JNNH".../n6tNNtʉii6OIKS/:536  3e E T c  @    + F   + #  M + 
  6 +  к   #9 & # 9 F ,и  I  & J 01".54>32#"&'##"&54>3237332>54.#"326726?.#"J_7CsTLyU.%:G")9@!3E2G,(7'T/'#FhDC~b;-Pm@.R"U{-/!(.[Wdt?0WzJBcC"&&'HE(SC*(u5M1<gJ*7dXIrN)13 2<0*  3 I W k  C    + 
  9 + J   + P  % +  и /   %9 ( % 9 J /и //  L  ( M 01".54>32#"&'##".54>3237332>54.#"3267'2?.#"oArW2>iNCmN+4B"&0>#'/D*'8(#*! >\==rY5)G`7#D&N9(1+"'NvOZh9*LkB<]?!)$("0&N?((<60G.6Y@#0Z~NDcA .:.7)'  #        EX 	/ 	 >Y  EX /  >Y  EX  /   >Y  EX /  >Y    +    +  и  и  и  и  и  и  и  0137#537#53733733#3##7#37#ZPWU\55QWU\5 9::9 C    $       	  T   EX /  >Y  EX /  >Y  EX /  >Y   9 /   9  013'.'#3#'#^X00JJ+S+,R  Z     % W   EX /  >Y  EX /  >Y $  9 $/   
  $9      01332#32654&+32654&+Z+G4--7A9N.dNE:>>QZAMIEZ1#&=;6'8&+*((#v+3-*  4  9   EX 
/ 
 >Y  EX  /   >Y 
      01".54>32.#"3267*5ZB%'C]62O/3"M\XM';."U$EdA?eG%(3j^_k2%&  Z     5   EX /  >Y  EX /  >Y 
    01332#'32654&+Z~@>]YY]>Aca[d  Z    M   EX /  >Y  EX /  >Y      9 /    	 013!#3#3ZFB?B  Z   	 9   EX /  >Y  EX 	/ 	 >Y    +   013!#3#ZGD@  4 ! O   EX 
/ 
 >Y  EX  /   >Y 
        
  9} /  01".54>32.#"32675#5338]D&'F`89N.5(Q`ZW0pZ$EdA@eF%)3j`^k=!  Z    Q   EX /  >Y  EX /  >Y  EX /  >Y  EX /  >Y   	 +0133353#5#ZSSS  Z     %   EX /  >Y  EX /  >Y0133ZS  _  +   EX 	/ 	 >Y  EX  /   >Y  01"'732653k4:$9*+T'=X):/9c#=.  Z    e   EX /  >Y  EX /  >Y  EX /  >Y  EX /  >Y   9   9 
  90133373#ZS\YZ_  Z    +   EX /  >Y  EX /  >Y  01333ZS?E  Z  -  o   EX /  >Y  EX /  >Y  EX 	/ 	 >Y  EX /  >Y   9  	 9   	9   90133373#4>7##/#Z]f%&d]K-c(c-gg *++uu*,*   Z    [   EX /  >Y  EX 	/ 	 >Y  EX /  >Y  EX /  >Y   	9   901333.=3#'#ZT<MS<o']*2o)Y*  4   5   EX 
/ 
 >Y  EX  /   >Y   
  01".54>32'2654&#"'6Y@$$@Y65YA$$AY5HUUHHUU&Ff??dE%%Ed??fF&Fm^^ii^^m  Z     9   EX /  >Y  EX /  >Y    +   01332+32654&+Z.M78L.^XEACEV%<,*?( 235*  3g#  , K   EX /  >Y  EX /  >Y &   +         #01%2654&#""&'.54>323267&HUUHHUUQj-J4$@Y65YA$5I-E/,6na^ii^`oQ?,E]9?dE%%Ed?9]E,*">  Z     T   EX /  >Y  EX  /   >Y  EX /  >Y    + 
  9   01332#'#3254&+Z+I5A6Y`WC?V$:*;K^2(  * 1 I   EX /  >Y  EX  /   >Y      9  !  (   901"&'732654./.54>32.#"?e%,!Q.37A/#0B'9V+B&-3-(B0#2G*!9$,#
!, 5%&6&#"!-! 8(      3   EX /  >Y  EX  /   >Y    013#5!#EE?  W  3   EX /  >Y  EX  /   >Y    01".5332>53$,K7S!--!O6K6W@.-<$$<-/@W6       7   EX /  >Y  EX /  >Y   9  01333>73WUST-P--P-     ! S   EX /  >Y  EX !/ ! >Y к   9  и к   9   901333>733>73#.'#tR7	
JHH
7MqaPN*S**S**S**S*";;      o   EX /  >Y  EX /  >Y  EX /  >Y  EX /  >Y   9   9   9   9013'33>?3#'.'#[F
	CX\LJz%%z))     7   EX /  >Y  EX /  >Y   9  013533>?3XBBVB77  -   	 E   EX /  >Y  EX 	/ 	 >Y   и /    и /0135!5!!-g1D1pE   &       &       &       &       &       &       &       &       &     3&       &   
    &   G    &   I    &   K    8&   M  3&   '      A&   O    A&   Q    E&   S    <&   U  3&   '     ,  % _   EX /  >Y  EX /  >Y    +  	к 
  9 
/ 	 и 
   #  901"&54>7#'##33273'.'#(800T^#--,+& 	>-JJ+S+,R       s   EX /  >Y  EX /  >Y   9   9  
   к   9         0135#	!#3#3!5#0+g㾾L$Y)SB?B   &      &     !      - g   EX /  >Y  EX /  >Y + , +  ( + , и + и /   (9     " 0135#5732#32654&+32654&+3#mLL+H4-.8A9N.dND;>>QZAMIEZ~~$Z1#&=;6'8&)-**%h-5/-I( ZW&    4&   (&   4&   & 4&   & 4&   & 4&   & Z  &    Z3&    ZW&    !  q   Z  &    Z  &    Z  &    Z  &    Z  &    Z  &    Z  &    Z  &    Z3&   
 Z  &   
 W  &    Z  &   G 5  &   I Z  &   K Z  8&   M Z3&   ' 
  Z, ! ]   EX /  >Y  EX /  >Y    +  
    9 /       01"&5467#!#3#3#3267j(7.F!	.,+*AB?B%- Z  U&   Y 4&   4 4&   4 4&   4 4&   4 4&   %1   4&   4 4&   4 4&   4  4 1 Y   EX 
/ 
 >Y  EX  /   >Y    + 
 !    '  . 
  9} ./ , 01".54>32&54632.#".#"32675#5338]D&'F`8&7.	.5(Q`ZW0pZ$EdA@eF%	(5; 3j`^k=! Z  &   ) Z3&   ) Z&   )     V   g   EX /  >Y  EX /  >Y  ܸ и  и  
и  ܸ и и  и  ܹ  0157533533##5##35# NSSJJSSS)XXXX.PP   &     M  
&      &      4&      &      	&     J   &      &     ?   &   
  M3 &      +,   5   EX /  >Y  EX /  >Y    +  
01"&5467#3327(8+S"-,++<4-  &     &   / Z&   %+   Z3&   + ZW&   + S  &     Z  g&   Qo Z&   %   Z  &   N   Z3&    3&   '   ZW&        ]   EX /  >Y  EX /  >Y   +    +   9  и  и и  
 017'7373!5eS08N1^E Z  -&   C Z  -&   C Z3-&   C Z  &   , Z  &   , Z  &   , Z  &   , Z&   %+   Z  &   , Z3&   + ZW&   + 4&   & 4&   & 4&   & 4&   & 4&   & 4&   & 4&   & 4&   & 43&   ' 4&   
& 4&   G& 4&   I& 4&   K& 48&   M& 43&   '& '  /  " *    EX /  >Y  EX  /   >Y    9    9    9    9    9    9       #  (   9 )   901"''7.54>327&#"2654'']?8$<$@Y6.N8%<$AY)BJWIW*6AF#]9?dE%AF"[9?fF&I2+kn`F2,  4     U   EX /  >Y  EX  /   >Y    к    9 / 
      01!"&5463!#3#3%3#"H`&&a[[B?BBca[d  4-  + K   EX 
/ 
 >Y  EX  /   >Y    
9  и      
 & 01".54>32654&'7'2654&#"'6Y@$$@Y6;0R@
:.(-$AY5HUUHHUU&Ff??dE%C&0;#lG?fF&Fm^^ii^^m 4-&+   & 4-&+   & 4-&+   
& 4-&+    43-&+   '  4, $ 0 I   EX /  >Y  EX /  >Y    +  и  %   + 01"&5467.54>3232672654&#"D(7#7X>!$@Y65YA$WP)%	.1HUUHHUU,+!;'Gc>?dE%%Ed?i"8-m^^ii^^m 4&   & 4U&   Y& Z  &    Z  &    Z  &    Z&   %   Z3&    Z3&   '  ZW&    *&     *&     *&     *&   (    *&   %   *&     *3&     [' * ]   EX /  >Y  EX  /   >Y      9  ܸ      и / #  901"&'732654./7.#"#4>322N+3),#<-q6*?GT9R5I^qTN*<#2.$ .r%KKG.K5J;qI:6)   &     &   (    &   %    3&     W&          U   EX /  >Y  EX  /   >Y    9  и    
и  и  0135#5735#5!#3#|Y#||,EE/ W&   # W&   # W&   # W&   # W&   # W&   # W&   # W&   # W&   # W&   # W&   C# WU&   <# WO&   E# WU&   ?# W3&   # W&   
#  W, - ;   EX /  >Y  EX /  >Y    и  "01"&54>7.5332>53327A(8	-J6S!--!O!/'(-,+!	5V>.-<$$<-/5I2"8-  Wc ' 7   EX /  >Y  EX  /   >Y    и "01".5332>53>54'7$,K7S!--!'3@
*6K6W@.-<$$<-/')')@W6 Wc&Z   # Wc&Z   # Wc&Z   
# Wc&Z   # W3c&Z   #   &   V   &   V   &   V   &   V  &      &      &      &      &    3&      &   
   &     -  &     -  &     -  &     -3&     -W&      !     W   EX /  >Y  EX 
/ 
 >Y   
9 /  и  и и 
     01757532+532654&+3#!M~S>]YY]>~~+߁ca[d/  Z     9   EX /  >Y  EX /  >Y    +    +013332+532654&+ZS^.L88M-^UEBCDUV$<,*>)p055(  :  # Q   EX /  >Y  EX  /   >Y 	   9 	/        	 ! 01".5467!.#"'>32'267!"5U=!QK'B([:5W>"$?Y4?S	Q&Gc<V_7&%Fd??dG&DVPNX  Z % a   EX /  >Y  EX  /   >Y         9      и /  и /01"&'732>54.#"#3>32i'	"0 KSQO-)G4);A/O<7K/+#? +@fHIhC  Zh   7   EX /  >Y  EX /  >Y    +  0133"&'732653ZS$
%S>A2-KW      Z      Z    /   EX /  >Y  EX /  >Y   013!#ZHF@       5   EX /  >Y  EX /  >Y   
  901353%!/#_Q881+1Eإ Z     -     Z      4   # C   EX /  >Y  EX /  >Y    +      01753".54>32'2654&#"̶[6Y@$$@Y65YA$$AY5IVVIJVV??%Ge@?dE%%Ed?@eG%Cmaaiiaam Z      Z           3   EX /  >Y  EX /  >Y к 	  90113#.'#aWUU-P--P- Z  -   Z      1      C   EX 	/ 	 >Y  EX /  >Y    +    	  0135!%53%5!1vfBB??BB 4    Z    3   EX /  >Y  EX /  >Y и   013!##ZS@ Z      ,    E   EX /  >Y  EX /  >Y 	  и /    и /01357'5!!!,m 1-AB           0_   ' G    & +    +  
и  и & ܸ & и  и  014&'>%5.54>753WKKWqWKKW8Y?""?Y8K7Z?""?Z7BGIBBIGG5J//J5GG5J//J5G       ?  2  K   EX /  >Y  EX /  >Y    +  и  
и  и 01!5.=33>=3doPBAMABPod`f|HCCH|f`  ,  % - Y   EX /  >Y  EX  /   >Y   и   и  и /  $   ,и ,/013535.54>323#5>54.#",k##?Y67Y?##k0=(;%%:)=/B*4?%6]C&&C]6%?4*B;#gK(F22F(Kg#;  &      &         	   U | /  EX /  >Y  EX 
/ 
 >Y   
9 к   9     013'.'#3#'#!3^X00SJJ+S+,Rb  Z     S | /  EX /  >Y  EX  /   >Y 
   9 
/    и   и 0133353#5#!3ZSSSSb  ,   - 1 g | //  EX /  >Y  EX  /   >Y   и   и  и /  $   ,и ,/  .013535.54>323#5>54.#"!3,k##?Y67Y?##k0=(;%%:)=/SB*4?%6]C&&C]6%?4*B;#gK(F22F(Kg#;b       Z     M   EX /  >Y  EX /  >Y      9      013!!32#'3254&+Z`c,L7 6K-f[EDXE"7();&>`.' Z     Z  x    T    K } /  EX /  >Y  EX /  >Y   и и  и   01#'53>7>7!3#5!73#iG	
&FGb"			6*B1%>=A(@6v4|303 Z         +    EX /  >Y  EX /  >Y    +   к   9  	   и /  и  и 	 "и  )к & ) 9   (01!5##'.#*'63235337>32&"#"#'#6LY8 (=@ENE?>'
!7YKt&K'9ւ9'K&s  + * M   EX /  >Y  EX  /   >Y    +        #  901"&'732654&+532654&#"'>32<a+*$J03HICA1D<:-I6+ Z2Sc*(0> 7J$'8  1.0-8**%+37#K?)<	A3&;)  Z    E   EX /  >Y  EX 
/ 
 >Y и  к   9   
901#5467##337M<SM<*Y)o*]'o2 Z  &   *w  Z    W   EX 
/ 
 >Y  EX  /   >Y    + 
 и / 
     9   013337>32.#"#'#ZSWN 	
FYXՃ%L%s     A   EX /  >Y  EX  /   >Y     и /   01"&'732>7>7!##2

 S")K	6,ORB?=O/ Z  -   Z     4   Z     Z     4           G   EX 	/ 	 >Y  EX  /   >Y    	  9    	9 	 01"'732?33?3x$.W_,'XRBG&ll]4;  /S    Y   EX /  >Y  EX /  >Y  ܹ   и  ܹ 
  и  и  014&'>%5.546753SMMSySMMSp~~pGpp?CD??D	COb]]bIIb]]bO       ZT)  A } /  EX /  >Y  EX  /   >Y    и  0133333#5ZSTFG@@6  C    7   EX 
/ 
 >Y  EX /  >Y    + 
 01!5#".=3326753o. /L4RBA)T)C1~~>/  Z    C   EX /  >Y  EX /  >Y    и  и  	01333333ZPPP@@  ZT  Q }  /  EX /  >Y  EX /  >Y    и  	и  и 	 015!333333PPPF@@@6    D   C   EX /  >Y  EX /  >Y    +      013#5!32#'32654&+ʮV.M88M.VNBFEELF$:(,=(C-30+  Z  v    I   EX /  >Y  EX /  >Y    +   и  и   01!3!332#'32654&+#SSL.M88M.LDBFEEB$:(,=(C-30+  Z     9   EX /  >Y  EX /  >Y    +   013332#'32654&+ZS`.M88M.`XBFEEV$:(,=(C-30+      I   EX  /   >Y  EX 
/ 
 >Y      
9 /      012#"&'73267#53.#"'>3W?$%BZ49W.?(FU	PB&;,#Q$Dc@FgD",4W^?KS4!#  Z  " e   EX /  >Y  EX /  >Y  EX /  >Y  EX  /   >Y 
   +       01"&'##33>32'2654&#"fsSStb4X@##@X5FTTFGSStju%Ed??fF&Fl__hh__l       T   EX  /   >Y  EX /  >Y  EX /  >Y    +   9    01#5##7.54>335#"T_^6B4I+	WV?AK<+:#'2_ Z  &    Z  &     & ' S   EX /  >Y  EX /  >Y !   +     и     &и &/015!#>32#"&'732>54&#"#+*I6+8
A=&TEE(>,+<%A
$51 Z  &x   w  4   M   EX 
/ 
 >Y  EX  /   >Y 
    
  9 /      01".54>32.#"3#3267*5ZB%&D\63O/5$DW
WJ';."U#DfBBeE#(3PN?X]2%& *   Z       &             =   EX /  >Y  EX /  >Y    +   и  01"&546323"&546323?uSX _      & / W   EX /  >Y  EX  /   >Y   / +       и /     '01"&'732>7>7!32+#%32654&+2

C.M77M.z")s:BGEE9K	6,OR$:(,=(B?=O/O-30+  Z     g   EX /  >Y  EX  /   >Y    9 /    и  и /   й    и /013335332+5#%32654&+ZSTC.M77N.>:BGEE9$:(,=(C-30+       E   EX /  >Y  EX /  >Y    +     и  015!#>32#54&#"#+.H2R<<&TEE'A.>/ Z  &   #w Z  &   *w &    w  ZT  ; } 
/  EX /  >Y  EX  /   >Y  и   013333##'ZST	E@    .   H   EX /  >Y   +    +  ܸ  и  	и   013#53533#32#'32654&+qqTB.M77N.A9BFDE8:cc:^$8(*=&?,30(  4   ! M   EX 
/ 
 >Y  EX  /   >Y 
    
  9 /      01".54>32"!.267!'6Y@$$@Y65YA$$AY5BT	>	UAEVV%FeAAdE##EdAAeF%SNNSh_YY_       E   EX /  >Y  EX  /   >Y  и /    9   01333>?>32.#"WU020	x,Q-2L,B7Kv  Z    5 | /  EX /  >Y  EX /  >Y   013373#ZD@  !    Q   EX /  >Y  EX /  >Y 	  9 	/ ܸ и /    	 017575!#3##5!OHS,F/  T 0  }  /  EX /  >Y  EX 
/ 
 >Y    + 
 и и  к   9     и /  и  "и  (к ,  9  . 015#'##5##'.#*'63235337>32&"#"3~$KNLY8 (=@ENE?>'
!7}Dt&K'9ւ9'K&s6  +T - a }  /  EX /  >Y  EX /  >Y     9 /      #  9  ,01'.'732654&+532654&#"'>32/O$*$J03HICA1D<:-I6+ Z2Sc*(0>+;"	$ 8  1.0-8**%+37#K?)<	A3!6(  ZT  g }  /  EX /  >Y  EX /  >Y 	   +  и  и /     	 9   015#'##337>32.#"3%XSSWN 	
FKՃ%L%s6    r  t   EX /  >Y  EX /  >Y  EX /  >Y  EX  /   >Y  EX /  >Y    +    и /013#5!37>32&#"#'#ʮWN 	

	FYXFՃ%Ls  ZT?  U }  /  EX /  >Y  EX /  >Y к   9 / 
   и   015#5##33533KSSSG@6  4T  G }  /  EX /  >Y  EX /  >Y        01'.54>32.#"3267*F3'C]62O/3"M\XM';.;W	+C[8?eG%(3j^_k2A	         U   EX /  >Y  EX /  >Y   9  к 	  9  и  ܸ 01757333>?33##57X	XBBVcqS+'77/  T  i }  /  EX /  >Y  EX /  >Y к   9  к   9   9   9   015#'.'##'33>?33(LJX[F
	CXvF))z%%z6  CT
  G }  /  EX /  >Y  EX /  >Y    +  и   015#5#".=33267533K. /L4RBA)TG	)C1~~>/@6  Z    7   EX /  >Y  EX /  >Y    +  
01>32#54&#"#- 0K5RBA*S)C1>/ Z        &   \z   &    z      Z  &    :s   Z  &   *w 4&   &z 4   &    w &    w    , 8 D    EX /  >Y  EX  /   >Y 0   9 ?   9 
 0 ?9  ? 09 !   9  !  9 *   !9 $ * 9  6    9  <  *901".54>7.54>32>73&'>54&#"267.''@-(#16;#-H&&K/!4>E PU&5%+3(H$<(5+#</#?0)$ %EJ*3[)B-!+0!!) J(.)0  7   5   EX /  >Y  EX  /   >Y     01".54632'2654&#"-I3j[[k3J-3@@32A@&Ff??fF&Bejk`ajje  2     3   EX /  >Y  EX /  >Y  ܹ  013#5>73j):?5  "    =   EX /  >Y  EX /  >Y   и /  	 0135>54&#"'>32>;(?cD#34%=.%V5(A-#<R0507[NC,3#-&*)9"%ILQ,F   / M   EX /  >Y  EX  /   >Y    +        (  901"&'732654.#52>54&#"'>32B_(G50?*E3-=%2-#>*"R3&A/9.4G5G,4$0(#<!$*3%#3 -<B6#8'  $   
  S   EX /  >Y  EX 
/ 
 >Y   
9 / и    и к   
901!5!533#'35467#%]MM6F?Ʌ;   $ M   EX /  >Y  EX  /   >Y      9 /      01"&'732>54&#"'7!#>32DY&C3, @3+*$)$A1!6G,5$(29D	(=*+B-  >   , M   EX 
/ 
 >Y  EX  /   >Y   ' + 
      
9   ! 01".54>32.#">32'2654&#"
,J7%>Q-0F-34)J&KY0@#)955A@>_AMnF !21P:#QQ&?,?9//9"JF  !    3   EX /  >Y  EX  /   >Y    	013>7!5!%:*k3?$Gwkd5D1:hmzL  6 % 3 A W   EX /  >Y  EX  /   >Y &  < + 
 & <9  < &9  ,    4 01".54>75.54>32>54&#"2654.'*F4'!1-=#NZ$2F4/(3$/	3=(8!1E&4+"
;)3$N<&	 )4&*3%1*$!.'"5$)4  1 
 + M   EX "/ " >Y  EX /  >Y     + "        "901267&#""&'732>7#"&54>32?m'941H,34(H%JZ/?#+K7%=Q#9017!21O:"QQ&?,>`@NmF   U    -   EX /  >Y  EX /  >Y ܸ  017/3"&54632tS####PP####  U      1   EX /  >Y  EX /  >Y  ܸ 013?3"&54632g9)####PP####  0o&  & *   EX /  >Y 
   +  !ܸ  017&>54&#"'>32"&54632$+,>2(O4HU!%"""##( #*10%D:,"##### P[ ^W  P[X^ &W  W  9X dY  ?[ gZ  9Xkd &Y  Y  ?[qg &Z  Z  ) .c   ) s,        +0175!)J99  ) ,        +0175!)]99  R	v       +01.5467?EE?3:99:~TnmUO^^N  & v       +01'>54&'7Y3:99:3?EE~N^^OUmn  ^]        +    +013#3^uuf//   ]        +    +0153#53ttf/e/=  "] / +  -    +    +    + $  901"&54654.#52>54&546;#";;:	""	:;-)  )f1D&>$4%='D1/"(!:"01	2.#: (#/  ] - +      +    + #  $ +  $ #901532654&54675.54654&+5323#)  ),<9	!2$	9<f/#( :#.2	10":!("/1D'=%4.$>&D1 #M   W    (@   #?   *P   #C   -F   2C   -@    '@!   A< ^"   '< ^#   + $   ! %   #DM   P WP    P (P@   P #D?   P *PP   P #DC   P -DF   P 2PC   P -D@    P 'D@ !  P A #"  P ' ##  P +H $  P ! %  P  #M   $  /  EX  /   >Y ܸ  01"&54632'2654&#"DQQDCRRC&00&'00ldckkcdl3ONNMMNNO  W        /  EX  /   >Y  013#5>73U!,44*z  (  @  ,  /  EX /  >Y ܸ и /  	0135>54&#"'>3234-F.(#*&C(;G'5%)A6/&,!#"*@>458 7  #? * <  /  EX  /   >Y    +   ܸ  ܺ #  901"&'732654&#52654&#"'>320J+2 .@937' ('=)-"&!3&3+!!$""#)(""#'#/1'+  *  P 
  J  /  EX  /   >Y   +  и и /  и  	к    90135#5733#'357#ܲH::o2h!.hFmQ  #C " 0  /  EX  /   >Y   +   ܸ  01"&'732654&#"'73#>324I+0"#-.$#ՠ /#%3+!!0&(.8_	"12#  -F  ' 0  /  EX  /   >Y "  +  ܸ   01"&54>32.#"632'2654&#"ER.>$",!,>+7;?#/ '&%(0h]7R6-
GK(E80$3-##,::  2  C  (  /  EX  /   >Y  ܸ 	и 	/013>7#5!+$-3VPM)7$-TUY3  -@ ! - : D  /  EX  /   >Y " 6 + 	 " 69  6 "9  (ܸ   .01".54675.54>32'>54&#"2654.'2$- !,5H
"'%2&$2 .$6*(%7)&701#)%"' 1*  '@  ' 0   /  EX /  >Y    +   ܸ  017267.#""&'73267#"&54>32(0%('"-!,>+7;?"0FR.>::-##,-
HK)E80$h]7R6  A        +01.5467+--+-&!!&O=UT=;}BC}<  '        +01'>54&'7V/&!!&/)-,O<}CB};=TU  +  W     EX  /   >Y  01"&54632Y  !  W  +   EX /  >Y  EX /  >Y  01'>5#"&546321"2t%(%$-D # M  
 W
   
 (
@  
 # ?  
 *
P  
 # C  
 - F  
 2
C  
 - @   
 ' @!  
 A  "  
 '  #  
 + a$  
 !  a%  
 %*Q   !Bs   N_   m; 	  +  
/ / /   
9  ܺ   
9013'.'#3#'#~HC''y>>$H#%FP  9o;   % 7  / / $  9 $ ܺ 
 $ 9  ܸ  0132#'32654&+32654&+9!8)&&04,=$Q>6.11@I6;:7I( 33, 0 $""'+&$   hC    
/  / 
 ܸ   01".54>32.#"3267)G45H*)=#)<JG</#B9R54T:  '[NO[&   9z;     / /  
ܸ  0132#'32654+9pfkjd40HI.nhjp2VR  9?;  #  /  /   +  ܸ   
01!#3#39 544  9:; 	    / /   +  01!#3#9¥54   rC ! #   / 
/   + 
 ܸ   01".54>32.#"32675#53+I67K,->$+ @LHE(YF9S54S;!([NP[k3  9z;    / /  / / 	  +013353#5#9???P  9 x;    / /0139?P  
;    /  / 01"&'732653+;,$""?0$")0)2%  9;  1   / 	/ / /    9   	9 
   9013373#'9?FE~HҥT  94;    /  / 01339?4  9;  ;   / 
/ / /   
9  
 9    9    90133?3#5467##/#9ISPI;#Q!R$VVPG``G  9v;  '  / 
/ /  /   
9    90133.=3#'#9B.:A/Z J#PY!F"   C     
/  / ܸ 
 01".54>32'2654&#"*E22E**F22F*9DD99CC;S54R99S35S;6]ONZZNO]  9g;     /  /  
 +  0132+53254&+9IZ,;$LEl66E:G#3"V-!  C  * +  / / $  +   ܸ  ܸ  !012654&#""&'.54>3232679DD99CC?S$;*2E**F2TE8#	
"^PNZZNP^:-$:N/4R99S3]t0  9p;   )   / / /   + 
  9  0132#'#53254&+9!9*4+nGeLFe32F/"2=P(!  LC - +  /  / ܺ    9  ܺ (   901"&'732654&/.54>32.#".O%@!*+(? &4&E!0#)?*/P"*%#*' 1-7I  T;     / / ܸ 01#5!#C{55  8x;    /  / ܸ  01".=332>=3$;+>%$<*;-H5&33&5H- \;    / /  /    90133>?3BEC@&B&&B&P  ; ! =  /  /    9  и и   к   9    90133>?33>?3#'.'#h[A+;8;,<ZK?
=#E##E##E##E#P00  R;  ;  / / /  /    9   9   9    9017'33>?3#'.'#vE8
	6CwE<	<jjp  p C;    /  /    9  01533>?3B7
5Av..v  L; 	 '  / 	/ ܸ и /  ܸ и /015#5!3%V5&4  %*  " 5   / /   +  	ܸ   и   ܺ    901"&5467.#"'>32#'#'275-6_h#7E'<722'+M=3+57 )+F?%1(U'  4U_    L   / /  EX /  >Y    9   и / 
   9   ܸ  01"&'##3>32'2654&#"00>1?C'2%$1'*'+) ~:XK)A-3?<4<+  "    /  /  ܸ   01"&54>32.#"3267CW+9#1*76+"3WQ(?+(A54A(  !B_  ! ;   / / /  ܺ   9   и   ܺ    901"&54>32'53#'#'2675.#"@I'3,>2,$'#3*ZT&<*8w,#3=3<?  6  % 1  
/  /  
  9 /   ܸ  ܸ 
 #01".54>32#3267'34.#"!:*)7%38-*9$0+>)'?+,4
27("0   j  '  / / / ܸ и  и  01#5754632.#"3#@--04 DD/*3A
.!.1   L 3 ? N X   /  EX /  >Y G + + 4 " +  + G9  4 "9  и  :ܸ и   @017"&5475.54675.54>323##"&';22654&#"2654&+"&'<J.#-n>
!- >;8,>%''&&%,6!50,**	,+	0
 *%*(!'!!%$"!'%  4A_    / / / /  013>32#54&#"4>8 8.>&%/}C F8&,/  * ~Y     / /  ܸ 01"&546323T2>
A   Y      / /   ܸ  ܸ 017"&'732653"&54632
>*1c6=  4L_  1  / 	/ / /   9   9 
  9013373#'4>Ep~E]8͠CQ  4 _    /  / 	01"&533:7u$>	+&p/  4 " C  "/ / к   "9  к 	  9 " и и  ܸ 0133>32>32#54&#"#54&#"420!C5 6/>#%>#%A-<$E9&,&,  4A  -  / /  к   9  и  0133>32#54&#"417 8.>%&/A-F8&,/  N     
/  / ܸ 
 01".54>32'2654&#"7**77**7*..**//+>((?,,?((>+3A46@@64A  4U    H   / /  EX /  >Y и /   9   9  ܸ  0133>32#"&'72654&#"413?C'21N$1'*'+)%XK)A-?h?<4<+  !B   ;  / /  /   9   9  и  ܸ  0157#"&54>32373'275.#"0@J'34&0&&'#3*p:YO(>,( 5%>77?  4   %  / /  к   9  0133632.#"42&5,A8@8&   + <   /  EX /  >Y   ܺ    9  ܺ $   901"&'732654&'.54632.#"$A/-":5#4!#@)&6(
,7   '  <   /  EX /  >Y ܸ  	ܸ  и  и   01"&=#5?33#3275+024XX1">20[[2>.  2?  >   /  EX /  >Y   	ܸ  и   и /    901"&=3326753#'#8/>&)>17E8&+-  9 	 &   /  EX /  >Y    9 0133?3|t>::=tA``    F   /  EX /  >Y    9 и и   к 
  9   90133?33?3#/#iY@,/82+;WK++A[[[[\\  *  P   /  EX /  >Y   и  к   9    9   9 
  9017'33?3#/#lcD)%BbiD+#!)B33BE77E  7  <   /  EX 
/ 
 >Y   ܺ 	 
  9  
  9 
 01"'7326?33>?3A$	??4=w:2$?..3@   	 '  / 	/ ܸ и /  ܸ и /0157#533⧬!2"2  $h    	   +015.54>32.#"2>'5-= +*-4;!H8 0!$(+$);"  2      (   EX  /   >Y    +    01373'32EEPEEG  2         +01'3wEE           +017"&'573267h 1j
!*6+?<&1
	+	   6  $ L   /  EX /  >Y    9    9   9 к   9   017"&546733>?3'2654'#%)p?;:<n)&,#0#%%#/#,) 0)  6    ) 9  / /    +   9 /  ܸ  !ܸ  '01'7".54>32#3267'34.#"p-f#!:*)7%38-*9$0n(wf+>)'?+,4
27("0  6    ) 9  / /    +   9 /  ܸ  !ܸ  '01'7".54>32#3267'34.#"#g,a!:*)7%38-*9$0w(+>)'?+,4
27("0  3  ! 1  /  /    9 /  ܸ   ܸ  01".54673.#"'>32'267#&4 /-'5 ER(5 %/$,6-8(XQ'>+101(9  !B  ! P   /  EX /  >Y    9 и /   и /    9   ܸ  01"&54>32373#'#'2675.#"@I'3,03,$'#3*ZR'=*#4=3<>  " C  , P   /  EX /  >Y    +   ܺ   9   9  и /  '017"&'7326=7#"&54>32373'2675.#">1+-,@J'32(1N<$(#3*+1&,WH%=*&?H;22;  4 r_    / /0134>,  +         +   +01"&54632'"&54632Y  )8 f      +0153)8..  ):3c        +015!)
:))  ):
c        +015!):))  )#         + 
   +01".54>32'2654&#"-##--##-!**!!**!//""//!..#%..%#.   g- ! 5 (   EX /  >Y "   +  , 017'7.5467'76327'#"'72>54.#"F,@@,D0?:D,AA,D:@/o+  +,  ,g-A:##;B-F%F-B;##:A-E&$11$$11$  4 -    EX /  >Y  EX /  >Y     9   9  и /  и    "  9 )  9  ,и  - 015.'732654.546753.#"0Z & M.87)>I>)OB<0C,5).6)>I>)SHnc+9'8/(5'",?1CY
ec*14,$.#!/E6H\
e  5   , [   EX /  >Y  EX  /   >Y    +   +  и /     !и  "0135>54&'#573.54>32.#"3#!637dC
1D*6K00"69	 2_94 = *D0+ /A4 ; 85FG    ~  k   EX 	/ 	 >Y  EX  /   >Y   +  и к  	  9 	 и  и  и  и  0135#535#5333>?33#3#ϢVNNT0A/@!C##C!/A0   5 q   EX /  >Y  EX  /   >Y   +  и  и     !и  "и  *и  +и   / 01".'#57&45<7#57>32.#"3!3#3267?-M<)	@;;@	*?S1-N12 BPM>%71!T!@[;+		,;]A"-!/!bW1
	0U`$#,,1  =  % 7     +    +  и  и  и  $015.54>753.'>7>97@w-J56J*4,@(- 4$H'6CXOXgh%<T54R<%jg"44"g   ' 1     +     +   
 +   и 
 !01"&'7326?#5737>32.#"3#[&/)WEMP* ~&:a>
OM;8dh?	$/??.K6  = 	  7    EX /  >Y  EX  /   >Y  EX #/ # >Y  EX %/ % >Y  EX /  >Y  EX 6/ 6 >Y #        6 #9  6 #9 . 6 #9 /01".7&'#7.546?3623273&'>7><>636x&:Ck\&&)1< 30 O3HDi#cq&licfr#.#,)1b  5   4 o   EX /  >Y  EX  /   >Y '   9 '/ +и ,и и + и ' и ' &и и      3 0135>=#573.'#573.54>32.#"3#3#!637kE T=	1D*6K00"69
 2_9,,$*D0+ /A4#115FG    ~   # ) /    EX /  >Y  EX /  >Y   +    9    и   и  к    9  	  !и и  и и  -и (и и  ,и &и и  013'3'#5#575#57533533#3##'#3'5#3'5#/7,KKKKTYWAHHHHTT\6H{M93&<%*<+)"&;  
  ~   ! i   EX /  >Y  EX  /   >Y    +    !  9 !/ и !   и  и ! 013#575323#+3.#3267#SIIy,K:$>>$:L+*KB  BL3'?-8,A+El;1;9   ~   # )    EX /  >Y  EX /  >Y   +  и к   9   к    9  'и !и 	к    9  и  и  и 	 к $  9013/#3?##573373333###'3?#+o
7(GA'M?#H#AG%;A&Y)7('5
t'ii/&%$+/>ii  D    + / P   EX ,/ , >Y   + , .ܸ  и  и  и  и   ܸ  $017"&54>32'5#53533#'#'2675.#"5!HU.: %/FNN:9/(%3qgna\)B/S"1CC,S+; +>E11  
  ~  $ - 2 {   EX 	/ 	 >Y  EX  /   >Y 	   и и и и   и и  )и и  *и и  2и и  .ܸ 013#575#575323#3#+3.#4&'#3>327#SIIIIyLpG?>FqM*E3 k y$;%x7A)	)DAE?"	;L  / ) m   EX /  >Y  EX /  >Y  ܸ  и       "  9 "/ $   (и  )015.54>753.#"32675#53/N87N1<*F13")?+UM1eG)nd2TtHFrT5ec,.!%Db<{E$d   ; q   EX /  >Y  EX  /   >Y 
  + 
 и  и     'и  (и 
 -и  .и   5 01"&5467#573>7#573>54&#"'>323#3!3267Ug
ND*&E /*%3+J8%>-`,75*E%!^UL*+ ,0 $0. -(8#11 0,'3'6!-  =  % U   EX /  >Y  EX /  >Y       и  и  и  $015.54>753.'>7E@AD1P9 9P24*G1+00H.Ap
c1TvIFsT4b_,/#,&/d  H  ~  g   EX /  >Y  EX /  >Y    	ܸ ܸ ܸ  и 	 и  и      901753267#573.+5!#3##'HGHSEQBG{&DBRA^C:<,.&D15#1KW  ~ " c   EX 	/ 	 >Y  EX  /   >Y   +  и  ܸ и  и  и  и    01575575377>54&'7s\\\\T!E8$F5^050H041ǞV5VHV4W)=' ?^>  !  ~  k   EX /  >Y  EX  /   >Y   +  ܸ  ܸ  
  и  и  и  и  0135575575#5!#77ςD5DHD5D@@E5EHE5D  !  ~   9   EX 
/ 
 >Y  EX  /   >Y 
 и и и 013#57!#5!ϮFf ,0&M11  
  ~  # g   EX 	/ 	 >Y  EX  /   >Y  	  9| / и и и  и  и  и и 	 " 0135#575#5732+3#32654&+SIIIIx/Q;!";Q.) HOOH +=,;+D/0F-=0CCBE8 Y      EX  /   >Y 013j8XY   Y    # '  
 'q       #    ' 3 ? K    EX /  >Y  EX 
/ 
 >Y  EX  /   >Y  EX /  >Y  EX 4/ 4 >Y    + "  . + 
    (  " :и ( @и . F013"&54632'2654&#""&54632'2654&#""&54632'2654&#"j8HDQQDCRRC&00&'00DQQDCRRC&00&'00DQQDCRRC&00&'00X
ldckkcdl3ONNMMNNOldckkcdl3ONNMMNNO3ldckkcdl3ONNMMNNO @ '
 '[      @ '
 'F      # '  
 '      @ '
 '@      ) ' 
 'r      @ '
 '@      ) ' 
 'r      # '  
 'o      *! '  
 '      @ '
 'J      # '  
 'o      @ '
 '@      @ '
 'J       # '  
 'o       # '  
 'o        '
 '=       @ '
 'J   !    ?!    ! - j   EX 
/ 
 >Y  EX  /   >Y  EX /  >Y   ( +    + 
   ( и /  " 013#5>73#5>73"&54632'2654&#"j8HU!,4~U!,4DQQDCRRC&00&'00X4*z4*zldckkcdl3ONNMMNNO # '  
 'o       " h,       +  и  	0175#53533#ضAh>>  "+i        +015!"+>>  2 ~       +017'7'77'^,,,,~----  " `3    !  
   +    +     +015!"&54632"&54632"    +>>h 3 N { " & k    "  	      +    901-5%SӆӃBGN22N  "  	      +    90175?5/5"ӆGN22NGB  "   	     EX 
/ 
 >Y  01-5%5!S҇SJGI,,I>>  "   	     EX 
/ 
 >Y  0175?5/55!"҇SGI,,IGJ>>  "  ,   8   EX /  >Y    +  и  	и   0175#53533#5!ضA>>>>  < 	    EX /  >Y  013#/#<IHA12A~  " AS  7     +    +  и  и  и  01?#537#5!733#3!=Lg[
L<Lg[LA>>>>  $  +    +  и /  ܸ  ܸ  01".#"'>323267P/)&&.B /)&&.B  !0*  "0) $ & k    " hi       +01%5!5!h>  (  ' 3 A S  4    +   < +   . + (  	 +   	9    9 +  9 ?  901%"&'##".54>323>32%267.#"2>54&#":@]-"+47)+<#3*!)07 %?-.?h*B B&)47(<6+L%*KA9$+9!(?,%+"/@&+F1R6&+4/**8'3?748; RMk    ( " 0 M   EX /  >Y  EX  /   >Y 
  ) +    9      # 01".54>326454.#"'>32'267.#"$B28P3)O$4 @0& O/as&Fb3AY!E!JH(1G-1S;!&!	?X823 #Vd7Dlc*"XB/"  4b3 %       +    +01"'732654.54>32.#"d 
+6+
)6>RN7~80T=#>UM6~71T=#  )14        +01'73>73Gt<_ -;  m   .B   -  yV    ~  (   EX /  >Y     +   0155!!!wx5FF5GG  YI~     EX /  >Y  01!#!YUx
S     * I   EX /  >Y  EX  /   >Y    9   "   9  ( 01"&''>74>323267>54&#"
?[!+'69Jh\4%+!Bz;B!(VU		4:R5NK`O#F:3(<F3)B  .   2 G   EX 
/ 
 >Y  EX  /   >Y "  +   ܺ    
9 
 *01".54>32!"32673!2=4'.#"J`77`JI`8)pADv*42
*n>Ao*5[zFFz[55[zF	/5=3<HZ
,25-  C 	      +015!!+*I		.D  *A 	 "   EX /  >Y  ܺ    901'3'.	
/**I  'O 	      +01'7!5!'7?+J+.D.  *A 	 "   EX /  >Y  ܺ    9017373.D/*J*  -R       +01!-%<%  f       +01	YPZ  !^  ' ;       + 
   +01".54>32'2>54.#"7".54>32TrBBrTTrBBrTEa::aEEb::bE4]G**G]43^F**F^K9lb`l;;l`bl980]VV]11]VV]0a&Eb<;bE&&Eb;=bE%  -R  	       +    +017!%!!-B8@V<8B,  3L       +01533<7  3L         +0153%!3HW<7:  -f       +    9013-76vu  -f   3     +    9    9    9    90137	-796vua,+  3L       +01#5Lvu7  3L         +01#5!Lvu,7:  R       +    901#5R7  R   3     +    9    9    9    901#5	R79a  J  	 (   EX  /   >Y    +    017!%!!J=N5
v3=+4  J%   (   EX /  >Y    +   01%.'73>7!!7!>7]F+8%= iB'Do$=75)'5hM@&:~?na_|v3#=2&-=   h   .'73>7I08*CN`n;6;pbRSE&?CY:27e   &      +    901"&54>323'>54&')<*:#!2",
#A</?&&*!
./3'E)0Si)?*  8   5   EX /  >Y  EX  /   >Y     013'3?/#ݥK'>AA>?AA
TTE  R        +017RQ"[ Rj &        @       +01/76"Q[ R    9 Y   ? Z   #  3 U' #   Q' =G    =    t8    t>      \       +01'3F Y     7=  o =  o   \ +9  bA    }K    Y    s;    *}    8    JE    c  '   2v  )    .   # / ; G S _ k w      EX N/ N 	>Y  EX </ < >Y *  $ + 6  0 +     +    +    +  и  и / < B  N H  $ Tи * Zи 0 `и `/ 6 fи   lи  rи  xи  ~017"&54632'"&546327"&54632"&54632"&54632"&54632"&54632"&54632"&54632"&546327"&54632'"&54632l-=ZZ>
+amnfg~mn% q= 8     EX  /   >Y 01'7:=7 y 6c     EX  /   >Y 01'7/s7 . !   |  / 01'7CU'. =      EX  /   >Y 01'7*:=)7  c     EX  /   >Y 01'7%/*7 . _    / 017!+UG9 e8   *   EX /  >Y ܸ  к   90173'#rRr#vvX qq l F  *   EX /  >Y ܸ  к   90173'#iVi$nnqq]] SA   0   EX  /   >Y ܸ и   и  ܸ 01".#"'>323267H& 7%& 7%A ,#2$ ,#1$ O I  0   EX  /   >Y ܸ и   и  ܸ 01".#"'>32327K(!86-(!(86" 9BB:A {Y      / 015!
Y99 z      EX  /   >Y 015!99{Y    d;       EX  /   >Y ܸ ܸ 01".'732>7(:%3%%3&9;+6%%6+ c<       EX  /   >Y ܸ ܸ 01".'332>73*:&D	!!	D&:<+7''7+ n J      EX  /   >Y 	ܸ ܸ 01".'73267#4$2/++/2$4#/#11#/# i E      EX  /   >Y 	ܸ ܸ 01".'332>73*8#H$*	H#8%0#30% J 6       +01"&54632J  95     EX  /   >Y 01"&54632!!!! nK         +   и  01"&546323"&54632`K h -   (   EX  /   >Y ܸ   и  01"&546323"&54632g < P      EX  /   >Y ܸ ܸ 01'>54'7 	 SEJ(<(+6/-  Oh      EX  /   >Y ܸ ܸ 01'>54'7 	 S	BH(&'0)& * n        +   +01"&54632'2654&#"3;;33;;3!!!!*8+*88*+8%!!!!  ap        +   +01"&54632'2654&#"*77**77*1)*11*)1$ 8         +01'7'73-V;3.W:8  l   $   EX /  >Y ܸ и  017?f\8iu\8iԘ   e>   &   EX  /   >Y ܺ    9 01'737)r#vv#r> qq  l M  &   EX  /   >Y ܺ    9 01'737+i$nn$iq\\q $        +01'3;$9 98 `      / ܸ   и  01'7'7dc:Wid;V8 2 fl   (   EX  /   >Y ܸ   и  01'7'7ei8\ui8\   d8      / ܸ ܸ   01'>32.#"i3%:((9&3%%86++6%% 4 .       +01"54676323&+4E#> " > D     	 +01.5467 (JES >+.3+ 2 3      +01'67#"&5463262&2 ,E#?< P	    U       +01#5#5353U2oo2H/H  L        +01##533Lo22oHH = U     EX /  >Y  01#5#53U2o=^/         +01'654&'7T@
(7)E&-  7        +    +01&546"37<==<(!!(5..5#"" - `  "   EX  /   >Y   и 01#53533`G2G/jj  `        +   01##5#53`G2Gjj/  `        +   и  01##5#53533`G2GG2GHH/HH O `~        +0153`//3 6  n7    n    N      +  ܸ  01'>54&'7W?.$#A4U(&#",+ ? _       +  ܸ 01.5467'A4UP?.$#?$",+)  N      
 +  ܸ  01'>54&'73W?."+,5#&U([C ,+  N      
 +  ܸ  01'>54&'73W?."+,5#&U([C ,+ 2 g        +01"&54673327&4.: $.+*)@7) , m        +01"&54>733267(7< $	.,+&!	9-  #       +0173#:  y       +015##53K.aae!   d   d   S"   {W   S  M  |  B        +    +0152654&#567(!!(<==#""#5..5  y        +0153353y..``  y         +    +0153'35#yĖ(T X   G     +   и  /  и / 
  и  и /  и /0146323>324&#"#54&#"0.''.000NF  FN<(*&&*(< + T  %   EX /  >Y  EX /  >Y01'7'77'3!33!33!33!3+!33"33"33!3SA    7 Z        +01"&=33267,(%@
	
0-.1 :&      +01'>32.#"Reကe`mm&*>AA>*:55 rL L    '   / 
  +   ܸ  и 
 01'7"&546323"&54632#R1s" l     4   EX  /   >Y   +   ܸ   и  01"&54632?"&54632g-_5ohw$ml e3     '  / 
  +  ܸ  и 
 017'"&546323"&54632(-BDt=  rL L    #  
  +    +  и 
 01'7"&546323"&54632`1Ri"s l     4   EX /  >Y   +  
ܸ  и 
 01'7"&546323"&54632&%o5.Qm$ e3     '  /    +  ܸ   и  01"&54632'77"&54632q]@B)IS  gL &  # / 7    +  *и ܸ ܸ и ܸ и  и  $01>323267#".#""&546323"&54632*&$**&$'5'5z rL     '     +  ܸ ܸ   и  01"&54632'5!"&54632`:%L// l     0   EX  /   >Y ܸ ܸ ܸ   и  01"&54632'5!"&54632g3.. rL H    5    +  ܸ  ܺ    9 и  и  0137#'"&546323"&54632b``^D^ HII\\ l     >   EX /  >Y ܸ  ܸ ܺ    9 и  и  01'737"&546323"&54632$c!dd!cG`KK`| z:      	  +   +  ܸ 01'73'#?idDdgeW1e:"\\"Hx"r  x   ,   EX  /   >Y ܸ ܸ   и ܸ 
01'73'#'7_"]H]"]{a#ZZE ]' 	:       	 +   +  ܸ 01'73'#''7idDdga#q0:"\\"Hp$ - x   0   EX  /   >Y ܸ ܸ   и   	ܸ 01'73'#''7_"]H]"]YZ#ZZEX% z:    '    +  ܸ и ܸ 	ܸ ܸ 01'73'#'>54&'7idDdgv	 %;?!:"\\"H#)$#     4   EX  /   >Y ܸ ܸ   и ܸ 	ܸ ܸ 01'73'#'>54&'7_"]H]"]u!&	;=8ZZE#*$#&# w: #   7    +  ܸ и  ܸ ܸ и ܸ и  01'73'#'>323267#".#"idDdg!#"+!#":"XX"EK'2&3 o    D   EX  /   >Y ܸ ܸ   и  ܸ ܸ и ܸ и  01'73'#'>323267#".#"_"]H]"]$)"-$)"WWBS&5'5 d; @   #    +   ܸ ܸ  	ܸ 01'7".'732>7'X4`(:%0&&0&9|(+6''6+ n    ,   EX /  >Y ܸ ܸ ܸ  
ܸ 017".'73267&_5k#4$/0--0/$4@t$mb#/%33%/# d; @   #    +   ܸ ܸ  	ܸ 01'7".'732>7e4X,(:%0&&0&9q(|+6''6+ n    ,   EX /  >Y ܸ ܸ ܸ  
ܸ 01'7".'73267&)k59#4$/0--0/$4@m$#/%33%/# d; P  % +    +   ܸ ܸ ܸ ܸ  ܸ !01'>54&'7".'732>7#)=D$(:%0&&0&9$2((r+6''6+ n   ! 4   EX /  >Y ܸ  ܸ ܸ ܸ ܸ  ܸ 01'>54&'7".'73267
!%;>"#4$/0--0/$4 #*$#b#/%33%/# p; "  ) 3  	   + 	 ܸ и !ܸ ܸ &и ܸ и ! )01".'73267'>323267#".#"%4#/.//./#4#%"/#%";&++&&2&2 o   ) /   / 	ܸ ܸ и !ܸ ܸ &и ܸ и ! )01".'73267'>323267#".#"#3#......#3$)"-$)"&**&'5&5 : $   +    +  ܸ и  ܸ ܸ ܸ 01'73'#7".'73267b_D_`-&(**(&-:SS>I
  
 w    8   EX  /   >Y ܸ ܸ   и  ܸ ܸ ܸ 01'73'#7"&'73267_!\H\!]BB.*,,*.BWWEI8&!!&8 {Y K       +   ܸ 01'75!" &
'c199 z        EX /  >Y ܸ  ܸ 01'75!y';&g099 h/ z   ,  /  EX  /   >Y ܸ 	ܸ ܸ  01.546777#F;I3+JCA )*3'. ^/ l   ,  /  EX  /   >Y ܸ 	ܸ ܸ  01.5467'7A#F;Is@K&A )*3'8 s2 '  % /   / ܸ ܸ ܸ ܸ ܸ "и ܸ и  %01.5467'>323267#".#"$:?;% #%"/#%"2"'|&2&2 d/    ,  /  EX  /   >Y ܸ ܸ ܸ  01'>54'77x
I;F#r*JBA&'3*)  d/ s   ,  /  EX  /   >Y ܸ ܸ ܸ  01'>54'7'7x
I;F#?J'A&'3*)  s2 '  % /  / ܸ ܸ  ܸ ܸ ܸ и ܸ и  01>323267#".#"'>54&'7#%"/#%"C %;?:&2&2!'"    & !    $6    & !    '$       h   v       
   s              b  '    :        Q            1    	e  
L  
    (    #      <              a    v    v    n  [              z       X     !  "  "&  ">  "V  "n  "  "  "  "  "  "  #  #.  #F  #^  #v  #  #  #  #  #  $  $  %  %  %  &  &  &  '  '%  '=  'U  'm  '  '  '  '  '  '  (  (%  (=  (U  (m  (  (  (  (  (  (  )  )5  )  *  *#  *;  *S  *k  *  *  *  *  +  +  +  ,  ,  ,  ,  -  -%  -=  -U  -m  -  -  -  .1  .I  .a  .y  .  .  .  .  .  /	  /!  /A  /Y  /  /  0
  0"  0:  0R  0j  0  0  0  0  0  0  1  1*  1B  1Z  1r  1  1  1  1  1  2  2  22  2R  2j  2  3  4A  5#  5;  5S  5k  5  5  6  6  6  6  6  7  7"  7:  7R  7j  7  7  7  7  7  8  8  8  8  9  9)  9  9  9  9  :  :  :6  :N  :f  :~  :  :  :  :  :  ;  ;&  ;  <  <  <  <  =   =  =0  =H  =`  =x  =  =  =  =  =  >  >   >8  >P  >h  >  >  >  ?\  ?  @  Ae  A  B  B  B1  BI  Ba  By  B  B  B  B  B  C	  C!  C9  CQ  Cq  C  C  C  C  C  E  F}  F  F  G  G  G  H  H  H6  HN  Hf  H~  H  I  I  I  I  J  J  J1  JI  Ja  Jy  J  J  J  J  J  K	  K)  L0  LH  L`  Lx  L  L  L  L  L  M  M  M6  MN  Mf  N)  N?  NU  Nk  N  N  N  N  N  N  O  P  P1  Pn  P  P  P  P  QP  Qf  Q~  Q  Q  Q  Q  Q  R  R  R  R  R  S  S#  S;  SS  Sk  S  S  S  S  S  S  T  T+  TC  T[  Ts  T  T  T  T  T  U  U#  U;  US  Vj  W  Xp  X  X  X  X  X  Y  Y  Z
  Z"  Z:  ZR  Zr  Z  Z  Z  Z  Z  [  [  [2  \2  \J  \b  \z  \  \  \  ]  ]  ]  ]  ]  ]  ^  ^/  ^G  ^_  ^w  ^  ^  ^  ^  ^  _  _  `  `  `  `  a  a#  a;  aS  ak  a  a  a  a  a  a  b  b+  bC  b[  bs  b  b  b  c  d  er  e  f  g  h  i  j;  k<  lB  mR  n
  n  n  o  p  q  rj  sA  s  t  u  v  w  x  y0  y  z  {L  {  |H  }9  ~  ~X  A    l  Z  `      p  +            f    d        L        *    ]    y            J    l  8  +  C  [  N    -  E  ]  u                                (  @  X  p                 8  P  h                5  M  e  }             0  F  ^  ~        .  >          #        o          y                k                  5  P  j          w  .    u          [        .        h  T                (  >  V  n      ´          $  <  T  l  Ä  Ú  ð          "  8  P  h  Ā  Ę  Į             8  P  h  ŀ  Ŗ  Ŭ             8  P  h  ƀ  Ƙ  Ʈ             8  P  f  ~  ǔ  Ǫ        
  "  8  N  d  z  Ȓ  Ȫ        
  "  @  ^  ~  ɞ  ɾ        2  P  n  ʎ  ʮ        .  F  d  ˂  ˢ        "  B  Z  r  ̊  ̢  ̺          2  J  b  z  ͒  ͪ        
  "  :  R  j  ΂  Κ  β          *  B  X  n  τ  Ϛ  ϰ            4  J  `  v  Ќ  Т  к          2  J  b  z  ђ  Ѫ        
  "  :  R  j  ҂  Қ  Ҳ          *  B  Z  r  ӊ  Ӣ  Ӻ          2  R  r  Ԓ  Բ        2  R  r  Ւ  ը           >  \  z  ֘  ֶ      
  *  J  j  ׊  ת      
  *  J  j  U    ڹ    ۍ  ۥ  ۷      $  6  e  w  ܉          )  ;  M  _  q  ݃  ݕ  ݧ  ݹ        C  ޖ    9  ߨ      Q  !  1                ,  D                      Z  j    Z    X            I  a  y  ?  W  
    *  B          %  =  U  m    t  %              m        g  7    T  d  |                $  <  L 8  C     V n   n   ; K [   
P 
` 
 G  A  _   f    0 $ <        5 E ] u     1         E   L \ t         , D  P ! # # $ $ % &8 & ' (/ )S *  * + ,) , - -, -< -L -\ - - - . /v / 0e 0 1 2] 3 3 3s 3 4; 4K 4 5C 5S 5c 5s 5 5 5 5 6= 6 6 6 6 7= 7 87 8 9  9 9b 9 9 9 9 : :4 :a :y : : : : ; ;4 ;[ ; ; ; ; < <7 <x < < =. =f > > > ?# ?Y ? ? @B @ A B( Bh B B B B C C C D  D* D~ D D E( ER E| F Gm Hn I" JO K, K MA N O O P: P Q R Rx R S T  T= T U4 U{ VG V Wx W X Yd Z; Z [ [ \H ] ] ] ^ ^  ^8 ^P ^h ^ ^ ^ ^ ^ ^ _ _( _@ _X _x _ _ _ _ _ ` a a a b b b b c c c5 cM ce c} c c c c c d d d5 dM de d} d d d d d e e e f f f3 fK fc f{ f f g g g g h h h h h h i i, iD i\ it i j j  j8 jP jh j j j j j k  k k k k k l l l7 lO lg l l l l l l m m' m? mW mo m m m m m m n o1 o p p p p p q q r r r4 rL rd r| r r r r r s s, sD s\ st tP th t t t t uO ug u u u u u u v v' v? vW vo v v v v w x: xR xj x x x x x x y y* yB yZ yr y y y y y z z z2 zJ z {p |1 } }| } } } ~O ~_ ~o ~ + ; K    H X   0 @ P  $     c       Q a i /   {  & 6 F V f v     U  >  Y  y &       O _ o   ,   ` x     j  ^     s    T !  2 B Z r         z  [   a   S b 1  
        , Q v   , d          2 D V h z        
  . @ R d v     _     O   : y   c u          ) ; M _ o      p      ;   W  8  =  a   K  Ë  4  ń  Ƙ : Ǩ  / |  U ʜ C ˯ %  n  Ή  ψ  l  ю  4 ҂ ҩ  ӳ l % վ u G l    9 د v z S    r           S   9  7 G W y   0 R t      @ b      . * L    l ~    f  " h  X n      a q       Q    -  0 \   3 a   >   +  p   m        + = O a s         " 4 F X j |   ) Q    , {  |    	H 	 
 
l 
 
 J   j  $ X   = e   X   ! 1 ]    J    ' 9 K ]   D   0 U        5 a  7    (  4  .  :  y    8   ;     4   !V ! "H " #a $ $ %_ % &g & & '\ ' (p ( )R ) ) ) ) ) ) ) * *&    `7_< 	    
    ?\:o   	       Y     L Z; 4g Z Z Zi 4 Z Z C Z Z Z Z 46 Z 49 Z *  W     - 4) R .+ / .$  -  R  C  R  R= R# R .+ R+ /[ R R   K                                                 6 6 6 [ L Z; 4; 4; 4; 4; 4g Zg Zg Z~ ! Z Z Z Z Z Z Z Z Z Z Z Z I Z Z Z Z Zi 4i 4i 4i 4i 4i 4i 4i 4i 4 Z Z Z   M J ? N + C ZC ZC Z P Z Z Z Z   Z Z Z Z Z Z Z Z Z Z Z Z 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 2O 4 7 7 7 7 7 7 49 Z9 Z9 Z9 Z9 Z9 Z9 Z * * * * * * * [       W W W W W W W W W W W W W W W W W W W W W W W     - - - - -~ !G Z :{ Z Z 4 4 4 4 4 4 4 4 4 4 4 4  4 4 4 4 4 4 4 4 4 : : :  ) R . . . . .= /+ /+ /+ / . . . . . . . . . . . .  . . . . . - - - - - - - -   R  R  R     C       7  C  &  &   R  R R R R  A Rj R  >  R   = R= R= R# R# R# R# R# R# R# R# R ? . . . . . . . . . . .  . . . . . .G . . . . . . . .[ R[ [ >[ R[ C[ C[       @ RR R R R R RR   K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K  K                 ! 5+ R# R  C  K+ R+ R  .+ /+ / %+ / R % % 2 %" 2/ 2/ 2 .  # K  R  R2 S U ..  RA R R= M= M= R## R R . . .[[[[ RN R R    R ?  % K            ;A 7 @ R o W .W %W .W WW W &W .W W .W .W .W  Z+ /+ /+ /+ /+ /+ /+ /+ /+ /+ /+ /+ /+ /+ #+ /+ /+ /+ /+ /+ /+ /+ /+ // 2/ 2/ 2/ 2/ 2/ 2/ 2/ 2/ 2  R  B	 Rj R    E  ,   L Z ZL  Z - Z 4 ZC Z   Z Z 1 4 Z6 Z ,  0  ? -6 OGX0 .5 O  4 . 0 K
 ; R I 2 R   .J % N" .  < . 	 = 3 .0 N
 B .0 . . K R . < < 3 <D=6 6 ee    OOyuuqHH}}GGtvplXX{11" G@hh Z|xwtJJ -~660 .0 .0 .0 .0 .0 .0 .0 .0 .0 .0 .0 .0 . . . . . . . . . K K K K K K K K K K K 8 , D . . . . . . . .% N% N < < < < < < < < < < < < < < < < 3 3 3 3 3 3 3 3 3 3 30 .0 .0 .0 .0 .0 .0 .0 .0 .0 .0 .0 . K K K K K K K K K K K K 3 3 3 3 3 3 3 3 3 3 3 3 I . . R   /  A  A  R  @  @ z  R      s m s w   b t t v w u @        D ZL Z Z~  Z% * * Z ZD Zv   Z Z 4 Z6 Z; 4   /  ZV Ca Zj Z  ZD Z;   ZF  Z Z  Z; 4 * Z    Z D Z Z  Zf  4   Z	 !O * *t Z  Z; 4' _ CV Z Z%   6  Z : Z 4 4   4  5 R R  .  %5 R5 R R 
y R2 R .) R+ R .   / * R  ; R RT  R R  R   . .$  R .   C     R   R5 R . R@  .  R   % Rf : S .    ;  R   R 4 : . %5 R . .   /} ;a   , O $    0 , ) ( , , 7q 2 %  "  = , 7 4 7 7 , O $    1 , )  4q 2 )    9 , 1 &  A  /  A  / ^! U! U & 0  P P  9  ? 9 ?  ? ? - 6 - 67 )7 ) )  ) ) ) )  )  A0 (    :/ R/ &/ ^/ / "/ ^ 
  \^   \ : 6 6 -0 ) \% U/ & U & / ^/ / ^/ z ^z / ^/ / ^/  1 1 } } }  O 3 3 #  C  Z 4+ Z Z Z% 4R Z Z  Z Z ZI ZM 4 ZM 3 Z * G W     -                         ! ! Z 4 4 4 4 4+ Z+ Z+ Z> ! Z Z Z Z Z Z Z Z Z Z W Z 5 Z Z Z Z Z% 4% 4% 4% 4% 4% 4% 4% 4% 4R ZR ZR Zv   M J ? M +  Z Z Z S Z Z Z Z  Z Z Z ZI ZI ZI ZI ZI ZI ZI ZI ZM 4M 4M 4M 4M 4M 4M 4M 4M 4M 4M 4M 4M 4M 4M 4M / 4M 4M 4M 4M 4M 4M 4M 4M 4M 4 Z Z Z Z Z Z Z * * * * * * *R [      G WG WG WG WG WG WG WG WG WG WG WG WG WG WG WG WG WU WU WU WU WU WU W     - - - - -> ! ZF :8 Z Z  Z Z  Z -R ZM 4 Z Z   ZI Z 1M 4L Z Z ,  0 q ?P , Y ZW ,  Z Z Z2  Z  +I ZI Z Z.   ZR ZM 4L Z Z 4   / C Z C Z Zn  Z Z  ! Z
  Z ZU  Z 4 * Z    ( Zc  ZI Z E Z M 4   Z !  +7 Z} Y Z 4 # C Z Z    ZF :I ZM 4M 4     7f 2 "  $  > ! 6 1! U! U 0  P P  9  ? 9 ?7 ) ) )/ R/ &/ ^/ / "/ o #o Wo (o #o *o #o -o 2o -o '  A  '  +  !o #o Wo (o #o *o #o -o 2o -o '  A  '  +  !o #o Wo (o #o *o #o -o 2o -o '  A  '  +  !o #o Wo (o #o *o #o -o 2o -o '  A  '  +  !Y %v !m k 9{   9_ 9J 9   9  9A  9E 9 9 9   9  9d d  8Z Z @f Y %v 42 v !P   W n 4  * Q 4  4/ 4q 4m v 4v !  4   r 2A  3 ? " .   2  2 > P P P v !y "  4  +  )\ )2 )K )  4 5   =  = 5  
 D 
 /  = H  ! ! 
 VY VY VY8 # # @( @ #$ @5 )$ @5 )5 #N *$ @5 #$ @$ @5 #5 #! $ @D ?5 # " " 2 "  " " " " " " < " $ $ " (2 R (L 4- )L  -  Y   .k k *k 'k * -  ! - 3 3 - - 3 3   J Jd    8  R R  @  R  9  ?       t t r    7  r  b }  s     I .  q  y          e  l  S  O  {  z  {  d  c  n  i      n  h              e  l   9  2  d                              n                    e  d  d  S  {  S        X    S    :  r  l  e  r  l  e  g  r  l  r  l  z    	  -  z    w  o  d  n  d  n  d  n  p  o    w  {  z  h  ^  s  d  d  s            }      , #      ::o               h 
   X   KX  ^ 2#  `           ADBO @                        $          $  
         / 9 @ Z ` z ~~7C\ghjnv{~ *,14=BEauz~/W_cuCIMPRX[!%+;IScoEMQWY[]}     " & 0 3 5 : ? D I q y              !!! !"!&!.!^!!""""""""+"H"`"e#%%%%%%%%&&j''R'.%.;     0 : A [ a { 7CP^hjlox} #,.49BEatz~ 0XbrCGMORV[ $*2>RXl  HPRY[]_       & / 2 5 9 < D G p t }             !!! !"!&!.!P!!""""""""+"H"`"d#%%%%%%%%&&j''R'.".:           f       >                  nonnonmlih    >]    "!                   w                                  
                                &          aba                Z        ,  &  M            sp  4  }  oUMi(  'myܣi-  f                                                                                                              "$&*.8:@B  B  D  D        @BHJLNPbxz  \          ~             
  
                                                                                          SX|!WpqzOcNvPQUrxsmtwu`T}{~y}4adz~k6bV 6 7 8 9 : = L Q Z [ \ ^ y z { }                     ;<=?[abcder ;  <  K R S U T V Y _! `" a# j, ] m/ n0 o1 p2 u6 x: |> ~@ F D G  H IL M P N O T X \ Z`  f p g s { | }                    t t  >  A h      N q3 z l. Y M  Zbgino\ch 	"#$%')+,jlWfXYZ]_[^|}~xqrstuvw	
RTU[]`de P W X k- r4 v7 w9 J K Q R S U V W ] ^ _ q ~             8 ? @ A B C D E F G	 H
 I J b$ c% d& e' f( g) h* i+ B C i j k l m n o u v w x y            1256789:	
#$34=>ABCDEFIJMNOPQRUVYZ[\]^?<@Gonpz}KHLStvxuwy,-./ +0{|rWTX;_sqiefjYZ][\^{|ldnoY^ fg     %$                    !   !  S   "   "  X   #   #     $   $  |   %   %     &   &  !   '   '  W   (   )  p   *   *  z   +   +     ,   ,  O   -   -  c   .   .  N   /   /  v   0   9  "   :   ;  P   <   <     =   =     >   >     ?   ?  U   @   @     A   Z      [   [  r   \   \  x   ]   ]  s   ^   ^     _   _  m   `   `     a   z      {   {  t   |   |  w   }   }  u   ~   ~          `        T                }        {        ~        y        }                        4        a                d                        z                                        ~        k                        6        b                V         6         =         L         Q         Z         ^         y         }                                                                                                                                                   ;        ?                [        a                r                                                 ;              <              K             R             S  	  	    
  
   U             T             V             Y             _      !       `      "       a      #       j      ,       ]             m      /       n      0         o  !  !  1  "  "   p  #  #  2  $  $   u  %  %  6  &  &   x  '  '  :  (  (   |  )  )  >  *  *   ~  +  +  @  ,  ,     -  -  F  .  .     /  /  D  0  0     1  1  G  2  2     3  3    4  4     5  5  H  6  6     7  7  I  8  8  L  9  9     :  :  M  ;  ;     <  <  P  =  =     >  >  N  ?  ?     @  @  O  A  A     B  B  T  C  C     D  D  X  E  E     F  F  \  G  G     H  H  Z  I  I  `  J  J     K  K    L  L     M  M  f  N  N     O  O  p  P  P     Q  Q  g  R  R     S  S  s  T  T     U  U  {  V  V     W  W  |  X  X     Y  Y  }  Z  Z     [  [    \  \     ]  ]    ^  ^     _  _    `  `     a  a    b  b     c  c    d  d     e  e    f  f     g  g    h  h     i  i    j  j     k  k    l  l     m  m    n  n     o  o    p  p     q  q    r  r     s  s    t  t     u  u    v  v     w  w    x  x     y  y     z  z    {  {     |  |    }  }     ~  ~                            t             t                           >                    A             h                                                                        N             q      3             z       l      .             Y       M                                  7  7    C  C   O  P  P    Q  Q    R  X    Y  \    ^  g    h  h    j  j    l  n    o  v    x  {    }  ~                                                              X      Z      b      g      i                        k            l                                          n      o      \      c      h                                                     	  	  	  
  
                                         #  &  "  '  '  '  (  (  )  )  *  +  ,  ,  -  .  1  .  4  4  2  9  =  3  B  B  8  E  E  9  a  a  :  t  u  h  z  z  m  ~  ~  e      j      l      W      f      X      \      ]      _            ?      P      [      ^      |            `      x      q                              y      {      `      a      b      c      d                 /    0  W    X  _    b  b    c  c    r  r    s  s    t  t    u  u                                      	            
                                                                                                                                                                                                                                            C  C  Q  G  G  R  H  I  T  M  M  W  O  O  [  P  P  ]  R  R  _  V  V  `  W  X  d  [  [  f      S      V      j       P             W             X             k      -         r  !  !  4  $  $   v  %  %  7  *  *   w  +  +  9  2  2     3  3  J  4  4     5  5  K  6  6     7  7  Q  8  8     9  9  R  :  :     ;  ;  S  >  >     ?  ?  U  @  @     A  A  V  B  B     C  C  W  D  D     E  E  ]  F  F     G  G  ^  H  H     I  I  _  R  R     S  S  q  X  X     Y  Y  ~  Z  Z     [  [    \  \     ]  ]    ^  ^     _  _    `  `     a  a    b  b     c  c    l  l     m  m    n  n     o  o                                                                                      8                    ?             @             A             B             C             D             E             F             G      	       H      
       I             J             b      $       c      %       d      &       e      '       f      (       g      )       h      *       i      +             B             C             i             j             k             l             m             n             o             u             v             w             x             y                                                                                                                                                                	    
                                 !    "  '     (  )    *  /    0  1    2  7    8  9    :  ?    @  A    B  E    H  I    J  M    P  Q  !  R  W  %  Y  Y    [  [    ]  ]    _  _    `  a  1  b  g  5  h  i    j  o    p  q    r  s    t  u    v  w  	  x  y    z  {  #  |  }  3      =      A            I      M            U      Y                  ?      <      @            G                        o      n      p      z      }      K      H      L            S                        t      v      x                                          u      w      y      ,            +      0                        {      r      W      T      X      ;      _                        s      q        a        i        e        j                Y        ]        [        ^       !  {   "   "  l   &   &  R   /   /  d   0   0     2   3     5   5     9   :  _   <   <     =   =     >   ?  n   D   D     G   G     H   H     I   I     p   p     q   q  Y   t   y      }   ~          ^        
                r                                                                                                  !  !    !  !     !  !    !   !     !"  !"    !&  !&    !.  !.    !P  !P    !Q  !R    !S  !Z    ![  !^    !  !    !  !    "  "    "  "    "  "    "  "    "  "    "  "    "  "    "  "    "  "    "+  "+    "H  "H    "`  "`    "d  "e    #  #    %  %    %  %    %  %    %  %    %  %    %  %    %  %    %  %    %  %    &  &    &j  &j    '  '    'R  'R    '  '    ."  .%    .:  .;  g              f            e j k    ,K 	PXY D 	 _^- ,  EiD`- , *!- , F%FRX#Y  Id F had%F hadRX#eY/  SXi  TX!@Yi  TX!@eYY:- , F%FRX#Y F jad%F jadRX#Y/- ,K &PXQXD@DY!! EPXD!YY- ,  EiD`  E}iD`- , *- ,K &SX@ Y &SX#!#Y &SX#! #Y &SX#! #Y &SX#!@#Y  &SX%EPX#!#!%E#!#!Y!YD- 	,KSXED!!Y-  + ++D6*! +@6*! + `H<& +H<,$ + +  E}iDK `RX Y    C N T _   3   > ~           	       	     	     	  @  	  .L  	  tz  	  *  	    	  4  	 	   	  2$  	  V  	  4v C o p y r i g h t   2 0 1 0 ,   2 0 1 2 ,   2 0 1 4   A d o b e   S y s t e m s   I n c o r p o r a t e d   ( h t t p : / / w w w . a d o b e . c o m / ) ,   w i t h   R e s e r v e d   F o n t   N a m e    S o u r c e  . S o u r c e   S a n s   P r o R e g u l a r 2 . 0 2 1 ; A D B O ; S o u r c e S a n s P r o - R e g u l a r S o u r c e   S a n s   P r o   R e g u l a r V e r s i o n   2 . 0 2 1 ; P S   2 . 0 0 0 ; h o t c o n v   1 . 0 . 8 6 ; m a k e o t f . l i b 2 . 5 . 6 3 4 0 6 S o u r c e S a n s P r o - R e g u l a r S o u r c e   i s   a   t r a d e m a r k   o f   A d o b e   S y s t e m s   I n c o r p o r a t e d   i n   t h e   U n i t e d   S t a t e s   a n d / o r   o t h e r   c o u n t r i e s . A d o b e   S y s t e m s   I n c o r p o r a t e d P a u l   D .   H u n t h t t p : / / w w w . a d o b e . c o m / t y p e T h i s   F o n t   S o f t w a r e   i s   l i c e n s e d   u n d e r   t h e   S I L   O p e n   F o n t   L i c e n s e ,   V e r s i o n   1 . 1 .   T h i s   l i c e n s e   i s   a v a i l a b l e   w i t h   a   F A Q   a t :   h t t p : / / s c r i p t s . s i l . o r g / O F L .   T h i s   F o n t   S o f t w a r e   i s   d i s t r i b u t e d   o n   a n    A S   I S    B A S I S ,   W I T H O U T   W A R R A N T I E S   O R   C O N D I T I O N S   O F   A N Y   K I N D ,   e i t h e r   e x p r e s s   o r   i m p l i e d .   S e e   t h e   S I L   O p e n   F o n t   L i c e n s e   f o r   t h e   s p e c i f i c   l a n g u a g e ,   p e r m i s s i o n s   a n d   l i m i t a t i o n s   g o v e r n i n g   y o u r   u s e   o f   t h i s   F o n t   S o f t w a r e . h t t p : / / s c r i p t s . s i l . o r g / O F L        2                    h    $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ]     b c	
  d    e   !"#$%&'()*+ ,-./012345   6 7 89:;<=>?@ABCDEFG HIJKLM fNOPQ     gRSTUVWXYZ[\]  ^_`abcdefghijklm nopqrstuvwx   y hz{|}~      j i k m l n  o   q p r s  u t v w   x z y { } |   	
    ~   !"#$%&'()*+,- . /0123 456  789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	                  "  
                 B   > @ ^ `  _ ?          #  	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrst u vwxyz{|}~                    !    A  a          C             	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstu  AmacronAbreveuni01CDuni1EA0uni1EA2uni1EA4uni1EA6uni1EA8uni1EAAuni1EACuni1EAEuni1EB0uni1EB2uni1EB4uni1EB6Aogonekuni01FCuni01E2uni0243uni1E06Ccircumflex
CdotaccentDcaronuni1E0Cuni1E0EDcroatEcaronEmacronEbreve
Edotaccentuni1EB8uni1EBAuni1EBCuni1EBEuni1EC0uni1EC2uni1EC4uni1EC6Eogonekuni1E16uni01F4Gcircumflex
Gdotaccentuni0122Gcaronuni1E20uni00470303uni0193Hcircumflexuni1E24uni1E2AHbarItildeImacronuni01CFuni1EC8uni1ECAIogonekuni012CJcircumflexuni0136uni1E32uni1E34LacuteLcaronuni013BLdotuni1E36uni1E38uni1E3Auni1E3Euni1E40uni1E42Nacuteuni01F8Ncaronuni0145uni1E44uni1E46uni1E48OmacronOhungarumlautuni01D1uni1ECCuni1ECEuni1ED0uni1ED2uni1ED4uni1ED6uni1ED8uni014Euni1E52Ohornuni1EDAuni1EDCuni1EDEuni1EE0uni1EE2uni01EARacuteRcaronuni1E58uni0156uni1E5Auni1E5Cuni1E5ESacuteScircumflexuni015Euni0218uni1E60uni1E62uni1E9ETcaronuni0162uni021Auni1E6Cuni1E6Euni0166UtildeUmacronUbreveUringUhungarumlautuni01D3uni01D5uni01D7uni01D9uni01DBuni1EE4uni1EE6UogonekUhornuni1EE8uni1EEAuni1EECuni1EEEuni1EF0WgraveWacuteWcircumflex	WdieresisYgraveYcircumflexuni1E8Euni1EF4uni1EF6uni1EF8Zacute
Zdotaccentuni1E92uni1E94uni018Funi014Auni0132amacronabreveuni01CEuni1EA1uni1EA3uni1EA5uni1EA7uni1EA9uni1EABuni1EADuni1EAFuni1EB1uni1EB3uni1EB5uni1EB7aogonekuni01FDuni01E3uni0180uni1E07ccircumflex
cdotaccentdcaronuni1E0Duni1E0Fecaronemacronebreve
edotaccentuni1EB9uni1EBBuni1EBDuni1EBFuni1EC1uni1EC3uni1EC5uni1EC7eogonekuni1E17uni01F5gcircumflex
gdotaccentuni0123gcaronuni1E21uni00670303hcircumflexuni1E25uni1E96uni1E2Bhbaritildeimacronuni01D0uni1EC9uni1ECBiogonek	iogonek.duni012Djcircumflexuni0137uni1E33uni1E35kgreenlandiclacutelcaronldotuni013Cuni1E37uni1E39uni1E3Buni1E3Funi1E41uni1E43nacuteuni01F9ncaronuni0146uni1E45uni1E47uni1E49napostropheomacronohungarumlautuni01D2uni1ECDuni1ECFuni1ED1uni1ED3uni1ED5uni1ED7uni1ED9uni014Funi1E53ohornuni1EDBuni1EDDuni1EDFuni1EE1uni1EE3uni01EBracuteuni0157rcaronuni1E59uni1E5Buni1E5Duni1E5Fsacutescircumflexuni015Funi0219uni1E61uni1E63tcaronuni0163uni021Buni1E6Duni1E6Funi1E97uni0167utildeumacronubreveuringuhungarumlautuni01D4uni01D6uni01D8uni01DAuni01DCuni1EE5uni1EE7uogonekuhornuni1EE9uni1EEBuni1EEDuni1EEFuni1EF1wgravewacutewcircumflex	wdieresisygraveycircumflexuni1E8Funi1EF5uni1EF7uni1EF9zacute
zdotaccentuni1E93uni1E95uni014Buni0237uni0133uni0250uni0252uni0253uni0254uni0255uni0256uni0257uni0258uni0251uni0299uni0259uni025Auni025Buni025Cuni025Euni025Funi0260uni0261uni0262uni0263uni0264uni0265uni0266uni0267uni029Cuni0268uni026Auni029Duni026Cuni026Duni026Euni029Funi026Funi0270uni0271uni0272uni0273uni0274uni0275uni0276uni0278uni0279uni027Auni027Buni027Duni027Euni0280uni0281uni0282uni0283uni0284uni0288uni0289uni028Auni028Buni028Cuni028Duni028Euni028Funi0290uni0291uni0292uni0294uni0295uni02A1uni02A2uni01C2uni0298f_ff_f_if_f_lf_tf_f_tI.aIgrave.aIacute.aIcircumflex.aItilde.aIdieresis.a	Imacron.aIdotaccent.a	uni01CF.a	uni1EC8.a	uni1ECA.a	Iogonek.a	uni012C.a	uni014A.aa.aagrave.aaacute.aacircumflex.aatilde.aadieresis.a	amacron.aabreve.aaring.a	uni01CE.a	uni1EA1.a	uni1EA3.a	uni1EA5.a	uni1EA7.a	uni1EA9.a	uni1EAB.a	uni1EAD.a	uni1EAF.a	uni1EB1.a	uni1EB3.a	uni1EB5.a	uni1EB7.a	aogonek.ag.a	uni01F5.agcircumflex.agbreve.agdotaccent.a	uni0123.agcaron.a	uni1E21.auni00670303.al.alacute.alcaron.aldot.a	uni013C.a	uni1E37.a	uni1E39.a	uni1E3B.alslash.afl.aAlphaBetaGammauni0394EpsilonZetaEtaThetaIotaKappaLambdaMuNuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsiuni03A9
AlphatonosEpsilontonosEtatonos	IotatonosIotadieresisOmicrontonosUpsilontonosUpsilondieresis
Omegatonosalphabetagammadeltaepsilonzetaetathetaiotakappalambdauni03BCnuxiomicronrhosigmatauupsilonphichipsiomegauni03C2uni03D0uni03D1uni03D5
alphatonosepsilontonosetatonos	iotatonosiotadieresisomicrontonosupsilontonosupsilondieresis
omegatonosiotadieresistonosupsilondieresistonosuni1F08uni1F09uni1FBAuni1FBBuni1F0Auni1F0Buni1F0Cuni1F0Duni1F0Euni1F0Funi1FB8uni1FB9uni1F18uni1F19uni1FC8uni1FC9uni1F1Auni1F1Buni1F1Cuni1F1Duni1F28uni1F29uni1FCAuni1FCBuni1F2Auni1F2Buni1F2Cuni1F2Duni1F2Euni1F2Funi1F38uni1F39uni1FDAuni1FDBuni1F3Auni1F3Buni1F3Cuni1F3Duni1F3Euni1F3Funi1FD8uni1FD9uni1F48uni1F49uni1FF8uni1FF9uni1F4Auni1F4Buni1F4Cuni1F4Duni1FECuni1F59uni1FEAuni1FEBuni1F5Buni1F5Duni1F5Funi1FE8uni1FE9uni1F68uni1F69uni1FFAuni1FFBuni1F6Auni1F6Buni1F6Cuni1F6Duni1F6Euni1F6Funi1FBCuni1F88uni1F89uni1F8Auni1F8Buni1F8Cuni1F8Duni1F8Euni1F8Funi1FCCuni1F98uni1F99uni1F9Auni1F9Buni1F9Cuni1F9Duni1F9Euni1F9Funi1FFCuni1FA8uni1FA9uni1FAAuni1FABuni1FACuni1FADuni1FAEuni1FAFuni1F00uni1F01uni1F70uni1F71uni1F02uni1F03uni1F04uni1F05uni1F06uni1F07uni1FB0uni1FB1uni1FB6uni1F10uni1F11uni1F72uni1F73uni1F12uni1F13uni1F14uni1F15uni1F20uni1F21uni1F74uni1F75uni1F22uni1F23uni1F24uni1F25uni1F26uni1F27uni1FC6uni1F30uni1F31uni1F76uni1F77uni1F32uni1F33uni1F34uni1F35uni1F36uni1F37uni1FD0uni1FD1uni1FD6uni1FD2uni1FD3uni1FD7uni1F40uni1F41uni1F78uni1F79uni1F42uni1F43uni1F44uni1F45uni1FE4uni1FE5uni1F50uni1F51uni1F7Auni1F7Buni1F52uni1F53uni1F54uni1F55uni1F56uni1F57uni1FE6uni1FE0uni1FE1uni1FE2uni1FE3uni1FE7uni1F60uni1F61uni1F7Cuni1F7Duni1F62uni1F63uni1F64uni1F65uni1F66uni1F67uni1FF6uni1FB3uni1F80uni1F81uni1FB2uni1FB4uni1F82uni1F83uni1F84uni1F85uni1F86uni1F87uni1FB7uni1FC3uni1F90uni1F91uni1FC2uni1FC4uni1F92uni1F93uni1F94uni1F95uni1F96uni1F97uni1FC7uni1FF3uni1FA0uni1FA1uni1FF2uni1FF4uni1FA2uni1FA3uni1FA4uni1FA5uni1FA6uni1FA7uni1FF7uni03D7uni03D9uni03DBuni03DDuni03E1uni037E	anoteleiaanoteleia.capuni0374uni0375tonos	tonos.capdieresistonosuni037Auni1FBEuni1FBDuni1FBFuni1FFEuni1FEFuni1FFDuni1FCDuni1FDDuni1FCEuni1FDEuni1FCFuni1FDFuni1FC0uni1FEDuni1FEEuni1FC1uni1FBD.capuni1FFE.capuni1FEF.capuni1FCD.capuni1FDD.capuni1FCE.capuni1FDE.capuni1FCF.capuni1FDF.capuni0410uni0411uni0412uni0413uni0414uni0415uni0416uni0417uni0418uni0419uni041Auni041Buni041Cuni041Duni041Euni041Funi0420uni0421uni0422uni0423uni0424uni0425uni0426uni0427uni0428uni0429uni042Auni042Buni042Cuni042Duni042Euni042Funi0400uni0401uni0402uni0403uni0404uni0405uni0406uni0407	uni0407.auni0408uni0409uni040Auni040Buni040Cuni040Duni040Euni040Funi0462uni0472uni0474uni0490uni0492uni0496uni0498uni049Auni04A0uni04A2uni04AAuni04AEuni04B0uni04B2uni04B6uni04BAuni04C0uni04C1uni04D0uni04D4uni04D6uni04D8uni04E2uni04E6uni04E8uni04EEuni04F2uni0430uni0431uni0432uni0433uni0434uni0435uni0436uni0437uni0438uni0439uni043Auni043Buni043Cuni043Duni043Euni043Funi0440uni0441uni0442uni0443uni0444uni0445uni0446uni0447uni0448uni0449uni044Auni044Buni044Cuni044Duni044Euni044Funi0450uni0451uni0452uni0453uni0454uni0455uni0456uni0457	uni0457.auni0458uni0459uni045Auni045Buni045Cuni045Duni045Euni045Funi0463uni0473uni0475uni0491uni0493uni0497uni0499uni049Buni04A1uni04A3uni04ABuni04AFuni04B1uni04B3uni04B7uni04BBuni04C2uni04CFuni04D1uni04D5uni04D7uni04D9uni04E3uni04E7uni04E9uni04EFuni04F3uni0431.srbuni2116zero.0zero.0s	zero.pnumone.pnumtwo.pnum
three.pnum	four.pnum	five.pnumsix.pnum
seven.pnum
eight.pnum	nine.pnumzero.0pzero.0ps	zero.tnumone.tnumtwo.tnum
three.tnum	four.tnum	five.tnumsix.tnum
seven.tnum
eight.tnum	nine.tnum	zero.onumone.onumtwo.onum
three.onum	four.onum	five.onumsix.onum
seven.onum
eight.onum	nine.onumuni00ADuni2E3Auni2E3B
figuredashuni2015uni203Euni203Funi2016uni203Cuni2047uni2049uni2048uni203Duni231Cuni231Duni231Euni231Funi27E6uni27E7uni2E22uni2E23uni2E24uni2E25uni2117uni2120u1F16Au1F16Bat.casei.trkA.scB.scC.scD.scE.scF.scG.scH.scI.scJ.scK.scL.scM.scN.scO.scP.scQ.scR.scS.scT.scU.scV.scW.scX.scY.scZ.sc	Agrave.sc	Aacute.scAcircumflex.sc	Atilde.scAdieresis.sc
Amacron.sc	Abreve.scAring.sc
uni01CD.sc
uni1EA0.sc
uni1EA2.sc
uni1EA4.sc
uni1EA6.sc
uni1EA8.sc
uni1EAA.sc
uni1EAC.sc
uni1EAE.sc
uni1EB0.sc
uni1EB2.sc
uni1EB4.sc
uni1EB6.sc
Aogonek.scAE.sc
uni01FC.sc
uni01E2.sc
uni0243.sc
uni1E06.scCcedilla.sc	Cacute.scCcircumflex.sc	Ccaron.scCdotaccent.sc	Dcaron.sc
uni1E0C.sc
uni1E0E.sc	Dcroat.sc	Egrave.sc	Eacute.scEcircumflex.sc	Ecaron.scEdieresis.sc
Emacron.sc	Ebreve.scEdotaccent.sc
uni1EB8.sc
uni1EBA.sc
uni1EBC.sc
uni1EBE.sc
uni1EC0.sc
uni1EC2.sc
uni1EC4.sc
uni1EC6.sc
Eogonek.sc
uni1E16.sc
uni01F4.scGcircumflex.sc	Gbreve.scGdotaccent.sc
uni0122.sc	Gcaron.sc
uni1E20.scuni00470303.sc
uni0193.scHcircumflex.sc
uni1E24.sc
uni1E2A.scHbar.sc	Igrave.sc	Iacute.scIcircumflex.sc	Itilde.scIdieresis.sc
Imacron.scIdotaccent.sc
uni01CF.sc
uni1EC8.sc
uni1ECA.sc
Iogonek.sc
uni012C.scJcircumflex.sc
uni0136.sc
uni1E32.sc
uni1E34.sc	Lacute.sc	Lcaron.sc
uni013B.scLdot.sc
uni1E36.sc
uni1E38.sc
uni1E3A.sc	Lslash.sc
uni1E3E.sc
uni1E40.sc
uni1E42.sc	Nacute.sc
uni01F8.sc	Ncaron.sc	Ntilde.sc
uni0145.sc
uni1E44.sc
uni1E46.sc
uni1E48.sc	Ograve.sc	Oacute.scOcircumflex.sc	Otilde.scOdieresis.sc
Omacron.scOhungarumlaut.sc
uni01D1.sc
uni1ECC.sc
uni1ECE.sc
uni1ED0.sc
uni1ED2.sc
uni1ED4.sc
uni1ED6.sc
uni1ED8.sc	Oslash.scOE.scOhorn.sc
uni1EDA.sc
uni1EDC.sc
uni1EDE.sc
uni1EE0.sc
uni1EE2.sc
uni01EA.sc
uni014E.sc
uni1E52.sc	Racute.sc
uni1E58.sc	Rcaron.sc
uni0156.sc
uni1E5A.sc
uni1E5C.sc
uni1E5E.sc	Sacute.scScircumflex.sc	Scaron.sc
uni015E.sc
uni0218.sc
uni1E60.sc
uni1E62.sc
uni1E9E.sc	Tcaron.sc
uni0162.sc
uni021A.sc
uni1E6C.sc
uni1E6E.sc
uni0166.sc	Ugrave.sc	Uacute.scUcircumflex.sc	Utilde.scUdieresis.sc
Umacron.sc	Ubreve.scUring.scUhungarumlaut.sc
uni01D3.sc
uni01D5.sc
uni01D7.sc
uni01D9.sc
uni01DB.sc
uni1EE4.sc
uni1EE6.sc
Uogonek.scUhorn.sc
uni1EE8.sc
uni1EEA.sc
uni1EEC.sc
uni1EEE.sc
uni1EF0.sc	Wgrave.sc	Wacute.scWcircumflex.scWdieresis.sc	Ygrave.sc	Yacute.scYcircumflex.scYdieresis.sc
uni1E8E.sc
uni1EF4.sc
uni1EF6.sc
uni1EF8.sc	Zacute.sc	Zcaron.scZdotaccent.sc
uni1E92.sc
uni1E94.scEth.scThorn.sc
uni018F.sc
uni014A.sc
uni0132.scAlpha.scBeta.scGamma.sc
uni0394.sc
Epsilon.scZeta.scEta.scTheta.scIota.scKappa.sc	Lambda.scMu.scNu.scXi.sc
Omicron.scPi.scRho.scSigma.scTau.sc
Upsilon.scPhi.scChi.scPsi.sc
uni03A9.scIotadieresis.scUpsilondieresis.scAlphaiotasub.scEtaiotasub.scOmegaiotasub.sc
uni0410.sc
uni0411.sc
uni0412.sc
uni0413.sc
uni0414.sc
uni0415.sc
uni0416.sc
uni0417.sc
uni0418.sc
uni0419.sc
uni041A.sc
uni041B.sc
uni041C.sc
uni041D.sc
uni041E.sc
uni041F.sc
uni0420.sc
uni0421.sc
uni0422.sc
uni0423.sc
uni0424.sc
uni0425.sc
uni0426.sc
uni0427.sc
uni0428.sc
uni0429.sc
uni042A.sc
uni042B.sc
uni042C.sc
uni042D.sc
uni042E.sc
uni042F.sc
uni0400.sc
uni0401.sc
uni0402.sc
uni0403.sc
uni0404.sc
uni0405.sc
uni0406.sc
uni0407.scuni0407.sca
uni0408.sc
uni0409.sc
uni040A.sc
uni040B.sc
uni040C.sc
uni040D.sc
uni040E.sc
uni040F.sc
uni0462.sc
uni0472.sc
uni0474.sc
uni0490.sc
uni0492.sc
uni0496.sc
uni0498.sc
uni049A.sc
uni04A0.sc
uni04A2.sc
uni04AA.sc
uni04AE.sc
uni04B0.sc
uni04B2.sc
uni04B6.sc
uni04BA.sc
uni04C0.sc
uni04C1.sc
uni04D0.sc
uni04D4.sc
uni04D6.sc
uni04D8.sc
uni04E2.sc
uni04E6.sc
uni04E8.sc
uni04EE.sc
uni04F2.scampersand.sczero.scone.sctwo.scthree.scfour.scfive.scsix.scseven.sceight.scnine.sc	exclam.scexclamdown.scquestion.scquotesingle.scquotedbl.scquoteleft.scquoteright.scquotedblleft.scquotedblright.sc	hyphen.sc	endash.sc	emdash.scparenleft.scparenright.scbracketleft.scbracketright.scbraceleft.scbraceright.sc	zero.supsone.supstwo.sups
three.sups	four.sups	five.supssix.sups
seven.sups
eight.sups	nine.supsparenleft.supsparenright.supsperiod.sups
comma.sups	zero.subsone.substwo.subs
three.subs	four.subs	five.subssix.subs
seven.subs
eight.subs	nine.subsparenleft.subsparenright.subsperiod.subs
comma.subs	zero.dnomone.dnomtwo.dnom
three.dnom	four.dnom	five.dnomsix.dnom
seven.dnom
eight.dnom	nine.dnomparenleft.dnomparenright.dnomperiod.dnom
comma.dnom	zero.numrone.numrtwo.numr
three.numr	four.numr	five.numrsix.numr
seven.numr
eight.numr	nine.numrparenleft.numrparenright.numrperiod.numr
comma.numrordfeminine.aA.supsB.supsC.supsD.supsE.supsF.supsG.supsH.supsI.supsJ.supsK.supsL.supsM.supsN.supsO.supsP.supsQ.supsR.supsS.supsT.supsU.supsV.supsW.supsX.supsY.supsZ.supsa.supsb.supsc.supsd.supse.supsf.supsg.supsh.supsi.supsj.supsk.supsl.supsm.supsn.supso.supsp.supsq.supsr.supss.supst.supsu.supsv.supsw.supsx.supsy.supsz.supsuni02C1uni02D0uni02D1uni02DEuni02E0egrave.supseacute.supsuni0259.supsa.supag.supal.supa
colon.supshyphen.supsendash.supsemdash.supsEurouni0192colonmonetarylirauni20A6pesetauni20A9donguni20B1uni20B2uni20B4uni20B5uni20B9uni20BAuni20AEuni20B8uni20BDuni2215
slash.fraconethird	twothirdsuni2155uni2156uni2157uni2158uni2159uni215Auni2150	oneeighththreeeighthsfiveeighthsseveneighthsuni2151uni2152uni2189uni2219uni00B5uni2206uni2126uni2113	estimateduni2190arrowupuni2192	arrowdownuni25A0uni25C6uni25C9uni2752triagupuni25B3uni25B6uni25B7triagdnuni25BDuni25C0uni25C1uni2610uni2611uni2713uni266Auni2032uni2033uni2035uni02B9uni02BBuni02BCuni02BEuni02BFuni02C8uni02C9uni02CAuni02CBuni02CCuni25CCuni0300uni0300.cap	uni0300.guni0301uni0301.cap	uni0301.guni0302uni0302.capuni0303uni0303.capuni0304uni0304.capuni0305uni0306	uni0306.cuni0306.capuni0306.ccapuni0307uni0307.capuni0308uni0308.capuni0309uni0309.capuni030Auni030A.capuni030Buni030B.capuni030Cuni030C.cap	uni030C.auni030Funi030F.capuni0311uni0312	uni0312.guni0313	uni0313.guni0318uni0319uni031Auni031Buni031Cuni031Duni031Euni031Funi0320uni0323uni0324uni0325uni0326	uni0326.auni0327uni0327.capuni0328uni0328.capuni0329uni032Auni032Cuni032Euni032Funi0330uni0331uni0334uni0339uni033Auni033Buni033Cuni033Duni0342uni0345uni0361uni03080301uni03080301.capuni03080301.guni03080300uni03080300.capuni03080300.guni03080303uni03080304uni03080304.capuni0308030Cuni0308030C.capuni03020301uni03020301.capuni03020300uni03020300.capuni03020309uni03020309.capuni03020303uni03020303.capuni03060301uni03060301.capuni03060300uni03060300.capuni03060309uni03060309.capuni03060303uni03060303.capuni03020306uni03020306.capuni03040301uni03040301.capuni03120301uni03120300uni03120303uni03130301uni03130300uni03130303uni00A0uni2007
space.fracnbspace.fracuni202FuniFEFF                 ~  5  K L  j j  s s                  ,, 22 55 DD EE GG NN rt zz                   !! +, 11 55 ?? CC EE GG MM OO RR VV [[ ^^ `` dd ff hh nn pp ss ww   _ aa cc nn pp vv yy                                ++ 11 HH YZ tt vw z| ~               % '9 ;W Z_            		      78 ;; => @B DD FF HH JJ LL NN PP RR TT VV Z_       
 l  DFLT cyrl ,grek >latn P                    	          
            kern bkern bkern bkern bmark hmark hmark hmark hmkmk ~mkmk ~mkmk ~mkmk ~size size size size     
   	              	    d           Dzth      
  t         ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5,EGrstz!+,5`dfhnpswacvwz{|~ DLF D&X(LR,"2FX8XX>XDJPjP"V\b.hntRLzXXR"
j.
FX"(.4:@FLXRRXdFR^d@^dj      {  }  z       ~  }                            # h          {  "  | [       U        ]           %        F   
<?CEGIKMOQSUW  h        	 
                  K L j         +1HYZt    n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n    h      Dj   \,&,28>DPJPV\bhjntz^p|L
XR"^d(.4:@^F|LRX^ddjpv|  I 4  a E 7   k G / '       4    O K B C V 4  3     "   L B   @    %   L 3 3 
3 43 )3 /3  3  3 C3 -3 3 3  3  3 V3  3  3  3 3  3 &3 '3  3 $3 \ '?  	3 ; *                   ^             2 <  '(       . /H   x  x   " ( . 4 : @ F F F* W                                   . @    % +1 36 99   -      5    3   4   5 6GG 7tt 8 9 : ; > C F I K L O P T U [ \!! ],, ^55 _`` `dd aff bww c d t++ }HH ~ZZ vw z| ~            ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^   ^    "(.~4:@FLRX^Ndjpv|Z$$Z06Z$Hf0 Z$*06<BHNTZ`flrx~ . W * \ E H m G L 6         ;  z  u& &       K B Z  !  -       # 0 "        &      h       &  { #    | [    1        V   $    )   C + '       &  %           $  2             %           $ 0       * 0            " ( . 4   l               ,  )      $ * 0G    0 $ * 0 6 < B H N       @          Q              %            0 <  *     
  +            " F ( . 4 4 : @ F L R X       L   B       {   H    l   '   $   &         l  v6  . 	78;=>@ABDFHJLNPRTVZ[\]^_   .                                                                                                                                                           	 Hb7Jjtn (    J\`B	:	@	@




 \nx`222222DPZPZJPPZZ`jpv$>\z8Vx>d**$X*XX$
$$*X<BXnx&<V`     3tuvwxyADHPQRTU]^emux
`	./01234567DEFGHIJKLM_aprtvH|}~ = > $? $@  
; < = 5> @? @@ 5A *B E F 5  -     5                  UZ\cdefijz             " *  ,  1  2  3                        	
               ! " # $ % & ' ( ) * + , - ./012345a b c d e f g h i j k l m n o p q r s t u v w x y z                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 cdefijk  r        ! " / 1  2  3 5                                    	
./012345           >Z\_ac d e f i j kxzfg Q       % 5                             	
HNOR]^cdefijvz -                   z  b    " % . 1  2  5               	
./012345H    NORY "Z[ "\]^_acdefijkvx  > " "  vz - z  - &   + ! h	 
   BDn 	      	 	 
     	      	  	 	     	 ( Q  Q  		 (     Z\ u   [   O Q    q  
W X Y &Z [ &\  &   &     O Q   /015 / 
./0123457 /01357 /01357 /01357 /01357 ./01234567 /157 /015 EFGIK EGK 	DEFGHIKM EFGIKM EFGIKM DEFGIKM EFGIKM DEFGHIJKLM EFGIKM EFGIK W X -Y !Z -\ !] _ !   -  -  -  !   ! 	; = A> A? A@ AA AF AH A &   O  YNOR]^ !"#$%&'()*+,-./0123;<=>?@Almnop  q s u           	      
    /01357EFGIKM ./01234567DEJKLM 017FGIK / 0 1 23 4DEF G H I JL 
M     > 
                                                !                     !                     !                     !                     !                     !                     !                     !  
k~  	 kk ~~   	      $                 ! !  " "  * *  , ,  / /  1 1  2 2  4 4  Q U  l t    - .5 az             
4 >>  	dk 	fg         $           bb ll rr uu   T    Z b                                                     &              
      	                      L  {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               I  ! I                                                                                                                                                                                                                    !             !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ;         ;                                                                                                                                                                                                                                                                                                        
   !                                                                     
                                          !  
                                                                                               
                                                                        
                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	                                                                                                                                   	        :  	                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              o5KTVkvx      oo     55 KK TT VV kk 
vv xx   	       ?   \   m   m   t   m   m   ]   ;   <   >   @   _   B   `   j    l ! ! k " " 8 $ $ s % % : * * l , , l / / v 0 0 w 1 1 = 2 2 ? 3 3 ^ 4 4 A 5 5 z 6 K \ O O 7 Q U m Y Y 7 l t m x x 9   t   m   ]   ;   <   @   B   `   7   u  j- l.5 8;F sHH :az l v w ? A z : s w l l : l A w w : l : v w z k k4 l>> k?? SBB VDD [FF iII SLL ZMM iPP YQQ 5RR 6TT UUU XWW r^^ 6`` abb bjj Wll cnn dqq drr ett duu Twx d{{ d|| a d d r S 6 S r a d1; d<G aT_ dab d L  Q %  h h 3   O  3 % " 3 h M q  3  P h 1 Q % 3 h O  Q L h  f    g & #    g  g  4 g N          g  g p 2     4   g 0 		 &

 #    g 0 N  & f g  g 4NO 	RR 	UU 
WX YY ZZ [[ \\ ]^ 	__ y`` (aa ybb (cf xij x 
 
 s    .        K  /    .3 ;A BB oCH I_ `c dk lp /vv R{{ J}} n R n H I G I R )    ' $    +  + , - * D    ,  $  !  ,  + C  F   ,  -   + E  ' $  ,  + D   ' )   + - V   fg k )   *n. K G                                                                                                                                             
                                                                                                                                                                                                                                                           	                                                     
     
                         
                                                                                                                                                                                                            	                                                                                                                                                       
                                                                                                               
                                                                                                                                                                                       
                                                                                                                 . B . ;  "                                                !     " ( > K L               1                                             	    	                                                                                                                                                     &    v                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                %    0                                                                                                                                                                               	                                                                                                                                                                                                                                                                                                                                                                                                                         	                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	           	                                                                                                                     5                                                                                                                                                                                                                                                                                                                                                                                                                                                                   h                                                                                                                                                                                                                                                                                           	                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      n                                                                                              !    >                                                                                                                                                                                         
                                                                                                                                                                   
                                                                           	                                                                                                         	                                                                                                                                                                                                                                                                                                         "                     
                                                     
  
                                                                                                              "                                        	                                                   
 
     
   , / 1 I                          2                                                                      / / /                                                                     5                                                                                              5  /                                                                                                                                                                                                                                                                                                                                        
                      
                                                                                                                                           - 	                                                                            !                                                                                               
              
                          5 6                                                                                                 & 
                                                                                                                                                                                            
                                             ' "                                                                                                       & 	                                                                                                                                                                                                                                                                                                                               -                                                                     !                                                                                              	   
 	                       ! .                                                                                                                                                                                                                                                                                                                                                                       #  & !:GG3IN4PS:U>477Q	qVsugg              )   
       	 	  
 
          "      )   +   )   .   1   5   ;   >   A   D   G   J   '         ! !  " "  # # # & &  ' '   ( ) # * + ' , , 9 - - , . . / / / 3 0 0 9 1 1 < 2 2 ? 3 3 B 4 4 E 5 5 H 6 K  L N 
 O P  Q U  V Y ) Z k 
 l t  u w  x x  y           "      "      )   
   &   )   .   1      5   ;   8   A   G   J   )   2   )     '  - .5 6: #GG 9IL MM  NN PS  U` #ar 'ss ty $zz '{ , /  3 9 6 ? E H ' #  '  ' 9 ' ' 9  E 9 # 9 9 # 9 ' ' 9 , 9 / 3 ' H  3  4 977     ( 	      !  ( * ( - 0 4 : = @ C F I  	   ( 	     !	 ! ) (** 	+0 %13 (4: -;A 0BB CH 4IY :Z_ 7`c @dk Flp Iqq (st (uu gg                /         0      !         %      '       2 ! !  " " 1 $ $ D % % 7 ( ) = * * 2 + + = , , 2 - - = . .  / /  0 0   1 1 " 2 2 # 3 3 $ 4 4 & 5 5 8 6 K  L N B Q U  l t    /      0      !         '   @- 2.5 1:: @;F DGG =HH 7LL =U_ =az 2{ =     # & 8 = 7 D   = 2 2 = 7 2 &   = F =   = 7 = 2 = =  7    ? - 8   <4 2>> ee ENO PQ RR SS :UU WX )YY (ZZ [[ (\\ ]^ __ 4`` 6aa 4bb 6cf 3ij 3kk qq 9ss 9uu 9vv ;xx *zz  :  :  9 9 9 + , D 	 C  C  C 
 C  C  C         	 A C  C C  C 
 C C3 4: C;A CH I_ `c dk lp rr Ctu C     . 5 > (  (fg     "z 9 G                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                   	                                                                         
                              
                                                                                                                                                                                                                                                                                                                                                           /                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                C                                                                                                                                                                                                                                                                                                                                                                                          	                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (                                                                                                                                                                                                                                            .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   	                                                                                                                                                                                                                      
                               
  
                                                                                                                           /                                                                                                                                                                                                                                                                                                                    !                                                                                              
  	                                 C                 L     #                          	                                              !                                     &                                                                                                                                                                                                                                                                           #                    	                                            !              <             &                                                                                                                                                                                                   #                        ?n  pb 0dd#nn$v%B  p?? @@ AA BB CC DD 8EE +FF #GG +HH II JK +LL 5MM #NN +OO  PP (QQ .RR 2SS TT UU VV WW XX Y[ +\\ #]^ 2__ aa bb cc 	dd ee 6ff gg /hh ii jj kk ll mm 3nn !pp !qq &rr ,ss 0tt !uu vv 0ww !xx %yy zz /{{ !}} ~~   ! 0 !  0   + #   2       !!0 01; !HS T_ !`` aa !bb )dd $nn vv ww xx yy 
zz {{ 7|| *}} "~~ *   * 4 " *  ' - 1     * 1 *    ?? BB 'DD FF II LL *MM PP )QQ RR SS TT UU VV WW D^^ `` +aa ,bb cc -dd .ee <ff /gg 2hh ii /jj (kk All mm ;nn 1oo $pp %qq 1rr ss 3tt 1uu vv 3wx 1yz 2{{ 1|| +}} .~~ /  8 1 3 1 8 3 D    D  + . / 		 8

  8 1  %!0 31; 1<G +HS /T_ 1`` /ab 1cc Add =ee 0nn NO PQ RR SS 5UU WX !YY  ZZ [[  \\ ]^ __ 6`` 7aa 6bb 7cf 4ij 4kk qq @ss @uu @vv Exx #zz " 5  5  @ @ @ :vv wx 9yy >zz 9{{ || 9}} ~ 9  9 B  9 C 
    	 ? 9   9 ?     & F '       5   5N9T < q                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                 	                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          n                                                                                                                                                                                                                                                                                       	                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      :                                                                                              	Z                                                                                                                                                                                               L                                                                    ?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                   
                                                                                                                                                   
                                 -                         !                                                                         < !   b                                                                                             (            5 (    5                                                                                                   5                       (                                                    <   (    /                                                                          /          -        5     5 5       5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           	        	                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &                                   
                                                                   
  
                                                                                                                                                                                                                                                                                                                                                (                                                                       7                                          
                                                               ! !                                                                                                                           -                                                                                          (    $                                                         C                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                          	                                                             
          
                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ( ; = n          9  0  ! 9 * ! * $ *   - 6   0 * 0 ' * ' $ *     	 *  ' 3 ! * 6 * ; $   ! 9 ! 0   0 * !   $ * $ 6  7  .   7 (  ( " ( "  + 4 "  . ( . % ( % " (      % 1    ( 4 ( % "  		 

 7  .   . 1   " ( " 4  8  /    8 )   ) # )   , 5 
  / ) / & ) & # )      )  & 2   ) 5 ) : #     8   /   / )     # ) # 5    h   0   0   j   0   0   3   5   8   ;   =   k ! ! . $ $ o / / 2 1 1 6 4 4 < 6 K h Q U 0 l t 0   j   0   3   5   =   k;F o 2 < o < 2 . . i>> .ee a  n   n O N n % n * n *  L # ' n  n  n N n M n  n * U n K % n  n L n , *  n O N n  n * Q '  n O  m n n * L  J _  Y E - _ $ _ Y _ ^ Y  + Y & _  _  _ " _ D Y F _ Y ! f G $ _ F  _ + _  Y ( _ ]		 E

 - _  _ Y ( &  E  Y [ _ Y +NO PQ RR SS bUU WX @YY ?ZZ [[ ?\\ ]^ __ S`` Paa Sbb Pcf Rij Rkk qq Wss Wuu Wvv Zxx Azz  b  b  W W W B C o c / / p d / / 1 e 4 7 9 : > c / / p d3 /;A 1CH eI_ 4`c 9lp >  ` 
 ` V I `  ` ) ` )  H   ` 	 `  ` I ` X `  ` )  `   `  ` H `  )  ` V I `  ` )   	 ` V  l ` ` ) H     T \ g ?  ?fg . p   J        P   P                                                                                                                                                                                                                                                                           ! ( (               !                                                                                                                                                                                                                                                              ( ( (         ! (v                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             	     	   	                                                                                                                    A A   5                   - 5{                                                                                                                                                                                               5                  |                                                                                                                                                                                                                                               NS  UU Wf ij pp rr tt   " # $  NO PQ RR SS UU WX 
YY ZZ 	[[ \\ 	]^ __ `` aa bb cf ij       	  D         Z   2   4   7   :   \      ]       . ! !  " "  % % 
 ( )  * * . + +  , , . - -  . .  / / 0 1 1 5 2 2 8 3 3 [ 4 4 ; 5 5  6 K  L N       Z   2   4   :      ]   - ..5 :: GG HH 
LL U_ az .{   0 8 ;   
  . .  
 . ;    
  .    
 0 ^   4 .>> ?? wBB UDD YII wLL XPP WQQ +RR SS %TT TUU &VV VWW vXZ f\\ d]] ^^ __ c`` #aa xbb `cc ydd {ee jj all bnn 'oo mpp ~qq 'rr )tt 'uu Swx '{{ '|| #}} { ' ' v w f f f d f   c w v f V c # { '  ~1; '<G #T_ 'ab ' t  	 P     K   P N  H     "  	 P  k K  	 t    s    Q O           J      I  M     u              		 Q

 O      J  Q s     // C55 FEE BKK EMM ANO RR TT VV WX ?YY =ZZ >[[ =\\ >]^ zz  - / / q / / i 1 3 6 9 r < j - / / q3 /;A iCH 1I_ 3`c 9dk <lp jvv $yy z{{ h}} ( $ g ( e * , } p | , $ |   R    L  n     _ o  L !   R   l n  R   L D @ G U V = > =fg       
\ DFLT cyrl Pgrek latn          
   ( 2 < N X b l v           
 SRB  >        ) 3 = F O Y c m w                   * 4 > G P Z d n x                    ! + 5 ? H Q [ e o y           " AZE  TCRT  NSM  SKS  TRK $       " , 6 @ R \ f p z                 # - 7 A I S ] g q {                 $ . 8 B J T ^ h r |                 % / 9 C K U _ i s }                 & 0 : D L V ` j t ~              	   ' 1 ; E M W a k u            aaltZaaltZaaltZaaltZaaltZaaltZaaltZaaltZaaltZaaltZc2scbc2scbc2scbc2scbc2scbc2scbc2scbc2scbc2scbc2scbcaselcaselcaselcaselcaselcaselcaselcaselcaselcaselccmprccmprccmprccmprccmprccmprccmprccmprccmprccmprdnomdnomdnomdnomdnomdnomdnomdnomdnomdnomfracfracfracfracfracfracfracfracfracfracligaligaligaligaligaligaligaligaligaligaloclloclloclloclloclloclloclloclnumrnumrnumrnumrnumrnumrnumrnumrnumrnumronumonumonumonumonumonumonumonumonumonumordnordnordnordnordnordnordnordnordnordnpnumpnumpnumpnumpnumpnumpnumpnumpnumpnumsaltsaltsaltsaltsaltsaltsaltsaltsaltsaltsinf8sinf8sinf8sinf8sinf8sinf8sinf8sinf8sinf8sinf8smcpsmcpsmcpsmcpsmcpsmcpsmcpsmcpsmcpsmcpss01ss01ss01ss01ss01ss01ss01ss01ss01ss01ss02ss02ss02ss02ss02ss02ss02ss02ss02ss02ss03ss03ss03ss03ss03ss03ss03ss03ss03ss03ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss04 ss05.ss05.ss05.ss05.ss05.ss05.ss05.ss05.ss05.ss05.subs8subs8subs8subs8subs8subs8subs8subs8subs8subs8sups>sups>sups>sups>sups>sups>sups>sups>sups>sups>zeroJzeroJzeroJzeroJzeroJzeroJzeroJzeroJzeroJzeroJ                #     	 
                  /                                           $ % ' ( ) * + , - .         
  $ % &     ' (     ) *   
  + , -     !                  " 2 fh
@VjHdPZd!""Z$h%%H%r%&&f&~&&'
'P'''(((()V)j)))**|***      ^	
 !"#$%&'(23)*+,-./01465789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrsu  !"#$%&'(23)*+,-./01476589:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrtuvwxyz{|}vz|~yz{vvvvvvvvvvvvzzzzzzzz||||||||||~~~~~~~~~~g-EFGHIJKLM9/01234567vV5stu
(*<?CEGIKMOQSUW>  D 6 x     C    - 67 9F HK U_ a  LM?FNH_VaanggottpqffB[!!e,,f/8gEMqPPzS\{ru44QQWW\\		''));;>>BBDDFFHHJJLLNNPPRRTTVVgg       $*06<BHNT\bhntz
$*06<BHNTZ`flrx~ &,28>DJPV\bhntz,<L\ltz 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W, X Y Z [ \5 ] ^ _ ` a b c d e f g h i j  	 
           t             ! " # $ % & ' ( ) * + p q - . / 0 1 2 3 4 6 7 
8 	9 : ; < = sr ~ ~ ~  5 	&
.:-, '/; (0< )1= * 2> +3? ,4@ -5A . 6B /!7C D98 D" E# F$ G% H& I' J( K) L* M+ . 2$ 3%	 w x y 0" 1#       5   y  4   @  A W.5 YMT a iGG j k m n"+ o.. y:D zNO cc ef pq          u                                      K          
 2 8 > D J P V \ b h  
 \ _  !cf                *  *  
 G      0 N              \ c         t       _ !f       V           
 $       2    0  )           1  D        
   : d        $H F L V J 	      $P N T R 	T 8     $ * 0 6 <> @ ; = A B D A 8       & ,[ [ Z Z \ \ 8       & ,^ ^ ] ] _ _ 8           & 0 : D N X b l v          K )   j )   s     )    )    )   )     , )   5 2 '  D )  N   z )      )  1 '      
       " $ ' * / 0,      
  2D4>j|HZ	8	z	
.  > F N V ^ f n v ~                    n n nZ n[ n\ n] n^ n_ 9 9 9Z 9[ 9\ 9] 9^ 9_ n       9 Z [ \ ] ^ _     $ * 0 6 <     Z [ ] ^  : B J R Z b j r z                    n n nZ n[ n\ n] n^ n_ 9 9 9Z 9[ 9\ 9] 9^ 9_ n     9 Z [ \ ] ^ _   " ( . 4 : @ F L R X ^ d y    [    Z [ ] ^ _     $ * 0 6 <     Z [ ] ^    	     & , 2 8 > D    ^   Z [ \  : B J R Z b j r z                    n n nZ n[ n\ n] n^ n_ 9 9 9Z 9[ 9\ 9] 9^ 9_ n p v    9 Z [ \ ^ _  4 < D L T \ d l t |               ? 9@ 9> 9= 9G 98D 9ZB 9[F 9\C 9]A 9^E 9_       8< 9 Z [ \ ] ^ _     $ * 0 6 <     Z [ ] ^  0 8 @ H P X ` h p x             K 9L 9J 9I 9S 98P 9ZN 9[R 9\O 9]M 9^Q 9_     8H 9 Z [ \ ]  ^ _  $ * 0 6 < B H N T Z ` f l r x ~ 	 
       8 ; > A Z [ \ ] ^ _     $ * 0 6 <     Z [ ] ^        $ * 0 6 < B H N T Z ` f l r x ~ # $ - ,  " ! + 8/ ;. >0 A( Z& [* \' ]% ^) _  0 8 @ H P X ` h p x             W 9X 9V 9U 9_ 98\ 9ZZ 9[^ 9\[ 9]Y 9^] 9_3 4 2 1 ; 8T 98 Z6 [: \7 ]5 ^9 _     $ * 0 6 <   Z [ \ ] ^ _     $ * 0 6 <   Z [ \ ] ^ _     $ * 0 6 <   Z [ \ ] ^ _    $ * 0 6 < B H N T? @ > = G 8D ZB [F \C ]A ^E _    $ * 0 6 < B H N TK L J I S 8P ZN [R \O ]M ^Q _    $ * 0 6 < B H N TW X V U _ 8\ ZZ [^ \[ ]Y ^] _  ?CEGMORV`dfhnpsw<HT     
 b           1       6     ?_  \ACO     N      1  
(*<?CEGIKMOQSUW  	');>BDFHJLNPRTV      $ 6 H h      P  P    1     \  \    1     h  h    1           1               1               1           N $vwxyz{|}~vz|~  `x  |         yvvvvvvvvvvvvvzzzzzzzz|||||||||||~~~~~~~~~~~~~  _        V 	
 !"#$%&'(23)*+,-./01465789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~vz|~vvvvvvvvvvvvzzzzzzzz||||||||||~~~~~~~~~~~~       6  ?_  ]         "+         . V  !!  S\ cc ef pu         
	 !"#$%&'(23)*+,-./01476589:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrtus    5   7 9F ZHK hM_ la              L     (       &'()*+,-./2301        !$%"#         v      0 R           1  &/     `     H      1  %         &      1  bc  !    &3         @ QRSTUVWXYZ[\]^_`abcdefghijpqr    5           5             n  	        vwxy  Pcef       " 
  "+  NO 
pq        . ./01234567DEFGHIJKLM  "+  :C 
       . :;<=>?@ABCDEFGHIJKLM  "+  .7 
                
  ".       j 2g"#$%&'()*+./01234567
(*<?CEGIKMOQSUW  2f:;<=>?@ABCDEFGHIJKLM	');>BDFHJLNPRTV        56789:;<=u>   'MNOPQRST\g          t                 8  !"#$%&'()*+5s        44 QQ           a        
,-./01234t   " "  .5 WW 	          g         	
   
 
   y            G         > , 2 8 > D J P V \ b  ZZ    ~   k                ,8       $        ! /  !  /   !           E )   $       f 0bE !"#$%
(*<?CEGIKMOQSUWc  0 D&'()*+,-./0123	');>BDFHJLNPRTV`  <!doctype html><html><head><meta charset="UTF-8"><title>balenaEtcher</title><script defer="defer" src="../main_window/index.js"></script></head><body><main id="main"></main></body></html>/*! For license information please see index.js.LICENSE.txt */
__REACT_DEVTOOLS_GLOBAL_HOOK__={isDisabled:!0},(()=>{var e,t,n={578:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 134.229 134.229"},e),r||(r=i.createElement("g",{fill:"#FFF"},i.createElement("path",{d:"M21.343 112.528a4.19 4.19 0 0 1 4.195 4.189 4.2 4.2 0 0 1-4.195 4.201 4.2 4.2 0 0 1-4.199-4.201 4.19 4.19 0 0 1 4.199-4.189"}),i.createElement("path",{d:"M131.246 110.53 119.604 5.8c-.354-3.185-3.557-5.8-7.124-5.8H21.754c-3.568 0-6.777 2.615-7.127 5.8L2.984 110.53c0 .129-.061.232-.061.359v11.667c0 6.437 5.237 11.673 11.667 11.673h105.05c6.431 0 11.667-5.236 11.667-11.673v-11.667c0-.127-.061-.237-.061-.359m-5.772 12.026c0 3.222-2.631 5.84-5.84 5.84H14.59c-3.206 0-5.836-2.618-5.836-5.84v-11.667c0-3.221 2.63-5.839 5.836-5.839h105.05c3.203 0 5.834 2.618 5.834 5.839z"}))))}},60829:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,o,a,s,l,c=n(81794);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}const f=function(e){return c.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 412.1 74"},e),r||(r=c.createElement("style",null,".etcher_svg__st5{fill:#a5de37}.etcher_svg__st6{fill:#c8f178}")),c.createElement("g",{id:"etcher_svg__Ebene_1"},c.createElement("path",{d:"M88.8 19.7h6.7v11.1h.1c.7-1 1.7-1.7 2.9-2.3 1.2-.5 2.5-.9 3.8-1.1.3 0 .7-.1 1-.1h.9c4.1 0 7.5 1.4 10.1 4.1s3.9 5.9 3.9 9.4c0 .5 0 1.1-.1 1.6-.1.6-.2 1.1-.4 1.7-.3 1.1-.7 2.2-1.2 3.2s-1.2 2-1.9 2.7c-1.2 1.4-2.8 2.4-4.6 3.1s-3.7 1.1-5.6 1.1-3.7-.3-5.3-1-3-1.7-4.1-3.2h-.1v3.4h-6.2V19.7zm8.8 15.7c-1.7 1.4-2.5 3.1-2.5 5.2 0 2.2.8 4.1 2.3 5.6s3.6 2.3 6.1 2.3c2.4 0 4.3-.7 5.8-2.2 1.5-1.4 2.2-3.2 2.2-5.4 0-2.1-.7-3.9-2.2-5.4s-3.4-2.2-5.8-2.2c-2.3 0-4.2.7-5.9 2.1m52.7 18.2h-6.2v-3.4h-.1q-1.2 1.65-3.3 2.7c-1.4.7-2.8 1.2-4.3 1.4-.3 0-.6.1-.9.1h-.9c-2.2 0-4.1-.4-5.8-1.1s-3.2-1.8-4.4-3.1c-1.1-1.2-2-2.6-2.6-4.2s-.9-3.3-.9-5c0-1.8.3-3.4.8-4.9q.9-2.25 2.7-4.2c1.4-1.5 3-2.6 4.7-3.3s3.6-1.1 5.7-1.1c1.9 0 3.7.4 5.3 1.1s3 1.8 4.1 3.3v-3.6h6.2v25.3zM144 40.8c0-2.1-.7-3.9-2.2-5.3-1.5-1.5-3.4-2.2-5.8-2.1-2.5 0-4.5.7-6 2.2-1.6 1.5-2.3 3.4-2.3 5.6 0 2.1.8 3.8 2.4 5.2s3.6 2.1 5.8 2.1c2.4 0 4.4-.7 5.9-2.2 1.4-1.4 2.2-3.3 2.2-5.5m11.3-21.1h6.7v33.9h-6.7zm18 23.9c.5 1.5 1.4 2.7 2.8 3.6s2.9 1.3 4.6 1.3q1.95 0 3.6-.6c1.1-.4 2-.9 2.6-1.6h7.4c-.8 2.3-2.5 4.2-5.1 5.8s-5.3 2.4-8.3 2.4c-4.1 0-7.5-1.3-10.4-3.9s-4.3-5.7-4.3-9.4c0-3.8 1.4-7 4.3-9.7s6.4-4 10.5-4c4 0 7.4 1.3 10.2 4q4.2 4.05 4.2 9.3c0 .4 0 .8-.1 1.2s-.1.8-.2 1.1c0 .1-.1.2-.1.3v.3h-21.7zm15.3-5.4c-.5-1.5-1.5-2.7-2.9-3.5-1.4-.9-3-1.3-4.7-1.3h-.4c-1.6.1-3.1.6-4.5 1.4-1.4.9-2.4 2-2.8 3.4zm11.1-10h6.2v2.3h.1c.8-.9 1.8-1.7 3-2.2 1.3-.5 2.6-.8 4-.9h1.4c1.3.1 2.6.4 3.9 1 1.3.5 2.3 1.3 3.3 2.2.1.1.3.2.4.3s.2.2.3.4c1.1 1.4 1.7 2.8 1.9 4.4s.3 3.1.3 4.8v13.1h-6.7V40.4c0-.4 0-.9-.1-1.3-.1-.7-.2-1.3-.4-1.9s-.4-1.2-.8-1.7q-.6-.9-1.8-1.5c-.8-.4-1.5-.6-2.3-.6h-1c-.8.1-1.5.3-2.3.7-.7.4-1.3.9-1.7 1.5-.3.5-.6 1.1-.8 1.7-.2.7-.3 1.3-.3 2v14.3h-6.7V28.2zm58.5 25.4H252v-3.4h-.1q-1.2 1.65-3.3 2.7c-1.4.7-2.8 1.2-4.3 1.4-.3 0-.6.1-.9.1h-.9c-2.2 0-4.1-.4-5.8-1.1s-3.2-1.8-4.4-3.1c-1.1-1.2-2-2.6-2.6-4.2s-.9-3.3-.9-5c0-1.8.3-3.4.8-4.9q.9-2.25 2.7-4.2c1.4-1.5 3-2.6 4.7-3.3s3.6-1.1 5.7-1.1c1.9 0 3.7.4 5.3 1.1s3 1.8 4.1 3.3v-3.6h6.2v25.3zm-6.4-12.8c0-2.1-.7-3.9-2.2-5.3-1.5-1.5-3.4-2.2-5.8-2.1-2.5 0-4.5.7-6 2.2-1.6 1.5-2.3 3.4-2.3 5.6 0 2.1.8 3.8 2.4 5.2s3.6 2.1 5.8 2.1c2.4 0 4.4-.7 5.9-2.2 1.5-1.4 2.2-3.3 2.2-5.5",style:{fill:"#fff"}}),i||(i=c.createElement("path",{d:"M34.9 43.9v20.6c.9-.2 1.7-.4 2.5-.9l17.1-9.8c2.5-1.4 4-4.1 4-7V27.3c0-.8-.1-1.6-.4-2.3L39.6 35.7c-3.9 2.7-4.7 5.2-4.7 8.2",className:"etcher_svg__st5"})),o||(o=c.createElement("path",{d:"m64.9 21-6.8 3.9c.2.7.4 1.5.4 2.3v19.6c0 2.9-1.6 5.6-4 7l-17.1 9.8c-.8.4-1.6.7-2.5.9v7.8c1.2-.2 2.4-.6 3.4-1.2l22.2-12.7c3.1-1.8 5-5.1 5-8.7V24.3q0-1.65-.6-3.3",className:"etcher_svg__st6"})),a||(a=c.createElement("path",{d:"M33.3 37.4c1-1.6 2.5-3.1 4.7-4.4l18.7-10.8c-.6-.8-1.4-1.5-2.2-2l-17.1-9.8c-2.5-1.4-5.6-1.4-8.1 0l-17 9.8c-.9.5-1.6 1.2-2.3 2L28.6 33c2.2 1.4 3.7 2.8 4.7 4.4",className:"etcher_svg__st5"})),s||(s=c.createElement("path",{d:"m12.3 20.3 17-9.8c2.5-1.4 5.6-1.4 8.1 0l17.1 9.8c.9.5 1.6 1.2 2.2 2l6.8-3.9c-.8-1.1-1.8-2-3-2.6L38.3 2.9c-3.1-1.8-6.9-1.8-10 0l-22 12.8q-1.8 1.05-3 2.7l6.8 3.9c.5-.8 1.3-1.5 2.2-2m17 43.3-17-9.8c-2.5-1.4-4-4.1-4-7V27.2c0-.8.1-1.5.3-2.2l-6.8-3.9c-.4 1.1-.6 2.1-.6 3.2v25.5c0 3.6 1.9 6.9 5 8.6l22.1 12.7c1 .6 2.2 1 3.4 1.2v-7.8q-1.2-.15-2.4-.9",className:"etcher_svg__st6"})),l||(l=c.createElement("path",{d:"M27 35.6 8.6 25c-.2.7-.3 1.5-.3 2.2v19.6c0 2.9 1.5 5.6 4 7l17 9.8c.8.4 1.6.7 2.5.9V43.9c-.1-3-.9-5.5-4.8-8.3m240.6-16.2H287v7.7h-10.6v5.3h10.3v7.7h-10.3V46H287v7.7h-19.4zm26.7 14.4h-3.8V28h3.8v-8.5h7.7V28h3.7v5.8H302v19.8h-7.7zm40.2 10.1c-1.4 5.8-6.5 10.6-13.4 10.6-7.8 0-13.7-6.1-13.7-13.7 0-7.5 5.9-13.6 13.5-13.6 6.8 0 12.3 4.5 13.6 10.8h-7.8c-.8-1.8-2.4-3.6-5.5-3.6-1.8-.1-3.3.6-4.4 1.8s-1.7 2.9-1.7 4.7c0 3.7 2.4 6.5 6.1 6.5 3.2 0 4.7-1.8 5.5-3.4h7.8zm3.5-24.5h7.7v10.9c1.4-2.3 4-3.2 6.7-3.2 3.9 0 6.2 1.4 7.6 3.6s1.8 5.3 1.8 8.5v14.3h-7.7v-14c0-1.4-.2-2.8-.8-3.7-.6-1-1.7-1.6-3.3-1.6-2.1 0-3.2 1-3.7 2.1-.6 1.1-.6 2.4-.6 3v14.2H338zm35.5 24.1c.3 2.7 2.9 4.5 5.9 4.5 2.4 0 3.7-1.1 4.7-2.4h7.9c-1.2 2.9-3 5.1-5.2 6.6-2.1 1.5-4.7 2.3-7.3 2.3-7.3 0-13.6-6-13.6-13.6 0-7.2 5.6-13.8 13.4-13.8 3.9 0 7.3 1.5 9.7 4.1 3.2 3.5 4.2 7.6 3.6 12.3zm11.5-5.9c-.2-1.2-1.8-4.1-5.7-4.1-4 0-5.5 2.9-5.7 4.1zm12-9.6h7.2v2.9c.7-1.4 2.1-3.7 6.5-3.7v7.7h-.3c-3.9 0-5.8 1.4-5.8 5v13.8H397z",className:"etcher_svg__st5"}))))}},87064:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:27,height:40},e),r||(r=i.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M16.005 10.697 21.129 0H8.775L0 18.32h11.649L8.11 40l18.804-29.367-10.91.064z"})))}},60149:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 23"},e),r||(r=i.createElement("path",{fill:"#FFF",d:"M21 7.516v7.972c0 1.26-.675 2.425-1.775 3.053l-6.947 3.988a3.58 3.58 0 0 1-3.55 0L1.78 18.541A3.52 3.52 0 0 1 0 15.488V7.516c0-1.26.68-2.425 1.78-3.053L8.727.475a3.56 3.56 0 0 1 3.55 0l6.948 3.988A3.52 3.52 0 0 1 21 7.516m-11.734 7.88a1.22 1.22 0 0 0 1.234 1.235c.671 0 1.234-.541 1.234-1.234v-3.01h3.075c.65 0 1.191-.52 1.191-1.191a1.2 1.2 0 0 0-1.19-1.191h-3.076v-3.01c0-.693-.563-1.234-1.234-1.234a1.22 1.22 0 0 0-1.234 1.234v3.01H6.19a1.2 1.2 0 0 0-1.191 1.19c0 .672.541 1.192 1.19 1.192h3.076z"})))}},5408:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 90"},e),r||(r=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M30.88 39.87H7.517v23.209c0 .69.56 1.251 1.251 1.251h20.861a1.25 1.25 0 0 0 1.251-1.251zm-22.363 1H29.88v22.209a.25.25 0 0 1-.25.25H8.767l-.057-.006a.25.25 0 0 1-.194-.244z"}),i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M16.558 48.924h-3.967c-.583 0-1.055.472-1.055 1.055v2.732c0 .582.472 1.055 1.055 1.055h3.967c.582 0 1.054-.473 1.054-1.055v-2.732c0-.583-.472-1.055-1.054-1.055m-3.967 1h3.967c.03 0 .054.024.054.055v2.732c0 .03-.025.055-.054.055h-3.967a.055.055 0 0 1-.055-.055v-2.732c0-.03.024-.055.055-.055M25.97 48.924h-3.967c-.583 0-1.055.472-1.055 1.055v2.732c0 .582.472 1.055 1.055 1.055h3.967c.582 0 1.054-.473 1.054-1.055v-2.732c0-.583-.472-1.055-1.054-1.055m-3.967 1h3.967c.03 0 .054.024.054.055v2.732c0 .03-.025.055-.054.055h-3.967a.055.055 0 0 1-.055-.055v-2.732c0-.03.024-.055.055-.055"}),i.createElement("path",{fill:"#2A506F",d:"M37.398 5.418v30.534a4.43 4.43 0 0 1-4.418 4.418H5.418A4.43 4.43 0 0 1 1 35.952V5.418A4.43 4.43 0 0 1 5.418 1H32.98a4.43 4.43 0 0 1 4.418 4.418"}),i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M32.98 0H5.418A5.43 5.43 0 0 0 0 5.418v30.534a5.43 5.43 0 0 0 5.418 5.418H32.98a5.43 5.43 0 0 0 5.418-5.418V5.418A5.43 5.43 0 0 0 32.98 0M5.418 2H32.98a3.43 3.43 0 0 1 3.418 3.418v30.534a3.43 3.43 0 0 1-3.418 3.418H5.418A3.43 3.43 0 0 1 2 35.952V5.418A3.43 3.43 0 0 1 5.418 2M19.147 73.551a.5.5 0 0 1 .492.41l.008.09v14.882a.5.5 0 0 1-.992.09l-.008-.09V74.051a.5.5 0 0 1 .5-.5"}),i.createElement("path",{stroke:"#2A506F",strokeLinecap:"round",d:"m19.147 88.933-4.615-4.719M19.147 88.933l4.719-4.615"}),i.createElement("path",{fill:"#fff",fillRule:"nonzero",d:"M14.007 26.177q.765 0 1.37-.214c.605-.214.747-.338 1.031-.589s.504-.543.656-.877.229-.692.229-1.075q0-.531-.155-.936c-.155-.405-.243-.506-.42-.707s-.388-.378-.634-.53-.505-.288-.78-.405l-1.37-.59q-.296-.117-.575-.258c-.28-.14-.359-.201-.516-.324s-.282-.265-.376-.427-.14-.361-.14-.597q0-.663.494-1.038c.494-.375.764-.376 1.304-.376q.678 0 1.215.243c.537.243.685.386.98.67l.663-.795q-.516-.53-1.252-.862c-.736-.332-1.027-.332-1.606-.332q-.663 0-1.216.192c-.553.192-.687.307-.957.538s-.482.503-.634.817-.228.654-.228 1.017q0 .53.177.936c.177.406.27.503.456.7s.398.363.634.5.466.256.692.354l1.385.604q.339.162.634.31c.295.147.366.208.508.33s.255.271.339.443.125.38.125.626q0 .708-.53 1.142c-.53.434-.85.434-1.488.434q-.752 0-1.451-.331c-.7-.331-.872-.513-1.216-.877l-.737.855a4.65 4.65 0 0 0 3.389 1.43M20.273 26v-4.597q.369-.914.862-1.281c.493-.367.646-.369.95-.369q.221 0 .369.03c.148.03.206.049.324.088l.236-1.06a1.9 1.9 0 0 0-.766-.148q-.619 0-1.142.398c-.523.398-.646.624-.892 1.075h-.044l-.103-1.296h-1.002V26zm6.576.177q.648 0 1.238-.243c.59-.243.751-.386 1.075-.67l-.53-.81q-.339.294-.759.507c-.42.213-.587.214-.92.214q-.487 0-.9-.199c-.412-.199-.508-.319-.7-.56s-.34-.528-.449-.862-.162-.707-.162-1.12.057-.787.17-1.126.267-.631.464-.877.432-.435.707-.567.575-.2.899-.2q.427 0 .773.178c.346.178.45.27.656.456l.619-.795q-.384-.34-.884-.59c-.5-.25-.737-.25-1.208-.25q-.693 0-1.319.25c-.626.25-.783.413-1.098.737s-.564.72-.751 1.186-.28 1-.28 1.599q0 .884.258 1.584c.258.7.408.859.707 1.178s.656.563 1.068.73.855.25 1.326.25"}))))}},29131:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:39,height:90},e),r||(r=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M31.38 39.87H8.017v23.21c0 .69.561 1.25 1.251 1.25H30.13a1.25 1.25 0 0 0 1.251-1.25V39.87zm-22.363 1H30.38v22.21a.25.25 0 0 1-.25.25H9.267l-.057-.007a.25.25 0 0 1-.194-.244V40.87z"}),i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M17.058 48.925H13.09c-.583 0-1.055.471-1.055 1.055v2.732c0 .582.472 1.054 1.055 1.054h3.967c.582 0 1.054-.472 1.054-1.054v-2.733c0-.582-.472-1.054-1.054-1.054zm-3.967 1h3.967c.03 0 .054.024.054.055v2.732c0 .03-.025.054-.054.054H13.09a.055.055 0 0 1-.055-.054v-2.733c0-.03.024-.054.055-.054zm13.379-1h-3.967c-.583 0-1.055.471-1.055 1.055v2.732c0 .582.472 1.054 1.055 1.054h3.967c.582 0 1.054-.472 1.054-1.054v-2.733c0-.582-.472-1.054-1.054-1.054m-3.967 1h3.967c.03 0 .054.024.054.055v2.732c0 .03-.025.054-.054.054h-3.967a.055.055 0 0 1-.055-.054v-2.733c0-.03.024-.054.055-.054"}),i.createElement("path",{fill:"#2A506F",d:"M37.898 35.952a4.43 4.43 0 0 1-4.418 4.418H5.918A4.43 4.43 0 0 1 1.5 35.952V5.418A4.43 4.43 0 0 1 5.918 1H33.48a4.43 4.43 0 0 1 4.418 4.418z"}),i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M33.48 0H5.918A5.43 5.43 0 0 0 .5 5.418v30.534a5.43 5.43 0 0 0 5.418 5.418H33.48a5.43 5.43 0 0 0 5.418-5.418V5.418A5.43 5.43 0 0 0 33.48 0M5.918 2H33.48a3.43 3.43 0 0 1 3.418 3.418v30.534a3.43 3.43 0 0 1-3.418 3.418H5.918A3.43 3.43 0 0 1 2.5 35.952V5.418A3.43 3.43 0 0 1 5.918 2"}),i.createElement("path",{fill:"#FFF",fillRule:"nonzero",d:"M14.067 25v-8.634h2.918v-1.031H9.913v1.031h2.917V25zm5.869 3.3a5.3 5.3 0 0 0 1.51-.199 3.8 3.8 0 0 0 1.142-.537q.471-.339.722-.789.25-.45.25-.95 0-.9-.626-1.304-.625-.405-1.878-.405H19.67q-.736 0-1.002-.221a.7.7 0 0 1-.265-.56q0-.294.132-.493.133-.2.324-.361.25.117.53.184.281.066.546.066a2.9 2.9 0 0 0 1.024-.177 2.6 2.6 0 0 0 .832-.493q.354-.317.56-.781.207-.465.207-1.039 0-.456-.17-.84a2.1 2.1 0 0 0-.42-.633h1.474v-.928h-2.49a3 3 0 0 0-.465-.126 3.06 3.06 0 0 0-1.591.126 2.6 2.6 0 0 0-.862.508q-.368.331-.582.803a2.55 2.55 0 0 0-.213 1.06q0 .649.287 1.142.288.494.641.789v.059a2.2 2.2 0 0 0-.53.53q-.25.339-.25.796 0 .427.183.714a1.4 1.4 0 0 0 .45.45v.059a2.9 2.9 0 0 0-.766.75q-.28.414-.28.87 0 .473.213.825.214.354.604.604.39.251.936.376a5.4 5.4 0 0 0 1.208.125zm0-6.38a1.46 1.46 0 0 1-1.068-.456 1.5 1.5 0 0 1-.332-.538 2 2 0 0 1-.118-.714q0-.795.442-1.23.443-.435 1.076-.435t1.076.434q.441.435.442 1.23 0 .399-.118.715a1.5 1.5 0 0 1-.818.877 1.5 1.5 0 0 1-.582.118zm.177 5.54q-.973 0-1.525-.338t-.553-.914q0-.309.177-.619.177-.309.56-.589.236.074.479.096t.45.022h1.237q.707 0 1.075.191.369.192.369.693 0 .28-.162.545-.162.266-.457.464-.295.199-.715.324t-.935.125m7.077-2.283q.338 0 .685-.081.346-.082.64-.184l-.235-.914q-.177.074-.398.133a1.6 1.6 0 0 1-.413.059q-.619 0-.861-.361-.244-.361-.244-1.024v-3.978h1.93v-.987h-1.93v-2.004h-1.016L25.2 17.84l-1.12.073v.914h1.06v3.963q0 .531.104.972.103.443.346.752t.634.486q.39.177.965.177z"}),i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M19.647 73.55c.245 0 .45.178.492.41l.008.09v14.883a.5.5 0 0 1-.992.09l-.008-.09V74.05a.5.5 0 0 1 .5-.5"}),i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M14.682 83.856a.5.5 0 0 1 .639-.05l.068.058 4.615 4.719a.5.5 0 0 1-.646.757l-.068-.058-4.615-4.719a.5.5 0 0 1 .007-.707"}),i.createElement("path",{fill:"#2A506F",fillRule:"nonzero",d:"M24.016 83.96a.5.5 0 0 1 .758.646l-.058.07-4.72 4.614a.5.5 0 0 1-.757-.646l.058-.069z"}))))}},28814:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),r||(r=i.createElement("path",{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8M97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"})))}},54300:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),r||(r=i.createElement("path",{d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"})))}},84014:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},e),r||(r=i.createElement("path",{d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})))}},485:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),r||(r=i.createElement("path",{d:"M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512m113-303L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"})))}},89327:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),r||(r=i.createElement("path",{d:"M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512m-86.2-346.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1 0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6-13.3 0-24-10.7-24-24v-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1 0-8.4-6.8-15.1-15.1-15.1h-58.3c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1-64 0"})))}},93214:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),r||(r=i.createElement("path",{d:"M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512m-81-337c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9"})))}},93142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),r||(r=i.createElement("path",{d:"M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512"})))}},45565:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},e),r||(r=i.createElement("path",{d:"M208 0h124.1C344.8 0 357 5.1 366 14.1L433.9 82c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48M48 128h80v64H64v256h192v-32h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48"})))}},7716:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},e),r||(r=i.createElement("path",{d:"M0 64C0 28.7 28.7 0 64 0h160v128c0 17.7 14.3 32 32 32h128v288c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64zm384 64H256V0z"})))}},82775:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),r||(r=i.createElement("path",{d:"M495.9 166.6c3.2 8.7.5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4l-55.6 17.8c-8.8 2.8-18.6.3-24.5-6.8-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4c-1.1-8.4-1.7-16.9-1.7-25.5s.6-17.1 1.7-25.4l-43.3-39.4c-6.9-6.2-9.6-15.9-6.4-24.6 4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2 5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8 8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160"})))}},65974:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},e),r||(r=i.createElement("path",{d:"M579.8 267.7c56.5-56.5 56.5-148 0-204.5-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6 31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5 50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l112.2-112.3c31.5-31.5 82.5-31.5 114 0 27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0z"})))}},98994:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),r||(r=i.createElement("path",{d:"M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7.2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8.2-40.1l216-368C228.7 39.5 241.8 32 256 32m0 128c-13.3 0-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24m32 224a32 32 0 1 0-64 0 32 32 0 1 0 64 0"})))}},85098:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(81794);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const a=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},e),r||(r=i.createElement("path",{d:"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5c-11.3-13.6-31.5-15.4-45.1-4.1S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306l135.4 162.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256z"})))}},63737:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElectronBinding=void 0,t.getElectronBinding=e=>process._linkedBinding?process._linkedBinding("electron_common_"+e):process.electronBinding?process.electronBinding(e):null},24973:(e,t,n)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.browserModuleNames=t.commonModuleNames=void 0;const o=n(63737);t.commonModuleNames=["clipboard","nativeImage","shell"],t.browserModuleNames=["app","autoUpdater","BaseWindow","BrowserView","BrowserWindow","contentTracing","crashReporter","dialog","globalShortcut","ipcMain","inAppPurchase","Menu","MenuItem","nativeTheme","net","netLog","MessageChannelMain","Notification","powerMonitor","powerSaveBlocker","protocol","pushNotifications","safeStorage","screen","session","ShareMenu","systemPreferences","TopLevelWindow","TouchBar","Tray","utilityProcess","View","webContents","WebContentsView","webFrameMain"].concat(t.commonModuleNames);const a=o.getElectronBinding("features");!1!==(null===(r=null==a?void 0:a.isDesktopCapturerEnabled)||void 0===r?void 0:r.call(a))&&t.browserModuleNames.push("desktopCapturer"),!1!==(null===(i=null==a?void 0:a.isViewApiEnabled)||void 0===i?void 0:i.call(a))&&t.browserModuleNames.push("ImageView")},31380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserialize=t.serialize=t.isSerializableObject=t.isPromise=void 0;const r=n(84157);t.isPromise=function(e){return e&&e.then&&e.then instanceof Function&&e.constructor&&e.constructor.reject&&e.constructor.reject instanceof Function&&e.constructor.resolve&&e.constructor.resolve instanceof Function};const i=[Boolean,Number,String,Date,Error,RegExp,ArrayBuffer];function o(e){return null===e||ArrayBuffer.isView(e)||i.some((t=>e instanceof t))}t.isSerializableObject=o;const a=function(e,t){const n=Object.entries(e).map((([e,n])=>[e,t(n)]));return Object.fromEntries(n)};t.serialize=function e(t){return t&&t.constructor&&"NativeImage"===t.constructor.name?function(e){const t=[],n=e.getScaleFactors();if(1===n.length){const r=n[0],i=e.getSize(r),o=e.toBitmap({scaleFactor:r});t.push({scaleFactor:r,size:i,buffer:o})}else for(const r of n){const n=e.getSize(r),i=e.toDataURL({scaleFactor:r});t.push({scaleFactor:r,size:n,dataURL:i})}return{__ELECTRON_SERIALIZED_NativeImage__:!0,representations:t}}(t):Array.isArray(t)?t.map(e):o(t)?t:t instanceof Object?a(t,e):t},t.deserialize=function e(t){return t&&t.__ELECTRON_SERIALIZED_NativeImage__?function(e){const t=r.nativeImage.createEmpty();if(1===e.representations.length){const{buffer:n,size:r,scaleFactor:i}=e.representations[0],{width:o,height:a}=r;t.addRepresentation({buffer:n,scaleFactor:i,width:o,height:a})}else for(const n of e.representations){const{dataURL:e,size:r,scaleFactor:i}=n,{width:o,height:a}=r;t.addRepresentation({dataURL:e,scaleFactor:i,width:o,height:a})}return t}(t):Array.isArray(t)?t.map(e):o(t)?t:t instanceof Object?a(t,e):t}},29998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallbacksRegistry=void 0,t.CallbacksRegistry=class{constructor(){this.nextId=0,this.callbacks={},this.callbackIds=new WeakMap,this.locationInfo=new WeakMap}add(e){let t=this.callbackIds.get(e);if(null!=t)return t;t=this.nextId+=1,this.callbacks[t]=e,this.callbackIds.set(e,t);const n=/at (.*)/gi,r=(new Error).stack;if(!r)return t;let i,o;for(;null!==(o=n.exec(r));){const e=o[1];if(e.includes("(native)"))continue;if(e.includes("(<anonymous>)"))continue;if(e.includes("callbacks-registry.js"))continue;if(e.includes("remote.js"))continue;if(e.includes("@electron/remote/dist"))continue;const t=/([^/^)]*)\)?$/gi.exec(e);t&&(i=t[1]);break}return this.locationInfo.set(e,i),t}get(e){return this.callbacks[e]||function(){}}getLocation(e){return this.locationInfo.get(e)}apply(e,...t){return this.get(e).apply(global,...t)}remove(e){const t=this.callbacks[e];t&&(this.callbackIds.delete(t),delete this.callbacks[e])}}},82888:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};if(Object.defineProperty(t,"__esModule",{value:!0}),"browser"===process.type)throw new Error('"@electron/remote" cannot be required in the browser process. Instead require("@electron/remote/main").');i(n(77864),t)},77864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFunctionWithReturnValue=t.getGlobal=t.getCurrentWebContents=t.getCurrentWindow=t.getBuiltin=void 0;const r=n(29998),i=n(31380),o=n(84157),a=n(24973),s=n(63737),{Promise:l}=global,c=new r.CallbacksRegistry,u=new Map,f=new FinalizationRegistry((e=>{const t=u.get(e);void 0!==t&&void 0===t.deref()&&(u.delete(e),o.ipcRenderer.send("REMOTE_BROWSER_DEREFERENCE",h,e,0))})),d=new WeakMap,p=new WeakSet,h=process.contextId||function(){const e=s.getElectronBinding("v8_util");if(e)return e.getHiddenValue(global,"contextId");throw new Error("Electron >=v13.0.0-beta.6 required to support sandboxed renderers")}();process.on("exit",(()=>{o.ipcRenderer.send("REMOTE_BROWSER_CONTEXT_RELEASE",h)}));const m=Symbol("is-remote-proxy");function g(e,t=new Set){const n=e=>{if(t.has(e))return{type:"value",value:null};if(e&&e.constructor&&"NativeImage"===e.constructor.name)return{type:"nativeimage",value:i.serialize(e)};if(Array.isArray(e)){t.add(e);const n={type:"array",value:g(e,t)};return t.delete(e),n}if(e instanceof Buffer)return{type:"buffer",value:e};if(i.isSerializableObject(e))return{type:"value",value:e};if("object"==typeof e){if(i.isPromise(e))return{type:"promise",then:n((function(t,n){e.then(t,n)}))};if(d.has(e))return{type:"remote-object",id:d.get(e)};const r={type:"object",name:e.constructor?e.constructor.name:"",members:[]};t.add(e);for(const t in e)r.members.push({name:t,value:n(e[t])});return t.delete(e),r}return"function"==typeof e&&p.has(e)?{type:"function-with-return-value",value:n(e())}:"function"==typeof e?{type:"function",id:c.add(e),location:c.getLocation(e),length:e.length}:{type:"value",value:e}};return e.map(n)}function v(e,t,n,r){if(Array.isArray(r))for(const i of r){if(Object.prototype.hasOwnProperty.call(t,i.name))continue;const r={enumerable:i.enumerable};if("method"===i.type){const t=function(...e){let r;return r=this&&this.constructor===t?"REMOTE_BROWSER_MEMBER_CONSTRUCTOR":"REMOTE_BROWSER_MEMBER_CALL",_(o.ipcRenderer.sendSync(r,h,n,i.name,g(e)))};let a=b(t,n,i.name);r.get=()=>(a.ref=e,a),r.set=e=>(a=e,e),r.configurable=!0}else"get"===i.type&&(r.get=()=>_(o.ipcRenderer.sendSync("REMOTE_BROWSER_MEMBER_GET",h,n,i.name)),i.writable&&(r.set=e=>{const t=g([e]),r=o.ipcRenderer.sendSync("REMOTE_BROWSER_MEMBER_SET",h,n,i.name,t);return null!=r&&_(r),e}));Object.defineProperty(t,i.name,r)}}function y(e,t,n,r){if(null===r)return;const i={};v(e,i,n,r.members),y(e,i,n,r.proto),Object.setPrototypeOf(t,i)}function b(e,t,n){let r=!1;const i=()=>{if(r)return;r=!0;const i=o.ipcRenderer.sendSync("REMOTE_BROWSER_MEMBER_GET",h,t,n);v(e,e,i.id,i.members)};return new Proxy(e,{set:(e,t,n)=>("ref"!==t&&i(),e[t]=n,!0),get:(e,t)=>{if(t===m)return!0;Object.prototype.hasOwnProperty.call(e,t)||i();const n=e[t];return"toString"===t&&"function"==typeof n?n.bind(e):n},ownKeys:e=>(i(),Object.getOwnPropertyNames(e)),getOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t)||(i(),Object.getOwnPropertyDescriptor(e,t))})}function _(e){if(!e)return{};if("value"===e.type)return e.value;if("array"===e.type)return e.members.map((e=>_(e)));if("nativeimage"===e.type)return i.deserialize(e.value);if("buffer"===e.type)return Buffer.from(e.value.buffer,e.value.byteOffset,e.value.byteLength);if("promise"===e.type)return l.resolve({then:_(e.then)});if("error"===e.type)return w(e);if("exception"===e.type)throw"error"===e.value.type?w(e.value):new Error(`Unexpected value type in exception: ${e.value.type}`);{let t;if("id"in e){const t=function(e){const t=u.get(e);if(void 0!==t){const e=t.deref();if(void 0!==e)return e}}(e.id);if(void 0!==t)return t}if("function"===e.type){const n=function(...t){let r;return r=this&&this.constructor===n?"REMOTE_BROWSER_CONSTRUCTOR":"REMOTE_BROWSER_FUNCTION_CALL",_(o.ipcRenderer.sendSync(r,h,e.id,g(t)))};t=n}else t={};return v(t,t,e.id,e.members),y(t,t,e.id,e.proto),t.constructor&&t.constructor[m]&&Object.defineProperty(t.constructor,"name",{value:e.name}),d.set(t,e.id),function(e,t){const n=new WeakRef(t);u.set(e,n),f.register(t,e)}(e.id,t),t}}function w(e){const t=e.value;for(const{name:n,value:r}of e.members)t[n]=_(r);return t}function S(e,t){o.ipcRenderer.on(e,((n,r,i,...a)=>{"number"!=typeof n.senderId||0===n.senderId||void 0===n.senderId?r===h?t(i,...a):o.ipcRenderer.send("REMOTE_BROWSER_WRONG_CONTEXT_ERROR",h,r,i):console.error(`Message ${e} sent by unexpected WebContents (${n.senderId})`)}))}const x=process.argv.includes("--enable-api-filtering-logging");function E(){const e={stack:void 0};return x&&Error.captureStackTrace(e,E),e.stack}S("REMOTE_RENDERER_CALLBACK",((e,t)=>{c.apply(e,_(t))})),S("REMOTE_RENDERER_RELEASE_CALLBACK",(e=>{c.remove(e)})),t.require=e=>_(o.ipcRenderer.sendSync("REMOTE_BROWSER_REQUIRE",h,e,E())),t.getBuiltin=function(e){return _(o.ipcRenderer.sendSync("REMOTE_BROWSER_GET_BUILTIN",h,e,E()))},t.getCurrentWindow=function(){return _(o.ipcRenderer.sendSync("REMOTE_BROWSER_GET_CURRENT_WINDOW",h,E()))},t.getCurrentWebContents=function(){return _(o.ipcRenderer.sendSync("REMOTE_BROWSER_GET_CURRENT_WEB_CONTENTS",h,E()))},t.getGlobal=function(e){return _(o.ipcRenderer.sendSync("REMOTE_BROWSER_GET_GLOBAL",h,e,E()))},Object.defineProperty(t,"process",{enumerable:!0,get:()=>t.getGlobal("process")}),t.createFunctionWithReturnValue=function(e){const t=()=>e;return p.add(t),t},a.browserModuleNames.forEach((e=>{Object.defineProperty(t,e,{enumerable:!0,get:()=>t.getBuiltin(e)})}))},53260:(e,t,n)=>{e.exports=n(82888)},90775:(e,t)=>{"use strict";t.mw={prefix:"far",iconName:"copy",icon:[448,512,[],"f0c5","M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z"]},t.jP=t.mw},75433:(e,t)=>{"use strict";t.mw={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"]},t.pS=t.mw},61480:(e,t)=>{"use strict";t.mw={prefix:"far",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm51.3 163.3l-41.9-33C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5zm-88-69.3L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8z"]},t.k6=t.mw},80565:(e,t,n)=>{"use strict";var r=n(24453);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.h8=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},24453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="file-lines",r=[128441,128462,61686,"file-alt","file-text"],i="f15c",o="M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24H264c13.3 0 24-10.7 24-24s-10.7-24-24-24H120zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24H264c13.3 0 24-10.7 24-24s-10.7-24-24-24H120z";t.definition={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.faFileLines=t.definition,t.prefix="far",t.iconName=n,t.width=384,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},34230:(e,t)=>{"use strict";t.mw={prefix:"far",iconName:"star",icon:[576,512,[11088,61446],"f005","M287.9 0c9.2 0 17.6 5.2 21.6 13.5l68.6 141.3 153.2 22.6c9 1.3 16.5 7.6 19.3 16.3s.5 18.1-5.9 24.5L433.6 328.4l26.2 155.6c1.5 9-2.2 18.1-9.7 23.5s-17.3 6-25.3 1.7l-137-73.2L151 509.1c-8.1 4.3-17.9 3.7-25.3-1.7s-11.2-14.5-9.7-23.5l26.2-155.6L31.1 218.2c-6.5-6.4-8.7-15.9-5.9-24.5s10.3-14.9 19.3-16.3l153.2-22.6L266.3 13.5C270.4 5.2 278.7 0 287.9 0zm0 79L235.4 187.2c-3.5 7.1-10.2 12.1-18.1 13.3L99 217.9 184.9 303c5.5 5.5 8.1 13.3 6.8 21L171.4 443.7l105.2-56.2c7.1-3.8 15.6-3.8 22.6 0l105.2 56.2L384.2 324.1c-1.3-7.7 1.2-15.5 6.8-21l85.9-85.1L358.6 200.5c-7.8-1.2-14.6-6.1-18.1-13.3L287.9 79z"]},t.yy=t.mw},51823:(e,t,n)=>{"use strict";var r=n(20978);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.Be=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},20978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="trash-can",r=[61460,"trash-alt"],i="f2ed",o="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z";t.definition={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.faTrashCan=t.definition,t.prefix="far",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},41862:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},t.B0=t.mw},61492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="arrow-rotate-left",r=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],i="f0e2",o="M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faArrowRotateLeft=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},49799:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},t.IN=t.mw},398:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},t.Df=t.mw},29529:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},t.ck=t.mw},85140:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},t.xB=t.mw},61793:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},t.S$=t.mw},32153:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},t.W1=t.mw},61147:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},t.e6=t.mw},79479:(e,t,n)=>{"use strict";var r=n(64007);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.SG=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},1392:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},t.Jt=t.mw},36641:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},t.Wz=t.mw},87816:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},t.Xk=t.mw},18741:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},t.w2=t.mw},8911:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},t.GE=t.mw},64007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-check",r=[61533,"check-circle"],i="f058",o="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faCircleCheck=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},155:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-question",r=[62108,"question-circle"],i="f059",o="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faCircleQuestion=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},65960:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-user",r=[62142,"user-circle"],i="f2bd",o="M399 384.2C376.9 345.8 335.4 320 288 320H224c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faCircleUser=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},4722:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-xmark",r=[61532,"times-circle","xmark-circle"],i="f057",o="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faCircleXmark=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},28960:(e,t,n)=>{"use strict";var r=n(54508);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.dB=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},35810:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},t.jP=t.mw},49475:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},t.cb=t.mw},59958:(e,t,n)=>{"use strict";var r=n(55730);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.zp=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},1722:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},t.pS=t.mw},18353:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},t.k6=t.mw},64729:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},t.mR=t.mw},54508:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="gear",r=[9881,"cog"],i="f013",o="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faGear=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},34308:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"lightbulb",icon:[384,512,[128161],"f0eb","M272 384c9.6-31.9 29.5-59.1 49.2-86.2l0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4l0 0c19.8 27.1 39.7 54.4 49.2 86.2H272zM192 512c44.2 0 80-35.8 80-80V416H112v16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z"]},t.rC=t.mw},98068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="magnifying-glass",r=[128269,"search"],i="f002",o="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faMagnifyingGlass=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},10683:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},t.EZ=t.mw},40522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="pencil",r=[9999,61504,"pencil-alt"],i="f303",o="M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faPencil=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},68231:(e,t,n)=>{"use strict";var r=n(40522);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.cN=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},76259:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},t.QL=t.mw},96243:(e,t,n)=>{"use strict";var r=n(155);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.wR=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},34999:(e,t,n)=>{"use strict";var r=n(98068);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.Mj=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},9975:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"sort",icon:[320,512,["unsorted"],"f0dc","M137.4 41.4c12.5-12.5 32.8-12.5 45.3 0l128 128c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l128-128zm0 429.3l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8H288c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128c-12.5 12.5-32.8 12.5-45.3 0z"]},t.OM=t.mw},88403:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"]},t.yy=t.mw},36765:(e,t,n)=>{"use strict";var r=n(92550);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.GR=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},11365:(e,t,n)=>{"use strict";var r=n(4722);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.s0=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},62833:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},t.yL=t.mw},32902:(e,t,n)=>{"use strict";var r=n(33859);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.Be=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},33859:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="trash-can",r=[61460,"trash-alt"],i="f2ed",o="M135.2 17.7C140.6 6.8 151.7 0 163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3zM32 128H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zm96 64c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16z";t.definition={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.faTrashCan=t.definition,t.prefix="fas",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},55730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="triangle-exclamation",r=[9888,"exclamation-triangle","warning"],i="f071",o="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";t.definition={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.faTriangleExclamation=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},14154:(e,t,n)=>{"use strict";var r=n(61492);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.U2=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},33348:(e,t,n)=>{"use strict";var r=n(65960);t.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.VF=t.mw,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},92550:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],i="f00d",o="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";t.definition={prefix:"fas",iconName:n,icon:[384,512,r,i,o]},t.faXmark=t.definition,t.prefix="fas",t.iconName=n,t.width=384,t.height=512,t.ligatures=r,t.unicode=i,t.svgPathData=o,t.aliases=r},72594:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{g:()=>Ln});var d=function(){},p={},h={},m=null,g={mark:d,measure:d};try{"undefined"!=typeof window&&(p=window),"undefined"!=typeof document&&(h=document),"undefined"!=typeof MutationObserver&&(m=MutationObserver),"undefined"!=typeof performance&&(g=performance)}catch(e){}var v,y,b,_,w,S=(p.navigator||{}).userAgent,x=void 0===S?"":S,E=p,k=h,C=m,O=g,T=(E.document,!!k.documentElement&&!!k.head&&"function"==typeof k.addEventListener&&"function"==typeof k.createElement),P=~x.indexOf("MSIE")||~x.indexOf("Trident/"),A="___FONT_AWESOME___",M="fa",L="svg-inline--fa",I="data-fa-i2svg",R="data-fa-pseudo-element",D="data-fa-pseudo-element-pending",j="data-prefix",N="data-icon",F="fontawesome-i2svg",B="async",z=["HTML","HEAD","STYLE","SCRIPT"],$=function(){try{return!0}catch(e){return!1}}(),U="classic",H="sharp",W=[U,H];function q(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[U]}})}var V=q((s(v={},U,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),s(v,H,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),v)),K=q((s(y={},U,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),s(y,H,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),y)),G=q((s(b={},U,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),s(b,H,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),b)),Y=q((s(_={},U,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),s(_,H,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),_)),J=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Z="fa-layers-text",X=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Q=q((s(w={},U,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),s(w,H,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),w)),ee=[1,2,3,4,5,6,7,8,9,10],te=ee.concat([11,12,13,14,15,16,17,18,19,20]),ne=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],re={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ie=new Set;Object.keys(K[U]).map(ie.add.bind(ie)),Object.keys(K[H]).map(ie.add.bind(ie));var oe=[].concat(W,c(ie),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",re.GROUP,re.SWAP_OPACITY,re.PRIMARY,re.SECONDARY]).concat(ee.map((function(e){return"".concat(e,"x")}))).concat(te.map((function(e){return"w-".concat(e)}))),ae=E.FontAwesomeConfig||{};k&&"function"==typeof k.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=l(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=k.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(ae[r]=i)}));var se={styleDefault:"solid",familyDefault:"classic",cssPrefix:M,replacementClass:L,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ae.familyPrefix&&(ae.cssPrefix=ae.familyPrefix);var le=i(i({},se),ae);le.autoReplaceSvg||(le.observeMutations=!1);var ce={};Object.keys(se).forEach((function(e){Object.defineProperty(ce,e,{enumerable:!0,set:function(t){le[e]=t,ue.forEach((function(e){return e(ce)}))},get:function(){return le[e]}})})),Object.defineProperty(ce,"familyPrefix",{enumerable:!0,set:function(e){le.cssPrefix=e,ue.forEach((function(e){return e(ce)}))},get:function(){return le.cssPrefix}}),E.FontAwesomeConfig=ce;var ue=[],fe=16,de={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},pe="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function he(){for(var e=12,t="";e-- >0;)t+=pe[62*Math.random()|0];return t}function me(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ge(e){return e.classList?me(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function ve(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ye(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function be(e){return e.size!==de.size||e.x!==de.x||e.y!==de.y||e.rotate!==de.rotate||e.flipX||e.flipY}var _e=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    -webkit-transition-delay: 0s;\n            transition-delay: 0s;\n    -webkit-transition-duration: 0s;\n            transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n          transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';function we(){var e=M,t=L,n=ce.cssPrefix,r=ce.replacementClass,i=_e;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var Se=!1;function xe(){ce.autoAddCss&&!Se&&(function(e){if(e&&T){var t=k.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=k.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}k.head.insertBefore(t,r)}}(we()),Se=!0)}var Ee={mixout:function(){return{dom:{css:we,insertCss:xe}}},hooks:function(){return{beforeDOMElementCreation:function(){xe()},beforeI2svg:function(){xe()}}}},ke=E||{};ke[A]||(ke[A]={}),ke[A].styles||(ke[A].styles={}),ke[A].hooks||(ke[A].hooks={}),ke[A].shims||(ke[A].shims=[]);var Ce=ke[A],Oe=[],Te=!1;function Pe(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?ve(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ve(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Pe).join(""),"</").concat(t,">")}function Ae(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}T&&((Te=(k.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(k.readyState))||k.addEventListener("DOMContentLoaded",(function e(){k.removeEventListener("DOMContentLoaded",e),Te=1,Oe.map((function(e){return e()}))})));var Me=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)a=c(a,e[o=s[i]],o,e);return a};function Le(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function Ie(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Re(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Ie(t);"function"!=typeof Ce.hooks.addPack||r?Ce.styles[e]=i(i({},Ce.styles[e]||{}),o):Ce.hooks.addPack(e,Ie(t)),"fas"===e&&Re("fa",t)}var De,je,Ne,Fe=Ce.styles,Be=Ce.shims,ze=(s(De={},U,Object.values(G[U])),s(De,H,Object.values(G[H])),De),$e=null,Ue={},He={},We={},qe={},Ve={},Ke=(s(je={},U,Object.keys(V[U])),s(je,H,Object.keys(V[H])),je);var Ge,Ye=function(){var e=function(e){return Me(Fe,(function(t,n,r){return t[r]=Me(n,e,{}),t}),{})};Ue=e((function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n})),e})),He=e((function(e,t,n){return e[n]=n,t[2]&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n})),e})),Ve=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Fe||ce.autoFetchSvg,n=Me(Be,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});We=n.names,qe=n.unicodes,$e=tt(ce.styleDefault,{family:ce.familyDefault})};function Je(e,t){return(Ue[e]||{})[t]}function Ze(e,t){return(Ve[e]||{})[t]}function Xe(e){return We[e]||{prefix:null,iconName:null}}function Qe(){return $e}Ge=function(e){$e=tt(e.styleDefault,{family:ce.familyDefault})},ue.push(Ge),Ye();var et=function(){return{prefix:null,iconName:null,rest:[]}};function tt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?U:t,r=V[n][e],i=K[n][e]||K[n][r],o=e in Ce.styles?e:null;return i||o||null}var nt=(s(Ne={},U,Object.keys(G[U])),s(Ne,H,Object.keys(G[H])),Ne);function rt(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,i=(s(t={},U,"".concat(ce.cssPrefix,"-").concat(U)),s(t,H,"".concat(ce.cssPrefix,"-").concat(H)),t),o=null,a=U;(e.includes(i[U])||e.some((function(e){return nt[U].includes(e)})))&&(a=U),(e.includes(i[H])||e.some((function(e){return nt[H].includes(e)})))&&(a=H);var l=e.reduce((function(e,t){var n=function(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~oe.indexOf(n))?null:o}(ce.cssPrefix,t);if(Fe[t]?(t=ze[a].includes(t)?Y[a][t]:t,o=t,e.prefix=t):Ke[a].indexOf(t)>-1?(o=t,e.prefix=tt(t,{family:a})):n?e.iconName=n:t!==ce.replacementClass&&t!==i[U]&&t!==i[H]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var s="fa"===o?Xe(e.iconName):{},l=Ze(e.prefix,e.iconName);s.prefix&&(o=null),e.iconName=s.iconName||l||e.iconName,e.prefix=s.prefix||e.prefix,"far"!==e.prefix||Fe.far||!Fe.fas||ce.autoFetchSvg||(e.prefix="fas")}return e}),et());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||a!==H||!Fe.fass&&!ce.autoFetchSvg||(l.prefix="fass",l.iconName=Ze(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==o||(l.prefix=Qe()||"fas"),l}var it=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=i(i({},e.definitions[t]||{}),o[t]),Re(t,o[t]);var n=G[U][t];n&&Re(n,o[t]),Ye()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ot=[],at={},st={},lt=Object.keys(st);function ct(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(at[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function ut(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(at[e]||[]).forEach((function(e){e.apply(null,n)}))}function ft(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return st[e]?st[e].apply(null,t):void 0}function dt(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Qe();if(t)return t=Ze(n,t)||t,Ae(pt.definitions,n,t)||Ae(Ce.styles,n,t)}var pt=new it,ht={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return T?(ut("beforeI2svg",e),ft("pseudoElements2svg",e),ft("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===ce.autoReplaceSvg&&(ce.autoReplaceSvg=!0),ce.observeMutations=!0,e=function(){gt({autoReplaceSvgRoot:n}),ut("watch",t)},T&&(Te?setTimeout(e,0):Oe.push(e))}},mt={noAuto:function(){ce.autoReplaceSvg=!1,ce.observeMutations=!1,ut("noAuto")},config:ce,dom:ht,parse:{icon:function(e){if(null===e)return null;if("object"===o(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ze(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=tt(e[0]);return{prefix:n,iconName:Ze(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ce.cssPrefix,"-"))>-1||e.match(J))){var r=rt(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Qe(),iconName:Ze(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Qe();return{prefix:i,iconName:Ze(i,e)||e}}}},library:pt,findIconDefinition:dt,toHtml:Pe},gt=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?k:e;(Object.keys(Ce.styles).length>0||ce.autoFetchSvg)&&T&&ce.autoReplaceSvg&&mt.dom.i2svg({node:t})};function vt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Pe(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(T){var t=k.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function yt(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,s=e.transform,l=e.symbol,c=e.title,u=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,m=r.found?r:n,g=m.width,v=m.height,y="fak"===o,b=[ce.replacementClass,a?"".concat(ce.cssPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:i(i({},d.attributes),{},{"data-prefix":o,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},w=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};h&&(_.attributes[I]=""),c&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||he())},children:[c]}),delete _.attributes.title);var S=i(i({},_),{},{prefix:o,iconName:a,main:n,mask:r,maskId:u,transform:s,symbol:l,styles:i(i({},w),d.styles)}),x=r.found&&n.found?ft("generateAbstractMask",S)||{children:[],attributes:{}}:ft("generateAbstractIcon",S)||{children:[],attributes:{}},E=x.children,k=x.attributes;return S.children=E,S.attributes=k,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol,s=!0===a?"".concat(t,"-").concat(ce.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i(i({},o),{},{id:s}),children:r}]}]}(S):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,s=e.transform;if(be(s)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};o.style=ye(i(i({},a),{},{"transform-origin":"".concat(l.x+s.x/16,"em ").concat(l.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(S)}function bt(e){var t=e.content,n=e.width,r=e.height,o=e.transform,a=e.title,s=e.extra,l=e.watchable,c=void 0!==l&&l,u=i(i(i({},s.attributes),a?{title:a}:{}),{},{class:s.classes.join(" ")});c&&(u[I]="");var f=i({},s.styles);be(o)&&(f.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,l="";return l+=s&&P?"translate(".concat(t.x/fe-r/2,"em, ").concat(t.y/fe-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/fe,"em), calc(-50% + ").concat(t.y/fe,"em)) "):"translate(".concat(t.x/fe,"em, ").concat(t.y/fe,"em) "),(l+="scale(".concat(t.size/fe*(t.flipX?-1:1),", ").concat(t.size/fe*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var d=ye(f);d.length>0&&(u.style=d);var p=[];return p.push({tag:"span",attributes:u,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}var _t=Ce.styles;function wt(e){var t=e[0],n=e[1],r=l(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ce.cssPrefix,"-").concat(re.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ce.cssPrefix,"-").concat(re.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ce.cssPrefix,"-").concat(re.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var St={found:!1,width:512,height:512};function xt(e,t){var n=t;return"fa"===t&&null!==ce.styleDefault&&(t=Qe()),new Promise((function(r,o){if(ft("missingIconAbstract"),"fa"===n){var a=Xe(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&_t[t]&&_t[t][e])return r(wt(_t[t][e]));!function(e,t){$||ce.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(i(i({},St),{},{icon:ce.showMissingIcons&&e&&ft("missingIconAbstract")||{}}))}))}var Et=function(){},kt=ce.measurePerformance&&O&&O.mark&&O.measure?O:{mark:Et,measure:Et},Ct='FA "6.5.2"',Ot=function(e){kt.mark("".concat(Ct," ").concat(e," ends")),kt.measure("".concat(Ct," ").concat(e),"".concat(Ct," ").concat(e," begins"),"".concat(Ct," ").concat(e," ends"))},Tt={begin:function(e){return kt.mark("".concat(Ct," ").concat(e," begins")),function(){return Ot(e)}},end:Ot},Pt=function(){};function At(e){return"string"==typeof(e.getAttribute?e.getAttribute(I):null)}function Mt(e){return k.createElementNS("http://www.w3.org/2000/svg",e)}function Lt(e){return k.createElement(e)}function It(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Mt:Lt:t;if("string"==typeof e)return k.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(It(e,{ceFn:n}))})),r}var Rt={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(It(e),t)})),null===t.getAttribute(I)&&ce.keepOriginalSource){var n=k.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~ge(t).indexOf(ce.replacementClass))return Rt.replace(e);var r=new RegExp("".concat(ce.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===ce.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return Pe(e)})).join("\n");t.setAttribute(I,""),t.innerHTML=o}};function Dt(e){e()}function jt(e,t){var n="function"==typeof t?t:Pt;if(0===e.length)n();else{var r=Dt;ce.mutateApproach===B&&(r=E.requestAnimationFrame||Dt),r((function(){var t=!0===ce.autoReplaceSvg?Rt.replace:Rt[ce.autoReplaceSvg]||Rt.replace,r=Tt.begin("mutate");e.map(t),r(),n()}))}}var Nt=!1;function Ft(){Nt=!0}function Bt(){Nt=!1}var zt=null;function $t(e){if(C&&ce.observeMutations){var t=e.treeCallback,n=void 0===t?Pt:t,r=e.nodeCallback,i=void 0===r?Pt:r,o=e.pseudoElementsCallback,a=void 0===o?Pt:o,s=e.observeMutationsRoot,l=void 0===s?k:s;zt=new C((function(e){if(!Nt){var t=Qe();me(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!At(e.addedNodes[0])&&(ce.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&ce.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&At(e.target)&&~ne.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(j):null,n=e.getAttribute?e.getAttribute(N):null;return t&&n}(e.target)){var r=rt(ge(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(j,o||t),s&&e.target.setAttribute(N,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(ce.replacementClass)&&i(e.target);var l}))}})),T&&zt.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ut(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=rt(ge(e));return a.prefix||(a.prefix=Qe()),r&&i&&(a.prefix=r,a.iconName=i),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(He[t]||{})[n]||Je(a.prefix,Le(e.innerText)))),!a.iconName&&ce.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}(e),r=n.iconName,o=n.prefix,a=n.rest,s=function(e){var t=me(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ce.autoA11y&&(n?t["aria-labelledby"]="".concat(ce.replacementClass,"-title-").concat(r||he()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=ct("parseNodeAttributes",{},e),c=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return i({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:de,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:s}},l)}var Ht=Ce.styles;function Wt(e){var t="nest"===ce.autoReplaceSvg?Ut(e,{styleParser:!1}):Ut(e);return~t.extra.classes.indexOf(Z)?ft("generateLayersText",e,t):ft("generateSvgReplacementMutation",e,t)}var qt=new Set;function Vt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!T)return Promise.resolve();var n=k.documentElement.classList,r=function(e){return n.add("".concat(F,"-").concat(e))},i=function(e){return n.remove("".concat(F,"-").concat(e))},o=ce.autoFetchSvg?qt:W.map((function(e){return"fa-".concat(e)})).concat(Object.keys(Ht));o.includes("fa")||o.push("fa");var a=[".".concat(Z,":not([").concat(I,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(I,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=me(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var l=Tt.begin("onTree"),c=s.reduce((function(e,t){try{var n=Wt(t);n&&e.push(n)}catch(e){$||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){jt(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function Kt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Wt(e).then((function(e){e&&jt([e],t)}))}W.map((function(e){qt.add("fa-".concat(e))})),Object.keys(V[U]).map(qt.add.bind(qt)),Object.keys(V[H]).map(qt.add.bind(qt)),qt=c(qt);var Gt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?de:n,o=t.symbol,a=void 0!==o&&o,s=t.mask,l=void 0===s?null:s,c=t.maskId,u=void 0===c?null:c,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,v=t.attributes,y=void 0===v?{}:v,b=t.styles,_=void 0===b?{}:b;if(e){var w=e.prefix,S=e.iconName,x=e.icon;return vt(i({type:"icon"},e),(function(){return ut("beforeDOMElementCreation",{iconDefinition:e,params:t}),ce.autoA11y&&(d?y["aria-labelledby"]="".concat(ce.replacementClass,"-title-").concat(h||he()):(y["aria-hidden"]="true",y.focusable="false")),yt({icons:{main:wt(x),mask:l?wt(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:S,transform:i(i({},de),r),symbol:a,title:d,maskId:u,titleId:h,extra:{attributes:y,styles:_,classes:g}})}))}},Yt={mixout:function(){return{icon:(e=Gt,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:dt(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:dt(o||{})),e(r,i(i({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Vt,e.nodeCallback=Kt,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?k:t,r=e.callback;return Vt(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,c=t.mask,u=t.maskId,f=t.extra;return new Promise((function(t,d){Promise.all([xt(n,o),c.iconName?xt(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var d=l(c,2),p=d[0],h=d[1];t([e,yt({icons:{main:p,mask:h},prefix:o,iconName:n,transform:a,symbol:s,maskId:u,title:r,titleId:i,extra:f,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=ye(e.styles);return a.length>0&&(r.style=a),be(o)&&(t=ft("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},Jt={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return vt({type:"layer"},(function(){ut("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(ce.cssPrefix,"-layers")].concat(c(r)).join(" ")},children:n}]}))}}}},Zt={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,a=void 0===o?[]:o,s=t.attributes,l=void 0===s?{}:s,u=t.styles,f=void 0===u?{}:u;return vt({type:"counter",content:e},(function(){return ut("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=i(i(i({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=ye(r.styles);a.length>0&&(o.style=a);var s=[];return s.push({tag:"span",attributes:o,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}({content:e.toString(),title:r,extra:{attributes:l,styles:f,classes:["".concat(ce.cssPrefix,"-layers-counter")].concat(c(a))}})}))}}}},Xt={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?de:n,o=t.title,a=void 0===o?null:o,s=t.classes,l=void 0===s?[]:s,u=t.attributes,f=void 0===u?{}:u,d=t.styles,p=void 0===d?{}:d;return vt({type:"text",content:e},(function(){return ut("beforeDOMElementCreation",{content:e,params:t}),bt({content:e,transform:i(i({},de),r),title:a,extra:{attributes:f,styles:p,classes:["".concat(ce.cssPrefix,"-layers-text")].concat(c(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(P){var s=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();o=l.width/s,a=l.height/s}return ce.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,bt({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},Qt=new RegExp('"',"ug"),en=[1105920,1112319];function tn(e,t){var n="".concat(D).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,s,l,c=me(e.children).filter((function(e){return e.getAttribute(R)===t}))[0],u=E.getComputedStyle(e,t),f=u.getPropertyValue("font-family").match(X),d=u.getPropertyValue("font-weight"),p=u.getPropertyValue("content");if(c&&!f)return e.removeChild(c),r();if(f&&"none"!==p&&""!==p){var h=u.getPropertyValue("content"),m=~["Sharp"].indexOf(f[2])?H:U,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(f[2])?K[m][f[2].toLowerCase()]:Q[m][d],v=function(e){var t,n,r,i,o=e.replace(Qt,""),a=(0,r=(t=o).length,(i=t.charCodeAt(0))>=55296&&i<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i),s=a>=en[0]&&a<=en[1],l=2===o.length&&o[0]===o[1];return{value:Le(l?o[0]:o),isSecondary:s||l}}(h),y=v.value,b=v.isSecondary,_=f[0].startsWith("FontAwesome"),w=Je(g,y),S=w;if(_){var x=(s=qe[a=y],l=Je("fas",a),s||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});x.iconName&&x.prefix&&(w=x.iconName,g=x.prefix)}if(!w||b||c&&c.getAttribute(j)===g&&c.getAttribute(N)===S)r();else{e.setAttribute(n,S),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:de,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},O=C.extra;O.attributes[R]=t,xt(w,g).then((function(o){var a=yt(i(i({},C),{},{icons:{main:o,mask:et()},prefix:g,iconName:S,extra:O,watchable:!0})),s=k.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=a.map((function(e){return Pe(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function nn(e){return Promise.all([tn(e,"::before"),tn(e,"::after")])}function rn(e){return!(e.parentNode===document.head||~z.indexOf(e.tagName.toUpperCase())||e.getAttribute(R)||e.parentNode&&"svg"===e.parentNode.tagName)}function on(e){if(T)return new Promise((function(t,n){var r=me(e.querySelectorAll("*")).filter(rn).map(nn),i=Tt.begin("searchPseudoElements");Ft(),Promise.all(r).then((function(){i(),Bt(),t()})).catch((function(){i(),Bt(),n()}))}))}var an=!1,sn=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ln={mixout:function(){return{parse:{transform:function(e){return sn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=sn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:a,inner:{transform:"".concat(s," ").concat(l," ").concat(c)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:i({},u.outer),children:[{tag:"g",attributes:i({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:i(i({},t.icon.attributes),u.path)}]}]}}}},cn={x:0,y:0,width:"100%",height:"100%"};function un(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var fn,dn={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?rt(n.split(" ").map((function(e){return e.trim()}))):et();return r.prefix||(r.prefix=Qe()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,s=e.maskId,l=e.transform,c=o.width,u=o.icon,f=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:l,containerWidth:f,iconWidth:c}),h={tag:"rect",attributes:i(i({},cn),{},{fill:"white"})},m=u.children?{children:u.children.map(un)}:{},g={tag:"g",attributes:i({},p.inner),children:[un(i({tag:u.tag,attributes:i(i({},u.attributes),p.path)},m))]},v={tag:"g",attributes:i({},p.outer),children:[g]},y="mask-".concat(s||he()),b="clip-".concat(s||he()),_={tag:"mask",attributes:i(i({},cn),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,v]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},_]};return n.push(w,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(y,")")},cn)}),{children:n,attributes:r}}}},pn={provides:function(e){var t=!1;E.matchMedia&&(t=E.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:i(i({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=i(i({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:i(i({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:i(i({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:i(i({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:i(i({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:i(i({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:i(i({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:i(i({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};fn={mixoutsTo:mt}.mixoutsTo,ot=[Ee,Yt,Jt,Zt,Xt,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=on,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?k:t;ce.searchPseudoElements&&on(n)}}},{mixout:function(){return{dom:{unwatch:function(){Ft(),an=!0}}}},hooks:function(){return{bootstrap:function(){$t(ct("mutationObserverCallbacks",{}))},noAuto:function(){zt&&zt.disconnect()},watch:function(e){var t=e.observeMutationsRoot;an?Bt():$t(ct("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ln,dn,pn,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],at={},Object.keys(st).forEach((function(e){-1===lt.indexOf(e)&&delete st[e]})),ot.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(fn[e]=t[e]),"object"===o(t[e])&&Object.keys(t[e]).forEach((function(n){fn[e]||(fn[e]={}),fn[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){at[e]||(at[e]=[]),at[e].push(n[e])}))}e.provides&&e.provides(st)}));var hn=mt.parse,mn=mt.icon,gn=n(17314),vn=n.n(gn),yn=n(81794);function bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wn(e){return wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wn(e)}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xn(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function En(e){return function(e){if(Array.isArray(e))return kn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return kn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var On=["style"],Tn=!1;try{Tn=!0}catch(e){}function Pn(e){return e&&"object"===wn(e)&&e.prefix&&e.iconName&&e.icon?e:hn.icon?hn.icon(e):null===e?null:e&&"object"===wn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function An(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Sn({},e,t):{}}var Mn=["forwardedRef"];function Ln(e){var t=e.forwardedRef,n=xn(e,Mn),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,u=Pn(r),f=An("classes",[].concat(En(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,f=e.pulse,d=e.fixedWidth,p=e.inverse,h=e.border,m=e.listItem,g=e.flip,v=e.size,y=e.rotation,b=e.pull,_=(Sn(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(v),null!=v),Sn(t,"fa-rotate-".concat(y),null!=y&&0!==y),Sn(t,"fa-pull-".concat(b),null!=b),Sn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(_).map((function(e){return _[e]?e:null})).filter((function(e){return e}))}(n)),En(a.split(" ")))),d=An("transform","string"==typeof n.transform?hn.transform(n.transform):n.transform),p=An("mask",Pn(i)),h=mn(u,_n(_n(_n(_n({},f),d),p),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!h)return function(){var e;!Tn&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=h.abstract,g={ref:t};return Object.keys(n).forEach((function(e){Ln.defaultProps.hasOwnProperty(e)||(g[e]=n[e])})),In(m[0],g)}Ln.displayName="FontAwesomeIcon",Ln.propTypes={beat:vn().bool,border:vn().bool,beatFade:vn().bool,bounce:vn().bool,className:vn().string,fade:vn().bool,flash:vn().bool,mask:vn().oneOfType([vn().object,vn().array,vn().string]),maskId:vn().string,fixedWidth:vn().bool,inverse:vn().bool,flip:vn().oneOf([!0,!1,"horizontal","vertical","both"]),icon:vn().oneOfType([vn().object,vn().array,vn().string]),listItem:vn().bool,pull:vn().oneOf(["right","left"]),pulse:vn().bool,rotation:vn().oneOf([0,90,180,270]),shake:vn().bool,size:vn().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:vn().bool,spinPulse:vn().bool,spinReverse:vn().bool,symbol:vn().oneOfType([vn().bool,vn().string]),title:vn().string,titleId:vn().string,transform:vn().oneOfType([vn().string,vn().object]),swapOpacity:vn().bool},Ln.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var In=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Cn(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Cn(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=xn(r,On);return o.attrs.style=_n(_n({},o.attrs.style),s),t.apply(void 0,[n.tag,_n(_n({},o.attrs),l)].concat(En(i)))}.bind(null,yn.createElement)},23380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.className,n=e.onClick,o=e.disabled;return r.default.createElement("div",{className:"row"},r.default.createElement("p",{className:"col-xs-3 col-xs-offset-9 text-right ".concat(t)},r.default.createElement(i.default,{type:"info",icon:"plus",className:"btn-add col-xs-12","aria-label":"Add",tabIndex:"0",onClick:n,disabled:o})))};var r=o(n(81794)),i=o(n(38314));function o(e){return e&&e.__esModule?e:{default:e}}},38314:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.type,n=void 0===t?"default":t,r=e.icon,a=e.className,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["type","icon","className"]);return i.default.createElement("button",o({type:"button",className:"btn btn-".concat(n," ").concat(a)},s),i.default.createElement("i",{className:"glyphicon glyphicon-".concat(r)}))};var r,i=(r=n(81794))&&r.__esModule?r:{default:r};function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}},32926:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(23380)),i=u(n(38314)),o=c(n(81794)),a=u(n(2162)),s=(c(n(81027)),n(83103)),l=u(n(5610));function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function u(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){b(e,t,n[t])}))}return e}function h(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e){var t=e.TitleField,n=e.idSchema,r=e.title,i=e.required;if(!r)return null;var a="".concat(n.$id,"__title");return o.default.createElement(t,{id:a,title:r,required:i})}function w(e){var t=e.DescriptionField,n=e.idSchema,r=e.description;if(!r)return null;var i="".concat(n.$id,"__description");return o.default.createElement(t,{id:i,description:r})}function S(e){var t={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return o.default.createElement("div",{key:e.key,className:e.className},o.default.createElement("div",{className:e.hasToolbar?"col-xs-9":"col-xs-12"},e.children),e.hasToolbar&&o.default.createElement("div",{className:"col-xs-3 array-item-toolbox"},o.default.createElement("div",{className:"btn-group",style:{display:"flex",justifyContent:"space-around"}},(e.hasMoveUp||e.hasMoveDown)&&o.default.createElement(i.default,{icon:"arrow-up","aria-label":"Move up",className:"array-item-move-up",tabIndex:"-1",style:t,disabled:e.disabled||e.readonly||!e.hasMoveUp,onClick:e.onReorderClick(e.index,e.index-1)}),(e.hasMoveUp||e.hasMoveDown)&&o.default.createElement(i.default,{icon:"arrow-down",className:"array-item-move-down","aria-label":"Move down",tabIndex:"-1",style:t,disabled:e.disabled||e.readonly||!e.hasMoveDown,onClick:e.onReorderClick(e.index,e.index+1)}),e.hasRemove&&o.default.createElement(i.default,{type:"danger",icon:"remove","aria-label":"Remove",className:"array-item-remove",tabIndex:"-1",style:t,disabled:e.disabled||e.readonly,onClick:e.onDropIndexClick(e.index)}))))}function x(e){return o.default.createElement("fieldset",{className:e.className,id:e.idSchema.$id},o.default.createElement(_,{key:"array-field-title-".concat(e.idSchema.$id),TitleField:e.TitleField,idSchema:e.idSchema,title:e.uiSchema["ui:title"]||e.title,required:e.required}),(e.uiSchema["ui:description"]||e.schema.description)&&o.default.createElement("div",{className:"field-description",key:"field-description-".concat(e.idSchema.$id)},e.uiSchema["ui:description"]||e.schema.description),o.default.createElement("div",{className:"row array-item-list",key:"array-item-list-".concat(e.idSchema.$id)},e.items&&e.items.map(S)),e.canAdd&&o.default.createElement(r.default,{className:"array-item-add",onClick:e.onAddClick,disabled:e.disabled||e.readonly}))}function E(e){return o.default.createElement("fieldset",{className:e.className,id:e.idSchema.$id},o.default.createElement(_,{key:"array-field-title-".concat(e.idSchema.$id),TitleField:e.TitleField,idSchema:e.idSchema,title:e.uiSchema["ui:title"]||e.title,required:e.required}),(e.uiSchema["ui:description"]||e.schema.description)&&o.default.createElement(w,{key:"array-field-description-".concat(e.idSchema.$id),DescriptionField:e.DescriptionField,idSchema:e.idSchema,description:e.uiSchema["ui:description"]||e.schema.description}),o.default.createElement("div",{className:"row array-item-list",key:"array-item-list-".concat(e.idSchema.$id)},e.items&&e.items.map((function(e){return S(e)}))),e.canAdd&&o.default.createElement(r.default,{className:"array-item-add",onClick:e.onAddClick,disabled:e.disabled||e.readonly}))}function k(){return l.default.generate()}function C(e){return Array.isArray(e)?e.map((function(e){return{key:k(),item:e}})):[]}function O(e){return e.map((function(e){return e.item}))}var T=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}(this,g(t).call(this,e)),b(v(n),"_getNewFormDataRow",(function(){var e=n.props,t=e.schema,r=e.registry,i=(void 0===r?(0,s.getDefaultRegistry)():r).rootSchema,o=t.items;return(0,s.isFixedItems)(t)&&(0,s.allowAdditionalItems)(t)&&(o=t.additionalItems),(0,s.getDefaultFormState)(o,void 0,i)})),b(v(n),"onAddClick",(function(e){e&&e.preventDefault();var t=n.props.onChange,r={key:k(),item:n._getNewFormDataRow()},i=[].concat(h(n.state.keyedFormData),[r]);n.setState({keyedFormData:i,updatedKeyedFormData:!0},(function(){return t(O(i))}))})),b(v(n),"onAddIndexClick",(function(e){return function(t){t&&t.preventDefault();var r=n.props.onChange,i={key:k(),item:n._getNewFormDataRow()},o=h(n.state.keyedFormData);o.splice(e,0,i),n.setState({keyedFormData:o,updatedKeyedFormData:!0},(function(){return r(O(o))}))}})),b(v(n),"onDropIndexClick",(function(e){return function(t){t&&t.preventDefault();var r,i=n.props.onChange,o=n.state.keyedFormData;if(n.props.errorSchema){r={};var a=n.props.errorSchema;for(var s in a)(s=parseInt(s))<e?r[s]=a[s]:s>e&&(r[s-1]=a[s])}var l=o.filter((function(t,n){return n!==e}));n.setState({keyedFormData:l,updatedKeyedFormData:!0},(function(){return i(O(l),r)}))}})),b(v(n),"onReorderClick",(function(e,t){return function(r){r&&(r.preventDefault(),r.target.blur());var i,o=n.props.onChange;if(n.props.errorSchema){i={};var a=n.props.errorSchema;for(var s in a)s==e?i[t]=a[e]:s==t?i[e]=a[t]:i[s]=a[s]}var l,c=n.state.keyedFormData,u=((l=c.slice()).splice(e,1),l.splice(t,0,c[e]),l);n.setState({keyedFormData:u},(function(){return o(O(u),i)}))}})),b(v(n),"onChangeForIndex",(function(e){return function(t,r){var i=n.props,o=i.formData;(0,i.onChange)(o.map((function(n,r){return e===r?void 0===t?null:t:n})),r&&n.props.errorSchema&&p({},n.props.errorSchema,b({},e,r)))}})),b(v(n),"onSelectChange",(function(e){n.props.onChange(e)}));var r=C(e.formData);return n.state={keyedFormData:r,updatedKeyedFormData:!1},n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),n=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){if(t.updatedKeyedFormData)return{updatedKeyedFormData:!1};var n=e.formData||[],r=t.keyedFormData||[];return{keyedFormData:n.length===r.length?r.map((function(e,t){return{key:e.key,item:n[t]}})):C(n)}}}],(r=[{key:"isItemRequired",value:function(e){return Array.isArray(e.type)?!(0,a.default)(e.type,"null"):"null"!==e.type}},{key:"canAddItem",value:function(e){var t=this.props,n=t.schema,r=t.uiSchema,i=(0,s.getUiOptions)(r).addable;return!1!==i&&(i=void 0===n.maxItems||e.length<n.maxItems),i}},{key:"render",value:function(){var e=this.props,t=e.schema,n=e.uiSchema,r=e.idSchema,i=e.registry,a=void 0===i?(0,s.getDefaultRegistry)():i,l=a.rootSchema;if(!t.hasOwnProperty("items")){var c=a.fields.UnsupportedField;return o.default.createElement(c,{schema:t,idSchema:r,reason:"Missing items definition"})}return(0,s.isFixedItems)(t)?this.renderFixedArray():(0,s.isFilesArray)(t,n,l)?this.renderFiles():(0,s.isMultiSelect)(t,l)?this.renderMultiSelect():this.renderNormalArray()}},{key:"renderNormalArray",value:function(){var e=this,t=this.props,n=t.schema,r=t.uiSchema,i=t.errorSchema,a=t.idSchema,l=t.name,c=t.required,u=t.disabled,f=t.readonly,d=t.autofocus,p=t.registry,h=void 0===p?(0,s.getDefaultRegistry)():p,m=t.onBlur,g=t.onFocus,v=t.idPrefix,y=t.rawErrors,b=void 0===n.title?l:n.title,_=h.ArrayFieldTemplate,w=h.rootSchema,S=h.fields,x=h.formContext,k=S.TitleField,C=S.DescriptionField,T=(0,s.retrieveSchema)(n.items,w),P=O(this.state.keyedFormData),A={canAdd:this.canAddItem(P),items:this.state.keyedFormData.map((function(t,o){var l=t.key,c=t.item,u=(0,s.retrieveSchema)(n.items,w,c),f=i?i[o]:void 0,p=a.$id+"_"+o,h=(0,s.toIdSchema)(u,p,w,c,v);return e.renderArrayFieldItem({key:l,index:o,canMoveUp:o>0,canMoveDown:o<P.length-1,itemSchema:u,itemIdSchema:h,itemErrorSchema:f,itemData:c,itemUiSchema:r.items,autofocus:d&&0===o,onBlur:m,onFocus:g})})),className:"field field-array field-array-of-".concat(T.type),DescriptionField:C,disabled:u,idSchema:a,uiSchema:r,onAddClick:this.onAddClick,readonly:f,required:c,schema:n,title:b,TitleField:k,formContext:x,formData:P,rawErrors:y,registry:h},M=r["ui:ArrayFieldTemplate"]||_||E;return o.default.createElement(M,A)}},{key:"renderMultiSelect",value:function(){var e=this.props,t=e.schema,n=e.idSchema,r=e.uiSchema,i=e.formData,a=e.disabled,l=e.readonly,c=e.required,u=e.label,f=e.placeholder,h=e.autofocus,m=e.onBlur,g=e.onFocus,v=e.registry,y=void 0===v?(0,s.getDefaultRegistry)():v,b=e.rawErrors,_=this.props.formData,w=y.widgets,S=y.rootSchema,x=y.formContext,E=(0,s.retrieveSchema)(t.items,S,i),k=(0,s.optionsList)(E),C=p({},(0,s.getUiOptions)(r),{enumOptions:k}),O=C.widget,T=void 0===O?"select":O,P=d(C,["widget"]),A=(0,s.getWidget)(t,T,w);return o.default.createElement(A,{id:n&&n.$id,multiple:!0,onChange:this.onSelectChange,onBlur:m,onFocus:g,options:P,schema:t,registry:y,value:_,disabled:a,readonly:l,required:c,label:u,placeholder:f,formContext:x,autofocus:h,rawErrors:b})}},{key:"renderFiles",value:function(){var e=this.props,t=e.schema,n=e.uiSchema,r=e.idSchema,i=e.name,a=e.disabled,l=e.readonly,c=e.autofocus,u=e.onBlur,f=e.onFocus,p=e.registry,h=void 0===p?(0,s.getDefaultRegistry)():p,m=e.rawErrors,g=t.title||i,v=this.props.formData,y=h.widgets,b=h.formContext,_=(0,s.getUiOptions)(n),w=_.widget,S=void 0===w?"files":w,x=d(_,["widget"]),E=(0,s.getWidget)(t,S,y);return o.default.createElement(E,{options:x,id:r&&r.$id,multiple:!0,onChange:this.onSelectChange,onBlur:u,onFocus:f,schema:t,title:g,value:v,disabled:a,readonly:l,formContext:b,autofocus:c,rawErrors:m})}},{key:"renderFixedArray",value:function(){var e=this,t=this.props,n=t.schema,r=t.uiSchema,i=t.formData,a=t.errorSchema,l=t.idPrefix,c=t.idSchema,u=t.name,f=t.required,d=t.disabled,p=t.readonly,h=t.autofocus,m=t.registry,g=void 0===m?(0,s.getDefaultRegistry)():m,v=t.onBlur,y=t.onFocus,b=t.rawErrors,_=n.title||u,w=this.props.formData,S=g.ArrayFieldTemplate,E=g.rootSchema,k=g.fields,C=g.formContext,O=k.TitleField,T=n.items.map((function(e,t){return(0,s.retrieveSchema)(e,E,i[t])})),P=(0,s.allowAdditionalItems)(n)?(0,s.retrieveSchema)(n.additionalItems,E,i):null;(!w||w.length<T.length)&&(w=(w=w||[]).concat(new Array(T.length-w.length)));var A={canAdd:this.canAddItem(w)&&P,className:"field field-array field-array-fixed-items",disabled:d,idSchema:c,formData:i,items:this.state.keyedFormData.map((function(t,i){var o=t.key,u=t.item,f=i>=T.length,d=f?(0,s.retrieveSchema)(n.additionalItems,E,u):T[i],p=c.$id+"_"+i,m=(0,s.toIdSchema)(d,p,E,u,l),g=f?r.additionalItems||{}:Array.isArray(r.items)?r.items[i]:r.items||{},b=a?a[i]:void 0;return e.renderArrayFieldItem({key:o,index:i,canRemove:f,canMoveUp:i>=T.length+1,canMoveDown:f&&i<w.length-1,itemSchema:d,itemData:u,itemUiSchema:g,itemIdSchema:m,itemErrorSchema:b,autofocus:h&&0===i,onBlur:v,onFocus:y})})),onAddClick:this.onAddClick,readonly:p,required:f,schema:n,uiSchema:r,title:_,TitleField:O,formContext:C,rawErrors:b},M=r["ui:ArrayFieldTemplate"]||S||x;return o.default.createElement(M,A)}},{key:"renderArrayFieldItem",value:function(e){var t=e.key,n=e.index,r=e.canRemove,i=void 0===r||r,a=e.canMoveUp,l=void 0===a||a,c=e.canMoveDown,u=void 0===c||c,f=e.itemSchema,d=e.itemData,h=e.itemUiSchema,m=e.itemIdSchema,g=e.itemErrorSchema,v=e.autofocus,y=e.onBlur,b=e.onFocus,_=e.rawErrors,w=this.props,S=w.disabled,x=w.readonly,E=w.uiSchema,k=w.registry,C=(void 0===k?(0,s.getDefaultRegistry)():k).fields.SchemaField,O=p({orderable:!0,removable:!0},E["ui:options"]),T=O.orderable,P={moveUp:T&&l,moveDown:T&&u,remove:O.removable&&i};return P.toolbar=Object.keys(P).some((function(e){return P[e]})),{children:o.default.createElement(C,{index:n,schema:f,uiSchema:h,formData:d,errorSchema:g,idSchema:m,required:this.isItemRequired(f),onChange:this.onChangeForIndex(n),onBlur:y,onFocus:b,registry:this.props.registry,disabled:this.props.disabled,readonly:this.props.readonly,autofocus:v,rawErrors:_}),className:"array-item",disabled:S,hasToolbar:P.toolbar,hasMoveUp:P.moveUp,hasMoveDown:P.moveDown,hasRemove:P.remove,index:n,key:t,onAddIndexClick:this.onAddIndexClick,onDropIndexClick:this.onDropIndexClick,onReorderClick:this.onReorderClick,readonly:x}}},{key:"itemTitle",get:function(){var e=this.props.schema;return e.items.title||e.items.description||"Item"}}])&&m(n.prototype,r),i&&m(n,i),t}(o.Component);b(T,"defaultProps",{uiSchema:{},formData:[],idSchema:{},required:!1,disabled:!1,readonly:!1,autofocus:!1});var P=T;t.default=P},8481:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(81794))&&r.__esModule?r:{default:r},o=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(81027)),n(83103));function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t,n=e.schema,r=e.name,s=e.uiSchema,l=e.idSchema,c=e.formData,u=e.registry,f=void 0===u?(0,o.getDefaultRegistry)():u,d=e.required,p=e.disabled,h=e.readonly,m=e.autofocus,g=e.onChange,v=e.onFocus,y=e.onBlur,b=e.rawErrors,_=n.title,w=f.widgets,S=f.formContext,x=f.fields,E=(0,o.getUiOptions)(s),k=E.widget,C=void 0===k?"checkbox":k,O=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(E,["widget"]),T=(0,o.getWidget)(n,C,w);return t=Array.isArray(n.oneOf)?(0,o.optionsList)({oneOf:n.oneOf.map((function(e){return a({},e,{title:e.title||(!0===e.const?"Yes":"No")})}))}):(0,o.optionsList)({enum:n.enum||[!0,!1],enumNames:n.enumNames||(n.enum&&!1===n.enum[0]?["No","Yes"]:["Yes","No"])}),i.default.createElement(T,{options:a({},O,{enumOptions:t}),schema:n,id:l&&l.$id,onChange:g,onFocus:v,onBlur:y,label:void 0===_?r:_,value:c,required:d,disabled:p,readonly:h,registry:f,formContext:S,autofocus:m,rawErrors:b,DescriptionField:x.DescriptionField})}l.defaultProps={uiSchema:{},disabled:!1,readonly:!1,autofocus:!1};var c=l;t.default=c},28767:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}i(n(17314));t.default=function(e){var t=e.id,n=e.description;return n?"string"==typeof n?r.default.createElement("p",{id:t,className:"field-description"},n):r.default.createElement("div",{id:t,className:"field-description"},n):null}},7959:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=a(n(81794)),o=((r=n(17314))&&r.__esModule,a(n(81027)),n(83103));function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}var p=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?f(e):t}(this,u(t).call(this,e)),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(f(n),"onOptionChange",(function(e){var t=parseInt(e,10),r=n.props,i=r.formData,a=r.onChange,s=r.options,c=r.registry.rootSchema,u=(0,o.retrieveSchema)(s[t],c,i),f=void 0;if("object"===(0,o.guessType)(i)&&("object"===u.type||u.properties)){f=l({},i);var d=s.slice();d.splice(t,1);var p=!0,h=!1,m=void 0;try{for(var g,v=d[Symbol.iterator]();!(p=(g=v.next()).done);p=!0){var y=g.value;if(y.properties)for(var b in y.properties)f.hasOwnProperty(b)&&delete f[b]}}catch(e){h=!0,m=e}finally{try{p||null==v.return||v.return()}finally{if(h)throw m}}}a((0,o.getDefaultFormState)(s[t],f,c)),n.setState({selectedOption:parseInt(e,10)})}));var r=n.props,i=r.formData,a=r.options;return n.state={selectedOption:n.getMatchingOption(i,a)},n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){if(!(0,o.deepEquals)(this.props.formData,e.formData)&&this.props.idSchema.$id===e.idSchema.$id){var n=this.getMatchingOption(this.props.formData,this.props.options);if(!t||n===this.state.selectedOption)return;this.setState({selectedOption:n})}}},{key:"getMatchingOption",value:function(e,t){var n=this.props.registry.rootSchema,r=(0,o.getMatchingOption)(e,t,n);return 0!==r?r:this&&this.state?this.state.selectedOption:0}},{key:"render",value:function(){var e,t=this.props,n=t.baseType,r=t.disabled,a=t.errorSchema,s=t.formData,c=t.idPrefix,u=t.idSchema,f=t.onBlur,d=t.onChange,p=t.onFocus,h=t.options,m=t.registry,g=t.uiSchema,v=t.schema,y=m.fields.SchemaField,b=m.widgets,_=this.state.selectedOption,w=(0,o.getUiOptions)(g),S=w.widget,x=void 0===S?"select":S,E=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(w,["widget"]),k=(0,o.getWidget)({type:"number"},x,b),C=h[_]||null;C&&(e=C.type?C:l({},C,{type:n}));var O=h.map((function(e,t){return{label:e.title||"Option ".concat(t+1),value:t}}));return i.default.createElement("div",{className:"panel panel-default panel-body"},i.default.createElement("div",{className:"form-group"},i.default.createElement(k,l({id:"".concat(u.$id).concat(v.oneOf?"__oneof_select":"__anyof_select"),schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:f,onFocus:p,value:_,options:{enumOptions:O}},E))),null!==C&&i.default.createElement(y,{schema:e,uiSchema:g,errorSchema:a,idSchema:u,idPrefix:c,formData:s,onChange:d,onBlur:f,onFocus:p,registry:m,disabled:r}))}}])&&c(n.prototype,r),t}(i.Component);p.defaultProps={disabled:!1,errorSchema:{},idSchema:{},uiSchema:{}};var h=p;t.default=h},33862:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(81794);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(81027));var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,a(t).apply(this,arguments))}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){void 0===this.props.formData&&this.props.onChange(null)}},{key:"render",value:function(){return null}}])&&o(n.prototype,r),t}(r.Component);t.default=l},14402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(81794))&&r.__esModule?r:{default:r},o=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(81027)),n(83103));function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}var d=/\.([0-9]*0)*$/,p=/[0.]0*$/,h=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?u(e):t}(this,c(t).call(this,e)),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(u(n),"handleChange",(function(e){n.setState({lastValue:e}),"."==="".concat(e).charAt(0)&&(e="0".concat(e));var t="string"==typeof e&&e.match(d)?(0,o.asNumber)(e.replace(p,"")):(0,o.asNumber)(e);n.props.onChange(t)})),n.state={lastValue:e.value},n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this.props.registry.fields.StringField,t=this.props,n=t.formData,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,["formData"]),o=this.state.lastValue,a=n;if("string"==typeof o&&"number"==typeof a){var l=new RegExp("".concat(a).replace(".","\\.")+"\\.?0*$");o.match(l)&&(a=o)}return i.default.createElement(e,s({},r,{formData:a,onChange:this.handleChange}))}}])&&l(n.prototype,r),t}(i.default.Component);h.defaultProps={uiSchema:{}};var m=h;t.default=m},26584:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(23380))&&r.__esModule?r:{default:r},o=s(n(81794)),a=(s(n(81027)),n(83103));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){m(e,t,n[t])}))}return e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){var t=e.TitleField,n=e.DescriptionField;return o.default.createElement("fieldset",{id:e.idSchema.$id},(e.uiSchema["ui:title"]||e.title)&&o.default.createElement(t,{id:"".concat(e.idSchema.$id,"__title"),title:e.title||e.uiSchema["ui:title"],required:e.required,formContext:e.formContext}),e.description&&o.default.createElement(n,{id:"".concat(e.idSchema.$id,"__description"),description:e.description,formContext:e.formContext}),e.properties.map((function(e){return e.content})),(0,a.canExpand)(e.schema,e.uiSchema,e.formData)&&o.default.createElement(i.default,{className:"object-property-expand",onClick:e.onAddClick(e.schema),disabled:e.disabled||e.readonly}))}var v=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?p(e):t}(this,(e=d(t)).call.apply(e,[this].concat(i))),m(p(n),"state",{wasPropertyKeyModified:!1,additionalProperties:{}}),m(p(n),"onPropertyChange",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r,i){!r&&t&&(r="");var o=u({},n.props.formData,m({},e,r));n.props.onChange(o,i&&n.props.errorSchema&&u({},n.props.errorSchema,m({},e,i)))}})),m(p(n),"onDropPropertyClick",(function(e){return function(t){t.preventDefault();var r=n.props,i=r.onChange,o=u({},r.formData);delete o[e],i(o)}})),m(p(n),"getAvailableKey",(function(e,t){for(var n=0,r=e;t.hasOwnProperty(r);)r="".concat(e,"-").concat(++n);return r})),m(p(n),"onKeyChange",(function(e){return function(t,r){if(e!==t){t=n.getAvailableKey(t,n.props.formData);var i=u({},n.props.formData),o=m({},e,t),a=Object.keys(i).map((function(e){return m({},o[e]||e,i[e])})),s=c.apply(void 0,[{}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(l=a)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()));n.setState({wasPropertyKeyModified:!0}),n.props.onChange(s,r&&n.props.errorSchema&&u({},n.props.errorSchema,m({},t,r)))}var l}})),m(p(n),"handleAddClick",(function(e){return function(){var t=e.additionalProperties.type,r=u({},n.props.formData);if(e.additionalProperties.hasOwnProperty("$ref")){var i=n.props.registry,o=void 0===i?(0,a.getDefaultRegistry)():i;t=(0,a.retrieveSchema)({$ref:e.additionalProperties.$ref},o.rootSchema,n.props.formData).type}r[n.getAvailableKey("newKey",r)]=n.getDefaultValue(t),n.props.onChange(r)}})),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(r=[{key:"isRequired",value:function(e){var t=this.props.schema;return Array.isArray(t.required)&&-1!==t.required.indexOf(e)}},{key:"getDefaultValue",value:function(e){switch(e){case"string":default:return"New Value";case"array":return[];case"boolean":return!1;case"null":return null;case"number":return 0;case"object":return{}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.uiSchema,i=n.formData,s=n.errorSchema,l=n.idSchema,u=n.name,f=n.required,d=n.disabled,p=n.readonly,h=n.idPrefix,m=n.onBlur,v=n.onFocus,y=n.registry,b=void 0===y?(0,a.getDefaultRegistry)():y,_=b.rootSchema,w=b.fields,S=b.formContext,x=w.SchemaField,E=w.TitleField,k=w.DescriptionField,C=(0,a.retrieveSchema)(this.props.schema,_,i),O=void 0===C.title?u:C.title,T=r["ui:description"]||C.description;try{var P=Object.keys(C.properties||{});e=(0,a.orderProperties)(P,r["ui:order"])}catch(e){return o.default.createElement("div",null,o.default.createElement("p",{className:"config-error",style:{color:"red"}},"Invalid ",u||"root"," object field configuration:",o.default.createElement("em",null,e.message),"."),o.default.createElement("pre",null,JSON.stringify(C)))}var A=r["ui:ObjectFieldTemplate"]||b.ObjectFieldTemplate||g,M={title:r["ui:title"]||O,description:T,TitleField:E,DescriptionField:k,properties:e.map((function(e){var n=C.properties[e].hasOwnProperty(a.ADDITIONAL_PROPERTY_FLAG);return{content:o.default.createElement(x,{key:e,name:e,required:t.isRequired(e),schema:C.properties[e],uiSchema:n?r.additionalProperties:r[e],errorSchema:s[e],idSchema:l[e],idPrefix:h,formData:(i||{})[e],wasPropertyKeyModified:t.state.wasPropertyKeyModified,onKeyChange:t.onKeyChange(e),onChange:t.onPropertyChange(e,n),onBlur:m,onFocus:v,registry:b,disabled:d,readonly:p,onDropPropertyClick:t.onDropPropertyClick}),name:e,readonly:p,disabled:d,required:f}})),readonly:p,disabled:d,required:f,idSchema:l,uiSchema:r,schema:C,formData:i,formContext:S};return o.default.createElement(A,c({},M,{onAddClick:this.handleAddClick}))}}])&&f(n.prototype,r),t}(o.Component);m(v,"defaultProps",{uiSchema:{},formData:{},errorSchema:{},idSchema:{},required:!1,disabled:!1,readonly:!1});var y=v;t.default=y},40116:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(38314)),i=a(n(81794)),o=(a(n(17314)),function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(81027)),n(83103));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h="*",m={array:"ArrayField",boolean:"BooleanField",integer:"NumberField",number:"NumberField",object:"ObjectField",string:"StringField",null:"NullField"};function g(e){var t=e.label,n=e.required,r=e.id;return t?i.default.createElement("label",{className:"control-label",htmlFor:r},t,n&&i.default.createElement("span",{className:"required"},h)):null}function v(e){var t=e.id,n=e.label,r=e.onChange;return i.default.createElement("input",{className:"form-control",type:"text",id:t,onBlur:function(e){return r(e.target.value)},defaultValue:n})}function y(e){var t=e.help;return t?"string"==typeof t?i.default.createElement("p",{className:"help-block"},t):i.default.createElement("div",{className:"help-block"},t):null}function b(e){var t=e.errors,n=void 0===t?[]:t;return 0===n.length?null:i.default.createElement("div",null,i.default.createElement("ul",{className:"error-detail bs-callout bs-callout-info"},n.filter((function(e){return!!e})).map((function(e,t){return i.default.createElement("li",{className:"text-danger",key:t},e)}))))}function _(e){var t=e.id,n=e.label,r=e.children,o=e.errors,a=e.help,s=e.description,l=e.hidden,c=e.required,u=e.displayLabel;return l?i.default.createElement("div",{className:"hidden"},r):i.default.createElement(w,e,u&&i.default.createElement(g,{label:n,required:c,id:t}),u&&s?s:null,r,o,a)}function w(e){var t=e.id,n=e.classNames,a=e.disabled,s=e.label,l=e.onKeyChange,c=e.onDropPropertyClick,u=e.readonly,f=e.required,d=e.schema,p="".concat(s," Key");return d.hasOwnProperty(o.ADDITIONAL_PROPERTY_FLAG)?i.default.createElement("div",{className:n},i.default.createElement("div",{className:"row"},i.default.createElement("div",{className:"col-xs-5 form-additional"},i.default.createElement("div",{className:"form-group"},i.default.createElement(g,{label:p,required:f,id:"".concat(t,"-key")}),i.default.createElement(v,{label:s,required:f,id:"".concat(t,"-key"),onChange:l}))),i.default.createElement("div",{className:"form-additional form-group col-xs-5"},e.children),i.default.createElement("div",{className:"col-xs-2"},i.default.createElement(r.default,{type:"danger",icon:"remove",className:"array-item-remove btn-block",tabIndex:"-1",style:{border:"0"},disabled:a||u,onClick:c(s)})))):i.default.createElement("div",{className:n},e.children)}function S(e){var t=e.uiSchema,n=e.formData,r=e.errorSchema,a=e.idPrefix,s=e.name,l=e.onChange,c=e.onKeyChange,u=e.onDropPropertyClick,p=e.required,h=e.registry,g=void 0===h?(0,o.getDefaultRegistry)():h,v=e.wasPropertyKeyModified,w=void 0!==v&&v,S=g.rootSchema,x=g.fields,E=g.formContext,k=t["ui:FieldTemplate"]||g.FieldTemplate||_,C=e.idSchema,O=(0,o.retrieveSchema)(e.schema,S,n),T=function(e,t,n,r){var a=t["ui:field"];if("function"==typeof a)return a;if("string"==typeof a&&a in r)return r[a];var s=m[(0,o.getSchemaType)(e)];return s||!e.anyOf&&!e.oneOf?s in r?r[s]:function(){var t=r.UnsupportedField;return i.default.createElement(t,{schema:e,idSchema:n,reason:"Unknown field type ".concat(e.type)})}:function(){return null}}(O,t,C=(0,o.mergeObjects)((0,o.toIdSchema)(O,null,S,n,a),C),x),P=x.DescriptionField,A=Boolean(e.disabled||t["ui:disabled"]),M=Boolean(e.readonly||t["ui:readonly"]||e.schema.readOnly||O.readOnly),L=Boolean(e.autofocus||t["ui:autofocus"]);if(0===Object.keys(O).length)return null;var I,R=(0,o.getDisplayLabel)(O,t,S),D=r.__errors,j=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,["__errors"]),N=i.default.createElement(T,f({},e,{idSchema:C,schema:O,uiSchema:d({},t,{classNames:void 0}),disabled:A,readonly:M,autofocus:L,errorSchema:j,formContext:E,rawErrors:D})),F=C.$id;I=w?s:t["ui:title"]||e.schema.title||O.title||s;var B=t["ui:description"]||e.schema.description||O.description,z=D,$=t["ui:help"],U="hidden"===t["ui:widget"],H=["form-group","field","field-".concat(O.type),z&&z.length>0?"field-error has-error has-danger":"",t.classNames].join(" ").trim(),W={description:i.default.createElement(P,{id:F+"__description",description:B,formContext:E}),rawDescription:B,help:i.default.createElement(y,{help:$}),rawHelp:"string"==typeof $?$:void 0,errors:i.default.createElement(b,{errors:z}),rawErrors:z,id:F,label:I,hidden:U,onChange:l,onKeyChange:c,onDropPropertyClick:u,required:p,disabled:A,readonly:M,displayLabel:R,classNames:H,formContext:E,formData:n,fields:x,schema:O,uiSchema:t,registry:g},q=g.fields.AnyOfField,V=g.fields.OneOfField;return i.default.createElement(k,W,i.default.createElement(i.default.Fragment,null,N,O.anyOf&&!(0,o.isSelect)(O)&&i.default.createElement(q,{disabled:A,errorSchema:r,formData:n,idPrefix:a,idSchema:C,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:O.anyOf,baseType:O.type,registry:g,schema:O,uiSchema:t}),O.oneOf&&!(0,o.isSelect)(O)&&i.default.createElement(V,{disabled:A,errorSchema:r,formData:n,idPrefix:a,idSchema:C,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:O.oneOf,baseType:O.type,registry:g,schema:O,uiSchema:t})))}_.defaultProps={hidden:!1,readonly:!1,required:!1,displayLabel:!0};var x=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,c(t).apply(this,arguments))}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,o.deepEquals)(this.props,e)}},{key:"render",value:function(){return S(this.props)}}])&&l(n.prototype,r),t}(i.default.Component);x.defaultProps={uiSchema:{},errorSchema:{},idSchema:{},disabled:!1,readonly:!1,autofocus:!1};var E=x;t.default=E},5206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(81794))&&r.__esModule?r:{default:r},o=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(81027)),n(83103));function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=e.schema,n=e.name,r=e.uiSchema,s=e.idSchema,l=e.formData,c=e.required,u=e.disabled,f=e.readonly,d=e.autofocus,p=e.onChange,h=e.onBlur,m=e.onFocus,g=e.registry,v=void 0===g?(0,o.getDefaultRegistry)():g,y=e.rawErrors,b=t.title,_=t.format,w=v.widgets,S=v.formContext,x=(0,o.isSelect)(t)&&(0,o.optionsList)(t),E=x?"select":"text";_&&(0,o.hasWidget)(t,_,w)&&(E=_);var k=(0,o.getUiOptions)(r),C=k.widget,O=void 0===C?E:C,T=k.placeholder,P=void 0===T?"":T,A=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(k,["widget","placeholder"]),M=(0,o.getWidget)(t,O,w);return i.default.createElement(M,{options:a({},A,{enumOptions:x}),schema:t,uiSchema:r,id:s&&s.$id,label:void 0===b?n:b,value:l,onChange:p,onBlur:h,onFocus:m,required:c,disabled:u,readonly:f,formContext:S,autofocus:d,registry:v,placeholder:P,rawErrors:y})}l.defaultProps={uiSchema:{},disabled:!1,readonly:!1,autofocus:!1};var c=l;t.default=c},10471:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}i(n(17314));t.default=function(e){var t=e.id,n=e.title,i=e.required;return r.default.createElement("legend",{id:t},n,i&&r.default.createElement("span",{className:"required"},"*"))}},88988:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}i(n(17314));t.default=function(e){var t=e.schema,n=e.idSchema,i=e.reason;return r.default.createElement("div",{className:"unsupported-field"},r.default.createElement("p",null,"Unsupported field schema",n&&n.$id&&r.default.createElement("span",null," for"," field ",r.default.createElement("code",null,n.$id)),i&&r.default.createElement("em",null,": ",i),"."),t&&r.default.createElement("pre",null,JSON.stringify(t,null,2)))}},90577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(32926)),i=h(n(8481)),o=h(n(28767)),a=h(n(7959)),s=h(n(14402)),l=h(n(26584)),c=h(n(40116)),u=h(n(5206)),f=h(n(10471)),d=h(n(33862)),p=h(n(88988));function h(e){return e&&e.__esModule?e:{default:e}}var m={AnyOfField:a.default,ArrayField:r.default,BooleanField:i.default,DescriptionField:o.default,NumberField:s.default,ObjectField:l.default,OneOfField:a.default,SchemaField:c.default,StringField:u.default,TitleField:f.default,NullField:d.default,UnsupportedField:p.default};t.default=m},20335:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(81794)),i=(o(n(17314)),o(n(95510)));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e){var t=e.registry.widgets.AltDateWidget;return r.default.createElement(t,s({time:!0},e))}l.defaultProps=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({},i.default.defaultProps,{time:!0});var c=l;t.default=c},95510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(81794)),o=((r=n(17314))&&r.__esModule,n(83103));function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){for(var n=[],r=e;r<=t;r++)n.push({value:r,label:(0,o.pad)(r,2)});return n}function h(e){var t=e.type,n=e.range,r=e.value,o=e.select,a=e.rootId,s=e.disabled,l=e.readonly,c=e.autofocus,u=e.registry,f=e.onBlur,d=a+"_"+t,h=u.widgets.SelectWidget;return i.default.createElement(h,{schema:{type:"integer"},id:d,className:"form-control",options:{enumOptions:p(n[0],n[1])},placeholder:t,value:r,disabled:s,readonly:l,autofocus:c,onChange:function(e){return o(t,e)},onBlur:f})}var m=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?u(e):t}(this,c(t).call(this,e)),d(u(n),"onChange",(function(e,t){n.setState(d({},e,void 0===t?-1:t),(function(){var e;e=n.state,Object.keys(e).every((function(t){return-1!==e[t]}))&&n.props.onChange((0,o.toDateString)(n.state,n.props.time))}))})),d(u(n),"setNow",(function(e){e.preventDefault();var t=n.props,r=t.time,i=t.disabled,a=t.readonly,s=t.onChange;if(!i&&!a){var l=(0,o.parseDateString)((new Date).toJSON(),r);n.setState(l,(function(){return s((0,o.toDateString)(n.state,r))}))}})),d(u(n),"clear",(function(e){e.preventDefault();var t=n.props,r=t.time,i=t.disabled,a=t.readonly,s=t.onChange;i||a||n.setState((0,o.parseDateString)("",r),(function(){return s(void 0)}))})),n.state=(0,o.parseDateString)(e.value,e.time),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState((0,o.parseDateString)(e.value,e.time))}},{key:"shouldComponentUpdate",value:function(e,t){return(0,o.shouldRender)(this,e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.disabled,o=t.readonly,a=t.autofocus,l=t.registry,c=t.onBlur,u=t.options;return i.default.createElement("ul",{className:"list-inline"},this.dateElementProps.map((function(t,u){return i.default.createElement("li",{key:u},i.default.createElement(h,s({rootId:n,select:e.onChange},t,{disabled:r,readonly:o,registry:l,onBlur:c,autofocus:a&&0===u})))})),("undefined"===u.hideNowButton||!u.hideNowButton)&&i.default.createElement("li",null,i.default.createElement("a",{href:"#",className:"btn btn-info btn-now",onClick:this.setNow},"Now")),("undefined"===u.hideClearButton||!u.hideClearButton)&&i.default.createElement("li",null,i.default.createElement("a",{href:"#",className:"btn btn-warning btn-clear",onClick:this.clear},"Clear")))}},{key:"dateElementProps",get:function(){var e=this.props,t=e.time,n=e.options,r=this.state,i=r.year,o=r.month,a=r.day,s=r.hour,l=r.minute,c=r.second,u=[{type:"year",range:n.yearsRange,value:i},{type:"month",range:[1,12],value:o},{type:"day",range:[1,31],value:a}];return t&&u.push({type:"hour",range:[0,23],value:s},{type:"minute",range:[0,59],value:l},{type:"second",range:[0,59],value:c}),u}}])&&l(n.prototype,r),t}(i.Component);d(m,"defaultProps",{time:!1,disabled:!1,readonly:!1,autofocus:!1,options:{yearsRange:[1900,(new Date).getFullYear()+2]}});var g=m;t.default=g},34214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e){if(!e.id)throw console.log("No id for",e),new Error("no id for props ".concat(JSON.stringify(e)));var t,n=e.value,i=e.readonly,a=e.disabled,s=e.autofocus,l=e.onBlur,c=e.onFocus,u=e.options,f=e.schema,d=(e.uiSchema,e.formContext,e.registry,e.rawErrors,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["value","readonly","disabled","autofocus","onBlur","onFocus","options","schema","uiSchema","formContext","registry","rawErrors"]));return u.inputType?d.type=u.inputType:d.type||("number"===f.type?(d.type="number",d.step="any"):"integer"===f.type?(d.type="number",d.step="1"):d.type="text"),u.autocomplete&&(d.autoComplete=u.autocomplete),f.multipleOf&&(d.step=f.multipleOf),void 0!==f.minimum&&(d.min=f.minimum),void 0!==f.maximum&&(d.max=f.maximum),[r.default.createElement("input",o({key:d.id,className:"form-control",readOnly:i,disabled:a,autoFocus:s,value:null==n?"":n},d,{list:f.examples?"examples_".concat(d.id):null,onChange:function(t){var n=t.target.value;return e.onChange(""===n?u.emptyValue:n)},onBlur:l&&function(e){return l(d.id,e.target.value)},onFocus:c&&function(e){return c(d.id,e.target.value)}})),f.examples?r.default.createElement("datalist",{id:"examples_".concat(d.id)},(t=new Set(f.examples.concat(f.default?[f.default]:[])),function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).map((function(e){return r.default.createElement("option",{key:e,value:e})}))):null]}i(n(17314)),a.defaultProps={required:!1,disabled:!1,readonly:!1,autofocus:!1};var s=a;t.default=s},57308:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(81794)),i=(o(n(17314)),n(83103));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.schema,n=e.id,o=e.value,a=e.disabled,s=e.readonly,l=e.label,c=e.autofocus,u=e.onBlur,f=e.onFocus,d=e.onChange,p=e.DescriptionField,h=(0,i.schemaRequiresTrueValue)(t);return r.default.createElement("div",{className:"checkbox ".concat(a||s?"disabled":"")},t.description&&r.default.createElement(p,{description:t.description}),r.default.createElement("label",null,r.default.createElement("input",{type:"checkbox",id:n,checked:void 0!==o&&o,required:h,disabled:a||s,autoFocus:c,onChange:function(e){return d(e.target.checked)},onBlur:u&&function(e){return u(n,e.target.checked)},onFocus:f&&function(e){return f(n,e.target.checked)}}),r.default.createElement("span",null,l)))}a.defaultProps={autofocus:!1};var s=a;t.default=s},42124:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.id,n=e.disabled,i=e.options,o=e.value,a=e.autofocus,s=e.readonly,l=e.onChange,c=i.enumOptions,u=i.enumDisabled,f=i.inline;return r.default.createElement("div",{className:"checkboxes",id:t},c.map((function(e,i){var d=-1!==o.indexOf(e.value),p=u&&-1!=u.indexOf(e.value),h=n||p||s?"disabled":"",m=r.default.createElement("span",null,r.default.createElement("input",{type:"checkbox",id:"".concat(t,"_").concat(i),checked:d,disabled:n||p||s,autoFocus:a&&0===i,onChange:function(t){var n=c.map((function(e){return e.value}));t.target.checked?l(function(e,t,n){var r=n.indexOf(e);return t.slice(0,r).concat(e,t.slice(r)).sort((function(e,t){return n.indexOf(e)>n.indexOf(t)}))}(e.value,o,n)):l(function(e,t){return t.filter((function(t){return t!==e}))}(e.value,o))}}),r.default.createElement("span",null,e.label));return f?r.default.createElement("label",{key:i,className:"checkbox-inline ".concat(h)},m):r.default.createElement("div",{key:i,className:"checkbox ".concat(h)},r.default.createElement("label",null,m))})))}i(n(17314)),o.defaultProps={autofocus:!1,options:{inline:!1}};var a=o;t.default=a},23950:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}i(n(17314));t.default=function(e){var t=e.disabled,n=e.readonly,i=e.registry.widgets.BaseInput;return r.default.createElement(i,o({type:"color"},e,{disabled:t||n}))}},2396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(81794)),i=(o(n(17314)),n(83103));function o(e){return e&&e.__esModule?e:{default:e}}function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}t.default=function(e){var t=e.value,n=e.onChange,o=e.registry.widgets.BaseInput;return r.default.createElement(o,a({type:"datetime-local"},e,{value:(0,i.utcToLocal)(t),onChange:function(e){return n((0,i.localToUTC)(e))}}))}},46141:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}i(n(17314));t.default=function(e){var t=e.onChange,n=e.registry.widgets.BaseInput;return r.default.createElement(n,o({type:"date"},e,{onChange:function(e){return t(e||void 0)}}))}},81469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}i(n(17314));t.default=function(e){var t=e.registry.widgets.BaseInput;return r.default.createElement(t,o({type:"email"},e))}},67591:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(81794)),o=((r=n(17314))&&r.__esModule,n(83103));function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function f(e,t){return e.replace(";base64",";name=".concat(encodeURIComponent(t),";base64"))}function d(e){var t=e.name,n=e.size,r=e.type;return new Promise((function(i,o){var a=new window.FileReader;a.onerror=o,a.onload=function(e){i({dataURL:f(e.target.result,t),name:t,size:n,type:r})},a.readAsDataURL(e)}))}function p(e){var t=e.filesInfo;return 0===t.length?null:i.default.createElement("ul",{className:"file-info"},t.map((function(e,t){var n=e.name,r=e.size,o=e.type;return i.default.createElement("li",{key:t},i.default.createElement("strong",null,n)," (",o,", ",r," bytes)")})))}var h=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?c(e):t}(this,l(t).call(this,e)),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(c(n),"onChange",(function(e){var t,r=n.props,i=r.multiple,o=r.onChange;(t=e.target.files,Promise.all([].map.call(t,d))).then((function(e){var t={values:e.map((function(e){return e.dataURL})),filesInfo:e};n.setState(t,(function(){o(i?t.values:t.values[0])}))}))}));var r,i=e.value,s=Array.isArray(i)?i:[i];return n.state={values:s,filesInfo:(r=s,r.filter((function(e){return void 0!==e})).map((function(e){var t=(0,o.dataURItoBlob)(e),n=t.blob;return{name:t.name,size:n.size,type:n.type}})))},n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(r=[{key:"shouldComponentUpdate",value:function(e,t){return(0,o.shouldRender)(this,e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.multiple,r=t.id,o=t.readonly,a=t.disabled,s=t.autofocus,l=t.options,c=this.state.filesInfo;return i.default.createElement("div",null,i.default.createElement("p",null,i.default.createElement("input",{ref:function(t){return e.inputRef=t},id:r,type:"file",disabled:o||a,onChange:this.onChange,defaultValue:"",autoFocus:s,multiple:n,accept:l.accept})),i.default.createElement(p,{filesInfo:c}))}}])&&s(n.prototype,r),t}(i.Component);h.defaultProps={autofocus:!1};var m=h;t.default=m},3481:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}i(n(17314));t.default=function(e){var t=e.id,n=e.value;return r.default.createElement("input",{type:"hidden",id:t,value:void 0===n?"":n})}},13412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}i(n(17314));t.default=function(e){var t=e.registry.widgets.BaseInput;return r.default.createElement(t,o({type:"password"},e))}},37730:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.options,n=e.value,i=e.required,o=e.disabled,a=e.readonly,s=e.autofocus,l=e.onBlur,c=e.onFocus,u=e.onChange,f=e.id,d=Math.random().toString(),p=t.enumOptions,h=t.enumDisabled,m=t.inline;return r.default.createElement("div",{className:"field-radio-group",id:f},p.map((function(e,t){var p=e.value===n,g=h&&-1!=h.indexOf(e.value),v=o||g||a?"disabled":"",y=r.default.createElement("span",null,r.default.createElement("input",{type:"radio",checked:p,name:d,required:i,value:e.value,disabled:o||g||a,autoFocus:s&&0===t,onChange:function(t){return u(e.value)},onBlur:l&&function(e){return l(f,e.target.value)},onFocus:c&&function(e){return c(f,e.target.value)}}),r.default.createElement("span",null,e.label));return m?r.default.createElement("label",{key:t,className:"radio-inline ".concat(v)},y):r.default.createElement("div",{key:t,className:"radio ".concat(v)},r.default.createElement("label",null,y))})))}i(n(17314)),o.defaultProps={autofocus:!1};var a=o;t.default=a},34364:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(81794)),i=(o(n(17314)),n(83103));function o(e){return e&&e.__esModule?e:{default:e}}function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}t.default=function(e){var t=e.schema,n=e.value,o=e.registry.widgets.BaseInput;return r.default.createElement("div",{className:"field-range-wrapper"},r.default.createElement(o,a({type:"range"},e,(0,i.rangeSpec)(t))),r.default.createElement("span",{className:"range-view"},n))}},38985:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(81794)),i=(o(n(17314)),n(83103));function o(e){return e&&e.__esModule?e:{default:e}}var a=new Set(["number","integer"]);function s(e,t){var n=e.type,r=e.items;if(""!==t){if("array"===n&&r&&a.has(r.type))return t.map(i.asNumber);if("boolean"===n)return"true"===t;if("number"===n)return(0,i.asNumber)(t);if(e.enum){if(e.enum.every((function(e){return"number"===(0,i.guessType)(e)})))return(0,i.asNumber)(t);if(e.enum.every((function(e){return"boolean"===(0,i.guessType)(e)})))return"true"===t}return t}}function l(e,t){return t?[].slice.call(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value})):e.target.value}function c(e){var t=e.schema,n=e.id,i=e.options,o=e.value,a=e.required,c=e.disabled,u=e.readonly,f=e.multiple,d=e.autofocus,p=e.onChange,h=e.onBlur,m=e.onFocus,g=e.placeholder,v=i.enumOptions,y=i.enumDisabled,b=f?[]:"";return r.default.createElement("select",{id:n,multiple:f,className:"form-control",value:void 0===o?b:o,required:a,disabled:c||u,autoFocus:d,onBlur:h&&function(e){var r=l(e,f);h(n,s(t,r))},onFocus:m&&function(e){var r=l(e,f);m(n,s(t,r))},onChange:function(e){var n=l(e,f);p(s(t,n))}},!f&&void 0===t.default&&r.default.createElement("option",{value:""},g),v.map((function(e,t){var n=e.value,i=e.label,o=y&&-1!=y.indexOf(n);return r.default.createElement("option",{key:t,value:n,disabled:o},i)})))}c.defaultProps={autofocus:!1};var u=c;t.default=u},91418:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}i(n(17314));t.default=function(e){var t=e.registry.widgets.BaseInput;return r.default.createElement(t,e)}},97403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.id,n=e.options,i=e.placeholder,o=e.value,a=e.required,s=e.disabled,l=e.readonly,c=e.autofocus,u=e.onChange,f=e.onBlur,d=e.onFocus;return r.default.createElement("textarea",{id:t,className:"form-control",value:o||"",placeholder:i,required:a,disabled:s,readOnly:l,autoFocus:c,rows:n.rows,onBlur:f&&function(e){return f(t,e.target.value)},onFocus:d&&function(e){return d(t,e.target.value)},onChange:function(e){var t=e.target.value;return u(""===t?n.emptyValue:t)}})}i(n(17314)),o.defaultProps={autofocus:!1,options:{}};var a=o;t.default=a},60208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(81794));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}i(n(17314));t.default=function(e){var t=e.registry.widgets.BaseInput;return r.default.createElement(t,o({type:"url"},e))}},99280:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(81794)),i=(o(n(17314)),n(83103));function o(e){return e&&e.__esModule?e:{default:e}}function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}t.default=function(e){var t=e.registry.widgets.BaseInput;return r.default.createElement(t,a({type:"number"},e,(0,i.rangeSpec)(e.schema)))}},1553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=S(n(95510)),i=S(n(20335)),o=S(n(34214)),a=S(n(57308)),s=S(n(42124)),l=S(n(23950)),c=S(n(46141)),u=S(n(2396)),f=S(n(81469)),d=S(n(67591)),p=S(n(3481)),h=S(n(13412)),m=S(n(37730)),g=S(n(34364)),v=S(n(38985)),y=S(n(97403)),b=S(n(91418)),_=S(n(60208)),w=S(n(99280));function S(e){return e&&e.__esModule?e:{default:e}}var x={BaseInput:o.default,PasswordWidget:h.default,RadioWidget:m.default,UpDownWidget:w.default,RangeWidget:g.default,SelectWidget:v.default,TextWidget:b.default,DateWidget:c.default,DateTimeWidget:u.default,AltDateWidget:r.default,AltDateTimeWidget:i.default,EmailWidget:f.default,URLWidget:_.default,TextareaWidget:y.default,HiddenWidget:p.default,ColorWidget:l.default,FileWidget:d.default,CheckboxWidget:a.default,CheckboxesWidget:s.default};t.default=x},81027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fieldProps=t.registry=void 0;var r,i=(r=n(17314))&&r.__esModule?r:{default:r},o=i.default.shape({ArrayFieldTemplate:i.default.elementType,FieldTemplate:i.default.elementType,ObjectFieldTemplate:i.default.elementType,definitions:i.default.object.isRequired,rootSchema:i.default.object,fields:i.default.objectOf(i.default.elementType).isRequired,formContext:i.default.object.isRequired,widgets:i.default.objectOf(i.default.oneOfType([i.default.func,i.default.object])).isRequired});t.registry=o;var a={autofocus:i.default.bool,disabled:i.default.bool,errorSchema:i.default.object,formData:i.default.any,idSchema:i.default.object,onBlur:i.default.func,onChange:i.default.func.isRequired,onFocus:i.default.func,rawErrors:i.default.arrayOf(i.default.string),readonly:i.default.bool,registry:o.isRequired,required:i.default.bool,schema:i.default.object.isRequired,uiSchema:i.default.shape({"ui:options":i.default.shape({addable:i.default.bool,orderable:i.default.bool,removable:i.default.bool})})};t.fieldProps=a},83103:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canExpand=function(e,t,n){if(!e.additionalProperties)return!1;var r=O(t).expandable;return!1===r?r:void 0===e.maxProperties||Object.keys(n).length<e.maxProperties},t.getDefaultRegistry=function(){return{fields:c.default,widgets:u.default,definitions:{},rootSchema:{},formContext:{}}},t.getSchemaType=x,t.getWidget=E,t.hasWidget=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{return E(e,t,n),!0}catch(e){if(e.message&&(e.message.startsWith("No widget")||e.message.startsWith("Unsupported widget")))return!1;throw e}},t.getDefaultFormState=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!T(e))throw new Error("Invalid schema: "+e);var i=k($(e,n,t),e.default,n,t,r);return void 0===t?i:T(t)||Array.isArray(t)?C(i,t):0===t||!1===t||""===t?t:t||i},t.mergeDefaultsWithFormData=C,t.getUiOptions=O,t.getDisplayLabel=function(e,t,n){var r=O(t).label,i=void 0===r||r;return"array"===e.type&&(i=I(e,n)||R(e,t,n)),"object"===e.type&&(i=!1),"boolean"!==e.type||t["ui:widget"]||(i=!1),t["ui:field"]&&(i=!1),i},t.isObject=T,t.mergeObjects=P,t.asNumber=function(e){if(""!==e){if(null===e)return null;if(/\.$/.test(e))return e;if(/\.0$/.test(e))return e;var t=Number(e),n="number"==typeof t&&!Number.isNaN(t);return/\.\d*0$/.test(e)?e:n?t:e}},t.orderProperties=function(e,t){if(!Array.isArray(t))return e;var n,r=function(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})},i=r(e),o=t.filter((function(e){return"*"===e||i[e]})),a=r(o),s=e.filter((function(e){return!a[e]})),l=o.indexOf("*");if(-1===l){if(s.length)throw new Error("uiSchema order list does not contain ".concat((n=s).length>1?"properties '".concat(n.join("', '"),"'"):"property '".concat(n[0],"'")));return o}if(l!==o.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");var c=m(o);return c.splice.apply(c,[l,1].concat(m(s))),c},t.isConstant=A,t.toConstant=M,t.isSelect=L,t.isMultiSelect=I,t.isFilesArray=R,t.isFixedItems=D,t.allowAdditionalItems=function(e){return!0===e.additionalItems&&console.warn("additionalItems=true is currently not supported"),T(e.additionalItems)},t.optionsList=function(e){return e.enum?e.enum.map((function(t,n){return{label:e.enumNames&&e.enumNames[n]||String(t),value:t}})):(e.oneOf||e.anyOf).map((function(e,t){var n=M(e);return{schema:e,label:e.title||String(n),value:n}}))},t.findSchemaDefinition=j,t.stubExistingAdditionalProperties=F,t.resolveSchema=B,t.retrieveSchema=$,t.mergeSchemas=q,t.deepEquals=K,t.shouldRender=function(e,t,n){var r=e.props,i=e.state;return!K(r,t)||!K(i,n)},t.toIdSchema=function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"root",a={$id:n||o};if("$ref"in t||"dependencies"in t||"allOf"in t)return e($(t,r,i),n,r,i,o);if("items"in t&&!t.items.$ref)return e(t.items,n,r,i,o);if("object"!==t.type)return a;for(var s in t.properties||{}){var l=t.properties[s],c=a.$id+"_"+s;a[s]=e(T(l)?l:{},c,r,(i||{})[s],o)}return a},t.toPathSchema=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={$name:n.replace(/^\./,"")};if("$ref"in t||"dependencies"in t||"allOf"in t){var a=$(t,r,i);return e(a,n,r,i)}if(t.hasOwnProperty("additionalProperties")&&(o.__rjsf_additionalProperties=!0),t.hasOwnProperty("items")&&Array.isArray(i))i.forEach((function(i,a){o[a]=e(t.items,"".concat(n,".").concat(a),r,i)}));else if(t.hasOwnProperty("properties"))for(var s in t.properties)o[s]=e(t.properties[s],"".concat(n,".").concat(s),r,(i||{})[s]);return o},t.parseDateString=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return{year:-1,month:-1,day:-1,hour:t?-1:0,minute:t?-1:0,second:t?-1:0};var n=new Date(e);if(Number.isNaN(n.getTime()))throw new Error("Unable to parse date "+e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:t?n.getUTCHours():0,minute:t?n.getUTCMinutes():0,second:t?n.getUTCSeconds():0}},t.toDateString=function(e){var t=e.year,n=e.month,r=e.day,i=e.hour,o=void 0===i?0:i,a=e.minute,s=void 0===a?0:a,l=e.second,c=void 0===l?0:l,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],f=Date.UTC(t,n-1,r,o,s,c),d=new Date(f).toJSON();return u?d:d.slice(0,10)},t.utcToLocal=function(e){if(!e)return"";var t=new Date(e),n=G(t.getFullYear(),4),r=G(t.getMonth()+1,2),i=G(t.getDate(),2),o=G(t.getHours(),2),a=G(t.getMinutes(),2),s=G(t.getSeconds(),2),l=G(t.getMilliseconds(),3);return"".concat(n,"-").concat(r,"-").concat(i,"T").concat(o,":").concat(a,":").concat(s,".").concat(l)},t.localToUTC=function(e){if(e)return new Date(e).toJSON()},t.pad=G,t.dataURItoBlob=function(e){var t,n=e.split(","),r=n[0].split(";"),i=r[0].replace("data:",""),o=r.filter((function(e){return"name"===e.split("=")[0]}));t=1!==o.length?"unknown":o[0].split("=")[1];for(var a=atob(n[1]),s=[],l=0;l<a.length;l++)s.push(a.charCodeAt(l));return{blob:new window.Blob([new Uint8Array(s)],{type:i}),name:t}},t.rangeSpec=function(e){var t={};return e.multipleOf&&(t.step=e.multipleOf),(e.minimum||0===e.minimum)&&(t.min=e.minimum),(e.maximum||0===e.maximum)&&(t.max=e.maximum),t},t.getMatchingOption=Y,t.schemaRequiresTrueValue=function e(t){return!!t.const||(!(!t.enum||1!==t.enum.length||!0!==t.enum[0])||(t.anyOf&&1===t.anyOf.length?e(t.anyOf[0]):t.oneOf&&1===t.oneOf.length?e(t.oneOf[0]):!!t.allOf&&t.allOf.some(e)))},t.guessType=t.ADDITIONAL_PROPERTY_FLAG=void 0;var r=p(n(81794)),i=d(n(23332)),o=p(n(73192)),a=p(n(12582)),s=p(n(63965)),l=p(n(95110)),c=p(n(90577)),u=p(n(1553)),f=d(n(53338));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}function h(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===g(t)?t:String(t)}function m(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){b(e,t,n[t])}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var w="__additional_property";t.ADDITIONAL_PROPERTY_FLAG=w;var S={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function x(e){var t=e.type;return!t&&e.const?N(e.const):!t&&e.enum?"string":t||!e.properties&&!e.additionalProperties?t instanceof Array&&2===t.length&&t.includes("null")?t.find((function(e){return"null"!==e})):t:"object"}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=x(e);if("function"==typeof t||i.isForwardRef(r.default.createElement(t))||i.isMemo(t))return function(e){if(!e.MergedWidget){var t=e.defaultProps&&e.defaultProps.options||{};e.MergedWidget=function(n){var i=n.options,o=void 0===i?{}:i,a=_(n,["options"]);return r.default.createElement(e,v({options:y({},t,o)},a))}}return e.MergedWidget}(t);if("string"!=typeof t)throw new Error("Unsupported widget definition: ".concat(g(t)));if(n.hasOwnProperty(t))return E(e,n[t],n);if(!S.hasOwnProperty(o))throw new Error('No widget for type "'.concat(o,'"'));if(S[o].hasOwnProperty(t))return E(e,n[S[o][t]],n);throw new Error('No widget "'.concat(t,'" for type "').concat(o,'"'))}function k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=T(e)?e:{},s=T(r)?r:{},l=t;if(T(l)&&T(o.default))l=P(l,o.default);else if("default"in o)l=o.default;else{if("$ref"in o)return k(j(o.$ref,n),l,n,s,i);if("dependencies"in o)return k(U(o,n,s),l,n,s,i);D(o)?l=o.items.map((function(e,r){return k(e,Array.isArray(t)?t[r]:void 0,n,s,i)})):"oneOf"in o?o=o.oneOf[Y(void 0,o.oneOf)]:"anyOf"in o&&(o=o.anyOf[Y(void 0,o.anyOf)])}switch(void 0===l&&(l=o.default),x(o)){case"object":return Object.keys(o.properties||{}).reduce((function(e,t){var r=k(o.properties[t],(l||{})[t],n,(s||{})[t],i);return(i||void 0!==r)&&(e[t]=r),e}),{});case"array":if(Array.isArray(l)&&(l=l.map((function(e,t){return k(o.items[t]||o.additionalItems||{},e,n)}))),Array.isArray(r)&&(l=r.map((function(e,t){return k(o.items,(l||{})[t],n,e)}))),o.minItems){if(I(o,n))return l||[];var c=l?l.length:0;if(o.minItems>c){var u=l||[],f=Array.isArray(o.items)?o.additionalItems:o.items,d=(0,a.default)(new Array(o.minItems-c),k(f,f.defaults,n));return u.concat(d)}}}return l}function C(e,t){if(Array.isArray(t))return Array.isArray(e)||(e=[]),t.map((function(t,n){return e[n]?C(e[n],t):t}));if(T(t)){var n=v({},e);return Object.keys(t).reduce((function(n,r){return n[r]=C(e?e[r]:{},t[r]),n}),n)}return t}function O(e){return Object.keys(e).filter((function(e){return 0===e.indexOf("ui:")})).reduce((function(t,n){var r=e[n];return"ui:widget"===n&&T(r)?(console.warn("Setting options via ui:widget object is deprecated, use ui:options instead"),y({},t,r.options||{},{widget:r.component})):"ui:options"===n&&T(r)?y({},t,r):y({},t,b({},n.substring(3),r))}),{})}function T(e){return!("undefined"!=typeof File&&e instanceof File||"object"!==g(e)||null===e||Array.isArray(e))}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v({},e);return Object.keys(t).reduce((function(r,i){var o=e?e[i]:{},a=t[i];return e&&e.hasOwnProperty(i)&&T(a)?r[i]=P(o,a,n):n&&Array.isArray(o)&&Array.isArray(a)?r[i]=o.concat(a):r[i]=a,r}),r)}function A(e){return Array.isArray(e.enum)&&1===e.enum.length||e.hasOwnProperty("const")}function M(e){if(Array.isArray(e.enum)&&1===e.enum.length)return e.enum[0];if(e.hasOwnProperty("const"))return e.const;throw new Error("schema cannot be inferred as a constant")}function L(e){var t=$(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=t.oneOf||t.anyOf;return!!Array.isArray(t.enum)||!!Array.isArray(n)&&n.every((function(e){return A(e)}))}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!(!e.uniqueItems||!e.items)&&L(e.items,t)}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("files"===t["ui:widget"])return!0;if(e.items){var r=$(e.items,n);return"string"===r.type&&"data-url"===r.format}return!1}function D(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every((function(e){return T(e)}))}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(!e.startsWith("#"))throw new Error("Could not find a definition for ".concat(n,"."));e=decodeURIComponent(e.substring(1));var r=l.default.get(t,e);if(void 0===r)throw new Error("Could not find a definition for ".concat(n,"."));return r.hasOwnProperty("$ref")?j(r.$ref,t):r}var N=function(e){return Array.isArray(e)?"array":"string"==typeof e?"string":null==e?"null":"boolean"==typeof e?"boolean":isNaN(e)?"object"===g(e)?"object":"string":"number"};function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=y({},e,{properties:y({},e.properties)}),Object.keys(n).forEach((function(r){var i;e.properties.hasOwnProperty(r)||(i=e.additionalProperties.hasOwnProperty("$ref")?$({$ref:e.additionalProperties.$ref},t,n):e.additionalProperties.hasOwnProperty("type")?y({},e.additionalProperties):{type:N(n[r])},e.properties[r]=i,e.properties[r][w]=!0)})),e}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.hasOwnProperty("$ref")?z(e,t,n):e.hasOwnProperty("dependencies")?$(U(e,t,n),t,n):e.hasOwnProperty("allOf")?y({},e,{allOf:e.allOf.map((function(e){return $(e,t,n)}))}):e}function z(e,t,n){var r=j(e.$ref,t);return e.$ref,$(y({},r,_(e,["$ref"])),t,n)}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!T(e))return{};var r=B(e,t,n);if("allOf"in e)try{r=(0,o.default)(y({},r,{allOf:r.allOf}))}catch(e){console.warn("could not merge subschemas in allOf:\n"+e);var i=r;return i.allOf,_(i,["allOf"])}return r.hasOwnProperty("additionalProperties")&&!1!==r.additionalProperties?F(r,t,n):r}function U(e,t,n){var r=e.dependencies,i=void 0===r?{}:r,o=_(e,["dependencies"]);return"oneOf"in o?o=o.oneOf[Y(n,o.oneOf)]:"anyOf"in o&&(o=o.anyOf[Y(n,o.anyOf)]),H(i,o,t,n)}function H(e,t,n,r){for(var i in e)if(void 0!==r[i]&&(!t.properties||i in t.properties)){var o=e[i],a=_(e,[i].map(h));return Array.isArray(o)?(s=t,t=(l=o)?y({},s,{required:Array.isArray(s.required)?Array.from(new Set([].concat(m(s.required),m(l)))):l}):s):T(o)&&(t=W(t,n,r,i,o)),H(a,t,n,r)}var s,l;return t}function W(e,t,n,r,i){var o=$(i,t,n),a=o.oneOf;if(e=q(e,_(o,["oneOf"])),void 0===a)return e;if(!Array.isArray(a))throw new Error("invalid: it is some ".concat(g(a)," instead of an array"));var s=a.map((function(e){return e.hasOwnProperty("$ref")?z(e,t,n):e}));return function(e,t,n,r,i){var o=i.filter((function(e){if(!e.properties)return!1;var t=e.properties[r];if(t){var i={type:"object",properties:b({},r,t)};return 0===(0,f.default)(n,i).errors.length}}));if(1!==o.length)return console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),e;var a=o[0],s=a.properties;return q(e,$(y({},a,{properties:(s[r],_(s,[r].map(h)))}),t,n))}(e,t,n,r,s)}function q(e,t){var n=v({},e);return Object.keys(t).reduce((function(n,r){var i=e?e[r]:{},o=t[r];return e&&e.hasOwnProperty(r)&&T(o)?n[r]=q(i,o):e&&t&&("object"===x(e)||"object"===x(t))&&"required"===r&&Array.isArray(i)&&Array.isArray(o)?n[r]=(0,s.default)(i,o):n[r]=o,n}),n)}function V(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!==g(e)||"object"!==g(t))return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(V(e)||V(t)){if(!V(e)||!V(t))return!1;var i=Array.prototype.slice;return K(i.call(e),i.call(t),n,r)}if(e.constructor!==t.constructor)return!1;var o=Object.keys(e),a=Object.keys(t);if(0===o.length&&0===a.length)return!0;if(o.length!==a.length)return!1;for(var s,l=n.length;l--;)if(n[l]===e)return r[l]===t;n.push(e),r.push(t),o.sort(),a.sort();for(var c=o.length-1;c>=0;c--)if(o[c]!==a[c])return!1;for(var u=o.length-1;u>=0;u--)if(!K(e[s=o[u]],t[s],n,r))return!1;return n.pop(),r.pop(),!0}function G(e,t){for(var n=String(e);n.length<t;)n="0"+n;return n}function Y(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];if(i.properties){var o={anyOf:Object.keys(i.properties).map((function(e){return{required:[e]}}))},a=void 0;if(i.anyOf){var s=v({},i);s.allOf?s.allOf=s.allOf.slice():s.allOf=[],s.allOf.push(o),a=s}else a=v({},i,o);if(delete a.required,(0,f.isValid)(a,e))return r}else if((0,f.isValid)(t[r],e))return r}return 0}t.guessType=N},53338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toErrorList=p,t.default=function(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},g=t;e=(0,o.getDefaultFormState)(t,e,g,!0);var v=!(0,o.deepEquals)(f,a),y=!(0,o.deepEquals)(u,l);(v||y)&&(c=d()),a&&v&&Array.isArray(a)&&(c.addMetaSchema(a),f=a),l&&y&&(0,o.isObject)(l)&&(Object.keys(l).forEach((function(e){c.addFormat(e,l[e])})),u=l);var b=null;try{c.validate(t,e)}catch(e){b=e}var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return null===e?[]:e.map((function(e){var t=e.dataPath,n=e.keyword,r=e.message,i=e.params,o=e.schemaPath,a="".concat(t);return{name:n,property:a,message:r,params:i,stack:"".concat(a," ").concat(r).trim(),schemaPath:o}}))}(c.errors);c.errors=null;var w,S=b&&b.message&&"string"==typeof b.message&&b.message.includes("no schema with key or ref ");S&&(_=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(w=_)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(w)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}(),[{stack:b.message}])),"function"==typeof i&&(_=i(_));var x=function(e){return e.length?e.reduce((function(e,t){var n=t.property,i=t.message,o=(0,r.default)(n),a=e;o.length>0&&""===o[0]&&o.splice(0,1);var s=!0,l=!1,c=void 0;try{for(var u,f=o.slice(0)[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){var d=u.value;d in a||(a[d]={}),a=a[d]}}catch(e){l=!0,c=e}finally{try{s||null==f.return||f.return()}finally{if(l)throw c}}return Array.isArray(a.__errors)?a.__errors=a.__errors.concat(i):i&&(a.__errors=[i]),e}),{}):{}}(_);if(S&&(x=s({},x,{$schema:{__errors:[b.message]}})),"function"!=typeof n)return{errors:_,errorSchema:x};var E=m(n(e,h(e))),k=(0,o.mergeObjects)(x,E,!0);return{errors:p(k),errorSchema:k}},t.isValid=function(e,t){try{return c.validate(e,t)}catch(e){return!1}};var r=a(n(74014)),i=a(n(53445)),o=n(83103);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=d(),u=null,f=null;function d(){var e=new i.default({errorDataPath:"property",allErrors:!0,multipleOfPrecision:8,schemaId:"auto",unknownFormats:"ignore"});return e.addFormat("data-url",/^data:([a-z]+\/[a-z0-9-+.]+)?;(?:name=(.*);)?base64,(.*)$/),e.addFormat("color",/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/),e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=[];return"__errors"in e&&(n=n.concat(e.__errors.map((function(e){return{stack:"".concat(t,": ").concat(e)}})))),Object.keys(e).reduce((function(t,n){return"__errors"!==n&&(t=t.concat(p(e[n],n))),t}),n)}function h(e){var t={__errors:[],addError:function(e){this.__errors.push(e)}};return(0,o.isObject)(e)?Object.keys(e).reduce((function(t,n){return s({},t,l({},n,h(e[n])))}),t):Array.isArray(e)?e.reduce((function(e,t,n){return s({},e,l({},n,h(t)))}),t):t}function m(e){return Object.keys(e).reduce((function(t,n){return"addError"===n?t:s({},t,l({},n,"__errors"===n?e[n]:m(e[n])))}),{})}},95110:(e,t)=>{var n=/~/,r=/~[01]/g;function i(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function o(e){return n.test(e)?e.replace(r,i):e}function a(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e))return e;throw new Error("Invalid JSON pointer.")}function s(e,t){if("object"!=typeof e)throw new Error("Invalid input object.");var n=(t=a(t)).length;if(1===n)return e;for(var r=1;r<n;){if(e=e[o(t[r++])],n===r)return e;if("object"!=typeof e)return}}function l(e,t,n){if("object"!=typeof e)throw new Error("Invalid input object.");if(0===(t=a(t)).length)throw new Error("Invalid JSON pointer for set.");return function(e,t,n){var r,i;if("constructor"===t[1]&&"prototype"===t[2])return e;if("__proto__"===t[1])return e;for(var a=1,s=t.length;a<s&&(r=o(t[a++]),i=s>a,void 0===e[r]&&(Array.isArray(e)&&"-"===r&&(r=e.length),i&&(""!==t[a]&&t[a]<1/0||"-"===t[a]?e[r]=[]:e[r]={})),i);)e=e[r];var l=e[r];return void 0===n?delete e[r]:e[r]=n,l}(e,t,n)}t.get=s,t.set=l,t.compile=function(e){var t=a(e);return{get:function(e){return s(e,t)},set:function(e,n){return l(e,t,n)}}}},3848:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=w},23332:(e,t,n)=>{"use strict";e.exports=n(3848)},71161:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs:()=>je,BrowserClient:()=>ee,BrowserProfilingIntegration:()=>Jl,BrowserTracing:()=>cl,Dedupe:()=>Be,Feedback:()=>Za,FunctionToString:()=>o.$,GlobalHandlers:()=>Ge,HttpContext:()=>et,Hub:()=>a.YZ,InboundFilters:()=>s.H,Integrations:()=>Xl,LinkedErrors:()=>it,ModuleMetadata:()=>l.Y,Replay:()=>qo,ReplayCanvas:()=>Sa,SDK_VERSION:()=>c.M,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>u.uT,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>u.JD,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>u.sy,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>u.i_,Scope:()=>f.HG,TryCatch:()=>lt,WINDOW:()=>P,addBreadcrumb:()=>d.ZQ,addEventProcessor:()=>p.S,addGlobalEventProcessor:()=>h.lb,addIntegration:()=>m.Q8,addTracingExtensions:()=>g.U,breadcrumbsIntegration:()=>De,browserApiErrorsIntegration:()=>st,browserProfilingIntegration:()=>Yl,browserTracingIntegration:()=>pl,captureConsoleIntegration:()=>Qa,captureEvent:()=>d.r,captureException:()=>d.Cp,captureMessage:()=>d.wd,captureSession:()=>d.J5,captureUserFeedback:()=>_t,chromeStackLineParser:()=>fe,close:()=>d.VN,configureScope:()=>d.PN,contextLinesIntegration:()=>ns,continueTrace:()=>v.V4,createTransport:()=>y.o,createUserFeedbackEnvelope:()=>Q,debugIntegration:()=>is,dedupeIntegration:()=>ss,defaultIntegrations:()=>pt,defaultRequestInstrumentationOptions:()=>rl,defaultStackLineParsers:()=>we,defaultStackParser:()=>Se,endSession:()=>d.ky,eventFromException:()=>K,eventFromMessage:()=>G,exceptionFromError:()=>U,extraErrorDataIntegration:()=>ps,extractTraceparentData:()=>b.nc,feedbackIntegration:()=>Ja,flush:()=>d.bX,forceLoad:()=>vt,functionToStringIntegration:()=>o.Z,geckoStackLineParser:()=>he,getActiveSpan:()=>v.Bk,getActiveTransaction:()=>b.Z7,getClient:()=>d.KU,getCurrentHub:()=>a.BF,getCurrentScope:()=>d.o5,getDefaultIntegrations:()=>ht,getHubFromCarrier:()=>a.Me,getReplay:()=>Ko,getSpanStatusFromHttpCode:()=>_.AJ,globalHandlersIntegration:()=>Ke,httpClientIntegration:()=>ms,httpContextIntegration:()=>Qe,inboundFiltersIntegration:()=>s.D,init:()=>mt,instrumentOutgoingRequests:()=>il,isInitialized:()=>d.Dp,lastEventId:()=>d.Q,linkedErrorsIntegration:()=>rt,makeBrowserOfflineTransport:()=>xl,makeFetchTransport:()=>re,makeMain:()=>a.gM,makeMultiplexedTransport:()=>w.N,makeXHRTransport:()=>oe,metrics:()=>S.qd,moduleMetadataIntegration:()=>l.Q,onLoad:()=>yt,onProfilingStartRouteTransaction:()=>Vl,opera10StackLineParser:()=>ye,opera11StackLineParser:()=>_e,parameterize:()=>x.y,replayCanvasIntegration:()=>wa,replayIntegration:()=>Wo,reportingObserverIntegration:()=>Es,rewriteFramesIntegration:()=>Os,sendFeedback:()=>Ia,sessionTimingIntegration:()=>Ps,setContext:()=>d.o,setCurrentClient:()=>E.B,setExtra:()=>d.l7,setExtras:()=>d.cx,setHttpStatus:()=>_.N8,setMeasurement:()=>k.X,setTag:()=>d.NA,setTags:()=>d.Wt,setUser:()=>d.gV,showReportDialog:()=>gt,spanStatusfromHttpCode:()=>_.o6,startBrowserTracingNavigationSpan:()=>ml,startBrowserTracingPageLoadSpan:()=>hl,startInactiveSpan:()=>v.Uk,startSession:()=>d.J0,startSpan:()=>v.Lk,startSpanManual:()=>v.nV,startTransaction:()=>d.nb,trace:()=>v.uP,winjsStackLineParser:()=>ge,withActiveSpan:()=>d.hb,withIsolationScope:()=>d.rB,withScope:()=>d.v4,wrap:()=>bt});var r={};n.r(r),n.d(r,{Breadcrumbs:()=>je,Dedupe:()=>Be,GlobalHandlers:()=>Ge,HttpContext:()=>et,LinkedErrors:()=>it,TryCatch:()=>lt});var i=n(10219),o=n(80972),a=n(65959),s=n(32800),l=n(29065),c=n(60072),u=n(10651),f=n(6036),d=n(43827),p=n(75062),h=n(56581),m=n(91234),g=n(86515),v=n(47568),y=n(74606),b=n(4064),_=n(13927),w=n(55902),S=n(89573),x=n(49855),E=n(63236),k=n(9197),C=n(2859),O=n(81085),T=n(91666);const P=C.OW;let A=0;function M(){return A>0}function L(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,O.sp)(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const i=r.map((e=>L(e,t)));return e.apply(this,i)}catch(e){throw A++,setTimeout((()=>{A--})),(0,d.v4)((n=>{n.addEventProcessor((e=>(t.mechanism&&((0,T.gO)(e,void 0,void 0),(0,T.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),(0,d.Cp)(e)})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}(0,O.pO)(r,e),(0,O.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}var I=n(83843),R=n(91347),D=n(4870),j=n(85107),N=n(51965);const F="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var B=n(53390),z=n(79659),$=n(78336);function U(e,t){const n=W(e,t),r={type:t&&t.name,value:V(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function H(e,t){return{exception:{values:[U(e,t)]}}}function W(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(q.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}const q=/Minified React error #\d+;/i;function V(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function K(e,t,n,r){const i=Y(e,t,n&&n.syntheticException||void 0,r);return(0,T.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,$.XW)(i)}function G(e,t,n="info",r,i){const o=J(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,$.XW)(o)}function Y(e,t,n,r,i){let o;if((0,B.T2)(t)&&t.error)return H(e,t.error);if((0,B.BD)(t)||(0,B.W6)(t)){const i=t;if("stack"in t)o=H(e,t);else{const t=i.name||((0,B.BD)(i)?"DOMError":"DOMException"),a=i.message?`${t}: ${i.message}`:t;o=J(e,a,n,r),(0,T.gO)(o,a)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return(0,B.bJ)(t)?H(e,t):(0,B.Qd)(t)||(0,B.xH)(t)?(o=function(e,t,n,r){const i=(0,d.KU)(),o=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:(0,B.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Z(t,{isUnhandledRejection:r})}]},extra:{__serialized__:(0,z.cd)(t,o)}};if(n){const t=W(e,n);t.length&&(a.exception.values[0].stacktrace={frames:t})}return a}(e,t,n,i),(0,T.M6)(o,{synthetic:!0}),o):(o=J(e,t,n,r),(0,T.gO)(o,`${t}`,void 0),(0,T.M6)(o,{synthetic:!0}),o)}function J(e,t,n,r){const i={};if(r&&n){const r=W(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if((0,B.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Z(e,{isUnhandledRejection:t}){const n=(0,O.HF)(e),r=t?"promise rejection":"exception";return(0,B.T2)(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:(0,B.xH)(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}var X=n(40358);function Q(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,N.SB)(r)}},o=function(e){return[{type:"user_report"},e]}(e);return(0,X.h4)(i,[o])}class ee extends p.V{constructor(e){const t=P.SENTRY_SDK_SOURCE||(0,R.e)();(0,I.K)(e,"browser",["browser"],t),super(e),e.sendClientReports&&P.document&&P.document.addEventListener("visibilitychange",(()=>{"hidden"===P.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return K(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return G(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(F&&D.vF.warn("SDK not enabled, will not capture user feedback."));const t=Q(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(F&&D.vF.log("No outcomes to send"));if(!this._dsn)return void(F&&D.vF.log("No dsn provided, will not send outcomes"));F&&D.vF.log("Sending outcomes:",e);const t=(0,j.m)(e,this._options.tunnel&&(0,N.SB)(this._dsn));this._sendEnvelope(t)}}var te=n(68970);let ne;function re(e,t=function(){if(ne)return ne;if((0,te.ap)(P.fetch))return ne=P.fetch.bind(P);const e=P.document;let t=P.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){F&&D.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return ne=t.bind(P)}()){let n=0,r=0;return(0,y.o)(e,(function(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,a).then((e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return ne=void 0,n-=o,r--,(0,$.xg)(e)}}))}const ie=4;function oe(e){return(0,y.o)(e,(function(t){return new $.T2(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{i.readyState===ie&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)}))}))}var ae=n(46819);const se="?";function le(e,t,n,r){const i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const ce=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ue=/\((\S*)(?::(\d+))(?::(\d+))\)/,fe=[30,e=>{const t=ce.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=ue.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=xe(t[1]||se,t[2]);return le(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],de=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,pe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,he=[50,e=>{const t=de.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=pe.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||se;return[n,e]=xe(n,e),le(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],me=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ge=[40,e=>{const t=me.exec(e);return t?le(t[2],t[1]||se,+t[3],t[4]?+t[4]:void 0):void 0}],ve=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,ye=[10,e=>{const t=ve.exec(e);return t?le(t[2],t[3]||se,+t[1]):void 0}],be=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,_e=[20,e=>{const t=be.exec(e);return t?le(t[5],t[3]||t[4]||se,+t[1],+t[2]):void 0}],we=[fe,he,ge],Se=(0,ae.gd)(...we),xe=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:se,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};var Ee=n(50456),ke=n(46764),Ce=n(77669),Oe=n(71096),Te=n(41102),Pe=n(11232),Ae=n(18660),Me=n(26877),Le=n(58647),Ie=n(81961);const Re="Breadcrumbs",De=(0,m._C)(((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Re,setupOnce(){},setup(e){t.console&&(0,Ce.P)(function(e){return function(t){if((0,d.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(0,Me.te)(t.level),message:(0,Le.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,Le.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,d.ZQ)(n,{input:t.args,level:t.level})}}(e)),t.dom&&(0,Oe.i)(function(e,t){return function(n){if((0,d.KU)()!==e)return;let r,i,o="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>1024&&(F&&D.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=(0,Ae.Hd)(t,{keyAttrs:o,maxStringLength:a}),i=(0,Ae.xE)(t)}catch(e){r="<unknown>"}if(0===r.length)return;const s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),(0,d.ZQ)(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&(0,Te.Mn)(function(e){return function(t){if((0,d.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Te.Er];if(!n||!r||!i)return;const{method:o,url:a,status_code:s,body:l}=i,c={method:o,url:a,status_code:s},u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r};(0,d.ZQ)({category:"xhr",data:c,type:"http"},u)}}(e)),t.fetch&&(0,Pe.u)(function(e){return function(t){if((0,d.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const e=t.fetchData,i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r};(0,d.ZQ)({category:"fetch",data:e,level:"error",type:"http"},i)}else{const e=t.response,i={...t.fetchData,status_code:e&&e.status},o={input:t.args,response:e,startTimestamp:n,endTimestamp:r};(0,d.ZQ)({category:"fetch",data:i,type:"http"},o)}}}(e)),t.history&&(0,ke._)(function(e){return function(t){if((0,d.KU)()!==e)return;let n=t.from,r=t.to;const i=(0,Ie.Dl)(P.location.href);let o=n?(0,Ie.Dl)(n):void 0;const a=(0,Ie.Dl)(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,d.ZQ)({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on&&e.on("beforeSendEvent",function(e){return function(t){(0,d.KU)()===e&&(0,d.ZQ)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,T.$X)(t)},{event:t})}}(e))}}})),je=(0,m.F)(Re,De),Ne="Dedupe",Fe=(0,m._C)((()=>{let e;return{name:Ne,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!$e(e,t)&&!!ze(e,t))))}(e,t)||!!function(e,t){const n=Ue(t),r=Ue(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!$e(e,t)&&!!ze(e,t)))}(e,t))}(t,e))return F&&D.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}})),Be=(0,m.F)(Ne,Fe);function ze(e,t){let n=He(e),r=He(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function $e(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function Ue(e){return e.exception&&e.exception.values&&e.exception.values[0]}function He(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}var We=n(12775),qe=n(7383);const Ve="GlobalHandlers",Ke=(0,m._C)(((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Ve,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){(0,We.L)((t=>{const{stackParser:n,attachStacktrace:r}=Ze();if((0,d.KU)()!==e||M())return;const{msg:i,url:o,line:a,column:s,error:l}=t,c=void 0===l&&(0,B.Kg)(i)?function(e,t,n,r){let i=(0,B.T2)(e)?e.message:e,o="Error";const a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);a&&(o=a[1],i=a[2]);return Ye({exception:{values:[{type:o,value:i}]}},t,n,r)}(i,o,a,s):Ye(Y(n,l||i,void 0,r,!1),o,a,s);c.level="error",(0,d.r)(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}))}(e),Je("onerror")),t.onunhandledrejection&&(function(e){(0,qe.r)((t=>{const{stackParser:n,attachStacktrace:r}=Ze();if((0,d.KU)()!==e||M())return;const i=function(e){if((0,B.sO)(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(e){}return e}(t),o=(0,B.sO)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:Y(n,i,void 0,r,!0);o.level="error",(0,d.r)(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),Je("onunhandledrejection"))}}})),Ge=(0,m.F)(Ve,Ke);function Ye(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,f=(0,B.Kg)(t)&&t.length>0?t:(0,Ae.$N)();return 0===l.length&&l.push({colno:c,filename:f,function:"?",in_app:!0,lineno:u}),e}function Je(e){F&&D.vF.log(`Global Handler attached: ${e}`)}function Ze(){const e=(0,d.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Xe="HttpContext",Qe=(0,m._C)((()=>({name:Xe,setupOnce(){},preprocessEvent(e){if(!P.navigator&&!P.location&&!P.document)return;const t=e.request&&e.request.url||P.location&&P.location.href,{referrer:n}=P.document||{},{userAgent:r}=P.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}}))),et=(0,m.F)(Xe,Qe);var tt=n(27931);const nt="LinkedErrors",rt=(0,m._C)(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:nt,setupOnce(){},preprocessEvent(e,r,i){const o=i.getOptions();(0,tt.Q)(U,o.stackParser,o.maxValueLength,n,t,e,r)}}})),it=(0,m.F)(nt,rt),ot=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],at="TryCatch",st=(0,m._C)(((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:at,setupOnce(){t.setTimeout&&(0,O.GS)(P,"setTimeout",ct),t.setInterval&&(0,O.GS)(P,"setInterval",ct),t.requestAnimationFrame&&(0,O.GS)(P,"requestAnimationFrame",ut),t.XMLHttpRequest&&"XMLHttpRequest"in P&&(0,O.GS)(XMLHttpRequest.prototype,"send",ft);const e=t.eventTarget;e&&(Array.isArray(e)?e:ot).forEach(dt)}}})),lt=(0,m.F)(at,st);function ct(e){return function(...t){const n=t[0];return t[0]=L(n,{mechanism:{data:{function:(0,ae.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function ut(e){return function(t){return e.apply(this,[L(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,ae.qQ)(e)},handled:!1,type:"instrument"}})])}}function ft(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&(0,O.GS)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,ae.qQ)(t)},handled:!1,type:"instrument"}},r=(0,O.sp)(t);return r&&(n.mechanism.data.handler=(0,ae.qQ)(r)),L(t,n)}))})),e.apply(this,t)}}function dt(e){const t=P,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,O.GS)(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=L(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,ae.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,L(r,{mechanism:{data:{function:"addEventListener",handler:(0,ae.qQ)(r),target:e},handled:!1,type:"instrument"}}),i])}})),(0,O.GS)(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,i,r)}})))}const pt=[(0,s.D)(),(0,o.Z)(),st(),De(),Ke(),rt(),Fe(),Qe()];function ht(e){return[...pt]}function mt(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=ht()),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),P.SENTRY_RELEASE&&P.SENTRY_RELEASE.id&&(e.release=P.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(0,ae.vk)(e.stackParser||Se),integrations:(0,m.mH)(e),transport:e.transport||((0,te.vm)()?re:oe)};(0,E.J)(ee,t),e.autoSessionTracking&&(void 0!==P.document?((0,d.J0)({ignoreDuration:!0}),(0,d.J5)(),(0,ke._)((({from:e,to:t})=>{void 0!==e&&e!==t&&((0,d.J0)({ignoreDuration:!0}),(0,d.J5)())}))):F&&D.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported."))}const gt=(e={},t=(0,a.BF)())=>{if(!P.document)return void(F&&D.vF.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i)return void(F&&D.vF.error("DSN not configured for showReportDialog call"));r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const o=P.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=(0,Ee.k)(i,e),e.onLoad&&(o.onload=e.onLoad);const{onClose:s}=e;if(s){const e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{s()}finally{P.removeEventListener("message",e)}};P.addEventListener("message",e)}const l=P.document.head||P.document.body;l?l.appendChild(o):F&&D.vF.error("Not injecting report dialog. No injection point found in HTML")};function vt(){}function yt(e){e()}function bt(e){return L(e)()}function _t(e){const t=(0,d.KU)();t&&t.captureUserFeedback(e)}var wt=n(4290),St=n(16615),xt=n(53545),Et=n(19833),kt=n(53075),Ct=n(3771),Ot=n(40413),Tt=n(900);const Pt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,At=(e,t,n)=>{let r,i;return o=>{t.value>=0&&(o||n)&&(i=t.value-(r||0),(i||void 0===r)&&(r=t.value,t.delta=i,e(t)))}},Mt=C.OW,Lt=()=>Mt.__WEB_VITALS_POLYFILL__?Mt.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=Mt.performance.timing,t=Mt.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n})()):Mt.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],It=()=>{const e=Lt();return e&&e.activationStart||0},Rt=(e,t)=>{const n=Lt();let r="navigate";return n&&(r=Mt.document&&Mt.document.prerendering||It()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},Dt=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},jt=(e,t)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==Mt.document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};Mt.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))},Nt=e=>{const t=Rt("CLS",0);let n,r=0,i=[];const o=e=>{e.forEach((e=>{if(!e.hadRecentInput){const o=i[0],a=i[i.length-1];r&&0!==i.length&&e.startTime-a.startTime<1e3&&e.startTime-o.startTime<5e3?(r+=e.value,i.push(e)):(r=e.value,i=[e]),r>t.value&&(t.value=r,t.entries=i,n&&n())}}))},a=Dt("layout-shift",o);if(a){n=At(e,t);const r=()=>{o(a.takeRecords()),n(!0)};return jt(r),r}};let Ft=-1;const Bt=()=>(Ft<0&&(Mt.document&&Mt.document.visibilityState&&(Ft="hidden"!==Mt.document.visibilityState||Mt.document.prerendering?1/0:0),jt((({timeStamp:e})=>{Ft=e}),!0)),{get firstHiddenTime(){return Ft}}),zt=e=>{const t=Bt(),n=Rt("FID");let r;const i=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),r(!0))},o=e=>{e.forEach(i)},a=Dt("first-input",o);r=At(e,n),a&&jt((()=>{o(a.takeRecords()),a.disconnect()}),!0)};let $t=0,Ut=1/0,Ht=0;const Wt=e=>{e.forEach((e=>{e.interactionId&&(Ut=Math.min(Ut,e.interactionId),Ht=Math.max(Ht,e.interactionId),$t=Ht?(Ht-Ut)/7+1:0)}))};let qt;const Vt=()=>{"interactionCount"in performance||qt||(qt=Dt("event",Wt,{type:"event",buffered:!0,durationThreshold:0}))},Kt=()=>qt?$t:performance.interactionCount||0,Gt=[],Yt={},Jt=e=>{const t=Gt[Gt.length-1],n=Yt[e.interactionId];if(n||Gt.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};Yt[t.id]=t,Gt.push(t)}Gt.sort(((e,t)=>t.latency-e.latency)),Gt.splice(10).forEach((e=>{delete Yt[e.id]}))}},Zt=(e,t)=>{t=t||{},Vt();const n=Rt("INP");let r;const i=e=>{e.forEach((e=>{e.interactionId&&Jt(e),"first-input"===e.entryType&&!Gt.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&Jt(e)}));const t=(()=>{const e=Math.min(Gt.length-1,Math.floor(Kt()/50));return Gt[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},o=Dt("event",i,{durationThreshold:t.durationThreshold||40});r=At(e,n,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),jt((()=>{i(o.takeRecords()),n.value<0&&Kt()>0&&(n.value=0,n.entries=[]),r(!0)})))},Xt={},Qt=e=>{const t=Bt(),n=Rt("LCP");let r;const i=e=>{const i=e[e.length-1];if(i){const e=Math.max(i.startTime-It(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[i],r())}},o=Dt("largest-contentful-paint",i);if(o){r=At(e,n);const t=()=>{Xt[n.id]||(i(o.takeRecords()),o.disconnect(),Xt[n.id]=!0,r(!0))};return["keydown","click"].forEach((e=>{Mt.document&&addEventListener(e,t,{once:!0,capture:!0})})),jt(t,!0),t}},en=e=>{Mt.document&&(Mt.document.prerendering?addEventListener("prerenderingchange",(()=>en(e)),!0):"complete"!==Mt.document.readyState?addEventListener("load",(()=>en(e)),!0):setTimeout(e,0))},tn=(e,t)=>{t=t||{};const n=Rt("TTFB"),r=At(e,n,t.reportAllChanges);en((()=>{const e=Lt();if(e){if(n.value=Math.max(e.responseStart-It(),0),n.value<0||n.value>performance.now())return;n.entries=[e],r(!0)}}))},nn={},rn={};let on,an,sn,ln,cn;function un(e,t=!1){return yn("lcp",e,mn,sn,t)}function fn(e,t){return bn(e,t),rn[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),Dt(e,(t=>{dn(e,{entries:t})}),t)}(e),rn[e]=!0),_n(e,t)}function dn(e,t){const n=nn[e];if(n&&n.length)for(const r of n)try{r(t)}catch(t){Pt&&D.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,ae.qQ)(r)}\nError:`,t)}}function pn(){return Nt((e=>{dn("cls",{metric:e}),on=e}))}function hn(){return zt((e=>{dn("fid",{metric:e}),an=e}))}function mn(){return Qt((e=>{dn("lcp",{metric:e}),sn=e}))}function gn(){return tn((e=>{dn("ttfb",{metric:e}),ln=e}))}function vn(){return Zt((e=>{dn("inp",{metric:e}),cn=e}))}function yn(e,t,n,r,i=!1){let o;return bn(e,t),rn[e]||(o=n(),rn[e]=!0),r&&t({metric:r}),_n(e,t,i?o:void 0)}function bn(e,t){nn[e]=nn[e]||[],nn[e].push(t)}function _n(e,t,n){return()=>{n&&n();const r=nn[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}const wn=C.OW,Sn="sentryReplaySession",xn="replay_event",En="Unable to send Replay",kn=15e4,Cn=5e3,On=2e7;function Tn(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}var Pn;function An(e){const t=Tn([e,"optionalAccess",e=>e.host]);return Boolean(Tn([t,"optionalAccess",e=>e.shadowRoot])===e)}function Mn(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function Ln(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,In).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}var t}function In(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=Ln(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return e.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return t||e.cssText}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Pn||(Pn={}));class Rn{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){if(!e)return-1;return()=>-1,null!=(t=Tn([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]))?t:-1;var t}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Dn({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function jn({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function Nn(e){return e.toLowerCase()}function Fn(e){return e.toUpperCase()}const Bn="__rrweb_original__";function zn(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Nn(t):null}function $n(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}let Un=1;const Hn=new RegExp("[^a-z0-9-_:]"),Wn=-2;function qn(){return Un++}let Vn,Kn;const Gn=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Yn=/^(?:[a-z+]+:)?\/\//i,Jn=/^www\..*/i,Zn=/^(data:)([^,]*),(.*)/i;function Xn(e,t){return(e||"").replace(Gn,((e,n,r,i,o,a)=>{const s=r||o||a,l=n||i||"";if(!s)return e;if(Yn.test(s)||Jn.test(s))return`url(${l}${s}${l})`;if(Zn.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+s}${l})`;const c=t.split("/"),u=s.split("/");c.pop();for(const e of u)"."!==e&&(".."===e?c.pop():c.push(e));return`url(${l}${c.join("/")}${l})`}))}const Qn=/^[^ \t\n\r\u000c]+/,er=/^[, \t\n\r\u000c]+/;function tr(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function nr(){const e=document.createElement("a");return e.href="",e.href}function rr(e,t,n,r,i,o){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?tr(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}const i=[];for(;r(er),!(n>=t.length);){let o=r(Qn);if(","===o.slice(-1))o=tr(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=tr(e,o);let a=!1;for(;;){const e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(a=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r):"style"===n?Xn(r,nr()):"object"===t&&"data"===n?tr(e,r):"function"==typeof o?o(n,r,i):r:tr(e,r):r}function ir(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function or(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:or(e.parentNode,t,n,r+1):-1}function ar(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(e){return!1}}}function sr(e,t,n,r,i,o){try{const a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){const e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(o){if(l=or(a,ar(r,i)),l<0)return!0;s=or(a,ar(t,n),l>=0?l:1/0)}else{if(s=or(a,ar(t,n)),s<0)return!1;l=or(a,ar(r,i),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0||!o)}catch(e){}return!!o}function lr(e){return null==e?"":e.toLowerCase()}function cr(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:f,skipChild:d=!1,inlineStylesheet:p=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E=5e3,onStylesheetLoad:k,stylesheetLoadTimeout:C=5e3,keepIframeSrcFn:O=(()=>!1),newlyAddedElement:T=!1}=t;let{preserveWhiteSpace:P=!0}=t;const A=function(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskAttributeFn:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:h={},maskTextFn:m,maskInputFn:g,dataURLOptions:v={},inlineImages:y,recordCanvas:b,keepIframeSrcFn:_,newlyAddedElement:w=!1}=t,S=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:Pn.Document,childNodes:[],compatMode:e.compatMode}:{type:Pn.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Pn.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:i,unblockSelector:o,inlineStylesheet:a,maskInputOptions:s={},maskAttributeFn:l,maskInputFn:c,dataURLOptions:u={},inlineImages:f,recordCanvas:d,keepIframeSrcFn:p,newlyAddedElement:h=!1,rootId:m,maskAllText:g,maskTextClass:v,unmaskTextClass:y,maskTextSelector:b,unmaskTextSelector:_}=t,w=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,r,i,o),S=function(e){if(e instanceof HTMLFormElement)return"form";const t=Nn(e.tagName);return Hn.test(t)?"div":t}(e);let x={};const E=e.attributes.length;for(let t=0;t<E;t++){const r=e.attributes[t];r.name&&!ir(S,r.name,r.value)&&(x[r.name]=rr(n,S,Nn(r.name),r.value,e,l))}if("link"===S&&a){const t=Array.from(n.styleSheets).find((t=>t.href===e.href));let r=null;t&&(r=Ln(t)),r&&(delete x.rel,delete x.href,x._cssText=Xn(r,t.href))}if("style"===S&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=Ln(e.sheet);t&&(x._cssText=Xn(t,nr()))}if("input"===S||"textarea"===S||"select"===S||"option"===S){const t=e,n=zn(t),r=$n(t,Fn(S),n),i=t.checked;if("submit"!==n&&"button"!==n&&r){const e=sr(t,v,b,y,_,Dn({type:n,tagName:Fn(S),maskInputOptions:s}));x.value=jn({isMasked:e,element:t,value:r,maskInputFn:c})}i&&(x.checked=i)}if("option"===S&&(e.selected&&!s.select?x.selected=!0:delete x.selected),"canvas"===S&&d)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const i=t.getImageData,o=Bn in i?i[Bn]:i;if(new Uint32Array(o.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(x.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const t=e.toDataURL(u.type,u.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(u.type,u.quality)&&(x.rr_dataURL=t)}if("img"===S&&f){Vn||(Vn=n.createElement("canvas"),Kn=Vn.getContext("2d"));const t=e,r=t.crossOrigin;t.crossOrigin="anonymous";const i=()=>{t.removeEventListener("load",i);try{Vn.width=t.naturalWidth,Vn.height=t.naturalHeight,Kn.drawImage(t,0,0),x.rr_dataURL=Vn.toDataURL(u.type,u.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}r?x.crossOrigin=r:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i)}if("audio"!==S&&"video"!==S||(x.rr_mediaState=e.paused?"paused":"played",x.rr_mediaCurrentTime=e.currentTime),h||(e.scrollLeft&&(x.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(x.rr_scrollTop=e.scrollTop)),w){const{width:t,height:n}=e.getBoundingClientRect();x={class:x.class,rr_width:`${t}px`,rr_height:`${n}px`}}let k;"iframe"!==S||p(x.src)||(e.contentDocument||(x.rr_src=x.src),delete x.src);try{customElements.get(S)&&(k=!0)}catch(e){}return{type:Pn.Element,tagName:S,attributes:x,childNodes:[],isSVG:(C=e,Boolean("svg"===C.tagName||C.ownerSVGElement)||void 0),needBlock:w,rootId:m,isCustom:k};var C}(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:p,maskAttributeFn:l,maskInputOptions:h,maskInputFn:g,dataURLOptions:v,inlineImages:y,recordCanvas:b,keepIframeSrcFn:_,newlyAddedElement:w,rootId:S,maskAllText:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:c,rootId:u}=t,f=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const p="STYLE"===f||void 0,h="SCRIPT"===f||void 0,m="TEXTAREA"===f||void 0;if(p&&d){try{e.nextSibling||e.previousSibling||Tn([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(d=Ln(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}d=Xn(d,nr())}h&&(d="SCRIPT_PLACEHOLDER");const g=sr(e,r,o,i,a,n);return p||h||m||!d||!g||(d=s?s(d):d.replace(/[\S]/g,"*")),m&&d&&(l.textarea||g)&&(d=c?c(d,e.parentNode):d.replace(/[\S]/g,"*")),"OPTION"===f&&d&&(d=jn({isMasked:sr(e,r,o,i,a,Dn({type:null,tagName:f,maskInputOptions:l})),element:e,value:d,maskInputFn:c})),{type:Pn.Text,textContent:d||"",isStyle:p,rootId:u}}(e,{maskAllText:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:h,maskInputFn:g,rootId:S});case e.CDATA_SECTION_NODE:return{type:Pn.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:Pn.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,keepIframeSrcFn:O,newlyAddedElement:T});if(!A)return console.warn(e,"not serialized"),null;let M;M=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===Pn.Comment)return!0;if(e.type===Pn.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(lr(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===lr(e.attributes.name)||"icon"===lr(e.attributes.rel)||"apple-touch-icon"===lr(e.attributes.rel)||"shortcut icon"===lr(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&lr(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(lr(e.attributes.property).match(/^(og|twitter|fb):/)||lr(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===lr(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===lr(e.attributes.name)||"googlebot"===lr(e.attributes.name)||"bingbot"===lr(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===lr(e.attributes.name)||"generator"===lr(e.attributes.name)||"framework"===lr(e.attributes.name)||"publisher"===lr(e.attributes.name)||"progid"===lr(e.attributes.name)||lr(e.attributes.property).match(/^article:/)||lr(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===lr(e.attributes.name)||"yandex-verification"===lr(e.attributes.name)||"csrf-token"===lr(e.attributes.name)||"p:domain_verify"===lr(e.attributes.name)||"verify-v1"===lr(e.attributes.name)||"verification"===lr(e.attributes.name)||"shopify-checkout-api-token"===lr(e.attributes.name)))return!0}}return!1}(A,y)&&(P||A.type!==Pn.Text||A.isStyle||A.textContent.replace(/^\s+|\s+$/gm,"").length)?qn():Wn;const L=Object.assign(A,{id:M});if(r.add(e,L),M===Wn)return null;S&&S(e);let I=!d;if(L.type===Pn.Element){I=I&&!L.needBlock,delete L.needBlock;const t=e.shadowRoot;t&&Mn(t)&&(L.isShadowHost=!0)}if((L.type===Pn.Document||L.type===Pn.Element)&&I){y.headWhitespace&&L.type===Pn.Element&&"head"===L.tagName&&(P=!1);const t={doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:f,skipChild:d,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:O};for(const n of Array.from(e.childNodes)){const e=cr(n,t);e&&L.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=cr(n,t);r&&(Mn(e.shadowRoot)&&(r.isShadow=!0),L.childNodes.push(r))}}return e.parentNode&&An(e.parentNode)&&Mn(e.parentNode)&&(L.isShadow=!0),L.type===Pn.Element&&"iframe"===L.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(e){return}if("complete"!==i){const r=setTimeout((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),o=!0,t()}))}const a="about:blank";if(r.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&x){const n=cr(t,{doc:t,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:O});n&&x(e,n)}}),E),L.type===Pn.Element&&"link"===L.tagName&&"stylesheet"===L.attributes.rel&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(e){return}if(r)return;const o=setTimeout((()=>{i||(t(),i=!0)}),n);e.addEventListener("load",(()=>{clearTimeout(o),i=!0,t()}))}(e,(()=>{if(k){const t=cr(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:p,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:C,keepIframeSrcFn:O});t&&k(e,t)}}),C),L}function ur(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}function fr(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const dr="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let pr={map:{},getId:()=>(console.error(dr),-1),getNode:()=>(console.error(dr),null),removeNodeFromMap(){console.error(dr)},has:()=>(console.error(dr),!1),reset(){console.error(dr)}};function hr(e,t,n={}){let r=null,i=0;return function(...o){const a=Date.now();i||!1!==n.leading||(i=a);const s=t-(a-i),l=this;s<=0||s>t?(r&&(clearTimeout(r),r=null),i=a,e.apply(l,o)):r||!1===n.trailing||(r=setTimeout((()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(l,o)}),s))}}function mr(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>mr(e,t,o||{},!0)}function gr(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(pr=new Proxy(pr,{get:(e,t,n)=>("map"===t&&console.error(dr),Reflect.get(e,t,n))}));let vr,yr=Date.now;function br(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:ur([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:ur([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||ur([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function _r(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function wr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Sr(e,t,n,r,i){if(!e)return!1;const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!o)return!1;const a=ar(t,n);if(!i){const e=r&&o.matches(r);return a(o)&&!e}const s=or(o,a);let l=-1;return!(s<0)&&(r&&(l=or(o,ar(null,r))),s>-1&&l<0||s<l)}function xr(e,t){return t.getId(e)===Wn}function Er(e,t){if(An(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||Er(e.parentNode,t))}function kr(e){return Boolean(e.changedTouches)}function Cr(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Or(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Tr(e){return Boolean(ur([e,"optionalAccess",e=>e.shadowRoot]))}/[1-9][0-9]{12}/.test(Date.now().toString())||(yr=()=>(new Date).getTime());class Pr{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return(0,wt.S)(this.styleIDMap.get(e),(()=>-1))}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Ar(e){let t=null;return ur([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Mr(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Ar(n);)n=t;return n}(e);return t.contains(n)}(e))}var Lr=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(Lr||{}),Ir=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Ir||{}),Rr=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Rr||{}),Dr=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Dr||{});function jr(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}function Nr(e){return"__ln"in e}class Fr{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=jr([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Nr(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Nr(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const Br=(e,t)=>`${e}@${t}`;class zr{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new Fr,r=e=>{let t=e,n=Wn;for(;n===Wn;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!Mr(i))return;const o=An(i.parentNode)?this.mirror.getId(Ar(i)):this.mirror.getId(i.parentNode),a=r(i);if(-1===o||-1===a)return n.addNode(i);const s=cr(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Cr(e,this.mirror)&&this.iframeManager.addIframe(e),Or(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Tr(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});s&&(e.push({parentId:o,nextId:a,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)Ur(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||i(e);for(const e of this.addedSet)Wr(this.droppedSet,e)||Ur(this.removes,e,this.mirror)?Wr(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let o=null;for(;n.length;){let e=null;if(o){const t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}o=e.previous,n.removeNode(e.value),i(e.value)}const a={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{if(xr(e.target,this.mirror))return;let t;try{t=document.implementation.createHTMLDocument()}catch(e){t=this.doc}switch(e.type){case"characterData":{const t=e.target.textContent;Sr(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:sr(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let r=e.attributeName,i=e.target.getAttribute(r);if("value"===r){const t=zn(n),r=n.tagName;i=$n(n,r,t);const o=Dn({maskInputOptions:this.maskInputOptions,tagName:r,type:t});i=jn({isMasked:sr(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:n,value:i,maskInputFn:this.maskInputFn})}if(Sr(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i===e.oldValue)return;let o=this.attributes.find((t=>t.node===e.target));if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(i)){if(n.contentDocument)return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!ir(n.tagName,r)&&(o.attributes[r]=rr(this.doc,Nn(n.tagName),Nn(r),i,n,this.maskAttributeFn),"style"===r)){const r=t.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(n.style)){const t=n.style.getPropertyValue(e),i=n.style.getPropertyPriority(e);t!==r.style.getPropertyValue(e)||i!==r.style.getPropertyPriority(e)?o.styleDiff[e]=""===i?t:[t,i]:o._unchangedStyles[e]=[t,i]}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(Sr(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=An(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Sr(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||xr(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?($r(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||Er(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Br(n,r)]?$r(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!An(e.target)||!Mn(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(xr(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[Br(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Sr(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),Tr(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function $r(e,t){e.delete(t),t.childNodes.forEach((t=>$r(e,t)))}function Ur(e,t,n){return 0!==e.length&&Hr(e,t,n)}function Hr(e,t,n){const{parentNode:r}=t;if(!r)return!1;const i=n.getId(r);return!!e.some((e=>e.id===i))||Hr(e,r,n)}function Wr(e,t){return 0!==e.size&&qr(e,t)}function qr(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||qr(e,n))}let Vr;function Kr(e){Vr=e}function Gr(){Vr=void 0}const Yr=e=>Vr?(...t)=>{try{return e(...t)}catch(e){if(Vr&&!0===Vr(e))return()=>{};throw e}}:e;function Jr(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}const Zr=[];function Xr(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Qr(e,t){const n=new zr;Zr.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const i=Jr([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);i&&window[i]&&(r=window[i]);const o=new r(Yr((t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)})));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function ei({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){return fr("scroll",Yr(hr(Yr((a=>{const s=Xr(a);if(!s||Sr(s,r,i,o,!0))return;const l=n.getId(s);if(s===t&&t.defaultView){const n=br(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})})),a.scroll||100)),t)}const ti=["INPUT","TEXTAREA","SELECT"],ni=new WeakMap;function ri({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:f,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=Xr(e);const u=e.isTrusted,g=n&&Fn(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||ti.indexOf(g)<0||Sr(n,r,i,o,!0))return;const y=n;if(y.classList.contains(a)||s&&y.matches(s))return;const b=zn(n);let _=$n(y,g,b),w=!1;const S=Dn({maskInputOptions:l,tagName:g,type:b}),x=sr(n,d,h,p,m,S);"radio"!==b&&"checkbox"!==b||(w=n.checked),_=jn({isMasked:x,element:n,value:_,maskInputFn:c}),v(n,f?{text:_,isChecked:w,userTriggered:u}:{text:_,isChecked:w});const E=n.name;"radio"===b&&E&&w&&t.querySelectorAll(`input[type="radio"][name="${E}"]`).forEach((e=>{if(e!==n){const t=jn({isMasked:x,element:e,value:$n(e,g,b),maskInputFn:c});v(e,f?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}}))}function v(t,r){const i=ni.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){ni.set(t,r);const i=n.getId(t);Yr(e)({...r,id:i})}}const y=("last"===u.input?["change"]:["input","change"]).map((e=>fr(e,Yr(g),t))),b=t.defaultView;if(!b)return()=>{y.forEach((e=>e()))};const _=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),w=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return _&&_.set&&y.push(...w.map((e=>mr(e[0],e[1],{set(){Yr(g)({target:this,isTrusted:!1})}},!1,b)))),Yr((()=>{y.forEach((e=>e()))}))}function ii(e){return function(e,t){if(li("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||li("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||li("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||li("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function oi(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function ai({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const i="#document"===n.nodeName?Jr([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):Jr([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),o=Jr([i,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(Jr([i,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return Jr([o,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){const n=Jr([o,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),Yr((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})}))):()=>{}}function si(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};const r=Qr(e,e.doc),i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let a,s=[];const l=hr(Yr((t=>{const n=Date.now()-a;e(s.map((e=>(e.timeOffset-=n,e))),t),s=[],a=null})),o),c=Yr(hr(Yr((e=>{const t=Xr(e),{clientX:n,clientY:i}=kr(e)?e.changedTouches[0]:e;a||(a=yr()),s.push({x:n,y:i,id:r.getId(t),timeOffset:yr()-a}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?Ir.Drag:e instanceof MouseEvent?Ir.MouseMove:Ir.TouchMove)})),i,{trailing:!1})),u=[fr("mousemove",c,n),fr("touchmove",c,n),fr("drag",c,n)];return Yr((()=>{u.forEach((e=>e()))}))}(e),o=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};const s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[];let c=null;return Object.keys(Rr).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e])).forEach((a=>{let s=Nn(a);const u=(t=>a=>{const s=Xr(a);if(Sr(s,r,i,o,!0))return;let l=null,u=t;if("pointerType"in a){switch(a.pointerType){case"mouse":l=Dr.Mouse;break;case"touch":l=Dr.Touch;break;case"pen":l=Dr.Pen}l===Dr.Touch?Rr[t]===Rr.MouseDown?u="TouchStart":Rr[t]===Rr.MouseUp&&(u="TouchEnd"):Dr.Pen}else kr(a)&&(l=Dr.Touch);null!==l?(c=l,(u.startsWith("Touch")&&l===Dr.Touch||u.startsWith("Mouse")&&l===Dr.Mouse)&&(l=null)):Rr[t]===Rr.Click&&(l=c,c=null);const f=kr(a)?a.changedTouches[0]:a;if(!f)return;const d=n.getId(s),{clientX:p,clientY:h}=f;Yr(e)({type:Rr[u],id:d,x:p,y:h,...null!==l&&{pointerType:l}})})(a);if(window.PointerEvent)switch(Rr[a]){case Rr.MouseDown:case Rr.MouseUp:s=s.replace("mouse","pointer");break;case Rr.TouchStart:case Rr.TouchEnd:return}l.push(fr(s,u,t))})),Yr((()=>{l.forEach((e=>e()))}))}(e),a=ei(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return fr("resize",Yr(hr(Yr((()=>{const t=_r(),i=wr();n===t&&r===i||(e({width:Number(i),height:Number(t)}),n=t,r=i)})),200)),t)}(e,{win:n}),l=ri(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:a}){const s=Yr((a=>hr(Yr((o=>{const s=Xr(o);if(!s||Sr(s,t,n,r,!0))return;const{currentTime:l,volume:c,muted:u,playbackRate:f}=s;e({type:a,id:i.getId(s),currentTime:l,volume:c,muted:u,playbackRate:f})})),o.media||500))),l=[fr("play",s(0),a),fr("pause",s(1),a),fr("seeked",s(2),a),fr("volumechange",s(3),a),fr("ratechange",s(4),a)];return Yr((()=>{l.forEach((e=>e()))}))}(e),u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:Yr(((r,i,o)=>{const[a,s]=o,{id:l,styleId:c}=oi(i,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:s}]}),r.apply(i,o)}))});const o=r.CSSStyleSheet.prototype.deleteRule;let a,s;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:Yr(((r,i,o)=>{const[a]=o,{id:s,styleId:l}=oi(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:a}]}),r.apply(i,o)}))}),r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:Yr(((r,i,o)=>{const[a]=o,{id:s,styleId:l}=oi(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:a}),r.apply(i,o)}))})),r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:Yr(((r,i,o)=>{const[a]=o,{id:s,styleId:l}=oi(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:a}),r.apply(i,o)}))}));const l={};ci("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(ci("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),ci("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),ci("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));const c={};return Object.entries(l).forEach((([r,i])=>{c[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(c[r].insertRule,{apply:Yr(((r,i,o)=>{const[a,s]=o,{id:l,styleId:c}=oi(i.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:[...ii(i),s||0]}]}),r.apply(i,o)}))}),i.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:Yr(((r,i,o)=>{const[a]=o,{id:s,styleId:l}=oi(i.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...ii(i),a]}]}),r.apply(i,o)}))})})),Yr((()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=o,a&&(r.CSSStyleSheet.prototype.replace=a),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(l).forEach((([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule}))}))}(e,{win:n}),f=ai(e,e.doc),d=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:Yr(((i,a,s)=>{const[l,c,u]=s;if(n.has(l))return o.apply(a,[l,c,u]);const{id:f,styleId:d}=oi(Jr([a,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(f&&-1!==f||d&&-1!==d)&&e({id:f,styleId:d,set:{property:l,value:c,priority:u},index:ii(a.parentRule)}),i.apply(a,s)}))});const a=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:Yr(((i,o,s)=>{const[l]=s;if(n.has(l))return a.apply(o,[l]);const{id:c,styleId:u}=oi(Jr([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,remove:{property:l},index:ii(o.parentRule)}),i.apply(o,s)}))}),Yr((()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=a}))}(e,{win:n}),p=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const a=gr(t.fonts,"add",(function(t){return function(n){return setTimeout(Yr((()=>{const t=i.get(n);t&&(e(t),i.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(a),Yr((()=>{r.forEach((e=>e()))}))}(e):()=>{},h=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:a}=e;let s=!0;const l=Yr((()=>{const e=t.getSelection();if(!e||s&&Jr([e,"optionalAccess",e=>e.isCollapsed]))return;s=e.isCollapsed||!1;const l=[],c=e.rangeCount||0;for(let t=0;t<c;t++){const a=e.getRangeAt(t),{startContainer:s,startOffset:c,endContainer:u,endOffset:f}=a;Sr(s,r,i,o,!0)||Sr(u,r,i,o,!0)||l.push({start:n.getId(s),startOffset:c,end:n.getId(u),endOffset:f})}a({ranges:l})}));return l(),fr("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?gr(n.customElements,"define",(function(e){return function(n,r,i){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,i])}})):()=>{}}(e),g=[];for(const t of e.plugins)g.push(t.observer(t.callback,n,t.options));return Yr((()=>{Zr.forEach((e=>e.reset())),r.disconnect(),i(),o(),a(),s(),l(),c(),u(),f(),d(),p(),h(),m(),g.forEach((e=>e()))}))}function li(e){return void 0!==window[e]}function ci(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class ui{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const i=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e);let a=i.get(t);return a||(a=this.generateIdFn(),i.set(t,a),o.set(a,t)),a}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;return r.get(t)||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function fi(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}class di{constructor(){this.crossOriginIframeMirror=new ui(qn),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class pi{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new ui(qn),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new ui(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),fi([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Lr.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Lr.IncrementalSnapshot,data:{source:Ir.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Lr.Meta:case Lr.Load:case Lr.DomContentLoaded:return!1;case Lr.Plugin:return t;case Lr.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Lr.IncrementalSnapshot:switch(t.data.source){case Ir.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case Ir.Drag:case Ir.TouchMove:case Ir.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case Ir.ViewportResize:return!1;case Ir.MediaInteraction:case Ir.MouseInteraction:case Ir.Scroll:case Ir.CanvasMutation:case Ir.Input:return this.replaceIds(t.data,e,["id"]),t;case Ir.StyleSheetRule:case Ir.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Ir.Font:return t;case Ir.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case Ir.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),fi([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t((t=>{this.replaceStyleIds(t,e,["styleId"])}))]),t}}return!1}replace(e,t,n,r){for(const i of r)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===Pn.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class hi{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class mi{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Mn(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=Qr({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(ei({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(ai({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(gr(e.prototype,"attachShadow",(function(e){return function(r){const i=e.call(this,r);return this.shadowRoot&&Mr(this)&&n.addShadowRoot(this.shadowRoot,t),i}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(e){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class gi{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class vi{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Pr,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,((e,t)=>({rule:In(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class yi{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){!function(...e){(function(){if(vr)return vr;const e=window.document;let t=window.requestAnimationFrame;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.requestAnimationFrame&&(t=r.requestAnimationFrame),e.head.removeChild(n)}catch(e){}return vr=t.bind(window)})()(...e)}((()=>{this.clear(),this.loop&&this.periodicallyClear()}))}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function bi(e){const t=e;return t.timestamp=yr(),t}let _i;const wi=new Rn;function Si(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:a=null,ignoreClass:s="rr-ignore",ignoreSelector:l=null,maskAllText:c=!1,maskTextClass:u="rr-mask",unmaskTextClass:f=null,maskTextSelector:d=null,unmaskTextSelector:p=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:v,maskAttributeFn:y,maskInputFn:b,maskTextFn:_,maxCanvasSize:w=null,packFn:S,sampling:x={},dataURLOptions:E={},mousemoveWait:k,recordCanvas:C=!1,recordCrossOriginIframes:O=!1,recordAfter:T=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:P=!1,collectFonts:A=!1,inlineImages:M=!1,plugins:L,keepIframeSrcFn:I=(()=>!1),ignoreCSSAttributes:R=new Set([]),errorHandler:D,onMutation:j,getCanvasManager:N}=e;Kr(D);const F=!O||window.parent===window;let B=!1;if(!F)try{window.parent.document&&(B=!1)}catch(e){B=!0}if(F&&!t)throw new Error("emit function is required");void 0!==k&&void 0===x.mousemove&&(x.mousemove=k),wi.reset();const z=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==g?g:{},$=!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===v,headMetaDescKeywords:"all"===v}:v||{};let U;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let H=0;const W=e=>{for(const t of L||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!B&&(e=S(e)),e},q=(e,i)=>{if(!(0,St.z)([Zr,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])||e.type===Lr.FullSnapshot||e.type===Lr.IncrementalSnapshot&&e.data.source===Ir.Mutation||Zr.forEach((e=>e.unfreeze())),F)(0,St.z)([t,"optionalCall",t=>t(W(e),i)]);else if(B){const t={type:"rrweb",event:W(e),origin:window.location.origin,isCheckout:i};window.parent.postMessage(t,"*")}if(e.type===Lr.FullSnapshot)U=e,H=0;else if(e.type===Lr.IncrementalSnapshot){if(e.data.source===Ir.Mutation&&e.data.isAttachIframe)return;H++;const t=r&&H>=r,i=n&&U&&e.timestamp-U.timestamp>n;(t||i)&&ee(!0)}},V=e=>{q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.Mutation,...e}}))},K=e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.Scroll,...e}})),G=e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.CanvasMutation,...e}})),Y=new vi({mutationCb:V,adoptedStyleSheetCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.AdoptedStyleSheet,...e}}))}),J="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new di:new pi({mirror:wi,mutationCb:V,stylesheetManager:Y,recordCrossOriginIframes:O,wrappedEmit:q});for(const e of L||[])e.getMirror&&e.getMirror({nodeMirror:wi,crossOriginIframeMirror:J.crossOriginIframeMirror,crossOriginIframeStyleMirror:J.crossOriginIframeStyleMirror});const Z=new yi,X=function(e,t){try{return e?e(t):new gi}catch(e){return console.warn("Unable to initialize CanvasManager"),new gi}}(N,{mirror:wi,win:window,mutationCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.CanvasMutation,...e}})),recordCanvas:C,blockClass:i,blockSelector:o,unblockSelector:a,maxCanvasSize:w,sampling:x.canvas,dataURLOptions:E,errorHandler:D}),Q="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new hi:new mi({mutationCb:V,scrollCb:K,bypassOptions:{onMutation:j,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:c,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskInputOptions:z,dataURLOptions:E,maskAttributeFn:y,maskTextFn:_,maskInputFn:b,recordCanvas:C,inlineImages:M,sampling:x,slimDOMOptions:$,iframeManager:J,stylesheetManager:Y,canvasManager:X,keepIframeSrcFn:I,processedNodeManager:Z},mirror:wi}),ee=(e=!1)=>{q(bi({type:Lr.Meta,data:{href:window.location.href,width:wr(),height:_r()}}),e),Y.reset(),Q.init(),Zr.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new Rn,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:f=!0,inlineImages:d=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOM:y=!1,dataURLOptions:b,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:x,onStylesheetLoad:E,stylesheetLoadTimeout:k,keepIframeSrcFn:C=(()=>!1)}=t||{};return cr(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:b,inlineImages:d,recordCanvas:p,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:x,onStylesheetLoad:E,stylesheetLoadTimeout:k,keepIframeSrcFn:C,newlyAddedElement:!1})}(document,{mirror:wi,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:c,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskAllInputs:z,maskAttributeFn:y,maskInputFn:b,maskTextFn:_,slimDOM:$,dataURLOptions:E,recordCanvas:C,inlineImages:M,onSerialize:e=>{Cr(e,wi)&&J.addIframe(e),Or(e,wi)&&Y.trackLinkElement(e),Tr(e)&&Q.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{J.attachIframe(e,t),Q.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Y.attachLinkElement(e,t)},keepIframeSrcFn:I});if(!t)return console.warn("Failed to snapshot the document");q(bi({type:Lr.FullSnapshot,data:{node:t,initialOffset:br(window)}})),Zr.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Y.adoptStyleSheets(document.adoptedStyleSheets,wi.getId(document))};_i=ee;try{const e=[],t=e=>Yr(si)({onMutation:j,mutationCb:V,mousemoveCb:(e,t)=>q(bi({type:Lr.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.MouseInteraction,...e}})),scrollCb:K,viewportResizeCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.ViewportResize,...e}})),inputCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.Input,...e}})),mediaInteractionCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.MediaInteraction,...e}})),styleSheetRuleCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.StyleSheetRule,...e}})),styleDeclarationCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.StyleDeclaration,...e}})),canvasMutationCb:G,fontCb:e=>q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.Font,...e}})),selectionCb:e=>{q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.Selection,...e}}))},customElementCb:e=>{q(bi({type:Lr.IncrementalSnapshot,data:{source:Ir.CustomElement,...e}}))},blockClass:i,ignoreClass:s,ignoreSelector:l,maskAllText:c,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:p,maskInputOptions:z,inlineStylesheet:h,sampling:x,recordCanvas:C,inlineImages:M,userTriggeredOnInput:P,collectFonts:A,doc:e,maskAttributeFn:y,maskInputFn:b,maskTextFn:_,keepIframeSrcFn:I,blockSelector:o,unblockSelector:a,slimDOMOptions:$,dataURLOptions:E,mirror:wi,iframeManager:J,stylesheetManager:Y,shadowDomManager:Q,processedNodeManager:Z,canvasManager:X,ignoreCSSAttributes:R,plugins:(0,St.z)([L,"optionalAccess",e=>e.filter,"call",e=>e((e=>e.observer)),"optionalAccess",e=>e.map,"call",e=>e((e=>({observer:e.observer,options:e.options,callback:t=>q(bi({type:Lr.Plugin,data:{plugin:e.name,payload:t}}))})))])||[]},{});J.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}}));const n=()=>{ee(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(fr("DOMContentLoaded",(()=>{q(bi({type:Lr.DomContentLoaded,data:{}})),"DOMContentLoaded"===T&&n()}))),e.push(fr("load",(()=>{q(bi({type:Lr.Load,data:{}})),"load"===T&&n()}),window))),()=>{e.forEach((e=>e())),Z.destroy(),_i=void 0,Gr()}}catch(e){console.warn(e)}}Si.mirror=wi,Si.takeFullSnapshot=function(e){if(!_i)throw new Error("please take full snapshot after start recording");_i(e)};const xi=3;function Ei(e){return e>9999999999?e:1e3*e}function ki(e){return e>9999999999?e/1e3:e}function Ci(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:Lr.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,z.S8)(t,10,1e3)}}),"console"===t.category))))}const Oi="button,a";function Ti(e){return e.closest(Oi)||e}function Pi(e){const t=Ai(e);return t&&t instanceof Element?Ti(t):t}function Ai(e){return function(e){return"object"==typeof e&&!!e&&"target"in e}(e)?e.target:e}let Mi;class Li{constructor(e,t,n=Ci){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=(t=()=>{this._lastMutation=Ri()},Mi||(Mi=[],(0,O.GS)(wn,"open",(function(e){return function(...t){if(Mi)try{Mi.forEach((e=>e()))}catch(e){}return e.apply(wn,t)}}))),Mi.push(t),()=>{const e=Mi?Mi.indexOf(t):-1;e>-1&&Mi.splice(e,1)});var t;this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){return!Ii.includes(e.tagName)||("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||"")||(!("A"!==e.tagName||!(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))||!(!t||!e.matches(t))))}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:ki(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=ki(e)}registerScroll(e=Date.now()){this._lastScroll=ki(e)}registerClick(e){const t=Ti(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=Ri();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const t of e){const e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:a}=e;if(i){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:wn.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(t,i)}else if(o>1){const e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:wn.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const Ii=["A","BUTTON","INPUT"];function Ri(){return Date.now()/1e3}function Di(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var ji;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(ji||(ji={}));const Ni=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function Fi(e){const t={};for(const n in e)if(Ni.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}function Bi(e,t){const n=Si.mirror.getId(e),r=n&&Si.mirror.getNode(n),i=r&&Si.mirror.getMeta(r),o=i&&function(e){return e.type===ji.Element}(i)?i:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map((e=>e.type===ji.Text&&e.textContent)).filter(Boolean).map((e=>e.trim())).join(""),attributes:Fi(o.attributes)}}:{}}}const zi={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Ui(o),end:Ui(i),name:r,data:{size:c,statusCode:l,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=Ui(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:f,redirectCount:d,startTime:p,transferSize:h,type:m}=e;return 0===i?null:{type:`${t}.${m}`,start:Ui(p),end:Ui(o),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:a,duration:i,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:f,domComplete:o,redirectCount:d}}}};function $i(e){return zi[e.entryType]?zi[e.entryType](e):null}function Ui(e){return((Ct.k3||wn.performance.timeOrigin)+e)/1e3}const Hi="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Wi(e,t){Hi&&(D.vF.info(e),t&&Vi(e))}function qi(e,t){Hi&&(D.vF.info(e),t&&setTimeout((()=>{Vi(e)}),0))}function Vi(e){(0,d.ZQ)({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}class Ki extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class Gi{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>On)throw new Ki;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?Ei(e):null}}class Yi{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){Wi("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const o=({data:t})=>{const a=t;if(a.method===e&&a.id===n){if(this._worker.removeEventListener("message",o),!a.success)return Hi&&D.vF.error("[Replay]",a.response),void i(new Error("Error in compression worker"));r(a.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class Ji{constructor(e){this._worker=new Yi(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=Ei(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>On?Promise.reject(new Ki):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,(e=>{Hi&&D.vF.warn('[Replay] Sending "clear" message to worker failed',e)}))}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class Zi{constructor(e){this._fallback=new Gi,this._compression=new Ji(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void Wi("[Replay] Failed to load the compression worker, falling back to simple buffer")}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t}=this._fallback,n=[];for(const t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(e){Hi&&D.vF.warn("[Replay] Failed to add events when switching buffers.",e)}}}function Xi(){try{return"sessionStorage"in wn&&!!wn.sessionStorage}catch(e){return!1}}function Qi(e){return void 0!==e&&Math.random()<e}function eo(e){const t=Date.now();return{id:e.id||(0,T.eJ)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function to(e){if(Xi())try{wn.sessionStorage.setItem(Sn,JSON.stringify(e))}catch(e){}}function no({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const i=function(e,t){return Qi(e)?"session":!!t&&"buffer"}(e,t),o=eo({sampled:i,previousSessionId:r});return n&&to(o),o}function ro(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function io(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return ro(e.started,t,r)||ro(e.lastActivity,n,r)}function oo(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!io(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function ao({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},i){const o=i.stickySession&&function(e){if(!Xi())return null;try{const t=wn.sessionStorage.getItem(Sn);if(!t)return null;const n=JSON.parse(t);return qi("[Replay] Loading existing session",e),eo(n)}catch(e){return null}}(e);return o?oo(o,{sessionIdleExpire:t,maxReplayDuration:n})?(qi("[Replay] Session in sessionStorage is expired, creating new one..."),no(i,{previousSessionId:o.id})):o:(qi("[Replay] Creating new session",e),no(i,{previousSessionId:r}))}function so(e,t,n){return!!co(e,t)&&(lo(e,t,n),!0)}async function lo(e,t,n){if(!e.eventBuffer)return null;try{n&&"buffer"===e.recordingMode&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const r=function(e,t){try{if("function"==typeof t&&function(e){return e.type===Lr.Custom}(e))return t(e)}catch(e){return Hi&&D.vF.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",e),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!r)return;return await e.eventBuffer.addEvent(r)}catch(t){const n=t&&t instanceof Ki?"addEventSizeExceeded":"addEvent";Hi&&D.vF.error(t),await e.stop({reason:n});const r=(0,d.KU)();r&&r.recordDroppedEvent("internal_sdk_error","replay")}}function co(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=Ei(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now()||n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration&&(Wi(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),1))}function uo(e){return!e.type}function fo(e){return"transaction"===e.type}function po(e){return"feedback"===e.type}function ho(e){const t=function(){const e=(0,d.KU)();if(!e)return!1;const t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!e.isEnabled()||!uo(n)&&!fo(n))return;const i=r&&r.statusCode;t&&(!i||i<200||i>=300)||(fo(n)?function(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n):function(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&setTimeout((()=>{e.sendBufferedReplayOrFlush()}))}(e,n))}}function mo(e,t){return t.map((({type:t,start:n,end:r,name:i,data:o})=>{const a=e.throttledAddEvent({type:Lr.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof a?Promise.resolve(null):a}))}function go(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!Hi||!e.getOptions()._experiments.traceInternals)&&(0,xt.A)(t,(0,d.KU)())}(e,t.name)||e.addUpdate((()=>(mo(e,[t]),!0))))}function vo(e,t){if(e)try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=ko(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function yo(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function bo(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[ko(e)];if(!e)return[void 0]}catch(t){return Hi&&D.vF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Hi&&D.vF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function _o(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function wo(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:a,request:s,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:(0,O.Ce)({method:o,statusCode:a,request:s,response:l})}}function So(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function xo(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};const t=e.length>kn,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,kn);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(n);return r.body=i,o&&o.length>0&&(r._meta={warnings:o}),r}function Eo(e,t){return Object.keys(e).reduce(((n,r)=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n}),{})}function ko(e){return new URLSearchParams(e).toString()}function Co(e,t){const n=function(e,t=wn.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(wn.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,Le.Xr)(n,t)}function Oo(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function To(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function Po(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?To(n,t):Array.isArray(n)?{}:Eo(n,t):{}}function Ao(e){const t=(0,d.KU)();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s}=e.getOptions(),l={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s};t&&t.on?t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(t.data)try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(function(e,t,n){const{xhr:r,input:i}=t;if(!r)return;const o=vo(i,n.textEncoder),a=r.getResponseHeader("content-length")?yo(r.getResponseHeader("content-length")):function(e,t,n){try{return vo("json"===t&&e&&"object"==typeof e?JSON.stringify(e):e,n)}catch(e){return}}(r.response,r.responseType,n.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),async function(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:a,xhr:s}=t,{url:l,method:c,status_code:u=0,request_body_size:f,response_body_size:d}=e.data;if(!l)return null;if(!s||!Co(l,n.networkDetailAllowUrls)||Co(l,n.networkDetailDenyUrls))return{startTimestamp:i,endTimestamp:o,url:l,method:c,statusCode:u,request:So(f),response:So(d)};const p=s[Te.Er],h=p?Eo(p.request_headers,n.networkRequestHeaders):{},m=Eo(function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e}),{}):{}}(s),n.networkResponseHeaders),[g,v]=n.networkCaptureBodies?bo(a):[void 0],[y,b]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return Hi&&D.vF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Hi&&D.vF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return Hi&&D.vF.warn("[Replay] Failed to get xhr response body",...t),[void 0]}(s):[void 0],_=xo(h,f,g),w=xo(m,d,y);return{startTimestamp:i,endTimestamp:o,url:l,method:c,statusCode:u,request:v?_o(_,v):_,response:b?_o(w,b):w}}(e,t,n),i=wo("resource.xhr",r);go(n.replay,i)}catch(e){Hi&&D.vF.error("[Replay] Failed to capture xhr breadcrumb",e)}}(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(function(e,t,n){const{input:r,response:i}=t,o=vo(r?Oo(r):void 0,n.textEncoder),a=i?yo(i.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),async function(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=t,{url:a,method:s,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,f=Co(a,n.networkDetailAllowUrls)&&!Co(a,n.networkDetailDenyUrls),d=f?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=n?(a=t,1===(o=n).length&&"string"!=typeof o[0]?Po(o[0],a):2===o.length?Po(o[1],a):{}):{};var o,a;if(!e)return xo(i,r,void 0);const s=Oo(n),[l,c]=bo(s),u=xo(i,r,l);return c?_o(u,c):u}(n,t.input,c):So(c),p=await async function(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,o){if(!e&&void 0!==o)return So(o);const a=i?To(i.headers,r):{};if(!i||!t&&void 0!==o)return xo(a,o,void 0);const[s,l]=await async function(e){const t=function(e){try{return e.clone()}catch(e){Hi&&D.vF.warn("[Replay] Failed to clone response body",e)}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise(((t,n)=>{const r=setTimeout((()=>n(new Error("Timeout while trying to read response body"))),500);(async function(e){return await e.text()})(e).then((e=>t(e)),(e=>n(e))).finally((()=>clearTimeout(r)))}))}(t);return[e]}catch(e){return Hi&&D.vF.warn("[Replay] Failed to get text body from response",e),[void 0,"BODY_PARSE_ERROR"]}}(i),c=function(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:i,headers:o}){try{const a=e&&e.length&&void 0===r?vo(e,n):r;return i?xo(o,a,t?e:void 0):So(a)}catch(e){return Hi&&D.vF.warn("[Replay] Failed to serialize response body",e),xo(o,r,void 0)}}(s,{networkCaptureBodies:t,textEncoder:n,responseBodySize:o,captureDetails:e,headers:a});return l?_o(c,l):c}(f,n,t.response,u);return{startTimestamp:i,endTimestamp:o,url:a,method:s,statusCode:l,request:d,response:p}}(e,t,n),i=wo("resource.fetch",r);go(n.replay,i)}catch(e){Hi&&D.vF.error("[Replay] Failed to capture fetch breadcrumb",e)}}(t,n,e))}catch(e){Hi&&D.vF.warn("Error when enriching network breadcrumb")}}(l,e,t))):((0,Pe.u)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;const{method:o,url:a}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:a,data:{method:o,statusCode:i?i.status:void 0}}}(t);go(e,n)}}(e)),(0,Te.Mn)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r[Te.Er];if(!t||!n||!i)return null;const{method:o,url:a,status_code:s}=i;return void 0===a?null:{type:"resource.xhr",name:a,start:t/1e3,end:n/1e3,data:{method:o,statusCode:s}}}(t);go(e,n)}}(e)))}catch(e){}}let Mo=null;function Lo(e){return!(!e||!e.on)}function Io(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function Ro(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(Hi&&D.vF.warn("[Replay] Received replay event after session expired."));const i=r||!t;t=!0,e.clickDetector&&function(e,t){try{if(!function(e){return e.type===xi}(t))return;const{source:n}=t.data;if(n===Ir.Mutation&&e.registerMutation(t.timestamp),n===Ir.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===Ir.MouseInteraction}(t)){const{type:n,id:r}=t.data,i=Si.mirror.getNode(r);i instanceof HTMLElement&&n===Rr.Click&&e.registerClick(i)}}catch(e){}}(e.clickDetector,n),e.addUpdate((()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!so(e,n,i))return!0;if(!i)return!1;if(function(e,t){t&&e.session&&0===e.session.segmentId&&so(e,function(e){const t=e.getOptions();return{type:Lr.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,i),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){const t=e.eventBuffer.getEarliestTimestamp();t&&(Wi(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&to(e.session))}return"session"===e.recordingMode&&e.flush(),!0}))}}class Do extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class jo extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function No(e,t={count:0,interval:5e3}){const{recordingData:n,options:r}=e;if(n.length)try{return await async function({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o}){const s=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:l,errorIds:c,traceIds:u,initialTimestamp:f}=r,p=(0,d.KU)(),h=(0,d.o5)(),m=p&&p.getTransport(),g=p&&p.getDsn();if(!(p&&m&&g&&o.sampled))return;const v={type:xn,replay_start_timestamp:f/1e3,timestamp:i/1e3,error_ids:c,trace_ids:u,urls:l,replay_id:t,segment_id:n,replay_type:o.sampled},y=await async function({client:e,scope:t,replayId:n,event:r}){const i={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,i);const o=await(0,Et.mG)(e.getOptions(),r,i,t,e,(0,a.rm)());if(!o)return null;o.platform=o.platform||"javascript";const s=e.getSdkMetadata&&e.getSdkMetadata(),{name:l,version:c}=s&&s.sdk||{};return o.sdk={...o.sdk,name:l||"sentry.javascript.unknown",version:c||"0.0.0"},o}({scope:h,client:p,replayId:t,event:v});if(!y)return p.recordDroppedEvent("event_processor","replay",v),void Wi("An event processor returned `null`, will not send event.");delete y.sdkProcessingMetadata;const b=function(e,t,n,r){return(0,X.h4)((0,X.n2)(e,(0,X.Cj)(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(y,s,g,p.getOptions().tunnel);let _;try{_=await m.send(b)}catch(e){const t=new Error(En);try{t.cause=e}catch(e){}throw t}if(!_)return _;if("number"==typeof _.statusCode&&(_.statusCode<200||_.statusCode>=300))throw new Do(_.statusCode);const w=(0,Ot.wq)({},_);if((0,Ot.Jz)(w,"replay"))throw new jo(w);return _}(e),!0}catch(n){if(n instanceof Do||n instanceof jo)throw n;if((0,d.o)("Replays",{_retryCount:t.count}),Hi&&r._experiments&&r._experiments.captureExceptions&&(0,d.Cp)(n),t.count>=3){const e=new Error(`${En} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise(((n,r)=>{setTimeout((async()=>{try{await No(e,t),n(!0)}catch(e){r(e)}}),t.interval)}))}}const Fo="__THROTTLED";class Bo{constructor({options:e,recordingOptions:t}){Bo.prototype.__init.call(this),Bo.prototype.__init2.call(this),Bo.prototype.__init3.call(this),Bo.prototype.__init4.call(this),Bo.prototype.__init5.call(this),Bo.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,i,o;const a=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return l(),r=e(),r}function l(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function c(){return i&&clearTimeout(i),i=setTimeout(s,t),a&&void 0===o&&(o=setTimeout(s,a)),r}return c.cancel=l,c.flush=function(){return void 0!==i||void 0!==o?s():r},c}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,n){const r=new Map;let i=!1;return(...o)=>{const a=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach(((e,n)=>{n<t&&r.delete(n)}))})(a),[...r.values()].reduce(((e,t)=>e+t),0)>=t){const e=i;return i=!0,e?"__SKIPPED":Fo}i=!1;const s=r.get(a)||0;return r.set(a,s+1),e(...o)}}(((e,t)=>function(e,t,n){return co(e,t)?lo(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new Li(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options;t<=0&&n<=0||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",qi(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");qi("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const e=ao({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");qi("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=ao({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Si({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:Ro(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{Wi("[Replay] Stopping Replay"+(t?` triggered by ${t}`:""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,n=this,function(){if(Xi())try{wn.sessionStorage.removeItem(Sn)}catch(e){}}(),n.session=void 0}catch(e){this._handleException(e)}}var n}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Wi("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),Wi("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();Wi("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&ro(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${wn.location.pathname}${wn.location.hash}${wn.location.search}`,t=`${wn.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===Fo){const e=Di({category:"replay.throttled"});this.addUpdate((()=>!so(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastTransaction||(0,d.o5)().getTransaction(),t=(e&&(0,kt.et)(e).data||{})[u.i_];if(e&&t&&["route","custom"].includes(t))return(0,kt.et)(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){const e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}());if(!t)return;Wi("[Replay] Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new Zi(n)}catch(e){Wi("[Replay] Failed to create compression worker")}}(t);if(e)return e}return Wi("[Replay] Using simple buffer"),new Gi}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){Hi&&D.vF.error("[Replay]",e),Hi&&this._options._experiments&&this._options._experiments.captureExceptions&&(0,d.Cp)(e)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=ao({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!oo(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{wn.document.addEventListener("visibilitychange",this._handleVisibilityChange),wn.addEventListener("blur",this._handleWindowBlur),wn.addEventListener("focus",this._handleWindowFocus),wn.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){const t=(0,d.o5)(),n=(0,d.KU)();t.addScopeListener((e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return Mo!==t&&t?(Mo=t,!t.category||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui.")?null:"console"===t.category?function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return Di(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"==typeof e)return e.length>Cn?(n=!0,`${e.slice(0,Cn)}…`):e;if("object"==typeof e)try{const t=(0,z.S8)(e,7);return JSON.stringify(t).length>Cn?(n=!0,`${JSON.stringify(t,null,2).slice(0,Cn)}…`):t}catch(e){}return e}));return Di({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t):Di(t)):null}(t);n&&Ci(e,n)})(e)),(0,Oe.i)((e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?Pi(e.event):Ai(e.event),n=(0,Ae.Hd)(r,{maxStringLength:200})||"<unknown>"}catch(e){n="<unknown>"}return{target:r,message:n}}(e);return Di({category:`ui.${e.name}`,...Bi(t,n)})}(t);if(!n)return;const r="click"===t.name,i=r?t.event:void 0;var o,a,s;!(r&&e.clickDetector&&i&&i.target)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(o=e.clickDetector,a=n,s=Pi(t.event),o.handleClick(a,s)),Ci(e,n)})(e)),(0,ke._)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(mo(e,[n]),!1))))}}(e)),Ao(e);const r=function(e,t=!1){const n=t?ho(e):void 0;return Object.assign(((t,r)=>{if(!e.isEnabled())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!uo(t)&&!fo(t)&&!po(t))return t;if(!e.checkAndHandleExpiredSession())return t;if(po(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate((()=>!t.timestamp||(e.throttledAddEvent({type:Lr.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)))}(e,t),t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length||!t.originalException||!t.originalException.__rrweb__)}(t,r)&&!e.getOptions()._experiments.captureExceptions)return Hi&&D.vF.log("[Replay] Ignoring error from rrweb internals",t),null;const i=function(e,t){return"buffer"===e.recordingMode&&t.message!==En&&!(!t.exception||t.type)&&Qi(e.getOptions().errorSampleRate)}(e,t);return(i||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&n(t,{statusCode:200}),t}),{id:"Replay"})}(e,!Lo(n));n&&n.addEventProcessor?n.addEventProcessor(r):(0,p.S)(r),Lo(n)&&(n.on("beforeSendEvent",function(e){return t=>{e.isEnabled()&&uo(t)&&function(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0].value;"string"==typeof n&&(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&Ci(e,Di({category:"replay.hydrate-error"}))}(e,t)}}(e)),n.on("afterSendEvent",ho(e)),n.on("createDsc",(t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)})),n.on("startTransaction",(t=>{e.lastTransaction=t})),n.on("finishTransaction",(t=>{e.lastTransaction=t})),n.on("beforeSendFeedback",((t,n)=>{const r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)})))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];return["navigation","paint","resource"].forEach((e=>{r.push(fn(e,n))})),r.push(un((({metric:t})=>{e.replayPerformanceEntries.push(function(e){const t=e.entries,n=t[t.length-1],r=n?n.element:void 0,i=e.value,o=Ui(i);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:o,end:o,data:{value:i,size:i,nodeId:r?Si.mirror.getId(r):void 0}}}(t))}))),()=>{r.forEach((e=>e()))}}(this)}_removeListeners(){try{wn.document.removeEventListener("visibilitychange",this._handleVisibilityChange),wn.removeEventListener("blur",this._handleWindowBlur),wn.removeEventListener("focus",this._handleWindowFocus),wn.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===wn.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=Di({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=Di({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:a}=e;if(!a||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(a)||!o)return null;const s=t||r||i,l=1===o.length;if(!s&&l)return null;const c=(0,Ae.Hd)(a,{maxStringLength:200})||"<unknown>";return Di({category:"ui.keyDown",message:c,data:{...Bi(a,c).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}(t);n&&Ci(e,n)}(this,e)}}_doChangeToBackgroundTasks(e){this.session&&(io(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){this.session&&(this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):Wi("[Replay] Document has become active, but session has expired"))}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:Lr.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=(t=this.performanceEntries,t.map($i).filter(Boolean)).concat(this.replayPerformanceEntries);var t;return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(mo(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(e){try{return Promise.all(mo(e,[Io(wn.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await No({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(e){this._handleException(e),this.stop({reason:"sendReplay"});const t=(0,d.KU)();t&&t.recordDroppedEvent("send_error","replay")}}else Hi&&D.vF.error("[Replay] No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(Hi&&D.vF.error("[Replay] Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i)return Wi(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),void(r&&this._debouncedFlush());const o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&Wi("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(e){Hi&&D.vF.error(e)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&to(this.session)}__init6(){this._onMutationHandler=e=>{const t=e.length,n=this._options.mutationLimit,r=n&&t>n;if(t>this._options.mutationBreadcrumbLimit||r){const e=Di({category:"replay.mutations",data:{count:t,limit:r}});this._createCustomBreadcrumb(e)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function zo(e,t,n,r){const i=[...e,..."string"==typeof r?r.split(","):[],...t];return void 0!==n&&("string"==typeof n&&i.push(`.${n}`),(0,D.pq)((()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")}))),i.join(",")}const $o='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Uo=["content-length","content-type","accept"];let Ho=!1;const Wo=e=>new qo(e);class qo{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:s={},sessionSampleRate:l,errorSampleRate:c,maskAllText:u=!0,maskAllInputs:f=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:p=750,mutationLimit:h=1e4,slowClickTimeout:m=7e3,slowClickIgnoreSelectors:g=[],networkDetailAllowUrls:v=[],networkDetailDenyUrls:y=[],networkCaptureBodies:b=!0,networkRequestHeaders:_=[],networkResponseHeaders:w=[],mask:S=[],maskAttributes:x=["title","placeholder"],unmask:E=[],block:k=[],unblock:C=[],ignore:O=[],maskFn:T,beforeAddRecordingEvent:P,beforeErrorSampling:A,blockClass:M,blockSelector:L,maskInputOptions:I,maskTextClass:R,maskTextSelector:D,ignoreClass:j}={}){this.name=qo.id;const N=function({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:o,blockSelector:a,maskTextClass:s,maskTextSelector:l,ignoreClass:c}){const u={maskTextSelector:zo(e,[".sentry-mask","[data-sentry-mask]"],s,l),unmaskTextSelector:zo(t,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:zo(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,a),unblockSelector:zo(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:zo(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],c)};return o instanceof RegExp&&(u.blockClass=o),s instanceof RegExp&&(u.maskTextClass=s),u}({mask:S,unmask:E,block:k,unblock:C,ignore:O,blockClass:M,blockSelector:L,maskTextClass:R,maskTextSelector:D,ignoreClass:j});if(this._recordingOptions={maskAllInputs:f,maskAllText:u,maskInputOptions:{...I||{},password:!0},maskTextFn:T,maskInputFn:T,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return r?i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o:o}({maskAttributes:x,maskAllText:u,privacyOptions:N,key:e,value:t,el:n}),...N,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:i,sessionSampleRate:l,errorSampleRate:c,useCompression:o,workerUrl:a,blockAllMedia:d,maskAllInputs:f,maskAllText:u,mutationBreadcrumbLimit:p,mutationLimit:h,slowClickTimeout:m,slowClickIgnoreSelectors:g,networkDetailAllowUrls:v,networkDetailDenyUrls:y,networkCaptureBodies:b,networkRequestHeaders:Vo(_),networkResponseHeaders:Vo(w),beforeAddRecordingEvent:P,beforeErrorSampling:A,_experiments:s},"number"==typeof l&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${l} })`),this._initialOptions.sessionSampleRate=l),"number"==typeof c&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${c} })`),this._initialOptions.errorSampleRate=c),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${$o}`:$o),this._isInitialized&&(0,Tt.B)())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Ho}set _isInitialized(e){Ho=e}setupOnce(){(0,Tt.B)()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const e=function(e){const t=(0,d.KU)(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...(0,O.Ce)(e)};return n?(null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&(0,D.pq)((()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")})),"number"==typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate),"number"==typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate),r):((0,D.pq)((()=>{console.warn("SDK client is not available.")})),r)}(this._initialOptions);this._replay=new Bo({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const e=(0,d.KU)().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function Vo(e){return[...Uo,...e.map((e=>e.toLowerCase()))]}function Ko(){const e=(0,d.KU)();return e&&e.getIntegrationByName&&e.getIntegrationByName("Replay")}var Go;function Yo(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Yo(e.parentNode,t,n,r+1):-1}function Jo(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(e){return!1}}}qo.__initStatic(),function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Go||(Go={}));const Zo="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let Xo,Qo={map:{},getId:()=>(console.error(Zo),-1),getNode:()=>(console.error(Zo),null),removeNodeFromMap(){console.error(Zo)},has:()=>(console.error(Zo),!1),reset(){console.error(Zo)}};function ea(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>ea(e,t,o||{},!0)}function ta(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(e){return()=>{}}}function na(e,t,n,r,i){if(!e)return!1;const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!o)return!1;const a=Jo(t,n);if(!i){const e=r&&o.matches(r);return a(o)&&!e}const s=Yo(o,a);let l=-1;return!(s<0)&&(r&&(l=Yo(o,Jo(null,r))),s>-1&&l<0||s<l)}function ra(...e){return function(){if(Xo)return Xo;const e=window.document;let t=window.requestAnimationFrame;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.requestAnimationFrame&&(t=r.requestAnimationFrame),e.head.removeChild(n)}catch(e){}return Xo=t.bind(window)}()(...e)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(Qo=new Proxy(Qo,{get:(e,t,n)=>("map"===t&&console.error(Zo),Reflect.get(e,t,n))})),/[1-9][0-9]{12}/.test(Date.now().toString());var ia=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(ia||{});let oa;const aa=e=>oa?(...t)=>{try{return e(...t)}catch(e){if(oa&&!0===oa(e))return()=>{};throw e}}:e;for(var sa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",la="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ca=0;ca<64;ca++)la[sa.charCodeAt(ca)]=ca;const ua=new Map,fa=(e,t,n)=>{if(!e||!ha(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=ua.get(e);return n||(n=new Map,ua.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let i=r.indexOf(e);return-1===i&&(i=r.length,r.push(e)),i};function da(e,t,n){if(e instanceof Array)return e.map((e=>da(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const t=e.constructor.name,n=function(e){var t,n=new Uint8Array(e),r=n.length,i="";for(t=0;t<r;t+=3)i+=sa[n[t]>>2],i+=sa[(3&n[t])<<4|n[t+1]>>4],i+=sa[(15&n[t+1])<<2|n[t+2]>>6],i+=sa[63&n[t+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(e);return{rr_type:t,base64:n}}if(e instanceof DataView)return{rr_type:e.constructor.name,args:[da(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}return e instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:e.toDataURL()}:e instanceof ImageData?{rr_type:e.constructor.name,args:[da(e.data,t,n),e.width,e.height]}:ha(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:fa(e,t,n)}:e}const pa=(e,t,n)=>e.map((e=>da(e,t,n))),ha=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function ma(e,t,n,r,i){const o=[];try{const a=ta(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(o,...a){if(!na(this,t,n,r,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(o);if("__context"in this||(this.__context=e),i&&["webgl","webgl2"].includes(e))if(a[0]&&"object"==typeof a[0]){const e=a[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o,...a])}}));o.push(a)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach((e=>e()))}}function ga(e,t,n,r,i,o,a,s){const l=[],c=Object.getOwnPropertyNames(e);for(const a of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if("function"!=typeof e[a])continue;const c=ta(e,a,(function(e){return function(...l){const c=e.apply(this,l);if(fa(c,s,this),"tagName"in this.canvas&&!na(this.canvas,r,i,o,!0)){const e=pa(l,s,this),r={type:t,property:a,args:e};n(this.canvas,r)}return c}}));l.push(c)}catch(r){const i=ea(e,a,{set(e){n(this.canvas,{type:t,property:a,args:[e],setter:!0})}});l.push(i)}return l}class va{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{sampling:t="all",win:n,blockClass:r,blockSelector:i,unblockSelector:o,maxCanvasSize:a,recordCanvas:s,dataURLOptions:l,errorHandler:c}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,c&&(oa=c),e.enableManualSnapshot||aa((()=>{s&&"all"===t&&this.initCanvasMutationObserver(n,r,i,o),s&&"number"==typeof t&&this.initCanvasFPSObserver(t,n,r,i,o,a,{dataURLOptions:l})}))()}initCanvasFPSObserver(e,t,n,r,i,o,a){const s=ma(t,n,r,i,!0),l=this.takeSnapshot(!1,e,t,n,r,i,o,a.dataURLOptions);this.resetObservers=()=>{s(),cancelAnimationFrame(l)}}initCanvasMutationObserver(e,t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const i=ma(e,t,n,r,!1),o=function(e,t,n,r,i){const o=[],a=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const s of a)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[s])continue;const a=ta(t.CanvasRenderingContext2D.prototype,s,(function(o){return function(...a){return na(this.canvas,n,r,i,!0)||setTimeout((()=>{const n=pa(a,t,this);e(this.canvas,{type:ia["2D"],property:s,args:n})}),0),o.apply(this,a)}}));o.push(a)}catch(n){const r=ea(t.CanvasRenderingContext2D.prototype,s,{set(t){e(this.canvas,{type:ia["2D"],property:s,args:[t],setter:!0})}});o.push(r)}return()=>{o.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r),a=function(e,t,n,r,i,o){const a=[];return a.push(...ga(t.WebGLRenderingContext.prototype,ia.WebGL,e,n,r,i,0,t)),void 0!==t.WebGL2RenderingContext&&a.push(...ga(t.WebGL2RenderingContext.prototype,ia.WebGL2,e,n,r,i,0,t)),()=>{a.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r,this.mirror);this.resetObservers=()=>{i(),o(),a()}}snapshot(e){const{options:t}=this,n=this.takeSnapshot(!0,"all"===t.sampling?2:t.sampling||2,t.win,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(n)}}takeSnapshot(e,t,n,r,i,o,a,s,l){const c=new Map,u=new Worker(function(){const e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());u.onmessage=e=>{const t=e.data,{id:n}=t;if(c.set(n,!1),!("base64"in t))return;const{base64:r,type:i,width:o,height:a}=t;this.mutationCb({id:n,type:ia["2D"],commands:[{property:"clearRect",args:[0,0,o,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:i}]},0,0,o,a]}]})};const f=1e3/t;let d,p=0;const h=t=>{p&&t-p<f||(p=t,(e=>{if(e)return[e];const t=[];return n.document.querySelectorAll("canvas").forEach((e=>{na(e,r,i,o,!0)||t.push(e)})),t})(l).forEach((t=>{const n=this.mirror.getId(t);if(!c.get(n)&&t.width&&t.height){if(c.set(n,!0),!e&&["webgl","webgl2"].includes(t.__context)){const e=t.getContext(t.__context);!1===(0,St.z)([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(t).then((e=>{u.postMessage({id:n,bitmap:e,width:t.width,height:t.height,dataURLOptions:s,maxCanvasSize:a},[e])})).catch((e=>{aa((()=>{throw e}))()}))}}))),d=ra(h)};return d=ra(h),d}startPendingCanvasMutationFlusher(){ra((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,ra(e)};ra(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),ra((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const{type:t,...n}=e;return n})),{type:i}=n[0];this.mutationCb({id:t,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}const ya={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},ba="ReplayCanvas",_a=1280,wa=(0,m._C)(((e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,_a):_a,n?Math.min(n,_a):_a]};let i;const o=new Promise((e=>i=e));return{name:ba,setupOnce(){},getOptions(){const{quality:e,enableManualSnapshot:t,maxCanvasSize:n}=r;return{enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{const r=new va({...e,enableManualSnapshot:t,maxCanvasSize:n,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(e){}}});return i(r),r},...ya[e||"medium"]||ya.medium}},async snapshot(e){(await o).snapshot(e)}}})),Sa=(0,m.F)(ba,wa);var xa=n(57754);const Ea=C.OW,ka="#ffffff",Ca="inherit",Oa="rgba(108, 95, 199, 1)",Ta={fontFamily:"system-ui, 'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:ka,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"12px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:Oa,submitBorder:Oa,submitOutlineFocus:"#29232f",submitForeground:ka,submitForegroundHover:ka,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:Ca,inputForeground:Ca,inputBorder:"var(--border)",inputOutlineFocus:Oa,formBorderRadius:"20px",formContentBorderRadius:"6px"},Pa=Ta,Aa={...Ta,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"},Ma="widget",La="api";function Ia({name:e,email:t,message:n,source:r=La,url:i=(0,Ae.$N)()},o={}){if(!n)throw new Error("Unable to submit feedback with empty message");return async function({feedback:{message:e,email:t,name:n,source:r,url:i}},{includeReplay:o=!0}={}){const s=(0,d.KU)(),l=s&&s.getTransport(),c=s&&s.getDsn();if(!s||!l||!c)return;const u={contexts:{feedback:{contact_email:t,name:n,message:e,url:i,source:r}},type:"feedback"};return(0,d.v4)((async e=>{e.clearBreadcrumbs(),[La,Ma].includes(String(r))&&e.setLevel("info");const t=await async function({client:e,scope:t,event:n}){const r={};e.emit&&e.emit("preprocessEvent",n,r);const i=await(0,Et.mG)(e.getOptions(),n,r,t,e,(0,a.rm)());return null===i?(e.recordDroppedEvent("event_processor","feedback",n),null):(i.platform=i.platform||"javascript",i)}({scope:e,client:s,event:u});if(!t)return;s.emit&&s.emit("beforeSendFeedback",t,{includeReplay:Boolean(o)});const n=(0,xa.V)(t,c,s.getOptions()._metadata,s.getOptions().tunnel);let i;try{i=await l.send(n)}catch(e){const t=new Error("Unable to send Feedback");try{t.cause=e}catch(e){}throw t}if(i){if("number"==typeof i.statusCode&&(i.statusCode<200||i.statusCode>=300))throw new Error("Unable to send Feedback");return i}}))}({feedback:{name:e,email:t,message:n,url:i,source:r}},o)}const Ra="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function Da(e,t){return{...e,...t,themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function ja(e){return`\n  --background: ${e.background};\n  --background-hover: ${e.backgroundHover};\n  --foreground: ${e.foreground};\n  --error: ${e.error};\n  --success: ${e.success};\n  --border: ${e.border};\n  --border-radius: ${e.borderRadius};\n  --box-shadow: ${e.boxShadow};\n\n  --submit-background: ${e.submitBackground};\n  --submit-background-hover: ${e.submitBackgroundHover};\n  --submit-border: ${e.submitBorder};\n  --submit-outline-focus: ${e.submitOutlineFocus};\n  --submit-foreground: ${e.submitForeground};\n  --submit-foreground-hover: ${e.submitForegroundHover};\n\n  --cancel-background: ${e.cancelBackground};\n  --cancel-background-hover: ${e.cancelBackgroundHover};\n  --cancel-border: ${e.cancelBorder};\n  --cancel-outline-focus: ${e.cancelOutlineFocus};\n  --cancel-foreground: ${e.cancelForeground};\n  --cancel-foreground-hover: ${e.cancelForegroundHover};\n\n  --input-background: ${e.inputBackground};\n  --input-foreground: ${e.inputForeground};\n  --input-border: ${e.inputBorder};\n  --input-outline-focus: ${e.inputOutlineFocus};\n\n  --form-border-radius: ${e.formBorderRadius};\n  --form-content-border-radius: ${e.formContentBorderRadius};\n  `}function Na(e,t){return Object.entries(t).forEach((([t,n])=>{e.setAttributeNS(null,t,n)})),e}const Fa=20,Ba="http://www.w3.org/2000/svg";function za(e,t,...n){const r=Ea.document.createElement(e);t&&Object.entries(t).forEach((([e,t])=>{"className"===e&&"string"==typeof t?r.setAttribute("class",t):"boolean"==typeof t&&t?r.setAttribute(e,""):"string"==typeof t?r.setAttribute(e,t):e.startsWith("on")&&"function"==typeof t&&r.addEventListener(e.substring(2).toLowerCase(),t)}));for(const e of n)$a(r,e);return r}function $a(e,t){const n=Ea.document;if(null!=t)if(Array.isArray(t))for(const n of t)$a(e,n);else!1===t||("string"==typeof t?e.appendChild(n.createTextNode(t)):t instanceof Node?e.appendChild(t):e.appendChild(n.createTextNode(String(t))))}function Ua(e,t){const n=e.get(t);return"string"==typeof n?n.trim():""}const Ha="http://www.w3.org/2000/svg";function Wa({formTitle:e,showBranding:t,showName:n,showEmail:r,isNameRequired:i,isEmailRequired:o,colorScheme:a,defaultName:s,defaultEmail:l,onClosed:c,onCancel:u,onSubmit:f,...d}){let p=null;function h(){p&&(p.open=!1)}const{el:m,showError:g,hideError:v}=function({nameLabel:e,namePlaceholder:t,emailLabel:n,emailPlaceholder:r,messageLabel:i,messagePlaceholder:o,isRequiredLabel:a,cancelButtonLabel:s,submitButtonLabel:l,showName:c,showEmail:u,isNameRequired:f,isEmailRequired:d,defaultName:p,defaultEmail:h,onCancel:m,onSubmit:g}){const{el:v}=function({label:e}){return{el:za("button",{type:"submit",className:"btn btn--primary","aria-label":e},e)}}({label:l}),y=za("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"}),b=za("input",{id:"name",type:c?"text":"hidden","aria-hidden":c?"false":"true",name:"name",required:f,className:"form__input",placeholder:t,value:p}),_=za("input",{id:"email",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"email",required:d,className:"form__input",placeholder:r,value:h}),w=za("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:o}),S=za("button",{type:"button",className:"btn btn--default","aria-label":s,onClick:e=>{m&&m(e)}},s),x=za("form",{className:"form",onSubmit:function(e){if(e.preventDefault(),e.target instanceof HTMLFormElement)try{if(g){const t=new FormData(e.target),n={name:Ua(t,"name"),email:Ua(t,"email"),message:Ua(t,"message")};g(n)}}catch(e){}}},[y,c&&za("label",{htmlFor:"name",className:"form__label"},[za("span",{className:"form__label__text"},e,f&&za("span",{className:"form__label__text--required"},` ${a}`)),b]),!c&&b,u&&za("label",{htmlFor:"email",className:"form__label"},[za("span",{className:"form__label__text"},n,d&&za("span",{className:"form__label__text--required"},` ${a}`)),_]),!u&&_,za("label",{htmlFor:"message",className:"form__label"},[za("span",{className:"form__label__text"},i,za("span",{className:"form__label__text--required"},` ${a}`)),w]),za("div",{className:"btn-group"},[v,S])]);return{get el(){return x},showError:function(e){y.textContent=e,y.classList.remove("form__error-container--hidden"),y.setAttribute("aria-hidden","false")},hideError:function(){y.textContent="",y.classList.add("form__error-container--hidden"),y.setAttribute("aria-hidden","true")}}}({showEmail:r,showName:n,isEmailRequired:o,isNameRequired:i,defaultName:s,defaultEmail:l,onSubmit:f,onCancel:u,...d});return p=za("dialog",{className:"dialog",open:!0,onClick:function(){h(),c&&c()}},za("div",{className:"dialog__content",onClick:e=>{e.stopPropagation()}},za("h2",{className:"dialog__header"},e,t&&za("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},function({colorScheme:e}){const t=e=>Ea.document.createElementNS(Ha,e),n=Na(t("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),r=Na(t("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});n.append(r);const i=t("defs"),o=t("style");return o.textContent=`\n    path {\n      fill: ${"dark"===e?"#fff":"#362d59"};\n    }`,"system"===e&&(o.textContent+="\n    @media (prefers-color-scheme: dark) {\n      path: {\n        fill: '#fff';\n      }\n    }\n    "),i.append(o),n.append(i),{get el(){return n}}}({colorScheme:a}).el)),m)),{get el(){return p},showError:g,hideError:v,open:function(){p&&(p.open=!0)},close:h,checkIsOpen:function(){return p&&!0===p.open||!1}}}const qa=16,Va=17,Ka="http://www.w3.org/2000/svg";function Ga({shadow:e,options:{shouldCreateActor:t=!0,...n},attachTo:r}){let i,o,a=!1;async function s(t){if(!o)return;const r=[];n.isNameRequired&&!t.name&&r.push(n.nameLabel),n.isEmailRequired&&!t.email&&r.push(n.emailLabel),t.message||r.push(n.messageLabel),r.length>0?o.showError(`Please enter in the following required fields: ${r.join(", ")}`):await async function(e,t,n){if(e){e.hideError();try{return await Ia({...t,source:Ma},n)}catch(t){Ra&&D.vF.error(t),e&&e.showError("There was a problem submitting feedback, please wait and try again.")}}}(o,t)?(h(),function(){if(e)try{const t=function({message:e,onRemove:t}){function n(){r&&(r.remove(),t&&t())}const r=za("div",{className:"success-message",onClick:n},function(){const e=e=>Ea.document.createElementNS(Ka,e),t=Na(e("svg"),{class:"success-icon",width:`${qa}`,height:`${Va}`,viewBox:`0 0 ${qa} ${Va}`,fill:"none"}),n=Na(e("g"),{clipPath:"url(#clip0_57_156)"}),r=Na(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),i=Na(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(i,r);const o=e("defs"),a=Na(e("clipPath"),{id:"clip0_57_156"}),s=Na(e("rect"),{width:`${qa}`,height:`${qa}`,fill:"white",transform:"translate(0 0.5)"});return a.appendChild(s),o.appendChild(a),t.appendChild(o).appendChild(a).appendChild(s),{get el(){return t}}}().el,e);return{el:r,remove:n}}({message:n.successMessageText,onRemove:()=>{r&&clearTimeout(r),c()}});if(!t.el)throw new Error("Unable to show success message");e.appendChild(t.el);const r=setTimeout((()=>{t&&t.remove()}),5e3)}catch(e){D.vF.error(e)}}(),n.onSubmitSuccess&&n.onSubmitSuccess()):n.onSubmitError&&n.onSubmitError()}function l(){const e=(0,d.KU)(),t=e&&e.getIntegrationByName&&e.getIntegrationByName("Replay");t&&t.flush().catch((e=>{Ra&&D.vF.error(e)}))}function c(){i&&i.show()}function u(){i&&i.hide()}function f(){try{if(o)return o.open(),a=!0,n.onFormOpen&&n.onFormOpen(),void l();const t=n.useSentryUser,r=(0,d.o5)(),i=r&&r.getUser();if(o=Wa({colorScheme:n.colorScheme,showBranding:n.showBranding,showName:n.showName||n.isNameRequired,showEmail:n.showEmail||n.isEmailRequired,isNameRequired:n.isNameRequired,isEmailRequired:n.isEmailRequired,formTitle:n.formTitle,cancelButtonLabel:n.cancelButtonLabel,submitButtonLabel:n.submitButtonLabel,emailLabel:n.emailLabel,emailPlaceholder:n.emailPlaceholder,messageLabel:n.messageLabel,messagePlaceholder:n.messagePlaceholder,nameLabel:n.nameLabel,namePlaceholder:n.namePlaceholder,isRequiredLabel:n.isRequiredLabel,defaultName:t&&i&&i[t.name]||"",defaultEmail:t&&i&&i[t.email]||"",onClosed:()=>{c(),a=!1,n.onFormClose&&n.onFormClose()},onCancel:()=>{p(),c()},onSubmit:s}),!o.el)throw new Error("Unable to open Feedback dialog");e.appendChild(o.el),u(),n.onFormOpen&&n.onFormOpen(),l()}catch(e){D.vF.error(e)}}function p(){o&&(o.close(),a=!1,n.onFormClose&&n.onFormClose())}function h(){if(o){p();const e=o.el;e&&e.remove(),o=void 0}}function m(){a||f(),u()}return r?r.addEventListener("click",m):t&&(i=function({buttonLabel:e,onClick:t}){const n=za("button",{type:"button",className:"widget__actor","aria-label":e,"aria-hidden":"false"},function(){const e=e=>Ea.document.createElementNS(Ba,e),t=Na(e("svg"),{class:"feedback-icon",width:`${Fa}`,height:`${Fa}`,viewBox:`0 0 ${Fa} ${Fa}`,fill:"none"}),n=Na(e("g"),{clipPath:"url(#clip0_57_80)"}),r=Na(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const i=e("defs"),o=Na(e("clipPath"),{id:"clip0_57_80"}),a=Na(e("rect"),{width:`${Fa}`,height:`${Fa}`,fill:"white"});return o.appendChild(a),i.appendChild(o),t.appendChild(i).appendChild(o).appendChild(a),{get el(){return t}}}().el,e?za("span",{className:"widget__actor__text"},e):null);return n.addEventListener("click",(function(e){t&&t(e)})),{get el(){return n},show:()=>{n.classList.remove("widget__actor--hidden"),n.setAttribute("aria-hidden","false")},hide:()=>{n.classList.add("widget__actor--hidden"),n.setAttribute("aria-hidden","true")}}}({buttonLabel:n.buttonLabel,onClick:m}),i.el&&e.appendChild(i.el)),{get actor(){return i},get dialog(){return o},showActor:c,hideActor:u,removeActor:function(){i&&i.el&&i.el.remove()},openDialog:f,closeDialog:p,removeDialog:h}}const Ya=Ea.document,Ja=e=>new Za(e);class Za{static __initStatic(){this.id="Feedback"}constructor({autoInject:e=!0,id:t="sentry-feedback",isEmailRequired:n=!1,isNameRequired:r=!1,showBranding:i=!0,showEmail:o=!0,showName:a=!0,useSentryUser:s={email:"email",name:"username"},themeDark:l,themeLight:c,colorScheme:u="system",buttonLabel:f="Report a Bug",cancelButtonLabel:d="Cancel",submitButtonLabel:p="Send Bug Report",formTitle:h="Report a Bug",emailPlaceholder:m="your.email@example.org",emailLabel:g="Email",messagePlaceholder:v="What's the bug? What did you expect?",messageLabel:y="Description",namePlaceholder:b="Your Name",nameLabel:_="Name",isRequiredLabel:w="(required)",successMessageText:S="Thank you for your report!",onFormClose:x,onFormOpen:E,onSubmitError:k,onSubmitSuccess:C}={}){this.name=Za.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:e,showBranding:i,id:t,isEmailRequired:n,isNameRequired:r,showEmail:o,showName:a,useSentryUser:s,colorScheme:u,themeDark:{...Aa,...l},themeLight:{...Pa,...c},buttonLabel:f,cancelButtonLabel:d,submitButtonLabel:p,formTitle:h,emailLabel:g,emailPlaceholder:m,messageLabel:y,messagePlaceholder:v,nameLabel:_,namePlaceholder:b,isRequiredLabel:w,successMessageText:S,onFormClose:x,onFormOpen:E,onSubmitError:k,onSubmitSuccess:C}}setupOnce(){if((0,Tt.B)())try{this._cleanupWidgetIfExists();const{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){Ra&&D.vF.error(e)}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,t){try{const n=Da(this.options,t||{});return this._ensureShadowHost(n,(({shadow:t})=>{const r="string"==typeof e?Ya.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)return Ra&&D.vF.error("[Feedback] Unable to attach to target element"),null;const i=Ga({shadow:t,options:n,attachTo:r});return this._widgets.add(i),this._widget||(this._widget=i),i}))}catch(e){return Ra&&D.vF.error(e),null}}createWidget(e){try{return this._createWidget(Da(this.options,e||{}))}catch(e){return Ra&&D.vF.error(e),null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(e){Ra&&D.vF.error(e)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();const e=Ya.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,(({shadow:t})=>{const n=Ga({shadow:t,options:e});return!this._hasInsertedActorStyles&&n.actor&&(t.appendChild(function(e){const t=e.createElement("style");return t.textContent="\n.widget__actor {\n  line-height: 25px;\n\n  display: flex;\n  align-items: center;\n  gap: 8px;\n\n  border-radius: var(--border-radius);\n  cursor: pointer;\n  font-family: inherit;\n  font-size: var(--font-size);\n  font-weight: 600;\n  padding: 12px 16px;\n  text-decoration: none;\n  z-index: 9000;\n\n  color: var(--foreground);\n  background-color: var(--background);\n  border: var(--border);\n  box-shadow: var(--box-shadow);\n  opacity: 1;\n  transition: opacity 0.1s ease-in-out;\n}\n\n.widget__actor:hover {\n  background-color: var(--background-hover);\n}\n\n.widget__actor svg {\n  width: 16px;\n  height: 16px;\n}\n\n.widget__actor--hidden {\n  opacity: 0;\n  pointer-events: none;\n  visibility: hidden;\n}\n\n.widget__actor__text {\n}\n\n.feedback-icon path {\n  fill: var(--foreground);\n}\n",t}(Ya)),this._hasInsertedActorStyles=!0),this._widgets.add(n),this._widget||(this._widget=n),n}))}_ensureShadowHost(e,t){let n=!1;if(!this._shadow||!this._host){const{id:t,colorScheme:r,themeLight:i,themeDark:o}=e,{shadow:a,host:s}=function({id:e,colorScheme:t,themeDark:n,themeLight:r}){try{const i=Ea.document,o=i.createElement("div");o.id=e;const a=o.attachShadow({mode:"open"});return a.appendChild(function(e,t,n){const r=e.createElement("style");return r.textContent=`\n:host {\n  --bottom: 1rem;\n  --right: 1rem;\n  --top: auto;\n  --left: auto;\n  --z-index: 100000;\n  --font-family: ${n.light.fontFamily};\n  --font-size: ${n.light.fontSize};\n\n  position: fixed;\n  left: var(--left);\n  right: var(--right);\n  bottom: var(--bottom);\n  top: var(--top);\n  z-index: var(--z-index);\n\n  font-family: var(--font-family);\n  font-size: var(--font-size);\n\n  ${ja("dark"===t?n.dark:n.light)}\n}\n\n${"system"===t?`\n@media (prefers-color-scheme: dark) {\n  :host {\n    ${ja(n.dark)}\n  }\n}`:""}\n}`,r}(i,t,{dark:n,light:r})),a.appendChild(function(e){const t=e.createElement("style");return t.textContent="\n.dialog {\n  line-height: 25px;\n  background-color: rgba(0, 0, 0, 0.05);\n  border: none;\n  position: fixed;\n  inset: 0;\n  z-index: 10000;\n  width: 100vw;\n  height: 100vh;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  opacity: 1;\n  transition: opacity 0.2s ease-in-out;\n}\n\n.dialog:not([open]) {\n  opacity: 0;\n  pointer-events: none;\n  visibility: hidden;\n}\n.dialog:not([open]) .dialog__content {\n  transform: translate(0, -16px) scale(0.98);\n}\n\n.dialog__content {\n  position: fixed;\n  left: var(--left);\n  right: var(--right);\n  bottom: var(--bottom);\n  top: var(--top);\n\n  border: var(--border);\n  border-radius: var(--form-border-radius);\n  background-color: var(--background);\n  color: var(--foreground);\n\n  width: 320px;\n  max-width: 100%;\n  max-height: calc(100% - 2rem);\n  display: flex;\n  flex-direction: column;\n  box-shadow: var(--box-shadow);\n  transition: transform 0.2s ease-in-out;\n  transform: translate(0, 0) scale(1);\n}\n\n.dialog__header {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  font-size: 20px;\n  font-weight: 600;\n  padding: 24px 24px 0 24px;\n  margin: 0;\n  margin-bottom: 16px;\n}\n\n.brand-link {\n  display: inline-flex;\n}\n\n.error {\n  color: var(--error);\n  margin-bottom: 16px;\n}\n\n.form {\n  display: grid;\n  overflow: auto;\n  flex-direction: column;\n  gap: 16px;\n  padding: 0 24px 24px;\n}\n\n.form__error-container {\n  color: var(--error);\n}\n\n.form__error-container--hidden {\n  display: none;\n}\n\n.form__label {\n  display: flex;\n  flex-direction: column;\n  gap: 4px;\n  margin: 0px;\n}\n\n.form__label__text {\n  display: grid;\n  gap: 4px;\n  align-items: center;\n  grid-auto-flow: column;\n  grid-auto-columns: max-content;\n}\n\n.form__label__text--required {\n  font-size: 0.85em;\n}\n\n.form__input {\n  line-height: inherit;\n  background-color: var(--input-background);\n  box-sizing: border-box;\n  border: var(--input-border);\n  border-radius: var(--form-content-border-radius);\n  color: var(--input-foreground);\n  font-family: inherit;\n  font-size: var(--font-size);\n  font-weight: 500;\n  padding: 6px 12px;\n}\n\n.form__input::placeholder {\n  color: var(--input-foreground);\n  opacity: 0.65;\n}\n\n.form__input:focus-visible {\n  outline: 1px auto var(--input-outline-focus);\n}\n\n.form__input--textarea {\n  font-family: inherit;\n  resize: vertical;\n}\n\n.btn-group {\n  display: grid;\n  gap: 8px;\n  margin-top: 8px;\n}\n\n.btn {\n  line-height: inherit;\n  border: var(--cancel-border);\n  border-radius: var(--form-content-border-radius);\n  cursor: pointer;\n  font-family: inherit;\n  font-size: var(--font-size);\n  font-weight: 600;\n  padding: 6px 16px;\n}\n.btn[disabled] {\n  opacity: 0.6;\n  pointer-events: none;\n}\n\n.btn--primary {\n  background-color: var(--submit-background);\n  border-color: var(--submit-border);\n  color: var(--submit-foreground);\n}\n.btn--primary:hover {\n  background-color: var(--submit-background-hover);\n  color: var(--submit-foreground-hover);\n}\n.btn--primary:focus-visible {\n  outline: 1px auto var(--submit-outline-focus);\n}\n\n.btn--default {\n  background-color: var(--cancel-background);\n  color: var(--cancel-foreground);\n  font-weight: 500;\n}\n.btn--default:hover {\n  background-color: var(--cancel-background-hover);\n  color: var(--cancel-foreground-hover);\n}\n.btn--default:focus-visible {\n  outline: 1px auto var(--cancel-outline-focus);\n}\n\n.success-message {\n  background-color: var(--background);\n  border: var(--border);\n  border-radius: var(--border-radius);\n  box-shadow: var(--box-shadow);\n  font-weight: 600;\n  color: var(--success);\n  padding: 12px 24px;\n  line-height: 25px;\n  display: grid;\n  align-items: center;\n  grid-auto-flow: column;\n  gap: 6px;\n  cursor: default;\n}\n\n.success-icon path {\n  fill: var(--success);\n}\n",t}(i)),{shadow:a,host:o}}catch(e){throw D.vF.warn("[Feedback] Browser does not support shadow DOM API"),new Error("Browser does not support shadow DOM API.")}}({id:t,colorScheme:r,themeLight:i,themeDark:o});this._shadow=a,this._host=s,n=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;const r=t({shadow:this._shadow,host:this._host});return n&&Ya.body.appendChild(this._host),r}}Za.__initStatic();const Xa="CaptureConsole",Qa=(0,m._C)(((e={})=>{const t=e.levels||D.Ow;return{name:Xa,setupOnce(){},setup(e){"console"in C.OW&&(0,Ce.P)((({args:n,level:r})=>{(0,d.KU)()===e&&t.includes(r)&&function(e,t){const n={level:(0,Me.te)(t),extra:{arguments:e}};(0,d.v4)((r=>{if(r.addEventProcessor((e=>(e.logger="console",(0,T.M6)(e,{handled:!1,type:"console"}),e))),"assert"===t&&!1===e[0]){const t=`Assertion failed: ${(0,Le.gt)(e.slice(1)," ")||"console.assert"}`;return r.setExtra("arguments",e.slice(1)),void(0,d.wd)(t,n)}const i=e.find((e=>e instanceof Error));if("error"===t&&i)return void(0,d.Cp)(i,n);const o=(0,Le.gt)(e," ");(0,d.wd)(o,n)}))}(n,r)}))}}}));(0,m.F)(Xa,Qa);const es=C.OW,ts="ContextLines",ns=(0,m._C)(((e={})=>{const t=null!=e.frameContextLines?e.frameContextLines:7;return{name:ts,setupOnce(){},processEvent:e=>function(e,t){const n=es.document,r=es.location&&(0,Ie.f)(es.location.href);if(!n||!r)return e;const i=e.exception&&e.exception.values;if(!i||!i.length)return e;const o=n.documentElement.innerHTML;if(!o)return e;const a=["<!DOCTYPE html>","<html>",...o.split("\n"),"</html>"];return i.forEach((e=>{const n=e.stacktrace;n&&n.frames&&(n.frames=n.frames.map((e=>function(e,t,n,r){return e.filename===n&&e.lineno&&t.length?((0,T.db)(t,e,r),e):e}(e,a,r,t))))})),e}(e,t)}}));(0,m.F)(ts,ns);const rs="Debug",is=(0,m._C)(((e={})=>{const t={debugger:!1,stringify:!1,...e};return{name:rs,setupOnce(){},setup(e){e.on&&e.on("beforeSendEvent",((e,n)=>{t.debugger,(0,D.pq)((()=>{t.stringify?(console.log(JSON.stringify(e,null,2)),n&&Object.keys(n).length&&console.log(JSON.stringify(n,null,2))):(console.log(e),n&&Object.keys(n).length&&console.log(n))}))}))}}})),os=((0,m.F)(rs,is),"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__),as="Dedupe",ss=(0,m._C)((()=>{let e;return{name:as,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!cs(e,t)&&!!ls(e,t))))}(e,t)||!!function(e,t){const n=us(t),r=us(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!cs(e,t)&&!!ls(e,t)))}(e,t))}(t,e))return os&&D.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}}));function ls(e,t){let n=fs(e),r=fs(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function cs(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function us(e){return e.exception&&e.exception.values&&e.exception.values[0]}function fs(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}(0,m.F)(as,ss);const ds="ExtraErrorData",ps=(0,m._C)(((e={})=>{const t=e.depth||3,n=e.captureErrorCause||!1;return{name:ds,setupOnce(){},processEvent:(e,r)=>function(e,t={},n,r){if(!t.originalException||!(0,B.bJ)(t.originalException))return e;const i=t.originalException.name||t.originalException.constructor.name,o=function(e,t){try{const n=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],r={};for(const t of Object.keys(e)){if(-1!==n.indexOf(t))continue;const i=e[t];r[t]=(0,B.bJ)(i)?i.toString():i}if(t&&void 0!==e.cause&&(r.cause=(0,B.bJ)(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];r[e]=(0,B.bJ)(n)?n.toString():n}}return r}catch(e){os&&D.vF.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,r);if(o){const t={...e.contexts},r=(0,z.S8)(o,n);return(0,B.Qd)(r)&&((0,O.my)(r,"__sentry_skip_normalization__",!0),t[i]=r),{...e,contexts:t}}return e}(e,r,t,n)}}));(0,m.F)(ds,ps);const hs="HttpClient",ms=(0,m._C)(((e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:hs,setupOnce(){},setup(e){!function(e,t){(0,te.m7)()&&(0,Pe.u)((n=>{if((0,d.KU)()!==e)return;const{response:r,args:i}=n,[o,a]=i;r&&function(e,t,n,r){if(ys(e,n.status,n.url)){const e=function(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}(t,r);let i,o,a,s;_s()&&([{headers:i,cookies:a},{headers:o,cookies:s}]=[{cookieHeader:"Cookie",obj:e},{cookieHeader:"Set-Cookie",obj:n}].map((({cookieHeader:e,obj:t})=>{const n=function(e){const t={};return e.forEach(((e,n)=>{t[n]=e})),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=vs(t))}catch(t){os&&D.vF.log(`Could not extract cookies from header ${e}`)}return{headers:n,cookies:r}})));const l=bs({url:e.url,method:e.method,status:n.status,requestHeaders:i,responseHeaders:o,requestCookies:a,responseCookies:s});(0,d.r)(l)}}(t,o,r,a)}))}(e,t),function(e,t){"XMLHttpRequest"in C.OW&&(0,Te.Mn)((n=>{if((0,d.KU)()!==e)return;const r=n.xhr,i=r[Te.Er];if(!i)return;const{method:o,request_headers:a}=i;try{!function(e,t,n,r){if(ys(e,t.status,t.responseURL)){let e,i,o;if(_s()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(i=vs(e))}catch(e){os&&D.vF.log("Could not extract cookies from response headers")}try{o=function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n]=r,e}),{}):{}}(t)}catch(e){os&&D.vF.log("Could not extract headers from response")}e=r}const a=bs({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:o,responseCookies:i});(0,d.r)(a)}}(t,r,o,a)}catch(e){os&&D.vF.warn("Error while extracting response event form XHR response",e)}}))}(e,t)}}}));function gs(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function vs(e){return e.split("; ").reduce(((e,t)=>{const[n,r]=t.split("=");return e[n]=r,e}),{})}function ys(e,t,n){return function(e,t){return e.some((e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1]))}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,i=n,r.some((e=>"string"==typeof e?i.includes(e):e.test(i))))&&!(0,xt.A)(n,(0,d.KU)());var r,i}function bs(e){const t=`HTTP Client Error with status code: ${e.status}`,n={message:t,exception:{values:[{type:"Error",value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:gs(e.responseHeaders)}}};return(0,T.M6)(n,{type:"http.client",handled:!1}),n}function _s(){const e=(0,d.KU)();return!!e&&Boolean(e.getOptions().sendDefaultPii)}(0,m.F)(hs,ms);const ws=C.OW,Ss="ReportingObserver",xs=new WeakMap,Es=(0,m._C)(((e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(e){if(xs.has((0,d.KU)()))for(const t of e)(0,d.v4)((e=>{e.setExtra("url",t.url);const n=`ReportingObserver [${t.type}]`;let r="No details available";if(t.body){const n={};for(const e in t.body)n[e]=t.body[e];if(e.setExtra("body",n),"crash"===t.type){const e=t.body;r=[e.crashId||"",e.reason||""].join(" ").trim()||r}else r=t.body.message||r}(0,d.wd)(`${n}: ${r}`)}))}return{name:Ss,setupOnce(){(0,te.vQ)()&&new ws.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){xs.set(e,!0)}}}));(0,m.F)(Ss,Es);var ks=n(13729);const Cs="RewriteFrames",Os=(0,m._C)(((e={})=>{const t=e.root,n=e.prefix||"app:///",r=e.iteratee||(e=>{if(!e.filename)return e;const r=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),i=/^\//.test(e.filename);if(r||i){const i=r?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,o=t?(0,ks.V8)(t,i):(0,ks.P8)(i);e.filename=`${n}${o}`}return e});function i(e){return{...e,frames:e&&e.frames&&e.frames.map((e=>r(e)))}}return{name:Cs,setupOnce(){},processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map((e=>({...e,...e.stacktrace&&{stacktrace:i(e.stacktrace)}})))}}}catch(t){return e}}(t)),t}}})),Ts=((0,m.F)(Cs,Os),"SessionTiming"),Ps=(0,m._C)((()=>{const e=Date.now();return{name:Ts,setupOnce(){},processEvent(t){const n=Date.now();return{...t,extra:{...t.extra,"session:start":e,"session:duration":n-e,"session:end":n}}}}}));(0,m.F)(Ts,Ps);var As=n(44887),Ms=n(3098);function Ls(){Mt.document?Mt.document.addEventListener("visibilitychange",(()=>{const e=(0,b.Z7)();if(Mt.document.hidden&&e){const t="cancelled",{op:n,status:r}=(0,kt.et)(e);Pt&&D.vF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}})):Pt&&D.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var Is=n(21209),Rs=n(72254),Ds=n(77157),js=n(19436);function Ns(e){return"number"==typeof e&&isFinite(e)}function Fs(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}const Bs=2147483647;function zs(e){return e/1e3}function $s(){return Mt&&Mt.addEventListener&&Mt.performance}let Us,Hs,Ws=0,qs={};function Vs(){const e=$s();if(e&&Ct.k3){e.mark&&Mt.performance.mark("sentry-tracing-init");const t=yn("fid",(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=zs(Ct.k3),r=zs(t.startTime);Pt&&D.vF.log("[Measurements] Adding FID"),qs.fid={value:e.value,unit:"millisecond"},qs["mark.fid"]={value:n+r,unit:"second"}}),hn,an),n=function(e,t=!1){return yn("cls",e,pn,on,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Pt&&D.vF.log("[Measurements] Adding CLS"),qs.cls={value:e.value,unit:""},Hs=t)}),!0),r=un((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Pt&&D.vF.log("[Measurements] Adding LCP"),qs.lcp={value:e.value,unit:"millisecond"},Us=t)}),!0),i=yn("ttfb",(({metric:e})=>{e.entries[e.entries.length-1]&&(Pt&&D.vF.log("[Measurements] Adding TTFB"),qs.ttfb={value:e.value,unit:"millisecond"})}),gn,ln);return()=>{t(),n(),r(),i()}}return()=>{}}function Ks(){fn("longtask",(({entries:e})=>{for(const t of e){const e=(0,b.Z7)();if(!e)return;const n=zs(Ct.k3+t.startTime),r=zs(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}}))}function Gs(){fn("event",(({entries:e})=>{for(const t of e){const e=(0,b.Z7)();if(!e)return;if("click"===t.name){const n=zs(Ct.k3+t.startTime),r=zs(t.duration),i={description:(0,Ae.Hd)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r},o=(0,Ae.xE)(t.target);o&&(i.attributes={"ui.component_name":o}),e.startChild(i)}}}))}function Ys(e,t){if($s()&&Ct.k3){const n=function(e,t){return n=({metric:n})=>{if(void 0===n.value)return;const r=n.entries.find((e=>e.duration===n.value&&void 0!==Js[e.name])),i=(0,d.KU)();if(!r||!i)return;const o=Js[r.name],a=i.getOptions(),s=zs(Ct.k3+r.startTime),l=zs(n.value),c=void 0!==r.interactionId?e[r.interactionId]:void 0;if(void 0===c)return;const{routeName:u,parentContext:f,activeTransaction:p,user:h,replayId:m}=c,g=void 0!==h?h.email||h.id||h.ip_address:void 0,v=void 0!==p?p.getProfileId():void 0,y=new Is.L({startTimestamp:s,endTimestamp:s+l,op:`ui.interaction.${o}`,name:(0,Ae.Hd)(r.target),attributes:{release:a.release,environment:a.environment,transaction:u,...void 0!==g&&""!==g?{user:g}:{},...void 0!==v?{profile_id:v}:{},...void 0!==m?{replay_id:m}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),b=function(e,t,n){if(!(0,Ds.w)(t))return!1;let r;return r=void 0!==e&&"function"==typeof t.tracesSampler?t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:{...e.data,...e.attributes},location:Mt.location}):void 0!==e&&void 0!==e.sampled?e.sampled:void 0!==t.tracesSampleRate?t.tracesSampleRate:1,(0,js.v)(r)?!0===r?n:!1===r?0:r*n:(Pt&&D.vF.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1)}(f,a,t);if(b&&Math.random()<b){const e=y?(0,Rs.l)([y],i.getDsn()):void 0,t=i&&i.getTransport();t&&e&&t.send(e).then(null,(e=>{Pt&&D.vF.error("Error while sending interaction:",e)}))}},yn("inp",n,vn,cn);var n}(e,t);return()=>{n()}}return()=>{}}const Js={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function Zs(e){const t=$s();if(!t||!Mt.performance.getEntries||!Ct.k3)return;Pt&&D.vF.log("[Tracing] Adding & adjusting spans using Performance API");const n=zs(Ct.k3),r=t.getEntries(),{op:i,start_timestamp:o}=(0,kt.et)(e);if(r.slice(Ws).forEach((t=>{const r=zs(t.startTime),i=zs(t.duration);if(!("navigation"===e.op&&o&&n+r<o))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{Xs(e,t,r,n)})),Xs(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Xs(e,t,"fetch",n,"cache","domainLookupStart"),Xs(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(Fs(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+zs(t.requestStart),endTimestamp:n+zs(t.responseEnd)}),Fs(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+zs(t.responseStart),endTimestamp:n+zs(t.responseEnd)}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const o=i+n,a=o+r;Fs(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})}(e,t,r,i,n);const o=Bt(),a=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&a&&(Pt&&D.vF.log("[Measurements] Adding FP"),qs.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&a&&(Pt&&D.vF.log("[Measurements] Adding FCP"),qs.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const a=(0,Ie.Dl)(n),s={};Qs(s,t,"transferSize","http.response_transfer_size"),Qs(s,t,"encodedBodySize","http.response_content_length"),Qs(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=n.includes(Mt.location.origin);const l=o+r,c=l+i;Fs(e,{description:n.replace(Mt.location.origin,""),endTimestamp:c,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:l,data:s})}(e,t,t.name,r,i,n)}})),Ws=Math.max(r.length-1,0),function(e){const t=Mt.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),Ns(n.rtt)&&(qs["connection.rtt"]={value:n.rtt,unit:"millisecond"})),Ns(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),Ns(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===i){!function(e){const t=Lt();if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(Pt&&D.vF.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(qs),["fcp","fp","lcp"].forEach((e=>{if(!qs[e]||!o||n>=o)return;const t=qs[e].value,r=n+zs(t),i=Math.abs(1e3*(r-o)),a=i-t;Pt&&D.vF.log(`[Measurements] Normalized ${e} from ${t} to ${i} (${a})`),qs[e].value=i}));const t=qs["mark.fid"];t&&qs.fid&&(Fs(e,{description:"first input delay",endTimestamp:t.value+zs(qs.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete qs["mark.fid"]),"fcp"in qs||delete qs.cls,Object.keys(qs).forEach((e=>{(0,k.X)(e,qs[e].value,qs[e].unit)})),function(e){Us&&(Pt&&D.vF.log("[Measurements] Adding LCP Data"),Us.element&&e.setTag("lcp.element",(0,Ae.Hd)(Us.element)),Us.id&&e.setTag("lcp.id",Us.id),Us.url&&e.setTag("lcp.url",Us.url.trim().slice(0,200)),e.setTag("lcp.size",Us.size)),Hs&&Hs.sources&&(Pt&&D.vF.log("[Measurements] Adding CLS Data"),Hs.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,(0,Ae.Hd)(t.node)))))}(e)}Us=void 0,Hs=void 0,qs={}}function Xs(e,t,n,r,i,o){const a=o?t[o]:t[`${n}End`],s=t[`${n}Start`];s&&a&&Fs(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+zs(s),endTimestamp:r+zs(a)})}function Qs(e,t,n,r){const i=t[n];null!=i&&i<Bs&&(e[r]=i)}var el=n(35774),tl=n(90670);const nl=["localhost",/^\/(?!\/)/],rl={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:nl,tracePropagationTargets:nl};function il(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:s}={traceFetch:rl.traceFetch,traceXHR:rl.traceXHR,...e},l="function"==typeof o?o:e=>!0,c=e=>function(e,t){return(0,Le.Xr)(e,t||nl)}(e,r||i),f={};t&&(0,Pe.u)((e=>{const t=function(e,t,n,r,i="auto.http.browser"){if(!(0,Ds.w)()||!e.fetchData)return;const o=t(e.fetchData.url);if(e.endTimestamp&&o){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(function(e,t){if(t.response){(0,_.N8)(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus("internal_error");e.end()}(n,e),delete r[t]))}const s=(0,d.o5)(),l=(0,d.KU)(),{method:c,url:f}=e.fetchData,p=function(e){try{return new URL(e).href}catch(e){return}}(f),h=p?(0,Ie.Dl)(p).host:void 0,m=o?(0,v.Uk)({name:`${c} ${f}`,onlyIfParent:!0,attributes:{url:f,type:"fetch","http.method":c,"http.url":p,"server.address":h,[u.JD]:i},op:"http.client"}):void 0;if(m&&(e.fetchData.__span=m.spanContext().spanId,r[m.spanContext().spanId]=m),n(e.fetchData.url)&&l){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,i){const o=i||n.getSpan(),s=(0,a.rm)(),{traceId:l,spanId:c,sampled:u,dsc:f}={...s.getPropagationContext(),...n.getPropagationContext()},d=o?(0,kt.Qh)(o):(0,Ms.TC)(l,c,u),p=(0,tl.De)(f||(o?(0,el.k)(o):(0,el.l)(l,t,n))),h=r.headers||("undefined"!=typeof Request&&(0,B.tH)(e,Request)?e.headers:void 0);if(h){if("undefined"!=typeof Headers&&(0,B.tH)(h,Headers)){const e=new Headers(h);return e.append("sentry-trace",d),p&&e.append(tl.hF,p),e}if(Array.isArray(h)){const e=[...h,["sentry-trace",d]];return p&&e.push([tl.hF,p]),e}{const e="baggage"in h?h.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),p&&t.push(p),{...h,"sentry-trace":d,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":d,baggage:p}}(t,l,s,n,m)}return m}(e,l,c,f);if(t){const n=sl(e.fetchData.url),r=n?(0,Ie.Dl)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}s&&t&&ol(t)})),n&&(0,Te.Mn)((e=>{const t=function(e,t,n,r){const i=e.xhr,o=i&&i[Te.Er];if(!(0,Ds.w)()||!i||i.__sentry_own_request__||!o)return;const s=t(o.url);if(e.endTimestamp&&s){const e=i.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==o.status_code&&((0,_.N8)(t,o.status_code),t.end(),delete r[e]))}const l=(0,d.o5)(),c=(0,a.rm)(),f=sl(o.url),p=f?(0,Ie.Dl)(f).host:void 0,h=s?(0,v.Uk)({name:`${o.method} ${o.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":o.method,"http.url":f,url:o.url,"server.address":p,[u.JD]:"auto.http.browser"},op:"http.client"}):void 0;h&&(i.__sentry_xhr_span_id__=h.spanContext().spanId,r[i.__sentry_xhr_span_id__]=h);const m=(0,d.KU)();if(i.setRequestHeader&&n(o.url)&&m){const{traceId:e,spanId:t,sampled:n,dsc:r}={...c.getPropagationContext(),...l.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(tl.hF,n)}catch(e){}}(i,h?(0,kt.Qh)(h):(0,Ms.TC)(e,t,n),(0,tl.De)(r||(h?(0,el.k)(h):(0,el.l)(e,m,l))))}return h}(e,l,c,f);s&&t&&ol(t)}))}function ol(e){const{url:t}=(0,kt.et)(e).data||{};if(!t||"string"!=typeof t)return;const n=fn("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){const t=function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),Ct.k3?[...r,["http.request.redirect_start",al(e.redirectStart)],["http.request.fetch_start",al(e.fetchStart)],["http.request.domain_lookup_start",al(e.domainLookupStart)],["http.request.domain_lookup_end",al(e.domainLookupEnd)],["http.request.connect_start",al(e.connectStart)],["http.request.secure_connection_start",al(e.secureConnectionStart)],["http.request.connection_end",al(e.connectEnd)],["http.request.request_start",al(e.requestStart)],["http.request.response_start",al(e.responseStart)],["http.request.response_end",al(e.responseEnd)]]:r}(r);t.forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function al(e=0){return((Ct.k3||performance.timeOrigin)+e)/1e3}function sl(e){try{return new URL(e,Mt.location.origin).href}catch(e){return}}const ll={...As.Cq,markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,n=!0){if(!Mt||!Mt.location)return void(Pt&&D.vF.warn("Could not initialize routing instrumentation due to invalid location"));let r,i=Mt.location.href;t&&(r=e({name:Mt.location.pathname,startTimestamp:Ct.k3?Ct.k3/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&(0,ke._)((({to:t,from:n})=>{void 0===n&&i&&-1!==i.indexOf(t)?i=void 0:n!==t&&(i=void 0,r&&(Pt&&D.vF.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.end()),r=e({name:Mt.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...rl};class cl{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,(0,g.U)(),Pt&&(this._hasSetTracePropagationTargets=!(!e||!e.tracePropagationTargets&&!e.tracingOrigins)),this.options={...ll,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=Vs(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&Ys(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&Ks(),this.options._experiments.enableInteractions&&Gs(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;const n=t().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:a,markBackgroundTransactions:s,traceFetch:l,traceXHR:c,shouldCreateSpanForRequest:u,enableHTTPTimings:f,_experiments:d}=this.options,p=r&&r.tracePropagationTargets,h=p||this.options.tracePropagationTargets;Pt&&this._hasSetTracePropagationTargets&&p&&D.vF.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),i((e=>{const n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n}),a,o),s&&Ls(),d.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),il({traceFetch:l,traceXHR:c,tracePropagationTargets:h,shouldCreateSpanForRequest:u,enableHTTPTimings:f})}_createRouteTransaction(e){if(!this._getCurrentHub)return void(Pt&&D.vF.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`));const t=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=this.options,a="pageload"===e.op;let s;if(a){const t=a?ul("sentry-trace"):"",n=a?ul("baggage"):void 0,{traceId:r,dsc:i,parentSpanId:o,sampled:l}=(0,Ms.kM)(t,n);s={traceId:r,parentSpanId:o,parentSampled:l,...e,metadata:{...e.metadata,dynamicSamplingContext:i},trimEnd:!0}}else s={trimEnd:!0,...e};const l="function"==typeof n?n(s):s,c=void 0===l?{...s,sampled:!1}:l;c.metadata=c.name!==s.name?{...c.metadata,source:"custom"}:c.metadata,this._latestRoute.name=c.name,this._latestRoute.context=c,!1===c.sampled&&Pt&&D.vF.log(`[Tracing] Will not send ${c.op} transaction because of beforeNavigate.`),Pt&&D.vF.log(`[Tracing] Starting ${c.op} transaction on scope`);const{location:u}=Mt,f=(0,g.p)(t,c,r,i,!0,{location:u},o,a);return a&&Mt.document&&(Mt.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(Mt.document.readyState)&&f.sendAutoFinishSignal()})),["interactive","complete"].includes(Mt.document.readyState)&&f.sendAutoFinishSignal()),f.registerBeforeFinishCallback((e=>{this._collectWebVitals(),Zs(e)})),f}_registerInteractionListener(){let e;const t=()=>{const{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,i="ui.action.click",o=(0,b.Z7)();if(o&&o.op&&["navigation","pageload"].includes(o.op))return void(Pt&&D.vF.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`));if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub)return void(Pt&&D.vF.warn(`[Tracing] Did not create ${i} transaction because _getCurrentHub is invalid.`));if(!this._latestRoute.name)return void(Pt&&D.vF.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`));const a=this._getCurrentHub(),{location:s}=Mt,l={name:this._latestRoute.name,op:i,trimEnd:!0,data:{[u.i_]:this._latestRoute.context?fl(this._latestRoute.context):"url"}};e=(0,g.p)(a,l,t,n,!0,{location:s},r)};["click"].forEach((e=>{Mt.document&&addEventListener(e,t,{once:!1,capture:!0})}))}_registerInpInteractionListener(){const e=({entries:e})=>{const t=(0,d.KU)(),n=void 0!==t&&void 0!==t.getIntegrationByName?t.getIntegrationByName("Replay"):void 0,r=void 0!==n?n.getReplayId():void 0,i=(0,b.Z7)(),o=(0,d.o5)(),a=void 0!==o?o.getUser():void 0;e.forEach((e=>{if(function(e){return"duration"in e}(e)){const t=e.interactionId;if(void 0===t)return;const n=this._interactionIdToRouteNameMapping[t],o=e.duration,s=e.startTime,l=Object.keys(this._interactionIdToRouteNameMapping),c=l.length>0?l.reduce(((e,t)=>this._interactionIdToRouteNameMapping[e].duration<this._interactionIdToRouteNameMapping[t].duration?e:t)):void 0;if("first-input"===e.entryType&&l.map((e=>this._interactionIdToRouteNameMapping[e])).some((e=>e.duration===o&&e.startTime===s)))return;if(!t)return;if(n)n.duration=Math.max(n.duration,o);else if(l.length<10||void 0===c||o>this._interactionIdToRouteNameMapping[c].duration){const e=this._latestRoute.name,n=this._latestRoute.context;e&&n&&(c&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[c],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:o,parentContext:n,user:a,activeTransaction:i,replayId:r,startTime:s})}}}))};fn("event",e),fn("first-input",e)}}function ul(e){const t=(0,Ae.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function fl(e){const t=e.attributes&&e.attributes[u.i_],n=e.data&&e.data[u.i_],r=e.metadata&&e.metadata.source;return t||n||r}const dl={...As.Cq,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...rl},pl=(e={})=>{const t=!(!Pt||!e.tracePropagationTargets&&!e.tracingOrigins);(0,g.U)(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);const n={...dl,...e},r=Vs(),i={};n.enableInp&&Ys(i,n.interactionsSampleRate),n.enableLongTask&&Ks(),n._experiments.enableInteractions&&Gs();const o={name:void 0,context:void 0};function s(e){const t=(0,a.BF)(),{beforeStartSpan:i,idleTimeout:s,finalTimeout:l,heartbeatInterval:c}=n,u="pageload"===e.op;let f;if(u){const t=u?gl("sentry-trace"):"",n=u?gl("baggage"):void 0,{traceId:r,dsc:i,parentSpanId:o,sampled:a}=(0,Ms.kM)(t,n);f={traceId:r,parentSpanId:o,parentSampled:a,...e,metadata:{...e.metadata,dynamicSamplingContext:i},trimEnd:!0}}else f={trimEnd:!0,...e};const d=i?i(f):f;d.metadata=d.name!==f.name?{...d.metadata,source:"custom"}:d.metadata,o.name=d.name,o.context=d,!1===d.sampled&&Pt&&D.vF.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),Pt&&D.vF.log(`[Tracing] Starting ${d.op} transaction on scope`);const{location:p}=Mt,h=(0,g.p)(t,d,s,l,!0,{location:p},c,u);return u&&Mt.document&&(Mt.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(Mt.document.readyState)&&h.sendAutoFinishSignal()})),["interactive","complete"].includes(Mt.document.readyState)&&h.sendAutoFinishSignal()),h.registerBeforeFinishCallback((e=>{r(),Zs(e)})),h}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){const r=e.getOptions(),{markBackgroundSpan:l,traceFetch:c,traceXHR:f,shouldCreateSpanForRequest:p,enableHTTPTimings:h,_experiments:m}=n,v=r&&r.tracePropagationTargets,y=v||n.tracePropagationTargets;let _;Pt&&t&&v&&D.vF.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let w=Mt.location&&Mt.location.href;if(e.on&&(e.on("startNavigationSpan",(e=>{_&&(Pt&&D.vF.log(`[Tracing] Finishing current transaction with op: ${(0,kt.et)(_).op}`),_.end()),_=s({op:"navigation",...e})})),e.on("startPageLoadSpan",(e=>{_&&(Pt&&D.vF.log(`[Tracing] Finishing current transaction with op: ${(0,kt.et)(_).op}`),_.end()),_=s({op:"pageload",...e})}))),n.instrumentPageLoad&&e.emit&&Mt.location){const t={name:Mt.location.pathname,startTimestamp:Ct.k3?Ct.k3/1e3:void 0,origin:"auto.pageload.browser",attributes:{[u.i_]:"url"}};hl(e,t)}n.instrumentNavigation&&e.emit&&Mt.location&&(0,ke._)((({to:t,from:n})=>{if(void 0===n&&w&&-1!==w.indexOf(t))w=void 0;else if(n!==t){w=void 0;const t={name:Mt.location.pathname,origin:"auto.navigation.browser",attributes:{[u.i_]:"url"}};ml(e,t)}})),l&&Ls(),m.enableInteractions&&function(e,t){let n;const r=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=e,s="ui.action.click",l=(0,b.Z7)();if(l&&l.op&&["navigation","pageload"].includes(l.op))return void(Pt&&D.vF.warn(`[Tracing] Did not create ${s} transaction because a pageload or navigation transaction is in progress.`));if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!t.name)return void(Pt&&D.vF.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`));const{location:c}=Mt,f={name:t.name,op:s,trimEnd:!0,data:{[u.i_]:t.context?yl(t.context):"url"}};n=(0,g.p)((0,a.BF)(),f,r,i,!0,{location:c},o)};["click"].forEach((e=>{Mt.document&&addEventListener(e,r,{once:!1,capture:!0})}))}(n,o),n.enableInp&&function(e,t){const n=({entries:n})=>{const r=(0,d.KU)(),i=void 0!==r&&void 0!==r.getIntegrationByName?r.getIntegrationByName("Replay"):void 0,o=void 0!==i?i.getReplayId():void 0,a=(0,b.Z7)(),s=(0,d.o5)(),l=void 0!==s?s.getUser():void 0;n.forEach((n=>{if(function(e){return"duration"in e}(n)){const r=n.interactionId;if(void 0===r)return;const i=e[r],s=n.duration,c=n.startTime,u=Object.keys(e),f=u.length>0?u.reduce(((t,n)=>e[t].duration<e[n].duration?t:n)):void 0;if("first-input"===n.entryType&&u.map((t=>e[t])).some((e=>e.duration===s&&e.startTime===c)))return;if(!r)return;if(i)i.duration=Math.max(i.duration,s);else if(u.length<vl||void 0===f||s>e[f].duration){const n=t.name,i=t.context;n&&i&&(f&&Object.keys(e).length>=vl&&delete e[f],e[r]={routeName:n,duration:s,parentContext:i,user:l,activeTransaction:a,replayId:o,startTime:c})}}}))};fn("event",n),fn("first-input",n)}(i,o),il({traceFetch:c,traceXHR:f,tracePropagationTargets:y,shouldCreateSpanForRequest:p,enableHTTPTimings:h})},options:n}};function hl(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);const n=(0,v.Bk)();return"pageload"===(n&&(0,kt.et)(n).op)?n:void 0}function ml(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);const n=(0,v.Bk)();return"navigation"===(n&&(0,kt.et)(n).op)?n:void 0}function gl(e){const t=(0,Ae.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}const vl=10;function yl(e){const t=e.attributes&&e.attributes[u.i_],n=e.data&&e.data[u.i_],r=e.metadata&&e.metadata.source;return t||n||r}var bl=n(74684);function _l(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function wl(e){return _l(e.getAllKeys())}function Sl(e){let t;function n(){return null==t&&(t=function(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=_l(n);return e=>r.then((n=>e(n.transaction(t,"readwrite").objectStore(t))))}(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async t=>{try{const r=await(0,X.bN)(t,e.textEncoder);await function(e,t,n){return e((e=>wl(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),_l(e.transaction)}))))}(n(),r,e.maxQueueSize||30)}catch(e){}},pop:async()=>{try{const t=await function(e){return e((e=>wl(e).then((t=>{if(0!==t.length)return _l(e.get(t[0])).then((n=>(e.delete(t[0]),_l(e.transaction).then((()=>n)))))}))))}(n());if(t)return(0,X.mE)(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function xl(e){return function(e){return t=>e({...t,createStore:Sl})}((0,bl.BP)(e))}var El=n(86809);const kl=1e6,Cl=String(0),Ol="main";let Tl="",Pl="",Al="",Ml=P.navigator&&P.navigator.userAgent||"",Ll="";const Il=P.navigator&&P.navigator.language||P.navigator&&P.navigator.languages&&P.navigator.languages[0]||"",Rl=P.navigator&&P.navigator.userAgentData;var Dl;function jl(e,t,n,r){if("transaction"!==r.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==n)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const i=function(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return"string"==typeof t&&32!==t.length&&F&&D.vF.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t?"":t}(r),o=function(e){return!("thread_metadata"in e)}(l=n)?function(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[Cl]:{name:Ol}}};if(!e.samples.length)return r;const i=e.samples[0].timestamp,o="number"==typeof performance.timeOrigin?performance.timeOrigin:Ct.k3||0,a=o-(Ct.k3||o);for(let o=0;o<e.samples.length;o++){const s=e.samples[o];if(void 0===s.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[o]={elapsed_since_start_ns:((s.timestamp+a-i)*kl).toFixed(0),stack_id:t,thread_id:Cl};continue}let l=e.stacks[s.stackId];const c=[];for(;l;){c.push(l.frameId);const t=e.frames[l.frameId];void 0===r.frames[l.frameId]&&(r.frames[l.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),l=void 0===l.parentId?void 0:e.stacks[l.parentId]}const u={elapsed_since_start_ns:((s.timestamp+a-i)*kl).toFixed(0),stack_id:n,thread_id:Cl};r.stacks[n]=c,r.samples[o]=u,n++}return r}(l):l,a=t||("number"==typeof r.start_timestamp?1e3*r.start_timestamp:Date.now()),s="number"==typeof r.timestamp?1e3*r.timestamp:Date.now();var l;return{event_id:e,timestamp:new Date(a).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||El.U,runtime:{name:"javascript",version:P.navigator.userAgent},os:{name:Tl,version:Pl,build_number:Ml},device:{locale:Il,model:Ll,manufacturer:Ml,architecture:Al,is_emulator:!1},debug_meta:{images:Bl(n.resources)},profile:o,transactions:[{name:r.transaction||"",id:r.event_id||(0,T.eJ)(),trace_id:i,active_thread_id:Cl,relative_start_ns:"0",relative_end_ns:(1e6*(s-a)).toFixed(0)}]}}function Nl(e){return"pageload"===e.op}"object"==typeof(Dl=Rl)&&null!==Dl&&"getHighEntropyValues"in Dl&&Rl.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((e=>{if(Tl=e.platform||"",Al=e.architecture||"",Ll=e.model||"",Pl=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];Ml=`${t.brand} ${t.version}`}})).catch((e=>{}));const Fl=new WeakMap;function Bl(e){const t=C.OW._sentryDebugIds;if(!t)return[];const n=(0,d.KU)(),r=n&&n.getOptions(),i=r&&r.stackParser;if(!i)return[];let o;const a=Fl.get(i);a?o=a:(o=new Map,Fl.set(i,o));const s=Object.keys(t).reduce(((e,n)=>{let r;const a=o.get(n);a?r=a:(r=i(n),o.set(n,r));for(let i=r.length-1;i>=0;i--){const o=r[i],a=o&&o.filename;if(o&&a){e[a]=t[n];break}}return e}),{}),l=[];for(const t of e)t&&s[t]&&l.push({type:"sourcemap",code_file:t,debug_id:s[t]});return l}let zl=!1;const $l=3e4;function Ul(e){if(zl)return F&&D.vF.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return F&&D.vF.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const t=(0,d.KU)(),n=t&&t.getOptions();if(!n)return F&&D.vF.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;return("number"!=typeof(i=r)&&"boolean"!=typeof i||"number"==typeof i&&isNaN(i)?(F&&D.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),0):!0===i||!1===i||!(i<0||i>1)||(F&&D.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${i}.`),0))?r?!!(!0===r||Math.random()<r)||(F&&D.vF.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(F&&D.vF.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(F&&D.vF.warn("[Profiling] Discarding profile because of invalid sample rate."),!1);var i}function Hl(e,t,n,r){return function(e){return e.samples.length<2?(F&&D.vF.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!e.frames.length||(F&&D.vF.log("[Profiling] Discarding profile because it contains no frames"),!1)}(n)?jl(e,t,n,r):null}const Wl=new Map;function ql(e){const t=Wl.get(e);return t&&Wl.delete(e),t}function Vl(e){return e?Ul(e)?Kl(e):e:(F&&D.vF.log("[Profiling] Transaction is undefined, skipping profiling"),e)}function Kl(e){let t;Nl(e)&&(t=1e3*(0,Ct.zf)());const n=function(){const e=P.Profiler;if("function"!=typeof e)return void(F&&D.vF.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."));const t=Math.floor($l/10);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){F&&(D.vF.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),D.vF.log("[Profiling] Disabling profiling for current user session.")),zl=!0}}();if(!n)return e;F&&D.vF.log(`[Profiling] started profiling transaction: ${(0,kt.et)(e).description}`);const r=(0,T.eJ)();async function i(){return e&&n?n.stop().then((t=>(o&&(P.clearTimeout(o),o=void 0),F&&D.vF.log(`[Profiling] stopped profiling of transaction: ${(0,kt.et)(e).description}`),t?(function(e,t){if(Wl.set(e,t),Wl.size>30){const e=Wl.keys().next().value;Wl.delete(e)}}(r,t),null):(F&&D.vF.log(`[Profiling] profiler returned null profile for: ${(0,kt.et)(e).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)))).catch((e=>(F&&D.vF.log("[Profiling] error while stopping profiler:",e),null))):null}let o=P.setTimeout((()=>{F&&D.vF.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,kt.et)(e).description),i()}),$l);const a=e.end.bind(e);return e.end=function(){return e?(i().then((()=>{e.setContext("profile",{profile_id:r,start_timestamp:t}),a()}),(()=>{a()})),e):a()},e}const Gl="BrowserProfiling",Yl=(0,m._C)((()=>({name:Gl,setupOnce(){},setup(e){const t=(0,d.o5)().getTransaction();t&&Nl(t)&&Ul(t)&&Kl(t),"function"==typeof e.on?(e.on("startTransaction",(e=>{Ul(e)&&Kl(e)})),e.on("beforeEnvelope",(e=>{if(!Wl.size)return;const t=function(e){const t=[];return(0,X.yH)(e,((e,n)=>{if("transaction"===n)for(let n=1;n<e.length;n++){const r=e[n];r&&r.contexts&&r.contexts.profile&&r.contexts.profile.profile_id&&t.push(e[n])}})),t}(e);if(!t.length)return;const n=[];for(const e of t){const t=e&&e.contexts,r=t&&t.profile&&t.profile.profile_id,i=t&&t.profile&&t.profile.start_timestamp;if("string"!=typeof r){F&&D.vF.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!r){F&&D.vF.log("[Profiling] cannot find profile for a transaction without a profile context");continue}t&&t.profile&&delete t.profile;const o=ql(r);if(!o){F&&D.vF.log(`[Profiling] Could not retrieve profile for transaction: ${r}`);continue}const a=Hl(r,i,o,e);a&&n.push(a)}!function(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n])}(e,n)}))):D.vF.warn("[Profiling] Client does not support hooks, profiling will be disabled")}}))),Jl=(0,m.F)(Gl,Yl);let Zl={};P.Sentry&&P.Sentry.Integrations&&(Zl=P.Sentry.Integrations);const Xl={...Zl,...i.Integrations,...r}},50456:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,k:()=>l});var r=n(81085),i=n(51965);const o="7";function a(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function s(e,t={}){const n="string"==typeof t?t:t.tunnel,i="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${a(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,r.u4)({sentry_key:e.publicKey,sentry_version:o,...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,i)}`}function l(e,t){const n=(0,i.AD)(e);if(!n)return"";const r=`${a(n)}embed/error-page/`;let o=`dsn=${(0,i.SB)(n)}`;for(const e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(o+=`&name=${encodeURIComponent(e.name)}`),e.email&&(o+=`&email=${encodeURIComponent(e.email)}`)}else o+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${o}`}},75062:(e,t,n)=>{"use strict";n.d(t,{V:()=>w,S:()=>E});var r=n(51965),i=n(4870),o=n(91666),a=n(53390),s=n(78336),l=n(40358),c=n(17402),u=n(50456),f=n(1626),d=n(57754),p=n(43827),h=n(65959),m=n(91234),g=n(24351);var v=n(51912),y=n(35774),b=n(19833);const _="Not capturing exception because it's already been captured.";class w{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,r.AD)(e.dsn):f.T&&i.vF.warn("No DSN provided, client will not send events."),this._dsn){const t=(0,u.Z)(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if((0,o.GR)(e))return void(f.T&&i.vF.log(_));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let i=n&&n.event_id;const o=(0,a.NF)(e)?e:String(e),s=(0,a.sO)(e)?this.eventFromMessage(o,t,n):this.eventFromException(e,n);return this._process(s.then((e=>this._captureEvent(e,n,r))).then((e=>{i=e}))),i}captureEvent(e,t,n){if(t&&t.originalException&&(0,o.GR)(t.originalException))return void(f.T&&i.vF.log(_));let r=t&&t.event_id;const a=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,a||n).then((e=>{r=e}))),r}captureSession(e){"string"!=typeof e.release?f.T&&i.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,v.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):(0,s.XW)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return f.T&&i.vF.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const t=this._integrations[e.name];(0,m.qm)(this,e,this._integrations),t||(0,m.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,d.V)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=(0,l.W3)(n,(0,l.bm)(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=(0,d.L)(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;f.T&&i.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}captureAggregateMetrics(e){f.T&&i.vF.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const t=function(e,t,n,i){const o={sent_at:(new Date).toISOString()};n&&n.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),i&&t&&(o.dsn=(0,r.SB)(t));const a=function(e){const t=(0,g.ik)(e);return[{type:"statsd",length:t.length},t]}(e);return(0,l.h4)(o,[a])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,m.P$)(this,e),(0,m.lc)(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,v.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new s.T2((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=(0,h.rm)()){const i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),(0,b.mG)(i,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!e.contexts||!e.contexts.trace)&&t){const{traceId:r,spanId:i,parentSpanId:o,dsc:a}=t;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...e.contexts};const s=a||(0,y.l)(r,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(f.T){const t=e;"log"===t.logLevel?i.vF.log(t.message):i.vF.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,o=x(e),l=S(e),u=e.type||"error",f=`before send for type \`${u}\``;if(l&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),(0,s.xg)(new c.U(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const d="replay_event"===u?"replay":u,p=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,p).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",d,e),new c.U("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;return S(t)&&r?r(t,n):x(t)&&i?i(t,n):t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,a.Qg)(e))return e.then((e=>{if(!(0,a.Qd)(e)&&null!==e)throw new c.U(n);return e}),(e=>{throw new c.U(`${t} rejected with ${e}`)}));if(!(0,a.Qd)(e)&&null!==e)throw new c.U(n);return e}(i,f)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",d,e),new c.U(`${f} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);const a=r.transaction_info;if(o&&a&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof c.U)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new c.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{f.T&&i.vF.error("Error while sending event:",e)}));f.T&&i.vF.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function S(e){return void 0===e.type}function x(e){return"transaction"===e.type}function E(e){const t=(0,p.KU)();t&&t.addEventProcessor&&t.addEventProcessor(e)}},86809:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r="production"},1626:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},57754:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,V:()=>a});var r=n(40358),i=n(51965);function o(e,t,n,o){const a=(0,r.Cj)(n),s={sent_at:(new Date).toISOString(),...a&&{sdk:a},...!!o&&t&&{dsn:(0,i.SB)(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,r.h4)(s,[l])}function a(e,t,n,i){const o=(0,r.Cj)(n),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const s=(0,r.n2)(e,o,i,t);delete e.sdkProcessingMetadata;const l=[{type:a},e];return(0,r.h4)(s,[l])}},56581:(e,t,n)=>{"use strict";n.d(t,{jB:()=>u,lG:()=>l,lb:()=>c});var r=n(2859),i=n(78336),o=n(4870),a=n(53390),s=n(1626);function l(){return(0,r.BY)("globalEventProcessors",(()=>[]))}function c(e){l().push(e)}function u(e,t,n,r=0){return new i.T2(((i,l)=>{const c=e[r];if(null===t||"function"!=typeof c)i(t);else{const f=c({...t},n);s.T&&c.id&&null===f&&o.vF.log(`Event processor "${c.id}" dropped event`),(0,a.Qg)(f)?f.then((t=>u(e,t,n,r+1).then(i))).then(null,l):u(e,f,n,r+1).then(i).then(null,l)}}))}},43827:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>p,Dp:()=>R,J0:()=>j,J5:()=>B,KU:()=>I,NA:()=>S,PN:()=>g,Q:()=>L,SE:()=>T,T$:()=>P,VN:()=>M,Wt:()=>w,ZQ:()=>v,bX:()=>A,cx:()=>b,gV:()=>x,hb:()=>C,ky:()=>N,l7:()=>_,nb:()=>O,o:()=>y,o5:()=>D,r:()=>m,rB:()=>k,v4:()=>E,wd:()=>h});var r=n(4870),i=n(91666),o=n(3771),a=n(53390),s=n(2859),l=n(86809),c=n(1626),u=n(65959),f=n(51912),d=n(19833);function p(e,t){return(0,u.BF)().captureException(e,(0,d.li)(t))}function h(e,t){const n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return(0,u.BF)().captureMessage(e,n,r)}function m(e,t){return(0,u.BF)().captureEvent(e,t)}function g(e){(0,u.BF)().configureScope(e)}function v(e,t){(0,u.BF)().addBreadcrumb(e,t)}function y(e,t){(0,u.BF)().setContext(e,t)}function b(e){(0,u.BF)().setExtras(e)}function _(e,t){(0,u.BF)().setExtra(e,t)}function w(e){(0,u.BF)().setTags(e)}function S(e,t){(0,u.BF)().setTag(e,t)}function x(e){(0,u.BF)().setUser(e)}function E(...e){const t=(0,u.BF)();if(2===e.length){const[n,r]=e;return n?t.withScope((()=>(t.getStackTop().scope=n,r(n)))):t.withScope(r)}return t.withScope(e[0])}function k(e){return(0,u.fx)((()=>e((0,u.rm)())))}function C(e,t){return E((n=>(n.setSpan(e),t(n))))}function O(e,t){return(0,u.BF)().startTransaction({...e},t)}function T(e,t){const n=D(),o=I();if(o){if(o.captureCheckIn)return o.captureCheckIn(e,t,n);c.T&&r.vF.warn("Cannot capture check-in. Client does not support sending check-ins.")}else c.T&&r.vF.warn("Cannot capture check-in. No client defined.");return(0,i.eJ)()}function P(e,t,n){const r=T({monitorSlug:e,status:"in_progress"},n),i=(0,o.zf)();function s(t){T({monitorSlug:e,status:t,checkInId:r,duration:(0,o.zf)()-i})}let l;try{l=t()}catch(e){throw s("error"),e}return(0,a.Qg)(l)?Promise.resolve(l).then((()=>{s("ok")}),(()=>{s("error")})):s("ok"),l}async function A(e){const t=I();return t?t.flush(e):(c.T&&r.vF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function M(e){const t=I();return t?t.close(e):(c.T&&r.vF.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function L(){return(0,u.BF)().lastEventId()}function I(){return(0,u.BF)().getClient()}function R(){return!!I()}function D(){return(0,u.BF)().getScope()}function j(e){const t=I(),n=(0,u.rm)(),r=D(),{release:i,environment:o=l.U}=t&&t.getOptions()||{},{userAgent:a}=s.OW.navigator||{},c=(0,f.fj)({release:i,environment:o,user:r.getUser()||n.getUser(),...a&&{userAgent:a},...e}),d=n.getSession();return d&&"ok"===d.status&&(0,f.qO)(d,{status:"exited"}),N(),n.setSession(c),r.setSession(c),c}function N(){const e=(0,u.rm)(),t=D(),n=t.getSession()||e.getSession();n&&(0,f.Vu)(n),F(),e.setSession(),t.setSession()}function F(){const e=(0,u.rm)(),t=D(),n=I(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function B(e=!1){e?N():F()}},65959:(e,t,n)=>{"use strict";n.d(t,{BF:()=>y,EU:()=>g,Me:()=>k,TF:()=>w,YZ:()=>m,fx:()=>x,gM:()=>v,lq:()=>C,nX:()=>S,rm:()=>b});var r=n(53390),i=n(91666),o=n(3771),a=n(4870),s=n(2859),l=n(86809),c=n(1626),u=n(6036),f=n(51912),d=n(60072);const p=parseFloat(d.M),h=100;class m{constructor(e,t,n,r=p){let i,o;this._version=r,t?i=t:(i=new u.HG,i.setClient(e)),n?o=n:(o=new u.HG,o.setClient(e)),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=o}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(e){throw this.popScope(),e}return(0,r.Qg)(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,i.eJ)(),r=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,i.eJ)(),o=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r}),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,i.eJ)();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:s=h}=r.getOptions&&r.getOptions()||{};if(s<=0)return;const l={timestamp:(0,o.lu)(),...e},c=i?(0,a.pq)((()=>i(l,t))):l;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),n.addBreadcrumb(c,s))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=v(this);try{e(this)}finally{v(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return c.T&&a.vF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);return c.T&&!n&&(this.getClient()?a.vF.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):a.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&(0,f.Vu)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=l.U}=n&&n.getOptions()||{},{userAgent:o}=s.OW.navigator||{},a=(0,f.fj)({release:r,environment:i,user:t.getUser(),...o&&{userAgent:o},...e}),c=t.getSession&&t.getSession();return c&&"ok"===c.status&&(0,f.qO)(c,{status:"exited"}),this.endSession(),t.setSession(a),a}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=g().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);c.T&&a.vF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function g(){return s.OW.__SENTRY__=s.OW.__SENTRY__||{extensions:{},hub:void 0},s.OW}function v(e){const t=g(),n=k(t);return C(t,e),n}function y(){const e=g();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return _(e)}function b(){return y().getIsolationScope()}function _(e=g()){return E(e)&&!k(e).isOlderThan(p)||C(e,new m),k(e)}function w(e,t=_()){if(!E(e)||k(e).isOlderThan(p)){const n=t.getClient(),r=t.getScope(),i=t.getIsolationScope();C(e,new m(n,r.clone(),i.clone()))}}function S(e){const t=g();t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.acs=e}function x(e,t={}){const n=g();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function E(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function k(e){return(0,s.BY)("hub",(()=>new m),e)}function C(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}},10219:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseClient:()=>E.V,DEFAULT_ENVIRONMENT:()=>ne.U,FunctionToString:()=>ue.$,Hub:()=>v.YZ,IdleTransaction:()=>o.zX,InboundFilters:()=>ce.H,Integrations:()=>ge,LinkedErrors:()=>he,ModuleMetadata:()=>re.Y,RequestData:()=>le,SDK_VERSION:()=>V.M,SEMANTIC_ATTRIBUTE_PROFILE_ID:()=>h.E1,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>h.uT,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>h.JD,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>h.sy,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>h.i_,Scope:()=>w.HG,ServerRuntimeClient:()=>$,SessionFlusher:()=>_,Span:()=>a.L,SpanStatus:()=>c.Fp,TRACING_DEFAULTS:()=>o.Cq,Transaction:()=>s.Z,addBreadcrumb:()=>g.ZQ,addEventProcessor:()=>E.S,addGlobalEventProcessor:()=>S.lb,addIntegration:()=>K.Q8,addTracingExtensions:()=>i.U,applyScopeDataToEvent:()=>G.e2,applySdkMetadata:()=>te.K,captureCheckIn:()=>g.SE,captureEvent:()=>g.r,captureException:()=>g.Cp,captureMessage:()=>g.wd,captureSession:()=>g.J5,close:()=>g.VN,closeSession:()=>y.Vu,configureScope:()=>g.PN,continueTrace:()=>u.V4,convertIntegrationFnToClass:()=>K.F,createCheckInEnvelope:()=>M,createEventEnvelope:()=>m.V,createSessionEnvelope:()=>m.L,createSpanEnvelope:()=>J.l,createTransport:()=>H.o,defineIntegration:()=>K._C,endSession:()=>g.ky,ensureHubOnCarrier:()=>v.TF,extractTraceparentData:()=>l.nc,flush:()=>g.bX,functionToStringIntegration:()=>ue.Z,getActiveSpan:()=>u.Bk,getActiveTransaction:()=>l.Z7,getClient:()=>g.KU,getCurrentHub:()=>v.BF,getCurrentScope:()=>g.o5,getDynamicSamplingContextFromClient:()=>f.l,getDynamicSamplingContextFromSpan:()=>f.k,getEnvelopeEndpointWithUrlEncodedAuth:()=>x.Z,getGlobalScope:()=>w.m6,getHubFromCarrier:()=>v.Me,getIntegrationsToSetup:()=>K.mH,getIsolationScope:()=>v.rm,getMainCarrier:()=>v.EU,getReportDialogEndpoint:()=>x.k,getRootSpan:()=>z.z,getSpanStatusFromHttpCode:()=>c.AJ,handleCallbackErrors:()=>Q.x,hasTracingEnabled:()=>Z.w,inboundFiltersIntegration:()=>ce.D,initAndBind:()=>U.J,isInitialized:()=>g.Dp,isSentryRequestUrl:()=>X.A,isValidSampleRate:()=>p.v,lastEventId:()=>g.Q,linkedErrorsIntegration:()=>pe,makeMain:()=>v.gM,makeMultiplexedTransport:()=>q.N,makeOfflineTransport:()=>W.BP,makeSession:()=>y.fj,mergeScopeData:()=>G.Rg,metrics:()=>me.qd,moduleMetadataIntegration:()=>re.Q,notifyEventProcessors:()=>S.jB,parameterize:()=>ee.y,prepareEvent:()=>Y.mG,requestDataIntegration:()=>se,runWithAsyncContext:()=>v.fx,setAsyncContextStrategy:()=>v.nX,setContext:()=>g.o,setCurrentClient:()=>U.B,setExtra:()=>g.l7,setExtras:()=>g.cx,setGlobalScope:()=>w.ik,setHttpStatus:()=>c.N8,setHubOnCarrier:()=>v.lq,setMeasurement:()=>d.X,setTag:()=>g.NA,setTags:()=>g.Wt,setUser:()=>g.gV,spanIsSampled:()=>B.pK,spanStatusfromHttpCode:()=>c.o6,spanToJSON:()=>B.et,spanToTraceContext:()=>B.kX,spanToTraceHeader:()=>B.Qh,startActiveSpan:()=>u.D7,startIdleTransaction:()=>i.p,startInactiveSpan:()=>u.Uk,startSession:()=>g.J0,startSpan:()=>u.Lk,startSpanManual:()=>u.nV,startTransaction:()=>g.nb,trace:()=>u.uP,updateSession:()=>y.qO,withActiveSpan:()=>g.hb,withIsolationScope:()=>g.rB,withMonitor:()=>g.T$,withScope:()=>g.v4});var r={};n.r(r),n.d(r,{FunctionToString:()=>ue.$,InboundFilters:()=>ce.H,LinkedErrors:()=>he});var i=n(86515),o=n(44887),a=n(21209),s=n(95261),l=n(4064),c=n(13927),u=n(47568),f=n(35774),d=n(9197),p=n(19436),h=n(10651),m=n(57754),g=n(43827),v=n(65959),y=n(51912),b=n(81085);class _{constructor(e,t){this._client=e,this.flushTimeout=60,this._pendingAggregates={},this._isEnabled=!0,this._intervalId=setInterval((()=>this.flush()),1e3*this.flushTimeout),this._intervalId.unref&&this._intervalId.unref(),this._sessionAttrs=t}flush(){const e=this.getSessionAggregates();0!==e.aggregates.length&&(this._pendingAggregates={},this._client.sendSession(e))}getSessionAggregates(){const e=Object.keys(this._pendingAggregates).map((e=>this._pendingAggregates[parseInt(e)])),t={attrs:this._sessionAttrs,aggregates:e};return(0,b.Ce)(t)}close(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()}incrementSessionStatusCount(){if(!this._isEnabled)return;const e=(0,g.o5)(),t=e.getRequestSession();t&&t.status&&(this._incrementSessionStatusCount(t.status,new Date),e.setRequestSession(void 0))}_incrementSessionStatusCount(e,t){const n=new Date(t).setSeconds(0,0);this._pendingAggregates[n]=this._pendingAggregates[n]||{};const r=this._pendingAggregates[n];switch(r.started||(r.started=new Date(n).toISOString()),e){case"errored":return r.errored=(r.errored||0)+1,r.errored;case"ok":return r.exited=(r.exited||0)+1,r.exited;default:return r.crashed=(r.crashed||0)+1,r.crashed}}}var w=n(6036),S=n(56581),x=n(50456),E=n(75062),k=n(78336),C=n(18161),O=n(4870),T=n(91666),P=n(51965),A=n(40358);function M(e,t,n,r,i){const o={sent_at:(new Date).toISOString()};n&&n.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=(0,P.SB)(i)),t&&(o.trace=(0,b.Ce)(t));const a=function(e){return[{type:"check_in"},e]}(e);return(0,A.h4)(o,[a])}var L=n(1626),I=n(3771),R=n(79487),D=n(38923),j=n(66017),N=n(24351);class F{constructor(e){this._client=e,this._buckets=new Map,this._bucketsTotalWeight=0,this._interval=setInterval((()=>this._flush()),R.TP),this._interval.unref&&this._interval.unref(),this._flushShift=Math.floor(Math.random()*R.TP/1e3),this._forceFlush=!1}add(e,t,n,r="none",i={},o=(0,I.zf)()){const a=Math.floor(o),s=(0,N.T3)(t),l=(0,N.VZ)(i),c=(0,N.Mz)(r),u=(0,N.eG)(e,s,c,l);let f=this._buckets.get(u);const d=f&&e===R.fN?f.metric.weight:0;f?(f.metric.add(n),f.timestamp<a&&(f.timestamp=a)):(f={metric:new D.wz[e](n),timestamp:a,metricType:e,name:s,unit:c,tags:l},this._buckets.set(u,f));const p="string"==typeof n?f.metric.weight-d:n;(0,j.r)(e,s,p,c,i,u),this._bucketsTotalWeight+=f.metric.weight,this._bucketsTotalWeight>=R.K3&&this.flush()}flush(){this._forceFlush=!0,this._flush()}close(){this._forceFlush=!0,clearInterval(this._interval),this._flush()}_flush(){if(this._forceFlush)return this._forceFlush=!1,this._bucketsTotalWeight=0,this._captureMetrics(this._buckets),void this._buckets.clear();const e=Math.floor((0,I.zf)())-R.TP/1e3-this._flushShift,t=new Map;for(const[n,r]of this._buckets)r.timestamp<=e&&(t.set(n,r),this._bucketsTotalWeight-=r.metric.weight);for(const[e]of t)this._buckets.delete(e);this._captureMetrics(t)}_captureMetrics(e){if(e.size>0&&this._client.captureAggregateMetrics){const t=Array.from(e).map((([,e])=>e));this._client.captureAggregateMetrics(t)}}}var B=n(53075),z=n(13030);class $ extends E.V{constructor(e){(0,i.U)(),super(e),e._experiments&&e._experiments.metricsAggregator&&(this.metricsAggregator=new F(this))}eventFromException(e,t){return(0,k.XW)((0,C.H7)((0,g.KU)(),this._options.stackParser,e,t))}eventFromMessage(e,t="info",n){return(0,k.XW)((0,C.qv)(this._options.stackParser,e,t,n,this._options.attachStacktrace))}captureException(e,t,n){if(this._options.autoSessionTracking&&this._sessionFlusher&&n){const e=n.getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureException(e,t,n)}captureEvent(e,t,n){if(this._options.autoSessionTracking&&this._sessionFlusher&&n&&"exception"===(e.type||"exception")&&e.exception&&e.exception.values&&e.exception.values.length>0){const e=n.getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureEvent(e,t,n)}close(e){return this._sessionFlusher&&this._sessionFlusher.close(),super.close(e)}initSessionFlusher(){const{release:e,environment:t}=this._options;e?this._sessionFlusher=new _(this,{release:e,environment:t}):L.T&&O.vF.warn("Cannot initialise an instance of SessionFlusher if no release is provided!")}captureCheckIn(e,t,n){const r="checkInId"in e&&e.checkInId?e.checkInId:(0,T.eJ)();if(!this._isEnabled())return L.T&&O.vF.warn("SDK not enabled, will not capture checkin."),r;const i=this.getOptions(),{release:o,environment:a,tunnel:s}=i,l={check_in_id:r,monitor_slug:e.monitorSlug,status:e.status,release:o,environment:a};"duration"in e&&(l.duration=e.duration),t&&(l.monitor_config={schedule:t.schedule,checkin_margin:t.checkinMargin,max_runtime:t.maxRuntime,timezone:t.timezone});const[c,u]=this._getTraceInfoFromScope(n);u&&(l.contexts={trace:u});const f=M(l,c,this.getSdkMetadata(),s,this.getDsn());return L.T&&O.vF.info("Sending checkin:",e.monitorSlug,e.status),this._sendEnvelope(f),r}_captureRequestSession(){this._sessionFlusher?this._sessionFlusher.incrementSessionStatusCount():L.T&&O.vF.warn("Discarded request mode session because autoSessionTracking option was disabled")}_prepareEvent(e,t,n,r){return this._options.platform&&(e.platform=e.platform||this._options.platform),this._options.runtime&&(e.contexts={...e.contexts,runtime:(e.contexts||{}).runtime||this._options.runtime}),this._options.serverName&&(e.server_name=e.server_name||this._options.serverName),super._prepareEvent(e,t,n,r)}_getTraceInfoFromScope(e){if(!e)return[void 0,void 0];const t=e.getSpan();if(t)return[(0,z.z)(t)?(0,f.k)(t):void 0,(0,B.kX)(t)];const{traceId:n,spanId:r,parentSpanId:i,dsc:o}=e.getPropagationContext(),a={trace_id:n,span_id:r,parent_span_id:i};return o?[o,a]:[(0,f.l)(n,this,e),a]}}var U=n(63236),H=n(74606),W=n(74684),q=n(55902),V=n(60072),K=n(91234),G=n(6833),Y=n(19833),J=n(72254),Z=n(77157),X=n(53545),Q=n(77590),ee=n(49855),te=n(83843),ne=n(86809),re=n(29065),ie=n(12471);const oe={include:{cookies:!0,data:!0,headers:!0,ip:!1,query_string:!0,url:!0,user:{id:!0,username:!0,email:!0}},transactionNamingScheme:"methodPath"},ae="RequestData",se=(0,K._C)(((e={})=>{const t=ie.GY,n={...oe,...e,include:{method:!0,...oe.include,...e.include,user:e.include&&"boolean"==typeof e.include.user?e.include.user:{...oe.include.user,...(e.include||{}).user}}};return{name:ae,setupOnce(){},processEvent(e,r,i){const{transactionNamingScheme:o}=n,{sdkProcessingMetadata:a={}}=e,s=a.request;if(!s)return e;const l=a.requestDataOptionsFromExpressHandler||a.requestDataOptionsFromGCPWrapper||function(e){const{transactionNamingScheme:t,include:{ip:n,user:r,...i}}=e,o=[];for(const[e,t]of Object.entries(i))t&&o.push(e);let a;if(void 0===r)a=!0;else if("boolean"==typeof r)a=r;else{const e=[];for(const[t,n]of Object.entries(r))n&&e.push(t);a=e}return{include:{ip:n,user:a,request:0!==o.length?o:void 0,transaction:t}}}(n),c=t(e,s,l);if("transaction"===e.type||"handler"===o)return c;const u=s._sentryTransaction;if(u){const e=(0,B.et)(u).description||"",t="sentry.javascript.nextjs"===function(e){try{return e.getOptions()._metadata.sdk.name}catch(e){return}}(i)?e.startsWith("/api"):"path"!==o,[n]=(0,ie.Up)(s,{path:!0,method:t,customRoute:e});c.transaction=n}return c}}})),le=(0,K.F)(ae,se);var ce=n(32800),ue=n(80972),fe=n(27931);const de="LinkedErrors",pe=(0,K._C)(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:de,setupOnce(){},preprocessEvent(e,r,i){const o=i.getOptions();(0,fe.Q)(C.K8,o.stackParser,o.maxValueLength,n,t,e,r)}}})),he=(0,K.F)(de,pe);var me=n(89573);const ge=r},91234:(e,t,n)=>{"use strict";n.d(t,{F:()=>m,P$:()=>f,Q8:()=>h,_C:()=>g,lc:()=>d,mH:()=>u,qm:()=>p});var r=n(91666),i=n(4870),o=n(1626),a=n(56581),s=n(43827),l=n(65959);const c=[];function u(e){const t=e.defaultIntegrations||[],n=e.integrations;let i;t.forEach((e=>{e.isDefaultInstance=!0})),i=Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,r.k9)(n(t)):t;const o=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(i),a=function(e,t){for(let t=0;t<e.length;t++)if(!0==("Debug"===e[t].name))return t;return-1}(o);if(-1!==a){const[e]=o.splice(a,1);o.push(e)}return o}function f(e,t){const n={};return t.forEach((t=>{t&&p(e,t,n)})),n}function d(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function p(e,t,n){if(n[t.name])o.T&&i.vF.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===c.indexOf(t.name)&&(t.setupOnce(a.lb,l.BF),c.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),e.on&&"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}o.T&&i.vF.log(`Integration installed: ${t.name}`)}}function h(e){const t=(0,s.KU)();t&&t.addIntegration?t.addIntegration(e):o.T&&i.vF.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`)}function m(e,t){return Object.assign((function(...e){return t(...e)}),{id:e})}function g(e){return e}},80972:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,Z:()=>c});var r=n(81085),i=n(43827),o=n(91234);let a;const s="FunctionToString",l=new WeakMap,c=(0,o._C)((()=>({name:s,setupOnce(){a=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,r.sp)(this),n=l.has((0,i.KU)())&&void 0!==t?t:this;return a.apply(n,e)}}catch(e){}},setup(e){l.set(e,!0)}}))),u=(0,o.F)(s,c)},32800:(e,t,n)=>{"use strict";n.d(t,{D:()=>f,H:()=>d});var r=n(4870),i=n(91666),o=n(58647),a=n(1626),s=n(91234);const l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],c=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],u="InboundFilters",f=(0,s._C)(((e={})=>({name:u,setupOnce(){},processEvent(t,n,s){const u=s.getOptions(),f=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:l],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:c],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,u);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(a.T&&r.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,i.$X)(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];let n;e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),a.T&&0===t.length&&r.vF.error(`Could not extract message for event ${(0,i.$X)(e)}`),t}(e).some((e=>(0,o.Xr)(e,t)))}(e,t.ignoreErrors)?(a.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,i.$X)(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,o.Xr)(n,t)}(e,t.ignoreTransactions)?(a.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,i.$X)(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=p(e);return!!n&&(0,o.Xr)(n,t)}(e,t.denyUrls)?(a.T&&r.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,i.$X)(e)}.\nUrl: ${p(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=p(e);return!n||(0,o.Xr)(n,t)}(e,t.allowUrls)&&(a.T&&r.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,i.$X)(e)}.\nUrl: ${p(e)}`),!0)}(t,f)?null:t}}))),d=(0,s.F)(u,f);function p(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return a.T&&r.vF.error(`Cannot extract url for event ${(0,i.$X)(e)}`),null}}},29065:(e,t,n)=>{"use strict";n.d(t,{Y:()=>f,Q:()=>u});var r=n(40358),i=n(91234),o=n(2859);const a=new Map,s=new Set;function l(e,t){return function(e){if(o.OW._sentryModuleMetadata)for(const t of Object.keys(o.OW._sentryModuleMetadata)){const n=o.OW._sentryModuleMetadata[t];if(s.has(t))continue;s.add(t);const r=e(t);for(const e of r.reverse())if(e.filename){a.set(e.filename,n);break}}}(e),a.get(t)}const c="ModuleMetadata",u=(0,i._C)((()=>({name:c,setupOnce(){},setup(e){"function"==typeof e.on&&e.on("beforeEnvelope",(e=>{(0,r.yH)(e,((e,t)=>{if("event"===t){const t=Array.isArray(e)?e[1]:void 0;t&&(function(e){try{e.exception.values.forEach((e=>{if(e.stacktrace)for(const t of e.stacktrace.frames||[])delete t.module_metadata}))}catch(e){}}(t),e[1]=t)}}))}))},processEvent:(e,t,n)=>(function(e,t){try{t.exception.values.forEach((t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[]){if(!n.filename)continue;const t=l(e,n.filename);t&&(n.module_metadata=t)}}))}catch(e){}}(n.getOptions().stackParser,e),e)}))),f=(0,i.F)(c,u)},79487:(e,t,n)=>{"use strict";n.d(t,{K3:()=>c,TP:()=>l,bD:()=>r,co:()=>i,fN:()=>o,vR:()=>a,yQ:()=>s});const r="c",i="g",o="s",a="d",s=5e3,l=1e4,c=1e4},89573:(e,t,n)=>{"use strict";n.d(t,{qd:()=>v});var r=n(4870),i=n(1626),o=n(43827),a=n(53075),s=n(79487),l=n(91234),c=n(3771),u=n(38923),f=n(66017),d=n(24351);class p{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval((()=>this.flush()),s.yQ)}add(e,t,n,r="none",i={},o=(0,c.zf)()){const a=Math.floor(o),l=(0,d.T3)(t),p=(0,d.VZ)(i),h=(0,d.Mz)(r),m=(0,d.eG)(e,l,h,p);let g=this._buckets.get(m);const v=g&&e===s.fN?g.metric.weight:0;g?(g.metric.add(n),g.timestamp<a&&(g.timestamp=a)):(g={metric:new u.wz[e](n),timestamp:a,metricType:e,name:l,unit:h,tags:p},this._buckets.set(m,g));const y="string"==typeof n?g.metric.weight-v:n;(0,f.r)(e,l,y,h,i,m)}flush(){if(0!==this._buckets.size){if(this._client.captureAggregateMetrics){const e=Array.from(this._buckets).map((([,e])=>e));this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}const h="MetricsAggregator",m=(0,l._C)((()=>({name:h,setupOnce(){},setup(e){e.metricsAggregator=new p(e)}})));function g(e,t,n,s={}){const l=(0,o.KU)(),c=(0,o.o5)();if(l){if(!l.metricsAggregator)return void(i.T&&r.vF.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs"));const{unit:o,tags:u,timestamp:f}=s,{release:d,environment:p}=l.getOptions(),h=c.getTransaction(),m={};d&&(m.release=d),p&&(m.environment=p),h&&(m.transaction=(0,a.et)(h).description||""),i.T&&r.vF.log(`Adding value of ${n} to ${e} metric ${t}`),l.metricsAggregator.add(e,t,n,o,{...m,...u},f)}}const v={increment:function(e,t=1,n){g(s.bD,e,t,n)},distribution:function(e,t,n){g(s.vR,e,t,n)},set:function(e,t,n){g(s.fN,e,t,n)},gauge:function(e,t,n){g(s.co,e,t,n)},MetricsAggregator:(0,l.F)(h,m),metricsAggregatorIntegration:m}},38923:(e,t,n)=>{"use strict";n.d(t,{wz:()=>o});var r=n(79487),i=n(24351);const o={[r.bD]:class{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}},[r.co]:class{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}},[r.vR]:class{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}},[r.fN]:class{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map((e=>"string"==typeof e?(0,i.tx)(e):e)).join(":")}}}},66017:(e,t,n)=>{"use strict";n.d(t,{g:()=>s,r:()=>l});var r=n(81085),i=n(47568);let o;function a(e){return o?o.get(e):void 0}function s(e){const t=a(e);if(!t)return;const n={};for(const[,[e,i]]of t)n[e]||(n[e]=[]),n[e].push((0,r.Ce)(i));return n}function l(e,t,n,r,s,l){const c=(0,i.Bk)();if(c){const i=a(c)||new Map,u=`${e}:${t}@${r}`,f=i.get(l);if(f){const[,e]=f;i.set(l,[u,{min:Math.min(e.min,n),max:Math.max(e.max,n),count:e.count+=1,sum:e.sum+=n,tags:e.tags}])}else i.set(l,[u,{min:n,max:n,count:1,sum:n,tags:s}]);o||(o=new WeakMap),o.set(c,i)}}},24351:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>s,T3:()=>l,VZ:()=>f,eG:()=>i,ik:()=>a,tx:()=>o});var r=n(81085);function i(e,t,n,i){return`${e}${t}${n}${Object.entries((0,r.Ce)(i)).sort(((e,t)=>e[0].localeCompare(t[0])))}`}function o(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t>>>0}function a(e){let t="";for(const n of e){const e=Object.entries(n.tags),r=e.length>0?`|#${e.map((([e,t])=>`${e}:${t}`)).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp}\n`}return t}function s(e){return e.replace(/[^\w]+/gi,"_")}function l(e){return e.replace(/[^\w\-.]+/gi,"_")}function c(e){return e.replace(/[^\w\-./]+/gi,"")}const u=[["\n","\\n"],["\r","\\r"],["\t","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function f(e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[c(r)]=(n=String(e[r]),[...n].reduce(((e,t)=>e+function(e){for(const[t,n]of u)if(e===t)return n;return e}(t)),"")));var n;return t}},6036:(e,t,n)=>{"use strict";n.d(t,{HG:()=>f,ik:()=>p,m6:()=>d});var r=n(53390),i=n(3771),o=n(91666),a=n(4870),s=n(56581),l=n(51912),c=n(6833);let u;class f{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=h()}static clone(e){return e?e.clone():new f}clone(){const e=new f;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&(0,l.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e;if(t instanceof f){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if((0,r.Qd)(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=h(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,i.lu)(),...e},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:i,_user:o,_level:a,_fingerprint:s,_eventProcessors:l,_propagationContext:c,_sdkProcessingMetadata:u,_transactionName:f,_span:d}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:i,user:o,level:a,fingerprint:s||[],eventProcessors:l,propagationContext:c,sdkProcessingMetadata:u,transactionName:f,span:d}}applyToEvent(e,t={},n=[]){(0,c.e2)(e,this.getScopeData());const r=[...n,...(0,s.lG)(),...this._eventProcessors];return(0,s.jB)(r,e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(a.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function d(){return u||(u=new f),u}function p(e){u=e}function h(){return{traceId:(0,o.eJ)(),spanId:(0,o.eJ)().substring(16)}}},63236:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,J:()=>s});var r=n(4870),i=n(1626),o=n(43827),a=n(65959);function s(e,t){!0===t.debug&&(i.T?r.vF.enable():(0,r.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),(0,o.o5)().update(t.initialScope);const n=new e(t);l(n),function(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}(n)}function l(e){const t=(0,a.BF)().getStackTop();t.client=e,t.scope.setClient(e)}},10651:(e,t,n)=>{"use strict";n.d(t,{E1:()=>s,JD:()=>a,i_:()=>r,sy:()=>i,uT:()=>o});const r="sentry.source",i="sentry.sample_rate",o="sentry.op",a="sentry.origin",s="profile_id"},51912:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>l,fj:()=>a,qO:()=>s});var r=n(3771),i=n(91666),o=n(81085);function a(e){const t=(0,r.zf)(),n={sid:(0,i.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,o.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&s(n,e),n}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,r.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,i.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function l(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},72254:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(51965),i=n(40358);function o(e,t){const n={sent_at:(new Date).toISOString()};t&&(n.dsn=(0,r.SB)(t));const o=e.map(a);return(0,i.h4)(n,o)}function a(e){return[{type:"span"},e]}},35774:(e,t,n)=>{"use strict";n.d(t,{k:()=>c,l:()=>l});var r=n(81085),i=n(86809),o=n(43827),a=n(13030),s=n(53075);function l(e,t,n){const o=t.getOptions(),{publicKey:a}=t.getDsn()||{},{segment:s}=n&&n.getUser()||{},l=(0,r.Ce)({environment:o.environment||i.U,release:o.release,user_segment:s,public_key:a,trace_id:e});return t.emit&&t.emit("createDsc",l),l}function c(e){const t=(0,o.KU)();if(!t)return{};const n=l((0,s.et)(e).trace_id||"",t,(0,o.o5)()),r=(0,a.z)(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:c,source:u}=r.metadata;null!=c&&(n.sample_rate=`${c}`);const f=(0,s.et)(r);return u&&"url"!==u&&(n.transaction=f.description),n.sampled=String((0,s.pK)(r)),t.emit&&t.emit("createDsc",n),n}},86515:(e,t,n)=>{"use strict";n.d(t,{U:()=>y,p:()=>v});var r=n(4870),i=n(1626),o=n(65959),a=n(53075),s=n(12775),l=n(7383),c=n(4064);let u=!1;function f(){const e=(0,c.Z7)();if(e){const t="internal_error";i.T&&r.vF.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}f.tag="sentry_tracingErrorCallback";var d=n(44887),p=n(19436),h=n(95261);function m(){const e=this.getScope().getSpan();return e?{"sentry-trace":(0,a.Qh)(e)}:{}}function g(e,t){const n=this.getClient(),o=n&&n.getOptions()||{},a=o.instrumenter||"sentry",s=e.instrumenter||"sentry";a!==s&&(i.T&&r.vF.error(`A transaction was started with instrumenter=\`${s}\`, but the SDK is configured with the \`${a}\` instrumenter.\nThe transaction will not be sampled. Please use the ${a} instrumentation to start transactions.`),e.sampled=!1);let l=new h.Z(e,this);return l=(0,p.T)(l,o,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),l.isRecording()&&l.initSpanRecorder(o._experiments&&o._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",l),l}function v(e,t,n,r,i,o,a,s=!1){const l=e.getClient(),c=l&&l.getOptions()||{};let u=new d.zX(t,e,n,r,a,i,s);return u=(0,p.T)(u,c,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...o}),u.isRecording()&&u.initSpanRecorder(c._experiments&&c._experiments.maxSpans),l&&l.emit&&l.emit("startTransaction",u),u}function y(){const e=(0,o.EU)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=g),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=m),u||(u=!0,(0,s.L)(f),(0,l.r)(f)))}},44887:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>c,zX:()=>d});var r=n(4870),i=n(3771),o=n(1626),a=n(53075),s=n(21209),l=n(95261);const c={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},u=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class f extends s.l{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){const t=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),t.apply(e,n)),void 0===(0,a.et)(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class d extends l.Z{constructor(e,t,n=c.idleTimeout,i=c.finalTimeout,a=c.heartbeatInterval,s=!1,l=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=s,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=u[4],this._autoFinishAllowed=!l,s&&(o.T&&r.vF.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),l||this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=u[3],this.end())}),this._finalTimeout)}end(e){const t=(0,a.cI)(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){o.T&&r.vF.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;(0,a.et)(e).timestamp||(e.setStatus("cancelled"),e.end(t),o.T&&r.vF.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const{start_timestamp:n,timestamp:i}=(0,a.et)(e),s=n&&n<t,l=(this._finalTimeout+this._idleTimeout)/1e3,c=i&&n&&i-n<l;if(o.T){const t=JSON.stringify(e,void 0,2);s?c||r.vF.log("[Tracing] discarding Span since it finished after Transaction final timeout",t):r.vF.log("[Tracing] discarding Span since it happened after Transaction was finished",t)}return s&&c})),o.T&&r.vF.log("[Tracing] flushing IdleTransaction")}else o.T&&r.vF.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new f(t,n,this.spanContext().spanId,e),o.T&&r.vF.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=u[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(o.T&&r.vF.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=u[1],this.end(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),o.T&&r.vF.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,o.T&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(o.T&&r.vF.log(`[Tracing] popActivity ${e}`),delete this.activities[e],o.T&&r.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=(0,i.zf)();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=u[5],this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(o.T&&r.vF.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=u[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){o.T&&r.vF.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}},9197:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(4064);function i(e,t,n){const i=(0,r.Z7)();i&&i.setMeasurement(e,t,n)}},19436:(e,t,n)=>{"use strict";n.d(t,{T:()=>c,v:()=>u});var r=n(4870),i=n(53390),o=n(1626),a=n(10651),s=n(77157),l=n(53075);function c(e,t,n){if(!(0,s.w)(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setAttribute(a.sy,Number(e.sampled)),e;let i;return"function"==typeof t.tracesSampler?(i=t.tracesSampler(n),e.setAttribute(a.sy,Number(i))):void 0!==n.parentSampled?i=n.parentSampled:void 0!==t.tracesSampleRate?(i=t.tracesSampleRate,e.setAttribute(a.sy,Number(i))):(i=1,e.setAttribute(a.sy,i)),u(i)?i?(e.sampled=Math.random()<i,e.sampled?(o.T&&r.vF.log(`[Tracing] starting ${e.op} transaction - ${(0,l.et)(e).description}`),e):(o.T&&r.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),e)):(o.T&&r.vF.log("[Tracing] Discarding transaction because "+("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(o.T&&r.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function u(e){return(0,i.yr)(e)||"number"!=typeof e&&"boolean"!=typeof e?(o.T&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!(e<0||e>1)||(o.T&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1)}},21209:(e,t,n)=>{"use strict";n.d(t,{L:()=>h,l:()=>p});var r=n(91666),i=n(3771),o=n(4870),a=n(81085),s=n(1626),l=n(66017),c=n(10651),u=n(13030),f=n(53075),d=n(13927);class p{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class h{constructor(e={}){this._traceId=e.traceId||(0,r.eJ)(),this._spanId=e.spanId||(0,r.eJ)().substring(16),this._startTime=e.startTimestamp||(0,i.zf)(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[c.JD]:e.origin||"manual",[c.uT]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[c.uT]}set op(e){this.setAttribute(c.uT,e)}get origin(){return this._attributes[c.JD]}set origin(e){this.setAttribute(c.JD,e)}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?f.aO:f.CC}}startChild(e){const t=new h({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);const n=(0,u.z)(this);if(t.transaction=n,s.T&&n){const r=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${(0,f.et)(t).description||"< unknown name >"}' (${n.spanContext().spanId}).`;o.vF.log(r),this._logMessage=r}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}setStatus(e){return this._status=e,this}setHttpStatus(e){return(0,d.N8)(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;const t=(0,u.z)(this);if(s.T&&t&&t.spanContext().spanId!==this._spanId){const e=this._logMessage;e&&o.vF.log(e.replace("Starting","Finishing"))}this._endTime=(0,f.cI)(e)}toTraceparent(){return(0,f.Qh)(this)}toContext(){return(0,a.Ce)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return(0,f.kX)(this)}getSpanJSON(){return(0,a.Ce)({data:this._getData(),description:this._name,op:this._attributes[c.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[c.JD],_metrics_summary:(0,l.g)(this),profile_id:this._attributes[c.E1],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:t}=this,n=Object.keys(e).length>0,r=Object.keys(t).length>0;if(n||r)return n&&r?{...e,...t}:n?e:t}}},13927:(e,t,n)=>{"use strict";var r;function i(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}n.d(t,{AJ:()=>i,Fp:()=>r,N8:()=>a,o6:()=>o}),function(e){e.Ok="ok",e.DeadlineExceeded="deadline_exceeded",e.Unauthenticated="unauthenticated",e.PermissionDenied="permission_denied",e.NotFound="not_found",e.ResourceExhausted="resource_exhausted",e.InvalidArgument="invalid_argument",e.Unimplemented="unimplemented",e.Unavailable="unavailable",e.InternalError="internal_error",e.UnknownError="unknown_error",e.Cancelled="cancelled",e.AlreadyExists="already_exists",e.FailedPrecondition="failed_precondition",e.Aborted="aborted",e.OutOfRange="out_of_range",e.DataLoss="data_loss"}(r||(r={}));const o=i;function a(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=i(t);"unknown_error"!==n&&e.setStatus(n)}},47568:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>y,D7:()=>m,Lb:()=>E,Lk:()=>h,Uk:()=>v,V4:()=>b,nV:()=>g,uP:()=>p});var r=n(3098),i=n(4870),o=n(81085),a=n(1626),s=n(65959),l=n(53075),c=n(35774),u=n(43827),f=n(77590),d=n(77157);function p(e,t,n=(()=>{}),r=(()=>{})){const i=(0,s.BF)(),o=(0,u.o5)(),a=o.getSpan(),l=w(e),c=_(i,{parentSpan:a,spanContext:l,forceTransaction:!1,scope:o});return o.setSpan(c),(0,f.x)((()=>t(c)),(e=>{c&&c.setStatus("internal_error"),n(e,c)}),(()=>{c&&c.end(),o.setSpan(a),r()}))}function h(e,t){const n=w(e);return(0,s.fx)((()=>(0,u.v4)(e.scope,(r=>{const i=(0,s.BF)(),o=r.getSpan(),a=e.onlyIfParent&&!o?void 0:_(i,{parentSpan:o,spanContext:n,forceTransaction:e.forceTransaction,scope:r});return(0,f.x)((()=>t(a)),(()=>{if(a){const{status:e}=(0,l.et)(a);e&&"ok"!==e||a.setStatus("internal_error")}}),(()=>a&&a.end()))}))))}const m=h;function g(e,t){const n=w(e);return(0,s.fx)((()=>(0,u.v4)(e.scope,(r=>{const i=(0,s.BF)(),o=r.getSpan(),a=e.onlyIfParent&&!o?void 0:_(i,{parentSpan:o,spanContext:n,forceTransaction:e.forceTransaction,scope:r});function c(){a&&a.end()}return(0,f.x)((()=>t(a,c)),(()=>{if(a&&a.isRecording()){const{status:e}=(0,l.et)(a);e&&"ok"!==e||a.setStatus("internal_error")}}))}))))}function v(e){if(!(0,d.w)())return;const t=w(e),n=(0,s.BF)(),r=e.scope?e.scope.getSpan():y();if(e.onlyIfParent&&!r)return;const i=(e.scope||(0,u.o5)()).clone();return _(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:i})}function y(){return(0,u.o5)().getSpan()}const b=({sentryTrace:e,baggage:t},n)=>{const l=(0,u.o5)(),{traceparentData:c,dynamicSamplingContext:f,propagationContext:d}=(0,r.E0)(e,t);l.setPropagationContext(d),a.T&&c&&i.vF.log(`[Tracing] Continuing trace ${c.traceId}.`);const p={...c,metadata:(0,o.Ce)({dynamicSamplingContext:f})};return n?(0,s.fx)((()=>n(p))):p};function _(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:i}){if(!(0,d.w)())return;const a=(0,s.rm)();let u;if(t&&!r)u=t.startChild(n);else if(t){const r=(0,c.k)(t),{traceId:i,spanId:o}=t.spanContext(),a=(0,l.pK)(t);u=e.startTransaction({traceId:i,parentSpanId:o,parentSampled:a,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}else{const{traceId:t,dsc:r,parentSpanId:o,sampled:s}={...a.getPropagationContext(),...i.getPropagationContext()};u=e.startTransaction({traceId:t,parentSpanId:o,parentSampled:s,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}return i.setSpan(u),function(e,t,n){e&&((0,o.my)(e,x,n),(0,o.my)(e,S,t))}(u,i,a),u}function w(e){if(e.startTime){const t={...e};return t.startTimestamp=(0,l.cI)(e.startTime),delete t.startTime,t}return e}const S="_sentryScope",x="_sentryIsolationScope";function E(e){return{scope:e[S],isolationScope:e[x]}}},95261:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(81085),i=n(4870),o=n(1626),a=n(65959),s=n(66017),l=n(10651),c=n(53075),u=n(35774),f=n(21209),d=n(47568);class p extends f.L{constructor(e,t){super(e),this._contexts={},this._hub=t||(0,a.BF)(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[l.i_]&&{source:this._attributes[l.i_]},...this._attributes[l.sy]&&{sampleRate:this._attributes[l.sy]}}}set metadata(e){this._metadata=e}setName(e,t="custom"){this._name=e,this.setAttribute(l.i_,t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new f.l(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){const t=(0,c.cI)(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){const e=super.toContext();return(0,r.Ce)({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return(0,u.k)(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(o.T&&i.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled)return o.T&&i.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&(0,c.et)(e).timestamp)):[];if(this._trimEnd&&n.length>0){const e=n.map((e=>(0,c.et)(e).timestamp)).filter(Boolean);this._endTime=e.reduce(((e,t)=>e>t?e:t))}const{scope:a,isolationScope:l}=(0,d.Lb)(this),{metadata:f}=this,{source:p}=f,h={contexts:{...this._contexts,trace:(0,c.kX)(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...f,capturedSpanScope:a,capturedSpanIsolationScope:l,...(0,r.Ce)({dynamicSamplingContext:(0,u.k)(this)})},_metrics_summary:(0,s.g)(this),...p&&{transaction_info:{source:p}}};return Object.keys(this._measurements).length>0&&(o.T&&i.vF.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),h.measurements=this._measurements),o.T&&i.vF.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),h}}},4064:(e,t,n)=>{"use strict";n.d(t,{Z7:()=>o,nc:()=>a});var r=n(3098),i=n(65959);function o(e){return(e||(0,i.BF)()).getScope().getTransaction()}const a=r.nc},74606:(e,t,n)=>{"use strict";n.d(t,{o:()=>f});var r=n(38731),i=n(40358),o=n(40413),a=n(78336),s=n(4870),l=n(17402),c=n(1626);const u=30;function f(e,t,n=(0,r.C)(e.bufferSize||u)){let f={};function p(r){const u=[];if((0,i.yH)(r,((t,n)=>{const r=(0,i.zk)(n);if((0,o.Jz)(f,r)){const i=d(t,n);e.recordDroppedEvent("ratelimit_backoff",r,i)}else u.push(t)})),0===u.length)return(0,a.XW)();const p=(0,i.h4)(r[0],u),h=t=>{(0,i.yH)(p,((n,r)=>{const o=d(n,r);e.recordDroppedEvent(t,(0,i.zk)(r),o)}))};return n.add((()=>t({body:(0,i.bN)(p,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&c.T&&s.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),f=(0,o.wq)(f,e),e)),(e=>{throw h("network_error"),e})))).then((e=>e),(e=>{if(e instanceof l.U)return c.T&&s.vF.error("Skipped sending event because buffer is full."),h("queue_overflow"),(0,a.XW)();throw e}))}return p.__sentry__baseTransport__=!0,{send:p,flush:e=>n.drain(e)}}function d(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}},55902:(e,t,n)=>{"use strict";n.d(t,{N:()=>s});var r=n(40358),i=n(51965),o=n(50456);function a(e,t){let n;return(0,r.yH)(e,((e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n))),n}function s(e,t){return n=>{const r=e(n),s={};function l(t,r){const l=r?`${t}:${r}`:t;if(!s[l]){const c=(0,i.hH)(t);if(!c)return;const u=(0,o.Z)(c);s[l]=r?function(e,t){return n=>{const r=e(n);return{send:async e=>{const n=a(e,["event","transaction","profile","replay_event"]);return n&&(n.release=t),r.send(e)},flush:e=>r.flush(e)}}}(e,r)({...n,url:u}):e({...n,url:u})}return s[l]}return{send:async function(e){const n=t({envelope:e,getEvent:function(t){const n=t&&t.length?t:["event"];return a(e,n)}}).map((e=>"string"==typeof e?l(e,void 0):l(e.dsn,e.release))).filter((e=>!!e));return 0===n.length&&n.push(r),(await Promise.all(n.map((t=>t.send(e)))))[0]},flush:async function(e){const t=[...Object.keys(s).map((e=>s[e])),r];return(await Promise.all(t.map((t=>t.flush(e))))).every((e=>e))}}}}},74684:(e,t,n)=>{"use strict";n.d(t,{BP:()=>f});var r=n(4870),i=n(40358),o=n(40413),a=n(1626);const s=100,l=5e3,c=36e5;function u(e,t){a.T&&r.vF.info(`[Offline]: ${e}`,t)}function f(e){return t=>{const n=e(t),r=t.createStore?t.createStore(t):void 0;let a,f=l;function d(e){r&&(a&&clearTimeout(a),a=setTimeout((async()=>{a=void 0;const e=await r.pop();e&&(u("Attempting to send previously queued event"),h(e).catch((e=>{u("Failed to retry sending",e)})))}),e),"number"!=typeof a&&a.unref&&a.unref())}function p(){a||(d(f),f=Math.min(2*f,c))}async function h(e){try{const t=await n.send(e);let r=s;if(t)if(t.headers&&t.headers["retry-after"])r=(0,o.FA)(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t;return d(r),f=l,t}catch(n){if(r&&await function(e,n,r){return!(0,i.hP)(e,["replay_event","replay_recording","client_report"])&&(!t.shouldStore||t.shouldStore(e,n,r))}(e,n,f))return await r.insert(e),p(),u("Error sending. Event queued",n),{};throw n}}return t.flushAtStartup&&p(),{send:h,flush:e=>n.flush(e)}}}},6833:(e,t,n)=>{"use strict";n.d(t,{Rg:()=>c,e2:()=>l});var r=n(81085),i=n(91666),o=n(35774),a=n(13030),s=n(53075);function l(e,t){const{fingerprint:n,span:l,breadcrumbs:c,sdkProcessingMetadata:u}=t;!function(e,t){const{extra:n,tags:i,user:o,contexts:a,level:s,transactionName:l}=t,c=(0,r.Ce)(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const u=(0,r.Ce)(i);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const f=(0,r.Ce)(o);f&&Object.keys(f).length&&(e.user={...f,...e.user});const d=(0,r.Ce)(a);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),s&&(e.level=s),l&&(e.transaction=l)}(e,t),l&&function(e,t){e.contexts={trace:(0,s.kX)(t),...e.contexts};const n=(0,a.z)(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:(0,o.k)(t),...e.sdkProcessingMetadata};const r=(0,s.et)(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,l),function(e,t){e.fingerprint=e.fingerprint?(0,i.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,c),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,u)}function c(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:f,attachments:d,propagationContext:p,transactionName:h,span:m}=t;u(e,"extra",n),u(e,"tags",r),u(e,"user",i),u(e,"contexts",o),u(e,"sdkProcessingMetadata",s),a&&(e.level=a),h&&(e.transactionName=h),m&&(e.span=m),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function u(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}},13030:(e,t,n)=>{"use strict";function r(e){return e.transaction}n.d(t,{z:()=>r})},77590:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(53390);function i(e,t,n=(()=>{})){let i;try{i=e()}catch(e){throw t(e),n(),e}return function(e,t,n){return(0,r.Qg)(e)?e.then((e=>(n(),e)),(e=>{throw t(e),n(),e})):(n(),e)}(i,t,n)}},77157:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(43827);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=(0,r.KU)(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},53545:(e,t,n)=>{"use strict";function r(e,t){const n=t&&function(e){return void 0!==e.getClient}(t)?t.getClient():t,r=n&&n.getDsn(),o=n&&n.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,r)||function(e,t){return!!t&&i(e)===i(t)}(e,o)}function i(e){return"/"===e[e.length-1]?e.slice(0,-1):e}n.d(t,{A:()=>r})},49855:(e,t,n)=>{"use strict";function r(e,...t){const n=new String(String.raw(e,...t));return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n}n.d(t,{y:()=>r})},19833:(e,t,n)=>{"use strict";n.d(t,{li:()=>m,mG:()=>p});var r=n(91666),i=n(3771),o=n(58647),a=n(2859),s=n(79659),l=n(86809),c=n(56581),u=n(6036),f=n(6833),d=n(53075);function p(e,t,n,p,m,g){const{normalizeDepth:v=3,normalizeMaxBreadth:y=1e3}=e,b={...t,event_id:t.event_id||n.event_id||(0,r.eJ)(),timestamp:t.timestamp||(0,i.lu)()},_=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:l.U),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=(0,o.xv)(e.message,a));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,o.xv)(s.value,a));const c=e.request;c&&c.url&&(c.url=(0,o.xv)(c.url,a))}(b,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(b,_),void 0===t.type&&function(e,t){const n=a.OW._sentryDebugIds;if(!n)return;let r;const i=h.get(t);i?r=i:(r=new Map,h.set(t,r));const o=Object.keys(n).reduce(((e,i)=>{let o;const a=r.get(i);a?o=a:(o=t(i),r.set(i,o));for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.filename){e[r.filename]=n[i];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=o[e.filename])}))}))}catch(e){}}(b,e.stackParser);const w=function(e,t){if(!t)return e;const n=e?e.clone():new u.HG;return n.update(t),n}(p,n.captureContext);n.mechanism&&(0,r.M6)(b,n.mechanism);const S=m&&m.getEventProcessors?m.getEventProcessors():[],x=(0,u.m6)().getScopeData();if(g){const e=g.getScopeData();(0,f.Rg)(x,e)}if(w){const e=w.getScopeData();(0,f.Rg)(x,e)}const E=[...n.attachments||[],...x.attachments];E.length&&(n.attachments=E),(0,f.e2)(b,x);const k=[...S,...(0,c.lG)(),...x.eventProcessors];return(0,c.jB)(k,b,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof v&&v>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,s.S8)(e.data,t,n)}})))},...e.user&&{user:(0,s.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,s.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,s.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,s.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>{const r=(0,d.et)(e).data;return r&&(e.data=(0,s.S8)(r,t,n)),e}))),r}(e,v,y):e)))}const h=new WeakMap;function m(e){if(e)return function(e){return e instanceof u.HG||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>g.includes(e)))}(e)?{captureContext:e}:e}const g=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},83843:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(60072);function i(e,t,n=[t],i="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${i}:@sentry/${e}`,version:r.M}))),version:r.M}),e._metadata=o}},53075:(e,t,n)=>{"use strict";n.d(t,{CC:()=>a,Qh:()=>c,aO:()=>s,cI:()=>u,et:()=>d,kX:()=>l,pK:()=>p});var r=n(81085),i=n(3098),o=n(3771);const a=0,s=1;function l(e){const{spanId:t,traceId:n}=e.spanContext(),{data:i,op:o,parent_span_id:a,status:s,tags:l,origin:c}=d(e);return(0,r.Ce)({data:i,op:o,parent_span_id:a,span_id:t,status:s,tags:l,trace_id:n,origin:c})}function c(e){const{traceId:t,spanId:n}=e.spanContext(),r=p(e);return(0,i.TC)(t,n,r)}function u(e){return"number"==typeof e?f(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?f(e.getTime()):(0,o.zf)()}function f(e){return e>9999999999?e/1e3:e}function d(e){return function(e){return"function"==typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function p(e){const{traceFlags:t}=e.spanContext();return Boolean(t&s)}},60072:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const r="7.112.0"},81525:(e,t)=>{var n;t.IPCChannel=void 0,(n=t.IPCChannel||(t.IPCChannel={})).RENDERER_START="sentry-electron.renderer-start",n.EVENT="sentry-electron.event",n.SCOPE="sentry-electron.scope",n.ENVELOPE="sentry-electron.envelope",n.STATUS="sentry-electron.status",n.ADD_METRIC="sentry-electron.add-metric",t.PROTOCOL_SCHEME="sentry-ipc",t.RENDERER_ID_HEADER="sentry-electron-renderer-id"},84546:(e,t)=>{t.ensureProcess=function(e){const t="undefined"!=typeof window?"renderer":"main";if(t!==e)throw new Error(`This code is intended to run in the Electron ${e} process but is currently running in the ${t} process.\nThis can occur if a bundler picks the wrong entry point.\n\nYou can work around this by using a relative import:\nimport * as Sentry from '@sentry/electron/${t}';`)}},32190:(e,t,n)=>{const r=n(26799);t.enableAnrRendererMessages=function(e){const t=Object.assign({pollInterval:1e3,anrThreshold:5e3,captureStackTrace:!1},e),n=r.getIPC();document.addEventListener("visibilitychange",(()=>{n.sendStatus({status:document.visibilityState,config:t})})),n.sendStatus({status:document.visibilityState,config:t}),setInterval((()=>{n.sendStatus({status:"alive",config:t})}),t.pollInterval)}},65401:(e,t,n)=>{const r=n(71161),i=n(13749),o=n(10219),a=n(18197),s=n(36136),l=n(84805),c=Object.assign(Object.assign({},o.metrics),{MetricsAggregator:s.MetricsAggregator}),u=Object.assign(Object.assign({},r.Integrations),i);t.BrowserClient=r.BrowserClient,t.BrowserProfilingIntegration=r.BrowserProfilingIntegration,t.BrowserTracing=r.BrowserTracing,t.Replay=r.Replay,t.addTracingExtensions=r.addTracingExtensions,t.breadcrumbsIntegration=r.breadcrumbsIntegration,t.browserApiErrorsIntegration=r.browserApiErrorsIntegration,t.browserProfilingIntegration=r.browserProfilingIntegration,t.browserTracingIntegration=r.browserTracingIntegration,t.dedupeIntegration=r.dedupeIntegration,t.feedbackIntegration=r.feedbackIntegration,t.globalHandlersIntegration=r.globalHandlersIntegration,t.httpContextIntegration=r.httpContextIntegration,t.lastEventId=r.lastEventId,t.linkedErrorsIntegration=r.linkedErrorsIntegration,t.replayCanvasIntegration=r.replayCanvasIntegration,t.replayIntegration=r.replayIntegration,t.sendFeedback=r.sendFeedback,t.showReportDialog=r.showReportDialog,t.Hub=o.Hub,t.ModuleMetadata=o.ModuleMetadata,t.Scope=o.Scope,t.addBreadcrumb=o.addBreadcrumb,t.addEventProcessor=o.addEventProcessor,t.addGlobalEventProcessor=o.addGlobalEventProcessor,t.addIntegration=o.addIntegration,t.captureCheckIn=o.captureCheckIn,t.captureEvent=o.captureEvent,t.captureException=o.captureException,t.captureMessage=o.captureMessage,t.configureScope=o.configureScope,t.continueTrace=o.continueTrace,t.createTransport=o.createTransport,t.extractTraceparentData=o.extractTraceparentData,t.functionToStringIntegration=o.functionToStringIntegration,t.getActiveSpan=o.getActiveSpan,t.getActiveTransaction=o.getActiveTransaction,t.getClient=o.getClient,t.getCurrentHub=o.getCurrentHub,t.getCurrentScope=o.getCurrentScope,t.getGlobalScope=o.getGlobalScope,t.getHubFromCarrier=o.getHubFromCarrier,t.getIsolationScope=o.getIsolationScope,t.inboundFiltersIntegration=o.inboundFiltersIntegration,t.makeMain=o.makeMain,t.moduleMetadataIntegration=o.moduleMetadataIntegration,t.parameterize=o.parameterize,t.runWithAsyncContext=o.runWithAsyncContext,t.setContext=o.setContext,t.setExtra=o.setExtra,t.setExtras=o.setExtras,t.setMeasurement=o.setMeasurement,t.setTag=o.setTag,t.setTags=o.setTags,t.setUser=o.setUser,t.spanStatusfromHttpCode=o.spanStatusfromHttpCode,t.startActiveSpan=o.startActiveSpan,t.startInactiveSpan=o.startInactiveSpan,t.startSpan=o.startSpan,t.startSpanManual=o.startSpanManual,t.startTransaction=o.startTransaction,t.trace=o.trace,t.withMonitor=o.withMonitor,t.withScope=o.withScope,t.scopeToMainIntegration=a.scopeToMainIntegration,t.metricsAggregatorIntegration=s.metricsAggregatorIntegration,t.defaultIntegrations=l.defaultIntegrations,t.init=l.init,t.Integrations=u,t.metrics=c},55037:(e,t,n)=>{const r=n(77049),i=n(26799);class o{constructor(){this.name=o.id}setupOnce(e){const t=i.getIPC();e((e=>(e.breadcrumbs=e.breadcrumbs||[],e.environment=void 0,t.sendEvent(JSON.stringify(r.normalize(e,20,2e3))),null)))}}o.id="EventToMain",t.EventToMain=o},13749:(e,t,n)=>{const r=n(18197),i=n(55037);t.ScopeToMain=r.ScopeToMain,t.EventToMain=i.EventToMain},36136:(e,t,n)=>{const r=n(10219),i=n(82020),o="MetricsAggregator",a=()=>({name:o,setupOnce(){},setup(e){e.metricsAggregator=new i.ElectronRendererMetricsAggregator}}),s=r.convertIntegrationFnToClass(o,a);t.MetricsAggregator=s,t.metricsAggregatorIntegration=a},18197:(e,t,n)=>{const r=n(10219),i=n(77049),o=n(26799),a="ScopeToMain",s=r.defineIntegration((()=>({name:a,setupOnce(){},setup(){const e=r.getCurrentScope();if(e){const t=o.getIPC();e.addScopeListener((n=>{t.sendScope(JSON.stringify(i.normalize(n.getScopeData(),20,2e3))),e.clearBreadcrumbs(),e.clearAttachments()}))}}}))),l=r.convertIntegrationFnToClass(a,s);t.ScopeToMain=l,t.scopeToMainIntegration=s},26799:(e,t,n)=>{const r=n(77049),i=n(81525);function o(e){return`${i.PROTOCOL_SCHEME}://${e}/sentry_key`}let a;t.getIPC=function(){return a||(a=function(){if(window.__SENTRY_IPC__)return window.__SENTRY_IPC__;{r.logger.log("IPC was not configured in preload script, falling back to custom protocol and fetch");const e=window.__SENTRY_RENDERER_ID__=r.uuid4(),t={[i.RENDERER_ID_HEADER]:e};return{sendRendererStart:()=>{fetch(o(i.IPCChannel.RENDERER_START),{method:"POST",body:"",headers:t}).catch((()=>{console.error("Sentry SDK failed to establish connection with the Electron main process.\n  - Ensure you have initialized the SDK in the main process\n  - If your renderers use custom sessions, be sure to set 'getSessions' in the main process options\n  - If you are bundling your main process code and using Electron < v5, you'll need to manually configure a preload script")}))},sendScope:e=>{fetch(o(i.IPCChannel.SCOPE),{method:"POST",body:e,headers:t}).catch((()=>{}))},sendEvent:e=>{fetch(o(i.IPCChannel.EVENT),{method:"POST",body:e,headers:t}).catch((()=>{}))},sendEnvelope:e=>{fetch(o(i.IPCChannel.ENVELOPE),{method:"POST",body:e,headers:t}).catch((()=>{}))},sendStatus:e=>{fetch(o(i.IPCChannel.STATUS),{method:"POST",body:JSON.stringify({status:e}),headers:t}).catch((()=>{}))},sendAddMetric:e=>{fetch(o(i.IPCChannel.ADD_METRIC),{method:"POST",body:JSON.stringify(e),headers:t}).catch((()=>{}))}}}}(),a.sendRendererStart()),a}},82020:(e,t,n)=>{const r=n(26799);t.ElectronRendererMetricsAggregator=class{constructor(){this._ipc=r.getIPC()}add(e,t,n,r,i,o){this._ipc.sendAddMetric({metricType:e,name:t,value:n,unit:r,tags:i,timestamp:o})}flush(){}close(){}toString(){return""}}},84805:(e,t,n)=>{const r=n(71161),i=n(77049),o=n(32190),a=n(36136),s=n(18197),l=n(97923),c=n(90340),u=n(84546),f=[...r.defaultIntegrations,s.scopeToMainIntegration(),a.metricsAggregatorIntegration()];t.defaultIntegrations=f,t.init=function(e={},t=r.init){u.ensureProcess("renderer"),(null===window||void 0===window?void 0:window.__SENTRY__RENDERER_INIT__)?i.logger.warn("The browser SDK has already been initialized.\nIf init has been called in the preload and contextIsolation is disabled, is not required to call init in the renderer"):(window.__SENTRY__RENDERER_INIT__=!0,void 0===e.autoSessionTracking&&(e.autoSessionTracking=!1),e.sendClientReports=!1,void 0===e.defaultIntegrations&&(e.defaultIntegrations=f),void 0===e.stackParser&&(e.stackParser=l.electronRendererStackParser),void 0===e.dsn&&(e.dsn="https://12345@dummy.dsn/12345"),void 0===e.transport&&(e.transport=c.makeRendererTransport),e.anrDetection&&o.enableAnrRendererMessages(!0===e.anrDetection?{}:e.anrDetection),delete e.initialScope,t(e))}},97923:(e,t,n)=>{const r=n(71161),i=n(77049),[,o]=r.chromeStackLineParser,[,a]=i.nodeStackLineParser();t.electronRendererStackParser=(e,t=0)=>{const n=[];for(const r of e.split("\n").slice(t)){const e=o(r),t=a(r);if(e&&!1!==(null==t?void 0:t.in_app)?n.push(e):t&&n.push(i.dropUndefinedKeys(t)),n.length>=50)break}return i.stripSentryFramesAndReverse(n)}},90340:(e,t,n)=>{const r=n(18991),i=n(10219),o=n(26799);t.makeRendererTransport=function(e){const t=o.getIPC();return i.createTransport(e,(e=>r.__awaiter(this,void 0,void 0,(function*(){return t.sendEnvelope(e.body),{statusCode:200}}))))}},27931:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});var r=n(53390),i=n(58647);function o(e,t,n=250,o,s,l,c){if(!(l.exception&&l.exception.values&&c&&(0,r.tH)(c.originalException,Error)))return;const u=l.exception.values.length>0?l.exception.values[l.exception.values.length-1]:void 0;var f,d;u&&(l.exception.values=(f=a(e,t,s,c.originalException,o,l.exception.values,u,0),d=n,f.map((e=>(e.value&&(e.value=(0,i.xv)(e.value,d)),e)))))}function a(e,t,n,i,o,c,u,f){if(c.length>=n+1)return c;let d=[...c];if((0,r.tH)(i[o],Error)){s(u,f);const r=e(t,i[o]),c=d.length;l(r,o,c,f),d=a(e,t,n,i[o],o,[r,...d],r,c)}return Array.isArray(i.errors)&&i.errors.forEach(((i,c)=>{if((0,r.tH)(i,Error)){s(u,f);const r=e(t,i),p=d.length;l(r,`errors[${c}]`,p,f),d=a(e,t,n,i,o,[r,...d],r,p)}})),d}function s(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function l(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}},90670:(e,t,n)=>{"use strict";n.d(t,{De:()=>f,HH:()=>c,hF:()=>a,sv:()=>s,wF:()=>l,yD:()=>u});var r=n(98406),i=n(53390),o=n(4870);const a="baggage",s="sentry-",l=/^sentry-/,c=8192;function u(e){if(!(0,i.Kg)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>{const n=d(t);for(const t of Object.keys(n))e[t]=n[t];return e}),{});else{if(!e)return;t=d(e)}const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(l)&&(e[t.slice(s.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}function f(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce(((e,[t,n],i)=>{const a=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===i?a:`${e},${a}`;return s.length>c?(r.T&&o.vF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${s}${t}`]=n),e)),{}))}function d(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}},18660:(e,t,n)=>{"use strict";n.d(t,{$N:()=>l,Hd:()=>a,NX:()=>c,xE:()=>u});var r=n(53390);const i=(0,n(2859).VZ)(),o=80;function a(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let a=0,l=0;const c=" > ",u=c.length;let f;const d=Array.isArray(t)?t:t.keyAttrs,p=!Array.isArray(t)&&t.maxStringLength||o;for(;n&&a++<r&&(f=s(n,d),!("html"===f||a>1&&l+i.length*u+f.length>=p));)i.push(f),l+=f.length,n=n.parentNode;return i.reverse().join(c)}catch(e){return"<unknown>"}}function s(e,t){const n=e,o=[];let a,s,l,c,u;if(!n||!n.tagName)return"";if(i.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;o.push(n.tagName.toLowerCase());const f=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(f&&f.length)f.forEach((e=>{o.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&o.push(`#${n.id}`),a=n.className,a&&(0,r.Kg)(a))for(s=a.split(/\s+/),u=0;u<s.length;u++)o.push(`.${s[u]}`);const d=["aria-label","type","name","title","alt"];for(u=0;u<d.length;u++)l=d[u],c=n.getAttribute(l),c&&o.push(`[${l}="${c}"]`);return o.join("")}function l(){try{return i.document.location.href}catch(e){return""}}function c(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}function u(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}},4290:(e,t,n)=>{"use strict";function r(e,t){return null!=e?e:t()}n.d(t,{S:()=>r})},16615:(e,t,n)=>{"use strict";function r(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}n.d(t,{z:()=>r})},85107:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(40358),i=n(3771);function o(e,t,n){const o=[{type:"client_report"},{timestamp:n||(0,i.lu)(),discarded_events:e}];return(0,r.h4)(t?{dsn:t}:{},[o])}},98406:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},51965:(e,t,n)=>{"use strict";n.d(t,{AD:()=>c,SB:()=>a,hH:()=>s});var r=n(98406),i=n(4870);const o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function s(e){const t=o.exec(e);if(!t)return void(0,i.pq)((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,a="",s,c="",u]=t.slice(1);let f="",d=u;const p=d.split("/");if(p.length>1&&(f=p.slice(0,-1).join("/"),d=p.pop()),d){const e=d.match(/^\d+/);e&&(d=e[0])}return l({host:s,pass:a,path:f,projectId:d,port:c,protocol:n,publicKey:r})}function l(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){const t="string"==typeof e?s(e):l(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:o}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(i.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?t&&isNaN(parseInt(t,10))&&(i.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}},91347:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(t,{Z:()=>r,e:()=>i})},40358:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>g,W3:()=>s,bN:()=>f,bm:()=>p,h4:()=>a,hP:()=>c,mE:()=>d,n2:()=>v,yH:()=>l,zk:()=>m});var r=n(51965),i=n(79659),o=n(81085);function a(e,t=[]){return[e,t]}function s(e,t){const[n,r]=e;return[n,[...r,t]]}function l(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function c(e,t){return l(e,((e,n)=>t.includes(n)))}function u(e,t){return(t||new TextEncoder).encode(e)}function f(e,t){const[n,r]=e;let o=JSON.stringify(n);function a(e){"string"==typeof o?o="string"==typeof e?o+e:[u(o,t),e]:o.push("string"==typeof e?u(e,t):e)}for(const e of r){const[t,n]=e;if(a(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)a(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,i.S8)(n))}a(e)}}return"string"==typeof o?o:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(o)}function d(e,t,n){let r="string"==typeof e?t.encode(e):e;function i(e){const t=r.subarray(0,e);return r=r.subarray(e+1),t}function o(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(i(e)))}const a=o(),s=[];for(;r.length;){const e=o(),t="number"==typeof e.length?e.length:void 0;s.push([e,t?i(t):o()])}return[a,s]}function p(e,t){const n="string"==typeof e.data?u(e.data,t):e.data;return[(0,o.Ce)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function m(e){return h[e]}function g(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function v(e,t,n,i){const a=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:(0,r.SB)(i)},...a&&{trace:(0,o.Ce)({...a})}}}},17402:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});class r extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}},18161:(e,t,n)=>{"use strict";n.d(t,{Eg:()=>s,H7:()=>c,K8:()=>l,qv:()=>u});var r=n(53390),i=n(91666),o=n(79659),a=n(81085);function s(e,t){return e(t.stack||"",1)}function l(e,t){const n={type:t.name||t.constructor.name,value:t.message},r=s(e,t);return r.length&&(n.stacktrace={frames:r}),n}function c(e,t,n,s){const c="function"==typeof e?e().getClient():e;let u=n;const f=s&&s.data&&s.data.mechanism||{handled:!0,type:"generic"};let d;if(!(0,r.bJ)(n)){if((0,r.Qd)(n)){const e=c&&c.getOptions().normalizeDepth;d={__serialized__:(0,o.cd)(n,e)};const t=function(e){if("name"in e&&"string"==typeof e.name){let t=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(t+=` with message '${e.message}'`),t}return"message"in e&&"string"==typeof e.message?e.message:`Object captured as exception with keys: ${(0,a.HF)(e)}`}(n);u=s&&s.syntheticException||new Error(t),u.message=t}else u=s&&s.syntheticException||new Error(n),u.message=n;f.synthetic=!0}const p={exception:{values:[l(t,u)]}};return d&&(p.extra=d),(0,i.gO)(p,void 0,void 0),(0,i.M6)(p,f),{...p,event_id:s&&s.event_id}}function u(e,t,n="info",i,o){const a={event_id:i&&i.event_id,level:n};if(o&&i&&i.syntheticException){const n=s(e,i.syntheticException);n.length&&(a.exception={values:[{value:t,stacktrace:{frames:n}}]})}if((0,r.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return a.logentry={message:e,params:n},a}return a.message=t,a}},77049:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BAGGAGE_HEADER_NAME:()=>B.hF,CONSOLE_LEVELS:()=>c.Ow,DEFAULT_RETRY_AFTER:()=>F.e1,DEFAULT_USER_INCLUDES:()=>O.cx,GLOBAL_OBJ:()=>s.OW,LRUMap:()=>Y,MAX_BAGGAGE_STRING_LENGTH:()=>B.HH,SENTRY_BAGGAGE_KEY_PREFIX:()=>B.sv,SENTRY_BAGGAGE_KEY_PREFIX_REGEX:()=>B.wF,SENTRY_XHR_DATA_KEY:()=>g.Er,SentryError:()=>a.U,SyncPromise:()=>L.T2,TRACEPARENT_REGEXP:()=>R.MI,_asyncNullishCoalesce:()=>Z,_asyncOptionalChain:()=>X,_asyncOptionalChainDelete:()=>Q,_browserPerformanceTimeOriginMode:()=>I.gt,_nullishCoalesce:()=>J.S,_optionalChain:()=>ee.z,_optionalChainDelete:()=>te,addClickKeypressInstrumentationHandler:()=>f.i,addConsoleInstrumentationHandler:()=>u.P,addContextToFrame:()=>w.db,addExceptionMechanism:()=>w.M6,addExceptionTypeValue:()=>w.gO,addFetchInstrumentationHandler:()=>d.u,addGlobalErrorInstrumentationHandler:()=>p.L,addGlobalUnhandledRejectionInstrumentationHandler:()=>h.r,addHistoryInstrumentationHandler:()=>m._,addInstrumentationHandler:()=>v,addItemToEnvelope:()=>j.W3,addNonEnumerableProperty:()=>E.my,addOrUpdateIntegration:()=>U,addRequestDataToEvent:()=>O.GY,addRequestDataToTransaction:()=>O.em,addXhrInstrumentationHandler:()=>g.Mn,applyAggregateErrorsToEvent:()=>r.Q,arrayify:()=>w.k9,baggageHeaderToDynamicSamplingContext:()=>B.yD,basename:()=>k.P8,browserPerformanceTimeOrigin:()=>I.k3,callFrameToStackFrame:()=>G,checkOrSetAlreadyCaught:()=>w.GR,consoleSandbox:()=>c.pq,convertToPlainObject:()=>E.W4,createAttachmentEnvelopeItem:()=>j.bm,createClientReportEnvelope:()=>N.m,createEnvelope:()=>j.h4,createEventEnvelopeHeaders:()=>j.n2,createStackParser:()=>P.gd,dateTimestampInSeconds:()=>I.lu,dirname:()=>k.pD,disabledUntil:()=>F.Z3,dropUndefinedKeys:()=>E.Ce,dsnFromString:()=>o.hH,dsnToString:()=>o.SB,dynamicRequire:()=>S.fj,dynamicSamplingContextToSentryBaggageHeader:()=>B.De,envelopeContainsItemType:()=>j.hP,envelopeItemTypeToDataCategory:()=>j.zk,escapeStringForRegex:()=>re,eventFromMessage:()=>q.qv,eventFromUnknownInput:()=>q.H7,exceptionFromError:()=>q.K8,extractExceptionKeysForMessage:()=>E.HF,extractPathForTransaction:()=>O.Up,extractRequestData:()=>O.Rj,extractTraceparentData:()=>R.nc,filenameIsInApp:()=>V.s,fill:()=>E.GS,forEachEnvelopeItem:()=>j.yH,generateSentryTraceHeader:()=>R.TC,getComponentName:()=>i.xE,getDomElement:()=>i.NX,getEventDescription:()=>w.$X,getFunctionName:()=>P.qQ,getGlobalObject:()=>s.VZ,getGlobalSingleton:()=>s.BY,getLocationHref:()=>i.$N,getNumberOfUrlSegments:()=>z.c4,getOriginalFunction:()=>E.sp,getSDKSource:()=>D.e,getSanitizedUrlString:()=>z.e_,getSdkMetadataForEnvelopeHeader:()=>j.Cj,htmlTreeAsString:()=>i.Hd,isAbsolute:()=>k.oP,isBrowser:()=>b.B,isBrowserBundle:()=>D.Z,isDOMError:()=>y.BD,isDOMException:()=>y.W6,isElement:()=>y.vq,isError:()=>y.bJ,isErrorEvent:()=>y.T2,isEvent:()=>y.xH,isInstanceOf:()=>y.tH,isMatchingPattern:()=>A._c,isNaN:()=>y.yr,isNativeFetch:()=>M.ap,isNodeEnv:()=>S.wD,isParameterizedString:()=>y.NF,isPlainObject:()=>y.Qd,isPrimitive:()=>y.sO,isRateLimited:()=>F.Jz,isRegExp:()=>y.gd,isString:()=>y.Kg,isSyntheticEvent:()=>y.mE,isThenable:()=>y.Qg,isVueViewModel:()=>y.L2,join:()=>k.fj,loadModule:()=>S.Vw,logger:()=>c.vF,makeDsn:()=>o.AD,makeFifoCache:()=>W,makePromiseBuffer:()=>C.C,markFunctionWrapped:()=>E.pO,memoBuilder:()=>_.s,nodeStackLineParser:()=>P.o,normalize:()=>x.S8,normalizePath:()=>k.Fd,normalizeToSize:()=>x.cd,normalizeUrlToBase:()=>x.nj,objectify:()=>E.ey,originalConsoleMethods:()=>c.Z9,parseEnvelope:()=>j.mE,parseRetryAfterHeader:()=>F.FA,parseSemver:()=>w.kf,parseStackFrames:()=>q.Eg,parseUrl:()=>z.Dl,propagationContextFromHeaders:()=>R.kM,rejectedSyncPromise:()=>L.xg,relative:()=>k.V8,resetInstrumentationHandlers:()=>ne.Fp,resolve:()=>k.hd,resolvedSyncPromise:()=>L.XW,safeJoin:()=>A.gt,serializeEnvelope:()=>j.bN,severityFromString:()=>T.Nv,severityLevelFromString:()=>T.te,snipLine:()=>A.nC,stackParserFromStackParserOptions:()=>P.vk,stringMatchesSomePattern:()=>A.Xr,stripSentryFramesAndReverse:()=>P.Vi,stripUrlQueryAndFragment:()=>z.f,supportsDOMError:()=>M.$y,supportsDOMException:()=>M.kP,supportsErrorEvent:()=>M.NH,supportsFetch:()=>M.vm,supportsHistory:()=>ie.N,supportsNativeFetch:()=>M.m7,supportsReferrerPolicy:()=>M.K8,supportsReportingObserver:()=>M.vQ,timestampInSeconds:()=>I.zf,timestampWithMs:()=>I.LU,tracingContextFromHeaders:()=>R.E0,truncate:()=>A.xv,updateRateLimits:()=>F.wq,urlEncode:()=>E.u4,uuid4:()=>w.eJ,validSeverityLevels:()=>T.$7,walk:()=>x.GG,watchdogTimer:()=>K,winterCGHeadersToDict:()=>O.NI,winterCGRequestToRequestData:()=>O.xF});var r=n(27931),i=n(18660),o=n(51965),a=n(17402),s=n(2859),l=n(98406),c=n(4870),u=n(77669),f=n(71096),d=n(11232),p=n(12775),h=n(7383),m=n(46764),g=n(41102);function v(e,t){switch(e){case"console":return(0,u.P)(t);case"dom":return(0,f.i)(t);case"xhr":return(0,g.Mn)(t);case"fetch":return(0,d.u)(t);case"history":return(0,m._)(t);case"error":return(0,p.L)(t);case"unhandledrejection":return(0,h.r)(t);default:l.T&&c.vF.warn("unknown instrumentation type:",e)}}var y=n(53390),b=n(900),_=n(23440),w=n(91666),S=n(61110),x=n(79659),E=n(81085),k=n(13729),C=n(38731),O=n(12471),T=n(26877),P=n(46819),A=n(58647),M=n(68970),L=n(78336),I=n(3771),R=n(3098),D=n(91347),j=n(40358),N=n(85107),F=n(40413),B=n(90670),z=n(81961);function $(e,t,n){const r=t.match(/([a-z_]+)\.(.*)/i);null===r?e[t]=n:$(e[r[1]],r[2],n)}function U(e,t,n={}){return Array.isArray(t)?H(e,t,n):function(e,t,n){return r=>{const i=t(r);return e.allowExclusionByUser&&!i.find((t=>t.name===e.name))?i:H(e,i,n)}}(e,t,n)}function H(e,t,n){const r=t.find((t=>t.name===e.name));if(r){for(const[e,t]of Object.entries(n))$(r,e,t);return t}return[...t,e]}function W(e){let t=[],n={};return{add(r,i){for(;t.length>=e;){const e=t.shift();void 0!==e&&delete n[e]}n[r]&&this.delete(r),t.push(r),n[r]=i},clear(){n={},t=[]},get:e=>n[e],size:()=>t.length,delete(e){if(!n[e])return!1;delete n[e];for(let n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}return!0}}}var q=n(18161),V=n(29987);function K(e,t,n,r){const i=e();let o=!1,a=!0;return setInterval((()=>{const e=i.getTimeMs();!1===o&&e>t+n&&(o=!0,a&&r()),e<t+n&&(o=!1)}),20),{poll:()=>{i.reset()},enabled:e=>{a=e}}}function G(e,t,n){const r=t?t.replace(/^file:\/\//,""):void 0,i=e.location.columnNumber?e.location.columnNumber+1:void 0,o=e.location.lineNumber?e.location.lineNumber+1:void 0;return(0,E.Ce)({filename:r,module:n(r),function:e.functionName||"?",colno:i,lineno:o,in_app:r?(0,V.s)(r):void 0})}class Y{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){const t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){this._cache.size>=this._maxSize&&this._cache.delete(this._cache.keys().next().value),this._cache.set(e,t)}remove(e){const t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){const e=[];return this._cache.forEach((t=>e.push(t))),e}}var J=n(4290);async function Z(e,t){return(0,J.S)(e,t)}async function X(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=await o(n)):"call"!==i&&"optionalCall"!==i||(n=await o(((...e)=>n.call(t,...e))),t=void 0)}return n}async function Q(e){const t=await X(e);return null==t||t}var ee=n(16615);function te(e){const t=(0,ee.z)(e);return null==t||t}var ne=n(25164);function re(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ie=n(57215)},25164:(e,t,n)=>{"use strict";n.d(t,{AS:()=>u,Fp:()=>c,aj:()=>f,s5:()=>l});var r=n(98406),i=n(4870),o=n(46819);const a={},s={};function l(e,t){a[e]=a[e]||[],a[e].push(t)}function c(){Object.keys(a).forEach((e=>{a[e]=void 0}))}function u(e,t){s[e]||(t(),s[e]=!0)}function f(e,t){const n=e&&a[e];if(n)for(const a of n)try{a(t)}catch(t){r.T&&i.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,o.qQ)(a)}\nError:`,t)}}},77669:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var r=n(4870),i=n(81085),o=n(2859),a=n(25164);function s(e){const t="console";(0,a.s5)(t,e),(0,a.AS)(t,l)}function l(){"console"in o.OW&&r.Ow.forEach((function(e){e in o.OW.console&&(0,i.GS)(o.OW.console,e,(function(t){return r.Z9[e]=t,function(...t){const n={args:t,level:e};(0,a.aj)("console",n);const i=r.Z9[e];i&&i.apply(o.OW.console,t)}}))}))}},71096:(e,t,n)=>{"use strict";n.d(t,{i:()=>d});var r=n(91666),i=n(81085),o=n(2859),a=n(25164);const s=o.OW,l=1e3;let c,u,f;function d(e){(0,a.s5)("dom",e),(0,a.AS)("dom",p)}function p(){if(!s.document)return;const e=a.aj.bind(null,"dom"),t=h(e,!0);s.document.addEventListener("click",t,!1),s.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=s[t]&&s[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,i.GS)(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){const r=h(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(e){}return t.call(this,n,r,i)}})),(0,i.GS)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function h(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const o=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,o))return;(0,i.my)(n,"_sentryCaptured",!0),o&&!o._sentryId&&(0,i.my)(o,"_sentryId",(0,r.eJ)());const a="keypress"===n.type?"input":n.type;(function(e){if(e.type!==u)return!1;try{if(!e.target||e.target._sentryId!==f)return!1}catch(e){}return!0})(n)||(e({event:n,name:a,global:t}),u=n.type,f=o?o._sentryId:void 0),clearTimeout(c),c=s.setTimeout((()=>{f=void 0,u=void 0}),l)}}},11232:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(81085),i=n(68970),o=n(2859),a=n(25164);function s(e){const t="fetch";(0,a.s5)(t,e),(0,a.AS)(t,l)}function l(){(0,i.m7)()&&(0,r.GS)(o.OW,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:u(t),method:c(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:u(t),method:c(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return(0,a.aj)("fetch",{...i}),e.apply(o.OW,t).then((e=>{const t={...i,endTimestamp:Date.now(),response:e};return(0,a.aj)("fetch",t),e}),(e=>{const t={...i,endTimestamp:Date.now(),error:e};throw(0,a.aj)("fetch",t),e}))}}))}function c(e,t){return!!e&&"object"==typeof e&&!!e[t]}function u(e){return"string"==typeof e?e:e?c(e,"url")?e.url:e.toString?e.toString():"":""}},12775:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2859),i=n(25164);let o=null;function a(e){const t="error";(0,i.s5)(t,e),(0,i.AS)(t,s)}function s(){o=r.OW.onerror,r.OW.onerror=function(e,t,n,r,a){const s={column:r,error:a,line:n,msg:e,url:t};return(0,i.aj)("error",s),!(!o||o.__SENTRY_LOADER__)&&o.apply(this,arguments)},r.OW.onerror.__SENTRY_INSTRUMENTED__=!0}},7383:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var r=n(2859),i=n(25164);let o=null;function a(e){const t="unhandledrejection";(0,i.s5)(t,e),(0,i.AS)(t,s)}function s(){o=r.OW.onunhandledrejection,r.OW.onunhandledrejection=function(e){const t=e;return(0,i.aj)("unhandledrejection",t),!(o&&!o.__SENTRY_LOADER__)||o.apply(this,arguments)},r.OW.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},46764:(e,t,n)=>{"use strict";n.d(t,{_:()=>c});var r=n(81085),i=n(2859),o=n(57215),a=n(25164);const s=i.OW;let l;function c(e){const t="history";(0,a.s5)(t,e),(0,a.AS)(t,u)}function u(){if(!(0,o.N)())return;const e=s.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=l,t=String(n);l=t;const r={from:e,to:t};(0,a.aj)("history",r)}return e.apply(this,t)}}s.onpopstate=function(...t){const n=s.location.href,r=l;l=n;const i={from:r,to:n};if((0,a.aj)("history",i),e)try{return e.apply(this,t)}catch(e){}},(0,r.GS)(s.history,"pushState",t),(0,r.GS)(s.history,"replaceState",t)}},41102:(e,t,n)=>{"use strict";n.d(t,{Er:()=>l,Mn:()=>c});var r=n(53390),i=n(81085),o=n(2859),a=n(25164);const s=o.OW,l="__sentry_xhr_v3__";function c(e){(0,a.s5)("xhr",e),(0,a.AS)("xhr",u)}function u(){if(!s.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,i.GS)(e,"open",(function(e){return function(...t){const n=Date.now(),o=(0,r.Kg)(t[0])?t[0].toUpperCase():void 0,s=function(e){if((0,r.Kg)(e))return e;try{return e.toString()}catch(e){}}(t[1]);if(!o||!s)return e.apply(this,t);this[l]={method:o,url:s,request_headers:{}},"POST"===o&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const c=()=>{const e=this[l];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}const t={args:[o,s],endTimestamp:Date.now(),startTimestamp:n,xhr:this};(0,a.aj)("xhr",t)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.GS)(this,"onreadystatechange",(function(e){return function(...t){return c(),e.apply(this,t)}})):this.addEventListener("readystatechange",c),(0,i.GS)(this,"setRequestHeader",(function(e){return function(...t){const[n,i]=t,o=this[l];return o&&(0,r.Kg)(n)&&(0,r.Kg)(i)&&(o.request_headers[n.toLowerCase()]=i),e.apply(this,t)}})),e.apply(this,t)}})),(0,i.GS)(e,"send",(function(e){return function(...t){const n=this[l];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);const r={args:[n.method,n.url],startTimestamp:Date.now(),xhr:this};return(0,a.aj)("xhr",r),e.apply(this,t)}}))}},53390:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Kg:()=>c,L2:()=>_,NF:()=>u,Qd:()=>d,Qg:()=>g,T2:()=>a,W6:()=>l,bJ:()=>i,gd:()=>m,mE:()=>v,sO:()=>f,tH:()=>b,vq:()=>h,xH:()=>p,yr:()=>y});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return b(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function c(e){return o(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function f(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function d(e){return o(e,"Object")}function p(e){return"undefined"!=typeof Event&&b(e,Event)}function h(e){return"undefined"!=typeof Element&&b(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function v(e){return d(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e){return"number"==typeof e&&e!=e}function b(e,t){try{return e instanceof t}catch(e){return!1}}function _(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}},900:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(61110),i=n(2859);function o(){return"undefined"!=typeof window&&(!(0,r.wD)()||void 0!==i.OW.process&&"renderer"===i.OW.process.type)}},4870:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>o,Z9:()=>a,pq:()=>s,vF:()=>l});var r=n(98406),i=n(2859);const o=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in i.OW))return e();const t=i.OW.console,n={},r=Object.keys(a);r.forEach((e=>{const r=a[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const l=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?o.forEach((n=>{t[n]=(...t)=>{e&&s((()=>{i.OW.console[n](`Sentry Logger [${n}]:`,...t)}))}})):o.forEach((e=>{t[e]=()=>{}})),t}()},23440:(e,t,n)=>{"use strict";function r(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}n.d(t,{s:()=>r})},91666:(e,t,n)=>{"use strict";n.d(t,{$X:()=>l,GR:()=>h,M6:()=>u,db:()=>p,eJ:()=>a,gO:()=>c,k9:()=>m,kf:()=>d});var r=n(81085),i=n(58647),o=n(2859);function a(){const e=o.OW,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function s(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function l(e){const{message:t,event_id:n}=e;if(t)return t;const r=s(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function u(e,t){const n=s(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}const f=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function d(e){const t=e.match(f)||[],n=parseInt(t[1],10),r=parseInt(t[2],10),i=parseInt(t[3],10);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(i)?void 0:i,prerelease:t[4]}}function p(e,t,n=5){if(void 0===t.lineno)return;const r=e.length,o=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,o-n),o).map((e=>(0,i.nC)(e,0))),t.context_line=(0,i.nC)(e[Math.min(r-1,o)],t.colno||0),t.post_context=e.slice(Math.min(o+1,r),o+1+n).map((e=>(0,i.nC)(e,0)))}function h(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}function m(e){return Array.isArray(e)?e:[e]}},29987:(e,t,n)=>{"use strict";function r(e,t=!1){return!(t||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//)||void 0===e||e.includes("node_modules/"))}function i(e){const t=/^\s*[-]{4,}$/,n=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return i=>{const o=i.match(n);if(o){let t,n,i,a,s;if(o[1]){i=o[1];let e=i.lastIndexOf(".");if("."===i[e-1]&&e--,e>0){t=i.slice(0,e),n=i.slice(e+1);const r=t.indexOf(".Module");r>0&&(i=i.slice(r+1),t=t.slice(0,r))}a=void 0}n&&(a=t,s=n),"<anonymous>"===n&&(s=void 0,i=void 0),void 0===i&&(s=s||"<anonymous>",i=a?`${a}.${s}`:s);let l=o[2]&&o[2].startsWith("file://")?o[2].slice(7):o[2];const c="native"===o[5];return l&&l.match(/\/[A-Z]:/)&&(l=l.slice(1)),l||!o[5]||c||(l=o[5]),{filename:l,module:e?e(l):void 0,function:i,lineno:parseInt(o[3],10)||void 0,colno:parseInt(o[4],10)||void 0,in_app:r(l,c)}}if(i.match(t))return{filename:i}}}n.d(t,{r:()=>i,s:()=>r})},61110:(e,t,n)=>{"use strict";n.d(t,{Vw:()=>a,fj:()=>o,wD:()=>i});var r=n(91347);function i(){return!(0,r.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(e,t){return e.require(t)}function a(t){let n;try{n=o(e,t)}catch(e){}try{const{cwd:r}=o(e,"process");n=o(e,`${r()}/node_modules/${t}`)}catch(e){}return n}e=n.hmd(e)},79659:(e,t,n)=>{"use strict";n.d(t,{GG:()=>c,S8:()=>s,cd:()=>l,nj:()=>u});var r=n(53390),i=n(23440),o=n(81085),a=n(46819);function s(e,t=100,n=1/0){try{return c("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function l(e,t=3,n=102400){const r=s(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?l(e,t-1,n):r;var i}function c(e,t,n=1/0,s=1/0,l=(0,i.s)()){const[u,f]=l;if(null==t||["number","boolean","string"].includes(typeof t)&&!(0,r.yr)(t))return t;const d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,a.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const n=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;const p="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===p)return d.replace("object ","");if(u(t))return"[Circular ~]";const h=t;if(h&&"function"==typeof h.toJSON)try{return c("",h.toJSON(),p-1,s,l)}catch(e){}const m=Array.isArray(t)?[]:{};let g=0;const v=(0,o.W4)(t);for(const e in v){if(!Object.prototype.hasOwnProperty.call(v,e))continue;if(g>=s){m[e]="[MaxProperties ~]";break}const t=v[e];m[e]=c(e,t,p-1,s,l),g++}return f(t),m}function u(e,t){const n=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=e;try{r=decodeURI(e)}catch(e){}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${n}/*`,"ig"),"app:///")}},81085:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>v,GS:()=>l,HF:()=>g,W4:()=>p,ey:()=>b,my:()=>c,pO:()=>u,sp:()=>f,u4:()=>d});var r=n(18660),i=n(98406),o=n(53390),a=n(4870),s=n(58647);function l(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&u(i,r),e[t]=i}function c(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){i.T&&a.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,c(e,"__sentry_original__",t)}catch(e){}}function f(e){return e.__sentry_original__}function d(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function p(e){if((0,o.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if((0,o.xH)(e)){const t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...m(e)};return"undefined"!=typeof CustomEvent&&(0,o.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function h(e){try{return(0,o.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function m(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function g(e,t=40){const n=Object.keys(p(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,s.xv)(n[0],t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:(0,s.xv)(r,t)}return""}function v(e){return y(e,new Map)}function y(e,t){if(function(e){if(!(0,o.Qd)(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=y(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(y(e,t))})),r}return e}function b(e){let t;switch(!0){case null==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case(0,o.sO)(e):t=new e.constructor(e);break;default:t=e}return t}},13729:(e,t,n)=>{"use strict";function r(e,t){let n=0;for(let t=e.length-1;t>=0;t--){const r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}n.d(t,{Fd:()=>c,P8:()=>p,V8:()=>l,fj:()=>f,hd:()=>a,oP:()=>u,pD:()=>d});const i=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function o(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=i.exec(t);return n?n.slice(1):[]}function a(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=r(t.split("/").filter((e=>!!e)),!n).join("/"),(n?"/":"")+t||"."}function s(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function l(e,t){e=a(e).slice(1),t=a(t).slice(1);const n=s(e.split("/")),r=s(t.split("/")),i=Math.min(n.length,r.length);let o=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){o=e;break}let l=[];for(let e=o;e<n.length;e++)l.push("..");return l=l.concat(r.slice(o)),l.join("/")}function c(e){const t=u(e),n="/"===e.slice(-1);let i=r(e.split("/").filter((e=>!!e)),!t).join("/");return i||t||(i="."),i&&n&&(i+="/"),(t?"/":"")+i}function u(e){return"/"===e.charAt(0)}function f(...e){return c(e.join("/"))}function d(e){const t=o(e),n=t[0];let r=t[1];return n||r?(r&&(r=r.slice(0,r.length-1)),n+r):"."}function p(e,t){let n=o(e)[2];return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n}},38731:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(17402),i=n(78336);function o(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(o){if(!(void 0===e||t.length<e))return(0,i.xg)(new r.U("Not adding Promise because buffer limit was reached."));const a=o();return-1===t.indexOf(a)&&t.push(a),a.then((()=>n(a))).then(null,(()=>n(a).then(null,(()=>{})))),a},drain:function(e){return new i.T2(((n,r)=>{let o=t.length;if(!o)return n(!0);const a=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,i.XW)(e).then((()=>{--o||(clearTimeout(a),n(!0))}),r)}))}))}}}},40413:(e,t,n)=>{"use strict";n.d(t,{FA:()=>i,Jz:()=>a,Z3:()=>o,e1:()=>r,wq:()=>s});const r=6e4;function i(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${e}`);return isNaN(i)?r:i-t}function o(e,t){return e[t]||e.all||0}function a(e,t,n=Date.now()){return o(e,t)>n}function s(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},a=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(a)for(const e of a.trim().split(",")){const[t,n,,,i]=e.split(":",5),a=parseInt(t,10),s=1e3*(isNaN(a)?60:a);if(n)for(const e of n.split(";"))"metric_bucket"===e&&i&&!i.split(";").includes("custom")||(o[e]=r+s);else o.all=r+s}else s?o.all=r+i(s,r):429===t&&(o.all=r+6e4);return o}},12471:(e,t,n)=>{"use strict";n.d(t,{cx:()=>u,GY:()=>h,em:()=>f,Up:()=>d,Rj:()=>p,NI:()=>g,xF:()=>v});var r=n(98406),i=n(53390),o=n(4870),a=n(79659),s=n(81961);const l={ip:!1,request:!0,transaction:!0,user:!0},c=["cookies","data","headers","method","query_string","url"],u=["id","username","email"];function f(e,t,n){if(e){if(!e.metadata.source||"url"===e.metadata.source){const[n,r]=d(t,{path:!0,method:!0});e.updateName(n),e.setMetadata({source:r})}e.setAttribute("url",t.originalUrl||t.url),t.baseUrl&&e.setAttribute("baseUrl",t.baseUrl),e.setData("query",m(t,n))}}function d(e,t={}){const n=e.method&&e.method.toUpperCase();let r="",i="url";t.customRoute||e.route?(r=t.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,i="route"):(e.originalUrl||e.url)&&(r=(0,s.f)(e.originalUrl||e.url||""));let o="";return t.method&&n&&(o+=n),t.method&&t.path&&(o+=" "),t.path&&r&&(o+=r),[o,i]}function p(e,t){const{include:n=c,deps:r}=t||{},o={},s=e.headers||{},l=e.method,u=s.host||e.hostname||e.host||"<no host>",f="https"===e.protocol||e.socket&&e.socket.encrypted?"https":"http",d=e.originalUrl||e.url||"",p=d.startsWith(f)?d:`${f}://${u}${d}`;return n.forEach((t=>{switch(t){case"headers":o.headers=s,n.includes("cookies")||delete o.headers.cookie;break;case"method":o.method=l;break;case"url":o.url=p;break;case"cookies":o.cookies=e.cookies||s.cookie&&function(e){const t={};let n=0;for(;n<e.length;){const r=e.indexOf("=",n);if(-1===r)break;let i=e.indexOf(";",n);if(-1===i)i=e.length;else if(i<r){n=e.lastIndexOf(";",r-1)+1;continue}const o=e.slice(n,r).trim();if(void 0===t[o]){let n=e.slice(r+1,i).trim();34===n.charCodeAt(0)&&(n=n.slice(1,-1));try{t[o]=-1!==n.indexOf("%")?decodeURIComponent(n):n}catch(e){t[o]=n}}n=i+1}return t}(s.cookie)||{};break;case"query_string":o.query_string=m(e,r);break;case"data":if("GET"===l||"HEAD"===l)break;void 0!==e.body&&(o.data=(0,i.Kg)(e.body)?e.body:JSON.stringify((0,a.S8)(e.body)));break;default:({}).hasOwnProperty.call(e,t)&&(o[t]=e[t])}})),o}function h(e,t,n){const r={...l,...n&&n.include};if(r.request){const i=Array.isArray(r.request)?p(t,{include:r.request,deps:n&&n.deps}):p(t,{deps:n&&n.deps});e.request={...e.request,...i}}if(r.user){const n=t.user&&(0,i.Qd)(t.user)?function(e,t){const n={};return(Array.isArray(t)?t:u).forEach((t=>{e&&t in e&&(n[t]=e[t])})),n}(t.user,r.user):{};Object.keys(n).length&&(e.user={...e.user,...n})}if(r.ip){const n=t.ip||t.socket&&t.socket.remoteAddress;n&&(e.user={...e.user,ip_address:n})}return r.transaction&&!e.transaction&&(e.transaction=function(e,t){switch(t){case"path":return d(e,{path:!0})[0];case"handler":return e.route&&e.route.stack&&e.route.stack[0]&&e.route.stack[0].name||"<anonymous>";default:return d(e,{path:!0,method:!0,customRoute:e._reconstructedRoute?e._reconstructedRoute:void 0})[0]}}(t,r.transaction)),e}function m(e,t){let n=e.originalUrl||e.url||"";if(n){n.startsWith("/")&&(n=`http://dogs.are.great${n}`);try{return e.query||"undefined"!=typeof URL&&new URL(n).search.slice(1)||t&&t.url&&t.url.parse(n).query||void 0}catch(e){return}}}function g(e){const t={};try{e.forEach(((e,n)=>{"string"==typeof e&&(t[n]=e)}))}catch(e){r.T&&o.vF.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return t}function v(e){const t=g(e.headers);return{method:e.method,url:e.url,headers:t}}},26877:(e,t,n)=>{"use strict";n.d(t,{$7:()=>r,Nv:()=>i,te:()=>o});const r=["fatal","error","warning","log","info","debug"];function i(e){return o(e)}function o(e){return"warn"===e?"warning":r.includes(e)?e:"log"}},46819:(e,t,n)=>{"use strict";n.d(t,{Vi:()=>c,gd:()=>s,o:()=>d,qQ:()=>f,vk:()=>l});var r=n(29987);const i=50,o=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const r=[],a=e.split("\n");for(let e=n;e<a.length;e++){const n=a[e];if(n.length>1024)continue;const s=o.test(n)?n.replace(o,"$1"):n;if(!s.match(/\S*Error: /)){for(const e of t){const t=e(s);if(t){r.push(t);break}}if(r.length>=i)break}}return c(r)}}function l(e){return Array.isArray(e)?s(...e):e}function c(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),a.test(t[t.length-1].function||"")&&(t.pop(),a.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,i).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}const u="<anonymous>";function f(e){try{return e&&"function"==typeof e&&e.name||u}catch(e){return u}}function d(e){return[90,(0,r.r)(e)]}},58647:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>l,_c:()=>s,gt:()=>a,nC:()=>o,xv:()=>i});var r=n(53390);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let i=Math.max(t-60,0);i<5&&(i=0);let o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n=`'{snip} ${n}`),o<r&&(n+=" {snip}"),n}function a(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const i=e[t];try{(0,r.L2)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function s(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))}function l(e,t=[],n=!1){return t.some((t=>s(e,t,n)))}},68970:(e,t,n)=>{"use strict";n.d(t,{$y:()=>s,K8:()=>p,NH:()=>a,ap:()=>u,kP:()=>l,m7:()=>f,vQ:()=>d,vm:()=>c});var r=n(98406),i=n(4870);const o=(0,n(2859).VZ)();function a(){try{return new ErrorEvent(""),!0}catch(e){return!1}}function s(){try{return new DOMError(""),!0}catch(e){return!1}}function l(){try{return new DOMException(""),!0}catch(e){return!1}}function c(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function u(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function f(){if("string"==typeof EdgeRuntime)return!0;if(!c())return!1;if(u(o.fetch))return!0;let e=!1;const t=o.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=u(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.T&&i.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function d(){return"ReportingObserver"in o}function p(){if(!c())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}},78336:(e,t,n)=>{"use strict";n.d(t,{T2:()=>s,XW:()=>o,xg:()=>a});var r,i=n(53390);function o(e){return new s((t=>{t(e)}))}function a(e){return new s(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(r||(r={}));class s{constructor(e){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new s(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new s(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===r.PENDING&&((0,i.Qg)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}}}},3771:(e,t,n)=>{"use strict";n.d(t,{LU:()=>s,gt:()=>l,k3:()=>c,lu:()=>o,zf:()=>a});var r=n(2859);const i=1e3;function o(){return Date.now()/i}const a=function(){const{performance:e}=r.OW;if(!e||!e.now)return o;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/i}(),s=a;let l;const c=(()=>{const{performance:e}=r.OW;if(!e||!e.now)return void(l="none");const t=36e5,n=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,a=o<t,s=e.timing&&e.timing.navigationStart,c="number"==typeof s?Math.abs(s+n-i):t;return a||c<t?o<=c?(l="timeOrigin",e.timeOrigin):(l="navigationStart",s):(l="dateNow",i)})()},3098:(e,t,n)=>{"use strict";n.d(t,{E0:()=>s,MI:()=>o,TC:()=>c,kM:()=>l,nc:()=>a});var r=n(90670),i=n(91666);const o=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e){if(!e)return;const t=e.match(o);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function s(e,t){const n=a(e),o=(0,r.yD)(t),{traceId:s,parentSpanId:l,parentSampled:c}=n||{};return n?{traceparentData:n,dynamicSamplingContext:o||{},propagationContext:{traceId:s||(0,i.eJ)(),parentSpanId:l||(0,i.eJ)().substring(16),spanId:(0,i.eJ)().substring(16),sampled:c,dsc:o||{}}}:{traceparentData:n,dynamicSamplingContext:void 0,propagationContext:{traceId:s||(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}}function l(e,t){const n=a(e),o=(0,r.yD)(t),{traceId:s,parentSpanId:l,parentSampled:c}=n||{};return n?{traceId:s||(0,i.eJ)(),parentSpanId:l||(0,i.eJ)().substring(16),spanId:(0,i.eJ)().substring(16),sampled:c,dsc:o||{}}:{traceId:s||(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}function c(e=(0,i.eJ)(),t=(0,i.eJ)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},81961:(e,t,n)=>{"use strict";function r(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function i(e){return e.split(/[\?#]/,1)[0]}function o(e){return e.split(/\\?\//).filter((e=>e.length>0&&","!==e)).length}function a(e){const{protocol:t,host:n,path:r}=e;return`${t?`${t}://`:""}${n&&n.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||""}${r}`}n.d(t,{Dl:()=>r,c4:()=>o,e_:()=>a,f:()=>i})},57215:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});const r=(0,n(2859).VZ)();function i(){const e=r.chrome,t=e&&e.app&&e.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!t&&n}},2859:(e,t,n)=>{"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{BY:()=>a,OW:()=>i,VZ:()=>o});const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof global&&r(global)||function(){return this}()||{};function o(){return i}function a(e,t,n){const r=n||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}},68881:(e,t,n)=>{"use strict";var r=n(82290);function i(e,t){if(Array.isArray(t)){for(var n=0;n<t.length;n++)o(t[n])(e);return e}if(t)return o(t)(e),e;for(t in r)o(t)(e);return e}function o(e){var t=r[e];if(!t)throw new Error("Unknown keyword "+e);return t}e.exports=i,i.get=o},82197:(e,t,n)=>{"use strict";var r=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,i=/t|\s/i,o={date:s,time:l,"date-time":function(e,t){if(e&&t){e=e.split(i),t=t.split(i);var n=s(e[0],t[0]);if(void 0!==n)return n||l(e[1],t[1])}}},a={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1};function s(e,t){if(e&&t)return e>t?1:e<t?-1:e===t?0:void 0}function l(e,t){if(e&&t&&(e=e.match(r),t=t.match(r),e&&t))return(e=e[1]+e[2]+e[3]+(e[4]||""))>(t=t[1]+t[2]+t[3]+(t[4]||""))?1:e<t?-1:e===t?0:void 0}e.exports=function(e){var t="format"+e;return function r(i){return r.definition={type:"string",inline:n(81428),statements:!0,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},a]}},i.addKeyword(t,r.definition),i.addKeyword("formatExclusive"+e,{dependencies:["format"+e],metaSchema:{anyOf:[{type:"boolean"},a]}}),function(e){var t=e._formats;for(var n in o){var r=t[n];("object"!=typeof r||r instanceof RegExp||!r.validate)&&(r=t[n]={validate:r}),r.compare||(r.compare=o[n])}}(i),i}}},40879:e=>{"use strict";e.exports={metaSchemaRef:function(e){var n=e._opts.defaultMeta;return"string"==typeof n?{$ref:n}:e.getSchema(t)?{$ref:t}:(console.warn("meta schema not defined"),{})}};var t="http://json-schema.org/draft-07/schema"},93556:e=>{"use strict";e.exports=function e(t){return e.definition={type:"object",macro:function(e,t){if(!e)return!0;var n=Object.keys(t.properties);return 0==n.length||{required:n}},metaSchema:{type:"boolean"},dependencies:["properties"]},t.addKeyword("allRequired",e.definition),t}},89369:e=>{"use strict";e.exports=function e(t){return e.definition={type:"object",macro:function(e){return 0==e.length||(1==e.length?{required:e}:{anyOf:e.map((function(e){return{required:[e]}}))})},metaSchema:{type:"array",items:{type:"string"}}},t.addKeyword("anyRequired",e.definition),t}},29891:(e,t,n)=>{"use strict";var r=n(40879);function i(e,t){for(var n=e.split("/"),r={},i=r,o=1;o<n.length;o++){var a=n[o],s=o==n.length-1;a=a.replace(/~1/g,"/").replace(/~0/g,"~");var l=i.properties={},c=void 0;if(/[0-9]+/.test(a)){var u=+a;for(c=i.items=[];u--;)c.push({})}i=s?t:{},l[a]=i,c&&c.push(i)}return r}e.exports=function e(t){return e.definition={type:"object",macro:function(e){var t=[];for(var n in e)t.push(i(n,e[n]));return{allOf:t}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:r.metaSchemaRef(t)}},t.addKeyword("deepProperties",e.definition),t}},71631:e=>{"use strict";function t(e,t){var o="data"+(t||"");if(!e)return o;for(var a,s=o,l=e.split("/"),c=1;c<l.length;c++){s+=" && "+(o+=(a=l[c].replace(/~1/g,"/").replace(/~0/g,"~"),r.test(a)?"["+a+"]":n.test(a)?"."+a:"['"+a.replace(i,"\\$&")+"']"))}return s}e.exports=function e(n){return e.definition={type:"object",inline:function(e,n,r){for(var i="",o=0;o<r.length;o++)o&&(i+=" && "),i+="("+t(r[o],e.dataLevel)+" !== undefined)";return i},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}},n.addKeyword("deepRequired",e.definition),n};var n=/^[a-z$_][a-z$_0-9]*$/i,r=/^[0-9]+$/,i=/'|\\/g},81428:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i;if(r+="var "+f+" = undefined;",!1===e.opts.format)return r+" "+f+" = true; ";var d=e.schema.format,p=e.opts.$data&&d.$data,h="";if(p)r+=" var "+(m="format"+i)+" = formats["+e.util.getData(d.$data,o,e.dataPathArr)+"] , "+(g="compare"+i)+" = "+m+" && "+m+".compare;";else{var m;if(!(m=e.formats[d])||!m.compare)return r+"  "+f+" = true; ";var g="formats"+e.util.getProperty(d)+".compare"}var v,y,b="formatMaximum"==t,_="formatExclusive"+(b?"Maximum":"Minimum"),w=e.schema[_],S=e.opts.$data&&w&&w.$data,x=b?"<":">",E="result"+i,k=e.opts.$data&&a&&a.$data;if(k?(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",v="schema"+i):v=a,S){var C=e.util.getData(w.$data,o,e.dataPathArr),O="exclusive"+i,T="' + "+(M="op"+i)+" + '";r+=" var schemaExcl"+i+" = "+C+"; ",r+=" if (typeof "+(C="schemaExcl"+i)+" != 'boolean' && "+C+" !== undefined) { "+f+" = false; ";var P=_;(y=y||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(P||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: '"+_+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var A=r;r=y.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+A+"]); ":r+=" validate.errors = ["+A+"]; return false; ":r+=" var err = "+A+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }  ",c&&(h+="}",r+=" else { "),k&&(r+=" if ("+v+" === undefined) "+f+" = true; else if (typeof "+v+" != 'string') "+f+" = false; else { ",h+="}"),p&&(r+=" if (!"+g+") "+f+" = true; else { ",h+="}"),r+=" var "+E+" = "+g+"("+u+",  ",r+=k?""+v:""+e.util.toQuotedString(a),r+=" ); if ("+E+" === undefined) "+f+" = false; var "+O+" = "+C+" === true; if ("+f+" === undefined) { "+f+" = "+O+" ? "+E+" "+x+" 0 : "+E+" "+x+"= 0; } if (!"+f+") var op"+i+" = "+O+" ? '"+x+"' : '"+x+"=';"}else{T=x,(O=!0===w)||(T+="=");var M="'"+T+"'";k&&(r+=" if ("+v+" === undefined) "+f+" = true; else if (typeof "+v+" != 'string') "+f+" = false; else { ",h+="}"),p&&(r+=" if (!"+g+") "+f+" = true; else { ",h+="}"),r+=" var "+E+" = "+g+"("+u+",  ",r+=k?""+v:""+e.util.toQuotedString(a),r+=" ); if ("+E+" === undefined) "+f+" = false; if ("+f+" === undefined) "+f+" = "+E+" "+x,O||(r+="="),r+=" 0;"}return r+=h+"if (!"+f+") { ",P=t,(y=y||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(P||"_formatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+M+", limit:  ",r+=k?""+v:""+e.util.toQuotedString(a),r+=" , exclusive: "+O+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be "+T+' "',r+=k?"' + "+v+" + '":""+e.util.escapeQuotes(a),r+="\"' "),e.opts.verbose&&(r+=" , schema:  ",r+=k?"validate.schema"+s:""+e.util.toQuotedString(a),r+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",A=r,r=y.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+A+"]); ":r+=" validate.errors = ["+A+"]; return false; ":r+=" var err = "+A+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+"}"}},21830:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d="key"+i,p="idx"+i,h="patternMatched"+i,m="dataProperties"+i,g="",v=e.opts.ownProperties;r+="var "+f+" = true;",v&&(r+=" var "+m+" = undefined;");var y=a;if(y)for(var b,_=-1,w=y.length-1;_<w;){b=y[_+=1],r+=" var "+h+" = false;  ",r+=v?" "+m+" = "+m+" || Object.keys("+u+"); for (var "+p+"=0; "+p+"<"+m+".length; "+p+"++) { var "+d+" = "+m+"["+p+"]; ":" for (var "+d+" in "+u+") { ",r+=" "+h+" = "+e.usePattern(b)+".test("+d+"); if ("+h+") break; } ";var S=e.util.escapeQuotes(b);r+=" if (!"+h+") { "+f+" = false;  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'patternRequired' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingPattern: '"+S+"' } ",!1!==e.opts.messages&&(r+=" , message: 'should have property matching pattern \\'"+S+"\\'' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; }   ",c&&(g+="}",r+=" else { ")}return r+""+g}},25337:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d="errs__"+i,p=e.util.copy(e),h="";p.level++;var m,g="valid"+p.level,v="ifPassed"+e.level,y=p.baseId;r+="var "+v+";";var b=a;if(b)for(var _,w=-1,S=b.length-1;w<S;){if(_=b[w+=1],w&&!m&&(r+=" if (!"+v+") { ",h+="}"),_.if&&(e.opts.strictKeywords?"object"==typeof _.if&&Object.keys(_.if).length>0:e.util.schemaHasRules(_.if,e.RULES.all))){r+=" var "+d+" = errors;   ";var x=e.compositeRule;if(e.compositeRule=p.compositeRule=!0,p.createErrors=!1,p.schema=_.if,p.schemaPath=s+"["+w+"].if",p.errSchemaPath=l+"/"+w+"/if",r+="  "+e.validate(p)+" ",p.baseId=y,p.createErrors=!0,e.compositeRule=p.compositeRule=x,r+=" "+v+" = "+g+"; if ("+v+") {  ","boolean"==typeof _.then){if(!1===_.then){(k=k||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'switch' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { caseIndex: "+w+" } ",!1!==e.opts.messages&&(r+=" , message: 'should pass \"switch\" keyword validation' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var E=r;r=k.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" var "+g+" = "+_.then+"; "}else p.schema=_.then,p.schemaPath=s+"["+w+"].then",p.errSchemaPath=l+"/"+w+"/then",r+="  "+e.validate(p)+" ",p.baseId=y;r+="  } else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } } "}else if(r+=" "+v+" = true;  ","boolean"==typeof _.then){var k;if(!1===_.then)(k=k||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'switch' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { caseIndex: "+w+" } ",!1!==e.opts.messages&&(r+=" , message: 'should pass \"switch\" keyword validation' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",E=r,r=k.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";r+=" var "+g+" = "+_.then+"; "}else p.schema=_.then,p.schemaPath=s+"["+w+"].then",p.errSchemaPath=l+"/"+w+"/then",r+="  "+e.validate(p)+" ",p.baseId=y;m=_.continue}return r+(h+"var ")+f+" = "+g+";"}},81541:e=>{"use strict";var t={},n={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(e){var t=e&&e.max||2;return function(){return Math.floor(Math.random()*t)}},seq:function(e){var n=e&&e.name||"";return t[n]=t[n]||0,function(){return t[n]++}}};e.exports=function e(t){return e.definition={compile:function(e,t,n){var i={};for(var o in e){var a=e[o],s=r("string"==typeof a?a:a.func);i[o]=s.length?s(a.args):s}return n.opts.useDefaults&&!n.compositeRule?function(t){for(var r in e)void 0!==t[r]&&("empty"!=n.opts.useDefaults||null!==t[r]&&""!==t[r])||(t[r]=i[r]());return!0}:function(){return!0}},DEFAULTS:n,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}},t.addKeyword("dynamicDefaults",e.definition),t;function r(e){var t=n[e];if(t)return t;throw new Error('invalid "dynamicDefaults" keyword property value: '+e)}}},55981:(e,t,n)=>{"use strict";e.exports=n(82197)("Maximum")},46519:(e,t,n)=>{"use strict";e.exports=n(82197)("Minimum")},82290:(e,t,n)=>{"use strict";e.exports={instanceof:n(73354),range:n(74375),regexp:n(4889),typeof:n(93801),dynamicDefaults:n(81541),allRequired:n(93556),anyRequired:n(89369),oneRequired:n(39731),prohibited:n(56434),uniqueItemProperties:n(47385),deepProperties:n(29891),deepRequired:n(71631),formatMinimum:n(46519),formatMaximum:n(55981),patternRequired:n(93977),switch:n(16456),select:n(5496),transform:n(96166)}},73354:e=>{"use strict";var t={Object,Array,Function,Number,String,Date,RegExp};e.exports=function e(n){return"undefined"!=typeof Buffer&&(t.Buffer=Buffer),"undefined"!=typeof Promise&&(t.Promise=Promise),e.definition={compile:function(e){if("string"==typeof e){var t=r(e);return function(e){return e instanceof t}}var n=e.map(r);return function(e){for(var t=0;t<n.length;t++)if(e instanceof n[t])return!0;return!1}},CONSTRUCTORS:t,metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},n.addKeyword("instanceof",e.definition),n;function r(e){var n=t[e];if(n)return n;throw new Error('invalid "instanceof" keyword value '+e)}}},39731:e=>{"use strict";e.exports=function e(t){return e.definition={type:"object",macro:function(e){return 0==e.length||(1==e.length?{required:e}:{oneOf:e.map((function(e){return{required:[e]}}))})},metaSchema:{type:"array",items:{type:"string"}}},t.addKeyword("oneRequired",e.definition),t}},93977:(e,t,n)=>{"use strict";e.exports=function e(t){return e.definition={type:"object",inline:n(21830),statements:!0,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:!0}},t.addKeyword("patternRequired",e.definition),t}},56434:e=>{"use strict";e.exports=function e(t){return e.definition={type:"object",macro:function(e){return 0==e.length||(1==e.length?{not:{required:e}}:{not:{anyOf:e.map((function(e){return{required:[e]}}))}})},metaSchema:{type:"array",items:{type:"string"}}},t.addKeyword("prohibited",e.definition),t}},74375:e=>{"use strict";e.exports=function e(t){return e.definition={type:"number",macro:function(e,t){var n=e[0],r=e[1],i=t.exclusiveRange;return function(e,t,n){if(void 0!==n&&"boolean"!=typeof n)throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(e>t||n&&e==t)throw new Error("There are no numbers in range")}(n,r,i),!0===i?{exclusiveMinimum:n,exclusiveMaximum:r}:{minimum:n,maximum:r}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}},t.addKeyword("range",e.definition),t.addKeyword("exclusiveRange"),t}},4889:e=>{"use strict";e.exports=function e(t){return e.definition={type:"string",inline:function(e,t,n){return function(){try{if("object"==typeof n)return new RegExp(n.pattern,n.flags);var e=n.match(/^\/(.*)\/([gimuy]*)$/);if(e)return new RegExp(e[1],e[2]);throw new Error("cannot parse string into RegExp")}catch(e){throw console.error("regular expression",n,"is invalid"),e}}()+".test(data"+(e.dataLevel||"")+")"},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:!1}},t.addKeyword("regexp",e.definition),t}},5496:(e,t,n)=>{"use strict";var r=n(40879);e.exports=function e(t){if(!t._opts.$data)return console.warn("keyword select requires $data option"),t;var n=r.metaSchemaRef(t),i=[];return e.definition={validate:function e(t,n,r){if(void 0===r.selectCases)throw new Error('keyword "selectCases" is absent');var i=o(r,!1),a=i.cases[t];if(void 0===a&&(a=i.default),"boolean"==typeof a)return a;var s=a(n);return s||(e.errors=a.errors),s},$data:!0,metaSchema:{type:["string","number","boolean","null"]}},t.addKeyword("select",e.definition),t.addKeyword("selectCases",{compile:function(e,t){var n=o(t);for(var r in e)n.cases[r]=a(e[r]);return function(){return!0}},valid:!0,metaSchema:{type:"object",additionalProperties:n}}),t.addKeyword("selectDefault",{compile:function(e,t){return o(t).default=a(e),function(){return!0}},valid:!0,metaSchema:n}),t;function o(e,t){var n;return i.some((function(t){if(t.parentSchema===e)return n=t,!0})),n||!1===t||(n={parentSchema:e,cases:{},default:!0},i.push(n)),n}function a(e){return"boolean"==typeof e?e:t.compile(e)}}},16456:(e,t,n)=>{"use strict";var r=n(40879);e.exports=function e(t){if(!t.RULES.keywords.switch||!t.RULES.keywords.if){var i=r.metaSchemaRef(t);return e.definition={inline:n(25337),statements:!0,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:i,then:{anyOf:[{type:"boolean"},i]},continue:{type:"boolean"}},additionalProperties:!1,dependencies:{continue:["if"]}}}},t.addKeyword("switch",e.definition),t}}},96166:e=>{"use strict";e.exports=function e(t){var n={trimLeft:function(e){return e.replace(/^[\s]+/,"")},trimRight:function(e){return e.replace(/[\s]+$/,"")},trim:function(e){return e.trim()},toLowerCase:function(e){return e.toLowerCase()},toUpperCase:function(e){return e.toUpperCase()},toEnumCase:function(e,t){return t.hash[r(e)]||e}};return e.definition={type:"string",errors:!1,modifying:!0,valid:!0,compile:function(e,t){var i;if(-1!==e.indexOf("toEnumCase")){if(i={hash:{}},!t.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var o=t.enum.length;o--;o){var a=t.enum[o];if("string"==typeof a){var s=r(a);if(i.hash[s])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');i.hash[s]=a}}}return function(t,r,o,a){if(o){for(var s=0,l=e.length;s<l;s++)t=n[e[s]](t,i);o[a]=t}}},metaSchema:{type:"array",items:{type:"string",enum:["trimLeft","trimRight","trim","toLowerCase","toUpperCase","toEnumCase"]}}},t.addKeyword("transform",e.definition),t;function r(e){return e.toLowerCase()}}},93801:e=>{"use strict";var t=["undefined","string","number","object","function","boolean","symbol"];e.exports=function e(n){return e.definition={inline:function(e,t,n){var r="data"+(e.dataLevel||"");return"string"==typeof n?"typeof "+r+' == "'+n+'"':(n="validate.schema"+e.schemaPath+"."+t)+".indexOf(typeof "+r+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:t},{type:"array",items:{type:"string",enum:t}}]}},n.addKeyword("typeof",e.definition),n}},47385:e=>{"use strict";var t=["number","integer","string","boolean","null"];e.exports=function e(n){return e.definition={type:"array",compile:function(e,n,r){var i=r.util.equal,o=function(e,n){return e.map((function(e){var r=n.items&&n.items.properties,i=r&&r[e]&&r[e].type;return Array.isArray(i)?i.indexOf("object")<0&&i.indexOf("array")<0:t.indexOf(i)>=0}))}(e,n);return function(t){if(t.length>1)for(var n=0;n<e.length;n++){var r,a=e[n];if(o[n]){var s={};for(r=t.length;r--;)if(t[r]&&"object"==typeof t[r]){var l=t[r][a];if(!l||"object"!=typeof l){if("string"==typeof l&&(l='"'+l),s[l])return!1;s[l]=!0}}}else for(r=t.length;r--;)if(t[r]&&"object"==typeof t[r])for(var c=r;c--;)if(t[c]&&"object"==typeof t[c]&&i(t[r][a],t[c][a]))return!1}return!0}},metaSchema:{type:"array",items:{type:"string"}}},n.addKeyword("uniqueItemProperties",e.definition),n}},53445:(e,t,n)=>{"use strict";var r=n(23436),i=n(65188),o=n(15928),a=n(15131),s=n(41034),l=n(1684),c=n(2011),u=n(50404),f=n(28846);e.exports=v,v.prototype.validate=function(e,t){var n;if("string"==typeof e){if(!(n=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var r=this._addSchema(e);n=r.validate||this._compile(r)}var i=n(t);return!0!==n.$async&&(this.errors=n.errors),i},v.prototype.compile=function(e,t){var n=this._addSchema(e,void 0,t);return n.validate||this._compile(n)},v.prototype.addSchema=function(e,t,n,r){if(Array.isArray(e)){for(var o=0;o<e.length;o++)this.addSchema(e[o],void 0,n,r);return this}var a=this._getId(e);if(void 0!==a&&"string"!=typeof a)throw new Error("schema id must be string");return x(this,t=i.normalizeId(t||a)),this._schemas[t]=this._addSchema(e,n,r,!0),this},v.prototype.addMetaSchema=function(e,t,n){return this.addSchema(e,t,n,!0),this},v.prototype.validateSchema=function(e,t){var n=e.$schema;if(void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(!(n=n||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(h)?h:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var r=this.validate(n,e);if(!r&&t){var i="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(i);this.logger.error(i)}return r},v.prototype.getSchema=function(e){var t=y(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var n=i.schema.call(e,{schema:{}},t);if(n){var o=n.schema,s=n.root,l=n.baseId,c=r.call(e,o,s,void 0,l);return e._fragments[t]=new a({ref:t,fragment:!0,schema:o,root:s,baseId:l,validate:c}),c}}(this,e)}},v.prototype.removeSchema=function(e){if(e instanceof RegExp)return b(this,this._schemas,e),b(this,this._refs,e),this;switch(typeof e){case"undefined":return b(this,this._schemas),b(this,this._refs),this._cache.clear(),this;case"string":var t=y(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var n=this._opts.serialize,r=n?n(e):e;this._cache.del(r);var o=this._getId(e);o&&(o=i.normalizeId(o),delete this._schemas[o],delete this._refs[o])}return this},v.prototype.addFormat=function(e,t){return"string"==typeof t&&(t=new RegExp(t)),this._formats[e]=t,this},v.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var n=void 0===(t=t||{}).separator?", ":t.separator,r=void 0===t.dataVar?"data":t.dataVar,i="",o=0;o<e.length;o++){var a=e[o];a&&(i+=r+a.dataPath+" "+a.message+n)}return i.slice(0,-n.length)},v.prototype._addSchema=function(e,t,n,r){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var o=this._opts.serialize,s=o?o(e):e,l=this._cache.get(s);if(l)return l;r=r||!1!==this._opts.addUsedSchema;var c=i.normalizeId(this._getId(e));c&&r&&x(this,c);var u,f=!1!==this._opts.validateSchema&&!t;f&&!(u=c&&c==i.normalizeId(e.$schema))&&this.validateSchema(e,!0);var d=i.ids.call(this,e),p=new a({id:c,schema:e,localRefs:d,cacheKey:s,meta:n});return"#"!=c[0]&&r&&(this._refs[c]=p),this._cache.put(s,p),f&&u&&this.validateSchema(e,!0),p},v.prototype._compile=function(e,t){if(e.compiling)return e.validate=o,o.schema=e.schema,o.errors=null,o.root=t||o,!0===e.schema.$async&&(o.$async=!0),o;var n,i;e.compiling=!0,e.meta&&(n=this._opts,this._opts=this._metaOpts);try{i=r.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=n)}return e.validate=i,e.refs=i.refs,e.refVal=i.refVal,e.root=i.root,i;function o(){var t=e.validate,n=t.apply(this,arguments);return o.errors=t.errors,n}},v.prototype.compileAsync=n(44952);var d=n(74797);v.prototype.addKeyword=d.add,v.prototype.getKeyword=d.get,v.prototype.removeKeyword=d.remove,v.prototype.validateKeyword=d.validate;var p=n(83849);v.ValidationError=p.Validation,v.MissingRefError=p.MissingRef,v.$dataMetaSchema=u;var h="http://json-schema.org/draft-07/schema",m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],g=["/properties"];function v(e){if(!(this instanceof v))return new v(e);e=this._opts=f.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:E,warn:E,error:E};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=l(e.format),this._cache=e.cache||new o,this._loadingSchemas={},this._compilations=[],this.RULES=c(),this._getId=function(e){switch(e.schemaId){case"auto":return S;case"id":return _;default:return w}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=s),this._metaOpts=function(e){for(var t=f.copy(e._opts),n=0;n<m.length;n++)delete t[m[n]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var n=e._opts.formats[t];e.addFormat(t,n)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var n=e._opts.keywords[t];e.addKeyword(t,n)}}(this),function(e){var t;if(e._opts.$data&&(t=n(53420),e.addMetaSchema(t,t.$id,!0)),!1!==e._opts.meta){var r=n(8198);e._opts.$data&&(r=u(r,g)),e.addMetaSchema(r,h,!0),e._refs["http://json-schema.org/schema"]=h}}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(t)if(Array.isArray(t))e.addSchema(t);else for(var n in t)e.addSchema(t[n],n)}(this)}function y(e,t){return t=i.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function b(e,t,n){for(var r in t){var i=t[r];i.meta||n&&!n.test(r)||(e._cache.del(i.cacheKey),delete t[r])}}function _(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function w(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function S(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function x(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function E(){}},15928:e=>{"use strict";var t=e.exports=function(){this._cache={}};t.prototype.put=function(e,t){this._cache[e]=t},t.prototype.get=function(e){return this._cache[e]},t.prototype.del=function(e){delete this._cache[e]},t.prototype.clear=function(){this._cache={}}},44952:(e,t,n)=>{"use strict";var r=n(83849).MissingRef;e.exports=function e(t,n,i){var o=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof n&&(i=n,n=void 0);var a=s(t).then((function(){var e=o._addSchema(t,void 0,n);return e.validate||l(e)}));return i&&a.then((function(e){i(null,e)}),i),a;function s(t){var n=t.$schema;return n&&!o.getSchema(n)?e.call(o,{$ref:n},!0):Promise.resolve()}function l(e){try{return o._compile(e)}catch(t){if(t instanceof r)return function(t){var r=t.missingSchema;if(c(r))throw new Error("Schema "+r+" is loaded but "+t.missingRef+" cannot be resolved");var i=o._loadingSchemas[r];return i||(i=o._loadingSchemas[r]=o._opts.loadSchema(r)).then(a,a),i.then((function(e){if(!c(r))return s(e).then((function(){c(r)||o.addSchema(e,r,void 0,n)}))})).then((function(){return l(e)}));function a(){delete o._loadingSchemas[r]}function c(e){return o._refs[e]||o._schemas[e]}}(t);throw t}}}},83849:(e,t,n)=>{"use strict";var r=n(65188);function i(e,t,n){this.message=n||i.message(e,t),this.missingRef=r.url(e,t),this.missingSchema=r.normalizeId(r.fullPath(this.missingRef))}function o(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:o((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:o(i)},i.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},1684:(e,t,n)=>{"use strict";var r=n(28846),i=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31],a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,s=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,c=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,u=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,f=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~/]|~0|~1)*)*$/,p=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,h=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function m(e){return e="full"==e?"full":"fast",r.copy(m[e])}function g(e){var t=e.match(i);if(!t)return!1;var n=+t[1],r=+t[2],a=+t[3];return r>=1&&r<=12&&a>=1&&a<=(2==r&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(n)?29:o[r])}function v(e,t){var n=e.match(a);if(!n)return!1;var r=n[1],i=n[2],o=n[3],s=n[5];return(r<=23&&i<=59&&o<=59||23==r&&59==i&&60==o)&&(!t||s)}e.exports=m,m.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:f,"json-pointer":d,"json-pointer-uri-fragment":p,"relative-json-pointer":h},m.full={date:g,time:v,"date-time":function(e){var t=e.split(y);return 2==t.length&&g(t[0])&&v(t[1],!0)},uri:function(e){return b.test(e)&&l.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:f,"json-pointer":d,"json-pointer-uri-fragment":p,"relative-json-pointer":h};var y=/t|\s/i,b=/\/|:/,_=/[^\\]\\Z/;function w(e){if(_.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},23436:(e,t,n)=>{"use strict";var r=n(65188),i=n(28846),o=n(83849),a=n(41034),s=n(69035),l=i.ucs2length,c=n(88719),u=o.Validation;function f(e,t,n){var r=p.call(this,e,t,n);return r>=0?{index:r,compiling:!0}:(r=this._compilations.length,this._compilations[r]={schema:e,root:t,baseId:n},{index:r,compiling:!1})}function d(e,t,n){var r=p.call(this,e,t,n);r>=0&&this._compilations.splice(r,1)}function p(e,t,n){for(var r=0;r<this._compilations.length;r++){var i=this._compilations[r];if(i.schema==e&&i.root==t&&i.baseId==n)return r}return-1}function h(e,t){return"var pattern"+e+" = new RegExp("+i.toQuotedString(t[e])+");"}function m(e){return"var default"+e+" = defaults["+e+"];"}function g(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function v(e){return"var customRule"+e+" = customRules["+e+"];"}function y(e,t){if(!e.length)return"";for(var n="",r=0;r<e.length;r++)n+=t(r,e);return n}e.exports=function e(t,n,p,b){var _=this,w=this._opts,S=[void 0],x={},E=[],k={},C=[],O={},T=[];n=n||{schema:t,refVal:S,refs:x};var P=f.call(this,t,n,b),A=this._compilations[P.index];if(P.compiling)return A.callValidate=function e(){var t=A.validate,n=t.apply(this,arguments);return e.errors=t.errors,n};var M=this._formats,L=this.RULES;try{var I=D(t,n,p,b);A.validate=I;var R=A.callValidate;return R&&(R.schema=I.schema,R.errors=null,R.refs=I.refs,R.refVal=I.refVal,R.root=I.root,R.$async=I.$async,w.sourceCode&&(R.source=I.source)),I}finally{d.call(this,t,n,b)}function D(t,a,f,d){var p=!a||a&&a.schema==t;if(a.schema!=n.schema)return e.call(_,t,a,f,d);var b,k=!0===t.$async,O=s({isTop:!0,schema:t,isRoot:p,baseId:d,root:a,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:o.MissingRef,RULES:L,validate:s,util:i,resolve:r,resolveRef:j,usePattern:B,useDefault:z,useCustomRule:$,opts:w,formats:M,logger:_.logger,self:_});O=y(S,g)+y(E,h)+y(C,m)+y(T,v)+O,w.processCode&&(O=w.processCode(O,t));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",O)(_,L,M,n,S,C,T,c,l,u),S[0]=b}catch(e){throw _.logger.error("Error compiling schema, function code:",O),e}return b.schema=t,b.errors=null,b.refs=x,b.refVal=S,b.root=p?b:a,k&&(b.$async=!0),!0===w.sourceCode&&(b.source={code:O,patterns:E,defaults:C}),b}function j(t,i,o){i=r.url(t,i);var a,s,l=x[i];if(void 0!==l)return F(a=S[l],s="refVal["+l+"]");if(!o&&n.refs){var c=n.refs[i];if(void 0!==c)return F(a=n.refVal[c],s=N(i,a))}s=N(i);var u=r.call(_,D,n,i);if(void 0===u){var f=p&&p[i];f&&(u=r.inlineRef(f,w.inlineRefs)?f:e.call(_,f,n,p,t))}if(void 0!==u)return function(e,t){var n=x[e];S[n]=t}(i,u),F(u,s);!function(e){delete x[e]}(i)}function N(e,t){var n=S.length;return S[n]=t,x[e]=n,"refVal"+n}function F(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function B(e){var t=k[e];return void 0===t&&(t=k[e]=E.length,E[t]=e),"pattern"+t}function z(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return i.toQuotedString(e);case"object":if(null===e)return"null";var t=a(e),n=O[t];return void 0===n&&(n=O[t]=C.length,C[n]=e),"default"+n}}function $(e,t,n,r){if(!1!==_._opts.validateSchema){var i=e.definition.dependencies;if(i&&!i.every((function(e){return Object.prototype.hasOwnProperty.call(n,e)})))throw new Error("parent schema must have all required keywords: "+i.join(","));var o=e.definition.validateSchema;if(o&&!o(t)){var a="keyword schema is invalid: "+_.errorsText(o.errors);if("log"!=_._opts.validateSchema)throw new Error(a);_.logger.error(a)}}var s,l=e.definition.compile,c=e.definition.inline,u=e.definition.macro;if(l)s=l.call(_,t,n,r);else if(u)s=u.call(_,t,n,r),!1!==w.validateSchema&&_.validateSchema(s,!0);else if(c)s=c.call(_,r,e.keyword,t,n);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var f=T.length;return T[f]=s,{code:"customRule"+f,validate:s}}}},65188:(e,t,n)=>{"use strict";var r=n(72905),i=n(88719),o=n(28846),a=n(15131),s=n(61404);function l(e,t,n){var r=this._refs[n];if("string"==typeof r){if(!this._refs[r])return l.call(this,e,t,r);r=this._refs[r]}if((r=r||this._schemas[n])instanceof a)return h(r.schema,this._opts.inlineRefs)?r.schema:r.validate||this._compile(r);var i,o,s,u=c.call(this,t,n);return u&&(i=u.schema,t=u.root,s=u.baseId),i instanceof a?o=i.validate||e.call(this,i.schema,t,void 0,s):void 0!==i&&(o=h(i,this._opts.inlineRefs)?i:e.call(this,i,t,void 0,s)),o}function c(e,t){var n=r.parse(t),i=y(n),o=v(this._getId(e.schema));if(0===Object.keys(e.schema).length||i!==o){var s=_(i),l=this._refs[s];if("string"==typeof l)return u.call(this,e,l,n);if(l instanceof a)l.validate||this._compile(l),e=l;else{if(!((l=this._schemas[s])instanceof a))return;if(l.validate||this._compile(l),s==_(t))return{schema:l,root:e,baseId:o};e=l}if(!e.schema)return;o=v(this._getId(e.schema))}return d.call(this,n,o,e.schema,e)}function u(e,t,n){var r=c.call(this,e,t);if(r){var i=r.schema,o=r.baseId;e=r.root;var a=this._getId(i);return a&&(o=w(o,a)),d.call(this,n,o,i,e)}}e.exports=l,l.normalizeId=_,l.fullPath=v,l.url=w,l.ids=function(e){var t=_(this._getId(e)),n={"":t},a={"":v(t,!1)},l={},c=this;return s(e,{allKeys:!0},(function(e,t,s,u,f,d,p){if(""!==t){var h=c._getId(e),m=n[u],g=a[u]+"/"+f;if(void 0!==p&&(g+="/"+("number"==typeof p?p:o.escapeFragment(p))),"string"==typeof h){h=m=_(m?r.resolve(m,h):h);var v=c._refs[h];if("string"==typeof v&&(v=c._refs[v]),v&&v.schema){if(!i(e,v.schema))throw new Error('id "'+h+'" resolves to more than one schema')}else if(h!=_(g))if("#"==h[0]){if(l[h]&&!i(e,l[h]))throw new Error('id "'+h+'" resolves to more than one schema');l[h]=e}else c._refs[h]=g}n[t]=m,a[t]=g}})),l},l.inlineRef=h,l.schema=c;var f=o.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function d(e,t,n,r){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var i=e.fragment.split("/"),a=1;a<i.length;a++){var s=i[a];if(s){if(void 0===(n=n[s=o.unescapeFragment(s)]))break;var l;if(!f[s]&&((l=this._getId(n))&&(t=w(t,l)),n.$ref)){var u=w(t,n.$ref),d=c.call(this,r,u);d&&(n=d.schema,r=d.root,t=d.baseId)}}}return void 0!==n&&n!==r.schema?{schema:n,root:r,baseId:t}:void 0}}var p=o.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function h(e,t){return!1!==t&&(void 0===t||!0===t?m(e):t?g(e)<=t:void 0)}function m(e){var t;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if("object"==typeof(t=e[n])&&!m(t))return!1}else for(var r in e){if("$ref"==r)return!1;if("object"==typeof(t=e[r])&&!m(t))return!1}return!0}function g(e){var t,n=0;if(Array.isArray(e)){for(var r=0;r<e.length;r++)if("object"==typeof(t=e[r])&&(n+=g(t)),n==1/0)return 1/0}else for(var i in e){if("$ref"==i)return 1/0;if(p[i])n++;else if("object"==typeof(t=e[i])&&(n+=g(t)+1),n==1/0)return 1/0}return n}function v(e,t){return!1!==t&&(e=_(e)),y(r.parse(e))}function y(e){return r.serialize(e).split("#")[0]+"#"}var b=/#\/?$/;function _(e){return e?e.replace(b,""):""}function w(e,t){return t=_(t),r.resolve(e,t)}},2011:(e,t,n)=>{"use strict";var r=n(52177),i=n(28846).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=i(t),e.types=i(["number","integer","string","array","object","boolean","null"]),e.forEach((function(n){n.rules=n.rules.map((function(n){var i;if("object"==typeof n){var o=Object.keys(n)[0];i=n[o],n=o,i.forEach((function(n){t.push(n),e.all[n]=!0}))}return t.push(n),e.all[n]={keyword:n,code:r[n],implements:i}})),e.all.$comment={keyword:"$comment",code:r.$comment},n.type&&(e.types[n.type]=n)})),e.keywords=i(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},15131:(e,t,n)=>{"use strict";var r=n(28846);e.exports=function(e){r.copy(e,this)}},64755:e=>{"use strict";e.exports=function(e){for(var t,n=0,r=e.length,i=0;i<r;)n++,(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<r&&56320==(64512&(t=e.charCodeAt(i)))&&i++;return n}},28846:(e,t,n)=>{"use strict";function r(e,t,n,r){var i=r?" !== ":" === ",o=r?" || ":" && ",a=r?"!":"",s=r?"":"!";switch(e){case"null":return t+i+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+o+"typeof "+t+i+'"object"'+o+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+o+s+"("+t+" % 1)"+o+t+i+t+(n?o+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+i+'"'+e+'"'+(n?o+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+i+'"'+e+'"'}}e.exports={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:r,checkDataTypes:function(e,t,n){if(1===e.length)return r(e[0],t,n,!0);var i="",a=o(e);for(var s in a.array&&a.object&&(i=a.null?"(":"(!"+t+" || ",i+="typeof "+t+' !== "object")',delete a.null,delete a.array,delete a.object),a.number&&delete a.integer,a)i+=(i?" && ":"")+r(s,t,n,!0);return i},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var n=[],r=0;r<t.length;r++){var o=t[r];(i[o]||"array"===e&&"array"===o)&&(n[n.length]=o)}if(n.length)return n}else{if(i[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:o,getProperty:l,escapeQuotes:c,equal:n(88719),ucs2length:n(64755),varOccurences:function(e,t){t+="[^0-9]";var n=e.match(new RegExp(t,"g"));return n?n.length:0},varReplace:function(e,t,n){return t+="([^0-9])",n=n.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),n+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var n in e)if(t[n])return!0},schemaHasRulesExcept:function(e,t,n){if("boolean"==typeof e)return!e&&"not"!=n;for(var r in e)if(r!=n&&t[r])return!0},schemaUnknownRules:function(e,t){if("boolean"!=typeof e)for(var n in e)if(!t[n])return n},toQuotedString:u,getPathExpr:function(e,t,n,r){return p(e,n?"'/' + "+t+(r?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):r?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,n){return p(e,u(n?"/"+h(t):l(t)))},getData:function(e,t,n){var r,i,o,a;if(""===e)return"rootData";if("/"==e[0]){if(!f.test(e))throw new Error("Invalid JSON-pointer: "+e);i=e,o="rootData"}else{if(!(a=e.match(d)))throw new Error("Invalid JSON-pointer: "+e);if(r=+a[1],"#"==(i=a[2])){if(r>=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return n[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);if(o="data"+(t-r||""),!i)return o}for(var s=o,c=i.split("/"),u=0;u<c.length;u++){var p=c[u];p&&(s+=" && "+(o+=l(m(p))))}return s},unescapeFragment:function(e){return m(decodeURIComponent(e))},unescapeJsonPointer:m,escapeFragment:function(e){return encodeURIComponent(h(e))},escapeJsonPointer:h};var i=o(["string","number","integer","boolean","null"]);function o(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var a=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(e){return"number"==typeof e?"["+e+"]":a.test(e)?"."+e:"['"+c(e)+"']"}function c(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function u(e){return"'"+c(e)+"'"}var f=/^\/(?:[^~]|~0|~1)*$/,d=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function p(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function h(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function m(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},50404:e=>{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,n){for(var r=0;r<n.length;r++){e=JSON.parse(JSON.stringify(e));var i,o=n[r].split("/"),a=e;for(i=1;i<o.length;i++)a=a[o[i]];for(i=0;i<t.length;i++){var s=t[i],l=a[s];l&&(a[s]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e}},15919:(e,t,n)=>{"use strict";var r=n(8198);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:r.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:r.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},73477:e=>{"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),d=e.opts.$data&&s&&s.$data;d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s;var p="maximum"==t,h=p?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[h],g=e.opts.$data&&m&&m.$data,v=p?"<":">",y=p?">":"<",b=void 0;if(!d&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!g&&void 0!==m&&"number"!=typeof m&&"boolean"!=typeof m)throw new Error(h+" must be number or boolean");if(g){var _,w=e.util.getData(m.$data,a,e.dataPathArr),S="exclusive"+o,x="exclType"+o,E="exclIsNumber"+o,k="' + "+(O="op"+o)+" + '";i+=" var schemaExcl"+o+" = "+w+"; ",i+=" var "+S+"; var "+x+" = typeof "+(w="schemaExcl"+o)+"; if ("+x+" != 'boolean' && "+x+" != 'undefined' && "+x+" != 'number') { ",b=h,(_=_||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: '"+h+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var C=i;i=_.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+C+"]); ":i+=" validate.errors = ["+C+"]; return false; ":i+=" var err = "+C+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+x+" == 'number' ? ( ("+S+" = "+r+" === undefined || "+w+" "+v+"= "+r+") ? "+f+" "+y+"= "+w+" : "+f+" "+y+" "+r+" ) : ( ("+S+" = "+w+" === true) ? "+f+" "+y+"= "+r+" : "+f+" "+y+" "+r+" ) || "+f+" !== "+f+") { var op"+o+" = "+S+" ? '"+v+"' : '"+v+"='; ",void 0===s&&(b=h,c=e.errSchemaPath+"/"+h,r=w,d=g)}else if(k=v,(E="number"==typeof m)&&d){var O="'"+k+"'";i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" ( "+r+" === undefined || "+m+" "+v+"= "+r+" ? "+f+" "+y+"= "+m+" : "+f+" "+y+" "+r+" ) || "+f+" !== "+f+") { "}else E&&void 0===s?(S=!0,b=h,c=e.errSchemaPath+"/"+h,r=m,y+="="):(E&&(r=Math[p?"min":"max"](m,s)),m===(!E||r)?(S=!0,b=h,c=e.errSchemaPath+"/"+h,y+="="):(S=!1,k+="=")),O="'"+k+"'",i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+f+" "+y+" "+r+" || "+f+" !== "+f+") { ";return b=b||t,(_=_||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+O+", limit: "+r+", exclusive: "+S+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be "+k+" ",i+=d?"' + "+r:r+"'"),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+l:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ",C=i,i=_.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+C+"]); ":i+=" validate.errors = ["+C+"]; return false; ":i+=" var err = "+C+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",u&&(i+=" else { "),i}},64745:e=>{"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+f+".length "+("maxItems"==t?">":"<")+" "+r+") { ";var p=t,h=h||[];h.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(p||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+s,i+=" items' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+l:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;return i=h.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i}},39833:e=>{"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");var p="maxLength"==t?">":"<";i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),!1===e.opts.unicode?i+=" "+f+".length ":i+=" ucs2length("+f+") ",i+=" "+p+" "+r+") { ";var h=t,m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(h||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=d?"' + "+r+" + '":""+s,i+=" characters' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+l:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i}},6044:e=>{"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" Object.keys("+f+").length "+("maxProperties"==t?">":"<")+" "+r+") { ";var p=t,h=h||[];h.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(p||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+s,i+=" properties' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+l:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;return i=h.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i}},50043:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.schema[t],o=e.schemaPath+e.util.getProperty(t),a=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,l=e.util.copy(e),c="";l.level++;var u="valid"+l.level,f=l.baseId,d=!0,p=i;if(p)for(var h,m=-1,g=p.length-1;m<g;)h=p[m+=1],(e.opts.strictKeywords?"object"==typeof h&&Object.keys(h).length>0||!1===h:e.util.schemaHasRules(h,e.RULES.all))&&(d=!1,l.schema=h,l.schemaPath=o+"["+m+"]",l.errSchemaPath=a+"/"+m,r+="  "+e.validate(l)+" ",l.baseId=f,s&&(r+=" if ("+u+") { ",c+="}"));return s&&(r+=d?" if (true) { ":" "+c.slice(0,-1)+" "),r}},87878:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d="errs__"+i,p=e.util.copy(e),h="";p.level++;var m="valid"+p.level,g=a.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)}));if(g){var v=p.baseId;r+=" var "+d+" = errors; var "+f+" = false;  ";var y=e.compositeRule;e.compositeRule=p.compositeRule=!0;var b=a;if(b)for(var _,w=-1,S=b.length-1;w<S;)_=b[w+=1],p.schema=_,p.schemaPath=s+"["+w+"]",p.errSchemaPath=l+"/"+w,r+="  "+e.validate(p)+" ",p.baseId=v,r+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",h+="}";e.compositeRule=p.compositeRule=y,r+=" "+h+" if (!"+f+") {   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else c&&(r+=" if (true) { ");return r}},96148:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.schema[t],o=e.errSchemaPath+"/"+t,a=(e.opts.allErrors,e.util.toQuotedString(i));return!0===e.opts.$comment?r+=" console.log("+a+");":"function"==typeof e.opts.$comment&&(r+=" self._opts.$comment("+a+", "+e.util.toQuotedString(o)+", validate.root.schema);"),r}},18306:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d=e.opts.$data&&a&&a.$data;d&&(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; "),d||(r+=" var schema"+i+" = validate.schema"+s+";"),r+="var "+f+" = equal("+u+", schema"+i+"); if (!"+f+") {   ";var p=p||[];p.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var h=r;return r=p.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+h+"]); ":r+=" validate.errors = ["+h+"]; return false; ":r+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",c&&(r+=" else { "),r}},14700:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level,m="i"+i,g=p.dataLevel=e.dataLevel+1,v="data"+g,y=e.baseId,b=e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all);if(r+="var "+d+" = errors;var "+f+";",b){var _=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=a,p.schemaPath=s,p.errSchemaPath=l,r+=" var "+h+" = false; for (var "+m+" = 0; "+m+" < "+u+".length; "+m+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var w=u+"["+m+"]";p.dataPathArr[g]=m;var S=e.validate(p);p.baseId=y,e.util.varOccurences(S,v)<2?r+=" "+e.util.varReplace(S,v,w)+" ":r+=" var "+v+" = "+w+"; "+S+" ",r+=" if ("+h+") break; }  ",e.compositeRule=p.compositeRule=_,r+="  if (!"+h+") {"}else r+=" if ("+u+".length == 0) {";var x=x||[];x.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var E=r;return r=x.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",b&&(r+="  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}},71874:e=>{"use strict";e.exports=function(e,t,n){var r,i,o=" ",a=e.level,s=e.dataLevel,l=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,d="data"+(s||""),p="valid"+a,h="errs__"+a,m=e.opts.$data&&l&&l.$data;m?(o+=" var schema"+a+" = "+e.util.getData(l.$data,s,e.dataPathArr)+"; ",i="schema"+a):i=l;var g,v,y,b,_,w=this,S="definition"+a,x=w.definition,E="";if(m&&x.$data){_="keywordValidate"+a;var k=x.validateSchema;o+=" var "+S+" = RULES.custom['"+t+"'].definition; var "+_+" = "+S+".validate;"}else{if(!(b=e.useCustomRule(w,l,e.schema,e)))return;i="validate.schema"+c,_=b.code,g=x.compile,v=x.inline,y=x.macro}var C=_+".errors",O="i"+a,T="ruleErr"+a,P=x.async;if(P&&!e.async)throw new Error("async keyword in sync schema");if(v||y||(o+=C+" = null;"),o+="var "+h+" = errors;var "+p+";",m&&x.$data&&(E+="}",o+=" if ("+i+" === undefined) { "+p+" = true; } else { ",k&&(E+="}",o+=" "+p+" = "+S+".validateSchema("+i+"); if ("+p+") { ")),v)x.statements?o+=" "+b.validate+" ":o+=" "+p+" = "+b.validate+"; ";else if(y){var A=e.util.copy(e);E="",A.level++;var M="valid"+A.level;A.schema=b.validate,A.schemaPath="";var L=e.compositeRule;e.compositeRule=A.compositeRule=!0;var I=e.validate(A).replace(/validate\.schema/g,_);e.compositeRule=A.compositeRule=L,o+=" "+I}else{(N=N||[]).push(o),o="",o+="  "+_+".call( ",e.opts.passContext?o+="this":o+="self",g||!1===x.schema?o+=" , "+d+" ":o+=" , "+i+" , "+d+" , validate.schema"+e.schemaPath+" ",o+=" , (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var R=s?"data"+(s-1||""):"parentData",D=s?e.dataPathArr[s]:"parentDataProperty",j=o+=" , "+R+" , "+D+" , rootData )  ";o=N.pop(),!1===x.errors?(o+=" "+p+" = ",P&&(o+="await "),o+=j+"; "):o+=P?" var "+(C="customErrors"+a)+" = null; try { "+p+" = await "+j+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } ":" "+C+" = null; "+p+" = "+j+"; "}if(x.modifying&&(o+=" if ("+R+") "+d+" = "+R+"["+D+"];"),o+=""+E,x.valid)f&&(o+=" if (true) { ");else{var N;o+=" if ( ",void 0===x.valid?(o+=" !",o+=y?""+M:""+p):o+=" "+!x.valid+" ",o+=") { ",r=w.keyword,(N=N||[]).push(o),o="",(N=N||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(r||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var F=o;o=N.pop(),!e.compositeRule&&f?e.async?o+=" throw new ValidationError(["+F+"]); ":o+=" validate.errors = ["+F+"]; return false; ":o+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var B=o;o=N.pop(),v?x.errors?"full"!=x.errors&&(o+="  for (var "+O+"="+h+"; "+O+"<errors; "+O+"++) { var "+T+" = vErrors["+O+"]; if ("+T+".dataPath === undefined) "+T+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+T+".schemaPath === undefined) { "+T+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+T+".schema = "+i+"; "+T+".data = "+d+"; "),o+=" } "):!1===x.errors?o+=" "+B+" ":(o+=" if ("+h+" == errors) { "+B+" } else {  for (var "+O+"="+h+"; "+O+"<errors; "+O+"++) { var "+T+" = vErrors["+O+"]; if ("+T+".dataPath === undefined) "+T+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+T+".schemaPath === undefined) { "+T+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+T+".schema = "+i+"; "+T+".data = "+d+"; "),o+=" } } "):y?(o+="   var err =   ",!1!==e.createErrors?(o+=" { keyword: '"+(r||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+w.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+w.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ",o+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&f&&(e.async?o+=" throw new ValidationError(vErrors); ":o+=" validate.errors = vErrors; return false; ")):!1===x.errors?o+=" "+B+" ":(o+=" if (Array.isArray("+C+")) { if (vErrors === null) vErrors = "+C+"; else vErrors = vErrors.concat("+C+"); errors = vErrors.length;  for (var "+O+"="+h+"; "+O+"<errors; "+O+"++) { var "+T+" = vErrors["+O+"]; if ("+T+".dataPath === undefined) "+T+".dataPath = (dataPath || '') + "+e.errorPath+";  "+T+'.schemaPath = "'+u+'";  ',e.opts.verbose&&(o+=" "+T+".schema = "+i+"; "+T+".data = "+d+"; "),o+=" } } else { "+B+" } "),o+=" } ",f&&(o+=" else { ")}return o}},38716:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,d=e.util.copy(e),p="";d.level++;var h="valid"+d.level,m={},g={},v=e.opts.ownProperties;for(w in a)if("__proto__"!=w){var y=a[w],b=Array.isArray(y)?g:m;b[w]=y}r+="var "+f+" = errors;";var _=e.errorPath;for(var w in r+="var missing"+i+";",g)if((b=g[w]).length){if(r+=" if ( "+u+e.util.getProperty(w)+" !== undefined ",v&&(r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(w)+"') "),c){r+=" && ( ";var S=b;if(S)for(var x=-1,E=S.length-1;x<E;)A=S[x+=1],x&&(r+=" || "),r+=" ( ( "+(R=u+(I=e.util.getProperty(A)))+" === undefined ",v&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(A)+"') "),r+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?A:I)+") ) ";r+=")) {  ";var k="missing"+i,C="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,k,!0):_+" + "+k);var O=O||[];O.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+C+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(r+=" , message: 'should have ",1==b.length?r+="property "+e.util.escapeQuotes(b[0]):r+="properties "+e.util.escapeQuotes(b.join(", ")),r+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var T=r;r=O.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var P=b;if(P)for(var A,M=-1,L=P.length-1;M<L;){A=P[M+=1];var I=e.util.getProperty(A),R=(C=e.util.escapeQuotes(A),u+I);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,A,e.opts.jsonPointers)),r+=" if ( "+R+" === undefined ",v&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(A)+"') "),r+=") {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(w)+"', missingProperty: '"+C+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(r+=" , message: 'should have ",1==b.length?r+="property "+e.util.escapeQuotes(b[0]):r+="properties "+e.util.escapeQuotes(b.join(", ")),r+=" when property "+e.util.escapeQuotes(w)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" }   ",c&&(p+="}",r+=" else { ")}e.errorPath=_;var D=d.baseId;for(var w in m)y=m[w],(e.opts.strictKeywords?"object"==typeof y&&Object.keys(y).length>0||!1===y:e.util.schemaHasRules(y,e.RULES.all))&&(r+=" "+h+" = true; if ( "+u+e.util.getProperty(w)+" !== undefined ",v&&(r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(w)+"') "),r+=") { ",d.schema=y,d.schemaPath=s+e.util.getProperty(w),d.errSchemaPath=l+"/"+e.util.escapeFragment(w),r+="  "+e.validate(d)+" ",d.baseId=D,r+=" }  ",c&&(r+=" if ("+h+") { ",p+="}"));return c&&(r+="   "+p+" if ("+f+" == errors) {"),r}},87224:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d=e.opts.$data&&a&&a.$data;d&&(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var p="i"+i,h="schema"+i;d||(r+=" var "+h+" = validate.schema"+s+";"),r+="var "+f+";",d&&(r+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),r+=f+" = false;for (var "+p+"=0; "+p+"<"+h+".length; "+p+"++) if (equal("+u+", "+h+"["+p+"])) { "+f+" = true; break; }",d&&(r+="  }  "),r+=" if (!"+f+") {   ";var m=m||[];m.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+i+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var g=r;return r=m.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",c&&(r+=" else { "),r}},58938:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||"");if(!1===e.opts.format)return c&&(r+=" if (true) { "),r;var f,d=e.opts.$data&&a&&a.$data;d?(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ",f="schema"+i):f=a;var p=e.opts.unknownFormats,h=Array.isArray(p);if(d)r+=" var "+(m="format"+i)+" = formats["+f+"]; var "+(g="isObject"+i)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(v="formatType"+i)+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ",e.async&&(r+=" var async"+i+" = "+m+".async; "),r+=" "+m+" = "+m+".validate; } if (  ",d&&(r+=" ("+f+" !== undefined && typeof "+f+" != 'string') || "),r+=" (","ignore"!=p&&(r+=" ("+f+" && !"+m+" ",h&&(r+=" && self._opts.unknownFormats.indexOf("+f+") == -1 "),r+=") || "),r+=" ("+m+" && "+v+" == '"+n+"' && !(typeof "+m+" == 'function' ? ",e.async?r+=" (async"+i+" ? await "+m+"("+u+") : "+m+"("+u+")) ":r+=" "+m+"("+u+") ",r+=" : "+m+".test("+u+"))))) {";else{var m;if(!(m=e.formats[a])){if("ignore"==p)return e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"'),c&&(r+=" if (true) { "),r;if(h&&p.indexOf(a)>=0)return c&&(r+=" if (true) { "),r;throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,v=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var y=!0===m.async;m=m.validate}if(v!=n)return c&&(r+=" if (true) { "),r;if(y){if(!e.async)throw new Error("async format in sync schema");r+=" if (!(await "+(b="formats"+e.util.getProperty(a)+".validate")+"("+u+"))) { "}else{r+=" if (! ";var b="formats"+e.util.getProperty(a);g&&(b+=".validate"),r+="function"==typeof m?" "+b+"("+u+") ":" "+b+".test("+u+") ",r+=") { "}}var _=_||[];_.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format:  ",r+=d?""+f:""+e.util.toQuotedString(a),r+="  } ",!1!==e.opts.messages&&(r+=" , message: 'should match format \"",r+=d?"' + "+f+" + '":""+e.util.escapeQuotes(a),r+="\"' "),e.opts.verbose&&(r+=" , schema:  ",r+=d?"validate.schema"+s:""+e.util.toQuotedString(a),r+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var w=r;return r=_.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+w+"]); ":r+=" validate.errors = ["+w+"]; return false; ":r+=" var err = "+w+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",c&&(r+=" else { "),r}},97966:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level,m=e.schema.then,g=e.schema.else,v=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0||!1===m:e.util.schemaHasRules(m,e.RULES.all)),y=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),b=p.baseId;if(v||y){var _;p.createErrors=!1,p.schema=a,p.schemaPath=s,p.errSchemaPath=l,r+=" var "+d+" = errors; var "+f+" = true;  ";var w=e.compositeRule;e.compositeRule=p.compositeRule=!0,r+="  "+e.validate(p)+" ",p.baseId=b,p.createErrors=!0,r+="  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }  ",e.compositeRule=p.compositeRule=w,v?(r+=" if ("+h+") {  ",p.schema=e.schema.then,p.schemaPath=e.schemaPath+".then",p.errSchemaPath=e.errSchemaPath+"/then",r+="  "+e.validate(p)+" ",p.baseId=b,r+=" "+f+" = "+h+"; ",v&&y?r+=" var "+(_="ifClause"+i)+" = 'then'; ":_="'then'",r+=" } ",y&&(r+=" else { ")):r+=" if (!"+h+") { ",y&&(p.schema=e.schema.else,p.schemaPath=e.schemaPath+".else",p.errSchemaPath=e.errSchemaPath+"/else",r+="  "+e.validate(p)+" ",p.baseId=b,r+=" "+f+" = "+h+"; ",v&&y?r+=" var "+(_="ifClause"+i)+" = 'else'; ":_="'else'",r+=" } "),r+=" if (!"+f+") {   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+_+" } ",!1!==e.opts.messages&&(r+=" , message: 'should match \"' + "+_+" + '\" schema' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" }   ",c&&(r+=" else { ")}else c&&(r+=" if (true) { ");return r}},52177:(e,t,n)=>{"use strict";e.exports={$ref:n(14104),allOf:n(50043),anyOf:n(87878),$comment:n(96148),const:n(18306),contains:n(14700),dependencies:n(38716),enum:n(87224),format:n(58938),if:n(97966),items:n(30361),maximum:n(73477),minimum:n(73477),maxItems:n(64745),minItems:n(64745),maxLength:n(39833),minLength:n(39833),maxProperties:n(6044),minProperties:n(6044),multipleOf:n(69804),not:n(30332),oneOf:n(59856),pattern:n(39263),properties:n(93900),propertyNames:n(53150),required:n(74624),uniqueItems:n(6916),validate:n(69035)}},30361:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d="errs__"+i,p=e.util.copy(e),h="";p.level++;var m="valid"+p.level,g="i"+i,v=p.dataLevel=e.dataLevel+1,y="data"+v,b=e.baseId;if(r+="var "+d+" = errors;var "+f+";",Array.isArray(a)){var _=e.schema.additionalItems;if(!1===_){r+=" "+f+" = "+u+".length <= "+a.length+"; ";var w=l;l=e.errSchemaPath+"/additionalItems",r+="  if (!"+f+") {   ";var S=S||[];S.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+a.length+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have more than "+a.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var x=r;r=S.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+x+"]); ":r+=" validate.errors = ["+x+"]; return false; ":r+=" var err = "+x+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",l=w,c&&(h+="}",r+=" else { ")}var E=a;if(E)for(var k,C=-1,O=E.length-1;C<O;)if(k=E[C+=1],e.opts.strictKeywords?"object"==typeof k&&Object.keys(k).length>0||!1===k:e.util.schemaHasRules(k,e.RULES.all)){r+=" "+m+" = true; if ("+u+".length > "+C+") { ";var T=u+"["+C+"]";p.schema=k,p.schemaPath=s+"["+C+"]",p.errSchemaPath=l+"/"+C,p.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,!0),p.dataPathArr[v]=C;var P=e.validate(p);p.baseId=b,e.util.varOccurences(P,y)<2?r+=" "+e.util.varReplace(P,y,T)+" ":r+=" var "+y+" = "+T+"; "+P+" ",r+=" }  ",c&&(r+=" if ("+m+") { ",h+="}")}"object"==typeof _&&(e.opts.strictKeywords?"object"==typeof _&&Object.keys(_).length>0||!1===_:e.util.schemaHasRules(_,e.RULES.all))&&(p.schema=_,p.schemaPath=e.schemaPath+".additionalItems",p.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+u+".length > "+a.length+") {  for (var "+g+" = "+a.length+"; "+g+" < "+u+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),T=u+"["+g+"]",p.dataPathArr[v]=g,P=e.validate(p),p.baseId=b,e.util.varOccurences(P,y)<2?r+=" "+e.util.varReplace(P,y,T)+" ":r+=" var "+y+" = "+T+"; "+P+" ",c&&(r+=" if (!"+m+") break; "),r+=" } }  ",c&&(r+=" if ("+m+") { ",h+="}"))}else(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all))&&(p.schema=a,p.schemaPath=s,p.errSchemaPath=l,r+="  for (var "+g+" = 0; "+g+" < "+u+".length; "+g+"++) { ",p.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),T=u+"["+g+"]",p.dataPathArr[v]=g,P=e.validate(p),p.baseId=b,e.util.varOccurences(P,y)<2?r+=" "+e.util.varReplace(P,y,T)+" ":r+=" var "+y+" = "+T+"; "+P+" ",c&&(r+=" if (!"+m+") break; "),r+=" }");return c&&(r+=" "+h+" if ("+d+" == errors) {"),r}},69804:e=>{"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),d=e.opts.$data&&s&&s.$data;if(d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,!d&&"number"!=typeof s)throw new Error(t+" must be number");i+="var division"+o+";if (",d&&(i+=" "+r+" !== undefined && ( typeof "+r+" != 'number' || "),i+=" (division"+o+" = "+f+" / "+r+", ",e.opts.multipleOfPrecision?i+=" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":i+=" division"+o+" !== parseInt(division"+o+") ",i+=" ) ",d&&(i+="  )  "),i+=" ) {   ";var p=p||[];p.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be multiple of ",i+=d?"' + "+r:r+"'"),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+l:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var h=i;return i=p.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+h+"]); ":i+=" validate.errors = ["+h+"]; return false; ":i+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i}},30332:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,d=e.util.copy(e);d.level++;var p="valid"+d.level;if(e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a,d.schemaPath=s,d.errSchemaPath=l,r+=" var "+f+" = errors;  ";var h,m=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.createErrors=!1,d.opts.allErrors&&(h=d.opts.allErrors,d.opts.allErrors=!1),r+=" "+e.validate(d)+" ",d.createErrors=!0,h&&(d.opts.allErrors=h),e.compositeRule=d.compositeRule=m,r+=" if ("+p+") {   ";var g=g||[];g.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var v=r;r=g.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else {  errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+="  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(r+=" if (false) { ");return r}},59856:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d="errs__"+i,p=e.util.copy(e),h="";p.level++;var m="valid"+p.level,g=p.baseId,v="prevValid"+i,y="passingSchemas"+i;r+="var "+d+" = errors , "+v+" = false , "+f+" = false , "+y+" = null; ";var b=e.compositeRule;e.compositeRule=p.compositeRule=!0;var _=a;if(_)for(var w,S=-1,x=_.length-1;S<x;)w=_[S+=1],(e.opts.strictKeywords?"object"==typeof w&&Object.keys(w).length>0||!1===w:e.util.schemaHasRules(w,e.RULES.all))?(p.schema=w,p.schemaPath=s+"["+S+"]",p.errSchemaPath=l+"/"+S,r+="  "+e.validate(p)+" ",p.baseId=g):r+=" var "+m+" = true; ",S&&(r+=" if ("+m+" && "+v+") { "+f+" = false; "+y+" = ["+y+", "+S+"]; } else { ",h+="}"),r+=" if ("+m+") { "+f+" = "+v+" = true; "+y+" = "+S+"; }";return e.compositeRule=p.compositeRule=b,r+=h+"if (!"+f+") {   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+y+" } ",!1!==e.opts.messages&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+="} else {  errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}},39263:e=>{"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),d=e.opts.$data&&s&&s.$data;d?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,i+="if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'string') || "),i+=" !"+(d?"(new RegExp("+r+"))":e.usePattern(s))+".test("+f+") ) {   ";var p=p||[];p.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { pattern:  ",i+=d?""+r:""+e.util.toQuotedString(s),i+="  } ",!1!==e.opts.messages&&(i+=" , message: 'should match pattern \"",i+=d?"' + "+r+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema:  ",i+=d?"validate.schema"+l:""+e.util.toQuotedString(s),i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var h=i;return i=p.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+h+"]); ":i+=" validate.errors = ["+h+"]; return false; ":i+=" var err = "+h+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",u&&(i+=" else { "),i}},93900:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,d=e.util.copy(e),p="";d.level++;var h="valid"+d.level,m="key"+i,g="idx"+i,v=d.dataLevel=e.dataLevel+1,y="data"+v,b="dataProperties"+i,_=Object.keys(a||{}).filter(I),w=e.schema.patternProperties||{},S=Object.keys(w).filter(I),x=e.schema.additionalProperties,E=_.length||S.length,k=!1===x,C="object"==typeof x&&Object.keys(x).length,O=e.opts.removeAdditional,T=k||C||O,P=e.opts.ownProperties,A=e.baseId,M=e.schema.required;if(M&&(!e.opts.$data||!M.$data)&&M.length<e.opts.loopRequired)var L=e.util.toHash(M);function I(e){return"__proto__"!==e}if(r+="var "+f+" = errors;var "+h+" = true;",P&&(r+=" var "+b+" = undefined;"),T){if(r+=P?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+u+") { ",E){if(r+=" var isAdditional"+i+" = !(false ",_.length)if(_.length>8)r+=" || validate.schema"+s+".hasOwnProperty("+m+") ";else{var R=_;if(R)for(var D=-1,j=R.length-1;D<j;)Y=R[D+=1],r+=" || "+m+" == "+e.util.toQuotedString(Y)+" "}if(S.length){var N=S;if(N)for(var F=-1,B=N.length-1;F<B;)oe=N[F+=1],r+=" || "+e.usePattern(oe)+".test("+m+") "}r+=" ); if (isAdditional"+i+") { "}if("all"==O)r+=" delete "+u+"["+m+"]; ";else{var z=e.errorPath,$="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),k)if(O)r+=" delete "+u+"["+m+"]; ";else{r+=" "+h+" = false; ";var U=l;l=e.errSchemaPath+"/additionalProperties",(ne=ne||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+$+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is an invalid additional property":r+="should NOT have additional properties",r+="' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var H=r;r=ne.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+H+"]); ":r+=" validate.errors = ["+H+"]; return false; ":r+=" var err = "+H+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=U,c&&(r+=" break; ")}else if(C)if("failing"==O){r+=" var "+f+" = errors;  ";var W=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.schema=x,d.schemaPath=e.schemaPath+".additionalProperties",d.errSchemaPath=e.errSchemaPath+"/additionalProperties",d.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var q=u+"["+m+"]";d.dataPathArr[v]=m;var V=e.validate(d);d.baseId=A,e.util.varOccurences(V,y)<2?r+=" "+e.util.varReplace(V,y,q)+" ":r+=" var "+y+" = "+q+"; "+V+" ",r+=" if (!"+h+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"["+m+"]; }  ",e.compositeRule=d.compositeRule=W}else d.schema=x,d.schemaPath=e.schemaPath+".additionalProperties",d.errSchemaPath=e.errSchemaPath+"/additionalProperties",d.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),q=u+"["+m+"]",d.dataPathArr[v]=m,V=e.validate(d),d.baseId=A,e.util.varOccurences(V,y)<2?r+=" "+e.util.varReplace(V,y,q)+" ":r+=" var "+y+" = "+q+"; "+V+" ",c&&(r+=" if (!"+h+") break; ");e.errorPath=z}E&&(r+=" } "),r+=" }  ",c&&(r+=" if ("+h+") { ",p+="}")}var K=e.opts.useDefaults&&!e.compositeRule;if(_.length){var G=_;if(G)for(var Y,J=-1,Z=G.length-1;J<Z;){var X=a[Y=G[J+=1]];if(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0||!1===X:e.util.schemaHasRules(X,e.RULES.all)){var Q=e.util.getProperty(Y),ee=(q=u+Q,K&&void 0!==X.default);if(d.schema=X,d.schemaPath=s+Q,d.errSchemaPath=l+"/"+e.util.escapeFragment(Y),d.errorPath=e.util.getPath(e.errorPath,Y,e.opts.jsonPointers),d.dataPathArr[v]=e.util.toQuotedString(Y),V=e.validate(d),d.baseId=A,e.util.varOccurences(V,y)<2){V=e.util.varReplace(V,y,q);var te=q}else te=y,r+=" var "+y+" = "+q+"; ";if(ee)r+=" "+V+" ";else{if(L&&L[Y]){r+=" if ( "+te+" === undefined ",P&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Y)+"') "),r+=") { "+h+" = false; ",z=e.errorPath,U=l;var ne,re=e.util.escapeQuotes(Y);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(z,Y,e.opts.jsonPointers)),l=e.errSchemaPath+"/required",(ne=ne||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+re+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+re+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",H=r,r=ne.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+H+"]); ":r+=" validate.errors = ["+H+"]; return false; ":r+=" var err = "+H+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=U,e.errorPath=z,r+=" } else { "}else c?(r+=" if ( "+te+" === undefined ",P&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Y)+"') "),r+=") { "+h+" = true; } else { "):(r+=" if ("+te+" !== undefined ",P&&(r+=" &&   Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(Y)+"') "),r+=" ) { ");r+=" "+V+" } "}}c&&(r+=" if ("+h+") { ",p+="}")}}if(S.length){var ie=S;if(ie)for(var oe,ae=-1,se=ie.length-1;ae<se;)X=w[oe=ie[ae+=1]],(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0||!1===X:e.util.schemaHasRules(X,e.RULES.all))&&(d.schema=X,d.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(oe),d.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(oe),r+=P?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+m+" = "+b+"["+g+"]; ":" for (var "+m+" in "+u+") { ",r+=" if ("+e.usePattern(oe)+".test("+m+")) { ",d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),q=u+"["+m+"]",d.dataPathArr[v]=m,V=e.validate(d),d.baseId=A,e.util.varOccurences(V,y)<2?r+=" "+e.util.varReplace(V,y,q)+" ":r+=" var "+y+" = "+q+"; "+V+" ",c&&(r+=" if (!"+h+") break; "),r+=" } ",c&&(r+=" else "+h+" = true; "),r+=" }  ",c&&(r+=" if ("+h+") { ",p+="}"))}return c&&(r+=" "+p+" if ("+f+" == errors) {"),r}},53150:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="errs__"+i,d=e.util.copy(e);d.level++;var p="valid"+d.level;if(r+="var "+f+" = errors;",e.opts.strictKeywords?"object"==typeof a&&Object.keys(a).length>0||!1===a:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a,d.schemaPath=s,d.errSchemaPath=l;var h="key"+i,m="idx"+i,g="i"+i,v="' + "+h+" + '",y="data"+(d.dataLevel=e.dataLevel+1),b="dataProperties"+i,_=e.opts.ownProperties,w=e.baseId;_&&(r+=" var "+b+" = undefined; "),r+=_?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+h+" = "+b+"["+m+"]; ":" for (var "+h+" in "+u+") { ",r+=" var startErrs"+i+" = errors; ";var S=h,x=e.compositeRule;e.compositeRule=d.compositeRule=!0;var E=e.validate(d);d.baseId=w,e.util.varOccurences(E,y)<2?r+=" "+e.util.varReplace(E,y,S)+" ":r+=" var "+y+" = "+S+"; "+E+" ",e.compositeRule=d.compositeRule=x,r+=" if (!"+p+") { for (var "+g+"=startErrs"+i+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+h+"; }   var err =   ",!1!==e.createErrors?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+v+"' } ",!1!==e.opts.messages&&(r+=" , message: 'property name \\'"+v+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),c&&(r+=" break; "),r+=" } }"}return c&&(r+="  if ("+f+" == errors) {"),r}},14104:e=>{"use strict";e.exports=function(e,t,n){var r,i,o=" ",a=e.level,s=e.dataLevel,l=e.schema[t],c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(s||""),d="valid"+a;if("#"==l||"#/"==l)e.isRoot?(r=e.async,i="validate"):(r=!0===e.root.schema.$async,i="root.refVal[0]");else{var p=e.resolveRef(e.baseId,l,e.isRoot);if(void 0===p){var h=e.MissingRefError.message(e.baseId,l);if("fail"==e.opts.missingRefs){e.logger.error(h),(y=y||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { ref: '"+e.util.escapeQuotes(l)+"' } ",!1!==e.opts.messages&&(o+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(l)+"' "),e.opts.verbose&&(o+=" , schema: "+e.util.toQuotedString(l)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),o+=" } "):o+=" {} ";var m=o;o=y.pop(),!e.compositeRule&&u?e.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(o+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,l,h);e.logger.warn(h),u&&(o+=" if (true) { ")}}else if(p.inline){var g=e.util.copy(e);g.level++;var v="valid"+g.level;g.schema=p.schema,g.schemaPath="",g.errSchemaPath=l,o+=" "+e.validate(g).replace(/validate\.schema/g,p.code)+" ",u&&(o+=" if ("+v+") { ")}else r=!0===p.$async||e.async&&!1!==p.$async,i=p.code}if(i){var y;(y=y||[]).push(o),o="",e.opts.passContext?o+=" "+i+".call(this, ":o+=" "+i+"( ",o+=" "+f+", (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var b=o+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData)  ";if(o=y.pop(),r){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(o+=" var "+d+"; "),o+=" try { await "+b+"; ",u&&(o+=" "+d+" = true; "),o+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(o+=" "+d+" = false; "),o+=" } ",u&&(o+=" if ("+d+") { ")}else o+=" if (!"+b+") { if (vErrors === null) vErrors = "+i+".errors; else vErrors = vErrors.concat("+i+".errors); errors = vErrors.length; } ",u&&(o+=" else { ")}return o}},74624:e=>{"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,a=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),f="valid"+i,d=e.opts.$data&&a&&a.$data;d&&(r+=" var schema"+i+" = "+e.util.getData(a.$data,o,e.dataPathArr)+"; ");var p="schema"+i;if(!d)if(a.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var h=[],m=a;if(m)for(var g,v=-1,y=m.length-1;v<y;){g=m[v+=1];var b=e.schema.properties[g];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))||(h[h.length]=g)}}else h=a;if(d||h.length){var _=e.errorPath,w=d||h.length>=e.opts.loopRequired,S=e.opts.ownProperties;if(c)if(r+=" var missing"+i+"; ",w){d||(r+=" var "+p+" = validate.schema"+s+"; ");var x="' + "+(P="schema"+i+"["+(O="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,P,e.opts.jsonPointers)),r+=" var "+f+" = true; ",d&&(r+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),r+=" for (var "+O+" = 0; "+O+" < "+p+".length; "+O+"++) { "+f+" = "+u+"["+p+"["+O+"]] !== undefined ",S&&(r+=" &&   Object.prototype.hasOwnProperty.call("+u+", "+p+"["+O+"]) "),r+="; if (!"+f+") break; } ",d&&(r+="  }  "),r+="  if (!"+f+") {   ",(k=k||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+x+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var E=r;r=k.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var k,C=h;if(C)for(var O=-1,T=C.length-1;O<T;)M=C[O+=1],O&&(r+=" || "),r+=" ( ( "+(D=u+(R=e.util.getProperty(M)))+" === undefined ",S&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(M)+"') "),r+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?M:R)+") ) ";r+=") {  ",x="' + "+(P="missing"+i)+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,P,!0):_+" + "+P),(k=k||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+x+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",E=r,r=k.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(w){var P;d||(r+=" var "+p+" = validate.schema"+s+"; "),x="' + "+(P="schema"+i+"["+(O="i"+i)+"]")+" + '",e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,P,e.opts.jsonPointers)),d&&(r+=" if ("+p+" && !Array.isArray("+p+")) {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+x+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+p+" !== undefined) { "),r+=" for (var "+O+" = 0; "+O+" < "+p+".length; "+O+"++) { if ("+u+"["+p+"["+O+"]] === undefined ",S&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", "+p+"["+O+"]) "),r+=") {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+x+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",d&&(r+="  }  ")}else{var A=h;if(A)for(var M,L=-1,I=A.length-1;L<I;){M=A[L+=1];var R=e.util.getProperty(M),D=(x=e.util.escapeQuotes(M),u+R);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,M,e.opts.jsonPointers)),r+=" if ( "+D+" === undefined ",S&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(M)+"') "),r+=") {  var err =   ",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+x+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=_}else c&&(r+=" if (true) {");return r}},6916:e=>{"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,a=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,f="data"+(a||""),d="valid"+o,p=e.opts.$data&&s&&s.$data;if(p?(i+=" var schema"+o+" = "+e.util.getData(s.$data,a,e.dataPathArr)+"; ",r="schema"+o):r=s,(s||p)&&!1!==e.opts.uniqueItems){p&&(i+=" var "+d+"; if ("+r+" === false || "+r+" === undefined) "+d+" = true; else if (typeof "+r+" != 'boolean') "+d+" = false; else { "),i+=" var i = "+f+".length , "+d+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,m=Array.isArray(h);if(!h||"object"==h||"array"==h||m&&(h.indexOf("object")>=0||h.indexOf("array")>=0))i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+d+" = false; break outer; } } } ";else{i+=" var itemIndices = {}, item; for (;i--;) { var item = "+f+"[i]; ";var g="checkDataType"+(m?"s":"");i+=" if ("+e.util[g](h,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(i+=" if (typeof item == 'string') item = '\"' + item; "),i+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}i+=" } ",p&&(i+="  }  "),i+=" if (!"+d+") {   ";var v=v||[];v.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema:  ",i+=p?"validate.schema"+l:""+s,i+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var y=i;i=v.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+y+"]); ":i+=" validate.errors = ["+y+"]; return false; ":i+=" var err = "+y+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",u&&(i+=" else { ")}else u&&(i+=" if (true) { ");return i}},69035:e=>{"use strict";e.exports=function(e,t,n){var r="",i=!0===e.schema.$async,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var l="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(l);e.logger.warn(l)}}if(e.isTop&&(r+=" var validate = ",i&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",a&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" /*# sourceURL="+a+" */ ")),"boolean"==typeof e.schema||!o&&!e.schema.$ref){t="false schema";var c=e.level,u=e.dataLevel,f=e.schema[t],d=e.schemaPath+e.util.getProperty(t),p=e.errSchemaPath+"/"+t,h=!e.opts.allErrors,m="data"+(u||""),g="valid"+c;if(!1===e.schema){e.isTop?h=!0:r+=" var "+g+" = false; ",(q=q||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'boolean schema is false' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),r+=" } "):r+=" {} ";var v=r;r=q.pop(),!e.compositeRule&&h?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?r+=i?" return data; ":" validate.errors = null; return true; ":r+=" var "+g+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var y=e.isTop;if(c=e.level=0,u=e.dataLevel=0,m="data",e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}r+=" var vErrors = null; ",r+=" var errors = 0;     ",r+=" if (rootData === undefined) rootData = data; "}else{if(c=e.level,m="data"+((u=e.dataLevel)||""),a&&(e.baseId=e.resolve.url(e.baseId,a)),i&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+c+" = errors;"}g="valid"+c,h=!e.opts.allErrors;var _="",w="",S=e.schema.type,x=Array.isArray(S);if(S&&e.opts.nullable&&!0===e.schema.nullable&&(x?-1==S.indexOf("null")&&(S=S.concat("null")):"null"!=S&&(S=[S,"null"],x=!0)),x&&1==S.length&&(S=S[0],x=!1),e.schema.$ref&&o){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(r+=" "+e.RULES.all.$comment.code(e,"$comment")),S){if(e.opts.coerceTypes)var E=e.util.coerceToTypes(e.opts.coerceTypes,S);var k=e.RULES.types[S];if(E||x||!0===k||k&&!Z(k)){d=e.schemaPath+".type",p=e.errSchemaPath+"/type",d=e.schemaPath+".type",p=e.errSchemaPath+"/type";var C=x?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[C](S,m,e.opts.strictNumbers,!0)+") { ",E){var O="dataType"+c,T="coerced"+c;r+=" var "+O+" = typeof "+m+"; var "+T+" = undefined; ","array"==e.opts.coerceTypes&&(r+=" if ("+O+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+O+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+T+" = "+m+"; } "),r+=" if ("+T+" !== undefined) ; ";var P=E;if(P)for(var A,M=-1,L=P.length-1;M<L;)"string"==(A=P[M+=1])?r+=" else if ("+O+" == 'number' || "+O+" == 'boolean') "+T+" = '' + "+m+"; else if ("+m+" === null) "+T+" = ''; ":"number"==A||"integer"==A?(r+=" else if ("+O+" == 'boolean' || "+m+" === null || ("+O+" == 'string' && "+m+" && "+m+" == +"+m+" ","integer"==A&&(r+=" && !("+m+" % 1)"),r+=")) "+T+" = +"+m+"; "):"boolean"==A?r+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+T+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+T+" = true; ":"null"==A?r+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+T+" = null; ":"array"==e.opts.coerceTypes&&"array"==A&&(r+=" else if ("+O+" == 'string' || "+O+" == 'number' || "+O+" == 'boolean' || "+m+" == null) "+T+" = ["+m+"]; ");r+=" else {   ",(q=q||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",r+=x?""+S.join(","):""+S,r+="' } ",!1!==e.opts.messages&&(r+=" , message: 'should be ",r+=x?""+S.join(","):""+S,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),r+=" } "):r+=" {} ",v=r,r=q.pop(),!e.compositeRule&&h?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } if ("+T+" !== undefined) {  ";var I=u?"data"+(u-1||""):"parentData";r+=" "+m+" = "+T+"; ",u||(r+="if ("+I+" !== undefined)"),r+=" "+I+"["+(u?e.dataPathArr[u]:"parentDataProperty")+"] = "+T+"; } "}else(q=q||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",r+=x?""+S.join(","):""+S,r+="' } ",!1!==e.opts.messages&&(r+=" , message: 'should be ",r+=x?""+S.join(","):""+S,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),r+=" } "):r+=" {} ",v=r,r=q.pop(),!e.compositeRule&&h?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";r+=" } "}}if(e.schema.$ref&&!o)r+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",h&&(r+=" } if (errors === ",r+=y?"0":"errs_"+c,r+=") { ",w+="}");else{var R=e.RULES;if(R)for(var D=-1,j=R.length-1;D<j;)if(Z(k=R[D+=1])){if(k.type&&(r+=" if ("+e.util.checkDataType(k.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==k.type&&e.schema.properties){f=e.schema.properties;var N=Object.keys(f);if(N)for(var F,B=-1,z=N.length-1;B<z;)if(void 0!==(H=f[F=N[B+=1]]).default){var $=m+e.util.getProperty(F);if(e.compositeRule){if(e.opts.strictDefaults){if(b="default is ignored for: "+$,"log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else r+=" if ("+$+" === undefined ","empty"==e.opts.useDefaults&&(r+=" || "+$+" === null || "+$+" === '' "),r+=" ) "+$+" = ","shared"==e.opts.useDefaults?r+=" "+e.useDefault(H.default)+" ":r+=" "+JSON.stringify(H.default)+" ",r+="; "}}else if("array"==k.type&&Array.isArray(e.schema.items)){var U=e.schema.items;if(U){M=-1;for(var H,W=U.length-1;M<W;)if(void 0!==(H=U[M+=1]).default)if($=m+"["+M+"]",e.compositeRule){if(e.opts.strictDefaults){if(b="default is ignored for: "+$,"log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else r+=" if ("+$+" === undefined ","empty"==e.opts.useDefaults&&(r+=" || "+$+" === null || "+$+" === '' "),r+=" ) "+$+" = ","shared"==e.opts.useDefaults?r+=" "+e.useDefault(H.default)+" ":r+=" "+JSON.stringify(H.default)+" ",r+="; "}}var q,V=k.rules;if(V)for(var K,G=-1,Y=V.length-1;G<Y;)if(X(K=V[G+=1])){var J=K.code(e,K.keyword,k.type);J&&(r+=" "+J+" ",h&&(_+="}"))}if(h&&(r+=" "+_+" ",_=""),k.type&&(r+=" } ",S&&S===k.type&&!E))r+=" else { ",d=e.schemaPath+".type",p=e.errSchemaPath+"/type",(q=q||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(p)+" , params: { type: '",r+=x?""+S.join(","):""+S,r+="' } ",!1!==e.opts.messages&&(r+=" , message: 'should be ",r+=x?""+S.join(","):""+S,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),r+=" } "):r+=" {} ",v=r,r=q.pop(),!e.compositeRule&&h?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ";h&&(r+=" if (errors === ",r+=y?"0":"errs_"+c,r+=") { ",w+="}")}}function Z(e){for(var t=e.rules,n=0;n<t.length;n++)if(X(t[n]))return!0}function X(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var n=t.implements,r=0;r<n.length;r++)if(void 0!==e.schema[n[r]])return!0}(t)}return h&&(r+=" "+w+" "),y?(i?(r+=" if (errors === 0) return data;           ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0;       "),r+=" }; return validate;"):r+=" var "+g+" = errors === errs_"+c+";",r}},74797:(e,t,n)=>{"use strict";var r=/^[a-z_$][a-z0-9_$-]*$/i,i=n(71874),o=n(15919);e.exports={add:function(e,t){var n=this.RULES;if(n.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!r.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var o=t.type;if(Array.isArray(o))for(var a=0;a<o.length;a++)l(e,o[a],t);else l(e,o,t);var s=t.metaSchema;s&&(t.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(s,!0))}function l(e,t,r){for(var o,a=0;a<n.length;a++){var s=n[a];if(s.type==t){o=s;break}}o||(o={type:t,rules:[]},n.push(o));var l={keyword:e,definition:r,custom:!0,code:i,implements:r.implements};o.rules.push(l),n.custom[e]=l}return n.keywords[e]=n.all[e]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var n=0;n<t.length;n++)for(var r=t[n].rules,i=0;i<r.length;i++)if(r[i].keyword==e){r.splice(i,1);break}return this},validate:function e(t,n){e.errors=null;var r=this._validateKeyword=this._validateKeyword||this.compile(o,!0);if(r(t))return!0;if(e.errors=r.errors,n)throw new Error("custom keyword definition is invalid: "+this.errorsText(r.errors));return!1}}},63379:e=>{"use strict";e.exports={mask:(e,t,n,r,i)=>{for(var o=0;o<i;o++)n[r+o]=e[o]^t[3&o]},unmask:(e,t)=>{const n=e.length;for(var r=0;r<n;r++)e[r]^=t[3&r]}}},94581:(e,t,n)=>{"use strict";try{e.exports=require(n.ab+"prebuilds/win32-x64/node.napi1.node")}catch(t){e.exports=n(63379)}},84596:(e,t,n)=>{"use strict";var r=n(77947);e.exports=function(e,t){return e?void t.then((function(t){r((function(){e(null,t)}))}),(function(t){r((function(){e(t)}))})):t}},77947:e=>{"use strict";e.exports="object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:"function"==typeof setImmediate?setImmediate:function(e){setTimeout(e,0)}},91773:e=>{e.exports=function(e){var t=0;e+="x";for(var n=parseInt(65745979961613.07),r=0;r<e.length;r++)t>n&&(t=parseInt(t/137)),t=131*t+e.charCodeAt(r);return t}},66983:(e,t,n)=>{var r=n(91773),i=function(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;return[(e/=360)+1/3,e,e-1/3].map((function(e){return e<0&&e++,e>1&&e--,e=e<1/6?i+6*(r-i)*e:e<.5?r:e<2/3?i+6*(r-i)*(2/3-e):i,Math.round(255*e)}))};function o(e){return"[object Array]"===Object.prototype.toString.call(e)}var a=function(e){var t=[(e=e||{}).lightness,e.saturation].map((function(e){return o(e=void 0!==e?e:[.35,.5,.65])?e.concat():[e]}));this.L=t[0],this.S=t[1],"number"==typeof e.hue&&(e.hue={min:e.hue,max:e.hue}),"object"!=typeof e.hue||o(e.hue)||(e.hue=[e.hue]),void 0===e.hue&&(e.hue=[]),this.hueRanges=e.hue.map((function(e){return{min:void 0===e.min?0:e.min,max:void 0===e.max?360:e.max}})),this.hash=e.hash||r};a.prototype.hsl=function(e){var t,n,r=this.hash(e);if(this.hueRanges.length){var i=this.hueRanges[r%this.hueRanges.length];t=r/this.hueRanges.length%727*(i.max-i.min)/727+i.min}else t=r%359;return r=parseInt(r/360),n=this.S[r%this.S.length],r=parseInt(r/this.S.length),[t,n,this.L[r%this.L.length]]},a.prototype.rgb=function(e){var t=this.hsl(e);return i.apply(this,t)},a.prototype.hex=function(e){var t,n=this.rgb(e);return t="#",n.forEach((function(e){e<16&&(t+=0),t+=e.toString(16)})),t},e.exports=a},38914:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},64104:(e,t,n)=>{var r=n(38914),i=n(47966),o=Object.hasOwnProperty,a=Object.create(null);for(var s in r)o.call(r,s)&&(a[r[s]]=s);var l=e.exports={to:{},get:{}};function c(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var s=2*n;a[n]=parseInt(t.slice(s,s+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:o.call(r,t[1])?((a=r[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=c(a[n],0,255);return a[3]=c(a[3],0,1),a},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return a[e.slice(0,3)]}},41942:(e,t,n)=>{"use strict";var r=n(64104),i=n(12027),o=[].slice,a=["keyword","gray","hex"],s={};Object.keys(i).forEach((function(e){s[o.call(i[e].labels).sort().join("")]=e}));var l={};function c(e,t){if(!(this instanceof c))return new c(e,t);if(t&&t in a&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);var n,u;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof c)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var f=r.get(e);if(null===f)throw new Error("Unable to parse color from string: "+e);this.model=f.model,u=i[this.model].channels,this.color=f.value.slice(0,u),this.valpha="number"==typeof f.value[u]?f.value[u]:1}else if(e.length){this.model=t||"rgb",u=i[this.model].channels;var p=o.call(e,0,u);this.color=d(p,u),this.valpha="number"==typeof e[u]?e[u]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var h=Object.keys(e);"alpha"in e&&(h.splice(h.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var m=h.sort().join("");if(!(m in s))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=s[m];var g=i[this.model].labels,v=[];for(n=0;n<g.length;n++)v.push(e[g[n]]);this.color=d(v)}if(l[this.model])for(u=i[this.model].channels,n=0;n<u;n++){var y=l[this.model][n];y&&(this.color[n]=y(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function u(e,t,n){return(e=Array.isArray(e)?e:[e]).forEach((function(e){(l[e]||(l[e]=[]))[t]=n})),e=e[0],function(r){var i;return arguments.length?(n&&(r=n(r)),(i=this[e]()).color[t]=r,i):(i=this[e]().color[t],n&&(i=n(i)),i)}}function f(e){return function(t){return Math.max(0,Math.min(e,t))}}function d(e,t){for(var n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}c.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in r.to?this:this.rgb(),n=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return r.to[t.model](n)},percentString:function(e){var t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:t.color.concat(this.valpha);return r.to.rgb.percent(n)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=i[this.model].channels,n=i[this.model].labels,r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new c(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new c(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:u("rgb",0,f(255)),green:u("rgb",1,f(255)),blue:u("rgb",2,f(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),saturationl:u("hsl",1,f(100)),lightness:u("hsl",2,f(100)),saturationv:u("hsv",1,f(100)),value:u("hsv",2,f(100)),chroma:u("hcg",1,f(100)),gray:u("hcg",2,f(100)),white:u("hwb",1,f(100)),wblack:u("hwb",2,f(100)),cyan:u("cmyk",0,f(100)),magenta:u("cmyk",1,f(100)),yellow:u("cmyk",2,f(100)),black:u("cmyk",3,f(100)),x:u("xyz",0,f(100)),y:u("xyz",1,f(100)),z:u("xyz",2,f(100)),l:u("lab",0,f(100)),a:u("lab",1),b:u("lab",2),keyword:function(e){return arguments.length?new c(e):i[this.model].keyword(this.color)},hex:function(e){return arguments.length?new c(e):r.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return c.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),r=this.rgb(),i=void 0===t?.5:t,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,l=1-s;return c.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue(),n.alpha()*i+r.alpha()*(1-i))}},Object.keys(i).forEach((function(e){if(-1===a.indexOf(e)){var t=i[e].channels;c.prototype[e]=function(){if(this.model===e)return new c(this);if(arguments.length)return new c(arguments,e);var n,r="number"==typeof arguments[t]?t:this.valpha;return new c((n=i[this.model][e].raw(this.color),Array.isArray(n)?n:[n]).concat(r),e)},c[e]=function(n){return"number"==typeof n&&(n=d(o.call(arguments),t)),new c(n,e)}}})),e.exports=c},78826:(e,t,n)=>{var r=n(97567),i={};for(var o in r)r.hasOwnProperty(o)&&(i[r[o]]=o);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in a)if(a.hasOwnProperty(s)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);var l=a[s].channels,c=a[s].labels;delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:l}),Object.defineProperty(a[s],"labels",{value:c})}a.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a;return s===a?t=0:r===s?t=(i-o)/l:i===s?t=2+(o-r)/l:o===s&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},a.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(a,s,l),u=c-Math.min(a,s,l),f=function(e){return(c-e)/6/u+.5};return 0===u?i=o=0:(o=u/c,t=f(a),n=f(s),r=f(l),a===c?i=r-n:s===c?i=1/3+t-r:l===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*c]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,o,a,s=1/0;for(var l in r)if(r.hasOwnProperty(l)){var c=(o=e,a=r[l],Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c<s&&(s=c,n=l)}return n},a.keyword.rgb=function(e){return r[e]},a.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*o;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},a.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,i,o,a,s,l=e[0]/360,c=e[1]/100,u=e[2]/100,f=c+u;switch(f>1&&(c/=f,u/=f),r=6*l-(t=Math.floor(6*l)),1&t&&(r=1-r),i=c+r*((n=1-u)-c),t){default:case 6:case 0:o=n,a=i,s=c;break;case 1:o=i,a=n,s=c;break;case 2:o=c,a=n,s=i;break;case 3:o=c,a=i,s=n;break;case 4:o=i,a=c,s=n;break;case 5:o=n,a=c,s=i}return[255*o,255*a,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},a.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,i=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(i=(r-.5*t)/(1-t)),[e[0],100*t,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,l=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},12027:(e,t,n)=>{var r=n(78826),i=n(64238),o={};Object.keys(r).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var r=t[n];o[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),o[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=o},64238:(e,t,n)=>{var r=n(78826);function i(e,t){return function(n){return t(e(n))}}function o(e,t){for(var n=[t[e].parent,e],o=r[t[e].parent][e],a=t[e].parent;t[a].parent;)n.unshift(t[a].parent),o=i(r[t[a].parent][a],o),a=t[a].parent;return o.conversion=n,o}e.exports=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),o=Object.keys(r[i]),a=o.length,s=0;s<a;s++){var l=o[s],c=t[l];-1===c.distance&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(l))}return t}(e),n={},i=Object.keys(t),a=i.length,s=0;s<a;s++){var l=i[s];null!==t[l].parent&&(n[l]=o(l,t))}return n}},97567:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},20311:(e,t,n)=>{"use strict";var r=n(36773),i=n(15838),o=n(66084),a=Math.pow(2,31)-1;function s(e,t){var n,r=1;if(0===e)return t;if(0===t)return e;for(;e%2==0&&t%2==0;)e/=2,t/=2,r*=2;for(;e%2==0;)e/=2;for(;t;){for(;t%2==0;)t/=2;e>t&&(n=t,t=e,e=n),t-=e}return r*e}function l(e,t){var n,r=0;if(0===e)return t;if(0===t)return e;for(;!(1&e||1&t);)e>>>=1,t>>>=1,r++;for(;!(1&e);)e>>>=1;for(;t;){for(;!(1&t);)t>>>=1;e>t&&(n=t,t=e,e=n),t-=e}return e<<r}e.exports=function(){var e,t,n,c,u,f,d,p=arguments.length;for(e=new Array(p),d=0;d<p;d++)e[d]=arguments[d];if(i(e)){if(2===p)return(u=e[0])<0&&(u=-u),(f=e[1])<0&&(f=-f),u<=a&&f<=a?l(u,f):s(u,f);n=e}else{if(!r(e[0]))throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.");if(p>1){if(n=e[0],t=e[1],!o(t))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+t+"`.")}else n=e[0]}if((c=n.length)<2)return null;if(t){for(u=new Array(c),d=0;d<c;d++)u[d]=t(n[d],d);n=u}if(p<3&&!i(n))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+n+"`.");for(d=0;d<c;d++)(u=n[d])<0&&(n[d]=-u);for(u=n[0],d=1;d<c;d++)u=(f=n[d])<=a&&u<=a?l(u,f):s(u,f);return u}},67437:(e,t,n)=>{"use strict";var r=n(20311),i=n(36773),o=n(15838),a=n(66084);e.exports=function(){var e,t,n,s,l,c,u,f=arguments.length;for(e=new Array(f),u=0;u<f;u++)e[u]=arguments[u];if(o(e)){if(2===f)return(l=e[0])<0&&(l=-l),(c=e[1])<0&&(c=-c),0===l||0===c?0:l/r(l,c)*c;n=e}else{if(!i(e[0]))throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.");if(f>1){if(n=e[0],t=e[1],!a(t))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+t+"`.")}else n=e[0]}if((s=n.length)<2)return null;if(t){for(l=new Array(s),u=0;u<s;u++)l[u]=t(n[u],u);n=l}if(f<3&&!o(n))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+n+"`.");for(u=0;u<s;u++)(l=n[u])<0&&(n[u]=-l);for(l=n[0],u=1;u<s;u++){if(c=n[u],0===l||0===c)return 0;l=l/r(l,c)*c}return l}},59743:(e,t,n)=>{"use strict";var r=n(73056),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},12582:(e,t,n)=>{n(73004),e.exports=n(74896).Array.fill},67179:(e,t,n)=>{n(36077),n(19601),e.exports=n(74896).Array.from},2162:(e,t,n)=>{n(80353),e.exports=n(74896).Array.includes},63855:(e,t,n)=>{n(17021),e.exports=n(74896).Array.isArray},87376:(e,t,n)=>{n(33644),n(36077),e.exports=n(8192)},59145:(e,t,n)=>{var r=n(74896),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},84439:(e,t,n)=>{n(23987),e.exports=n(74896).Number.isNaN},61744:(e,t,n)=>{n(20856),e.exports=n(74896).Object.assign},53001:(e,t,n)=>{n(43313);var r=n(74896).Object;e.exports=function(e,t){return r.create(e,t)}},84466:(e,t,n)=>{n(41178);var r=n(74896).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},37592:(e,t,n)=>{n(40384);var r=n(74896).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},15372:(e,t,n)=>{n(624),e.exports=n(74896).Object.getOwnPropertySymbols},98922:(e,t,n)=>{n(44978),e.exports=n(74896).Object.getPrototypeOf},91153:(e,t,n)=>{n(90745),e.exports=n(74896).Object.keys},28542:(e,t,n)=>{n(86822),e.exports=n(74896).Object.setPrototypeOf},19346:(e,t,n)=>{n(16141),e.exports=n(74896).parseInt},2784:(e,t,n)=>{n(58844),n(36077),n(33644),n(3551),n(55605),n(70179),e.exports=n(74896).Promise},97845:(e,t,n)=>{n(58844),n(36077),n(33644),n(60226),n(84385),n(50946),n(79647),e.exports=n(74896).Set},92926:(e,t,n)=>{n(624),n(58844),n(9442),n(7818),e.exports=n(74896).Symbol},37054:(e,t,n)=>{n(36077),n(33644),e.exports=n(10022).f("iterator")},11953:(e,t,n)=>{e.exports=n(10022).f("toPrimitive")},63645:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},86490:e=>{e.exports=function(){}},56470:e=>{e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},89794:(e,t,n)=>{var r=n(18823);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},16558:(e,t,n)=>{"use strict";var r=n(64884),i=n(27323),o=n(42595);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:i(l,n);c>s;)t[s++]=e;return t}},24274:(e,t,n)=>{var r=n(84824);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},65626:(e,t,n)=>{var r=n(97799),i=n(42595),o=n(27323);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},80709:(e,t,n)=>{var r=n(2706),i=n(61283),o=n(64884),a=n(42595),s=n(20710);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,h){for(var m,g,v=o(t),y=i(v),b=r(s,h,3),_=a(y.length),w=0,S=n?p(t,_):l?p(t,0):void 0;_>w;w++)if((d||w in y)&&(g=b(m=y[w],w,v),e))if(n)S[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:S.push(m)}else if(u)return!1;return f?-1:c||u?u:S}}},50772:(e,t,n)=>{var r=n(18823),i=n(38087),o=n(1268)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},20710:(e,t,n)=>{var r=n(50772);e.exports=function(e,t){return new(r(e))(t)}},59654:(e,t,n)=>{var r=n(8711),i=n(1268)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},8711:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},3671:(e,t,n)=>{"use strict";var r=n(62369).f,i=n(4545),o=n(69475),a=n(2706),s=n(56470),l=n(84824),c=n(60749),u=n(43980),f=n(86916),d=n(13157),p=n(3210).fastKey,h=n(75594),m=d?"_s":"size",g=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&l(r,n,e[c],e)}));return o(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=g(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(h(this,t),e)}}),d&&r(u.prototype,"size",{get:function(){return h(this,t)[m]}}),u},def:function(e,t,n){var r,i,o=g(e,t);return o?o.v=n:(e._l=o={i:i=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,(function(e,n){this._t=h(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?u(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,u(1))}),n?"entries":"values",!n,!0),f(t)}}},98744:(e,t,n)=>{var r=n(59654),i=n(24274);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},3863:(e,t,n)=>{"use strict";var r=n(4264),i=n(15141),o=n(3210),a=n(83386),s=n(38371),l=n(69475),c=n(84824),u=n(56470),f=n(18823),d=n(81218),p=n(62369).f,h=n(80709)(0),m=n(13157);e.exports=function(e,t,n,g,v,y){var b=r[e],_=b,w=v?"set":"add",S=_&&_.prototype,x={};return m&&"function"==typeof _&&(y||S.forEach&&!a((function(){(new _).entries().next()})))?(_=t((function(t,n){u(t,_,e,"_c"),t._c=new b,null!=n&&c(n,v,t[w],t)})),h("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(e){var t="add"==e||"set"==e;!(e in S)||y&&"clear"==e||s(_.prototype,e,(function(n,r){if(u(this,_,e),!t&&y&&!f(n))return"get"==e&&void 0;var i=this._c[e](0===n?0:n,r);return t?this:i}))})),y||p(_.prototype,"size",{get:function(){return this._c.size}})):(_=g.getConstructor(t,e,v,w),l(_.prototype,n),o.NEED=!0),d(_,e),x[e]=_,i(i.G+i.W+i.F,x),y||g.setStrong(_,e,v),_}},74896:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},14505:(e,t,n)=>{"use strict";var r=n(62369),i=n(73858);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},2706:(e,t,n)=>{var r=n(63645);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},25362:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},13157:(e,t,n)=>{e.exports=!n(83386)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},50060:(e,t,n)=>{var r=n(18823),i=n(4264).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},63714:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},83919:(e,t,n)=>{var r=n(18377),i=n(41226),o=n(44639);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},15141:(e,t,n)=>{var r=n(4264),i=n(74896),o=n(2706),a=n(38371),s=n(46459),l="prototype",c=function(e,t,n){var u,f,d,p=e&c.F,h=e&c.G,m=e&c.S,g=e&c.P,v=e&c.B,y=e&c.W,b=h?i:i[t]||(i[t]={}),_=b[l],w=h?r:m?r[t]:(r[t]||{})[l];for(u in h&&(n=t),n)(f=!p&&w&&void 0!==w[u])&&s(b,u)||(d=f?w[u]:n[u],b[u]=h&&"function"!=typeof w[u]?n[u]:v&&f?o(d,r):y&&w[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(d):g&&"function"==typeof d?o(Function.call,d):d,g&&((b.virtual||(b.virtual={}))[u]=d,e&c.R&&_&&!_[u]&&a(_,u,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},83386:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},84824:(e,t,n)=>{var r=n(2706),i=n(34898),o=n(88982),a=n(89794),s=n(42595),l=n(52612),c={},u={},f=e.exports=function(e,t,n,f,d){var p,h,m,g,v=d?function(){return e}:l(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(p=s(e.length);p>b;b++)if((g=t?y(a(h=e[b])[0],h[1]):y(e[b]))===c||g===u)return g}else for(m=v.call(e);!(h=m.next()).done;)if((g=i(m,y,h.value,t))===c||g===u)return g};f.BREAK=c,f.RETURN=u},4264:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},46459:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},38371:(e,t,n)=>{var r=n(62369),i=n(73858);e.exports=n(13157)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},47626:(e,t,n)=>{var r=n(4264).document;e.exports=r&&r.documentElement},72926:(e,t,n)=>{e.exports=!n(13157)&&!n(83386)((function(){return 7!=Object.defineProperty(n(50060)("div"),"a",{get:function(){return 7}}).a}))},27683:e=>{e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},61283:(e,t,n)=>{var r=n(8711);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},88982:(e,t,n)=>{var r=n(80212),i=n(1268)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},38087:(e,t,n)=>{var r=n(8711);e.exports=Array.isArray||function(e){return"Array"==r(e)}},18823:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},34898:(e,t,n)=>{var r=n(89794);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},11062:(e,t,n)=>{"use strict";var r=n(4545),i=n(73858),o=n(81218),a={};n(38371)(a,n(1268)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},60749:(e,t,n)=>{"use strict";var r=n(32644),i=n(15141),o=n(50301),a=n(38371),s=n(80212),l=n(11062),c=n(81218),u=n(39393),f=n(1268)("iterator"),d=!([].keys&&"next"in[].keys()),p="keys",h="values",m=function(){return this};e.exports=function(e,t,n,g,v,y,b){l(n,t,g);var _,w,S,x=function(e){if(!d&&e in O)return O[e];switch(e){case p:case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k=v==h,C=!1,O=e.prototype,T=O[f]||O["@@iterator"]||v&&O[v],P=T||x(v),A=v?k?x("entries"):P:void 0,M="Array"==t&&O.entries||T;if(M&&(S=u(M.call(new e)))!==Object.prototype&&S.next&&(c(S,E,!0),r||"function"==typeof S[f]||a(S,f,m)),k&&T&&T.name!==h&&(C=!0,P=function(){return T.call(this)}),r&&!b||!d&&!C&&O[f]||a(O,f,P),s[t]=P,s[E]=m,v)if(_={values:k?P:x(h),keys:y?P:x(p),entries:A},b)for(w in _)w in O||o(O,w,_[w]);else i(i.P+i.F*(d||C),t,_);return _}},61373:(e,t,n)=>{var r=n(1268)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},43980:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},80212:e=>{e.exports={}},32644:e=>{e.exports=!0},3210:(e,t,n)=>{var r=n(3897)("meta"),i=n(18823),o=n(46459),a=n(62369).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(83386)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&l(e)&&!o(e,r)&&u(e),e}}},21942:(e,t,n)=>{var r=n(4264),i=n(21978).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(8711)(a);e.exports=function(){var e,t,n,c=function(){var r,i;for(l&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},33004:(e,t,n)=>{"use strict";var r=n(63645);function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},6408:(e,t,n)=>{"use strict";var r=n(13157),i=n(18377),o=n(41226),a=n(44639),s=n(64884),l=n(61283),c=Object.assign;e.exports=!c||n(83386)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,f=o.f,d=a.f;c>u;)for(var p,h=l(arguments[u++]),m=f?i(h).concat(f(h)):i(h),g=m.length,v=0;g>v;)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:c},4545:(e,t,n)=>{var r=n(89794),i=n(54644),o=n(63714),a=n(82624)("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n(50060)("iframe"),r=o.length;for(t.style.display="none",n(47626).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c[l][o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},62369:(e,t,n)=>{var r=n(89794),i=n(72926),o=n(51146),a=Object.defineProperty;t.f=n(13157)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},54644:(e,t,n)=>{var r=n(62369),i=n(89794),o=n(18377);e.exports=n(13157)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},81379:(e,t,n)=>{var r=n(44639),i=n(73858),o=n(97799),a=n(51146),s=n(46459),l=n(72926),c=Object.getOwnPropertyDescriptor;t.f=n(13157)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},52211:(e,t,n)=>{var r=n(97799),i=n(1069).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},1069:(e,t,n)=>{var r=n(82859),i=n(63714).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},41226:(e,t)=>{t.f=Object.getOwnPropertySymbols},39393:(e,t,n)=>{var r=n(46459),i=n(64884),o=n(82624)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},82859:(e,t,n)=>{var r=n(46459),i=n(97799),o=n(65626)(!1),a=n(82624)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},18377:(e,t,n)=>{var r=n(82859),i=n(63714);e.exports=Object.keys||function(e){return r(e,i)}},44639:(e,t)=>{t.f={}.propertyIsEnumerable},77461:(e,t,n)=>{var r=n(15141),i=n(74896),o=n(83386);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},33592:(e,t,n)=>{var r=n(4264).parseInt,i=n(21595).trim,o=n(63413),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},83122:e=>{e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},76891:(e,t,n)=>{var r=n(89794),i=n(18823),o=n(33004);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},73858:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},69475:(e,t,n)=>{var r=n(38371);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},50301:(e,t,n)=>{e.exports=n(38371)},73313:(e,t,n)=>{"use strict";var r=n(15141),i=n(63645),o=n(2706),a=n(84824);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,s,l=arguments[1];return i(this),(t=void 0!==l)&&i(l),null==e?new this:(n=[],t?(r=0,s=o(l,arguments[2],2),a(e,!1,(function(e){n.push(s(e,r++))}))):a(e,!1,n.push,n),new this(n))}})}},19664:(e,t,n)=>{"use strict";var r=n(15141);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},80396:(e,t,n)=>{var r=n(18823),i=n(89794),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(2706)(Function.call,n(81379).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},86916:(e,t,n)=>{"use strict";var r=n(4264),i=n(74896),o=n(62369),a=n(13157),s=n(1268)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},81218:(e,t,n)=>{var r=n(62369).f,i=n(46459),o=n(1268)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},82624:(e,t,n)=>{var r=n(45250)("keys"),i=n(3897);e.exports=function(e){return r[e]||(r[e]=i(e))}},45250:(e,t,n)=>{var r=n(74896),i=n(4264),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(32644)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},42340:(e,t,n)=>{var r=n(89794),i=n(63645),o=n(1268)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},97318:(e,t,n)=>{var r=n(5029),i=n(25362);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},21595:(e,t,n)=>{var r=n(15141),i=n(25362),o=n(83386),a=n(63413),s="["+a+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,n){var i={},s=o((function(){return!!a[e]()||"​"!="​"[e]()})),l=i[e]=s?t(f):a[e];n&&(i[n]=l),r(r.P+r.F*s,"String",i)},f=u.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},63413:e=>{e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},21978:(e,t,n)=>{var r,i,o,a=n(2706),s=n(27683),l=n(47626),c=n(50060),u=n(4264),f=u.process,d=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},_=function(e){b.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete v[e]},"process"==n(8711)(f)?r=function(e){f.nextTick(a(b,e,1))}:m&&m.now?r=function(e){m.now(a(b,e,1))}:h?(o=(i=new h).port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",_,!1)):r=y in c("script")?function(e){l.appendChild(c("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:d,clear:p}},27323:(e,t,n)=>{var r=n(5029),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},5029:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},97799:(e,t,n)=>{var r=n(61283),i=n(25362);e.exports=function(e){return r(i(e))}},42595:(e,t,n)=>{var r=n(5029),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},64884:(e,t,n)=>{var r=n(25362);e.exports=function(e){return Object(r(e))}},51146:(e,t,n)=>{var r=n(18823);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},3897:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},76848:(e,t,n)=>{var r=n(4264).navigator;e.exports=r&&r.userAgent||""},75594:(e,t,n)=>{var r=n(18823);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},63970:(e,t,n)=>{var r=n(4264),i=n(74896),o=n(32644),a=n(10022),s=n(62369).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},10022:(e,t,n)=>{t.f=n(1268)},1268:(e,t,n)=>{var r=n(45250)("wks"),i=n(3897),o=n(4264).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},52612:(e,t,n)=>{var r=n(59654),i=n(1268)("iterator"),o=n(80212);e.exports=n(74896).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},8192:(e,t,n)=>{var r=n(89794),i=n(52612);e.exports=n(74896).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},73004:(e,t,n)=>{var r=n(15141);r(r.P,"Array",{fill:n(16558)}),n(86490)("fill")},19601:(e,t,n)=>{"use strict";var r=n(2706),i=n(15141),o=n(64884),a=n(34898),s=n(88982),l=n(42595),c=n(14505),u=n(52612);i(i.S+i.F*!n(61373)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,f,d=o(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(d);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(t=l(d.length));t>v;v++)c(n,v,g?m(d[v],v):d[v]);else for(f=y.call(d),n=new p;!(i=f.next()).done;v++)c(n,v,g?a(f,m,[i.value,v],!0):i.value);return n.length=v,n}})},17021:(e,t,n)=>{var r=n(15141);r(r.S,"Array",{isArray:n(38087)})},25007:(e,t,n)=>{"use strict";var r=n(86490),i=n(43980),o=n(80212),a=n(97799);e.exports=n(60749)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},23987:(e,t,n)=>{var r=n(15141);r(r.S,"Number",{isNaN:function(e){return e!=e}})},20856:(e,t,n)=>{var r=n(15141);r(r.S+r.F,"Object",{assign:n(6408)})},43313:(e,t,n)=>{var r=n(15141);r(r.S,"Object",{create:n(4545)})},41178:(e,t,n)=>{var r=n(15141);r(r.S+r.F*!n(13157),"Object",{defineProperty:n(62369).f})},40384:(e,t,n)=>{var r=n(97799),i=n(81379).f;n(77461)("getOwnPropertyDescriptor",(function(){return function(e,t){return i(r(e),t)}}))},44978:(e,t,n)=>{var r=n(64884),i=n(39393);n(77461)("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},90745:(e,t,n)=>{var r=n(64884),i=n(18377);n(77461)("keys",(function(){return function(e){return i(r(e))}}))},86822:(e,t,n)=>{var r=n(15141);r(r.S,"Object",{setPrototypeOf:n(80396).set})},58844:()=>{},16141:(e,t,n)=>{var r=n(15141),i=n(33592);r(r.G+r.F*(parseInt!=i),{parseInt:i})},3551:(e,t,n)=>{"use strict";var r,i,o,a,s=n(32644),l=n(4264),c=n(2706),u=n(59654),f=n(15141),d=n(18823),p=n(63645),h=n(56470),m=n(84824),g=n(42340),v=n(21978).set,y=n(21942)(),b=n(33004),_=n(83122),w=n(76848),S=n(76891),x="Promise",E=l.TypeError,k=l.process,C=k&&k.versions,O=C&&C.v8||"",T=l[x],P="process"==u(k),A=function(){},M=i=b.f,L=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(1268)("species")]=function(e){e(A,A)};return(P||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==O.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),I=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},R=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(E("Promise-chain cycle")):(o=I(n))?o.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){v.call(l,(function(){var t,n,r,i=e._v,o=j(e);if(o&&(t=_((function(){P?k.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=P||j(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){v.call(l,(function(){var t;P?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},F=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},B=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=I(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,c(B,r,1),c(F,r,1))}catch(e){F.call(r,e)}})):(n._v=e,n._s=1,R(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};L||(T=function(e){h(this,T,x,"_h"),p(e),r.call(this);try{e(c(B,this,1),c(F,this,1))}catch(e){F.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(69475)(T.prototype,{then:function(e,t){var n=M(g(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=P?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(B,e,1),this.reject=c(F,e,1)},b.f=M=function(e){return e===T||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!L,{Promise:T}),n(81218)(T,x),n(86916)(x),a=n(74896)[x],f(f.S+f.F*!L,x,{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!L),x,{resolve:function(e){return S(s&&this===a?T:this,e)}}),f(f.S+f.F*!(L&&n(61373)((function(e){T.all(e).catch(A)}))),x,{all:function(e){var t=this,n=M(t),r=n.resolve,i=n.reject,o=_((function(){var n=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},60226:(e,t,n)=>{"use strict";var r=n(3671),i=n(75594);e.exports=n(3863)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},36077:(e,t,n)=>{"use strict";var r=n(97318)(!0);n(60749)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},624:(e,t,n)=>{"use strict";var r=n(4264),i=n(46459),o=n(13157),a=n(15141),s=n(50301),l=n(3210).KEY,c=n(83386),u=n(45250),f=n(81218),d=n(3897),p=n(1268),h=n(10022),m=n(63970),g=n(83919),v=n(38087),y=n(89794),b=n(18823),_=n(64884),w=n(97799),S=n(51146),x=n(73858),E=n(4545),k=n(52211),C=n(81379),O=n(41226),T=n(62369),P=n(18377),A=C.f,M=T.f,L=k.f,I=r.Symbol,R=r.JSON,D=R&&R.stringify,j="prototype",N=p("_hidden"),F=p("toPrimitive"),B={}.propertyIsEnumerable,z=u("symbol-registry"),$=u("symbols"),U=u("op-symbols"),H=Object[j],W="function"==typeof I&&!!O.f,q=r.QObject,V=!q||!q[j]||!q[j].findChild,K=o&&c((function(){return 7!=E(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A(H,t);r&&delete H[t],M(e,t,n),r&&e!==H&&M(H,t,r)}:M,G=function(e){var t=$[e]=E(I[j]);return t._k=e,t},Y=W&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},J=function(e,t,n){return e===H&&J(U,t,n),y(e),t=S(t,!0),y(n),i($,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:x(0,!1)})):(i(e,N)||M(e,N,x(1,{})),e[N][t]=!0),K(e,t,n)):M(e,t,n)},Z=function(e,t){y(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)J(e,n=r[i++],t[n]);return e},X=function(e){var t=B.call(this,e=S(e,!0));return!(this===H&&i($,e)&&!i(U,e))&&(!(t||!i(this,e)||!i($,e)||i(this,N)&&this[N][e])||t)},Q=function(e,t){if(e=w(e),t=S(t,!0),e!==H||!i($,t)||i(U,t)){var n=A(e,t);return!n||!i($,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=L(w(e)),r=[],o=0;n.length>o;)i($,t=n[o++])||t==N||t==l||r.push(t);return r},te=function(e){for(var t,n=e===H,r=L(n?U:w(e)),o=[],a=0;r.length>a;)!i($,t=r[a++])||n&&!i(H,t)||o.push($[t]);return o};W||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(U,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),K(this,e,x(1,n))};return o&&V&&K(H,e,{configurable:!0,set:t}),G(e)})[j],"toString",(function(){return this._k})),C.f=Q,T.f=J,n(1069).f=k.f=ee,n(44639).f=X,O.f=te,o&&!n(32644)&&s(H,"propertyIsEnumerable",X,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!W,{Symbol:I});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)p(ne[re++]);for(var ie=P(p.store),oe=0;ie.length>oe;)m(ie[oe++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return i(z,e+="")?z[e]:z[e]=I(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in z)if(z[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!W,"Object",{create:function(e,t){return void 0===t?E(e):Z(E(e),t)},defineProperty:J,defineProperties:Z,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=c((function(){O.f(1)}));a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return O.f(_(e))}}),R&&a(a.S+a.F*(!W||c((function(){var e=I();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,D.apply(R,r)}}),I[j][F]||n(38371)(I[j],F,I[j].valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},80353:(e,t,n)=>{"use strict";var r=n(15141),i=n(65626)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(86490)("includes")},55605:(e,t,n)=>{"use strict";var r=n(15141),i=n(74896),o=n(4264),a=n(42340),s=n(76891);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},70179:(e,t,n)=>{"use strict";var r=n(15141),i=n(33004),o=n(83122);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},79647:(e,t,n)=>{n(73313)("Set")},50946:(e,t,n)=>{n(19664)("Set")},84385:(e,t,n)=>{var r=n(15141);r(r.P+r.R,"Set",{toJSON:n(98744)("Set")})},9442:(e,t,n)=>{n(63970)("asyncIterator")},7818:(e,t,n)=>{n(63970)("observable")},33644:(e,t,n)=>{n(25007);for(var r=n(4264),i=n(38371),o=n(80212),a=n(1268)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],f=u&&u.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},37060:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},13649:e=>{"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n,r,i=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[1],a=i[3];if(!a)return o;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),c="/*# ".concat(l," */"),u=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[o].concat(u).concat([c]).join("\n")}return[o].join("\n")}},56271:e=>{"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},71949:(e,t,n)=>{"use strict";var r=n(23157),i=n(92791),o=n(25742),a=n(86730),s=n(73912);(e.exports=function(e,t){var n,i,l,c,u;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],r(e)?(n=s.call(e,"c"),i=s.call(e,"e"),l=s.call(e,"w")):(n=l=!0,i=!1),u={value:t,configurable:n,enumerable:i,writable:l},c?o(a(c),u):u}).gs=function(e,t,n){var l,c,u,f;return"string"!=typeof e?(u=n,n=t,t=e,e=null):u=arguments[3],r(t)?i(t)?r(n)?i(n)||(u=n,n=void 0):n=void 0:(u=t,t=n=void 0):t=void 0,r(e)?(l=s.call(e,"c"),c=s.call(e,"e")):(l=!0,c=!1),f={get:t,set:n,configurable:l,enumerable:c},u?o(a(u),f):f}},99163:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(39942)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},39942:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,a=null;function s(...e){if(!s.enabled)return;const r=s,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";a++;const o=t.formatters[i];if("function"==typeof o){const t=e[a];n=o.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(71159),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},7525:function(e){e.exports=function(){return function(t){if(/number|string|boolean/.test(typeof t))return t;if(t instanceof Date)return new Date(t.getTime());var n=t instanceof Array?[]:{};return function t(n,r){for(var i in n){var o=n[i];o instanceof Date?e(r,i,new Date(o.getTime())):o instanceof Function?e(r,i,o):o instanceof Array?t(o,e(r,i,[])):o instanceof Object?t(o,e(r,i,{})):e(r,i,o)}}(t,n),n};function e(e,t,n){return e instanceof Array?(e.push(n),e[e.length-1]):e instanceof Object?(e[t]=n,e[t]):void 0}}()},2220:(e,t,n)=>{"use strict";var r=n(92113),i=n(1807),o=n(92324),a=Array.prototype.indexOf,s=Object.prototype.hasOwnProperty,l=Math.abs,c=Math.floor;e.exports=function(e){var t,n,u,f;if(!r(e))return a.apply(this,arguments);for(n=i(o(this).length),u=arguments[1],t=u=isNaN(u)?0:u>=0?c(u):i(this.length)-c(l(u));t<n;++t)if(s.call(this,t)&&(f=this[t],r(f)))return t;return-1}},19663:(e,t,n)=>{"use strict";e.exports=n(85206)()?Array.from:n(12798)},85206:e=>{"use strict";e.exports=function(){var e,t,n=Array.from;return"function"==typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}},12798:(e,t,n)=>{"use strict";var r=n(1082).iterator,i=n(50620),o=n(3882),a=n(1807),s=n(17441),l=n(92324),c=n(26588),u=n(98942),f=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;e.exports=function(e){var t,n,m,g,v,y,b,_,w,S,x=arguments[1],E=arguments[2];if(e=Object(l(e)),c(x)&&s(x),this&&this!==Array&&o(this))t=this;else{if(!x){if(i(e))return 1!==(v=e.length)?Array.apply(null,e):((g=new Array(1))[0]=e[0],g);if(f(e)){for(g=new Array(v=e.length),n=0;n<v;++n)g[n]=e[n];return g}}g=[]}if(!f(e))if(void 0!==(w=e[r])){for(b=s(w).call(e),t&&(g=new t),_=b.next(),n=0;!_.done;)S=x?d.call(x,E,_.value,n):_.value,t?(p.value=S,h(g,n,p)):g[n]=S,_=b.next(),++n;v=n}else if(u(e)){for(v=e.length,t&&(g=new t),n=0,m=0;n<v;++n)S=e[n],n+1<v&&(y=S.charCodeAt(0))>=55296&&y<=56319&&(S+=e[++n]),S=x?d.call(x,E,S,m):S,t?(p.value=S,h(g,m,p)):g[m]=S,++m;v=m}if(void 0===v)for(v=a(e.length),t&&(g=new t(v)),n=0;n<v;++n)S=x?d.call(x,E,e[n],n):e[n],t?(p.value=S,h(g,n,p)):g[n]=S;return t&&(p.value=null,g.length=v),g}},47969:(e,t,n)=>{"use strict";var r=n(19663),i=Array.isArray;e.exports=function(e){return i(e)?e:r(e)}},76078:(e,t,n)=>{"use strict";var r=n(25742),i=n(15534),o=n(26588),a=Error.captureStackTrace;e.exports=function(t){var n=new Error(t),s=arguments[1],l=arguments[2];return o(l)||i(s)&&(l=s,s=null),o(l)&&r(n,l),o(s)&&(n.code=s),a&&a(n,e.exports),n}},3279:(e,t,n)=>{"use strict";var r,i,o,a,s,l=n(1807),c=function(e,t){return t};try{Object.defineProperty(c,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===c.length?(r={configurable:!0,writable:!1,enumerable:!1},i=Object.defineProperty,e.exports=function(e,t){return t=l(t),e.length===t?e:(r.value=t,i(e,"length",r))}):(a=n(47551),s=[],o=function(e){var t,n=0;if(s[e])return s[e];for(t=[];e--;)t.push("a"+(++n).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},e.exports=function(e,t){var n;if(t=l(t),e.length===t)return e;n=o(t)(e);try{a(n,e)}catch(e){}return n})},50620:e=>{"use strict";var t=Object.prototype.toString,n=t.call(function(){return arguments}());e.exports=function(e){return t.call(e)===n}},3882:e=>{"use strict";var t=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"==typeof e&&n(t.call(e))}},13405:e=>{"use strict";e.exports=function(){}},8845:(e,t,n)=>{"use strict";e.exports=n(7892)()?Math.sign:n(22248)},7892:e=>{"use strict";e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}},22248:e=>{"use strict";e.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}},92113:(e,t,n)=>{"use strict";e.exports=n(43080)()?Number.isNaN:n(57620)},43080:e=>{"use strict";e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}},57620:e=>{"use strict";e.exports=function(e){return e!=e}},74636:(e,t,n)=>{"use strict";var r=n(8845),i=Math.abs,o=Math.floor;e.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*o(i(e)):e}},1807:(e,t,n)=>{"use strict";var r=n(74636),i=Math.max;e.exports=function(e){return i(0,r(e))}},2625:(e,t,n)=>{"use strict";var r=n(17441),i=n(92324),o=Function.prototype.bind,a=Function.prototype.call,s=Object.keys,l=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(n,c){var u,f=arguments[2],d=arguments[3];return n=Object(i(n)),r(c),u=s(n),d&&u.sort("function"==typeof d?o.call(d,n):void 0),"function"!=typeof e&&(e=u[e]),a.call(e,u,(function(e,r){return l.call(n,e)?a.call(c,f,n[e],e,n,r):t}))}}},25742:(e,t,n)=>{"use strict";e.exports=n(5349)()?Object.assign:n(71257)},5349:e=>{"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},71257:(e,t,n)=>{"use strict";var r=n(32423),i=n(92324),o=Math.max;e.exports=function(e,t){var n,a,s,l=o(arguments.length,2);for(e=Object(i(e)),s=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},a=1;a<l;++a)r(t=arguments[a]).forEach(s);if(void 0!==n)throw n;return e}},72363:(e,t,n)=>{"use strict";e.exports=n(2625)("forEach")},56073:e=>{"use strict";e.exports=function(e){return"function"==typeof e}},15534:(e,t,n)=>{"use strict";var r=n(26588),i={function:!0,object:!0};e.exports=function(e){return r(e)&&i[typeof e]||!1}},26588:(e,t,n)=>{"use strict";var r=n(13405)();e.exports=function(e){return e!==r&&null!==e}},32423:(e,t,n)=>{"use strict";e.exports=n(59326)()?Object.keys:n(45734)},59326:e=>{"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},45734:(e,t,n)=>{"use strict";var r=n(26588),i=Object.keys;e.exports=function(e){return i(r(e)?Object(e):e)}},42144:(e,t,n)=>{"use strict";var r=n(17441),i=n(72363),o=Function.prototype.call;e.exports=function(e,t){var n={},a=arguments[2];return r(t),i(e,(function(e,r,i,s){n[r]=o.call(t,a,e,r,i,s)})),n}},47551:(e,t,n)=>{"use strict";var r=n(92324),i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e.exports=function(e,t){var n,l=Object(r(t));if(e=Object(r(e)),a(l).forEach((function(r){try{i(e,r,o(t,r))}catch(e){n=e}})),"function"==typeof s&&s(l).forEach((function(r){try{i(e,r,o(t,r))}catch(e){n=e}})),void 0!==n)throw n;return e}},86730:(e,t,n)=>{"use strict";var r=n(26588),i=Array.prototype.forEach,o=Object.create;e.exports=function(e){var t=o(null);return i.call(arguments,(function(e){r(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)})),t}},99462:e=>{"use strict";var t=Array.prototype.forEach,n=Object.create;e.exports=function(e){var r=n(null);return t.call(arguments,(function(e){r[e]=!0})),r}},17441:e=>{"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},92324:(e,t,n)=>{"use strict";var r=n(26588);e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},92830:(e,t,n)=>{"use strict";var r=n(92324),i=n(40226);e.exports=function(e){return i(r(e))}},40226:(e,t,n)=>{"use strict";var r=n(56073);e.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}},16363:(e,t,n)=>{"use strict";var r=n(56073);e.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}},73912:(e,t,n)=>{"use strict";e.exports=n(92895)()?String.prototype.contains:n(73063)},92895:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}},73063:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},98942:e=>{"use strict";var t=Object.prototype.toString,n=t.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||t.call(e)===n)||!1}},36792:(e,t,n)=>{"use strict";var r=n(16363),i=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(i,(function(e){return JSON.stringify(e).slice(1,-1)}))}},1082:(e,t,n)=>{"use strict";e.exports=n(97297)()?n(95675).Symbol:n(25179)},97297:(e,t,n)=>{"use strict";var r=n(95675),i={object:!0,symbol:!0};e.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!i[typeof t.iterator]&&!!i[typeof t.toPrimitive]&&!!i[typeof t.toStringTag]}},21313:e=>{"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},82339:(e,t,n)=>{"use strict";var r=n(71949),i=Object.create,o=Object.defineProperty,a=Object.prototype,s=i(null);e.exports=function(e){for(var t,n,i=0;s[e+(i||"")];)++i;return s[e+=i||""]=!0,o(a,t="@@"+e,r.gs(null,(function(e){n||(n=!0,o(this,t,r(e)),n=!1)}))),t}},5651:(e,t,n)=>{"use strict";var r=n(71949),i=n(95675).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",i&&i.hasInstance||e("hasInstance")),isConcatSpreadable:r("",i&&i.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",i&&i.iterator||e("iterator")),match:r("",i&&i.match||e("match")),replace:r("",i&&i.replace||e("replace")),search:r("",i&&i.search||e("search")),species:r("",i&&i.species||e("species")),split:r("",i&&i.split||e("split")),toPrimitive:r("",i&&i.toPrimitive||e("toPrimitive")),toStringTag:r("",i&&i.toStringTag||e("toStringTag")),unscopables:r("",i&&i.unscopables||e("unscopables"))})}},39320:(e,t,n)=>{"use strict";var r=n(71949),i=n(65443),o=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return o[t]?o[t]:o[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in i(e),o)if(o[t]===e)return t}))})}},25179:(e,t,n)=>{"use strict";var r,i,o,a=n(71949),s=n(65443),l=n(95675).Symbol,c=n(82339),u=n(5651),f=n(39320),d=Object.create,p=Object.defineProperties,h=Object.defineProperty;if("function"==typeof l)try{String(l()),o=!0}catch(e){}else l=null;i=function(e){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return r(e)},e.exports=r=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?l(t):(n=d(i.prototype),t=void 0===t?"":String(t),p(n,{__description__:a("",t),__name__:a("",c(t))}))},u(r),f(r),p(i.prototype,{constructor:a(r),toString:a("",(function(){return this.__name__}))}),p(r.prototype,{toString:a((function(){return"Symbol ("+s(this).__description__+")"})),valueOf:a((function(){return s(this)}))}),h(r.prototype,r.toPrimitive,a("",(function(){var e=s(this);return"symbol"==typeof e?e:e.toString()}))),h(r.prototype,r.toStringTag,a("c","Symbol")),h(i.prototype,r.toStringTag,a("c",r.prototype[r.toStringTag])),h(i.prototype,r.toPrimitive,a("c",r.prototype[r.toPrimitive]))},65443:(e,t,n)=>{"use strict";var r=n(21313);e.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}},58821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.freeSpace=t.withTmpFile=t.tmpFile=t.cleanupTmpFiles=void 0;const r=n(28276),i=n(76982),o=n(79896),a=n(70857),s=n(16928),l=6,c=(0,s.join)((0,a.tmpdir)(),"etcher");function u(e,t){return(0,s.join)(c,`${e}${(0,i.randomBytes)(l).toString("hex")}${t}`)}async function f({keepOpen:e=!0,prefix:t="tmp-",postfix:n=".tmp"}){let r,i;await async function(){try{await o.promises.mkdir(c,{recursive:!0})}catch(e){"EEXIST"!==e.code||(await o.promises.stat(c)).isDirectory()||(await o.promises.unlink(c),await o.promises.mkdir(c,{recursive:!0}))}}();let a=!1;for(let e=0;e<5;e++){i=u(t,n);try{r=await o.promises.open(i,"wx+"),a=!0;break}catch(e){if("EEXIST"!==e.code)throw e}}if(!a)throw new Error("Could not generate a temporary filename in 5 tries");return e||void 0===r||(await r.close(),r=void 0),{fileHandle:r,path:i}}t.cleanupTmpFiles=async function(e=Date.now(),t=""){let n=[];try{n=await o.promises.readdir(c,{withFileTypes:!0})}catch(e){return}for(const r of n)if(r.isFile()&&r.name.startsWith(t)){const t=(0,s.join)(c,r.name);try{(await o.promises.stat(t)).ctime.getTime()<=e&&await o.promises.unlink(t)}catch(e){}}},t.tmpFile=f,t.withTmpFile=async function(e,t){const n=await f(e);try{return await t(n)}finally{e.keepOpen&&void 0!==n.fileHandle&&await n.fileHandle.close();try{await o.promises.unlink(n.path)}catch(e){if("ENOENT"!==e.code)throw e}}},t.freeSpace=async function(){try{return(await(0,r.default)(c)).free}catch(e){return console.warn(`Could not check free disk space in "${c}": ${e}`),0}}},62998:(e,t,n)=>{"use strict";var r,i,o,a,s,l,c,u=n(71949),f=n(17441),d=Function.prototype.apply,p=Function.prototype.call,h=Object.create,m=Object.defineProperty,g=Object.defineProperties,v=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};i=function(e,t){var n,i;return f(t),i=this,r.call(this,e,n=function(){o.call(i,e,n),d.call(t,this,arguments)}),n.__eeOnceListener__=t,this},s={on:r=function(e,t){var n;return f(t),v.call(this,"__ee__")?n=this.__ee__:(n=y.value=h(null),m(this,"__ee__",y),y.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:i,off:o=function(e,t){var n,r,i,o;if(f(t),!v.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:a=function(e){var t,n,r,i,o;if(v.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)d.call(r,this,o)}else switch(arguments.length){case 1:p.call(i,this);break;case 2:p.call(i,this,arguments[1]);break;case 3:p.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];d.call(i,this,o)}}},l={on:u(r),once:u(i),off:u(o),emit:u(a)},c=g({},l),e.exports=t=function(e){return null==e?h(c):g(Object(e),l)},t.methods=s},47661:e=>{var t=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{return __global__||t()}finally{delete Object.prototype.__global__}}()},95675:(e,t,n)=>{"use strict";e.exports=n(38002)()?globalThis:n(47661)},38002:e=>{"use strict";e.exports=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},88719:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},41034:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n<t.length;n++)n&&(a+=","),a+=e(t[n])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,l=Object.keys(t).sort(i&&i(t));for(a="",n=0;n<l.length;n++){var c=l[n],u=e(t[c]);u&&(a&&(a+=","),a+=JSON.stringify(c)+":"+u)}return o.splice(s,1),"{"+a+"}"}}(e)}},88160:e=>{e.exports=function(e){var t=Array.prototype.slice.call(arguments,1);return t.length&&(e=e.replace(/(%?)(%([jds]))/g,(function(e,n,r,i){var o=t.shift();switch(i){case"s":o=""+o;break;case"d":o=Number(o);break;case"j":o=JSON.stringify(o)}return n?(t.unshift(o),e):o}))),t.length&&(e+=" "+t.join(" ")),""+e.replace(/%{2,2}/g,"%")}},63573:(e,t,n)=>{"use strict";t.__esModule=!0,t.StyledIcon=void 0;var r=c(n(81794)),i=c(n(33388)),o=n(16169),a=n(36270),s=["a11yTitle","color","size","theme"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}var f=function e(t,n,r){var i=n.global&&void 0!==n.global.colors[t]?n.global.colors[t]:t,o=i;return i&&((!0===r||void 0===r&&n.dark)&&void 0!==i.dark?o=i.dark:!1!==r&&n.dark||void 0===i.light||(o=i.light)),o&&n.global&&void 0!==n.global.colors[o]&&(o=e(o,n,r)),o},d=function(e,t,n,r){return(0,i.css)(["",":",";"],e,f(t,n,r))},p=(0,i.css)([""," "," g{fill:inherit;stroke:inherit;}*:not([stroke]){&[fill='none']{stroke-width:0;}}*[stroke*='#'],*[STROKE*='#']{stroke:inherit;fill:none;}*[fill-rule],*[FILL-RULE],*[fill*='#'],*[FILL*='#']{fill:inherit;stroke:none;}"],(function(e){return d("fill",e.color||e.theme.global.colors.icon,e.theme)}),(function(e){return d("stroke",e.color||e.theme.global.colors.icon,e.theme)})),h=(0,r.forwardRef)((function(e,t){var n=e.a11yTitle,i=(e.color,e.size,e.theme,function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,s));return r.default.createElement("svg",u({ref:t,"aria-label":n},i))}));h.displayName="Icon";var m=t.StyledIcon=(0,i.default)(h).withConfig({shouldForwardProp:function(e){return!["height","width"].includes(e)}}).withConfig({displayName:"StyledIcon",componentId:"sc-ofa7kd-0"})(["display:inline-block;flex:0 0 auto;"," "," "," ",""],(function(e){var t,n=e.size,r=void 0===n?"medium":n,i=e.theme,o=(e.viewBox||"0 0 24 24").split(" "),s=o[2],l=o[3],c=s/l,u=i.icon.size[r]||r,f=(0,a.parseMetricToNum)(u),d=(null==(t=u.match(/[a-z]+$/))?void 0:t[0])||"px";return s<l?"\n      width: "+f+d+";\n      height: "+f/c+d+";\n    ":l<s?"\n      width: "+f*c+d+";\n      height: "+f+d+";\n    ":"\n      width: "+f+d+";\n      height: "+f+d+";\n    "}),(function(e){return"plain"!==e.color&&p}),(function(e){return(e.height||e.width)&&(0,a.iconPad)(e)}),(function(e){var t=e.theme;return t&&t.icon.extend}));m.defaultProps={},Object.setPrototypeOf(m.defaultProps,o.defaultProps)},16169:(e,t,n)=>{"use strict";t.__esModule=!0,t.extendDefaultTheme=t.defaultProps=void 0;var r=n(36270),i=n(67998),o=t.defaultProps={theme:i.base};t.extendDefaultTheme=function(e){o.theme=(0,r.deepMerge)(i.base,e)}},53473:(e,t,n)=>{"use strict";t.E=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.E=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Actions"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M12 17.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zm0-11V1m0 22v-5.5M1 12h5.5m11 0H23M4.437 4.437l4.125 4.125m6.876 6.876 4.124 4.124m0-15.125-4.125 4.125m-6.874 6.876-4.126 4.124"}))}))).displayName="Actions"},92692:(e,t,n)=>{"use strict";t.N=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.N=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"ClosedCaption"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M1 12c0-7 1.5-8 11-8s11 1 11 8-1.5 8-11 8-11-1-11-8zm4.25 2c0 1.5.75 2 2.5 2s2.5-.5 2.5-2h-.271c0 1.25-1 2-2.229 2-1.23 0-2.229-.75-2.229-2v-4C5.5 8.75 6.5 8 7.75 8s2.25.75 2.229 2h.271c0-1.25-1.021-2-2.5-2s-2.5.75-2.5 2v4zm8 0c0 1.5.75 2 2.5 2s2.5-.5 2.5-2h-.271c0 1.25-1 2-2.229 2-1.23 0-2.229-.75-2.229-2v-4c-.021-1.25.979-2 2.229-2s2.25.75 2.229 2h.271c0-1.25-1.021-2-2.5-2s-2.5.75-2.5 2v4z"}))}))).displayName="ClosedCaption"},49592:(e,t,n)=>{"use strict";t.J=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.J=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Expand"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m10 14-8 8m-1-7v8h8M22 2l-8 8m1-9h8v8"}))}))).displayName="Expand"},9460:(e,t,n)=>{"use strict";t.b=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.b=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormClose"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m7 7 10 10M7 17 17 7"}))}))).displayName="FormClose"},81586:(e,t,n)=>{"use strict";t.t=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.t=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormDown"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m18 9-6 6-6-6"}))}))).displayName="FormDown"},64851:(e,t,n)=>{"use strict";t.O=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.O=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormNext"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m9 6 6 6-6 6"}))}))).displayName="FormNext"},12787:(e,t,n)=>{"use strict";t.Q=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.Q=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormPrevious"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m15 6-6 6 6 6"}))}))).displayName="FormPrevious"},57387:(e,t,n)=>{"use strict";t.I=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.I=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormUp"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m18 15-6-6-6 6"}))}))).displayName="FormUp"},4101:(e,t,n)=>{"use strict";t.k=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573),o=n(36270);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}(t.k=(0,r.forwardRef)((function(e,t){var n=(0,o.useScaleProps)(e);return r.default.createElement(i.StyledIcon,s({ref:t,viewBox:"0 0 24 24",a11yTitle:"Next"},e),r.default.createElement("path",s({fill:"none",stroke:"#000",strokeWidth:"2",d:"m7 2 10 10L7 22"},n)))}))).displayName="Next"},45272:(e,t,n)=>{"use strict";t.v=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.v=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Pause"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M3 21h6V3H3v18zm12 0h6V3h-6v18z"}))}))).displayName="Pause"},68074:(e,t,n)=>{"use strict";t.j=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.j=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Play"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m3 22 18-10L3 2z"}))}))).displayName="Play"},84417:(e,t,n)=>{"use strict";t.s=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573),o=n(36270);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}(t.s=(0,r.forwardRef)((function(e,t){var n=(0,o.useScaleProps)(e);return r.default.createElement(i.StyledIcon,s({ref:t,viewBox:"0 0 24 24",a11yTitle:"Previous"},e),r.default.createElement("path",s({fill:"none",stroke:"#000",strokeWidth:"2",d:"M17 2 7 12l10 10"},n)))}))).displayName="Previous"},60980:(e,t,n)=>{"use strict";t.H=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.H=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is critical"},e),r.default.createElement("path",{fillRule:"evenodd",stroke:"#000",d:"M6.712 1.263a1.005 1.005 0 0 0-1.424 0L1.263 5.288a1.005 1.005 0 0 0 0 1.424l4.025 4.025a1.005 1.005 0 0 0 1.424 0l4.025-4.025a1.005 1.005 0 0 0 0-1.424L6.712 1.263z"}))}))).displayName="StatusCriticalSmall"},46772:(e,t,n)=>{"use strict";t.Z=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.Z=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is okay"},e),r.default.createElement("circle",{cx:"6",cy:"6",r:"5",fillRule:"evenodd",stroke:"#000"}))}))).displayName="StatusGoodSmall"},30703:(e,t,n)=>{"use strict";t.S=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.S=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is unknown"},e),r.default.createElement("rect",{width:"10",height:"10",x:"1",y:"1",fillRule:"evenodd",stroke:"#000",rx:"1"}))}))).displayName="StatusUnknownSmall"},29913:(e,t,n)=>{"use strict";t.A=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.A=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is warning"},e),r.default.createElement("path",{fillRule:"evenodd",stroke:"#000",strokeLinejoin:"round",d:"m6 1 5 9H1z"}))}))).displayName="StatusWarningSmall"},82828:(e,t,n)=>{"use strict";t.N=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.N=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Subtract"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M2 12h20"}))}))).displayName="Subtract"},38990:(e,t,n)=>{"use strict";t.f=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.f=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Volume"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M15 16a4 4 0 0 0 0-8m0 12c5 0 8-3.589 8-8s-3.589-8-8-8M1 12V8h5l6-5v18l-6-5H1v-4"}))}))).displayName="Volume"},34098:(e,t,n)=>{"use strict";t.Z=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(81794)),i=n(63573);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}(t.Z=(0,r.forwardRef)((function(e,t){return r.default.createElement(i.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"VolumeLow"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M1 8v8h5.099L12 21V3L6 8H1zm14 8a4 4 0 1 0 0-8"}))}))).displayName="VolumeLow"},32517:(e,t)=>{"use strict";t.__esModule=!0,t.base=void 0,t.base={global:{colors:{icon:"#666666"}},icon:{size:{small:"12px",medium:"24px",large:"48px",xlarge:"96px"}}}},67998:(e,t,n)=>{"use strict";t.__esModule=!0,t.base=void 0;var r=n(32517);t.base=r.base},36270:(e,t,n)=>{"use strict";t.__esModule=!0,t.deepMerge=s,t.generatePrefix=t.default=void 0,t.iconPad=f,t.isObject=a,t.parseMetricToNum=void 0,t.useScaleProps=c;var r=n(81794),i=n(33388);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e){return e&&"object"==typeof e&&!Array.isArray(e)}function s(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var i=o({},e);return n.forEach((function(e){a(e)&&Object.keys(e).forEach((function(t){a(e[t])?i[t]?i[t]=s(i[t],e[t]):i[t]=o({},e[t]):i[t]=e[t]}))})),i}var l=t.parseMetricToNum=function(e){return void 0===e&&(e=""),parseFloat(e.match(/\d+(\.\d+)?/),10)};function c(e){var t,n=(0,r.useContext)(i.ThemeContext),o=e.size,a={};return null!=n&&null!=(t=n.icon)&&t.disableScaleDown&&l(n.icon.size[o]||o)<24&&(a.vectorEffect="non-scaling-stroke"),a}var u=function(e,t){return(e-t)/2+"px"};function f(e){var t,n,o,a=e.height,s=e.size,c=void 0===s?"medium":s,f=e.width,d=(0,r.useContext)(i.ThemeContext),p=l((null==d||null==(t=d.icon)||null==(t=t.size)?void 0:t[c])||c),h="";if(a&&null!=d&&null!=(n=d.text)&&null!=(n=n[a])&&n.height){var m=l(d.text[a].height);if(m>p){var g=u(m,p);h+="padding-top: "+g+"; padding-bottom: "+g+";"}}if(f&&null!=d&&null!=(o=d.text)&&null!=(o=o[f])&&o.height){var v=l(d.text[f].height);if(v>p){var y=u(v,p);h+="padding-left: "+y+"; padding-right: "+y+";"}}return h}t.generatePrefix=function(e){return"_grommeticons-"+e+"-"+(Date.now()+Math.random())},t.default={deepMerge:s,isObject:a,parseMetricToNum:l,iconPad:f,useScaleProps:c}},99612:(e,t,n)=>{"use strict";t.__esModule=!0;var r=l(n(81794)),i=l(n(17314)),o=n(33388);t.ThemeContext=o.ThemeContext;var a=n(69618),s=n(80316);function l(e){return e&&e.__esModule?e:{default:e}}o.ThemeContext.Extend=function(e){var t=e.children,n=e.value;return r.default.createElement(o.ThemeContext.Consumer,null,(function(e){return r.default.createElement(o.ThemeContext.Provider,{value:(0,a.deepMerge)(e,n)},t)}))},o.ThemeContext.Extend.propTypes={children:i.default.node.isRequired,value:i.default.shape({}).isRequired},o.ThemeContext.propTypes=s.ThemeContextPropTypes},60922:(e,t,n)=>{"use strict";t.D=void 0;var r=n(99612);t.D=r.ThemeContext},80316:(e,t,n)=>{"use strict";var r;t.__esModule=!0,t.ThemeContextPropTypes=void 0,(r=n(17314))&&r.__esModule;t.ThemeContextPropTypes={}},77266:(e,t)=>{"use strict";t.__esModule=!0,t.isNodeBeforeScroll=t.isNodeAfterScroll=t.findVisibleParent=t.makeNodeUnfocusable=t.makeNodeFocusable=t.setFocusWithoutScroll=t.getNewContainer=t.getFirstFocusableDescendant=t.containsFocus=t.findScrollParents=t.findScrollParent=void 0,t.findScrollParent=function(e,t){var n;if(e){for(var r=e.parentNode;!n&&r&&r.getBoundingClientRect;){var i=r.getBoundingClientRect();t?i.width&&r.scrollWidth>i.width+10&&(n=r):i.height&&r.scrollHeight>i.height+10&&(n=r),r=r.parentNode}n?"body"===n.tagName.toLowerCase()&&(n=document):n=document}return n};var n=["html","body"];t.findScrollParents=function(e,t){var r=[];if(e){for(var i=e.parentNode;i&&i.getBoundingClientRect;){var o=i.getBoundingClientRect();t?o.width&&i.scrollWidth>o.width+10&&r.push(i):o.height&&i.scrollHeight>o.height+10&&r.push(i),i=i.parentNode}r.length&&n.includes(r[0].tagName.toLowerCase())&&(r.length=0),r.push(document)}return r},t.containsFocus=function(e){for(var t=document.activeElement;t&&t!==e;)t=t.parentElement;return!!t},t.getFirstFocusableDescendant=function(e){for(var t=e.getElementsByTagName("*"),n=0;n<t.length;n+=1){var r=t[n],i=r.tagName.toLowerCase();if("input"===i||"select"===i)return r}},t.getNewContainer=function(e,t){void 0===e&&(e=document.body);var n=document.createElement("div");return"first"===t?e.prepend(n):e.appendChild(n),n},t.setFocusWithoutScroll=function(e){var t=window.scrollX,n=window.scrollY;e.focus(),window.scrollTo(t,n)};var r="tabindex",i="data-g-tabindex";t.makeNodeFocusable=function(e){if(!e.hasAttribute("aria-live")){e.removeAttribute("aria-hidden");var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return e.hasAttribute(i)})).forEach((function(e){var t=e.getAttribute(i);t>=0?e.setAttribute(r,e.getAttribute(i)):"none"===t&&e.removeAttribute(r),e.removeAttribute(i)}))}};var o=/(a|area|input|select|textarea|button|iframe)$/;t.makeNodeUnfocusable=function(e){if(!e.hasAttribute("aria-live")){e.setAttribute("aria-hidden",!0);var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return null!==e.getAttribute(r)})).forEach((function(e){e.setAttribute(i,e.getAttribute(r)),e.setAttribute(r,-1)})),Array.prototype.filter.call(t||[],(function(e){return e.tagName.toLowerCase().match(o)&&e.focus&&null===e.getAttribute(i)})).forEach((function(e){e.setAttribute(i,"none"),e.setAttribute(r,-1)}))}},t.findVisibleParent=function e(t){if(t)return t.offsetParent?t:e(t.parentElement)||t},t.isNodeAfterScroll=function(e,t){var n=e.getBoundingClientRect().bottom,r=t.getBoundingClientRect?t.getBoundingClientRect():{height:0,top:0},i=r.height;return n>=r.top+i},t.isNodeBeforeScroll=function(e,t){return e.getBoundingClientRect().top<=(t.getBoundingClientRect?t.getBoundingClientRect():{top:0}).top}},16719:(e,t,n)=>{"use strict";var r;t.__esModule=!0,t.PortalContext=void 0;var i=((r=n(81794))&&r.__esModule?r:{default:r}).default.createContext(void 0);t.PortalContext=i},95104:(e,t,n)=>{"use strict";t.__esModule=!0,t.animationObjectStyle=t.animationEnding=t.normalizeTiming=t.animationBounds=void 0;var r=n(33388),i={xsmall:1.001,small:1.01,medium:1.1,large:1.5,xlarge:2},o={xsmall:1,small:5,medium:10,large:50,xlarge:200},a={xsmall:.1,small:1,medium:5,large:400,xlarge:1e3},s={xsmall:.001,small:.01,medium:.05,large:.1,xlarge:.5},l=function(e,t){if(void 0===t&&(t="medium"),"draw"===e)return["","stroke-dashoffset: 0"];if("fadeIn"===e)return["opacity: 0;","opacity: 1;"];if("fadeOut"===e)return["opacity: 1;","opacity: 0;"];if("jiggle"===e){var n=a[t];return["transform: rotate(-"+n+"deg);","transform: rotate("+n+"deg);"]}return"pulse"===e?["transform: scale(1);","transform: scale("+i[t]+")"]:"rotateRight"===e?["transform: rotate(0deg);","transform: rotate(359deg);"]:"rotateLeft"===e?["transform: rotate(0deg);","transform: rotate(-359deg);"]:"flipIn"===e?["transform: rotateY(90deg);","transform: rotateY(0);"]:"flipOut"===e?["transform: rotateY(0);","transform: rotateY(90deg);"]:"slideDown"===e?["transform: translateY(-"+o[t]+"%);","transform: none;"]:"slideLeft"===e?["transform: translateX("+o[t]+"%);","transform: none;"]:"slideRight"===e?["transform: translateX(-"+o[t]+"%);","transform: none;"]:"slideUp"===e?["transform: translateY("+o[t]+"%);","transform: none;"]:"zoomIn"===e?["transform: scale("+(1-s[t])+");","transform: none;"]:"zoomOut"===e?["transform: scale("+(1+s[t])+");","transform: none;"]:[]};t.animationBounds=l;var c=function(e,t){return"number"==typeof e?e/1e3+"s":e||t};t.normalizeTiming=c;var u=function(e){return"draw"===e?"linear forwards":"jiggle"===e||"pulse"===e?"alternate infinite":"rotateRight"===e||"rotateLeft"===e?"infinite linear":"forwards"};t.animationEnding=u,t.animationObjectStyle=function(e,t,n){var i=l(e.type,e.size),o=n&&n.animation||t.global.animation;if(i){var a=(0,r.css)(["from{",";}to{",";}"],i[0],i[1]);return(0,r.css)([""," "," "," ",""],(0,r.keyframes)(["",""],a),c(e.duration,c(o[e.type]?o[e.type].duration:e.duration,o.duration)),c(e.delay,"0s"),u(e.type))}return""}},77620:(e,t,n)=>{"use strict";t.__esModule=!0,t.getHoverIndicatorStyle=t.selectedStyle=t.activeStyle=t.backgroundStyle=t.backgroundAndTextColors=t.backgroundIsDark=t.normalizeBackground=void 0;var r=n(33388),i=n(66992),o=function(e,t){var n=e;return e&&(t.dark&&e.dark&&"boolean"!=typeof e.dark?n=e.dark:!t.dark&&e.light&&"boolean"!=typeof e.light&&(n=e.light),n=function(e,t){return e&&Array.isArray(e)&&"function"==typeof e[0]?e[0]({theme:t}):e}(n,t)),n};t.normalizeBackground=o,t.backgroundIsDark=function(e,t){var n,r=o(e,t);if(r)if("object"==typeof r){var a=r.color,s=r.dark,l=r.opacity;if("boolean"==typeof s)n=s;else if(a&&(!l||"weak"!==l)){var c=(0,i.normalizeColor)(r.color,t);c&&(n=(0,i.colorIsDark)(c))}}else{var u=(0,i.normalizeColor)(r,t);u&&(n=(0,i.colorIsDark)(u))}return n};var a=function(e){var t=(0,i.colorIsDark)(e);if(void 0!==t)return t?"dark":"light"},s=function(e,t,n){if(!e)return[void 0,t];var r,s,l=n.global,c=o(e,n),u=t||l.colors.text;if("object"==typeof c){if(!1===c.dark?s=u.light||u:c.dark&&(s=u.dark||u),c.color){var f=(0,i.normalizeColor)(c.color,n,c.dark),d=!0===c.opacity?l.opacity.medium:l.opacity[c.opacity]||c.opacity;if(r=(0,i.getRGBA)(f,d)||f,!s&&(void 0===d||d>.3)){var p=a(r);s=(0,i.normalizeColor)(p&&u[p]||u,n)}}}else{r=(0,i.normalizeColor)(c,n);var h=a(r);h?s=(0,i.normalizeColor)(u[h]||u,n,"dark"===h):("transparent"!==r&&(r=void 0),u&&(s=(0,i.normalizeColor)(u,n)))}return!1===t&&(s=void 0),[r,s]};t.backgroundAndTextColors=s;var l=function(e,t,n){if(void 0!==e){var a=o(e,t);if("string"==typeof a&&0===a.lastIndexOf("url",0))return(0,r.css)(["background:"," no-repeat center center;background-size:cover;"],a);var l=s(a,n,t),c=l[0],u=l[1];if(a.image){var f="\n      "+(c?"background-color: "+c+";":"")+"\n      background-image: "+a.image+";\n      background-repeat: "+(a.repeat||"no-repeat")+";\n      background-position: "+(a.position||"center center")+";\n      background-size: "+(a.size||"cover")+";\n    ";return(0,r.css)([""," ",""],u?"color: "+u+";":"",a.opacity?"position: relative;\n        z-index: 0;\n        &:before {\n          content: '';\n          position: absolute;\n          top: 0;\n          right: 0;\n          left: 0;\n          bottom: 0;\n          z-index: -1;\n          "+f+"\n          opacity: "+(!0===a.opacity?t.global.opacity.medium:t.global.opacity[a.opacity]||a.opacity)+";\n        }":f)}return c?(0,r.css)(["background-color:",";",""],c,u?"color: "+u+";":""):"string"==typeof a?(0,r.css)(["background:",";"],(0,i.normalizeColor)(a,t)):void 0}};t.backgroundStyle=l;var c=(0,r.css)(["",""],(function(e){return l((0,i.normalizeColor)(e.theme.global.active.background,e.theme),e.theme,e.theme.global.active.color)}));t.activeStyle=c;var u=(0,r.css)(["",""],(function(e){return l((0,i.normalizeColor)(e.theme.global.selected.background,e.theme),e.theme,e.theme.global.selected.color)}));t.selectedStyle=u,t.getHoverIndicatorStyle=function(e,t){var n,i;return!0===e||"background"===e?n=t.global.hover.background:"object"==typeof e&&(e.elevation||e.background)?(i=e.elevation,n=e.background):n=e,(0,r.css)([""," ",""],l(n,t,t.global.hover.color),i&&"box-shadow: "+t.global.elevation[t.dark?"dark":"light"][i]+";")}},35294:(e,t,n)=>{"use strict";t.__esModule=!0,t.borderStyle=t.responsiveBorderStyle=void 0;var r=n(33388),i=n(66992),o=n(26930),a=function(e,t){var n=(0,i.normalizeColor)(e.color||"border",t),r=e.size||"xsmall",o=e.style||"solid",a="string"==typeof e?e:e.side||"all",s=t.box.responsiveBreakpoint&&t.global.breakpoints[t.box.responsiveBreakpoint];s.borderSize||(s.borderSize=t.global.borderSize);var l=s&&(s.borderSize[r]||r)&&o+" "+(s.borderSize[r]||r)+" "+n;if(l){if("top"===a||"bottom"===a||"left"===a||"right"===a)return"border-"+a+": "+l+";";if("end"===a||"start"===a)return"border-inline-"+a+": "+l+";";if("vertical"===a)return"\n      border-left: "+l+";\n      border-right: "+l+";\n    ";if("horizontal"===a)return"\n      border-top: "+l+";\n      border-bottom: "+l+";\n    ";if("between"!==a)return"border: "+l+";"}};t.responsiveBorderStyle=a,t.borderStyle=function(e,t,n){var s=[],l=(0,i.normalizeColor)(e.color||"border",n),c=e.size||"xsmall",u=e.style||"solid",f="string"==typeof e?e:e.side||"all",d=u+" "+(n.global.borderSize[c]||c)+" "+l,p=t&&a(e,n),h=p&&n.box.responsiveBreakpoint&&n.global.breakpoints[n.box.responsiveBreakpoint];return"top"===f||"bottom"===f||"left"===f||"right"===f?(s.push("border-"+f+": "+d+";"),p&&s.push((0,o.breakpointStyle)(h,p))):"end"===f||"start"===f?(s.push((0,r.css)(["border-inline-",":",";"],f,d)),p&&s.push((0,o.breakpointStyle)(h,p))):"vertical"===f?(s.push((0,r.css)(["border-left:",";border-right:",";"],d,d)),p&&s.push((0,o.breakpointStyle)(h,p))):"horizontal"===f?(s.push((0,r.css)(["border-top:",";border-bottom:",";"],d,d)),p&&s.push((0,o.breakpointStyle)(h,p))):"between"===f||(s.push((0,r.css)(["border:",";"],d)),p&&s.push((0,o.breakpointStyle)(h,p))),s}},66992:(e,t)=>{"use strict";t.__esModule=!0,t.getRGBA=t.colorIsDark=t.normalizeColor=void 0,t.normalizeColor=function e(t,n,r){var i=n.global&&void 0!==n.global.colors[t]?n.global.colors[t]:t,o=i;return i&&((!0===r||void 0===r&&n.dark)&&void 0!==i.dark?o=i.dark:!1!==r&&n.dark||void 0===i.light||(o=i.light)),o&&n.global&&void 0!==n.global.colors[o]&&(o=e(o,n,r)),o};var n=/^#[A-Za-z0-9]{3,4}$|^#[A-Za-z0-9]{6,8}$/,r=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?\)/,i=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([.0-9]*)\s?\)/,o=/^hsla?\(\s?([0-9]*)\s?,\s?([0-9]*)%?\s?,\s?([0-9]*)%?\s?.*?\)/,a=function(e){return n.test(e)||r.test(e)||i.test(e)||o.test(e)},s=function(e){if(n.test(e)){var t=function(e){return e.length<7?e.match(/[A-Za-z0-9]{1}/g).map((function(e){return parseInt(""+e+e,16)})):e.match(/[A-Za-z0-9]{2}/g).map((function(e){return parseInt(e,16)}))}(e),a=t[0],s=t[1],l=t[2],c=t[3];return[a,s,l,void 0!==c?c/255:void 0]}var u=e.match(r);if(u)return u.splice(1).map((function(e){return parseInt(e,10)}));if(u=e.match(i))return u.splice(1).map((function(e){return parseFloat(e,10)}));if(u=e.match(o)){var f=u.splice(1).map((function(e){return parseInt(e,10)}));return function(e,t,n){var r,i,o;if(0===t||"0"===t)r=n,i=n,o=n;else{var a=function(e,t,n){var r=n;return r<0&&(r+=1),r>1&&(r-=1),r<.16666667?e+6*(t-e)*r:r<.5?t:r<.66666667?e+(t-e)*(.66666667-r)*6:e},s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+.33333333),i=a(l,s,e),o=a(l,s,e-.33333333)}return[Math.round(255*r),Math.round(255*i),Math.round(255*o)]}(f[0]/360,f[1]/100,f[2]/100)}return e};t.colorIsDark=function(e){if(e&&a(e)){var t=s(e),n=t[0],r=t[1],i=t[2];if(t[3]<.5)return;return(299*n+587*r+114*i)/1e3<125}},t.getRGBA=function(e,t){if(e&&a(e)){var n=s(e),r=n[0],i=n[1],o=n[2],l=n[3];return"rgba("+r+", "+i+", "+o+", "+(void 0!==t?t:void 0!==l?l:1)+")"}}},61721:(e,t)=>{"use strict";t.__esModule=!0,t.translateEndAngle=t.arcCommands=t.polarToCartesian=t.baseUnit=void 0;var n=10;t.baseUnit=24;var r=function(e,t,n,r){var i=(r-90)*Math.PI/180;return{x:e+n*Math.cos(i),y:t+n*Math.sin(i)}};t.polarToCartesian=r,t.arcCommands=function(e,t,i,o,a){var s=a;a>o&&a-o>=360&&(s=o+359.99);var l=r(e,t,i,s),c=r(e,t,i,o),u=s-o<=180?"0":"1";return["M",l.x.toFixed(n),l.y.toFixed(n),"A",i.toFixed(n),i.toFixed(n),0,u,0,c.x.toFixed(n),c.y.toFixed(n)].join(" ")},t.translateEndAngle=function(e,t,n){return Math.max(0,e+t*n)%360}},69618:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(95104);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))}));var i=n(26930);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||(t[e]=i[e]))}));var o=n(77620);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||(t[e]=o[e]))}));var a=n(35294);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||(t[e]=a[e]))}));var s=n(66992);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||(t[e]=s[e]))}));var l=n(77266);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||(t[e]=l[e]))}));var c=n(61721);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||(t[e]=c[e]))}));var u=n(57774);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||(t[e]=u[e]))}));var f=n(1263);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||(t[e]=f[e]))}));var d=n(63388);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||(t[e]=d[e]))}));var p=n(16719);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||(t[e]=p[e]))}));var h=n(47230);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||(t[e]=h[e]))}));var m=n(59210);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||(t[e]=m[e]))}))},26930:(e,t,n)=>{"use strict";t.__esModule=!0,t.getAvailableAtBadge=t.findAllByType=t.breakpointStyle=t.fontSize=t.parseMetricToNum=void 0;var r=n(33388),i=function(e){return"number"==typeof e?e:(e.match(/\s/),parseFloat(e.match(/\d+(\.\d+)?/),10))};t.parseMetricToNum=i,t.fontSize=function(e,t){return(0,r.css)(["font-size:",";line-height:",";"],(function(t){return i(e)/i(t.theme.global.font.size)*1+"rem"}),(function(n){return t||Math.ceil(i(e)/i(n.theme.global.lineHeight))*(i(n.theme.global.lineHeight)/i(e))+"px"}))},t.breakpointStyle=function(e,t){return(0,r.css)(["@media only screen ","{",";}"],e.value&&"and (max-width: "+e.value+"px)",t)},t.findAllByType=function e(t,n){var r=[];return t.type===n&&r.push(t),t.children&&t.children.forEach((function(t){r=r.concat(e(t,n))})),r},t.getAvailableAtBadge=function(e,t){return[{url:"https://storybook.grommet.io/?selectedKind="+t+"-"+e+"&full=0&stories=1&panelRight=0",badge:"https://cdn-images-1.medium.com/fit/c/120/120/1*TD1P0HtIH9zF0UEH28zYtw.png",label:"Storybook"},{url:"https://codesandbox.io/s/github/grommet/grommet-sandbox?initialpath=/"+e.toLowerCase()+"&module=%2Fsrc%2F"+e+".js",badge:"https://codesandbox.io/static/img/play-codesandbox.svg",label:"CodeSandbox"}]}},1263:(e,t)=>{"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}t.__esModule=!0,t.removeUndefined=t.deepMerge=t.deepFreeze=t.isObject=void 0;var r=function(e){return e&&"object"==typeof e&&!Array.isArray(e)};t.isObject=r,t.deepFreeze=function(e){return Object.keys(e).forEach((function(t){return t&&r(e[t])&&Object.freeze(e[t])})),Object.freeze(e)},t.deepMerge=function e(t){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(!o.length)return t;var s=n({},t);return o.forEach((function(t){r(t)&&Object.keys(t).forEach((function(i){r(t[i])?s[i]?s[i]=e(s[i],t[i]):s[i]=n({},t[i]):s[i]=t[i]}))})),s},t.removeUndefined=function(e){var t={};return Object.keys(e).forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}},63388:(e,t,n)=>{"use strict";t.__esModule=!0,t.usePagination=t.normalizeShow=void 0;var r=n(81794),i=["data","page","step"];function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}t.normalizeShow=function(e,t){var n;return"number"==typeof e?n=Math.ceil((e+1)/t):"object"==typeof e&&"page"in e&&(n=e.page),n},t.usePagination=function(e){var t=e.data,n=e.page,a=e.step,s=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,i),l=t?Math.ceil(t.length/a):0,c=(0,r.useState)(Math.min(n,l)||1),u=c[0],f=c[1],d=a*(u-1),p=d+a;return[(0,r.useMemo)((function(){return Array.isArray(t)?t.slice(d,p):[]}),[t,d,p]),o({numberItems:t&&t.length,onChange:function(e){return f(e.page)},page:n,step:a},s)]}},47230:(e,t,n)=>{"use strict";t.__esModule=!0,t.useForwardedRef=void 0;var r=n(81794),i=n(70154),o=function(e,t){e&&("function"==typeof e?e(t.current):e.current=t.current)};t.useForwardedRef=function(e){var t=(0,r.useRef)(null);return o(e,t),(0,i.useLayoutEffect)((function(){return o(e,t)})),(0,r.useEffect)((function(){return o(e,t)})),t}},59210:(e,t)=>{"use strict";t.__esModule=!0,t.getBreakpointStyle=t.getDeviceBreakpoint=t.getBreakpoint=void 0,t.getBreakpoint=function(e,t){var n=Object.keys(t.global.breakpoints).sort((function(e,n){var r=t.global.breakpoints[e],i=t.global.breakpoints[n];return r?i?r.value?i.value?r.value-i.value:-1:1:-1:1})),r=n[n.length-1];return n.find((function(n){var r=t.global.breakpoints[n];return(!r.value||r.value>=e)&&n}))||r},t.getDeviceBreakpoint=function(e,t){return t.global.deviceBreakpoints[e]},t.getBreakpointStyle=function(e,t){var n=t&&e.global.breakpoints[t]||{};return n.edgeSize||(n.edgeSize=e.global.edgeSize),n.borderSize||(n.borderSize=e.global.borderSize),n.size||(n.size=e.global.size),n}},57774:(e,t,n)=>{"use strict";t.__esModule=!0,t.heightStyle=t.widthStyle=t.alignContentStyle=t.alignStyle=t.textAlignStyle=t.roundStyle=t.kindPartStyles=t.plainInputStyle=t.sizeStyle=t.disabledStyle=t.genericStyles=t.overflowStyle=t.inputStyle=t.getInputPadBySide=t.unfocusStyle=t.focusStyle=t.fillStyle=t.edgeStyle=t.controlBorderStyle=t.baseStyle=void 0;var r=n(33388),i=n(77620),o=n(66992),a=n(59210),s=n(26930),l=(0,r.css)(["font-family:",";font-size:",";line-height:",";font-weight:",";"," box-sizing:border-box;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;"],(function(e){return e.theme.global.font.family}),(function(e){return e.theme.global.font.size}),(function(e){return e.theme.global.font.height}),(function(e){return e.theme.global.font.weight}),(function(e){return!e.plain&&(0,i.backgroundStyle)(e.theme.baseBackground,e.theme)}));t.baseStyle=l;var c=(0,r.css)(["border:"," solid ",";border-radius:",";"],(function(e){return e.theme.global.control.border.width}),(function(e){return(0,o.normalizeColor)(e.theme.global.control.border.color||"border",e.theme)}),(function(e){return e.theme.global.control.border.radius}));t.controlBorderStyle=c;var u=function(e,t,n,i,o){var a=i&&o.global.breakpoints[i];if("string"==typeof t)return(0,r.css)(["",":",";",";"],e,o.global.edgeSize[t]||t,n&&a?(0,s.breakpointStyle)(a,"\n        "+e+": "+(a.edgeSize[t]||t)+";\n      "):"");var l=[],c=t.horizontal,u=t.vertical,f=t.top,d=t.bottom,p=t.left,h=t.right,m=c&&u&&c===u;if(m||f&&d&&p&&h&&f===d===p===h){var g=m?c:f;return(0,r.css)(["",":",";",";"],e,o.global.edgeSize[g]||g,n&&a?(0,s.breakpointStyle)(a,"\n        "+e+": "+(a.edgeSize[g]||g)+";\n      "):"")}return c&&l.push((0,r.css)(["","-left:",";","-right:",";",";"],e,o.global.edgeSize[c]||c,e,o.global.edgeSize[c]||c,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-left: "+(a.edgeSize[c]||c)+";\n          "+e+"-right: "+(a.edgeSize[c]||c)+";\n        "):"")),u&&l.push((0,r.css)(["","-top:",";","-bottom:",";",";"],e,o.global.edgeSize[u]||u,e,o.global.edgeSize[u]||u,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-top: "+(a.edgeSize[u]||u)+";\n          "+e+"-bottom: "+(a.edgeSize[u]||u)+";\n        "):"")),f&&l.push((0,r.css)(["","-top:",";",";"],e,o.global.edgeSize[f]||f,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-top: "+(a.edgeSize[f]||f)+";\n        "):"")),d&&l.push((0,r.css)(["","-bottom:",";",";"],e,o.global.edgeSize[d]||d,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-bottom: "+(a.edgeSize[d]||d)+";\n        "):"")),p&&l.push((0,r.css)(["","-left:",";",";"],e,o.global.edgeSize[p]||p,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-left: "+(a.edgeSize[p]||p)+";\n        "):"")),h&&l.push((0,r.css)(["","-right:",";",";"],e,o.global.edgeSize[h]||h,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-right: "+(a.edgeSize[h]||h)+";\n        "):"")),t.start&&l.push((0,r.css)(["","-inline-start:",";",";"],e,o.global.edgeSize[t.start]||t.start,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-inline-start: "+(a.edgeSize[t.start]||t.start)+";\n        "):"")),t.end&&l.push((0,r.css)(["","-inline-end:",";",";"],e,o.global.edgeSize[t.end]||t.end,n&&a?(0,s.breakpointStyle)(a,"\n          "+e+"-inline-end: "+(a.edgeSize[t.end]||t.end)+";\n        "):"")),l};t.edgeStyle=u,t.fillStyle=function(e){return"horizontal"===e?"width: 100%;":"vertical"===e?"height: 100%;":e?"\n      width: 100%;\n      height: 100%;\n    ":void 0};var f=function(e,t){var n=void 0===t?{}:t,r=n.forceOutline,i=n.justBorder,a=e.theme.global.focus;if(!a||r&&!a.outline){var s=(0,o.normalizeColor)("focus",e.theme);return s?"outline: 2px solid "+s+";":""}if(a.outline&&(!a.border||!i)){if("object"==typeof a.outline){var l=(0,o.normalizeColor)(a.outline.color||"focus",e.theme);return"\n        outline-offset: 0px;\n        outline: "+(a.outline.size||"2px")+" solid "+l+";\n      "}return"outline: "+a.outline+";"}if(a.shadow&&(!a.border||!i)){if("object"==typeof a.shadow){var c=(0,o.normalizeColor)(a.border&&a.border.color||a.shadow.color||"focus",e.theme),u=a.shadow.size||"2px";return"\n        outline: none;\n        box-shadow: 0 0 "+u+" "+u+" "+c+";\n      "}return"\n      outline: none;\n      box-shadow: "+a.shadow+";\n    "}return a.border?"\n      outline: none;\n      border-color: "+(0,o.normalizeColor)(a.border.color||"focus",e.theme)+";\n    ":""},d=function(e,t){var n=void 0===t?{}:t,r=n.forceOutline,i=n.justBorder,a=e.theme.global.focus;return!a||r&&!a.outline?(0,o.normalizeColor)("focus",e.theme)?"outline: none;":"":!a.outline||a.border&&i?!a.shadow||a.border&&i?a.border?"\n      outline: none;\n      border-color: none;\n    ":"":"object"==typeof a.shadow?"\n        outline: none;\n        box-shadow: none;\n      ":"\n      outline: none;\n      box-shadow: none;\n    ":"object"==typeof a.outline?"\n        outline-offset: 0px;\n        outline: none;\n      ":"outline: none;"},p=function(e){var t=void 0===e?{}:e,n=t.forceOutline,i=t.justBorder,o=t.skipSvgChildren;return(0,r.css)([""," "," ",""],(function(e){return!o&&"\n  > circle,\n  > ellipse,\n  > line,\n  > path,\n  > polygon,\n  > polyline,\n  > rect {\n    "+f(e)+"\n  }"}),(function(e){return f(e,{forceOutline:n,justBorder:i})}),!n&&"\n  ::-moz-focus-inner {\n    border: 0;\n  }\n  ")};t.focusStyle=p,t.unfocusStyle=function(e){var t=void 0===e?{}:e,n=t.forceOutline,i=t.justBorder,o=t.skipSvgChildren;return(0,r.css)([""," "," ",""],(function(e){return!o&&"\n  > circle,\n  > ellipse,\n  > line,\n  > path,\n  > polygon,\n  > polyline,\n  > rect {\n    "+d(e)+"\n  }"}),(function(e){return d(e,{forceOutline:n,justBorder:i})}),!n&&"\n  ::-moz-focus-inner {\n    border: 0;\n  }\n  ")};var h=function(e,t){return(0,s.parseMetricToNum)((e.theme.global.edgeSize[t]||t)+"px")+(0,s.parseMetricToNum)(e.theme.global.control.border.width+"px")+"px"};t.getInputPadBySide=function(e,t){var n;if("object"!=typeof e.theme.global.input.padding)return h(e,e.theme.global.input.padding);n="left"===t||"right"===t?"horizontal":"top"===t||"bottom"===t?"vertical":void 0;var r=e.theme.global.input.padding[t]||e.theme.global.input.padding[n];return h(e,r)};var m=(0,r.css)(["color:",";"],(function(e){return(0,o.normalizeColor)(e.theme.global.colors.placeholder,e.theme)})),g=(0,r.css)(["&::-webkit-input-placeholder{",";}&::-moz-placeholder{",";}&:-ms-input-placeholder{",";}"],m,m,m),v=(0,r.css)(["box-sizing:border-box;"," font-family:inherit;border:none;-webkit-appearance:none;background:transparent;color:inherit;width:100%;"," "," "," margin:0;"," &:focus{",";}"," ","::-webkit-search-decoration{-webkit-appearance:none;}&::-moz-focus-inner{border:none;outline:none;}&:-moz-placeholder,&::-moz-placeholder{opacity:1;}",""],(function(e){var t;return"font-size: "+(e.theme.global.input.font.size?(null==(t=e.theme.text[e.theme.global.input.font.size])?void 0:t.size)||e.theme.global.input.font.size:"inherit")+";"}),(function(e){return e.theme.global.input.font.height&&"line-height: "+e.theme.global.input.font.height+";"}),(function(e){return e.theme.global.input.padding&&"object"!=typeof e.theme.global.input.padding?"padding: "+((0,s.parseMetricToNum)(e.theme.global.edgeSize[e.theme.global.input.padding]||e.theme.global.input.padding)-(0,s.parseMetricToNum)(e.theme.global.control.border.width))+"px;":u("padding",e.theme.global.input.padding,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return(e.theme.global.input.weight||e.theme.global.input.font.weight)&&(0,r.css)(["font-weight:",";"],e.theme.global.input.weight||e.theme.global.input.font.weight)}),(function(e){return e.size&&function(e){var t=e.theme.text[e.size];return t?(0,r.css)(["font-size:",";line-height:",";"],t.size,t.height):(0,r.css)(["font-size:",";"],e.size)}(e)}),(function(e){return(!e.plain||e.focusIndicator)&&p()}),c,g,(function(e){return e.theme.global.input.extend}));t.inputStyle=v,t.overflowStyle=function(e){return"string"==typeof e?(0,r.css)(["overflow:",";"],e):(0,r.css)([""," ",";"],e.horizontal&&"overflow-x: "+e.horizontal+";",e.vertical&&"overflow-y: "+e.vertical+";")};var y={center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},b=(0,r.css)([""," "," ",""],(function(e){return e.alignSelf&&"align-self: "+y[e.alignSelf]+";"}),(function(e){return e.gridArea&&"grid-area: "+e.gridArea+";"}),(function(e){return e.margin&&e.theme.global&&u("margin",e.margin,e.responsive,e.theme.global.edgeSize.responsiveBreakpoint,e.theme)}));t.genericStyles=b,t.disabledStyle=function(e){return(0,r.css)(["opacity:",";cursor:default;"],(function(t){return e||t.theme.global.control.disabled.opacity}))},t.sizeStyle=function(e,t,n){return(0,r.css)(["",":",";"],e,n.global.size[t]||t)};var _=(0,r.css)(["outline:none;border:none;"]);t.plainInputStyle=_,t.kindPartStyles=function(e,t,n){var a=[];if(e.padding||e.pad){var s=e.padding||e.pad;s.vertical||s.horizontal?a.push("padding: "+(t.global.edgeSize[s.vertical]||s.vertical||0)+" "+(t.global.edgeSize[s.horizontal]||s.horizontal||0)+";"):a.push("padding: "+(t.global.edgeSize[s]||s||0)+";")}if(e.background?a.push((0,i.backgroundStyle)(n||e.background,t,e.color||(!Object.prototype.hasOwnProperty.call(e,"color")||void 0!==e.color)&&void 0)):e.color&&a.push("color: "+(0,o.normalizeColor)(e.color,t)+";"),e.border?(e.border.width&&a.push((0,r.css)(["border-style:solid;border-width:",";"],e.border.width)),e.border.color&&a.push((0,r.css)(["border-color:",";"],(0,o.normalizeColor)(!e.background&&n||e.border.color||"border",t))),e.border.radius&&a.push((0,r.css)(["border-radius:",";"],e.border.radius))):!1===e.border&&a.push("border: none;"),!n||e.border||e.background||a.push("color: "+(0,o.normalizeColor)(n,t)+";"),e.font&&(e.font.size&&a.push("font-size: "+(t.text[e.font.size].size||e.font.size)+";"),e.font.height&&a.push("line-height: "+e.font.height+";"),e.font.weight&&a.push("font-weight: "+e.font.weight+";")),e.opacity){var l=!0===e.opacity?t.global.opacity.medium:t.global.opacity[e.opacity]||e.opacity;a.push("opacity: "+l+";")}return e.extend&&a.push(e.extend),a};var w={full:"100%"};t.roundStyle=function(e,t,n){var i=(0,a.getBreakpointStyle)(n,n.box.responsiveBreakpoint),o=[];if("object"==typeof e){var l=w[e.size]||n.global.edgeSize[e.size||"medium"]||e.size,c=t&&i&&i.edgeSize[e.size]&&(i.edgeSize[e.size]||e.size);"top"===e.corner?(o.push((0,r.css)(["border-top-left-radius:",";border-top-right-radius:",";"],l,l)),c&&o.push((0,s.breakpointStyle)(i,"\n          border-top-left-radius: "+c+";\n          border-top-right-radius: "+c+";\n        "))):"bottom"===e.corner?(o.push((0,r.css)(["border-bottom-left-radius:",";border-bottom-right-radius:",";"],l,l)),c&&o.push((0,s.breakpointStyle)(i,"\n          border-bottom-left-radius: "+c+";\n          border-bottom-right-radius: "+c+";\n        "))):"left"===e.corner?(o.push((0,r.css)(["border-top-left-radius:",";border-bottom-left-radius:",";"],l,l)),c&&o.push((0,s.breakpointStyle)(i,"\n          border-top-left-radius: "+c+";\n          border-bottom-left-radius: "+c+";\n        "))):"right"===e.corner?(o.push((0,r.css)(["border-top-right-radius:",";border-bottom-right-radius:",";"],l,l)),c&&o.push((0,s.breakpointStyle)(i,"\n          border-top-right-radius: "+c+";\n          border-bottom-right-radius: "+c+";\n        "))):e.corner?(o.push((0,r.css)(["border-","-radius:",";"],e.corner,l)),c&&o.push((0,s.breakpointStyle)(i,"\n          border-"+e.corner+"-radius: "+c+";\n        "))):(o.push((0,r.css)(["border-radius:",";"],l)),c&&o.push((0,s.breakpointStyle)(i,"\n          border-radius: "+c+";\n        ")))}else{var u=!0===e?"medium":e;o.push((0,r.css)(["border-radius:",";"],w[u]||n.global.edgeSize[u]||u));var f=i&&i.edgeSize[u];f&&o.push((0,s.breakpointStyle)(i,"\n        border-radius: "+f+";\n      "))}return o};var S={center:"center",end:"right",justify:"justify",start:"left"},x=(0,r.css)(["text-align:",";"],(function(e){return S[e.textAlign]}));t.textAlignStyle=x;var E={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},k=(0,r.css)(["align-items:",";"],(function(e){var t;return null!=(t=E[e.align])?t:e.align}));t.alignStyle=k;var C={around:"space-around",baseline:"baseline",between:"space-between",center:"center",evenly:"space-evenly",end:"flex-end",start:"flex-start",stretch:"stretch"},O=(0,r.css)(["align-content:",";"],(function(e){var t;return null!=(t=C[e.alignContent])?t:e.alignContent}));t.alignContentStyle=O;var T=function(e,t){return e.global.size[t]||t};t.widthStyle=function(e,t){return"object"==typeof e?function(e,t){var n=[];return e.max&&n.push((0,r.css)(["max-width:",";"],T(t,e.max))),e.min&&n.push((0,r.css)(["min-width:",";"],T(t,e.min))),e.width&&n.push((0,r.css)(["width:",";"],T(t,e.width))),n}(e,t):function(e,t){return(0,r.css)(["width:",";"],T(t,e))}(e,t)},t.heightStyle=function(e,t){return"object"==typeof e?function(e,t){var n=[];return e.max&&n.push((0,r.css)(["max-height:",";"],T(t,e.max))),e.min&&n.push((0,r.css)(["min-height:",";"],T(t,e.min))),e.width&&n.push((0,r.css)(["height:",";"],T(t,e.height))),n}(e,t):function(e,t){return(0,r.css)(["height:",";"],T(t,e))}(e,t)}},70154:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=t.useLayoutEffect=void 0;var r=n(81794),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.useLayoutEffect=i;var o=i;t.default=o},94664:(e,t,n)=>{"use strict";var r=n(4266),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(o[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=d(n,v);try{c(t,v,y)}catch(e){}}}}return t}},1638:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=w},4266:(e,t,n)=>{"use strict";e.exports=n(1638)},14685:e=>{"use strict";const t={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||t,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new n(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new n(this.logger,e)}}var r=new n;class i{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}function o(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function a(e){return null==e?"":""+e}const s=/###/g;function l(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(s,"."):e}function i(){return!e||"string"==typeof e}const o="string"!=typeof t?t:t.split(".");let a=0;for(;a<o.length-1;){if(i())return{};const t=r(o[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return i()?{}:{obj:e,k:r(o[a])}}function c(e,t,n){const{obj:r,k:i}=l(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=l(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=l(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n}function u(e,t){const{obj:n,k:r}=l(e,t);if(n)return n[r]}function f(e,t,n){for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):f(e[r],t[r],n):e[r]=t[r]);return e}function d(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function h(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>p[e])):e}const m=[" ",",","?","!",";"],g=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20);function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i}function y(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class b extends i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):"string"==typeof n&&i?a.push(...n.split(i)):a.push(n)));const s=u(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),s||!o||"string"!=typeof n?s:v(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),c(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)"string"!=typeof n[r]&&"[object Array]"!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=u(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?f(s,n,i):s={...s,...n},c(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var _={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))})),t}};const w={};class S extends i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,i;super(),n=e,i=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{n[e]&&(i[e]=n[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=r.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";const r=m.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=g.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o}(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let f=u&&u.res;const d=u&&u.usedKey||o,p=u&&u.exactUsedKey||o,h=Object.prototype.toString.apply(f),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject;if(g&&f&&"string"!=typeof f&&"boolean"!=typeof f&&"number"!=typeof f&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&("string"!=typeof m||"[object Array]"!==h)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,f,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e="[object Array]"===h,n=e?[]:{},r=e?p:d;for(const e in f)if(Object.prototype.hasOwnProperty.call(f,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=f[e])}f=n}}else if(g&&"string"==typeof m&&"[object Array]"===h)f=f.join(m),f&&(f=this.extendTranslation(f,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&"string"!=typeof t.count,d=S.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(f)&&d&&(r=!0,f=g),this.isValidLookup(f)||(a=!0,f=o);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:f,y=d&&g!==f&&this.options.updateMissing;if(a||r||y){if(this.logger.log(y?"updateKey":"missingKey",l,s,o,y?g:f),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=d&&r!==f?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,y,t),this.emit("missingKey",e,s,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||g)}))})):r(e,o,g))}f=this.extendTranslation(f,e,t,u,n),a&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?f:void 0):this.options.parseMissingKeyHandler(f))}return r?(u.res=f,u.usedParams=this.getUsedParamsDetails(t),u):f}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):o.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s="string"==typeof a?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=_.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!=typeof a.count,f=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,!w[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(w[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),f&&o.push(l+t)),d){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),f&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}function x(e){return e.charAt(0).toUpperCase()+e.slice(1)}class E{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=r.create("languageUtils")}getScriptPartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=x(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=x(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=x(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}let k=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],C={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const O=["v1","v2","v3"],T=["v4"],P={zero:0,one:1,two:2,few:3,many:4,other:5};class A{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=r.create("pluralResolver"),this.options.compatibilityJSON&&!T.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return k.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:C[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(y("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>P[e]-P[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!O.includes(this.options.compatibilityJSON)}}function M(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=function(e,t,n){const r=u(e,n);return void 0!==r?r:u(t,n)}(e,t,n);return!o&&i&&"string"==typeof n&&(o=v(e,n,r),void 0===o&&(o=v(t,n,r))),o}class L{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=r.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const t=e.interpolation;this.escape=void 0!==t.escape?t.escape:h,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?d(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?d(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?d(t.nestingPrefix):t.nestingPrefixEscaped||d("$t("),this.nestingSuffix=t.nestingSuffix?d(t.nestingSuffix):t.nestingSuffixEscaped||d(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}const u=e=>{if(e.indexOf(this.formatSeparator)<0){const i=M(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(M(t,l,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>c(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?c(this.escape(e)):c(e)}].forEach((t=>{for(s=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=u(n),void 0===o)if("function"==typeof f){const t=f(e,i,r);o="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(d){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=a(o));const l=t.safeValue(o);if(e=e.replace(i[0],l),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,s++,s>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let l=[];i={...o},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),l=e,c=!0}if(r=t(s.call(this,n[1].trim(),i),i),r&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=a(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),c&&(r=l.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function I(e){const t={};return function(n,r,i){const o=r+JSON.stringify(i);let a=t[o];return a||(a=e(y(r),i),t[o]=a),a(n)}}class R{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=r.create("formatter"),this.options=e,this.formats={number:I(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:I(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:I(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:I(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:I(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=I(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:i,formatOptions:o}=function(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(!e)return;const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=i),"false"===i&&(n[t.trim()]=!1),"true"===i&&(n[t.trim()]=!0),isNaN(i)||(n[t.trim()]=parseInt(i,10))}))}return{formatName:t,formatOptions:n}}(t);if(this.formats[i]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class D extends i{constructor(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=r.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const a={};this.queue.forEach((n=>{!function(e,t,n,r){const{obj:i,k:o}=l(e,t,Object);i[o]=i[o]||[],i[o].push(n)}(n.loaded,[i],o),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function j(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function N(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function F(){}class B extends i{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=N(e),this.services={},this.logger=r,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=j();function a(e){return e?"function"==typeof e?new e:e:null}if(this.options={...i,...this.options,...N(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?r.init(a(this.modules.logger),this.options):r.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=R);const n=new E(this.options);this.store=new b(this.options.resources,this.options);const o=this.services;o.logger=r,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new A(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format||(o.formatter=a(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new L(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new D(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.languageDetector&&(o.languageDetector=a(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=a(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new S(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=F),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const s=o(),l=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=o();return e||(e=this.languages),t||(t=this.options.ns),n||(n=F),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&_.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=o();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},s=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{a(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,o.keyPrefix=o.keyPrefix||n||i.keyPrefix;const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=o();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=o();"string"==typeof e&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new E(j());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new B(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new B(r);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new b(this.store.data,r),i.services.resourceStore=i.store),i.translator=new S(i.services,r),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const z=B.createInstance();z.createInstance=B.createInstance,e.exports=z},45842:function(e){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:K(e)}function r(e){return s(e)?e:G(e)}function i(e){return l(e)?e:Y(e)}function o(e){return a(e)&&!c(e)?e:J(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[d])}function l(e){return!(!e||!e[p])}function c(e){return s(e)||l(e)}function u(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=i,n.Set=o;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},_={value:!1},w={value:!1};function S(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function E(){}function k(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function C(e){return void 0===e.size&&(e.size=e.__iterate(T)),e.size}function O(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function T(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function A(e,t){return L(e,t,0)}function M(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,R=1,D=2,j="function"==typeof Symbol&&Symbol.iterator,N="@@iterator",F=j||N;function B(e){this.next=e}function z(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function $(){return{value:void 0,done:!0}}function U(e){return!!q(e)}function H(e){return e&&"function"==typeof e.next}function W(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(j&&e[j]||e[N]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function K(e){return null==e?ae():a(e)?e.toSeq():function(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function G(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Y(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function J(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=I,B.VALUES=R,B.ENTRIES=D,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[F]=function(){return this},t(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(e,t){return ue(this,e,t,!0)},K.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(G,K),G.prototype.toKeyedSeq=function(){return this},t(Y,K),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(e,t){return ue(this,e,t,!1)},Y.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(J,K),J.of=function(){return J(arguments)},J.prototype.toSetSeq=function(){return this},K.isSeq=oe,K.Keyed=G,K.Set=J,K.Indexed=Y;var Z,X,Q,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function re(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():H(e)?new ie(e).fromEntrySeq():U(e)?new re(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){return V(e)?new te(e):H(e)?new ie(e):U(e)?new re(e):void 0}function ue(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new B((function(){var e=i[n?o-a:a];return a++>o?{value:void 0,done:!0}:z(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function de(e,t){return t?pe(t,e,"",{"":e}):he(e)}function pe(e,t,n,r){return Array.isArray(t)?e.call(r,n,Y(t).map((function(n,r){return pe(e,n,r,t)}))):me(t)?e.call(r,n,G(t).map((function(n,r){return pe(e,n,r,t)}))):t}function he(e){return Array.isArray(e)?Y(e).map(he).toList():me(e)?G(e).map(he).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ve(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ge(i[1],e)&&(n||ge(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):i?!ge(t,e.get(r,b)):!ge(e.get(r,b),t))return f=!1,!1}));return f&&e.size===d}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(X)return X;X=this}}function be(e,t){if(!e)throw new Error(t)}function _e(e,t,n){if(!(this instanceof _e))return new _e(e,t,n);if(be(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(Q)return Q;Q=this}}function we(){throw TypeError("Abstract")}function Se(){}function xe(){}function Ee(){}K.prototype[ee]=!0,t(te,Y),te.prototype.get=function(e,t){return this.has(e)?this._array[O(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new B((function(){return i>r?{value:void 0,done:!0}:z(e,i,n[t?r-i++:i++])}))},t(ne,G),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new B((function(){var a=r[t?i-o:o];return o++>i?{value:void 0,done:!0}:z(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Y),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(H(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!H(n))return new B($);var r=0;return new B((function(){var t=n.next();return t.done?t:z(e,r++,t.value)}))},t(ie,Y),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new B((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return z(e,i,r[i++])}))},t(ye,Y),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return ge(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:new ye(this._value,M(t,n)-A(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return ge(this._value,e)?this.size:-1},ye.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ye.prototype.__iterator=function(e,t){var n=this,r=0;return new B((function(){return r<n.size?z(e,r++,n._value):{value:void 0,done:!0}}))},ye.prototype.equals=function(e){return e instanceof ye?ge(this._value,e._value):ve(e)},t(_e,Y),_e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},_e.prototype.get=function(e,t){return this.has(e)?this._start+O(this,e)*this._step:t},_e.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},_e.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=A(e,this.size),(t=M(t,this.size))<=e?new _e(0,0):new _e(this.get(e,this._end),this.get(t,this._end),this._step))},_e.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},_e.prototype.lastIndexOf=function(e){return this.indexOf(e)},_e.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},_e.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new B((function(){var a=i;return i+=t?-r:r,o>n?{value:void 0,done:!0}:z(e,o++,a)}))},_e.prototype.equals=function(e){return e instanceof _e?this._start===e._start&&this._end===e._end&&this._step===e._step:ve(this,e)},t(we,n),t(Se,we),t(xe,we),t(Ee,we),we.Keyed=Se,we.Indexed=xe,we.Set=Ee;var ke="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ce(e){return e>>>1&1073741824|3221225471&e}function Oe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Ce(n)}if("string"===t)return e.length>De?function(e){var t=Fe[e];return void 0===t&&(t=Te(e),Ne===je&&(Ne=0,Fe={}),Ne++,Fe[e]=t),t}(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(Le&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++Ie,1073741824&Ie&&(Ie=0),Le)Me.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)Object.defineProperty(e,Re,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ce(t)}var Pe=Object.isExtensible,Ae=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var Me,Le="function"==typeof WeakMap;Le&&(Me=new WeakMap);var Ie=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var De=16,je=255,Ne=0,Fe={};function Be(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function ze(e){return null==e?et():$e(e)&&!u(e)?e:et().withMutations((function(t){var n=r(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function $e(e){return!(!e||!e[He])}t(ze,Se),ze.of=function(){var t=e.call(arguments,0);return et().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},ze.prototype.toString=function(){return this.__toString("Map {","}")},ze.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},ze.prototype.set=function(e,t){return tt(this,e,t)},ze.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},ze.prototype.remove=function(e){return tt(this,e,b)},ze.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},ze.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},ze.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=ct(this,an(e),t,n);return r===b?void 0:r},ze.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):et()},ze.prototype.merge=function(){return ot(this,void 0,arguments)},ze.prototype.mergeWith=function(t){return ot(this,t,e.call(arguments,1))},ze.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,et(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},ze.prototype.mergeDeep=function(){return ot(this,at,arguments)},ze.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ot(this,st(t),n)},ze.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,et(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},ze.prototype.sort=function(e){return Lt(Gt(this,e))},ze.prototype.sortBy=function(e,t){return Lt(Gt(this,t,e))},ze.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},ze.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},ze.prototype.asImmutable=function(){return this.__ensureOwner()},ze.prototype.wasAltered=function(){return this.__altered},ze.prototype.__iterator=function(e,t){return new Je(this,e,t)},ze.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},ze.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Qe(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},ze.isMap=$e;var Ue,He="@@__IMMUTABLE_MAP__@@",We=ze.prototype;function qe(e,t){this.ownerID=e,this.entries=t}function Ve(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function Je(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Xe(e._root)}function Ze(e,t){return z(e,t[0],t[1])}function Xe(e,t){return{node:e,index:0,__prev:t}}function Qe(e,t,n,r){var i=Object.create(We);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function et(){return Ue||(Ue=Qe(0))}function tt(e,t,n){var r,i;if(e._root){var o=S(_),a=S(w);if(r=nt(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Qe(i,r):et()}function nt(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(x(s),x(a),new Ye(t,r,[i,o]))}function rt(e){return e.constructor===Ye||e.constructor===Ge}function it(e,t,n,r,i){if(e.keyHash===r)return new Ge(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new Ve(t,1<<a|1<<s,a===s?[it(e,t,n+g,r,i)]:(o=new Ye(t,r,i),a<s?[e,o]:[o,e]))}function ot(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],l=r(s);a(s)||(l=l.map((function(e){return de(e)}))),i.push(l)}return lt(e,t,i)}function at(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ge(e,t)?e:t}function st(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ge(t,i)?t:i}}function lt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function ct(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}be(i||e&&e.set,"invalid keyPath");var l=o.value,c=i?b:e.get(l,b),u=ct(c,t,n,r);return u===c?e:u===b?e.remove(l):(i?et():e).set(l,u)}function ut(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}function ft(e,t,n,r){var i=r?e:k(e);return i[t]=n,i}We[He]=!0,We[m]=We.remove,We.removeIn=We.deleteIn,qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(n,i[o][0]))return i[o][1];return r},qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,l=this.entries,c=0,u=l.length;c<u&&!ge(r,l[c][0]);c++);var f=c<u;if(f?l[c][1]===i:s)return this;if(x(a),(s||!f)&&x(o),!s||1!==l.length){if(!f&&!s&&l.length>=dt)return function(e,t,n,r){e||(e=new E);for(var i=new Ye(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,l,r,i);var d=e&&e===this.ownerID,p=d?l:k(l);return f?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),d?(this.entries=p,this):new qe(e,p)}},Ve.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return o&i?this.nodes[ut(o&i-1)].get(e+g,t,n,r):r},Ve.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,l=1<<s,c=this.bitmap,u=!!(c&l);if(!u&&i===b)return this;var f=ut(c&l-1),d=this.nodes,p=u?d[f]:void 0,h=nt(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!u&&h&&d.length>=pt)return function(e,t,n,r,i){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Ke(e,o+1,a)}(e,d,c,s,h);if(u&&!h&&2===d.length&&rt(d[1^f]))return d[1^f];if(u&&h&&1===d.length&&rt(h))return h;var m=e&&e===this.ownerID,_=u?h?c:c^l:c|l,w=u?h?ft(d,f,h,m):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(d,f,m):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(d,f,h,m);return m?(this.bitmap=_,this.nodes=w,this):new Ve(e,_,w)},Ke.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,l=i===b,c=this.nodes,u=c[s];if(l&&!u)return this;var f=nt(u,e,t+g,n,r,i,o,a);if(f===u)return this;var d=this.count;if(u){if(!f&&--d<ht)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(i|=l,a[o++]=u)}return new Ve(e,i,a)}(e,c,d,s)}else d++;var p=e&&e===this.ownerID,h=ft(c,s,f,p);return p?(this.count=d,this.nodes=h,this):new Ke(e,d,h)},Ge.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ge(n,i[o][0]))return i[o][1];return r},Ge.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(x(a),x(o),it(this,e,t,n,[r,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!ge(r,l[c][0]);c++);var f=c<u;if(f?l[c][1]===i:s)return this;if(x(a),(s||!f)&&x(o),s&&2===u)return new Ye(e,this.keyHash,l[1^c]);var d=e&&e===this.ownerID,p=d?l:k(l);return f?s?c===u-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),d?(this.entries=p,this):new Ge(e,this.keyHash,p)},Ye.prototype.get=function(e,t,n,r){return ge(n,this.entry[0])?this.entry[1]:r},Ye.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,l=ge(r,this.entry[0]);return(l?i===this.entry[1]:s)?this:(x(a),s?void x(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Ye(e,this.keyHash,[r,i]):(x(o),it(this,e,t,Oe(r),[r,i])))},qe.prototype.iterate=Ge.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},Ve.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Ye.prototype.iterate=function(e,t){return e(this.entry)},t(Je,B),Je.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return Ze(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return Ze(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Ze(e,o.entry);t=this._stack=Xe(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var dt=v/4,pt=v/2,ht=v/4;function mt(e){var t=kt();if(null==e)return t;if(gt(e))return e;var n=i(e),r=n.size;return 0===r?t:(Be(r),r>0&&r<v?Et(0,r,g,null,new bt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function gt(e){return!(!e||!e[vt])}t(mt,xe),mt.of=function(){return this(arguments)},mt.prototype.toString=function(){return this.__toString("List [","]")},mt.prototype.get=function(e,t){if((e=O(this,e))>=0&&e<this.size){var n=Tt(this,e+=this._origin);return n&&n.array[e&y]}return t},mt.prototype.set=function(e,t){return function(e,t,n){if((t=O(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Pt(e,t).set(0,n):Pt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o=S(w);return t>=Mt(e._capacity)?r=Ct(r,e.__ownerID,0,t,n,o):i=Ct(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Et(e._origin,e._capacity,e._level,i,r):e}(this,e,t)},mt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},mt.prototype.insert=function(e,t){return this.splice(e,0,t)},mt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):kt()},mt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Pt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},mt.prototype.pop=function(){return Pt(this,0,-1)},mt.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){Pt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},mt.prototype.shift=function(){return Pt(this,1)},mt.prototype.merge=function(){return At(this,void 0,arguments)},mt.prototype.mergeWith=function(t){return At(this,t,e.call(arguments,1))},mt.prototype.mergeDeep=function(){return At(this,at,arguments)},mt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return At(this,st(t),n)},mt.prototype.setSize=function(e){return Pt(this,0,e)},mt.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:Pt(this,A(e,n),M(t,n))},mt.prototype.__iterator=function(e,t){var n=0,r=xt(this,t);return new B((function(){var t=r();return t===St?{value:void 0,done:!0}:z(e,n++,t)}))},mt.prototype.__iterate=function(e,t){for(var n,r=0,i=xt(this,t);(n=i())!==St&&!1!==e(n,r++,this););return r},mt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Et(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},mt.isList=gt;var vt="@@__IMMUTABLE_LIST__@@",yt=mt.prototype;function bt(e,t){this.array=e,this.ownerID=t}yt[vt]=!0,yt[m]=yt.remove,yt.setIn=We.setIn,yt.deleteIn=yt.removeIn=We.removeIn,yt.update=We.update,yt.updateIn=We.updateIn,yt.mergeIn=We.mergeIn,yt.mergeDeepIn=We.mergeDeepIn,yt.withMutations=We.withMutations,yt.asMutable=We.asMutable,yt.asImmutable=We.asImmutable,yt.wasAltered=We.wasAltered,bt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new bt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Ot(this,e);if(!o)for(var l=0;l<r;l++)s.array[l]=void 0;return i&&(s.array[r]=i),s},bt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Ot(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var _t,wt,St={};function xt(e,t){var n=e._origin,r=e._capacity,i=Mt(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(l===c)return St;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,i,o){var s,l=e&&e.array,c=o>n?0:n-o>>i,u=1+(r-o>>i);return u>v&&(u=v),function(){for(;;){if(s){var e=s();if(e!==St)return e;s=null}if(c===u)return St;var n=t?--u:c++;s=a(l&&l[n],i-g,o+(n<<i))}}}(e,s,l)}}function Et(e,t,n,r,i,o,a){var s=Object.create(yt);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function kt(){return _t||(_t=Et(0,0,g))}function Ct(e,t,n,r,i,o){var a,s=r>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===i)return e;if(n>0){var c=e&&e.array[s],u=Ct(c,t,n-g,r,i,o);return u===c?e:((a=Ot(e,t)).array[s]=u,a)}return l&&e.array[s]===i?e:(x(o),a=Ot(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Ot(e,t){return t&&e&&t===e.ownerID?e:new bt(e?e.array.slice():[],t)}function Tt(e,t){if(t>=Mt(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function Pt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new E,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new bt(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=g);u&&(a+=u,i+=u,s+=u,o+=u);for(var f=Mt(o),d=Mt(s);d>=1<<l+g;)c=new bt(c&&c.array.length?[c]:[],r),l+=g;var p=e._tail,h=d<f?Tt(e,s-1):d>f?new bt([],r):p;if(p&&d>f&&a<o&&p.array.length){for(var m=c=Ot(c,r),v=l;v>g;v-=g){var b=f>>>v&y;m=m.array[b]=Ot(m.array[b],r)}m.array[f>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=d)a-=d,s-=d,l=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||d<f){for(u=0;c;){var _=a>>>l&y;if(_!==d>>>l&y)break;_&&(u+=(1<<l)*_),l-=g,c=c.array[_]}c&&a>i&&(c=c.removeBefore(r,l,a-u)),c&&d<f&&(c=c.removeAfter(r,l,d-u)),u&&(a-=u,s-=u)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Et(a,s,l,c,h)}function At(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var l=n[s],c=i(l);c.size>o&&(o=c.size),a(l)||(c=c.map((function(e){return de(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),lt(e,t,r)}function Mt(e){return e<v?0:e-1>>>g<<g}function Lt(e){return null==e?Dt():It(e)?e:Dt().withMutations((function(t){var n=r(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function It(e){return $e(e)&&u(e)}function Rt(e,t,n,r){var i=Object.create(Lt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Dt(){return wt||(wt=Rt(et(),kt()))}function jt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Rt(r,i)}function Nt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Ft(e){this._iter=e,this.size=e.size}function Bt(e){this._iter=e,this.size=e.size}function zt(e){this._iter=e,this.size=e.size}function $t(e){var t=nn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=rn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===D){var r=e.__iterator(t,n);return new B((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===R?I:R,n)},t}function Ut(e,t,n){var r=nn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(D,i);return new B((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return z(r,s,t.call(n,a[1],s,e),i)}))},r}function Ht(e,t){var n=nn(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=$t(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=rn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Wt(e,t,n,r){var i=nn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(D,o),s=0;return new B((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return z(i,r?c:s++,u,o)}}))},i}function qt(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=i:n|=0),P(t,n,i))return e;var o=A(t,i),a=M(n,i);if(o!=o||a!=a)return qt(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l==l&&(s=l<0?0:l);var c=nn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=O(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,l=0;return new B((function(){for(;a++<o;)i.next();if(++l>s)return{value:void 0,done:!0};var e=i.next();return r||t===R?e:z(t,l-1,t===I?void 0:e.value[1],e)}))},c}function Vt(e,t,n,r){var i=nn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return l++,i(e,r?o:l-1,a)})),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(D,o),l=!0,c=0;return new B((function(){var e,o,u;do{if((e=s.next()).done)return r||i===R?e:z(i,c++,i===I?void 0:e.value[1],e);var f=e.value;o=f[0],u=f[1],l&&(l=t.call(n,u,o,a))}while(l);return i===D?e:z(i,o,u,e)}))},i}function Kt(e,t,n){var r=nn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;return function e(l,c){var u=this;l.__iterate((function(i,l){return(!t||c<t)&&a(i)?e(i,c+1):!1===r(i,n?l:o++,u)&&(s=!0),!s}),i)}(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],l=0;return new B((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===D&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:z(r,l++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return{value:void 0,done:!0}}))},r}function Gt(e,t,n){t||(t=on);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?G(o):l(e)?Y(o):J(o)}function Yt(e,t,n){if(t||(t=on),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Jt(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Jt(t,e,n)?n:e}))}function Jt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function Zt(e,t,r){var i=nn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(R,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),W(i?e.reverse():e)})),a=0,s=!1;return new B((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:z(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function Xt(e,t){return oe(e)?t:e.constructor(t)}function Qt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function en(e){return Be(e.size),C(e)}function tn(e){return s(e)?r:l(e)?i:o}function nn(e){return Object.create((s(e)?G:l(e)?Y:J).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function on(e,t){return e>t?1:e<t?-1:0}function an(e){var t=W(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(n(e))}return t}function sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);(function(e,t){try{t.forEach(fn.bind(void 0,e))}catch(e){}})(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=ze(o)},i=r.prototype=Object.create(ln);return i.constructor=r,r}t(Lt,ze),Lt.of=function(){return this(arguments)},Lt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Lt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Dt()},Lt.prototype.set=function(e,t){return jt(this,e,t)},Lt.prototype.remove=function(e){return jt(this,e,b)},Lt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Lt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Lt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Lt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Rt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Lt.isOrderedMap=It,Lt.prototype[h]=!0,Lt.prototype[m]=Lt.prototype.remove,t(Nt,G),Nt.prototype.get=function(e,t){return this._iter.get(e,t)},Nt.prototype.has=function(e){return this._iter.has(e)},Nt.prototype.valueSeq=function(){return this._iter.valueSeq()},Nt.prototype.reverse=function(){var e=this,t=Ht(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Nt.prototype.map=function(e,t){var n=this,r=Ut(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Nt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?en(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Nt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(R,t),r=t?en(this):0;return new B((function(){var i=n.next();return i.done?i:z(e,t?--r:r++,i.value,i)}))},Nt.prototype[h]=!0,t(Ft,Y),Ft.prototype.includes=function(e){return this._iter.includes(e)},Ft.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Ft.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t),r=0;return new B((function(){var t=n.next();return t.done?t:z(e,r++,t.value,t)}))},t(Bt,J),Bt.prototype.has=function(e){return this._iter.includes(e)},Bt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Bt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new B((function(){var t=n.next();return t.done?t:z(e,t.value,t.value,t)}))},t(zt,G),zt.prototype.entrySeq=function(){return this._iter.toSeq()},zt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){Qt(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},zt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(R,t);return new B((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Qt(r);var i=a(r);return z(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Ft.prototype.cacheResult=Nt.prototype.cacheResult=Bt.prototype.cacheResult=zt.prototype.cacheResult=rn,t(sn,Se),sn.prototype.toString=function(){return this.__toString(un(this)+" {","}")},sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},sn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=cn(this,et()))},sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+un(this));if(this._map&&!this._map.has(e)&&t===this._defaultValues[e])return this;var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:cn(this,n)},sn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:cn(this,t)},sn.prototype.wasAltered=function(){return this._map.wasAltered()},sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var ln=sn.prototype;function cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function un(e){return e._name||e.constructor.name||"Record"}function fn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function dn(e){return null==e?bn():pn(e)&&!u(e)?e:bn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function pn(e){return!(!e||!e[mn])}ln[m]=ln.remove,ln.deleteIn=ln.removeIn=We.removeIn,ln.merge=We.merge,ln.mergeWith=We.mergeWith,ln.mergeIn=We.mergeIn,ln.mergeDeep=We.mergeDeep,ln.mergeDeepWith=We.mergeDeepWith,ln.mergeDeepIn=We.mergeDeepIn,ln.setIn=We.setIn,ln.update=We.update,ln.updateIn=We.updateIn,ln.withMutations=We.withMutations,ln.asMutable=We.asMutable,ln.asImmutable=We.asImmutable,t(dn,Ee),dn.of=function(){return this(arguments)},dn.fromKeys=function(e){return this(r(e).keySeq())},dn.prototype.toString=function(){return this.__toString("Set {","}")},dn.prototype.has=function(e){return this._map.has(e)},dn.prototype.add=function(e){return vn(this,this._map.set(e,!0))},dn.prototype.remove=function(e){return vn(this,this._map.remove(e))},dn.prototype.clear=function(){return vn(this,this._map.clear())},dn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},dn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},dn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return o(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},dn.prototype.merge=function(){return this.union.apply(this,arguments)},dn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},dn.prototype.sort=function(e){return _n(Gt(this,e))},dn.prototype.sortBy=function(e,t){return _n(Gt(this,t,e))},dn.prototype.wasAltered=function(){return this._map.wasAltered()},dn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},dn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},dn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},dn.isSet=pn;var hn,mn="@@__IMMUTABLE_SET__@@",gn=dn.prototype;function vn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function yn(e,t){var n=Object.create(gn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function bn(){return hn||(hn=yn(et()))}function _n(e){return null==e?kn():wn(e)?e:kn().withMutations((function(t){var n=o(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}function wn(e){return pn(e)&&u(e)}gn[mn]=!0,gn[m]=gn.remove,gn.mergeDeep=gn.merge,gn.mergeDeepWith=gn.mergeWith,gn.withMutations=We.withMutations,gn.asMutable=We.asMutable,gn.asImmutable=We.asImmutable,gn.__empty=bn,gn.__make=yn,t(_n,dn),_n.of=function(){return this(arguments)},_n.fromKeys=function(e){return this(r(e).keySeq())},_n.prototype.toString=function(){return this.__toString("OrderedSet {","}")},_n.isOrderedSet=wn;var Sn,xn=_n.prototype;function En(e,t){var n=Object.create(xn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function kn(){return Sn||(Sn=En(Dt()))}function Cn(e){return null==e?Ln():On(e)?e:Ln().unshiftAll(e)}function On(e){return!(!e||!e[Pn])}xn[h]=!0,xn.__empty=kn,xn.__make=En,t(Cn,xe),Cn.of=function(){return this(arguments)},Cn.prototype.toString=function(){return this.__toString("Stack [","]")},Cn.prototype.get=function(e,t){var n=this._head;for(e=O(this,e);n&&e--;)n=n.next;return n?n.value:t},Cn.prototype.peek=function(){return this._head&&this._head.value},Cn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Mn(e,t)},Cn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Be(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Mn(t,n)},Cn.prototype.pop=function(){return this.slice(1)},Cn.prototype.unshift=function(){return this.push.apply(this,arguments)},Cn.prototype.unshiftAll=function(e){return this.pushAll(e)},Cn.prototype.shift=function(){return this.pop.apply(this,arguments)},Cn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ln()},Cn.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=A(e,this.size);if(M(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Mn(r,i)},Cn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Mn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Cn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Cn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new B((function(){if(r){var t=r.value;return r=r.next,z(e,n++,t)}return{value:void 0,done:!0}}))},Cn.isStack=On;var Tn,Pn="@@__IMMUTABLE_STACK__@@",An=Cn.prototype;function Mn(e,t,n,r){var i=Object.create(An);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Ln(){return Tn||(Tn=Mn(0))}function In(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}An[Pn]=!0,An.withMutations=We.withMutations,An.asMutable=We.asMutable,An.asImmutable=We.asImmutable,An.wasAltered=We.wasAltered,n.Iterator=B,In(n,{toArray:function(){Be(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Ft(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Nt(this,!0)},toMap:function(){return ze(this.toKeyedSeq())},toObject:function(){Be(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Lt(this.toKeyedSeq())},toOrderedSet:function(){return _n(s(this)?this.valueSeq():this)},toSet:function(){return dn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Bt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Cn(s(this)?this.valueSeq():this)},toList:function(){return mt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return Xt(this,function(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ge(t,e)}))},entries:function(){return this.__iterator(D)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return Xt(this,Wt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return Xt(this,Ut(this,e,t))},reduce:function(e,t,n){var r,i;return Be(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Xt(this,Ht(this,!0))},slice:function(e,t){return Xt(this,qt(this,e,t,!0))},some:function(e,t){return!this.every(Fn(e),t)},sort:function(e){return Xt(this,Gt(this,e))},values:function(){return this.__iterator(R)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=ze().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return ve(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(Nn).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Fn(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(T)},flatMap:function(e,t){return Xt(this,function(e,t,n){var r=tn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Xt(this,Kt(this,e,!0))},fromEntrySeq:function(){return new zt(this)},get:function(e,t){return this.find((function(t,n){return ge(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,i=an(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),i=(u(e)?Lt():ze()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=tn(e);return i.map((function(t){return Xt(e,o(t))}))}(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ge(t,e)}))},keySeq:function(){return this.toSeq().map(jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Yt(this,e)},maxBy:function(e,t){return Yt(this,t,e)},min:function(e){return Yt(this,e?Bn(e):Un)},minBy:function(e,t){return Yt(this,t?Bn(t):Un,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Xt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Xt(this,Vt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Fn(e),t)},sortBy:function(e,t){return Xt(this,Gt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Xt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Xt(this,function(e,t,n){var r=nn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(D,i),s=!0;return new B((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(n,c,l,o)?r===D?e:z(r,l,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Fn(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0;return function(e,t){return t=ke(t,3432918353),t=ke(t<<15|t>>>-15,461845907),t=ke(t<<13|t>>>-13,5),t=ke((t=t+3864292196^e)^t>>>16,2246822507),Ce((t=ke(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Hn(Oe(e),Oe(t))|0}:function(e,t){r=r+Hn(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}(this))}});var Rn=n.prototype;Rn[f]=!0,Rn[F]=Rn.values,Rn.__toJS=Rn.toArray,Rn.__toStringMapper=zn,Rn.inspect=Rn.toSource=function(){return this.toString()},Rn.chain=Rn.flatMap,Rn.contains=Rn.includes,In(r,{flip:function(){return Xt(this,$t(this))},mapEntries:function(e,t){var n=this,r=0;return Xt(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Xt(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Dn=r.prototype;function jn(e,t){return t}function Nn(e,t){return[t,e]}function Fn(e){return function(){return!e.apply(this,arguments)}}function Bn(e){return function(){return-e.apply(this,arguments)}}function zn(e){return"string"==typeof e?JSON.stringify(e):String(e)}function $n(){return k(arguments)}function Un(e,t){return e<t?1:e>t?-1:0}function Hn(e,t){return e^t+2654435769+(e<<6)+(e>>2)}return Dn[d]=!0,Dn[F]=Rn.entries,Dn.__toJS=Rn.toObject,Dn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+zn(e)},In(i,{toKeyedSeq:function(){return new Nt(this,!1)},filter:function(e,t){return Xt(this,Wt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Xt(this,Ht(this,!1))},slice:function(e,t){return Xt(this,qt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=A(e,e<0?this.count():this.size);var r=this.slice(0,e);return Xt(this,1===n?r:r.concat(k(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Xt(this,Kt(this,e,!1))},get:function(e,t){return(e=O(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=O(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Xt(this,function(e,t){var n=nn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(R,r),a=0;return new B((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?z(n,a++,t):z(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(k(arguments)),t=Zt(this.toSeq(),Y.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Xt(this,n)},keySeq:function(){return _e(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Xt(this,Vt(this,e,t,!1))},zip:function(){return Xt(this,Zt(this,$n,[this].concat(k(arguments))))},zipWith:function(e){var t=k(arguments);return t[0]=this,Xt(this,Zt(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!0,In(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Rn.includes,o.prototype.contains=o.prototype.includes,In(G,r.prototype),In(Y,i.prototype),In(J,o.prototype),In(Se,r.prototype),In(xe,i.prototype),In(Ee,o.prototype),{Iterable:n,Seq:K,Collection:we,Map:ze,OrderedMap:Lt,List:mt,Stack:Cn,Set:dn,OrderedSet:_n,Record:sn,Range:_e,Repeat:ye,is:ge,fromJS:de}}()},23963:e=>{function t(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=t,e.exports.default=t},61388:function(e){e.exports=function(){"use strict";var e={},t={};class n{constructor(e){this.token=e,this.constructorName="ASTNode"}}let r=n;t.ASTNode=n,t.BinOp=class extends n{constructor(e,t,n){super(e),this.constructorName="BinOp",this.left=t,this.right=n}},t.UnaryOp=class extends n{constructor(e,t){super(e),this.constructorName="UnaryOp",this.expr=t}},t.Primitive=r,t.FunctionCall=class extends n{constructor(e,t,n){super(e),this.constructorName="FunctionCall",this.name=t,this.args=n}},t.ContextValue=class{constructor(e){this.token=e,this.constructorName="ContextValue"}},t.ValueAccess=class extends n{constructor(e,t,n,r,i){super(e),this.constructorName="ValueAccess",this.isInterval=n,this.arr=t,this.left=r,this.right=i}},t.List=class extends n{constructor(e,t){super(e),this.constructorName="List",this.list=t}},t.Object=class extends n{constructor(e,t){super(e),this.constructorName="Object",this.obj=t}};class i extends Error{constructor(e){super(e),this.location=[]}add_location(e){this.location.unshift(e)}toString(){return this.location.length?`${this.name} at template${this.location.join("")}: ${this.message}`:`${this.name}: ${this.message}`}}class o extends i{constructor(e){super(e),this.message=e,this.name="BaseError"}}var a={JSONTemplateError:i,SyntaxError:class extends i{constructor(e){super(e),this.message=e,this.name="SyntaxError"}},InterpreterError:class extends o{constructor(e){super(e),this.name="InterpreterError"}},TemplateError:class extends o{constructor(e){super(e),this.name="TemplateError"}},BuiltinError:class extends o{constructor(e){super(e),this.name="BuiltinError"}}};const{UnaryOp:s,BinOp:l,Primitive:c,ContextValue:u,FunctionCall:f,ValueAccess:d,List:p,Object:h}=t,{SyntaxError:m}=a;let g=(e,t)=>(t.sort(),new m(`Found: ${e.value} token, expected one of: ${t.join(", ")}`,e));let v=e=>e.slice(1,-1);e.Parser=class{constructor(e,t,n=0){this._source=t,this._tokenizer=e,this.current_token=this._tokenizer.next(this._source,n),this.unaryOpTokens=["-","+","!"],this.primitivesTokens=["number","null","true","false","string"],this.operations=[["||"],["&&"],["in"],["==","!="],["<",">","<=",">="],["+","-"],["*","/"],["**"]],this.expectedTokens=["!","(","+","-","[","false","identifier","null","number","string","true","{"]}takeToken(...e){if(null==this.current_token)throw new m("Unexpected end of input");if(e.length>0&&-1===e.indexOf(this.current_token.kind))throw g(this.current_token,e);try{this.current_token=this._tokenizer.next(this._source,this.current_token.end)}catch(e){throw e}}parse(e=0){let t;if(e==this.operations.length-1){t=this.parsePropertyAccessOrFunc();let n=this.current_token;for(;null!=n&&-1!==this.operations[e].indexOf(n.kind);n=this.current_token)this.takeToken(n.kind),t=new l(n,this.parse(e),t)}else{t=this.parse(e+1);let n=this.current_token;for(;null!=n&&-1!==this.operations[e].indexOf(n.kind);n=this.current_token)this.takeToken(n.kind),t=new l(n,t,this.parse(e+1))}return t}parsePropertyAccessOrFunc(){let e,t=this.parseUnit(),n=["[","(","."];for(let r=this.current_token;null!=r&&-1!==n.indexOf(r.kind);r=this.current_token)"["==r.kind?t=this.parseAccessWithBrackets(t):"."==r.kind?(r=this.current_token,this.takeToken("."),e=new c(this.current_token),this.takeToken("identifier"),t=new l(r,t,e)):"("==r.kind&&(t=this.parseFunctionCall(t));return t}parseUnit(){let e,t=this.current_token,n=-1!==this.unaryOpTokens.indexOf(t.kind),r=-1!==this.primitivesTokens.indexOf(t.kind);if(null==this.current_token)throw new m("Unexpected end of input");if(n)this.takeToken(t.kind),e=new s(t,this.parseUnit());else if(r)this.takeToken(t.kind),e=new c(t);else if("identifier"==t.kind)this.takeToken(t.kind),e=new u(t);else if("("==t.kind){if(this.takeToken("("),e=this.parse(),null==e)throw g(this.current_token,this.expectedTokens);this.takeToken(")")}else"["==t.kind?e=this.parseList():"{"==t.kind&&(e=this.parseObject());return e}parseFunctionCall(e){let t,n=this.current_token,r=[];if(this.takeToken("("),")"!=this.current_token.kind)for(t=this.parse(),r.push(t);null!=this.current_token&&","==this.current_token.kind;){if(null==r[r.length-1])throw g(this.current_token,this.expectedTokens);this.takeToken(","),t=this.parse(),r.push(t)}return this.takeToken(")"),t=new f(n,e,r),t}parseList(){let e,t=[],n=this.current_token;if(this.takeToken("["),"]"!=this.current_token.kind)for(e=this.parse(),t.push(e);","==this.current_token.kind;){if(null==t[t.length-1])throw g(this.current_token,this.expectedTokens);this.takeToken(","),e=this.parse(),t.push(e)}return this.takeToken("]"),e=new p(n,t),e}parseAccessWithBrackets(e){let t=null,n=null,r=this.current_token,i=!1;if(this.takeToken("["),"]"==this.current_token.kind)throw g(this.current_token,this.expectedTokens);if(":"!=this.current_token.kind&&(t=this.parse()),":"==this.current_token.kind&&(i=!0,this.takeToken(":")),"]"!=this.current_token.kind&&(n=this.parse()),i&&null==n&&"]"!=this.current_token.kind)throw g(this.current_token,this.expectedTokens);return this.takeToken("]"),new d(r,e,i,t,n)}parseObject(){let e,t,n,r={},i=this.current_token;this.takeToken("{");let o=this.current_token;for(;null!=o&&("string"==o.kind||"identifier"==o.kind);){if(t=o.value,"string"==o.kind&&(t=v(t)),this.takeToken(o.kind),this.takeToken(":"),n=this.parse(),null==n)throw g(this.current_token,this.expectedTokens);if(r[t]=n,null!=this.current_token&&"}"==this.current_token.kind)break;this.takeToken(","),o=this.current_token}return this.takeToken("}"),e=new h(i,r),e}};var{SyntaxError:y}=a;let b=e=>(e=>{if("string"!=typeof e)return!1;try{new RegExp(`^${e}$`)}catch(e){return!1}return!0})(e)&&1===new RegExp(`^(?:|${e})$`).exec("").length,_=(e,t=0)=>{let n=e.length;for(let r=t;r<n;r++)if(void 0!==e[r])return r;return-1};const w=e=>{if(!e)throw new Error("Token configuration is invalid")};var S=class{constructor(e={}){e=Object.assign({},{ignore:null,patterns:{},tokens:[]},e),w(null===e.ignore||b(e.ignore)),w(e.patterns instanceof Object);for(let t of Object.keys(e.patterns))w(b(e.patterns[t]));w(e.tokens instanceof Array),e.tokens.forEach((e=>w("string"==typeof e))),this._tokens=e.tokens,this._hasIgnore=e.ignore?1:0,this._regex=new RegExp("^(?:"+[this._hasIgnore?`(${e.ignore})`:null,...this._tokens.map((t=>{return`(${e.patterns[t]||(n=t,n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))})`;var n}))].filter((e=>null!==e)).join("|")+")")}next(e,t=0){let n,r;do{if(n=this._regex.exec(e.slice(t)),null===n){if(""!==e.slice(t))throw new y(`Unexpected input for '${e}' at '${e.slice(t)}'`,{start:t,end:e.length});return null}r=_(n,1),t+=n[0].length}while(this._hasIgnore&&1===r);return{kind:this._tokens[r-1-this._hasIgnore],value:n[r],start:t-n[0].length,end:t}}tokenize(e,t=0){let n={end:t},r=[];for(;n=this.next(e,n.end);)r.push(n);return r}},x={};let E={isString:e=>"string"==typeof e,isNumber:e=>"number"==typeof e,isInteger:e=>"number"==typeof e&&Number.isInteger(e),isBool:e=>"boolean"==typeof e,isNull:e=>null===e,isArray:e=>e instanceof Array,isObject:e=>e instanceof Object&&!(e instanceof Array)&&!(e instanceof Function),isFunction:e=>e instanceof Function,isTruthy:e=>null!==e&&(E.isArray(e)&&e.length>0||E.isObject(e)&&Object.keys(e).length>0||E.isString(e)&&e.length>0||E.isNumber(e)&&0!==e||E.isBool(e)&&e||E.isFunction(e))};var k=E;const{isFunction:C,isObject:O,isString:T,isArray:P,isNumber:A,isInteger:M,isTruthy:L}=k,{InterpreterError:I}=a;let R=(e,t)=>new I(`${e} expects ${t}`);let D=(e,t)=>{if(P(e)&&P(t)&&e.length===t.length){for(let n=0;n<e.length;n++)if(!D(e[n],t[n]))return!1;return!0}if(C(e))return e===t;if(O(e)&&O(t)){let n=Object.keys(e).sort();if(!D(n,Object.keys(t).sort()))return!1;for(let r of n)if(!D(e[r],t[r]))return!1;return!0}return e===t},j=(e,t,n)=>{if("+"===e&&!(A(t)&&A(n)||T(t)&&T(n)))throw R("infix: +","numbers/strings + numbers/strings");if(["-","*","/","**"].some((t=>t===e))&&(!A(t)||!A(n)))throw R(`infix: ${e}`,`number ${e} number`)},N=(e,t,n)=>{if("=="===e||"!="===e)return null;if(![">=","<=","<",">"].some((t=>t===e))||!(A(t)&&A(n)||T(t)&&T(n)))throw R(`infix: ${e}`,`numbers/strings ${e} numbers/strings`)};x.Interpreter=class{constructor(e){this.context=e}visit(e){return this["visit_"+e.constructorName](e)}visit_ASTNode(e){let t;switch(e.token.kind){case"number":return+e.token.value;case"null":return null;case"string":return t=e.token.value.slice(1,-1),t;case"true":return!0;case"false":return!1;case"identifier":return e.token.value}}visit_UnaryOp(e){let t=this.visit(e.expr);switch(e.token.kind){case"+":if(!A(t))throw R("unary +","number");return+t;case"-":if(!A(t))throw R("unary -","number");return-t;case"!":return!L(t)}}visit_BinOp(e){let t,n=this.visit(e.left);switch(e.token.kind){case"||":return L(n)||L(this.visit(e.right));case"&&":return L(n)&&L(this.visit(e.right));default:t=this.visit(e.right)}switch(e.token.kind){case"+":return j("+",n,t),n+t;case"-":return j("-",n,t),n-t;case"/":if(j("/",n,t),0==t)throw new I("division by zero");return n/t;case"*":return j("*",n,t),n*t;case">":return N(">",n,t),n>t;case"<":return N("<",n,t),n<t;case">=":return N(">=",n,t),n>=t;case"<=":return N("<=",n,t),n<=t;case"!=":return N("!=",n,t),!D(n,t);case"==":return N("==",n,t),D(n,t);case"**":return j("**",n,t),Math.pow(t,n);case".":if(O(n)){if(n.hasOwnProperty(t))return n[t];throw new I(`object has no property "${t}"`)}throw R("infix: .","objects");case"in":if(O(t)){if(!T(n))throw R("Infix: in-object","string on left side");t=Object.keys(t)}else{if(T(t)){if(!T(n))throw R("Infix: in-string","string on left side");return-1!==t.indexOf(n)}if(!P(t))throw R("Infix: in","Array, string, or object on right side")}return t.some((e=>D(n,e)))}}visit_List(e){let t=[];return void 0!==e.list[0]&&e.list.forEach((function(e){t.push(this.visit(e))}),this),t}visit_ValueAccess(e){let t=this.visit(e.arr),n=0,r=null;e.left&&(n=this.visit(e.left)),e.right&&(r=this.visit(e.right));const i=(e,t,n,r)=>{if(n<0&&(n=t.length+n)<0&&(n=0),e){if((r=null===r?t.length:r)<0&&(r=t.length+r)<0&&(r=0),n>r&&(n=r),!M(n)||!M(r))throw new I("cannot perform interval access with non-integers");return t.slice(n,r)}if(!M(n))throw new I("should only use integers to access arrays or strings");if(n>=t.length)throw new I("index out of bounds");return t[n]};if(P(t))return i(e.isInterval,t,n,r);if(T(t)){if(/^[\x00-\x7F]*$/.test(t))return i(e.isInterval,t,n,r);let o=i(e.isInterval,[...t],n,r);return P(o)&&(o=o.join("")),o}if(!O(t))throw R('infix: "[..]"',"object, array, or string");if(!T(n))throw new I("object keys must be strings");return t.hasOwnProperty(n)?t[n]:null}visit_ContextValue(e){if(this.context.hasOwnProperty(e.token.value))return this.context[e.token.value];throw new I(`unknown context value ${e.token.value}`)}visit_FunctionCall(e){let t=[],n=this.visit(e.name);if(C(n))return e.args.forEach((function(e){t.push(this.visit(e))}),this),n.hasOwnProperty("jsone_builtin")&&t.unshift(this.context),n.apply(null,t);throw new I(`${n} is not callable`)}visit_Object(e){let t={};for(let n in e.obj)t[n]=this.visit(e.obj[n]);return t}interpret(e){return this.visit(e)}};var F=new RegExp(["^(\\s*(-|\\+))?","(\\s*(?<years>\\d+)\\s*(y|year|years|yr))?","(\\s*(?<months>\\d+)\\s*(months|month|mo))?","(\\s*(?<weeks>\\d+)\\s*(weeks|week|wk|w))?","(\\s*(?<days>\\d+)\\s*(days|day|d))?","(\\s*(?<hours>\\d+)\\s*(hours|hour|hr|h))?","(\\s*(?<minutes>\\d+)\\s*(minutes|minute|min|m))?","(\\s*(?<seconds>\\d+)\\s*(seconds|second|sec|s))?","\\s*$"].join(""),"i"),B=(e="",t)=>{let n=function(e){var t=F.exec(e||"");if(!t)throw new Error("String: '"+e+"' isn't a time expression");var n="-"===t[2]?-1:1;let r=t.groups;return{years:parseInt(r.years||0,10)*n,months:parseInt(r.months||0,10)*n,weeks:parseInt(r.weeks||0,10)*n,days:parseInt(r.days||0,10)*n,hours:parseInt(r.hours||0,10)*n,minutes:parseInt(r.minutes||0,10)*n,seconds:parseInt(r.seconds||0,10)*n}}(e);return n.days+=30*n.months,n.days+=365*n.years,t=t?new Date(t):new Date,new Date(t.getTime()+7*n.weeks*24*60*60*1e3+24*n.days*60*60*1e3+60*n.hours*60*1e3+60*n.minutes*1e3+1e3*n.seconds).toJSON()},z=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},$=Object.keys||function(e){var t=Object.prototype.hasOwnProperty||function(){return!0},n=[];for(var r in e)t.call(e,r)&&n.push(r);return n},{BuiltinError:U}=a,H=B,{isString:W,isNumber:q,isBool:V,isArray:K,isObject:G,isNull:Y,isFunction:J}=k;let Z={string:W,number:q,boolean:V,array:K,object:G,null:Y,function:J},X=e=>new U(`invalid arguments to ${e}`);const{Parser:Q}=e,ee=S,{Interpreter:te}=x;var ne=B,re=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n=t.space||"";"number"==typeof n&&(n=Array(n+1).join(" "));var r,i="boolean"==typeof t.cycles&&t.cycles,o=t.replacer||function(e,t){return t},a=t.cmp&&(r=t.cmp,function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}),s=[];return function e(t,r,l,c){var u=n?"\n"+new Array(c+1).join(n):"",f=n?": ":":";if(l&&l.toJSON&&"function"==typeof l.toJSON&&(l=l.toJSON()),void 0!==(l=o.call(t,r,l))){if("object"!=typeof l||null===l)return JSON.stringify(l);if(z(l)){for(var d=[],p=0;p<l.length;p++){var h=e(l,p,l[p],c+1)||JSON.stringify(null);d.push(u+n+h)}return"["+d.join(",")+u+"]"}if(-1!==s.indexOf(l)){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}s.push(l);var m=$(l).sort(a&&a(l));for(d=[],p=0;p<m.length;p++){var g=e(l,r=m[p],l[r],c+1);if(g){var v=JSON.stringify(r)+f+g;d.push(u+n+v)}}return s.splice(s.indexOf(l),1),"{"+d.join(",")+u+"}"}}({"":e},"",e,0)},{isString:ie,isNumber:oe,isBool:ae,isArray:se,isObject:le,isTruthy:ce,isFunction:ue}=k,fe=e=>{let t={},n=(e,t,{argumentTests:n=[],minArgs:r=!1,variadic:i=null,needsContext:o=!1,invoke:a})=>(t[e]=(...t)=>{let s=t.shift();if(!i&&t.length<n.length)throw X(`builtin: ${e}`,t.toString());if(r&&t.length<r)throw X(`builtin: ${e}: expected at least ${r} arguments`);return i&&(n=t.map((()=>i))),t.forEach(((t,r)=>{if(!n[r].split("|").some((e=>Z[e](t))))throw X(`builtin: ${e}`,n[r])})),o?a(s,...t):a(...t)},t[e].jsone_builtin=!0,t[e]);return["max","min"].forEach((e=>{if(null==Math[e])throw new Error(`${e} in Math undefined`);n(e,t,{minArgs:1,variadic:"number",invoke:(...t)=>Math[e](...t)})})),["sqrt","ceil","floor","abs"].forEach((e=>{if(null==Math[e])throw new Error(`${e} in Math undefined`);n(e,t,{argumentTests:["number"],invoke:t=>Math[e](t)})})),n("lowercase",t,{argumentTests:["string"],invoke:e=>e.toLowerCase()}),n("uppercase",t,{argumentTests:["string"],invoke:e=>e.toUpperCase()}),n("str",t,{argumentTests:["string|number|boolean|null"],invoke:e=>null===e?"null":e.toString()}),n("number",t,{argumentTests:["string"],invoke:Number}),n("len",t,{argumentTests:["string|array"],invoke:e=>Array.from(e).length}),n("strip",t,{argumentTests:["string"],invoke:e=>e.trim()}),n("rstrip",t,{argumentTests:["string"],invoke:e=>e.replace(/\s+$/,"")}),n("lstrip",t,{argumentTests:["string"],invoke:e=>e.replace(/^\s+/,"")}),n("split",t,{minArgs:2,argumentTests:["string","string|number"],invoke:(e,t)=>e.split(t)}),n("join",t,{argumentTests:["array","string|number"],invoke:(e,t)=>e.join(t)}),n("fromNow",t,{variadic:"string",minArgs:1,needsContext:!0,invoke:(e,t,n)=>H(t,n||e.now)}),n("typeof",t,{argumentTests:["string|number|boolean|array|object|null|function"],invoke:e=>{for(let t of["string","number","boolean","array","object","function"])if(Z[t](e))return t;if(Z.null(e))return"null";throw X("builtin: typeof")}}),n("defined",t,{argumentTests:["string"],needsContext:!0,invoke:(e,t)=>e.hasOwnProperty(t)}),Object.assign({},t,e)},{JSONTemplateError:de,TemplateError:pe,SyntaxError:he}=a;let me=e=>new he(`Found: ${e.value} token, expected one of: !=, &&, (, *, **, +, -, ., /, <, <=, ==, >, >=, [, in, ||`);function ge(e,t){var n="",r=new RegExp(t.join("|")+"$");for(var i of Object.keys(e).sort())r.test(i)||(n+=" "+i);if(n)throw new pe(t[0].replace("\\","")+" has undefined properties:"+n)}let ve=e=>Array.isArray(e)?[].concat(...e.map(ve)):e,ye=(e,t)=>{let n,r="",i=e;for(;-1!==(n=i.search(/\$?\${/g));)if(r+=i.slice(0,n),"$"!=i[n+1]){let e=Ee(i.slice(n+2),"}",t);if(se(e.result)||le(e.result)){let t=i.slice(n+2,n+e.offset);throw new pe(`interpolation of '${t}' produced an array or object`)}null===e.result?r+="":r+=e.result.toString(),i=i.slice(n+e.offset+1)}else r+="${",i=i.slice(n+3);return r+=i,r},be={},_e={$eval:(e,t)=>{if(ge(e,["\\$eval"]),!ie(e.$eval))throw new pe("$eval must be given a string expression");return xe(e.$eval,t)},$flatten:(e,t)=>{ge(e,["\\$flatten"]);let n=we(e.$flatten,t);if(!se(n))throw new pe("$flatten value must evaluate to an array");return n.reduce(((e,t)=>e.concat(t)),[])},$flattenDeep:(e,t)=>{ge(e,["\\$flattenDeep"]);let n=we(e.$flattenDeep,t);if(!se(n))throw new pe("$flattenDeep value must evaluate to an array");return ve(n)},$fromNow:(e,t)=>{ge(e,["\\$fromNow","from"]);let n=we(e.$fromNow,t),r=t.now;if(e.from&&(r=we(e.from,t)),!ie(n))throw new pe("$fromNow expects a string");return ne(n,r)},$if:(e,t)=>{if(ge(e,["\\$if","then","else"]),!ie(e.$if))throw new pe("$if can evaluate string expressions only");if(ce(xe(e.$if,t))){if(e.hasOwnProperty("$then"))throw new pe("$if Syntax error: $then: should be spelled then: (no $)");return e.hasOwnProperty("then")?we(e.then,t):be}return e.hasOwnProperty("else")?we(e.else,t):be},$json:(e,t)=>{ge(e,["\\$json"]);const n=we(e.$json,t);if(ke(n))throw new pe("evaluated template contained uncalled functions");return re(n)},$let:(e,t)=>{if(ge(e,["\\$let","in"]),!le(e.$let))throw new pe("$let value must be an object");let n={},r=we(e.$let,t);if(!le(r))throw new pe("$let value must be an object");Object.keys(r).forEach((e=>{if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e))throw new pe("top level keys of $let must follow /[a-zA-Z_][a-zA-Z0-9_]*/");n[e]=r[e]}));var i=Object.assign({},t,n);if(null==e.in)throw new pe("$let operator requires an `in` clause");return we(e.in,i)},$map:(e,t)=>{ge(e,["\\$map","each\\(([a-zA-Z_][a-zA-Z0-9_]*)(,\\s*([a-zA-Z_][a-zA-Z0-9_]*))?\\)"]);let n=we(e.$map,t);if(!se(n)&&!le(n))throw new pe("$map value must evaluate to an array or object");if(2!==Object.keys(e).length)throw new pe("$map must have exactly two properties");let r=Object.keys(e).filter((e=>"$map"!==e))[0],i=/^each\(([a-zA-Z_][a-zA-Z0-9_]*)(,\s*([a-zA-Z_][a-zA-Z0-9_]*))?\)$/.exec(r);if(!i)throw new pe("$map requires each(identifier) syntax");let o=i[1],a=i[3],s=e[r];if(le(n)){let e;return n=Object.keys(n).map((e=>({key:e,val:n[e]}))),n=n.map((n=>{let r=void 0!==a?{[o]:n.val,[a]:n.key}:{[o]:n};if(e=we(s,Object.assign({},t,r)),!le(e))throw new pe(`$map on objects expects each(${o}) to evaluate to an object`);return e})).filter((e=>e!==be)),Object.assign({},...n)}return n.map(((e,n)=>{let r=void 0!==a?{[o]:e,[a]:n}:{[o]:e};return we(s,Object.assign({},t,r))})).filter((e=>e!==be))},$find:(e,t)=>{ge(e,["\\$find","each\\(([a-zA-Z_][a-zA-Z0-9_]*)(,\\s*([a-zA-Z_][a-zA-Z0-9_]*))?\\)"]);let n=we(e.$find,t);if(!se(n))throw new pe("$find value must evaluate to an array");if(2!==Object.keys(e).length)throw new pe("$find must have exactly two properties");let r=Object.keys(e).filter((e=>"$find"!==e))[0],i=/^each\(([a-zA-Z_][a-zA-Z0-9_]*)(,\s*([a-zA-Z_][a-zA-Z0-9_]*))?\)$/.exec(r);if(!i)throw new pe("$find requires each(identifier) syntax");if(!ie(e[r]))throw new pe("each can evaluate string expressions only");let o=i[1],a=i[3],s=e[r];const l=n.find(((e,n)=>{let r=void 0!==a?{[o]:e,[a]:n}:{[o]:e};if(ce(xe(s,Object.assign({},t,r))))return we(s,Object.assign({},t,r))}));return void 0!==l?l:be},$match:(e,t)=>{if(ge(e,["\\$match"]),!le(e.$match))throw new pe("$match can evaluate objects only");const n=[],r=e.$match;for(let e of Object.keys(r).sort())ce(xe(e,t))&&n.push(we(r[e],t));return n},$switch:(e,t)=>{if(ge(e,["\\$switch"]),!le(e.$switch))throw new pe("$switch can evaluate objects only");let n=[];const r=e.$switch;for(let e of Object.keys(r).filter((e=>"$default"!==e)).sort())ce(xe(e,t))&&n.push(we(r[e],t));if(n.length>1)throw new pe("$switch can only have one truthy condition");return 0===n.length&&r.$default&&n.push(we(r.$default,t)),n.length>0?n[0]:be},$merge:(e,t)=>{ge(e,["\\$merge"]);let n=we(e.$merge,t);if(!se(n)||n.some((e=>!le(e))))throw new pe("$merge value must evaluate to an array of objects");return Object.assign({},...n)},$mergeDeep:(e,t)=>{ge(e,["\\$mergeDeep"]);let n=we(e.$mergeDeep,t);if(!se(n)||n.some((e=>!le(e))))throw new pe("$mergeDeep value must evaluate to an array of objects");if(0===n.length)return{};let r=(e,t)=>{if(se(e)&&se(t))return e.concat(t);if(le(e)&&le(t)){let n=Object.assign({},e);for(let i in t)n[i]=i in e?r(e[i],t[i]):t[i];return n}return t};return n.reduce(r,n.shift())},$reverse:(e,t)=>{ge(e,["\\$reverse"]);let n=we(e.$reverse,t);if(!se(n))throw new pe("$reverse value must evaluate to an array of objects");return n.reverse()},$sort:(e,t)=>{ge(e,["\\$sort","by\\(([a-zA-Z_][a-zA-Z0-9_]*)\\)"]);let n=we(e.$sort,t);if(!se(n))throw new pe("$sorted values to be sorted must have the same type");let r,i=Object.keys(e).filter((e=>"$sort"!==e))[0],o=/^by\(([a-zA-Z_][a-zA-Z0-9_]*)\)$/.exec(i);if(o){let n=Object.assign({},t),a=o[1],s=e[i];r=e=>(n[a]=e,xe(s,n))}else{if(n.some((e=>se(e)||le(e))))throw new pe("$sorted values to be sorted must have the same type");r=e=>e}let a=n.map((e=>[r(e),e]));if(a.length>0){let e=typeof a[0][0];if("number"!==e&&"string"!==e||a.some((t=>e!==typeof t[0])))throw new pe("$sorted values to be sorted must have the same type")}return a.sort(((e,t)=>(e=e[0])<(t=t[0])?-1:e>t?1:0)).map((e=>e[1]))}},we=(e,t)=>{if(oe(e)||ae(e)||null===e)return e;if(ie(e))return ye(e,t);if(se(e))return e.map(((e,n)=>{try{return we(e,t)}catch(e){throw e instanceof de&&e.add_location(`[${n}]`),e}})).filter((e=>e!==be));let n=Object.keys(_e).filter((t=>e.hasOwnProperty(t)));if(n.length>1)throw new pe("only one operator allowed");if(1===n.length)return _e[n[0]](e,t);let r={};for(let n of Object.keys(e)){let i;try{i=we(e[n],t)}catch(e){throw e instanceof de&&(/^[a-zA-Z][a-zA-Z0-9]*$/.test(n)?e.add_location(`.${n}`):e.add_location(`[${JSON.stringify(n)}]`)),e}if(i!==be){if(n.startsWith("$$"))n=n.substr(1);else{if(/^\$[a-zA-Z][a-zA-Z0-9]*$/.test(n))throw new pe("$<identifier> is reserved; use $$<identifier>");n=ye(n,t)}r[n]=i}}return r},Se=new ee({ignore:"\\s+",patterns:{number:"[0-9]+(?:\\.[0-9]+)?",identifier:"[a-zA-Z_][a-zA-Z_0-9]*",string:"'[^']*'|\"[^\"]*\"",true:"true(?![a-zA-Z_0-9])",false:"false(?![a-zA-Z_0-9])",in:"in(?![a-zA-Z_0-9])",null:"null(?![a-zA-Z_0-9])"},tokens:["**",..."+-*/[].(){}:,".split(""),">=","<=","<",">","==","!=","!","&&","||","true","false","in","null","number","identifier","string"]}),xe=(e,t)=>{let n=new Q(Se,e),r=n.parse();if(null!=n.current_token)throw me(n.current_token);return new te(t).interpret(r)},Ee=(e,t,n)=>{let r=new Q(Se,e),i=r.parse(),o=r.current_token;if(!o){let t=e.length;throw new he("unterminated ${..} expression",{start:t,end:t})}if(o.kind!==t)throw me(o);return{result:new te(n).interpret(i),offset:o.start+2}},ke=e=>{if(ue(e))return!0;if(Array.isArray(e))return e.some(ke);if("object"==typeof e&&null!==e){for(const t of Object.keys(e))if(ke(e[t]))return!0;return!1}return!1};return(e,t={})=>{if(!le(t))throw new pe("context must be an object");if(!Object.keys(t).every((e=>/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e))))throw new pe("top level keys of context must follow /[a-zA-Z_][a-zA-Z0-9_]*/");t=fe(Object.assign({},{now:ne("0 seconds")},t));let n=we(e,t);if(n===be)return null;if(ke(n))throw new pe("evaluated template contained uncalled functions");return n}}()},97196:(e,t,n)=>{var r=n(31230),i=n(9185),o=n(48581),a=n(15929),s=n(39254),l=n(96533),c=n(2617),u=n(83830),f=e=>Array.isArray(e)?e:[e],d=e=>void 0===e,p=e=>c(e)||Array.isArray(e)?Object.keys(e):[],h=(e,t)=>e.hasOwnProperty(t),m=e=>i(o(e)),g=e=>d(e)||Array.isArray(e)&&0===e.length,v=(e,t)=>d(e)&&0===t||d(t)&&0===e||r(e,t),y=e=>d(e)||r(e,{})||!0===e,b=e=>d(e)||r(e,{}),_=e=>d(e)||c(e)||!0===e||!1===e;function w(e,t){return!(!g(e)||!g(t))||r(m(e),m(t))}function S(e,t,n,i){var a=o(p(e).concat(p(t)));return!(!b(e)||!b(t))||(!b(e)||!p(t).length)&&(!b(t)||!p(e).length)&&a.every((function(n){var o=e[n],a=t[n];return Array.isArray(o)&&Array.isArray(a)?r(m(e),m(t)):!(Array.isArray(o)&&!Array.isArray(a))&&!(Array.isArray(a)&&!Array.isArray(o))&&((e,t,n,r)=>t&&h(t,n)&&e&&h(e,n)&&r(e[n],t[n]))(e,t,n,i)}))}function x(e,t,n,r){var i=a(e,r),o=a(t,r);return l(i,o,r).length===Math.max(i.length,o.length)}var E={title:r,uniqueItems:(e,t)=>d(e)&&!1===t||d(t)&&!1===e||r(e,t),minLength:v,minItems:v,minProperties:v,required:w,enum:w,type:function(e,t){return e=f(e),t=f(t),r(m(e),m(t))},items:function(e,t,n,i){return c(e)&&c(t)?i(e,t):Array.isArray(e)&&Array.isArray(t)?S(e,t,0,i):r(e,t)},anyOf:x,allOf:x,oneOf:x,properties:S,patternProperties:S,dependencies:S},k=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],C=["additionalProperties","additionalItems","contains","propertyNames","not"];e.exports=function e(t,n,i){if(i=s(i,{ignore:[]}),y(t)&&y(n))return!0;if(!_(t)||!_(n))throw new Error("Either of the values are not a JSON schema.");if(t===n)return!0;if(u(t)&&u(n))return t===n;if(void 0===t&&!1===n||void 0===n&&!1===t)return!1;if(d(t)&&!d(n)||!d(t)&&d(n))return!1;var a=o(Object.keys(t).concat(Object.keys(n)));if(i.ignore.length&&(a=a.filter((e=>-1===i.ignore.indexOf(e)))),!a.length)return!0;function l(t,n){return e(t,n,i)}return a.every((function(o){var a=t[o],s=n[o];if(-1!==C.indexOf(o))return e(a,s,i);var c=E[o];if(c||(c=r),r(a,s))return!0;if(-1===k.indexOf(o)&&(!h(t,o)&&h(n,o)||h(t,o)&&!h(n,o)))return a===s;var f=c(a,s,o,l);if(!u(f))throw new Error("Comparer must return true or false");return f}))}},73192:(e,t,n)=>{var r=n(90993),i=n(97196),o=n(67437),a=n(88228),s=n(71136),l=n(67710),c=n(17729),u=n(96533),f=n(31230),d=n(2617),p=n(80788),h=n(9185),m=n(95328),g=n(48581),v=n(15929),y=n(20526),b=(e,...t)=>y.apply(null,[e].concat(s(t))),_=e=>S(W,e),w=e=>S(q,e),S=(e,t)=>-1!==e.indexOf(t),x=e=>!N(e).length&&!1!==e&&!0!==e,E=e=>d(e)||!0===e||!1===e,k=e=>!1===e,C=e=>!0===e,O=(e,t,n)=>n(e),T=e=>h(g(l(e))),P=e=>void 0!==e,A=e=>g(l(e.map(N))),M=e=>e[0],L=e=>Math.max.apply(Math,e),I=e=>Math.min.apply(Math,e);function R(e){if(Array.isArray(e.allOf)){var t=e.allOf;return delete e.allOf,[e].concat(t.map((function(e){return R(e)})))}return[e]}function D(e,t){return e.map((function(e){return e&&e[t]}))}function j(e,t){return e.map((function(e){if(e){if(!Array.isArray(e.items))return e.items;var n=e.items[t];return E(n)?n:e.hasOwnProperty("additionalItems")?e.additionalItems:void 0}}))}function N(e){return d(e)||Array.isArray(e)?Object.keys(e):[]}function F(e,t){if(t=t||[],!e.length)return t;var n=e.slice(0).shift(),r=e.slice(1);return t.length?F(r,s(t.map((e=>n.map((t=>[t].concat(e))))))):F(r,n.map((e=>e)))}function B(e,t){var n;try{n=e.map((function(e){return JSON.stringify(e,null,2)})).join("\n")}catch(t){n=e.join(", ")}throw new Error('Could not resolve values for path:"'+t.join(".")+'". They are probably incompatible. Values: \n'+n)}function z(e,t,n){return function(r,i){if(void 0===i)throw new Error("You need to call merger with a key for the property name or index if array.");return i=String(i),e(r,null,n.concat(t,i))}}function $(e,t,n,r,o,a){if(e.length){var s=o.resolvers[t];if(!s)throw new Error("No resolver found for "+t);var l=v(n.map((function(t){return e.reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})})).filter(P),i),c=("properties"===t?W:q).reduce((function(e,t){return S(V,t)?e[t]=z(r,t,a):e[t]=function(e){return r(e,null,a.concat(t))},e}),{});"items"===t&&(c.itemsArray=z(r,"items",a),c.items=function(e){return r(e,null,a.concat("items"))});var u=s(l,a.concat(t),c,o);return d(u)||B(l,a.concat(t)),function(e){for(var t in e)e.hasOwnProperty(t)&&x(e[t])&&delete e[t];return e}(u)}}function U(e,t,n){var r=A(n||e),o=n?j:D;return r.reduce((function(n,r){var a=o(e,r),s=v(a.filter(P),i);return n[r]=t(s,r),n}),n?[]:{})}function H(e){return{required:e}}var W=["properties","patternProperties","additionalProperties"],q=["items","additionalItems"],V=["properties","patternProperties","definitions","dependencies"],K=["anyOf","oneOf"],G=["additionalProperties","additionalItems","contains","propertyNames","not","items"],Y={type(e){if(e.some(Array.isArray)){var t=e.map((function(e){return Array.isArray(e)?e:[e]})),n=c.apply(null,t);if(1===n.length)return n[0];if(n.length>1)return g(n)}},properties(e,t,n,r){r.ignoreAdditionalProperties||(e.forEach((function(t){var r=e.filter((e=>e!==t)),i=N(t.properties),o=N(t.patternProperties).map((e=>new RegExp(e)));r.forEach((function(e){var r=N(e.properties),a=r.filter((e=>o.some((t=>t.test(e)))));b(r,i,a).forEach((function(r){e.properties[r]=n.properties([e.properties[r],t.additionalProperties],r)}))}))})),e.forEach((function(t){var n=e.filter((e=>e!==t)),r=N(t.patternProperties);!1===t.additionalProperties&&n.forEach((function(e){var t=N(e.patternProperties);b(t,r).forEach((t=>delete e.patternProperties[t]))}))})));var i,o={additionalProperties:n.additionalProperties(e.map((e=>e.additionalProperties))),patternProperties:U(e.map((e=>e.patternProperties)),n.patternProperties),properties:U(e.map((e=>e.properties)),n.properties)};return!1===o.additionalProperties&&m(i=o.properties,(function(e,t){!1===e&&delete i[t]})),o},dependencies:(e,t,n)=>A(e).reduce((function(t,r){var o=D(e,r),a=v(o.filter(P),f),s=a.filter(Array.isArray);if(s.length){if(s.length===a.length)t[r]=T(a);else{var l=a.filter(E),c=s.map(H);t[r]=n(l.concat(c),r)}return t}return a=v(a,i),t[r]=n(a,r),t}),{}),items(e,t,n){var r,i,o=e.map((e=>e.items)),a=o.filter(P),s={};return a.every(E)?s.items=n.items(o):s.items=U(e,n.itemsArray,o),a.every(Array.isArray)?r=e.map((e=>e.additionalItems)):a.some(Array.isArray)&&(r=e.map((function(e){if(e)return Array.isArray(e.items)?e.additionalItems:e.items}))),r&&(s.additionalItems=n.additionalItems(r)),!1===s.additionalItems&&Array.isArray(s.items)&&(i=s.items,m(i,(function(e,t){!1===e&&i.splice(t,1)}))),s},oneOf(e,t,n){var o=function(e,t){return e.map((function(e,n){try{return t(e,n)}catch(e){return}})).filter(P)}(F(r(e)),n),a=v(o,i);if(a.length)return a},not:e=>({anyOf:e}),pattern(e,t,n,r,i){var o=t.pop();i(e.map((function(e){return{[o]:e}})))},multipleOf(e){for(var t=e.slice(0),n=1;t.some((e=>!Number.isInteger(e)));)t=t.map((e=>10*e)),n*=10;return o(t)/n},enum(e){var t=u.apply(null,e.concat(f));if(t.length)return h(t)}};function J(e,t,n){return n=n||[],t=a(t,{ignoreAdditionalProperties:!1,resolvers:Y}),function e(o,a,s){o=r(o.filter(P)),s=s||[];var l=d(a)?a:{};if(o.length){if(o.some(k))return!1;if(o.every(C))return!0;o=o.filter(d);var c=A(o);if(S(c,"allOf"))return J({allOf:o},t,n);var u=c.filter(_);p(c,u);var f=c.filter(w);return p(c,f),c.forEach((function(n){var r=D(o,n),a=v(r.filter(P),function(e){return function(t,n){return i({[e]:t},{[e]:n})}}(n));if(1===a.length&&S(K,n))l[n]=a[0].map((function(t){return e([t],t)}));else if(1!==a.length||S(V,n)||S(G,n)){var c,u=t.resolvers[n]||t.resolvers.defaultResolver;if(!u)throw new Error("No resolver found for key "+n+". You can provide a resolver for this keyword in the options, or provide a default resolver.");c=S(V,n)||S(K,n)?z(e,n,s):function(t){return e(t,null,s.concat(n))};var f=!1;l[n]=u(a,s.concat(n),c,t,(function(e){return f=Array.isArray(e),function(e){l.allOf=function(e,t){return Array.isArray(e)?(e.splice.apply(e,[0,0].concat(t)),e):t}(l.allOf,e)}(e)})),void 0!==l[n]||f?void 0===l[n]&&delete l[n]:B(a,s.concat(n))}else l[n]=a[0]})),Object.assign(l,$(u,"properties",o,e,t,s)),Object.assign(l,$(f,"items",o,e,t,s)),l}}(l(R(e)),e)}Y.$id=M,Y.$ref=M,Y.$schema=M,Y.additionalItems=O,Y.additionalProperties=O,Y.anyOf=Y.oneOf,Y.contains=O,Y.default=M,Y.definitions=Y.dependencies,Y.description=M,Y.examples=e=>v(s(e),f),Y.exclusiveMaximum=I,Y.exclusiveMinimum=L,Y.maximum=I,Y.maxItems=I,Y.maxLength=I,Y.maxProperties=I,Y.minimum=L,Y.minItems=L,Y.minLength=L,Y.minProperties=L,Y.propertyNames=O,Y.required=e=>T(e),Y.title=M,Y.uniqueItems=e=>e.some(C),J.options={resolvers:Y},e.exports=J},8821:(e,t,n)=>{"use strict";var r=n(4472),i=n(69264),o=n(2259);function a(e,t,n,o,l,c,u,f){var d=null===t?e:e[t];d&&"object"==typeof d&&(r.isAllowed$Ref(d)?s(e,t,n,o,l,c,u,f):Object.keys(d).sort((function(e,t){return"definitions"===e?-1:"definitions"===t?1:e.length-t.length})).forEach((function(e){var t=i.join(n,e),p=i.join(o,e),h=d[e];r.isAllowed$Ref(h)?s(d,e,n,p,l,c,u,f):a(d,e,t,p,l,c,u,f)})))}function s(e,t,n,s,l,c,u,f){var d=null===t?e:e[t],p=o.resolve(n,d.$ref),h=u._resolve(p,f),m=i.parse(s).length,g=o.stripHash(h.path),v=o.getHash(h.path),y=g!==u._root$Ref.path,b=r.isExtended$Ref(d);l+=h.indirections;var _=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(i.parent===t&&i.key===n)return i}}(c,e,t);if(_){if(!(m<_.depth||l<_.indirections))return;!function(e,t){var n=e.indexOf(t);e.splice(n,1)}(c,_)}c.push({$ref:d,parent:e,key:t,pathFromRoot:s,depth:m,file:g,hash:v,value:h.value,circular:h.circular,extended:b,external:y,indirections:l}),a(h.value,null,h.path,s,l+1,c,u,f)}e.exports=function(e,t){var n=[];a(e,"schema",e.$refs._root$Ref.path+"#","#",0,n,e.$refs,t),function(e){var t,n,o;e.sort((function(e,t){if(e.file!==t.file)return e.file<t.file?-1:1;if(e.hash!==t.hash)return e.hash<t.hash?-1:1;if(e.circular!==t.circular)return e.circular?-1:1;if(e.extended!==t.extended)return e.extended?1:-1;if(e.indirections!==t.indirections)return e.indirections-t.indirections;if(e.depth!==t.depth)return e.depth-t.depth;var n=e.pathFromRoot.lastIndexOf("/definitions"),r=t.pathFromRoot.lastIndexOf("/definitions");return n!==r?r-n:e.pathFromRoot.length-t.pathFromRoot.length})),e.forEach((function(e){e.external?e.file===t&&e.hash===n?e.$ref.$ref=o:e.file===t&&0===e.hash.indexOf(n+"/")?e.$ref.$ref=i.join(o,i.parse(e.hash.replace(n,"#"))):(t=e.file,n=e.hash,o=e.pathFromRoot,e.$ref=e.parent[e.key]=r.dereference(e.$ref,e.value),e.circular&&(e.$ref.$ref=e.pathFromRoot)):e.$ref.$ref=e.hash}))}(n)}},31141:(e,t,n)=>{"use strict";var r=n(4472),i=n(69264),o=n(56953),a=n(2259);function s(e,t,n,o,a,u){var f,d={value:e,circular:!1};return e&&"object"==typeof e&&(o.push(e),r.isAllowed$Ref(e,u)?(f=l(e,t,n,o,a,u),d.circular=f.circular,d.value=f.value):Object.keys(e).forEach((function(p){var h=i.join(t,p),m=i.join(n,p),g=e[p],v=!1;r.isAllowed$Ref(g,u)?(v=(f=l(g,h,m,o,a,u)).circular,e[p]=f.value):-1===o.indexOf(g)?(v=(f=s(g,h,m,o,a,u)).circular,e[p]=f.value):v=c(h,a,u),d.circular=d.circular||v})),o.pop()),d}function l(e,t,n,i,o,l){var u=a.resolve(t,e.$ref),f=o._resolve(u,l),d=f.circular,p=d||-1!==i.indexOf(f.value);p&&c(t,o,l);var h=r.dereference(e,f.value);if(!p){var m=s(h,f.path,n,i,o,l);p=m.circular,h=m.value}return p&&!d&&"ignore"===l.dereference.circular&&(h=e),d&&(h.$ref=n),{circular:p,value:h}}function c(e,t,n){if(t.circular=!0,!n.dereference.circular)throw o.reference("Circular $ref pointer found at %s",e);return!0}e.exports=function(e,t){var n=s(e.schema,e.$refs._root$Ref.path,"#",[],e.$refs,t);e.$refs.circular=n.circular,e.schema=n.value}},63729:(e,t,n)=>{"use strict";n(77803);var r=n(16839),i=n(58022),o=n(67842),a=n(52221),s=n(8821),l=n(31141),c=n(2259),u=n(84596),f=n(56953);function d(){this.schema=null,this.$refs=new r}e.exports=d,e.exports.YAML=n(68315),d.parse=function(e,t,n,r){var i=new this;return i.parse.apply(i,arguments)},d.prototype.parse=function(e,t,n,a){var s,l=o(arguments);if(!l.path&&!l.schema){var d=f("Expected a file path, URL, or object. Got %s",l.path||l.schema);return u(l.callback,Promise.reject(d))}this.schema=null,this.$refs=new r;var p="http";if(c.isFileSystemPath(l.path)&&(l.path=c.fromFileSystemPath(l.path),p="file"),l.path=c.resolve(c.cwd(),l.path),l.schema&&"object"==typeof l.schema){var h=this.$refs._add(l.path);h.value=l.schema,h.pathType=p,s=Promise.resolve(l.schema)}else s=i(l.path,this.$refs,l.options);var m=this;return s.then((function(e){if(!e||"object"!=typeof e||Buffer.isBuffer(e))throw f.syntax('"%s" is not a valid JSON Schema',m.$refs._root$Ref.path||e);return m.schema=e,u(l.callback,Promise.resolve(m.schema))})).catch((function(e){return u(l.callback,Promise.reject(e))}))},d.resolve=function(e,t,n,r){var i=new this;return i.resolve.apply(i,arguments)},d.prototype.resolve=function(e,t,n,r){var i=this,s=o(arguments);return this.parse(s.path,s.schema,s.options).then((function(){return a(i,s.options)})).then((function(){return u(s.callback,Promise.resolve(i.$refs))})).catch((function(e){return u(s.callback,Promise.reject(e))}))},d.bundle=function(e,t,n,r){var i=new this;return i.bundle.apply(i,arguments)},d.prototype.bundle=function(e,t,n,r){var i=this,a=o(arguments);return this.resolve(a.path,a.schema,a.options).then((function(){return s(i,a.options),u(a.callback,Promise.resolve(i.schema))})).catch((function(e){return u(a.callback,Promise.reject(e))}))},d.dereference=function(e,t,n,r){var i=new this;return i.dereference.apply(i,arguments)},d.prototype.dereference=function(e,t,n,r){var i=this,a=o(arguments);return this.resolve(a.path,a.schema,a.options).then((function(){return l(i,a.options),u(a.callback,Promise.resolve(i.schema))})).catch((function(e){return u(a.callback,Promise.reject(e))}))}},67842:(e,t,n)=>{"use strict";var r=n(77803);e.exports=function(e){var t,n,i,o;return"function"==typeof(e=Array.prototype.slice.call(e))[e.length-1]&&(o=e.pop()),"string"==typeof e[0]?(t=e[0],"object"==typeof e[2]?(n=e[1],i=e[2]):(n=void 0,i=e[1])):(t="",n=e[0],i=e[1]),i instanceof r||(i=new r(i)),{path:t,schema:n,options:i,callback:o}}},77803:(e,t,n)=>{"use strict";var r=n(21926),i=n(99991),o=n(231),a=n(95589),s=n(68451),l=n(55709);function c(e){u(this,c.defaults),u(this,e)}function u(e,t){if(f(t))for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r],o=t[i],a=e[i];f(o)?e[i]=u(a||{},o):void 0!==o&&(e[i]=o)}return e}function f(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}e.exports=c,c.defaults={parse:{json:r,yaml:i,text:o,binary:a},resolve:{file:s,http:l,external:!0},dereference:{circular:!0}}},58022:(e,t,n)=>{"use strict";var r=n(56953),i=n(2259),o=n(2722);e.exports=function(e,t,n){try{e=i.stripHash(e);var a=t._add(e),s={url:e,extension:i.getExtension(e)};return function(e,t){return new Promise((function(n,i){var a=o.all(t.resolve);a=o.filter(a,"canRead",e),o.sort(a),o.run(a,"read",e).then(n,(function(t){!t||t instanceof SyntaxError?i(r.syntax('Unable to resolve $ref pointer "%s"',e.url)):i(t)}))}))}(s,n).then((function(e){return a.pathType=e.plugin.name,s.data=e.result,function(e,t){return new Promise((function(n,i){var a=o.all(t.parse),s=o.filter(a,"canParse",e),l=s.length>0?s:a;o.sort(l),o.run(l,"parse",e).then((function(t){var o;!t.plugin.allowEmpty&&(void 0===(o=t.result)||"object"==typeof o&&0===Object.keys(o).length||"string"==typeof o&&0===o.trim().length||Buffer.isBuffer(o)&&0===o.length)?i(r.syntax('Error parsing "%s" as %s. \nParsed value is empty',e.url,t.plugin.name)):n(t)}),(function(t){t?(t=t instanceof Error?t:new Error(t),i(r.syntax(t,"Error parsing %s",e.url))):i(r.syntax("Unable to parse %s",e.url))}))}))}(s,n)})).then((function(e){return a.value=e.result,e.result}))}catch(e){return Promise.reject(e)}}},95589:e=>{"use strict";var t=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;e.exports={order:400,allowEmpty:!0,canParse:function(e){return Buffer.isBuffer(e.data)&&t.test(e.url)},parse:function(e){return Buffer.isBuffer(e.data)?e.data:new Buffer(e.data)}}},21926:e=>{"use strict";e.exports={order:100,allowEmpty:!0,canParse:".json",parse:function(e){return new Promise((function(t,n){var r=e.data;Buffer.isBuffer(r)&&(r=r.toString()),"string"==typeof r?0===r.trim().length?t(void 0):t(JSON.parse(r)):t(r)}))}}},231:e=>{"use strict";var t=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;e.exports={order:300,allowEmpty:!0,encoding:"utf8",canParse:function(e){return("string"==typeof e.data||Buffer.isBuffer(e.data))&&t.test(e.url)},parse:function(e){if("string"==typeof e.data)return e.data;if(Buffer.isBuffer(e.data))return e.data.toString(this.encoding);throw new Error("data is not text")}}},99991:(e,t,n)=>{"use strict";var r=n(68315);e.exports={order:200,allowEmpty:!0,canParse:[".yaml",".yml",".json"],parse:function(e){return new Promise((function(t,n){var i=e.data;Buffer.isBuffer(i)&&(i=i.toString()),t("string"==typeof i?r.parse(i):i)}))}}},69264:(e,t,n)=>{"use strict";e.exports=u;var r=n(4472),i=n(2259),o=n(56953),a=/\//g,s=/~/g,l=/~1/g,c=/~0/g;function u(e,t,n){this.$ref=e,this.path=t,this.originalPath=n||t,this.value=void 0,this.circular=!1,this.indirections=0}function f(e,t){if(r.isAllowed$Ref(e.value,t)){var n=i.resolve(e.path,e.value.$ref);if(n!==e.path){var o=e.$ref.$refs._resolve(n,t);return e.indirections+=o.indirections+1,r.isExtended$Ref(e.value)?(e.value=r.dereference(e.value,o.value),!1):(e.$ref=o.$ref,e.path=o.path,e.value=o.value,!0)}e.circular=!0}}function d(e,t,n){if(!e.value||"object"!=typeof e.value)throw o.syntax('Error assigning $ref pointer "%s". \nCannot set "%s" of a non-object.',e.path,t);return"-"===t&&Array.isArray(e.value)?e.value.push(n):e.value[t]=n,n}u.prototype.resolve=function(e,t){var n=u.parse(this.path);this.value=e;for(var r=0;r<n.length;r++){f(this,t)&&(this.path=u.join(this.path,n.slice(r)));var i=n[r];if(void 0===this.value[i])throw o.syntax('Error resolving $ref pointer "%s". \nToken "%s" does not exist.',this.originalPath,i);this.value=this.value[i]}return f(this,t),this},u.prototype.set=function(e,t,n){var r,i=u.parse(this.path);if(0===i.length)return this.value=t,t;this.value=e;for(var o=0;o<i.length-1;o++)f(this,n),r=i[o],this.value&&void 0!==this.value[r]?this.value=this.value[r]:this.value=d(this,r,{});return f(this,n),d(this,r=i[i.length-1],t),e},u.parse=function(e){var t=i.getHash(e).substr(1);if(!t)return[];t=t.split("/");for(var n=0;n<t.length;n++)t[n]=decodeURIComponent(t[n].replace(l,"/").replace(c,"~"));if(""!==t[0])throw o.syntax('Invalid $ref pointer "%s". Pointers must begin with "#/"',t);return t.slice(1)},u.join=function(e,t){-1===e.indexOf("#")&&(e+="#"),t=Array.isArray(t)?t:[t];for(var n=0;n<t.length;n++){var r=t[n];e+="/"+encodeURIComponent(r.replace(s,"~0").replace(a,"~1"))}return e}},4472:(e,t,n)=>{"use strict";e.exports=i;var r=n(69264);function i(){this.path=void 0,this.value=void 0,this.$refs=void 0,this.pathType=void 0}i.prototype.exists=function(e,t){try{return this.resolve(e,t),!0}catch(e){return!1}},i.prototype.get=function(e,t){return this.resolve(e,t).value},i.prototype.resolve=function(e,t,n){return new r(this,e,n).resolve(this.value,t)},i.prototype.set=function(e,t){var n=new r(this,e);this.value=n.set(this.value,t)},i.is$Ref=function(e){return e&&"object"==typeof e&&"string"==typeof e.$ref&&e.$ref.length>0},i.isExternal$Ref=function(e){return i.is$Ref(e)&&"#"!==e.$ref[0]},i.isAllowed$Ref=function(e,t){if(i.is$Ref(e)){if("#/"===e.$ref.substr(0,2)||"#"===e.$ref)return!0;if("#"!==e.$ref[0]&&(!t||t.resolve.external))return!0}},i.isExtended$Ref=function(e){return i.is$Ref(e)&&Object.keys(e).length>1},i.dereference=function(e,t){if(t&&"object"==typeof t&&i.isExtended$Ref(e)){var n={};return Object.keys(e).forEach((function(t){"$ref"!==t&&(n[t]=e[t])})),Object.keys(t).forEach((function(e){e in n||(n[e]=t[e])})),n}return t}},16839:(e,t,n)=>{"use strict";var r=n(56953),i=n(4472),o=n(2259);function a(){this.circular=!1,this._$refs={},this._root$Ref=null}function s(e,t){var n=Object.keys(e);return(t=Array.isArray(t[0])?t[0]:Array.prototype.slice.call(t)).length>0&&t[0]&&(n=n.filter((function(n){return-1!==t.indexOf(e[n].pathType)}))),n.map((function(t){return{encoded:t,decoded:"file"===e[t].pathType?o.toFileSystemPath(t,!0):t}}))}e.exports=a,a.prototype.paths=function(e){return s(this._$refs,arguments).map((function(e){return e.decoded}))},a.prototype.values=function(e){var t=this._$refs;return s(t,arguments).reduce((function(e,n){return e[n.decoded]=t[n.encoded].value,e}),{})},a.prototype.toJSON=a.prototype.values,a.prototype.exists=function(e,t){try{return this._resolve(e,t),!0}catch(e){return!1}},a.prototype.get=function(e,t){return this._resolve(e,t).value},a.prototype.set=function(e,t){var n=o.resolve(this._root$Ref.path,e),i=o.stripHash(n),a=this._$refs[i];if(!a)throw r('Error resolving $ref pointer "%s". \n"%s" not found.',e,i);a.set(n,t)},a.prototype._add=function(e){var t=o.stripHash(e),n=new i;return n.path=t,n.$refs=this,this._$refs[t]=n,this._root$Ref=this._root$Ref||n,n},a.prototype._resolve=function(e,t){var n=o.resolve(this._root$Ref.path,e),i=o.stripHash(n),a=this._$refs[i];if(!a)throw r('Error resolving $ref pointer "%s". \n"%s" not found.',e,i);return a.resolve(n,t,e)},a.prototype._get$Ref=function(e){e=o.resolve(this._root$Ref.path,e);var t=o.stripHash(e);return this._$refs[t]}},52221:(e,t,n)=>{"use strict";var r=n(4472),i=n(69264),o=n(58022),a=n(2259);function s(e,t,n,o){var a=[];return e&&"object"==typeof e&&(r.isExternal$Ref(e)?a.push(l(e,t,n,o)):Object.keys(e).forEach((function(c){var u=i.join(t,c),f=e[c];r.isExternal$Ref(f)?a.push(l(f,u,n,o)):a=a.concat(s(f,u,n,o))}))),a}function l(e,t,n,r){var i=a.resolve(t,e.$ref),l=a.stripHash(i);return(e=n._$refs[l])?Promise.resolve(e.value):o(i,n,r).then((function(e){var t=s(e,l+"#",n,r);return Promise.all(t)}))}e.exports=function(e,t){if(!t.resolve.external)return Promise.resolve();try{var n=s(e.schema,e.$refs._root$Ref.path+"#",e.$refs,t);return Promise.all(n)}catch(e){return Promise.reject(e)}}},68451:(e,t,n)=>{"use strict";var r=n(79896),i=n(56953),o=n(2259);e.exports={order:100,canRead:function(e){return o.isFileSystemPath(e.url)},read:function(e){return new Promise((function(t,n){var a;try{a=o.toFileSystemPath(e.url)}catch(t){n(i.uri(t,"Malformed URI: %s",e.url))}try{r.readFile(a,(function(e,r){e?n(i(e,'Error opening file "%s"',a)):t(r)}))}catch(e){n(i(e,'Error opening file "%s"',a))}}))}}},55709:(e,t,n)=>{"use strict";var r=n(58611),i=n(65692),o=n(56953),a=n(2259);function s(e,t,n){return new Promise((function(l,c){e=a.parse(e),(n=n||[]).push(e.href),function(e,t){return new Promise((function(n,o){var a=("https:"===e.protocol?i:r).get({hostname:e.hostname,port:e.port,path:e.path,auth:e.auth,protocol:e.protocol,headers:t.headers||{},withCredentials:t.withCredentials});"function"==typeof a.setTimeout&&a.setTimeout(t.timeout),a.on("timeout",(function(){a.abort()})),a.on("error",o),a.once("response",(function(e){e.body=new Buffer(0),e.on("data",(function(t){e.body=Buffer.concat([e.body,new Buffer(t)])})),e.on("error",o),e.on("end",(function(){n(e)}))}))}))}(e,t).then((function(r){if(r.statusCode>=400)throw o({status:r.statusCode},"HTTP ERROR %d",r.statusCode);if(r.statusCode>=300)if(n.length>t.redirects)c(o({status:r.statusCode},"Error downloading %s. \nToo many redirects: \n  %s",n[0],n.join(" \n  ")));else{if(!r.headers.location)throw o({status:r.statusCode},"HTTP %d redirect with no location header",r.statusCode);s(a.resolve(e,r.headers.location),t,n).then(l,c)}else l(r.body||new Buffer(0))})).catch((function(t){c(o(t,"Error downloading",e.href))}))}))}e.exports={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:!1,canRead:function(e){return a.isHttp(e.url)},read:function(e){var t=a.parse(e.url);return process.browser&&!t.protocol&&(t.protocol=a.parse(location.href).protocol),s(t,this)}}},2722:(e,t)=>{"use strict";function n(e,t,n,r){var i=e[t];if("function"==typeof i)return i.apply(e,[n,r]);if(!r){if(i instanceof RegExp)return i.test(n.url);if("string"==typeof i)return i===n.extension;if(Array.isArray(i))return-1!==i.indexOf(n.extension)}return i}t.all=function(e){return Object.keys(e).filter((function(t){return"object"==typeof e[t]})).map((function(t){return e[t].name=t,e[t]}))},t.filter=function(e,t,r){return e.filter((function(e){return!!n(e,t,r)}))},t.sort=function(e){return e.forEach((function(e){e.order=e.order||Number.MAX_SAFE_INTEGER})),e.sort((function(e,t){return e.order-t.order}))},t.run=function(e,t,r){var i,o,a=0;return new Promise((function(s,l){function c(){if(!(i=e[a++]))return l(o);try{var s=n(i,t,r,u);s&&"function"==typeof s.then?s.then(f,d):void 0!==s&&f(s)}catch(e){d(e)}}function u(e,t){e?d(e):f(t)}function f(e){s({plugin:i,result:e})}function d(e){o=e,c()}c()}))}},2259:(e,t,n)=>{"use strict";var r=/^win/.test(process.platform),i=/\//g,o=/^(\w{2,}):\/\//i,a=e.exports,s=[/\?/g,"%3F",/\#/g,"%23"],l=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];t.parse=n(87016).parse,t.resolve=n(87016).resolve,t.cwd=function(){return process.browser?location.href:process.cwd()+"/"},t.getProtocol=function(e){var t=o.exec(e);if(t)return t[1].toLowerCase()},t.getExtension=function(e){var t=e.lastIndexOf(".");return t>=0?e.substr(t).toLowerCase():""},t.getHash=function(e){var t=e.indexOf("#");return t>=0?e.substr(t):"#"},t.stripHash=function(e){var t=e.indexOf("#");return t>=0&&(e=e.substr(0,t)),e},t.isHttp=function(e){var t=a.getProtocol(e);return"http"===t||"https"===t||void 0===t&&process.browser},t.isFileSystemPath=function(e){if(process.browser)return!1;var t=a.getProtocol(e);return void 0===t||"file"===t},t.fromFileSystemPath=function(e){r&&(e=e.replace(/\\/g,"/")),e=encodeURI(e);for(var t=0;t<s.length;t+=2)e=e.replace(s[t],s[t+1]);return e},t.toFileSystemPath=function(e,t){e=decodeURI(e);for(var n=0;n<l.length;n+=2)e=e.replace(l[n],l[n+1]);var o="file://"===e.substr(0,7).toLowerCase();return o&&(e="/"===e[7]?e.substr(8):e.substr(7),r&&"/"===e[1]&&(e=e[0]+":"+e.substr(1)),t?e="file:///"+e:(o=!1,e=r?e:"/"+e)),r&&!o&&":\\"===(e=e.replace(i,"\\")).substr(1,2)&&(e=e[0].toUpperCase()+e.substr(1)),e}},68315:(e,t,n)=>{"use strict";var r=n(48294),i=n(56953);e.exports={parse:function(e,t){try{return r.safeLoad(e)}catch(e){throw e instanceof Error?e:i(e,e.message)}},stringify:function(e,t,n){try{var o=("string"==typeof n?n.length:n)||2;return r.safeDump(e,{indent:o})}catch(e){throw e instanceof Error?e:i(e,e.message)}}}},48294:(e,t,n)=>{"use strict";var r=n(55063);e.exports=r},55063:(e,t,n)=>{"use strict";var r=n(49845),i=n(91811);function o(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=n(3966),e.exports.Schema=n(18657),e.exports.FAILSAFE_SCHEMA=n(65301),e.exports.JSON_SCHEMA=n(47426),e.exports.CORE_SCHEMA=n(24111),e.exports.DEFAULT_SAFE_SCHEMA=n(78987),e.exports.DEFAULT_FULL_SCHEMA=n(52359),e.exports.load=r.load,e.exports.loadAll=r.loadAll,e.exports.safeLoad=r.safeLoad,e.exports.safeLoadAll=r.safeLoadAll,e.exports.dump=i.dump,e.exports.safeDump=i.safeDump,e.exports.YAMLException=n(16433),e.exports.MINIMAL_SCHEMA=n(65301),e.exports.SAFE_SCHEMA=n(78987),e.exports.DEFAULT_SCHEMA=n(52359),e.exports.scan=o("scan"),e.exports.parse=o("parse"),e.exports.compose=o("compose"),e.exports.addConstructor=o("addConstructor")},48003:e=>{"use strict";function t(e){return null==e}e.exports.isNothing=t,e.exports.isObject=function(e){return"object"==typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:t(e)?[]:[e]},e.exports.repeat=function(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},e.exports.extend=function(e,t){var n,r,i,o;if(t)for(n=0,r=(o=Object.keys(t)).length;n<r;n+=1)e[i=o[n]]=t[i];return e}},91811:(e,t,n)=>{"use strict";var r=n(48003),i=n(16433),o=n(52359),a=n(78987),s=Object.prototype.toString,l=Object.prototype.hasOwnProperty,c=9,u=10,f=13,d=32,p=33,h=34,m=35,g=37,v=38,y=39,b=42,_=44,w=45,S=58,x=61,E=62,k=63,C=64,O=91,T=93,P=96,A=123,M=124,L=125,I={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},R=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function D(e){var t,n,o;if(t=e.toString(16).toUpperCase(),e<=255)n="x",o=2;else if(e<=65535)n="u",o=4;else{if(!(e<=4294967295))throw new i("code point within a string may not be greater than 0xFFFFFFFF");n="U",o=8}return"\\"+n+r.repeat("0",o-t.length)+t}function j(e){this.schema=e.schema||o,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=r.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,i,o,a,s,c;if(null===t)return{};for(n={},i=0,o=(r=Object.keys(t)).length;i<o;i+=1)a=r[i],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(c=e.compiledTypeMap.fallback[a])&&l.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[a]=s;return n}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function N(e,t){for(var n,i=r.repeat(" ",t),o=0,a=-1,s="",l=e.length;o<l;)-1===(a=e.indexOf("\n",o))?(n=e.slice(o),o=l):(n=e.slice(o,a+1),o=a+1),n.length&&"\n"!==n&&(s+=i),s+=n;return s}function F(e,t){return"\n"+r.repeat(" ",e.indent*t)}function B(e){return e===d||e===c}function z(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function $(e,t){return z(e)&&65279!==e&&e!==_&&e!==O&&e!==T&&e!==A&&e!==L&&e!==S&&(e!==m||t&&function(e){return z(e)&&!B(e)&&65279!==e&&e!==f&&e!==u}(t))}function U(e){return/^\n* /.test(e)}var H=1,W=2,q=3,V=4,K=5;function G(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==R.indexOf(t))return"'"+t+"'";var o=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),s=r||e.flowLevel>-1&&n>=e.flowLevel;switch(function(e,t,n,r,i){var o,a,s,l,c=!1,f=!1,d=-1!==r,I=-1,R=z(l=e.charCodeAt(0))&&65279!==l&&!B(l)&&l!==w&&l!==k&&l!==S&&l!==_&&l!==O&&l!==T&&l!==A&&l!==L&&l!==m&&l!==v&&l!==b&&l!==p&&l!==M&&l!==x&&l!==E&&l!==y&&l!==h&&l!==g&&l!==C&&l!==P&&!B(e.charCodeAt(e.length-1));if(t)for(o=0;o<e.length;o++){if(!z(a=e.charCodeAt(o)))return K;s=o>0?e.charCodeAt(o-1):null,R=R&&$(a,s)}else{for(o=0;o<e.length;o++){if((a=e.charCodeAt(o))===u)c=!0,d&&(f=f||o-I-1>r&&" "!==e[I+1],I=o);else if(!z(a))return K;s=o>0?e.charCodeAt(o-1):null,R=R&&$(a,s)}f=f||d&&o-I-1>r&&" "!==e[I+1]}return c||f?n>9&&U(e)?K:f?V:q:R&&!i(e)?H:W}(t,s,e.indent,a,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)}))){case H:return t;case W:return"'"+t.replace(/'/g,"''")+"'";case q:return"|"+Y(t,e.indent)+J(N(t,o));case V:return">"+Y(t,e.indent)+J(N(function(e,t){for(var n,r,i,o=/(\n+)([^\n]*)/g,a=(i=-1!==(i=e.indexOf("\n"))?i:e.length,o.lastIndex=i,Z(e.slice(0,i),t)),s="\n"===e[0]||" "===e[0];r=o.exec(e);){var l=r[1],c=r[2];n=" "===c[0],a+=l+(s||n||""===c?"":"\n")+Z(c,t),s=n}return a}(t,a),o));case K:return'"'+function(e){for(var t,n,r,i="",o=0;o<e.length;o++)(t=e.charCodeAt(o))>=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(i+=D(1024*(t-55296)+n-56320+65536),o++):i+=!(r=I[t])&&z(t)?e[o]:r||D(t);return i}(t)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function Y(e,t){var n=U(e)?String(t):"",r="\n"===e[e.length-1];return n+(!r||"\n"!==e[e.length-2]&&"\n"!==e?r?"":"-":"+")+"\n"}function J(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Z(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,l="";n=i.exec(e);)(s=n.index)-o>t&&(r=a>o?a:s,l+="\n"+e.slice(o,r),o=r+1),a=s;return l+="\n",e.length-o>t&&a>o?l+=e.slice(o,a)+"\n"+e.slice(a+1):l+=e.slice(o),l.slice(1)}function X(e,t,n){var r,o,a,c,u,f;for(a=0,c=(o=n?e.explicitTypes:e.implicitTypes).length;a<c;a+=1)if(((u=o[a]).instanceOf||u.predicate)&&(!u.instanceOf||"object"==typeof t&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(e.tag=n?u.tag:"?",u.represent){if(f=e.styleMap[u.tag]||u.defaultStyle,"[object Function]"===s.call(u.represent))r=u.represent(t,f);else{if(!l.call(u.represent,f))throw new i("!<"+u.tag+'> tag resolver accepts not "'+f+'" style');r=u.represent[f](t,f)}e.dump=r}return!0}return!1}function Q(e,t,n,r,o,a){e.tag=null,e.dump=n,X(e,n,!1)||X(e,n,!0);var l=s.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var c,f,d="[object Object]"===l||"[object Array]"===l;if(d&&(f=-1!==(c=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(o=!1),f&&e.usedDuplicates[c])e.dump="*ref_"+c;else{if(d&&f&&!e.usedDuplicates[c]&&(e.usedDuplicates[c]=!0),"[object Object]"===l)r&&0!==Object.keys(e.dump).length?(function(e,t,n,r){var o,a,s,l,c,f,d="",p=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new i("sortKeys must be a boolean or a function");for(o=0,a=h.length;o<a;o+=1)f="",r&&0===o||(f+=F(e,t)),l=n[s=h[o]],Q(e,t+1,s,!0,!0,!0)&&((c=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&u===e.dump.charCodeAt(0)?f+="?":f+="? "),f+=e.dump,c&&(f+=F(e,t)),Q(e,t+1,l,!0,c)&&(e.dump&&u===e.dump.charCodeAt(0)?f+=":":f+=": ",d+=f+=e.dump));e.tag=p,e.dump=d||"{}"}(e,t,e.dump,o),f&&(e.dump="&ref_"+c+e.dump)):(function(e,t,n){var r,i,o,a,s,l="",c=e.tag,u=Object.keys(n);for(r=0,i=u.length;r<i;r+=1)s="",0!==r&&(s+=", "),e.condenseFlow&&(s+='"'),a=n[o=u[r]],Q(e,t,o,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Q(e,t,a,!1,!1)&&(l+=s+=e.dump));e.tag=c,e.dump="{"+l+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+c+" "+e.dump));else if("[object Array]"===l){var p=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(function(e,t,n,r){var i,o,a="",s=e.tag;for(i=0,o=n.length;i<o;i+=1)Q(e,t+1,n[i],!0,!0)&&(r&&0===i||(a+=F(e,t)),e.dump&&u===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=s,e.dump=a||"[]"}(e,p,e.dump,o),f&&(e.dump="&ref_"+c+e.dump)):(function(e,t,n){var r,i,o="",a=e.tag;for(r=0,i=n.length;r<i;r+=1)Q(e,t,n[r],!1,!1)&&(0!==r&&(o+=","+(e.condenseFlow?"":" ")),o+=e.dump);e.tag=a,e.dump="["+o+"]"}(e,p,e.dump),f&&(e.dump="&ref_"+c+" "+e.dump))}else{if("[object String]"!==l){if(e.skipInvalid)return!1;throw new i("unacceptable kind of an object to dump "+l)}"?"!==e.tag&&G(e,e.dump,t,a)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function ee(e,t){var n,r,i=[],o=[];for(te(e,i,o),n=0,r=o.length;n<r;n+=1)t.duplicates.push(i[o[n]]);t.usedDuplicates=new Array(r)}function te(e,t,n){var r,i,o;if(null!==e&&"object"==typeof e)if(-1!==(i=t.indexOf(e)))-1===n.indexOf(i)&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,o=e.length;i<o;i+=1)te(e[i],t,n);else for(i=0,o=(r=Object.keys(e)).length;i<o;i+=1)te(e[r[i]],t,n)}function ne(e,t){var n=new j(t=t||{});return n.noRefs||ee(e,n),Q(n,0,e,!0,!0)?n.dump+"\n":""}e.exports.dump=ne,e.exports.safeDump=function(e,t){return ne(e,r.extend({schema:a},t))}},16433:e=>{"use strict";function t(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=t},49845:(e,t,n)=>{"use strict";var r=n(48003),i=n(16433),o=n(52919),a=n(78987),s=n(52359),l=Object.prototype.hasOwnProperty,c=1,u=2,f=3,d=4,p=1,h=2,m=3,g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/[\x85\u2028\u2029]/,y=/[,\[\]\{\}]/,b=/^(?:!|!!|![a-z\-]+!)$/i,_=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function w(e){return Object.prototype.toString.call(e)}function S(e){return 10===e||13===e}function x(e){return 9===e||32===e}function E(e){return 9===e||32===e||10===e||13===e}function k(e){return 44===e||91===e||93===e||123===e||125===e}function C(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function O(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function T(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var P=new Array(256),A=new Array(256),M=0;M<256;M++)P[M]=O(M)?1:0,A[M]=O(M);function L(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(e,t){return new i(t,new o(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function R(e,t){throw I(e,t)}function D(e,t){e.onWarning&&e.onWarning.call(null,I(e,t))}var j={YAML:function(e,t,n){var r,i,o;null!==e.version&&R(e,"duplication of %YAML directive"),1!==n.length&&R(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&R(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&R(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&D(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&R(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],b.test(r)||R(e,"ill-formed tag handle (first argument) of the TAG directive"),l.call(e.tagMap,r)&&R(e,'there is a previously declared suffix for "'+r+'" tag handle'),_.test(i)||R(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};function N(e,t,n,r){var i,o,a,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,o=s.length;i<o;i+=1)9===(a=s.charCodeAt(i))||32<=a&&a<=1114111||R(e,"expected valid JSON character");else g.test(s)&&R(e,"the stream contains non-printable characters");e.result+=s}}function F(e,t,n,i){var o,a,s,c;for(r.isObject(n)||R(e,"cannot merge mappings; the provided source object is unacceptable"),s=0,c=(o=Object.keys(n)).length;s<c;s+=1)a=o[s],l.call(t,a)||(t[a]=n[a],i[a]=!0)}function B(e,t,n,r,i,o,a,s){var c,u;if(Array.isArray(i))for(c=0,u=(i=Array.prototype.slice.call(i)).length;c<u;c+=1)Array.isArray(i[c])&&R(e,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===w(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===w(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(o))for(c=0,u=o.length;c<u;c+=1)F(e,t,o[c],n);else F(e,t,o,n);else e.json||l.call(n,i)||!l.call(t,i)||(e.line=a||e.line,e.position=s||e.position,R(e,"duplicated mapping key")),t[i]=o,delete n[i];return t}function z(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):R(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function $(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);0!==i;){for(;x(i);)i=e.input.charCodeAt(++e.position);if(t&&35===i)do{i=e.input.charCodeAt(++e.position)}while(10!==i&&13!==i&&0!==i);if(!S(i))break;for(z(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&D(e,"deficient indentation"),r}function U(e){var t,n=e.position;return!(45!==(t=e.input.charCodeAt(n))&&46!==t||t!==e.input.charCodeAt(n+1)||t!==e.input.charCodeAt(n+2)||(n+=3,0!==(t=e.input.charCodeAt(n))&&!E(t)))}function H(e,t){1===t?e.result+=" ":t>1&&(e.result+=r.repeat("\n",t-1))}function W(e,t){var n,r,i=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&45===r&&E(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,$(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,K(e,t,f,!1,!0),a.push(e.result),$(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)R(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=i,e.anchor=o,e.kind="sequence",e.result=a,!0)}function q(e){var t,n,r,i,o=!1,a=!1;if(33!==(i=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&R(e,"duplication of a tag property"),60===(i=e.input.charCodeAt(++e.position))?(o=!0,i=e.input.charCodeAt(++e.position)):33===i?(a=!0,n="!!",i=e.input.charCodeAt(++e.position)):n="!",t=e.position,o){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&62!==i);e.position<e.length?(r=e.input.slice(t,e.position),i=e.input.charCodeAt(++e.position)):R(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!E(i);)33===i&&(a?R(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),b.test(n)||R(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),i=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),y.test(r)&&R(e,"tag suffix cannot contain flow indicator characters")}return r&&!_.test(r)&&R(e,"tag name cannot contain such characters: "+r),o?e.tag=r:l.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:R(e,'undeclared tag handle "'+n+'"'),!0}function V(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&R(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!E(n)&&!k(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&R(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function K(e,t,n,i,o){var a,s,g,v,y,b,_,w,O=1,M=!1,L=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=s=g=d===n||f===n,i&&$(e,!0,-1)&&(M=!0,e.lineIndent>t?O=1:e.lineIndent===t?O=0:e.lineIndent<t&&(O=-1)),1===O)for(;q(e)||V(e);)$(e,!0,-1)?(M=!0,g=a,e.lineIndent>t?O=1:e.lineIndent===t?O=0:e.lineIndent<t&&(O=-1)):g=!1;if(g&&(g=M||o),1!==O&&d!==n||(_=c===n||u===n?t:t+1,w=e.position-e.lineStart,1===O?g&&(W(e,w)||function(e,t,n){var r,i,o,a,s,l=e.tag,c=e.anchor,f={},p={},h=null,m=null,g=null,v=!1,y=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=f),s=e.input.charCodeAt(e.position);0!==s;){if(r=e.input.charCodeAt(e.position+1),o=e.line,a=e.position,63!==s&&58!==s||!E(r)){if(!K(e,n,u,!1,!0))break;if(e.line===o){for(s=e.input.charCodeAt(e.position);x(s);)s=e.input.charCodeAt(++e.position);if(58===s)E(s=e.input.charCodeAt(++e.position))||R(e,"a whitespace character is expected after the key-value separator within a block mapping"),v&&(B(e,f,p,h,m,null),h=m=g=null),y=!0,v=!1,i=!1,h=e.tag,m=e.result;else{if(!y)return e.tag=l,e.anchor=c,!0;R(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=l,e.anchor=c,!0;R(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(v&&(B(e,f,p,h,m,null),h=m=g=null),y=!0,v=!0,i=!0):v?(v=!1,i=!0):R(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=r;if((e.line===o||e.lineIndent>t)&&(K(e,t,d,!0,i)&&(v?m=e.result:g=e.result),v||(B(e,f,p,h,m,g,o,a),h=m=g=null),$(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)R(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return v&&B(e,f,p,h,m,null),y&&(e.tag=l,e.anchor=c,e.kind="mapping",e.result=f),y}(e,w,_))||function(e,t){var n,r,i,o,a,s,l,u,f,d,p=!0,h=e.tag,m=e.anchor,g={};if(91===(d=e.input.charCodeAt(e.position)))i=93,s=!1,r=[];else{if(123!==d)return!1;i=125,s=!0,r={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=r),d=e.input.charCodeAt(++e.position);0!==d;){if($(e,!0,t),(d=e.input.charCodeAt(e.position))===i)return e.position++,e.tag=h,e.anchor=m,e.kind=s?"mapping":"sequence",e.result=r,!0;p||R(e,"missed comma between flow collection entries"),f=null,o=a=!1,63===d&&E(e.input.charCodeAt(e.position+1))&&(o=a=!0,e.position++,$(e,!0,t)),n=e.line,K(e,t,c,!1,!0),u=e.tag,l=e.result,$(e,!0,t),d=e.input.charCodeAt(e.position),!a&&e.line!==n||58!==d||(o=!0,d=e.input.charCodeAt(++e.position),$(e,!0,t),K(e,t,c,!1,!0),f=e.result),s?B(e,r,g,u,l,f):o?r.push(B(e,null,g,u,l,f)):r.push(l),$(e,!0,t),44===(d=e.input.charCodeAt(e.position))?(p=!0,d=e.input.charCodeAt(++e.position)):p=!1}R(e,"unexpected end of the stream within a flow collection")}(e,_)?L=!0:(s&&function(e,t){var n,i,o,a,s,l=p,c=!1,u=!1,f=t,d=0,g=!1;if(124===(a=e.input.charCodeAt(e.position)))i=!1;else{if(62!==a)return!1;i=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)p===l?l=43===a?m:h:R(e,"repeat of a chomping mode identifier");else{if(!((o=48<=(s=a)&&s<=57?s-48:-1)>=0))break;0===o?R(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?R(e,"repeat of an indentation width identifier"):(f=t+o-1,u=!0)}if(x(a)){do{a=e.input.charCodeAt(++e.position)}while(x(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!S(a)&&0!==a)}for(;0!==a;){for(z(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndent<f)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!u&&e.lineIndent>f&&(f=e.lineIndent),S(a))d++;else{if(e.lineIndent<f){l===m?e.result+=r.repeat("\n",c?1+d:d):l===p&&c&&(e.result+="\n");break}for(i?x(a)?(g=!0,e.result+=r.repeat("\n",c?1+d:d)):g?(g=!1,e.result+=r.repeat("\n",d+1)):0===d?c&&(e.result+=" "):e.result+=r.repeat("\n",d):e.result+=r.repeat("\n",c?1+d:d),c=!0,u=!0,d=0,n=e.position;!S(a)&&0!==a;)a=e.input.charCodeAt(++e.position);N(e,n,e.position,!1)}}return!0}(e,_)||function(e,t){var n,r,i;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(N(e,r,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;r=e.position,e.position++,i=e.position}else S(n)?(N(e,r,i,!0),H(e,$(e,!1,t)),r=i=e.position):e.position===e.lineStart&&U(e)?R(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);R(e,"unexpected end of the stream within a single quoted scalar")}(e,_)||function(e,t){var n,r,i,o,a,s,l;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return N(e,n,e.position,!0),e.position++,!0;if(92===s){if(N(e,n,e.position,!0),S(s=e.input.charCodeAt(++e.position)))$(e,!1,t);else if(s<256&&P[s])e.result+=A[s],e.position++;else if((a=120===(l=s)?2:117===l?4:85===l?8:0)>0){for(i=a,o=0;i>0;i--)(a=C(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:R(e,"expected hexadecimal character");e.result+=T(o),e.position++}else R(e,"unknown escape sequence");n=r=e.position}else S(s)?(N(e,n,r,!0),H(e,$(e,!1,t)),n=r=e.position):e.position===e.lineStart&&U(e)?R(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}R(e,"unexpected end of the stream within a double quoted scalar")}(e,_)?L=!0:function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!E(r)&&!k(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&R(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),l.call(e.anchorMap,n)||R(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],$(e,!0,-1),!0}(e)?(L=!0,null===e.tag&&null===e.anchor||R(e,"alias node should not have any properties")):function(e,t,n){var r,i,o,a,s,l,c,u,f=e.kind,d=e.result;if(E(u=e.input.charCodeAt(e.position))||k(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(E(r=e.input.charCodeAt(e.position+1))||n&&k(r)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;0!==u;){if(58===u){if(E(r=e.input.charCodeAt(e.position+1))||n&&k(r))break}else if(35===u){if(E(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&U(e)||n&&k(u))break;if(S(u)){if(s=e.line,l=e.lineStart,c=e.lineIndent,$(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=l,e.lineIndent=c;break}}a&&(N(e,i,o,!1),H(e,e.line-s),i=o=e.position,a=!1),x(u)||(o=e.position+1),u=e.input.charCodeAt(++e.position)}return N(e,i,o,!1),!!e.result||(e.kind=f,e.result=d,!1)}(e,_,c===n)&&(L=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===O&&(L=g&&W(e,w))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&R(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),v=0,y=e.implicitTypes.length;v<y;v+=1)if((b=e.implicitTypes[v]).resolve(e.result)){e.result=b.construct(e.result),e.tag=b.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else l.call(e.typeMap[e.kind||"fallback"],e.tag)?(b=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&b.kind!==e.kind&&R(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+b.kind+'", not "'+e.kind+'"'),b.resolve(e.result)?(e.result=b.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):R(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):R(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||L}function G(e){var t,n,r,i,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(i=e.input.charCodeAt(e.position))&&($(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!E(i);)i=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&R(e,"directive name must not be less than one character in length");0!==i;){for(;x(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!S(i));break}if(S(i))break;for(t=e.position;0!==i&&!E(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&z(e),l.call(j,n)?j[n](e,n,r):D(e,'unknown document directive "'+n+'"')}$(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,$(e,!0,-1)):a&&R(e,"directives end mark is expected"),K(e,e.lineIndent-1,d,!1,!0),$(e,!0,-1),e.checkLineBreaks&&v.test(e.input.slice(o,e.position))&&D(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&U(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,$(e,!0,-1)):e.position<e.length-1&&R(e,"end of the stream or a document separator is expected")}function Y(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new L(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,R(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)G(n);return n.documents}function J(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var r=Y(e,n);if("function"!=typeof t)return r;for(var i=0,o=r.length;i<o;i+=1)t(r[i])}function Z(e,t){var n=Y(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new i("expected a single document in the stream, but found more")}}e.exports.loadAll=J,e.exports.load=Z,e.exports.safeLoadAll=function(e,t,n){return"object"==typeof t&&null!==t&&void 0===n&&(n=t,t=null),J(e,t,r.extend({schema:a},n))},e.exports.safeLoad=function(e,t){return Z(e,r.extend({schema:a},t))}},52919:(e,t,n)=>{"use strict";var r=n(48003);function i(e,t,n,r,i){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=i}i.prototype.getSnippet=function(e,t){var n,i,o,a,s;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",i=this.position;i>0&&-1==="\0\r\n\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>t/2-1){n=" ... ",i+=5;break}for(o="",a=this.position;a<this.buffer.length&&-1==="\0\r\n\u2028\u2029".indexOf(this.buffer.charAt(a));)if((a+=1)-this.position>t/2-1){o=" ... ",a-=5;break}return s=this.buffer.slice(i,a),r.repeat(" ",e)+n+s+o+"\n"+r.repeat(" ",e+this.position-i+n.length)+"^"},i.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n},e.exports=i},18657:(e,t,n)=>{"use strict";var r=n(48003),i=n(16433),o=n(3966);function a(e,t,n){var r=[];return e.include.forEach((function(e){n=a(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&r.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===r.indexOf(t)}))}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=a(this,"implicit",[]),this.compiledExplicit=a(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function r(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}(this.compiledImplicit,this.compiledExplicit)}s.DEFAULT=null,s.create=function(){var e,t;switch(arguments.length){case 1:e=s.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new i("Wrong number of arguments for Schema.create function")}if(e=r.toArray(e),t=r.toArray(t),!e.every((function(e){return e instanceof s})))throw new i("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every((function(e){return e instanceof o})))throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new s({include:e,explicit:t})},e.exports=s},24111:(e,t,n)=>{"use strict";var r=n(18657);e.exports=new r({include:[n(47426)]})},52359:(e,t,n)=>{"use strict";var r=n(18657);e.exports=r.DEFAULT=new r({include:[n(78987)],explicit:[n(57797),n(39576),n(29413)]})},78987:(e,t,n)=>{"use strict";var r=n(18657);e.exports=new r({include:[n(24111)],implicit:[n(69001),n(82009)],explicit:[n(38964),n(93120),n(29236),n(81601)]})},65301:(e,t,n)=>{"use strict";var r=n(18657);e.exports=new r({explicit:[n(71378),n(98462),n(78879)]})},47426:(e,t,n)=>{"use strict";var r=n(18657);e.exports=new r({include:[n(65301)],implicit:[n(35332),n(64517),n(27772),n(24283)]})},3966:(e,t,n)=>{"use strict";var r=n(16433),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],o=["scalar","sequence","mapping"];e.exports=function(e,t){var n,a;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,a={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){a[String(t)]=e}))})),a),-1===o.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},38964:(e,t,n)=>{"use strict";var r;try{var i=require;r=i("buffer").Buffer}catch(e){}var o=n(3966),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new o("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,o=a;for(n=0;n<i;n++)if(!((t=o.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),o=i.length,s=a,l=0,c=[];for(t=0;t<o;t++)t%4==0&&t&&(c.push(l>>16&255),c.push(l>>8&255),c.push(255&l)),l=l<<6|s.indexOf(i.charAt(t));return 0==(n=o%4*6)?(c.push(l>>16&255),c.push(l>>8&255),c.push(255&l)):18===n?(c.push(l>>10&255),c.push(l>>2&255)):12===n&&c.push(l>>4&255),r?r.from?r.from(c):new r(c):c},predicate:function(e){return r&&r.isBuffer(e)},represent:function(e){var t,n,r="",i=0,o=e.length,s=a;for(t=0;t<o;t++)t%3==0&&t&&(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+e[t];return 0==(n=o%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}})},64517:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},24283:(e,t,n)=>{"use strict";var r=n(48003),i=n(3966),o=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),a=/^[-+]?[0-9]+e/;e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!o.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,i;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,i=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){i.unshift(parseFloat(e,10))})),t=0,r=1,i.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||r.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(e))return"-0.0";return n=e.toString(10),a.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},27772:(e,t,n)=>{"use strict";var r=n(48003),i=n(3966);function o(e){return 48<=e&&e<=55}function a(e){return 48<=e&&e<=57}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,i=0,s=!1;if(!r)return!1;if("-"!==(t=e[i])&&"+"!==t||(t=e[++i]),"0"===t){if(i+1===r)return!0;if("b"===(t=e[++i])){for(i++;i<r;i++)if("_"!==(t=e[i])){if("0"!==t&&"1"!==t)return!1;s=!0}return s&&"_"!==t}if("x"===t){for(i++;i<r;i++)if("_"!==(t=e[i])){if(!(48<=(n=e.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;s=!0}return s&&"_"!==t}for(;i<r;i++)if("_"!==(t=e[i])){if(!o(e.charCodeAt(i)))return!1;s=!0}return s&&"_"!==t}if("_"===t)return!1;for(;i<r;i++)if("_"!==(t=e[i])){if(":"===t)break;if(!a(e.charCodeAt(i)))return!1;s=!0}return!(!s||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(i)))},construct:function(e){var t,n,r=e,i=1,o=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),"-"!==(t=r[0])&&"+"!==t||("-"===t&&(i=-1),t=(r=r.slice(1))[0]),"0"===r?0:"0"===t?"b"===r[1]?i*parseInt(r.slice(2),2):"x"===r[1]?i*parseInt(r,16):i*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach((function(e){o.unshift(parseInt(e,10))})),r=0,n=1,o.forEach((function(e){r+=e*n,n*=60})),i*r):i*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!r.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},29413:(e,t,n)=>{"use strict";var r;try{var i=require;r=i("esprima")}catch(e){"undefined"!=typeof window&&(r=window.esprima)}var o=n(3966);e.exports=new o("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=r.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",i=r.parse(n,{range:!0}),o=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},39576:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r="";if("/"===t[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},57797:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}})},78879:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},82009:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},35332:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},93120:(e,t,n)=>{"use strict";var r=n(3966),i=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,a,s,l=[],c=e;for(t=0,n=c.length;t<n;t+=1){if(r=c[t],s=!1,"[object Object]"!==o.call(r))return!1;for(a in r)if(i.call(r,a)){if(s)return!1;s=!0}if(!s)return!1;if(-1!==l.indexOf(a))return!1;l.push(a)}return!0},construct:function(e){return null!==e?e:[]}})},29236:(e,t,n)=>{"use strict";var r=n(3966),i=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,a,s=e;for(a=new Array(s.length),t=0,n=s.length;t<n;t+=1){if(r=s[t],"[object Object]"!==i.call(r))return!1;if(1!==(o=Object.keys(r)).length)return!1;a[t]=[o[0],r[o[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,r,i,o,a=e;for(o=new Array(a.length),t=0,n=a.length;t<n;t+=1)r=a[t],i=Object.keys(r),o[t]=[i[0],r[i[0]]];return o}})},98462:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},81601:(e,t,n)=>{"use strict";var r=n(3966),i=Object.prototype.hasOwnProperty;e.exports=new r("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(i.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})},71378:(e,t,n)=>{"use strict";var r=n(3966);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},69001:(e,t,n)=>{"use strict";var r=n(3966),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==i.exec(e)||null!==o.exec(e))},construct:function(e){var t,n,r,a,s,l,c,u,f=0,d=null;if(null===(t=i.exec(e))&&(t=o.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(n,r,a));if(s=+t[4],l=+t[5],c=+t[6],t[7]){for(f=t[7].slice(0,3);f.length<3;)f+="0";f=+f}return t[9]&&(d=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(d=-d)),u=new Date(Date.UTC(n,r,a,s,l,c,f)),d&&u.setTime(u.getTime()-d),u},instanceOf:Date,represent:function(e){return e.toISOString()}})},61404:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,i,o,a,s,l,c,u,f){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var d in r(o,a,s,l,c,u,f),o){var p=o[d];if(Array.isArray(p)){if(d in t.arrayKeywords)for(var h=0;h<p.length;h++)n(e,r,i,p[h],a+"/"+d+"/"+h,s,a,d,o,h)}else if(d in t.propsKeywords){if(p&&"object"==typeof p)for(var m in p)n(e,r,i,p[m],a+"/"+d+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,a,d,o,m)}else(d in t.keywords||e.allKeys&&!(d in t.skipKeywords))&&n(e,r,i,p,a+"/"+d,s,a,d,o)}i(o,a,s,l,c,u,f)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},38302:(e,t,n)=>{var r=n(68112)(n(11971),"DataView");e.exports=r},42139:(e,t,n)=>{var r=n(93082),i=n(22428),o=n(9199),a=n(60435),s=n(16779);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},14849:(e,t,n)=>{var r=n(81468),i=n(6746),o=n(27125),a=n(5401),s=n(1937);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},93213:(e,t,n)=>{var r=n(68112)(n(11971),"Map");e.exports=r},59319:(e,t,n)=>{var r=n(58558),i=n(3320),o=n(18267),a=n(86711),s=n(43935);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},59134:(e,t,n)=>{var r=n(68112)(n(11971),"Promise");e.exports=r},52443:(e,t,n)=>{var r=n(68112)(n(11971),"Set");e.exports=r},31849:(e,t,n)=>{var r=n(59319),i=n(31654),o=n(60385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},81507:(e,t,n)=>{var r=n(14849),i=n(10050),o=n(68884),a=n(43079),s=n(53083),l=n(10467);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},89559:(e,t,n)=>{var r=n(11971).Symbol;e.exports=r},34370:(e,t,n)=>{var r=n(11971).Uint8Array;e.exports=r},45909:(e,t,n)=>{var r=n(68112)(n(11971),"WeakMap");e.exports=r},33463:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},91031:e=>{e.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}},75739:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},20488:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},35399:(e,t,n)=>{var r=n(29029);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},39327:e=>{e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},9825:(e,t,n)=>{var r=n(44658),i=n(49054),o=n(3139),a=n(49550),s=n(94087),l=n(43061),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),f=!n&&!u&&a(e),d=!n&&!u&&!f&&l(e),p=n||u||f||d,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||f&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},76766:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},32898:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},98296:e=>{e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},66718:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},29112:e=>{e.exports=function(e){return e.split("")}},11295:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},94739:(e,t,n)=>{var r=n(20386),i=n(42698);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},90149:(e,t,n)=>{var r=n(20386),i=n(42698),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},72495:(e,t,n)=>{var r=n(42698);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},64783:(e,t,n)=>{var r=n(60051);e.exports=function(e,t,n,i){return r(e,(function(e,r,o){t(i,e,n(e),o)})),i}},80303:(e,t,n)=>{var r=n(15409),i=n(21576);e.exports=function(e,t){return e&&r(t,i(t),e)}},2836:(e,t,n)=>{var r=n(15409),i=n(11940);e.exports=function(e,t){return e&&r(t,i(t),e)}},20386:(e,t,n)=>{var r=n(59873);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},30879:e=>{e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},97345:(e,t,n)=>{var r=n(81507),i=n(75739),o=n(90149),a=n(80303),s=n(2836),l=n(51812),c=n(27557),u=n(74805),f=n(11078),d=n(65232),p=n(71615),h=n(92503),m=n(2279),g=n(23913),v=n(96007),y=n(3139),b=n(49550),_=n(34404),w=n(84899),S=n(38710),x=n(21576),E=n(11940),k="[object Arguments]",C="[object Function]",O="[object Object]",T={};T[k]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[O]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[C]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,P,A,M,L){var I,R=1&n,D=2&n,j=4&n;if(P&&(I=M?P(t,A,M,L):P(t)),void 0!==I)return I;if(!w(t))return t;var N=y(t);if(N){if(I=m(t),!R)return c(t,I)}else{var F=h(t),B=F==C||"[object GeneratorFunction]"==F;if(b(t))return l(t,R);if(F==O||F==k||B&&!M){if(I=D||B?{}:v(t),!R)return D?f(t,s(I,t)):u(t,a(I,t))}else{if(!T[F])return M?t:{};I=g(t,F,R)}}L||(L=new r);var z=L.get(t);if(z)return z;L.set(t,I),S(t)?t.forEach((function(r){I.add(e(r,n,P,r,t,L))})):_(t)&&t.forEach((function(r,i){I.set(i,e(r,n,P,i,t,L))}));var $=N?void 0:(j?D?p:d:D?E:x)(t);return i($||t,(function(r,i){$&&(r=t[i=r]),o(I,i,e(r,n,P,i,t,L))})),I}},55450:(e,t,n)=>{var r=n(84899),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},72961:(e,t,n)=>{var r=n(31849),i=n(35399),o=n(39327),a=n(76766),s=n(20251),l=n(31345);e.exports=function(e,t,n,c){var u=-1,f=i,d=!0,p=e.length,h=[],m=t.length;if(!p)return h;n&&(t=a(t,s(n))),c?(f=o,d=!1):t.length>=200&&(f=l,d=!1,t=new r(t));e:for(;++u<p;){var g=e[u],v=null==n?g:n(g);if(g=c||0!==g?g:0,d&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else f(t,v,c)||h.push(g)}return h}},60051:(e,t,n)=>{var r=n(92843),i=n(68911)(r);e.exports=i},32464:(e,t,n)=>{var r=n(60051);e.exports=function(e,t){var n=[];return r(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}},25717:e=>{e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},102:e=>{e.exports=function(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}},4510:(e,t,n)=>{var r=n(32898),i=n(28209);e.exports=function e(t,n,o,a,s){var l=-1,c=t.length;for(o||(o=i),s||(s=[]);++l<c;){var u=t[l];n>0&&o(u)?n>1?e(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},68475:(e,t,n)=>{var r=n(59703)();e.exports=r},92843:(e,t,n)=>{var r=n(68475),i=n(21576);e.exports=function(e,t){return e&&r(e,t,i)}},87824:(e,t,n)=>{var r=n(45939),i=n(30123);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},9733:(e,t,n)=>{var r=n(32898),i=n(3139);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},96474:(e,t,n)=>{var r=n(89559),i=n(42345),o=n(68780),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},69844:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},43387:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},29029:(e,t,n)=>{var r=n(25717),i=n(23241),o=n(94869);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},67065:e=>{e.exports=function(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}},9171:(e,t,n)=>{var r=n(31849),i=n(35399),o=n(39327),a=n(76766),s=n(20251),l=n(31345),c=Math.min;e.exports=function(e,t,n){for(var u=n?o:i,f=e[0].length,d=e.length,p=d,h=Array(d),m=1/0,g=[];p--;){var v=e[p];p&&t&&(v=a(v,s(t))),m=c(v.length,m),h[p]=!n&&(t||f>=120&&v.length>=120)?new r(p&&v):void 0}v=e[0];var y=-1,b=h[0];e:for(;++y<f&&g.length<m;){var _=v[y],w=t?t(_):_;if(_=n||0!==_?_:0,!(b?l(b,w):u(g,w,n))){for(p=d;--p;){var S=h[p];if(!(S?l(S,w):u(e[p],w,n)))continue e}b&&b.push(w),g.push(_)}}return g}},34634:(e,t,n)=>{var r=n(33463),i=n(45939),o=n(65272),a=n(37451),s=n(30123);e.exports=function(e,t,n){t=i(t,e);var l=null==(e=a(e,t))?e:e[s(o(t))];return null==l?void 0:r(l,e,n)}},58248:(e,t,n)=>{var r=n(96474),i=n(55260);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},49368:(e,t,n)=>{var r=n(91286),i=n(55260);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},91286:(e,t,n)=>{var r=n(81507),i=n(945),o=n(27028),a=n(26615),s=n(92503),l=n(3139),c=n(49550),u=n(43061),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),_=y?d:s(e),w=b?d:s(t),S=(_=_==f?p:_)==p,x=(w=w==f?p:w)==p,E=_==w;if(E&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(E&&!S)return v||(v=new r),y||u(e)?i(e,t,n,m,g,v):o(e,t,_,n,m,g,v);if(!(1&n)){var k=S&&h.call(e,"__wrapped__"),C=x&&h.call(t,"__wrapped__");if(k||C){var O=k?e.value():e,T=C?t.value():t;return v||(v=new r),g(O,T,n,m,v)}}return!!E&&(v||(v=new r),a(e,t,n,m,g,v))}},95574:(e,t,n)=>{var r=n(92503),i=n(55260);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},29485:(e,t,n)=>{var r=n(81507),i=n(49368);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],f=e[u],d=c[1];if(l&&c[2]){if(void 0===f&&!(u in e))return!1}else{var p=new r;if(o)var h=o(f,d,u,e,t,p);if(!(void 0===h?i(d,f,3,o,p):h))return!1}}return!0}},23241:e=>{e.exports=function(e){return e!=e}},29433:(e,t,n)=>{var r=n(52532),i=n(96246),o=n(84899),a=n(3255),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,f=c.hasOwnProperty,d=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},15268:(e,t,n)=>{var r=n(92503),i=n(55260);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},18011:(e,t,n)=>{var r=n(96474),i=n(156),o=n(55260),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},31035:(e,t,n)=>{var r=n(96629),i=n(99180),o=n(95846),a=n(3139),s=n(24661);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},46954:(e,t,n)=>{var r=n(38053),i=n(8980),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},73901:(e,t,n)=>{var r=n(84899),i=n(38053),o=n(21883),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},79206:(e,t,n)=>{var r=n(60051),i=n(38844);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}},96629:(e,t,n)=>{var r=n(29485),i=n(48962),o=n(74087);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},99180:(e,t,n)=>{var r=n(49368),i=n(20846),o=n(73917),a=n(78160),s=n(52598),l=n(74087),c=n(30123);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},70784:(e,t,n)=>{var r=n(81507),i=n(94739),o=n(68475),a=n(54558),s=n(84899),l=n(11940),c=n(37256);e.exports=function e(t,n,u,f,d){t!==n&&o(n,(function(o,l){if(d||(d=new r),s(o))a(t,n,l,u,e,f,d);else{var p=f?f(c(t,l),o,l+"",t,n,d):void 0;void 0===p&&(p=o),i(t,l,p)}}),l)}},54558:(e,t,n)=>{var r=n(94739),i=n(51812),o=n(39203),a=n(27557),s=n(96007),l=n(49054),c=n(3139),u=n(80523),f=n(49550),d=n(52532),p=n(84899),h=n(2617),m=n(43061),g=n(37256),v=n(63210);e.exports=function(e,t,n,y,b,_,w){var S=g(e,n),x=g(t,n),E=w.get(x);if(E)r(e,n,E);else{var k=_?_(S,x,n+"",e,t,w):void 0,C=void 0===k;if(C){var O=c(x),T=!O&&f(x),P=!O&&!T&&m(x);k=x,O||T||P?c(S)?k=S:u(S)?k=a(S):T?(C=!1,k=i(x,!0)):P?(C=!1,k=o(x,!0)):k=[]:h(x)||l(x)?(k=S,l(S)?k=v(S):p(S)&&!d(S)||(k=s(x))):C=!1}C&&(w.set(x,k),b(k,x,y,_,w),w.delete(x)),r(e,n,k)}}},40833:(e,t,n)=>{var r=n(76766),i=n(87824),o=n(31035),a=n(79206),s=n(60379),l=n(20251),c=n(94300),u=n(95846),f=n(3139);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[u];var d=-1;t=r(t,l(o));var p=a(e,(function(e,n,i){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return s(p,(function(e,t){return c(e,t,n)}))}},82947:(e,t,n)=>{var r=n(13522),i=n(73917);e.exports=function(e,t){return r(e,t,(function(t,n){return i(e,n)}))}},13522:(e,t,n)=>{var r=n(87824),i=n(59092),o=n(45939);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var c=t[a],u=r(e,c);n(u,c)&&i(l,o(c,e),u)}return l}},25811:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},29885:(e,t,n)=>{var r=n(87824);e.exports=function(e){return function(t){return r(t,e)}}},72014:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},24682:(e,t,n)=>{var r=n(76766),i=n(29029),o=n(67065),a=n(20251),s=n(27557),l=Array.prototype.splice;e.exports=function(e,t,n,c){var u=c?o:i,f=-1,d=t.length,p=e;for(e===t&&(t=s(t)),n&&(p=r(e,a(n)));++f<d;)for(var h=0,m=t[f],g=n?n(m):m;(h=u(p,g,h,c))>-1;)p!==e&&l.call(p,h,1),l.call(e,h,1);return e}},98801:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),l=Array(s);s--;)l[o?s:++a]=e,e+=i;return l}},65664:e=>{e.exports=function(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}},3056:(e,t,n)=>{var r=n(95846),i=n(27699),o=n(43063);e.exports=function(e,t){return o(i(e,t,r),e+"")}},59092:(e,t,n)=>{var r=n(90149),i=n(45939),o=n(94087),a=n(84899),s=n(30123);e.exports=function(e,t,n,l){if(!a(e))return e;for(var c=-1,u=(t=i(t,e)).length,f=u-1,d=e;null!=d&&++c<u;){var p=s(t[c]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(c!=f){var m=d[p];void 0===(h=l?l(m,p,d):void 0)&&(h=a(m)?m:o(t[c+1])?[]:{})}r(d,p,h),d=d[p]}return e}},2232:(e,t,n)=>{var r=n(51004),i=n(59873),o=n(95846),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},10534:e=>{e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},60379:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},44658:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},19874:(e,t,n)=>{var r=n(89559),i=n(76766),o=n(3139),a=n(24324),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},59742:(e,t,n)=>{var r=n(17810),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},20251:e=>{e.exports=function(e){return function(t){return e(t)}}},29235:(e,t,n)=>{var r=n(31849),i=n(35399),o=n(39327),a=n(31345),s=n(76047),l=n(993);e.exports=function(e,t,n){var c=-1,u=i,f=e.length,d=!0,p=[],h=p;if(n)d=!1,u=o;else if(f>=200){var m=t?null:s(e);if(m)return l(m);d=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<f;){var g=e[c],v=t?t(g):g;if(g=n||0!==g?g:0,d&&v==v){for(var y=h.length;y--;)if(h[y]===v)continue e;t&&h.push(v),p.push(g)}else u(h,v,n)||(h!==p&&h.push(v),p.push(g))}return p}},97337:(e,t,n)=>{var r=n(45939),i=n(65272),o=n(37451),a=n(30123);e.exports=function(e,t){return t=r(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},81804:(e,t,n)=>{var r=n(76766);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},31345:e=>{e.exports=function(e,t){return e.has(t)}},41919:(e,t,n)=>{var r=n(80523);e.exports=function(e){return r(e)?e:[]}},46504:(e,t,n)=>{var r=n(95846);e.exports=function(e){return"function"==typeof e?e:r}},45939:(e,t,n)=>{var r=n(3139),i=n(78160),o=n(62024),a=n(11012);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},27656:(e,t,n)=>{var r=n(10534);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},59283:(e,t,n)=>{var r=n(34370);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},51812:(e,t,n)=>{e=n.nmd(e);var r=n(11971),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},62763:(e,t,n)=>{var r=n(59283);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},37579:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},93022:(e,t,n)=>{var r=n(89559),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},39203:(e,t,n)=>{var r=n(59283);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},3556:(e,t,n)=>{var r=n(24324);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,a=r(e),s=void 0!==t,l=null===t,c=t==t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!u&&e<t||u&&n&&o&&!i&&!a||l&&n&&o||!s&&o||!c)return-1}return 0}},94300:(e,t,n)=>{var r=n(3556);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,l=n.length;++i<s;){var c=r(o[i],a[i]);if(c)return i>=l?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}},27557:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},15409:(e,t,n)=>{var r=n(90149),i=n(20386);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=o?o(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?i(n,c,u):r(n,c,u)}return n}},74805:(e,t,n)=>{var r=n(15409),i=n(58950);e.exports=function(e,t){return r(e,i(e),t)}},11078:(e,t,n)=>{var r=n(15409),i=n(72913);e.exports=function(e,t){return r(e,i(e),t)}},54735:(e,t,n)=>{var r=n(11971)["__core-js_shared__"];e.exports=r},10074:(e,t,n)=>{var r=n(91031),i=n(64783),o=n(31035),a=n(3139);e.exports=function(e,t){return function(n,s){var l=a(n)?r:i,c=t?t():{};return l(n,e,o(s,2),c)}}},61277:(e,t,n)=>{var r=n(3056),i=n(77310);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t}))}},68911:(e,t,n)=>{var r=n(38844);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},59703:e=>{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},46189:(e,t,n)=>{var r=n(27656),i=n(69500),o=n(20786),a=n(11012);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},21465:(e,t,n)=>{var r=n(98296),i=n(95370),o=n(54347),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},53328:(e,t,n)=>{var r=n(31035),i=n(38844),o=n(21576);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var l=r(n,3);t=o(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}},87454:(e,t,n)=>{var r=n(98801),i=n(77310),o=n(29918);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}},76047:(e,t,n)=>{var r=n(52443),i=n(6820),o=n(993),a=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=a},25660:(e,t,n)=>{var r=n(42698),i=Object.prototype,o=i.hasOwnProperty;e.exports=function(e,t,n,a){return void 0===e||r(e,i[n])&&!o.call(a,n)?t:e}},80104:(e,t,n)=>{var r=n(70784),i=n(84899);e.exports=function e(t,n,o,a,s,l){return i(t)&&i(n)&&(l.set(n,t),r(t,n,void 0,e,l),l.delete(n)),t}},21260:(e,t,n)=>{var r=n(2617);e.exports=function(e){return r(e)?void 0:e}},46401:(e,t,n)=>{var r=n(72014)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"});e.exports=r},59873:(e,t,n)=>{var r=n(68112),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},945:(e,t,n)=>{var r=n(31849),i=n(66718),o=n(31345);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var d=l.get(e),p=l.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var v=e[h],y=t[h];if(a)var b=c?a(y,v,h,t,e,l):a(v,y,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!i(t,(function(e,t){if(!o(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},27028:(e,t,n)=>{var r=n(89559),i=n(34370),o=n(42698),a=n(945),s=n(98219),l=n(993),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=l),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var g=a(p(e),p(t),r,c,f,d);return d.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},26615:(e,t,n)=>{var r=n(65232),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var f=u;f--;){var d=c[f];if(!(l?d in t:i.call(t,d)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++f<u;){var v=e[d=c[f]],y=t[d];if(o)var b=l?o(y,v,d,t,e,s):o(v,y,d,e,t,s);if(!(void 0===b?v===y||a(v,y,n,o,s):b)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(m=!1)}return s.delete(e),s.delete(t),m}},20769:(e,t,n)=>{var r=n(72014)({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});e.exports=r},35849:e=>{var t={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};e.exports=function(e){return"\\"+t[e]}},25334:(e,t,n)=>{var r=n(71136),i=n(27699),o=n(43063);e.exports=function(e){return o(i(e,void 0,r),e+"")}},4750:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},65232:(e,t,n)=>{var r=n(9733),i=n(58950),o=n(21576);e.exports=function(e){return r(e,o,i)}},71615:(e,t,n)=>{var r=n(9733),i=n(72913),o=n(11940);e.exports=function(e){return r(e,o,i)}},35473:(e,t,n)=>{var r=n(94948);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},48962:(e,t,n)=>{var r=n(52598),i=n(21576);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},68112:(e,t,n)=>{var r=n(29433),i=n(28466);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},77393:(e,t,n)=>{var r=n(54777)(Object.getPrototypeOf,Object);e.exports=r},42345:(e,t,n)=>{var r=n(89559),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},58950:(e,t,n)=>{var r=n(20488),i=n(16468),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},72913:(e,t,n)=>{var r=n(32898),i=n(77393),o=n(58950),a=n(16468),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},92503:(e,t,n)=>{var r=n(38302),i=n(93213),o=n(59134),a=n(52443),s=n(45909),l=n(96474),c=n(3255),u="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),g=c(i),v=c(o),y=c(a),b=c(s),_=l;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=u||o&&_(o.resolve())!=f||a&&_(new a)!=d||s&&_(new s)!=p)&&(_=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case g:return u;case v:return f;case y:return d;case b:return p}return t}),e.exports=_},28466:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},296:(e,t,n)=>{var r=n(45939),i=n(49054),o=n(3139),a=n(94087),s=n(156),l=n(30123);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,f=!1;++c<u;){var d=l(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=u?f:!!(u=null==e?0:e.length)&&s(u)&&a(d,u)&&(o(e)||i(e))}},69500:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},1648:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},93082:(e,t,n)=>{var r=n(61372);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},22428:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},9199:(e,t,n)=>{var r=n(61372),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},60435:(e,t,n)=>{var r=n(61372),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},16779:(e,t,n)=>{var r=n(61372);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},2279:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},23913:(e,t,n)=>{var r=n(59283),i=n(62763),o=n(37579),a=n(93022),s=n(39203);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},96007:(e,t,n)=>{var r=n(55450),i=n(77393),o=n(38053);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},28209:(e,t,n)=>{var r=n(89559),i=n(49054),o=n(3139),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},94087:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},77310:(e,t,n)=>{var r=n(42698),i=n(38844),o=n(94087),a=n(84899);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},78160:(e,t,n)=>{var r=n(3139),i=n(24324),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},94948:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},96246:(e,t,n)=>{var r,i=n(54735),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},38053:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},52598:(e,t,n)=>{var r=n(84899);e.exports=function(e){return e==e&&!r(e)}},81468:e=>{e.exports=function(){this.__data__=[],this.size=0}},6746:(e,t,n)=>{var r=n(72495),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},27125:(e,t,n)=>{var r=n(72495);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},5401:(e,t,n)=>{var r=n(72495);e.exports=function(e){return r(this.__data__,e)>-1}},1937:(e,t,n)=>{var r=n(72495);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},58558:(e,t,n)=>{var r=n(42139),i=n(14849),o=n(93213);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},3320:(e,t,n)=>{var r=n(35473);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},18267:(e,t,n)=>{var r=n(35473);e.exports=function(e){return r(this,e).get(e)}},86711:(e,t,n)=>{var r=n(35473);e.exports=function(e){return r(this,e).has(e)}},43935:(e,t,n)=>{var r=n(35473);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},98219:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},74087:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},36842:(e,t,n)=>{var r=n(36982);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},61372:(e,t,n)=>{var r=n(68112)(Object,"create");e.exports=r},8980:(e,t,n)=>{var r=n(54777)(Object.keys,Object);e.exports=r},21883:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},66395:(e,t,n)=>{e=n.nmd(e);var r=n(4750),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},68780:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},54777:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},27699:(e,t,n)=>{var r=n(33463),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=n(l),r(e,this,c)}}},37451:(e,t,n)=>{var r=n(87824),i=n(10534);e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},69961:e=>{e.exports=/<%-([\s\S]+?)%>/g},33717:e=>{e.exports=/<%([\s\S]+?)%>/g},76167:e=>{e.exports=/<%=([\s\S]+?)%>/g},11971:(e,t,n)=>{var r=n(4750),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},37256:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31654:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},60385:e=>{e.exports=function(e){return this.__data__.has(e)}},993:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},43063:(e,t,n)=>{var r=n(2232),i=n(33869)(r);e.exports=i},33869:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},10050:(e,t,n)=>{var r=n(14849);e.exports=function(){this.__data__=new r,this.size=0}},68884:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},43079:e=>{e.exports=function(e){return this.__data__.get(e)}},53083:e=>{e.exports=function(e){return this.__data__.has(e)}},10467:(e,t,n)=>{var r=n(14849),i=n(93213),o=n(59319);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},94869:e=>{e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},20786:(e,t,n)=>{var r=n(29112),i=n(69500),o=n(74368);e.exports=function(e){return i(e)?o(e):r(e)}},62024:(e,t,n)=>{var r=n(36842),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},30123:(e,t,n)=>{var r=n(24324);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},3255:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},17810:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},74368:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",u=c+l+"(?:\\u200d(?:"+[o,a,s].join("|")+")"+c+l+")*",f="(?:"+[o+r+"?",r,a,s,n].join("|")+")",d=RegExp(i+"(?="+i+")|"+f+u,"g");e.exports=function(e){return e.match(d)||[]}},19479:e=>{var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+o+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+o+s+n+r+i+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+i+"]",h="(?:"+c+"|"+u+")",m="(?:"+p+"|"+u+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",_=b+y+"(?:\\u200d(?:"+["[^"+t+"]",f,d].join("|")+")"+b+y+")*",w="(?:"+[l,f,d].join("|")+")"+_,S=RegExp([p+"?"+c+"+"+g+"(?="+[a,p,"$"].join("|")+")",m+"+"+v+"(?="+[a,p+h,"$"].join("|")+")",p+"?"+h+"+"+g,p+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,w].join("|"),"g");e.exports=function(e){return e.match(S)||[]}},40170:(e,t,n)=>{var r=n(15409),i=n(61277),o=n(11940),a=i((function(e,t,n,i){r(t,o(t),e,i)}));e.exports=a},4783:(e,t,n)=>{var r=n(33463),i=n(3056),o=n(10204),a=i((function(e,t){try{return r(e,void 0,t)}catch(e){return o(e)?e:new Error(e)}}));e.exports=a},36250:(e,t,n)=>{var r=n(3139);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},42431:(e,t,n)=>{var r=n(97345);e.exports=function(e){return r(e,4)}},90993:(e,t,n)=>{var r=n(97345);e.exports=function(e){return r(e,5)}},98440:(e,t,n)=>{var r=n(32898),i=n(4510),o=n(27557),a=n(3139);e.exports=function(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],s=e;s--;)t[s-1]=arguments[s];return r(a(n)?o(n):[n],i(t,1))}},51004:e=>{e.exports=function(e){return function(){return e}}},26535:(e,t,n)=>{var r=n(84899),i=n(37534),o=n(40640),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,f,d,p,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,h=t,f=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=u}function _(){var e=i();if(b(e))return w(e);d=setTimeout(_,function(e){var n=t-(e-p);return g?s(n,u-(e-h)):n}(e))}function w(e){return d=void 0,v&&l?y(e):(l=c=void 0,f)}function S(){var e=i(),n=b(e);if(l=arguments,c=this,p=e,n){if(void 0===d)return function(e){return h=e,d=setTimeout(_,t),m?y(e):f}(p);if(g)return clearTimeout(d),d=setTimeout(_,t),y(p)}return void 0===d&&(d=setTimeout(_,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=p=c=d=void 0},S.flush=function(){return void 0===d?f:w(i())},S}},95370:(e,t,n)=>{var r=n(46401),i=n(11012),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},99030:e=>{e.exports=function(e,t){return null==e||e!=e?t:e}},39254:(e,t,n)=>{var r=n(3056),i=n(42698),o=n(77310),a=n(11940),s=Object.prototype,l=s.hasOwnProperty,c=r((function(e,t){e=Object(e);var n=-1,r=t.length,c=r>2?t[2]:void 0;for(c&&o(t[0],t[1],c)&&(r=1);++n<r;)for(var u=t[n],f=a(u),d=-1,p=f.length;++d<p;){var h=f[d],m=e[h];(void 0===m||i(m,s[h])&&!l.call(e,h))&&(e[h]=u[h])}return e}));e.exports=c},88228:(e,t,n)=>{var r=n(33463),i=n(3056),o=n(80104),a=n(88494),s=i((function(e){return e.push(void 0,o),r(a,void 0,e)}));e.exports=s},83547:(e,t,n)=>{var r=n(72961),i=n(4510),o=n(3056),a=n(80523),s=o((function(e,t){return a(e)?r(e,i(t,1,a,!0)):[]}));e.exports=s},42698:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},79019:(e,t,n)=>{var r=n(20769),i=n(11012),o=/[&<>"']/g,a=RegExp(o.source);e.exports=function(e){return(e=i(e))&&a.test(e)?e.replace(o,r):e}},55950:(e,t,n)=>{var r=n(20488),i=n(32464),o=n(31035),a=n(3139);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},69575:(e,t,n)=>{var r=n(53328)(n(1387));e.exports=r},1387:(e,t,n)=>{var r=n(25717),i=n(31035),o=n(47015),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:o(n);return l<0&&(l=a(s+l,0)),r(e,i(t,3),l)}},55060:(e,t,n)=>{var r=n(102),i=n(92843),o=n(31035);e.exports=function(e,t){return r(e,o(t,3),i)}},41781:(e,t,n)=>{var r=n(4510),i=n(20824);e.exports=function(e,t){return r(i(e,t),1)}},71136:(e,t,n)=>{var r=n(4510);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},67710:(e,t,n)=>{var r=n(4510),i=1/0;e.exports=function(e){return null!=e&&e.length?r(e,i):[]}},95328:(e,t,n)=>{var r=n(75739),i=n(60051),o=n(46504),a=n(3139);e.exports=function(e,t){return(a(e)?r:i)(e,o(t))}},20846:(e,t,n)=>{var r=n(87824);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},61448:(e,t,n)=>{var r=n(20386),i=n(10074),o=Object.prototype.hasOwnProperty,a=i((function(e,t,n){o.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=a},85210:(e,t,n)=>{var r=n(69844),i=n(296);e.exports=function(e,t){return null!=e&&i(e,t,r)}},73917:(e,t,n)=>{var r=n(43387),i=n(296);e.exports=function(e,t){return null!=e&&i(e,t,r)}},95846:e=>{e.exports=function(e){return e}},17729:(e,t,n)=>{var r=n(76766),i=n(9171),o=n(3056),a=n(41919),s=o((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?i(t):[]}));e.exports=s},96533:(e,t,n)=>{var r=n(76766),i=n(9171),o=n(3056),a=n(41919),s=n(65272),l=o((function(e){var t=s(e),n=r(e,a);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?i(n,void 0,t):[]}));e.exports=l},60168:(e,t,n)=>{var r=n(33463),i=n(60051),o=n(34634),a=n(3056),s=n(38844),l=a((function(e,t,n){var a=-1,l="function"==typeof t,c=s(e)?Array(e.length):[];return i(e,(function(e){c[++a]=l?r(t,e,n):o(e,t,n)})),c}));e.exports=l},49054:(e,t,n)=>{var r=n(58248),i=n(55260),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},3139:e=>{var t=Array.isArray;e.exports=t},38844:(e,t,n)=>{var r=n(52532),i=n(156);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},80523:(e,t,n)=>{var r=n(38844),i=n(55260);e.exports=function(e){return i(e)&&r(e)}},83830:(e,t,n)=>{var r=n(96474),i=n(55260);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==r(e)}},49550:(e,t,n)=>{e=n.nmd(e);var r=n(11971),i=n(54925),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},88091:(e,t,n)=>{var r=n(46954),i=n(92503),o=n(49054),a=n(3139),s=n(38844),l=n(49550),c=n(38053),u=n(43061),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},31230:(e,t,n)=>{var r=n(49368);e.exports=function(e,t){return r(e,t)}},10204:(e,t,n)=>{var r=n(96474),i=n(55260),o=n(2617);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!o(e)}},52532:(e,t,n)=>{var r=n(96474),i=n(84899);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},156:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},34404:(e,t,n)=>{var r=n(95574),i=n(20251),o=n(66395),a=o&&o.isMap,s=a?i(a):r;e.exports=s},32129:(e,t,n)=>{var r=n(96474),i=n(55260);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},84899:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},55260:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2617:(e,t,n)=>{var r=n(96474),i=n(77393),o=n(55260),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},38710:(e,t,n)=>{var r=n(15268),i=n(20251),o=n(66395),a=o&&o.isSet,s=a?i(a):r;e.exports=s},24324:(e,t,n)=>{var r=n(96474),i=n(55260);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},43061:(e,t,n)=>{var r=n(18011),i=n(20251),o=n(66395),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},87240:(e,t,n)=>{var r=n(20386),i=n(10074)((function(e,t,n){r(e,n,t)}));e.exports=i},21576:(e,t,n)=>{var r=n(9825),i=n(46954),o=n(38844);e.exports=function(e){return o(e)?r(e):i(e)}},11940:(e,t,n)=>{var r=n(9825),i=n(73901),o=n(38844);e.exports=function(e){return o(e)?r(e,!0):i(e)}},65272:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},60193:function(e,t,n){e=n.nmd(e),function(){var n,r="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",a=32,s=128,l=1/0,c=9007199254740991,u=NaN,f=4294967295,d=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],p="[object Arguments]",h="[object Array]",m="[object Boolean]",g="[object Date]",v="[object Error]",y="[object Function]",b="[object GeneratorFunction]",_="[object Map]",w="[object Number]",S="[object Object]",x="[object Promise]",E="[object RegExp]",k="[object Set]",C="[object String]",O="[object Symbol]",T="[object WeakMap]",P="[object ArrayBuffer]",A="[object DataView]",M="[object Float32Array]",L="[object Float64Array]",I="[object Int8Array]",R="[object Int16Array]",D="[object Int32Array]",j="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",B="[object Uint32Array]",z=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,H=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,q=RegExp(H.source),V=RegExp(W.source),K=/<%-([\s\S]+?)%>/g,G=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/,X=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q=/[\\^$.*+?()[\]{}|]/g,ee=RegExp(Q.source),te=/^\s+/,ne=/\s/,re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ie=/\{\n\/\* \[wrapped with (.+)\] \*/,oe=/,? & /,ae=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,se=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,ce=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ue=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,de=/^0b[01]+$/i,pe=/^\[object .+?Constructor\]$/,he=/^0o[0-7]+$/i,me=/^(?:0|[1-9]\d*)$/,ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=/($^)/,ye=/['\n\r\u2028\u2029\\]/g,be="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ce="["+be+"]",Oe="["+ke+"]",Te="["+_e+"]",Pe="\\d+",Ae="["+we+"]",Me="["+Se+"]",Le="[^"+be+ke+Pe+we+Se+xe+"]",Ie="\\ud83c[\\udffb-\\udfff]",Re="[^"+be+"]",De="(?:\\ud83c[\\udde6-\\uddff]){2}",je="[\\ud800-\\udbff][\\udc00-\\udfff]",Ne="["+xe+"]",Fe="\\u200d",Be="(?:"+Me+"|"+Le+")",ze="(?:"+Ne+"|"+Le+")",$e="(?:['’](?:d|ll|m|re|s|t|ve))?",Ue="(?:['’](?:D|LL|M|RE|S|T|VE))?",He="(?:"+Te+"|"+Ie+")?",We="["+Ee+"]?",qe=We+He+"(?:"+Fe+"(?:"+[Re,De,je].join("|")+")"+We+He+")*",Ve="(?:"+[Ae,De,je].join("|")+")"+qe,Ke="(?:"+[Re+Te+"?",Te,De,je,Ce].join("|")+")",Ge=RegExp("['’]","g"),Ye=RegExp(Te,"g"),Je=RegExp(Ie+"(?="+Ie+")|"+Ke+qe,"g"),Ze=RegExp([Ne+"?"+Me+"+"+$e+"(?="+[Oe,Ne,"$"].join("|")+")",ze+"+"+Ue+"(?="+[Oe,Ne+Be,"$"].join("|")+")",Ne+"?"+Be+"+"+$e,Ne+"+"+Ue,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pe,Ve].join("|"),"g"),Xe=RegExp("["+Fe+be+_e+Ee+"]"),Qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,et=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tt=-1,nt={};nt[M]=nt[L]=nt[I]=nt[R]=nt[D]=nt[j]=nt[N]=nt[F]=nt[B]=!0,nt[p]=nt[h]=nt[P]=nt[m]=nt[A]=nt[g]=nt[v]=nt[y]=nt[_]=nt[w]=nt[S]=nt[E]=nt[k]=nt[C]=nt[T]=!1;var rt={};rt[p]=rt[h]=rt[P]=rt[A]=rt[m]=rt[g]=rt[M]=rt[L]=rt[I]=rt[R]=rt[D]=rt[_]=rt[w]=rt[S]=rt[E]=rt[k]=rt[C]=rt[O]=rt[j]=rt[N]=rt[F]=rt[B]=!0,rt[v]=rt[y]=rt[T]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,at=parseInt,st="object"==typeof global&&global&&global.Object===Object&&global,lt="object"==typeof self&&self&&self.Object===Object&&self,ct=st||lt||Function("return this")(),ut=t&&!t.nodeType&&t,ft=ut&&e&&!e.nodeType&&e,dt=ft&&ft.exports===ut,pt=dt&&st.process,ht=function(){try{return ft&&ft.require&&ft.require("util").types||pt&&pt.binding&&pt.binding("util")}catch(e){}}(),mt=ht&&ht.isArrayBuffer,gt=ht&&ht.isDate,vt=ht&&ht.isMap,yt=ht&&ht.isRegExp,bt=ht&&ht.isSet,_t=ht&&ht.isTypedArray;function wt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function xt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Et(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ct(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Ot(e,t){return!(null==e||!e.length)&&Nt(e,t,0)>-1}function Tt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Pt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function At(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Mt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Lt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function It(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Rt=$t("length");function Dt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function jt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Nt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):jt(e,Bt,n)}function Ft(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Bt(e){return e!=e}function zt(e,t){var n=null==e?0:e.length;return n?Wt(e,t)/n:u}function $t(e){return function(t){return null==t?n:t[e]}}function Ut(e){return function(t){return null==e?n:e[t]}}function Ht(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Wt(e,t){for(var r,i=-1,o=e.length;++i<o;){var a=t(e[i]);a!==n&&(r=r===n?a:r+a)}return r}function qt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Vt(e){return e?e.slice(0,un(e)+1).replace(te,""):e}function Kt(e){return function(t){return e(t)}}function Gt(e,t){return Pt(t,(function(t){return e[t]}))}function Yt(e,t){return e.has(t)}function Jt(e,t){for(var n=-1,r=e.length;++n<r&&Nt(t,e[n],0)>-1;);return n}function Zt(e,t){for(var n=e.length;n--&&Nt(t,e[n],0)>-1;);return n}var Xt=Ut({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"}),Qt=Ut({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function en(e){return"\\"+it[e]}function tn(e){return Xe.test(e)}function nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function rn(e,t){return function(n){return e(t(n))}}function on(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var s=e[n];s!==t&&s!==o||(e[n]=o,a[i++]=n)}return a}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function ln(e){return tn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):Rt(e)}function cn(e){return tn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}function un(e){for(var t=e.length;t--&&ne.test(e.charAt(t)););return t}var fn=Ut({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),dn=function e(t){var ne,be=(t=null==t?ct:dn.defaults(ct.Object(),t,dn.pick(ct,et))).Array,_e=t.Date,we=t.Error,Se=t.Function,xe=t.Math,Ee=t.Object,ke=t.RegExp,Ce=t.String,Oe=t.TypeError,Te=be.prototype,Pe=Se.prototype,Ae=Ee.prototype,Me=t["__core-js_shared__"],Le=Pe.toString,Ie=Ae.hasOwnProperty,Re=0,De=(ne=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||""))?"Symbol(src)_1."+ne:"",je=Ae.toString,Ne=Le.call(Ee),Fe=ct._,Be=ke("^"+Le.call(Ie).replace(Q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=dt?t.Buffer:n,$e=t.Symbol,Ue=t.Uint8Array,He=ze?ze.allocUnsafe:n,We=rn(Ee.getPrototypeOf,Ee),qe=Ee.create,Ve=Ae.propertyIsEnumerable,Ke=Te.splice,Je=$e?$e.isConcatSpreadable:n,Xe=$e?$e.iterator:n,it=$e?$e.toStringTag:n,st=function(){try{var e=lo(Ee,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==ct.clearTimeout&&t.clearTimeout,ut=_e&&_e.now!==ct.Date.now&&_e.now,ft=t.setTimeout!==ct.setTimeout&&t.setTimeout,pt=xe.ceil,ht=xe.floor,Rt=Ee.getOwnPropertySymbols,Ut=ze?ze.isBuffer:n,pn=t.isFinite,hn=Te.join,mn=rn(Ee.keys,Ee),gn=xe.max,vn=xe.min,yn=_e.now,bn=t.parseInt,_n=xe.random,wn=Te.reverse,Sn=lo(t,"DataView"),xn=lo(t,"Map"),En=lo(t,"Promise"),kn=lo(t,"Set"),Cn=lo(t,"WeakMap"),On=lo(Ee,"create"),Tn=Cn&&new Cn,Pn={},An=No(Sn),Mn=No(xn),Ln=No(En),In=No(kn),Rn=No(Cn),Dn=$e?$e.prototype:n,jn=Dn?Dn.valueOf:n,Nn=Dn?Dn.toString:n;function Fn(e){if(es(e)&&!Ha(e)&&!(e instanceof Un)){if(e instanceof $n)return e;if(Ie.call(e,"__wrapped__"))return Fo(e)}return new $n(e)}var Bn=function(){function e(){}return function(t){if(!Qa(t))return{};if(qe)return qe(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function zn(){}function $n(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Kn(e){var t=this.__data__=new Wn(e);this.size=t.size}function Gn(e,t){var n=Ha(e),r=!n&&Ua(e),i=!n&&!r&&Ka(e),o=!n&&!r&&!i&&ls(e),a=n||r||i||o,s=a?qt(e.length,Ce):[],l=s.length;for(var c in e)!t&&!Ie.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||go(c,l))||s.push(c);return s}function Yn(e){var t=e.length;return t?e[qr(0,t-1)]:n}function Jn(e,t){return Lo(Ci(e),or(t,0,e.length))}function Zn(e){return Lo(Ci(e))}function Xn(e,t,r){(r!==n&&!Ba(e[t],r)||r===n&&!(t in e))&&rr(e,t,r)}function Qn(e,t,r){var i=e[t];Ie.call(e,t)&&Ba(i,r)&&(r!==n||t in e)||rr(e,t,r)}function er(e,t){for(var n=e.length;n--;)if(Ba(e[n][0],t))return n;return-1}function tr(e,t,n,r){return ur(e,(function(e,i,o){t(r,e,n(e),o)})),r}function nr(e,t){return e&&Oi(t,As(t),e)}function rr(e,t,n){"__proto__"==t&&st?st(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ir(e,t){for(var r=-1,i=t.length,o=be(i),a=null==e;++r<i;)o[r]=a?n:ks(e,t[r]);return o}function or(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function ar(e,t,r,i,o,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=o?r(e,i,o,a):r(e)),s!==n)return s;if(!Qa(e))return e;var f=Ha(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Ci(e,s)}else{var d=fo(e),h=d==y||d==b;if(Ka(e))return _i(e,l);if(d==S||d==p||h&&!o){if(s=c||h?{}:ho(e),!l)return c?function(e,t){return Oi(e,uo(e),t)}(e,function(e,t){return e&&Oi(t,Ms(t),e)}(s,e)):function(e,t){return Oi(e,co(e),t)}(e,nr(s,e))}else{if(!rt[d])return o?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case P:return wi(e);case m:case g:return new i(+e);case A:return function(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case L:case I:case R:case D:case j:case N:case F:case B:return Si(e,n);case _:return new i;case w:case C:return new i(e);case E:return function(e){var t=new e.constructor(e.source,ue.exec(e));return t.lastIndex=e.lastIndex,t}(e);case k:return new i;case O:return r=e,jn?Ee(jn.call(r)):{}}}(e,d,l)}}a||(a=new Kn);var v=a.get(e);if(v)return v;a.set(e,s),os(e)?e.forEach((function(n){s.add(ar(n,t,r,n,e,a))})):ts(e)&&e.forEach((function(n,i){s.set(i,ar(n,t,r,i,e,a))}));var x=f?n:(u?c?to:eo:c?Ms:As)(e);return xt(x||e,(function(n,i){x&&(n=e[i=n]),Qn(s,i,ar(n,t,r,i,e,a))})),s}function sr(e,t,r){var i=r.length;if(null==e)return!i;for(e=Ee(e);i--;){var o=r[i],a=t[o],s=e[o];if(s===n&&!(o in e)||!a(s))return!1}return!0}function lr(e,t,i){if("function"!=typeof e)throw new Oe(r);return To((function(){e.apply(n,i)}),t)}function cr(e,t,n,r){var i=-1,o=Ot,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Pt(t,Kt(n))),r?(o=Tt,a=!1):t.length>=200&&(o=Yt,a=!1,t=new Vn(t));e:for(;++i<s;){var u=e[i],f=null==n?u:n(u);if(u=r||0!==u?u:0,a&&f==f){for(var d=c;d--;)if(t[d]===f)continue e;l.push(u)}else o(t,f,r)||l.push(u)}return l}Fn.templateSettings={escape:K,evaluate:G,interpolate:Y,variable:"",imports:{_:Fn}},Fn.prototype=zn.prototype,Fn.prototype.constructor=Fn,$n.prototype=Bn(zn.prototype),$n.prototype.constructor=$n,Un.prototype=Bn(zn.prototype),Un.prototype.constructor=Un,Hn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Hn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hn.prototype.get=function(e){var t=this.__data__;if(On){var r=t[e];return r===i?n:r}return Ie.call(t,e)?t[e]:n},Hn.prototype.has=function(e){var t=this.__data__;return On?t[e]!==n:Ie.call(t,e)},Hn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=On&&t===n?i:t,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,0))},Wn.prototype.get=function(e){var t=this.__data__,r=er(t,e);return r<0?n:t[r][1]},Wn.prototype.has=function(e){return er(this.__data__,e)>-1},Wn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(xn||Wn),string:new Hn}},qn.prototype.delete=function(e){var t=ao(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return ao(this,e).get(e)},qn.prototype.has=function(e){return ao(this,e).has(e)},qn.prototype.set=function(e,t){var n=ao(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Vn.prototype.add=Vn.prototype.push=function(e){return this.__data__.set(e,i),this},Vn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var ur=Ai(yr),fr=Ai(br,!0);function dr(e,t){var n=!0;return ur(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function pr(e,t,r){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(l===n?s==s&&!ss(s):r(s,l)))var l=s,c=a}return c}function hr(e,t){var n=[];return ur(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function mr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=mo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?mr(s,t-1,n,r,i):At(i,s):r||(i[i.length]=s)}return i}var gr=Mi(),vr=Mi(!0);function yr(e,t){return e&&gr(e,t,As)}function br(e,t){return e&&vr(e,t,As)}function _r(e,t){return Ct(t,(function(t){return Ja(e[t])}))}function wr(e,t){for(var r=0,i=(t=gi(t,e)).length;null!=e&&r<i;)e=e[jo(t[r++])];return r&&r==i?e:n}function Sr(e,t,n){var r=t(e);return Ha(e)?r:At(r,n(e))}function xr(e){return null==e?e===n?"[object Undefined]":"[object Null]":it&&it in Ee(e)?function(e){var t=Ie.call(e,it),r=e[it];try{e[it]=n;var i=!0}catch(e){}var o=je.call(e);return i&&(t?e[it]=r:delete e[it]),o}(e):function(e){return je.call(e)}(e)}function Er(e,t){return e>t}function kr(e,t){return null!=e&&Ie.call(e,t)}function Cr(e,t){return null!=e&&t in Ee(e)}function Or(e,t,r){for(var i=r?Tt:Ot,o=e[0].length,a=e.length,s=a,l=be(a),c=1/0,u=[];s--;){var f=e[s];s&&t&&(f=Pt(f,Kt(t))),c=vn(f.length,c),l[s]=!r&&(t||o>=120&&f.length>=120)?new Vn(s&&f):n}f=e[0];var d=-1,p=l[0];e:for(;++d<o&&u.length<c;){var h=f[d],m=t?t(h):h;if(h=r||0!==h?h:0,!(p?Yt(p,m):i(u,m,r))){for(s=a;--s;){var g=l[s];if(!(g?Yt(g,m):i(e[s],m,r)))continue e}p&&p.push(m),u.push(h)}}return u}function Tr(e,t,r){var i=null==(e=ko(e,t=gi(t,e)))?e:e[jo(Yo(t))];return null==i?n:wt(i,e,r)}function Pr(e){return es(e)&&xr(e)==p}function Ar(e,t,r,i,o){return e===t||(null==e||null==t||!es(e)&&!es(t)?e!=e&&t!=t:function(e,t,r,i,o,a){var s=Ha(e),l=Ha(t),c=s?h:fo(e),u=l?h:fo(t),f=(c=c==p?S:c)==S,d=(u=u==p?S:u)==S,y=c==u;if(y&&Ka(e)){if(!Ka(t))return!1;s=!0,f=!1}if(y&&!f)return a||(a=new Kn),s||ls(e)?Xi(e,t,r,i,o,a):function(e,t,n,r,i,o,a){switch(n){case A:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!o(new Ue(e),new Ue(t)));case m:case g:case w:return Ba(+e,+t);case v:return e.name==t.name&&e.message==t.message;case E:case C:return e==t+"";case _:var s=nn;case k:var l=1&r;if(s||(s=an),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Xi(s(e),s(t),r,i,o,a);return a.delete(e),u;case O:if(jn)return jn.call(e)==jn.call(t)}return!1}(e,t,c,r,i,o,a);if(!(1&r)){var b=f&&Ie.call(e,"__wrapped__"),x=d&&Ie.call(t,"__wrapped__");if(b||x){var T=b?e.value():e,M=x?t.value():t;return a||(a=new Kn),o(T,M,r,i,a)}}return!!y&&(a||(a=new Kn),function(e,t,r,i,o,a){var s=1&r,l=eo(e),c=l.length;if(c!=eo(t).length&&!s)return!1;for(var u=c;u--;){var f=l[u];if(!(s?f in t:Ie.call(t,f)))return!1}var d=a.get(e),p=a.get(t);if(d&&p)return d==t&&p==e;var h=!0;a.set(e,t),a.set(t,e);for(var m=s;++u<c;){var g=e[f=l[u]],v=t[f];if(i)var y=s?i(v,g,f,t,e,a):i(g,v,f,e,t,a);if(!(y===n?g===v||o(g,v,r,i,a):y)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,r,i,o,a))}(e,t,r,i,Ar,o))}function Mr(e,t,r,i){var o=r.length,a=o,s=!i;if(null==e)return!a;for(e=Ee(e);o--;){var l=r[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var c=(l=r[o])[0],u=e[c],f=l[1];if(s&&l[2]){if(u===n&&!(c in e))return!1}else{var d=new Kn;if(i)var p=i(u,f,c,e,t,d);if(!(p===n?Ar(f,u,3,i,d):p))return!1}}return!0}function Lr(e){return!(!Qa(e)||(t=e,De&&De in t))&&(Ja(e)?Be:pe).test(No(e));var t}function Ir(e){return"function"==typeof e?e:null==e?nl:"object"==typeof e?Ha(e)?Fr(e[0],e[1]):Nr(e):fl(e)}function Rr(e){if(!wo(e))return mn(e);var t=[];for(var n in Ee(e))Ie.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Dr(e,t){return e<t}function jr(e,t){var n=-1,r=qa(e)?be(e.length):[];return ur(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Nr(e){var t=so(e);return 1==t.length&&t[0][2]?xo(t[0][0],t[0][1]):function(n){return n===e||Mr(n,e,t)}}function Fr(e,t){return yo(e)&&So(t)?xo(jo(e),t):function(r){var i=ks(r,e);return i===n&&i===t?Cs(r,e):Ar(t,i,3)}}function Br(e,t,r,i,o){e!==t&&gr(t,(function(a,s){if(o||(o=new Kn),Qa(a))!function(e,t,r,i,o,a,s){var l=Co(e,r),c=Co(t,r),u=s.get(c);if(u)Xn(e,r,u);else{var f=a?a(l,c,r+"",e,t,s):n,d=f===n;if(d){var p=Ha(c),h=!p&&Ka(c),m=!p&&!h&&ls(c);f=c,p||h||m?Ha(l)?f=l:Va(l)?f=Ci(l):h?(d=!1,f=_i(c,!0)):m?(d=!1,f=Si(c,!0)):f=[]:rs(c)||Ua(c)?(f=l,Ua(l)?f=gs(l):Qa(l)&&!Ja(l)||(f=ho(c))):d=!1}d&&(s.set(c,f),o(f,c,i,a,s),s.delete(c)),Xn(e,r,f)}}(e,t,s,r,Br,i,o);else{var l=i?i(Co(e,s),a,s+"",e,t,o):n;l===n&&(l=a),Xn(e,s,l)}}),Ms)}function zr(e,t){var r=e.length;if(r)return go(t+=t<0?r:0,r)?e[t]:n}function $r(e,t,n){t=t.length?Pt(t,(function(e){return Ha(e)?function(t){return wr(t,1===e.length?e[0]:e)}:e})):[nl];var r=-1;t=Pt(t,Kt(oo()));var i=jr(e,(function(e,n,i){var o=Pt(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=xi(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(i)}function Ur(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=wr(e,a);n(s,a)&&Jr(o,gi(a,e),s)}return o}function Hr(e,t,n,r){var i=r?Ft:Nt,o=-1,a=t.length,s=e;for(e===t&&(t=Ci(t)),n&&(s=Pt(e,Kt(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&Ke.call(s,l,1),Ke.call(e,l,1);return e}function Wr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;go(i)?Ke.call(e,i,1):li(e,i)}}return e}function qr(e,t){return e+ht(_n()*(t-e+1))}function Vr(e,t){var n="";if(!e||t<1||t>c)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Kr(e,t){return Po(Eo(e,t,nl),e+"")}function Gr(e){return Yn(Bs(e))}function Yr(e,t){var n=Bs(e);return Lo(n,or(t,0,n.length))}function Jr(e,t,r,i){if(!Qa(e))return e;for(var o=-1,a=(t=gi(t,e)).length,s=a-1,l=e;null!=l&&++o<a;){var c=jo(t[o]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=s){var f=l[c];(u=i?i(f,c,l):n)===n&&(u=Qa(f)?f:go(t[o+1])?[]:{})}Qn(l,c,u),l=l[c]}return e}var Zr=Tn?function(e,t){return Tn.set(e,t),e}:nl,Xr=st?function(e,t){return st(e,"toString",{configurable:!0,enumerable:!1,value:Qs(t),writable:!0})}:nl;function Qr(e){return Lo(Bs(e))}function ei(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=be(i);++r<i;)o[r]=e[r+t];return o}function ti(e,t){var n;return ur(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ni(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!ss(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return ri(e,t,nl,n)}function ri(e,t,r,i){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,l=null===t,c=ss(t),u=t===n;o<a;){var f=ht((o+a)/2),d=r(e[f]),p=d!==n,h=null===d,m=d==d,g=ss(d);if(s)var v=i||m;else v=u?m&&(i||p):l?m&&p&&(i||!h):c?m&&p&&!h&&(i||!g):!h&&!g&&(i?d<=t:d<t);v?o=f+1:a=f}return vn(a,4294967294)}function ii(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ba(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function oi(e){return"number"==typeof e?e:ss(e)?u:+e}function ai(e){if("string"==typeof e)return e;if(Ha(e))return Pt(e,ai)+"";if(ss(e))return Nn?Nn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function si(e,t,n){var r=-1,i=Ot,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Tt;else if(o>=200){var c=t?null:Vi(e);if(c)return an(c);a=!1,i=Yt,l=new Vn}else l=t?[]:s;e:for(;++r<o;){var u=e[r],f=t?t(u):u;if(u=n||0!==u?u:0,a&&f==f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),s.push(u)}else i(l,f,n)||(l!==s&&l.push(f),s.push(u))}return s}function li(e,t){return null==(e=ko(e,t=gi(t,e)))||delete e[jo(Yo(t))]}function ci(e,t,n,r){return Jr(e,t,n(wr(e,t)),r)}function ui(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ei(e,r?0:o,r?o+1:i):ei(e,r?o+1:0,r?i:o)}function fi(e,t){var n=e;return n instanceof Un&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,At([e],t.args))}),n)}function di(e,t,n){var r=e.length;if(r<2)return r?si(e[0]):[];for(var i=-1,o=be(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=cr(o[i]||a,e[s],t,n));return si(mr(o,1),t,n)}function pi(e,t,r){for(var i=-1,o=e.length,a=t.length,s={};++i<o;){var l=i<a?t[i]:n;r(s,e[i],l)}return s}function hi(e){return Va(e)?e:[]}function mi(e){return"function"==typeof e?e:nl}function gi(e,t){return Ha(e)?e:yo(e,t)?[e]:Do(vs(e))}var vi=Kr;function yi(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:ei(e,t,r)}var bi=lt||function(e){return ct.clearTimeout(e)};function _i(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function wi(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function Si(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function xi(e,t){if(e!==t){var r=e!==n,i=null===e,o=e==e,a=ss(e),s=t!==n,l=null===t,c=t==t,u=ss(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&e<t||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}function Ei(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,c=gn(o-a,0),u=be(l+c),f=!r;++s<l;)u[s]=t[s];for(;++i<a;)(f||i<o)&&(u[n[i]]=e[i]);for(;c--;)u[s++]=e[i++];return u}function ki(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,c=t.length,u=gn(o-s,0),f=be(u+c),d=!r;++i<u;)f[i]=e[i];for(var p=i;++l<c;)f[p+l]=t[l];for(;++a<s;)(d||i<o)&&(f[p+n[a]]=e[i++]);return f}function Ci(e,t){var n=-1,r=e.length;for(t||(t=be(r));++n<r;)t[n]=e[n];return t}function Oi(e,t,r,i){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=i?i(r[l],e[l],l,r,e):n;c===n&&(c=e[l]),o?rr(r,l,c):Qn(r,l,c)}return r}function Ti(e,t){return function(n,r){var i=Ha(n)?St:tr,o=t?t():{};return i(n,e,oo(r,2),o)}}function Pi(e){return Kr((function(t,r){var i=-1,o=r.length,a=o>1?r[o-1]:n,s=o>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(o--,a):n,s&&vo(r[0],r[1],s)&&(a=o<3?n:a,o=1),t=Ee(t);++i<o;){var l=r[i];l&&e(t,l,i,a)}return t}))}function Ai(e,t){return function(n,r){if(null==n)return n;if(!qa(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ee(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Mi(e){return function(t,n,r){for(var i=-1,o=Ee(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function Li(e){return function(t){var r=tn(t=vs(t))?cn(t):n,i=r?r[0]:t.charAt(0),o=r?yi(r,1).join(""):t.slice(1);return i[e]()+o}}function Ii(e){return function(t){return Mt(Js(Us(t).replace(Ge,"")),e,"")}}function Ri(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Bn(e.prototype),r=e.apply(n,t);return Qa(r)?r:n}}function Di(e){return function(t,r,i){var o=Ee(t);if(!qa(t)){var a=oo(r,3);t=As(t),r=function(e){return a(o[e],e,o)}}var s=e(t,r,i);return s>-1?o[a?t[s]:s]:n}}function ji(e){return Qi((function(t){var i=t.length,o=i,a=$n.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new Oe(r);if(a&&!l&&"wrapper"==ro(s))var l=new $n([],!0)}for(o=l?o:i;++o<i;){var c=ro(s=t[o]),u="wrapper"==c?no(s):n;l=u&&bo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ro(u[0])].apply(l,u[3]):1==s.length&&bo(s)?l[c]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Ha(n))return l.plant(n).value();for(var r=0,o=i?t[r].apply(this,e):n;++r<i;)o=t[r].call(this,o);return o}}))}function Ni(e,t,r,i,o,a,l,c,u,f){var d=t&s,p=1&t,h=2&t,m=24&t,g=512&t,v=h?n:Ri(e);return function s(){for(var y=arguments.length,b=be(y),_=y;_--;)b[_]=arguments[_];if(m)var w=io(s),S=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,w);if(i&&(b=Ei(b,i,o,m)),a&&(b=ki(b,a,l,m)),y-=S,m&&y<f){var x=on(b,w);return Wi(e,t,Ni,s.placeholder,r,b,x,c,u,f-y)}var E=p?r:this,k=h?E[e]:e;return y=b.length,c?b=function(e,t){for(var r=e.length,i=vn(t.length,r),o=Ci(e);i--;){var a=t[i];e[i]=go(a,r)?o[a]:n}return e}(b,c):g&&y>1&&b.reverse(),d&&u<y&&(b.length=u),this&&this!==ct&&this instanceof s&&(k=v||Ri(k)),k.apply(E,b)}}function Fi(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Bi(e,t){return function(r,i){var o;if(r===n&&i===n)return t;if(r!==n&&(o=r),i!==n){if(o===n)return i;"string"==typeof r||"string"==typeof i?(r=ai(r),i=ai(i)):(r=oi(r),i=oi(i)),o=e(r,i)}return o}}function zi(e){return Qi((function(t){return t=Pt(t,Kt(oo())),Kr((function(n){var r=this;return e(t,(function(e){return wt(e,r,n)}))}))}))}function $i(e,t){var r=(t=t===n?" ":ai(t)).length;if(r<2)return r?Vr(t,e):t;var i=Vr(t,pt(e/ln(t)));return tn(t)?yi(cn(i),0,e).join(""):i.slice(0,e)}function Ui(e){return function(t,r,i){return i&&"number"!=typeof i&&vo(t,r,i)&&(r=i=n),t=ds(t),r===n?(r=t,t=0):r=ds(r),function(e,t,n,r){for(var i=-1,o=gn(pt((t-e)/(n||1)),0),a=be(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,r,i=i===n?t<r?1:-1:ds(i),e)}}function Hi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ms(t),n=ms(n)),e(t,n)}}function Wi(e,t,r,i,o,s,l,c,u,f){var d=8&t;t|=d?a:64,4&(t&=~(d?64:a))||(t&=-4);var p=[e,t,o,d?s:n,d?l:n,d?n:s,d?n:l,c,u,f],h=r.apply(n,p);return bo(e)&&Oo(h,p),h.placeholder=i,Ao(h,e,t)}function qi(e){var t=xe[e];return function(e,n){if(e=ms(e),(n=null==n?0:vn(ps(n),292))&&pn(e)){var r=(vs(e)+"e").split("e");return+((r=(vs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Vi=kn&&1/an(new kn([,-0]))[1]==l?function(e){return new kn(e)}:sl;function Ki(e){return function(t){var n=fo(t);return n==_?nn(t):n==k?sn(t):function(e,t){return Pt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Gi(e,t,i,l,c,u,f,d){var p=2&t;if(!p&&"function"!=typeof e)throw new Oe(r);var h=l?l.length:0;if(h||(t&=-97,l=c=n),f=f===n?f:gn(ps(f),0),d=d===n?d:ps(d),h-=c?c.length:0,64&t){var m=l,g=c;l=c=n}var v=p?n:no(e),y=[e,t,i,l,c,m,g,u,f,d];if(v&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,l=r==s&&8==n||r==s&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!l)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var c=t[3];if(c){var u=e[3];e[3]=u?Ei(u,c,t[4]):c,e[4]=u?on(e[3],o):t[4]}(c=t[5])&&(u=e[5],e[5]=u?ki(u,c,t[6]):c,e[6]=u?on(e[5],o):t[6]),(c=t[7])&&(e[7]=c),r&s&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(y,v),e=y[0],t=y[1],i=y[2],l=y[3],c=y[4],!(d=y[9]=y[9]===n?p?0:e.length:gn(y[9]-h,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,r){var i=Ri(e);return function o(){for(var a=arguments.length,s=be(a),l=a,c=io(o);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:on(s,c);return(a-=u.length)<r?Wi(e,t,Ni,o.placeholder,n,s,u,n,n,r-a):wt(this&&this!==ct&&this instanceof o?i:e,this,s)}}(e,t,d):t!=a&&33!=t||c.length?Ni.apply(n,y):function(e,t,n,r){var i=1&t,o=Ri(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=be(c+s),f=this&&this!==ct&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return wt(f,i?n:this,u)}}(e,t,i,l);else var b=function(e,t,n){var r=1&t,i=Ri(e);return function t(){return(this&&this!==ct&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,i);return Ao((v?Zr:Oo)(b,y),e,t)}function Yi(e,t,r,i){return e===n||Ba(e,Ae[r])&&!Ie.call(i,r)?t:e}function Ji(e,t,r,i,o,a){return Qa(e)&&Qa(t)&&(a.set(t,e),Br(e,t,n,Ji,a),a.delete(t)),e}function Zi(e){return rs(e)?n:e}function Xi(e,t,r,i,o,a){var s=1&r,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var d=-1,p=!0,h=2&r?new Vn:n;for(a.set(e,t),a.set(t,e);++d<l;){var m=e[d],g=t[d];if(i)var v=s?i(g,m,d,t,e,a):i(m,g,d,e,t,a);if(v!==n){if(v)continue;p=!1;break}if(h){if(!It(t,(function(e,t){if(!Yt(h,t)&&(m===e||o(m,e,r,i,a)))return h.push(t)}))){p=!1;break}}else if(m!==g&&!o(m,g,r,i,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function Qi(e){return Po(Eo(e,n,Wo),e+"")}function eo(e){return Sr(e,As,co)}function to(e){return Sr(e,Ms,uo)}var no=Tn?function(e){return Tn.get(e)}:sl;function ro(e){for(var t=e.name+"",n=Pn[t],r=Ie.call(Pn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function io(e){return(Ie.call(Fn,"placeholder")?Fn:e).placeholder}function oo(){var e=Fn.iteratee||rl;return e=e===rl?Ir:e,arguments.length?e(arguments[0],arguments[1]):e}function ao(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function so(e){for(var t=As(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,So(i)]}return t}function lo(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Lr(r)?r:n}var co=Rt?function(e){return null==e?[]:(e=Ee(e),Ct(Rt(e),(function(t){return Ve.call(e,t)})))}:hl,uo=Rt?function(e){for(var t=[];e;)At(t,co(e)),e=We(e);return t}:hl,fo=xr;function po(e,t,n){for(var r=-1,i=(t=gi(t,e)).length,o=!1;++r<i;){var a=jo(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Xa(i)&&go(a,i)&&(Ha(e)||Ua(e))}function ho(e){return"function"!=typeof e.constructor||wo(e)?{}:Bn(We(e))}function mo(e){return Ha(e)||Ua(e)||!!(Je&&e&&e[Je])}function go(e,t){var n=typeof e;return!!(t=null==t?c:t)&&("number"==n||"symbol"!=n&&me.test(e))&&e>-1&&e%1==0&&e<t}function vo(e,t,n){if(!Qa(n))return!1;var r=typeof t;return!!("number"==r?qa(n)&&go(t,n.length):"string"==r&&t in n)&&Ba(n[t],e)}function yo(e,t){if(Ha(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||Z.test(e)||!J.test(e)||null!=t&&e in Ee(t)}function bo(e){var t=ro(e),n=Fn[t];if("function"!=typeof n||!(t in Un.prototype))return!1;if(e===n)return!0;var r=no(n);return!!r&&e===r[0]}(Sn&&fo(new Sn(new ArrayBuffer(1)))!=A||xn&&fo(new xn)!=_||En&&fo(En.resolve())!=x||kn&&fo(new kn)!=k||Cn&&fo(new Cn)!=T)&&(fo=function(e){var t=xr(e),r=t==S?e.constructor:n,i=r?No(r):"";if(i)switch(i){case An:return A;case Mn:return _;case Ln:return x;case In:return k;case Rn:return T}return t});var _o=Me?Ja:ml;function wo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)}function So(e){return e==e&&!Qa(e)}function xo(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in Ee(r))}}function Eo(e,t,r){return t=gn(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=gn(n.length-t,0),a=be(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=be(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),wt(e,this,s)}}function ko(e,t){return t.length<2?e:wr(e,ei(t,0,-1))}function Co(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oo=Mo(Zr),To=ft||function(e,t){return ct.setTimeout(e,t)},Po=Mo(Xr);function Ao(e,t,n){var r=t+"";return Po(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(re,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return xt(d,(function(n){var r="_."+n[0];t&n[1]&&!Ot(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ie);return t?t[1].split(oe):[]}(r),n)))}function Mo(e){var t=0,r=0;return function(){var i=yn(),o=16-(i-r);if(r=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Lo(e,t){var r=-1,i=e.length,o=i-1;for(t=t===n?i:t;++r<t;){var a=qr(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var Io,Ro,Do=(Io=Ia((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(X,(function(e,n,r,i){t.push(r?i.replace(le,"$1"):n||e)})),t}),(function(e){return 500===Ro.size&&Ro.clear(),e})),Ro=Io.cache,Io);function jo(e){if("string"==typeof e||ss(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function No(e){if(null!=e){try{return Le.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Fo(e){if(e instanceof Un)return e.clone();var t=new $n(e.__wrapped__,e.__chain__);return t.__actions__=Ci(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Bo=Kr((function(e,t){return Va(e)?cr(e,mr(t,1,Va,!0)):[]})),zo=Kr((function(e,t){var r=Yo(t);return Va(r)&&(r=n),Va(e)?cr(e,mr(t,1,Va,!0),oo(r,2)):[]})),$o=Kr((function(e,t){var r=Yo(t);return Va(r)&&(r=n),Va(e)?cr(e,mr(t,1,Va,!0),n,r):[]}));function Uo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ps(n);return i<0&&(i=gn(r+i,0)),jt(e,oo(t,3),i)}function Ho(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i-1;return r!==n&&(o=ps(r),o=r<0?gn(i+o,0):vn(o,i-1)),jt(e,oo(t,3),o,!0)}function Wo(e){return null!=e&&e.length?mr(e,1):[]}function qo(e){return e&&e.length?e[0]:n}var Vo=Kr((function(e){var t=Pt(e,hi);return t.length&&t[0]===e[0]?Or(t):[]})),Ko=Kr((function(e){var t=Yo(e),r=Pt(e,hi);return t===Yo(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Or(r,oo(t,2)):[]})),Go=Kr((function(e){var t=Yo(e),r=Pt(e,hi);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Or(r,n,t):[]}));function Yo(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Jo=Kr(Zo);function Zo(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var Xo=Qi((function(e,t){var n=null==e?0:e.length,r=ir(e,t);return Wr(e,Pt(t,(function(e){return go(e,n)?+e:e})).sort(xi)),r}));function Qo(e){return null==e?e:wn.call(e)}var ea=Kr((function(e){return si(mr(e,1,Va,!0))})),ta=Kr((function(e){var t=Yo(e);return Va(t)&&(t=n),si(mr(e,1,Va,!0),oo(t,2))})),na=Kr((function(e){var t=Yo(e);return t="function"==typeof t?t:n,si(mr(e,1,Va,!0),n,t)}));function ra(e){if(!e||!e.length)return[];var t=0;return e=Ct(e,(function(e){if(Va(e))return t=gn(e.length,t),!0})),qt(t,(function(t){return Pt(e,$t(t))}))}function ia(e,t){if(!e||!e.length)return[];var r=ra(e);return null==t?r:Pt(r,(function(e){return wt(t,n,e)}))}var oa=Kr((function(e,t){return Va(e)?cr(e,t):[]})),aa=Kr((function(e){return di(Ct(e,Va))})),sa=Kr((function(e){var t=Yo(e);return Va(t)&&(t=n),di(Ct(e,Va),oo(t,2))})),la=Kr((function(e){var t=Yo(e);return t="function"==typeof t?t:n,di(Ct(e,Va),n,t)})),ca=Kr(ra),ua=Kr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)}));function fa(e){var t=Fn(e);return t.__chain__=!0,t}function da(e,t){return t(e)}var pa=Qi((function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,o=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Un&&go(r)?((i=i.slice(r,+r+(t?1:0))).__actions__.push({func:da,args:[o],thisArg:n}),new $n(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(o)})),ha=Ti((function(e,t,n){Ie.call(e,n)?++e[n]:rr(e,n,1)})),ma=Di(Uo),ga=Di(Ho);function va(e,t){return(Ha(e)?xt:ur)(e,oo(t,3))}function ya(e,t){return(Ha(e)?Et:fr)(e,oo(t,3))}var ba=Ti((function(e,t,n){Ie.call(e,n)?e[n].push(t):rr(e,n,[t])})),_a=Kr((function(e,t,n){var r=-1,i="function"==typeof t,o=qa(e)?be(e.length):[];return ur(e,(function(e){o[++r]=i?wt(t,e,n):Tr(e,t,n)})),o})),wa=Ti((function(e,t,n){rr(e,n,t)}));function Sa(e,t){return(Ha(e)?Pt:jr)(e,oo(t,3))}var xa=Ti((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ea=Kr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&vo(e,t[0],t[1])?t=[]:n>2&&vo(t[0],t[1],t[2])&&(t=[t[0]]),$r(e,mr(t,1),[])})),ka=ut||function(){return ct.Date.now()};function Ca(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Gi(e,s,n,n,n,n,t)}function Oa(e,t){var i;if("function"!=typeof t)throw new Oe(r);return e=ps(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var Ta=Kr((function(e,t,n){var r=1;if(n.length){var i=on(n,io(Ta));r|=a}return Gi(e,r,t,n,i)})),Pa=Kr((function(e,t,n){var r=3;if(n.length){var i=on(n,io(Pa));r|=a}return Gi(t,r,e,n,i)}));function Aa(e,t,i){var o,a,s,l,c,u,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Oe(r);function m(t){var r=o,i=a;return o=a=n,f=t,l=e.apply(i,r)}function g(e){var r=e-u;return u===n||r>=t||r<0||p&&e-f>=s}function v(){var e=ka();if(g(e))return y(e);c=To(v,function(e){var n=t-(e-u);return p?vn(n,s-(e-f)):n}(e))}function y(e){return c=n,h&&o?m(e):(o=a=n,l)}function b(){var e=ka(),r=g(e);if(o=arguments,a=this,u=e,r){if(c===n)return function(e){return f=e,c=To(v,t),d?m(e):l}(u);if(p)return bi(c),c=To(v,t),m(u)}return c===n&&(c=To(v,t)),l}return t=ms(t)||0,Qa(i)&&(d=!!i.leading,s=(p="maxWait"in i)?gn(ms(i.maxWait)||0,t):s,h="trailing"in i?!!i.trailing:h),b.cancel=function(){c!==n&&bi(c),f=0,o=u=a=c=n},b.flush=function(){return c===n?l:y(ka())},b}var Ma=Kr((function(e,t){return lr(e,1,t)})),La=Kr((function(e,t,n){return lr(e,ms(t)||0,n)}));function Ia(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ia.Cache||qn),n}function Ra(e){if("function"!=typeof e)throw new Oe(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ia.Cache=qn;var Da=vi((function(e,t){var n=(t=1==t.length&&Ha(t[0])?Pt(t[0],Kt(oo())):Pt(mr(t,1),Kt(oo()))).length;return Kr((function(r){for(var i=-1,o=vn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return wt(e,this,r)}))})),ja=Kr((function(e,t){var r=on(t,io(ja));return Gi(e,a,n,t,r)})),Na=Kr((function(e,t){var r=on(t,io(Na));return Gi(e,64,n,t,r)})),Fa=Qi((function(e,t){return Gi(e,256,n,n,n,t)}));function Ba(e,t){return e===t||e!=e&&t!=t}var za=Hi(Er),$a=Hi((function(e,t){return e>=t})),Ua=Pr(function(){return arguments}())?Pr:function(e){return es(e)&&Ie.call(e,"callee")&&!Ve.call(e,"callee")},Ha=be.isArray,Wa=mt?Kt(mt):function(e){return es(e)&&xr(e)==P};function qa(e){return null!=e&&Xa(e.length)&&!Ja(e)}function Va(e){return es(e)&&qa(e)}var Ka=Ut||ml,Ga=gt?Kt(gt):function(e){return es(e)&&xr(e)==g};function Ya(e){if(!es(e))return!1;var t=xr(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Ja(e){if(!Qa(e))return!1;var t=xr(e);return t==y||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Za(e){return"number"==typeof e&&e==ps(e)}function Xa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function Qa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function es(e){return null!=e&&"object"==typeof e}var ts=vt?Kt(vt):function(e){return es(e)&&fo(e)==_};function ns(e){return"number"==typeof e||es(e)&&xr(e)==w}function rs(e){if(!es(e)||xr(e)!=S)return!1;var t=We(e);if(null===t)return!0;var n=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Le.call(n)==Ne}var is=yt?Kt(yt):function(e){return es(e)&&xr(e)==E},os=bt?Kt(bt):function(e){return es(e)&&fo(e)==k};function as(e){return"string"==typeof e||!Ha(e)&&es(e)&&xr(e)==C}function ss(e){return"symbol"==typeof e||es(e)&&xr(e)==O}var ls=_t?Kt(_t):function(e){return es(e)&&Xa(e.length)&&!!nt[xr(e)]},cs=Hi(Dr),us=Hi((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(qa(e))return as(e)?cn(e):Ci(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=fo(e);return(t==_?nn:t==k?an:Bs)(e)}function ds(e){return e?(e=ms(e))===l||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ps(e){var t=ds(e),n=t%1;return t==t?n?t-n:t:0}function hs(e){return e?or(ps(e),0,f):0}function ms(e){if("number"==typeof e)return e;if(ss(e))return u;if(Qa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Vt(e);var n=de.test(e);return n||he.test(e)?at(e.slice(2),n?2:8):fe.test(e)?u:+e}function gs(e){return Oi(e,Ms(e))}function vs(e){return null==e?"":ai(e)}var ys=Pi((function(e,t){if(wo(t)||qa(t))Oi(t,As(t),e);else for(var n in t)Ie.call(t,n)&&Qn(e,n,t[n])})),bs=Pi((function(e,t){Oi(t,Ms(t),e)})),_s=Pi((function(e,t,n,r){Oi(t,Ms(t),e,r)})),ws=Pi((function(e,t,n,r){Oi(t,As(t),e,r)})),Ss=Qi(ir),xs=Kr((function(e,t){e=Ee(e);var r=-1,i=t.length,o=i>2?t[2]:n;for(o&&vo(t[0],t[1],o)&&(i=1);++r<i;)for(var a=t[r],s=Ms(a),l=-1,c=s.length;++l<c;){var u=s[l],f=e[u];(f===n||Ba(f,Ae[u])&&!Ie.call(e,u))&&(e[u]=a[u])}return e})),Es=Kr((function(e){return e.push(n,Ji),wt(Is,n,e)}));function ks(e,t,r){var i=null==e?n:wr(e,t);return i===n?r:i}function Cs(e,t){return null!=e&&po(e,t,Cr)}var Os=Fi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),e[t]=n}),Qs(nl)),Ts=Fi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),Ie.call(e,t)?e[t].push(n):e[t]=[n]}),oo),Ps=Kr(Tr);function As(e){return qa(e)?Gn(e):Rr(e)}function Ms(e){return qa(e)?Gn(e,!0):function(e){if(!Qa(e))return function(e){var t=[];if(null!=e)for(var n in Ee(e))t.push(n);return t}(e);var t=wo(e),n=[];for(var r in e)("constructor"!=r||!t&&Ie.call(e,r))&&n.push(r);return n}(e)}var Ls=Pi((function(e,t,n){Br(e,t,n)})),Is=Pi((function(e,t,n,r){Br(e,t,n,r)})),Rs=Qi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Pt(t,(function(t){return t=gi(t,e),r||(r=t.length>1),t})),Oi(e,to(e),n),r&&(n=ar(n,7,Zi));for(var i=t.length;i--;)li(n,t[i]);return n})),Ds=Qi((function(e,t){return null==e?{}:function(e,t){return Ur(e,t,(function(t,n){return Cs(e,n)}))}(e,t)}));function js(e,t){if(null==e)return{};var n=Pt(to(e),(function(e){return[e]}));return t=oo(t),Ur(e,n,(function(e,n){return t(e,n[0])}))}var Ns=Ki(As),Fs=Ki(Ms);function Bs(e){return null==e?[]:Gt(e,As(e))}var zs=Ii((function(e,t,n){return t=t.toLowerCase(),e+(n?$s(t):t)}));function $s(e){return Ys(vs(e).toLowerCase())}function Us(e){return(e=vs(e))&&e.replace(ge,Xt).replace(Ye,"")}var Hs=Ii((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ws=Ii((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qs=Li("toLowerCase"),Vs=Ii((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ks=Ii((function(e,t,n){return e+(n?" ":"")+Ys(t)})),Gs=Ii((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=Li("toUpperCase");function Js(e,t,r){return e=vs(e),(t=r?n:t)===n?function(e){return Qe.test(e)}(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.match(ae)||[]}(e):e.match(t)||[]}var Zs=Kr((function(e,t){try{return wt(e,n,t)}catch(e){return Ya(e)?e:new we(e)}})),Xs=Qi((function(e,t){return xt(t,(function(t){t=jo(t),rr(e,t,Ta(e[t],e))})),e}));function Qs(e){return function(){return e}}var el=ji(),tl=ji(!0);function nl(e){return e}function rl(e){return Ir("function"==typeof e?e:ar(e,1))}var il=Kr((function(e,t){return function(n){return Tr(n,e,t)}})),ol=Kr((function(e,t){return function(n){return Tr(e,n,t)}}));function al(e,t,n){var r=As(t),i=_r(t,r);null!=n||Qa(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=_r(t,As(t)));var o=!(Qa(n)&&"chain"in n&&!n.chain),a=Ja(e);return xt(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Ci(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,At([this.value()],arguments))})})),e}function sl(){}var ll=zi(Pt),cl=zi(kt),ul=zi(It);function fl(e){return yo(e)?$t(jo(e)):function(e){return function(t){return wr(t,e)}}(e)}var dl=Ui(),pl=Ui(!0);function hl(){return[]}function ml(){return!1}var gl,vl=Bi((function(e,t){return e+t}),0),yl=qi("ceil"),bl=Bi((function(e,t){return e/t}),1),_l=qi("floor"),wl=Bi((function(e,t){return e*t}),1),Sl=qi("round"),xl=Bi((function(e,t){return e-t}),0);return Fn.after=function(e,t){if("function"!=typeof t)throw new Oe(r);return e=ps(e),function(){if(--e<1)return t.apply(this,arguments)}},Fn.ary=Ca,Fn.assign=ys,Fn.assignIn=bs,Fn.assignInWith=_s,Fn.assignWith=ws,Fn.at=Ss,Fn.before=Oa,Fn.bind=Ta,Fn.bindAll=Xs,Fn.bindKey=Pa,Fn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ha(e)?e:[e]},Fn.chain=fa,Fn.chunk=function(e,t,r){t=(r?vo(e,t,r):t===n)?1:gn(ps(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=be(pt(i/t));o<i;)s[a++]=ei(e,o,o+=t);return s},Fn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Fn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=be(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return At(Ha(n)?Ci(n):[n],mr(t,1))},Fn.cond=function(e){var t=null==e?0:e.length,n=oo();return e=t?Pt(e,(function(e){if("function"!=typeof e[1])throw new Oe(r);return[n(e[0]),e[1]]})):[],Kr((function(n){for(var r=-1;++r<t;){var i=e[r];if(wt(i[0],this,n))return wt(i[1],this,n)}}))},Fn.conforms=function(e){return function(e){var t=As(e);return function(n){return sr(n,e,t)}}(ar(e,1))},Fn.constant=Qs,Fn.countBy=ha,Fn.create=function(e,t){var n=Bn(e);return null==t?n:nr(n,t)},Fn.curry=function e(t,r,i){var o=Gi(t,8,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},Fn.curryRight=function e(t,r,i){var o=Gi(t,16,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},Fn.debounce=Aa,Fn.defaults=xs,Fn.defaultsDeep=Es,Fn.defer=Ma,Fn.delay=La,Fn.difference=Bo,Fn.differenceBy=zo,Fn.differenceWith=$o,Fn.drop=function(e,t,r){var i=null==e?0:e.length;return i?ei(e,(t=r||t===n?1:ps(t))<0?0:t,i):[]},Fn.dropRight=function(e,t,r){var i=null==e?0:e.length;return i?ei(e,0,(t=i-(t=r||t===n?1:ps(t)))<0?0:t):[]},Fn.dropRightWhile=function(e,t){return e&&e.length?ui(e,oo(t,3),!0,!0):[]},Fn.dropWhile=function(e,t){return e&&e.length?ui(e,oo(t,3),!0):[]},Fn.fill=function(e,t,r,i){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&vo(e,t,r)&&(r=0,i=o),function(e,t,r,i){var o=e.length;for((r=ps(r))<0&&(r=-r>o?0:o+r),(i=i===n||i>o?o:ps(i))<0&&(i+=o),i=r>i?0:hs(i);r<i;)e[r++]=t;return e}(e,t,r,i)):[]},Fn.filter=function(e,t){return(Ha(e)?Ct:hr)(e,oo(t,3))},Fn.flatMap=function(e,t){return mr(Sa(e,t),1)},Fn.flatMapDeep=function(e,t){return mr(Sa(e,t),l)},Fn.flatMapDepth=function(e,t,r){return r=r===n?1:ps(r),mr(Sa(e,t),r)},Fn.flatten=Wo,Fn.flattenDeep=function(e){return null!=e&&e.length?mr(e,l):[]},Fn.flattenDepth=function(e,t){return null!=e&&e.length?mr(e,t=t===n?1:ps(t)):[]},Fn.flip=function(e){return Gi(e,512)},Fn.flow=el,Fn.flowRight=tl,Fn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Fn.functions=function(e){return null==e?[]:_r(e,As(e))},Fn.functionsIn=function(e){return null==e?[]:_r(e,Ms(e))},Fn.groupBy=ba,Fn.initial=function(e){return null!=e&&e.length?ei(e,0,-1):[]},Fn.intersection=Vo,Fn.intersectionBy=Ko,Fn.intersectionWith=Go,Fn.invert=Os,Fn.invertBy=Ts,Fn.invokeMap=_a,Fn.iteratee=rl,Fn.keyBy=wa,Fn.keys=As,Fn.keysIn=Ms,Fn.map=Sa,Fn.mapKeys=function(e,t){var n={};return t=oo(t,3),yr(e,(function(e,r,i){rr(n,t(e,r,i),e)})),n},Fn.mapValues=function(e,t){var n={};return t=oo(t,3),yr(e,(function(e,r,i){rr(n,r,t(e,r,i))})),n},Fn.matches=function(e){return Nr(ar(e,1))},Fn.matchesProperty=function(e,t){return Fr(e,ar(t,1))},Fn.memoize=Ia,Fn.merge=Ls,Fn.mergeWith=Is,Fn.method=il,Fn.methodOf=ol,Fn.mixin=al,Fn.negate=Ra,Fn.nthArg=function(e){return e=ps(e),Kr((function(t){return zr(t,e)}))},Fn.omit=Rs,Fn.omitBy=function(e,t){return js(e,Ra(oo(t)))},Fn.once=function(e){return Oa(2,e)},Fn.orderBy=function(e,t,r,i){return null==e?[]:(Ha(t)||(t=null==t?[]:[t]),Ha(r=i?n:r)||(r=null==r?[]:[r]),$r(e,t,r))},Fn.over=ll,Fn.overArgs=Da,Fn.overEvery=cl,Fn.overSome=ul,Fn.partial=ja,Fn.partialRight=Na,Fn.partition=xa,Fn.pick=Ds,Fn.pickBy=js,Fn.property=fl,Fn.propertyOf=function(e){return function(t){return null==e?n:wr(e,t)}},Fn.pull=Jo,Fn.pullAll=Zo,Fn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,oo(n,2)):e},Fn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Hr(e,t,n,r):e},Fn.pullAt=Xo,Fn.range=dl,Fn.rangeRight=pl,Fn.rearg=Fa,Fn.reject=function(e,t){return(Ha(e)?Ct:hr)(e,Ra(oo(t,3)))},Fn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=oo(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Wr(e,i),n},Fn.rest=function(e,t){if("function"!=typeof e)throw new Oe(r);return Kr(e,t=t===n?t:ps(t))},Fn.reverse=Qo,Fn.sampleSize=function(e,t,r){return t=(r?vo(e,t,r):t===n)?1:ps(t),(Ha(e)?Jn:Yr)(e,t)},Fn.set=function(e,t,n){return null==e?e:Jr(e,t,n)},Fn.setWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:Jr(e,t,r,i)},Fn.shuffle=function(e){return(Ha(e)?Zn:Qr)(e)},Fn.slice=function(e,t,r){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&vo(e,t,r)?(t=0,r=i):(t=null==t?0:ps(t),r=r===n?i:ps(r)),ei(e,t,r)):[]},Fn.sortBy=Ea,Fn.sortedUniq=function(e){return e&&e.length?ii(e):[]},Fn.sortedUniqBy=function(e,t){return e&&e.length?ii(e,oo(t,2)):[]},Fn.split=function(e,t,r){return r&&"number"!=typeof r&&vo(e,t,r)&&(t=r=n),(r=r===n?f:r>>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=ai(t))&&tn(e)?yi(cn(e),0,r):e.split(t,r):[]},Fn.spread=function(e,t){if("function"!=typeof e)throw new Oe(r);return t=null==t?0:gn(ps(t),0),Kr((function(n){var r=n[t],i=yi(n,0,t);return r&&At(i,r),wt(e,this,i)}))},Fn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},Fn.take=function(e,t,r){return e&&e.length?ei(e,0,(t=r||t===n?1:ps(t))<0?0:t):[]},Fn.takeRight=function(e,t,r){var i=null==e?0:e.length;return i?ei(e,(t=i-(t=r||t===n?1:ps(t)))<0?0:t,i):[]},Fn.takeRightWhile=function(e,t){return e&&e.length?ui(e,oo(t,3),!1,!0):[]},Fn.takeWhile=function(e,t){return e&&e.length?ui(e,oo(t,3)):[]},Fn.tap=function(e,t){return t(e),e},Fn.throttle=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new Oe(r);return Qa(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),Aa(e,t,{leading:i,maxWait:t,trailing:o})},Fn.thru=da,Fn.toArray=fs,Fn.toPairs=Ns,Fn.toPairsIn=Fs,Fn.toPath=function(e){return Ha(e)?Pt(e,jo):ss(e)?[e]:Ci(Do(vs(e)))},Fn.toPlainObject=gs,Fn.transform=function(e,t,n){var r=Ha(e),i=r||Ka(e)||ls(e);if(t=oo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Qa(e)&&Ja(o)?Bn(We(e)):{}}return(i?xt:yr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Fn.unary=function(e){return Ca(e,1)},Fn.union=ea,Fn.unionBy=ta,Fn.unionWith=na,Fn.uniq=function(e){return e&&e.length?si(e):[]},Fn.uniqBy=function(e,t){return e&&e.length?si(e,oo(t,2)):[]},Fn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?si(e,n,t):[]},Fn.unset=function(e,t){return null==e||li(e,t)},Fn.unzip=ra,Fn.unzipWith=ia,Fn.update=function(e,t,n){return null==e?e:ci(e,t,mi(n))},Fn.updateWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:ci(e,t,mi(r),i)},Fn.values=Bs,Fn.valuesIn=function(e){return null==e?[]:Gt(e,Ms(e))},Fn.without=oa,Fn.words=Js,Fn.wrap=function(e,t){return ja(mi(t),e)},Fn.xor=aa,Fn.xorBy=sa,Fn.xorWith=la,Fn.zip=ca,Fn.zipObject=function(e,t){return pi(e||[],t||[],Qn)},Fn.zipObjectDeep=function(e,t){return pi(e||[],t||[],Jr)},Fn.zipWith=ua,Fn.entries=Ns,Fn.entriesIn=Fs,Fn.extend=bs,Fn.extendWith=_s,al(Fn,Fn),Fn.add=vl,Fn.attempt=Zs,Fn.camelCase=zs,Fn.capitalize=$s,Fn.ceil=yl,Fn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=ms(r))==r?r:0),t!==n&&(t=(t=ms(t))==t?t:0),or(ms(e),t,r)},Fn.clone=function(e){return ar(e,4)},Fn.cloneDeep=function(e){return ar(e,5)},Fn.cloneDeepWith=function(e,t){return ar(e,5,t="function"==typeof t?t:n)},Fn.cloneWith=function(e,t){return ar(e,4,t="function"==typeof t?t:n)},Fn.conformsTo=function(e,t){return null==t||sr(e,t,As(t))},Fn.deburr=Us,Fn.defaultTo=function(e,t){return null==e||e!=e?t:e},Fn.divide=bl,Fn.endsWith=function(e,t,r){e=vs(e),t=ai(t);var i=e.length,o=r=r===n?i:or(ps(r),0,i);return(r-=t.length)>=0&&e.slice(r,o)==t},Fn.eq=Ba,Fn.escape=function(e){return(e=vs(e))&&V.test(e)?e.replace(W,Qt):e},Fn.escapeRegExp=function(e){return(e=vs(e))&&ee.test(e)?e.replace(Q,"\\$&"):e},Fn.every=function(e,t,r){var i=Ha(e)?kt:dr;return r&&vo(e,t,r)&&(t=n),i(e,oo(t,3))},Fn.find=ma,Fn.findIndex=Uo,Fn.findKey=function(e,t){return Dt(e,oo(t,3),yr)},Fn.findLast=ga,Fn.findLastIndex=Ho,Fn.findLastKey=function(e,t){return Dt(e,oo(t,3),br)},Fn.floor=_l,Fn.forEach=va,Fn.forEachRight=ya,Fn.forIn=function(e,t){return null==e?e:gr(e,oo(t,3),Ms)},Fn.forInRight=function(e,t){return null==e?e:vr(e,oo(t,3),Ms)},Fn.forOwn=function(e,t){return e&&yr(e,oo(t,3))},Fn.forOwnRight=function(e,t){return e&&br(e,oo(t,3))},Fn.get=ks,Fn.gt=za,Fn.gte=$a,Fn.has=function(e,t){return null!=e&&po(e,t,kr)},Fn.hasIn=Cs,Fn.head=qo,Fn.identity=nl,Fn.includes=function(e,t,n,r){e=qa(e)?e:Bs(e),n=n&&!r?ps(n):0;var i=e.length;return n<0&&(n=gn(i+n,0)),as(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Nt(e,t,n)>-1},Fn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ps(n);return i<0&&(i=gn(r+i,0)),Nt(e,t,i)},Fn.inRange=function(e,t,r){return t=ds(t),r===n?(r=t,t=0):r=ds(r),function(e,t,n){return e>=vn(t,n)&&e<gn(t,n)}(e=ms(e),t,r)},Fn.invoke=Ps,Fn.isArguments=Ua,Fn.isArray=Ha,Fn.isArrayBuffer=Wa,Fn.isArrayLike=qa,Fn.isArrayLikeObject=Va,Fn.isBoolean=function(e){return!0===e||!1===e||es(e)&&xr(e)==m},Fn.isBuffer=Ka,Fn.isDate=Ga,Fn.isElement=function(e){return es(e)&&1===e.nodeType&&!rs(e)},Fn.isEmpty=function(e){if(null==e)return!0;if(qa(e)&&(Ha(e)||"string"==typeof e||"function"==typeof e.splice||Ka(e)||ls(e)||Ua(e)))return!e.length;var t=fo(e);if(t==_||t==k)return!e.size;if(wo(e))return!Rr(e).length;for(var n in e)if(Ie.call(e,n))return!1;return!0},Fn.isEqual=function(e,t){return Ar(e,t)},Fn.isEqualWith=function(e,t,r){var i=(r="function"==typeof r?r:n)?r(e,t):n;return i===n?Ar(e,t,n,r):!!i},Fn.isError=Ya,Fn.isFinite=function(e){return"number"==typeof e&&pn(e)},Fn.isFunction=Ja,Fn.isInteger=Za,Fn.isLength=Xa,Fn.isMap=ts,Fn.isMatch=function(e,t){return e===t||Mr(e,t,so(t))},Fn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Mr(e,t,so(t),r)},Fn.isNaN=function(e){return ns(e)&&e!=+e},Fn.isNative=function(e){if(_o(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(e)},Fn.isNil=function(e){return null==e},Fn.isNull=function(e){return null===e},Fn.isNumber=ns,Fn.isObject=Qa,Fn.isObjectLike=es,Fn.isPlainObject=rs,Fn.isRegExp=is,Fn.isSafeInteger=function(e){return Za(e)&&e>=-9007199254740991&&e<=c},Fn.isSet=os,Fn.isString=as,Fn.isSymbol=ss,Fn.isTypedArray=ls,Fn.isUndefined=function(e){return e===n},Fn.isWeakMap=function(e){return es(e)&&fo(e)==T},Fn.isWeakSet=function(e){return es(e)&&"[object WeakSet]"==xr(e)},Fn.join=function(e,t){return null==e?"":hn.call(e,t)},Fn.kebabCase=Hs,Fn.last=Yo,Fn.lastIndexOf=function(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i;return r!==n&&(o=(o=ps(r))<0?gn(i+o,0):vn(o,i-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):jt(e,Bt,o,!0)},Fn.lowerCase=Ws,Fn.lowerFirst=qs,Fn.lt=cs,Fn.lte=us,Fn.max=function(e){return e&&e.length?pr(e,nl,Er):n},Fn.maxBy=function(e,t){return e&&e.length?pr(e,oo(t,2),Er):n},Fn.mean=function(e){return zt(e,nl)},Fn.meanBy=function(e,t){return zt(e,oo(t,2))},Fn.min=function(e){return e&&e.length?pr(e,nl,Dr):n},Fn.minBy=function(e,t){return e&&e.length?pr(e,oo(t,2),Dr):n},Fn.stubArray=hl,Fn.stubFalse=ml,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=wl,Fn.nth=function(e,t){return e&&e.length?zr(e,ps(t)):n},Fn.noConflict=function(){return ct._===this&&(ct._=Fe),this},Fn.noop=sl,Fn.now=ka,Fn.pad=function(e,t,n){e=vs(e);var r=(t=ps(t))?ln(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return $i(ht(i),n)+e+$i(pt(i),n)},Fn.padEnd=function(e,t,n){e=vs(e);var r=(t=ps(t))?ln(e):0;return t&&r<t?e+$i(t-r,n):e},Fn.padStart=function(e,t,n){e=vs(e);var r=(t=ps(t))?ln(e):0;return t&&r<t?$i(t-r,n)+e:e},Fn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(vs(e).replace(te,""),t||0)},Fn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&vo(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=ds(e),t===n?(t=e,e=0):t=ds(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var o=_n();return vn(e+o*(t-e+ot("1e-"+((o+"").length-1))),t)}return qr(e,t)},Fn.reduce=function(e,t,n){var r=Ha(e)?Mt:Ht,i=arguments.length<3;return r(e,oo(t,4),n,i,ur)},Fn.reduceRight=function(e,t,n){var r=Ha(e)?Lt:Ht,i=arguments.length<3;return r(e,oo(t,4),n,i,fr)},Fn.repeat=function(e,t,r){return t=(r?vo(e,t,r):t===n)?1:ps(t),Vr(vs(e),t)},Fn.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fn.result=function(e,t,r){var i=-1,o=(t=gi(t,e)).length;for(o||(o=1,e=n);++i<o;){var a=null==e?n:e[jo(t[i])];a===n&&(i=o,a=r),e=Ja(a)?a.call(e):a}return e},Fn.round=Sl,Fn.runInContext=e,Fn.sample=function(e){return(Ha(e)?Yn:Gr)(e)},Fn.size=function(e){if(null==e)return 0;if(qa(e))return as(e)?ln(e):e.length;var t=fo(e);return t==_||t==k?e.size:Rr(e).length},Fn.snakeCase=Vs,Fn.some=function(e,t,r){var i=Ha(e)?It:ti;return r&&vo(e,t,r)&&(t=n),i(e,oo(t,3))},Fn.sortedIndex=function(e,t){return ni(e,t)},Fn.sortedIndexBy=function(e,t,n){return ri(e,t,oo(n,2))},Fn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ni(e,t);if(r<n&&Ba(e[r],t))return r}return-1},Fn.sortedLastIndex=function(e,t){return ni(e,t,!0)},Fn.sortedLastIndexBy=function(e,t,n){return ri(e,t,oo(n,2),!0)},Fn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ni(e,t,!0)-1;if(Ba(e[n],t))return n}return-1},Fn.startCase=Ks,Fn.startsWith=function(e,t,n){return e=vs(e),n=null==n?0:or(ps(n),0,e.length),t=ai(t),e.slice(n,n+t.length)==t},Fn.subtract=xl,Fn.sum=function(e){return e&&e.length?Wt(e,nl):0},Fn.sumBy=function(e,t){return e&&e.length?Wt(e,oo(t,2)):0},Fn.template=function(e,t,r){var i=Fn.templateSettings;r&&vo(e,t,r)&&(t=n),e=vs(e),t=_s({},t,i,Yi);var o,a,s=_s({},t.imports,i.imports,Yi),l=As(s),c=Gt(s,l),u=0,f=t.interpolate||ve,d="__p += '",p=ke((t.escape||ve).source+"|"+f.source+"|"+(f===Y?ce:ve).source+"|"+(t.evaluate||ve).source+"|$","g"),h="//# sourceURL="+(Ie.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tt+"]")+"\n";e.replace(p,(function(t,n,r,i,s,l){return r||(r=i),d+=e.slice(u,l).replace(ye,en),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),d+="';\n";var m=Ie.call(t,"variable")&&t.variable;if(m){if(se.test(m))throw new we("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(z,""):d).replace($,"$1").replace(U,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Zs((function(){return Se(l,h+"return "+d).apply(n,c)}));if(g.source=d,Ya(g))throw g;return g},Fn.times=function(e,t){if((e=ps(e))<1||e>c)return[];var n=f,r=vn(e,f);t=oo(t),e-=f;for(var i=qt(r,t);++n<e;)t(n);return i},Fn.toFinite=ds,Fn.toInteger=ps,Fn.toLength=hs,Fn.toLower=function(e){return vs(e).toLowerCase()},Fn.toNumber=ms,Fn.toSafeInteger=function(e){return e?or(ps(e),-9007199254740991,c):0===e?e:0},Fn.toString=vs,Fn.toUpper=function(e){return vs(e).toUpperCase()},Fn.trim=function(e,t,r){if((e=vs(e))&&(r||t===n))return Vt(e);if(!e||!(t=ai(t)))return e;var i=cn(e),o=cn(t);return yi(i,Jt(i,o),Zt(i,o)+1).join("")},Fn.trimEnd=function(e,t,r){if((e=vs(e))&&(r||t===n))return e.slice(0,un(e)+1);if(!e||!(t=ai(t)))return e;var i=cn(e);return yi(i,0,Zt(i,cn(t))+1).join("")},Fn.trimStart=function(e,t,r){if((e=vs(e))&&(r||t===n))return e.replace(te,"");if(!e||!(t=ai(t)))return e;var i=cn(e);return yi(i,Jt(i,cn(t))).join("")},Fn.truncate=function(e,t){var r=30,i="...";if(Qa(t)){var o="separator"in t?t.separator:o;r="length"in t?ps(t.length):r,i="omission"in t?ai(t.omission):i}var a=(e=vs(e)).length;if(tn(e)){var s=cn(e);a=s.length}if(r>=a)return e;var l=r-ln(i);if(l<1)return i;var c=s?yi(s,0,l).join(""):e.slice(0,l);if(o===n)return c+i;if(s&&(l+=c.length-l),is(o)){if(e.slice(l).search(o)){var u,f=c;for(o.global||(o=ke(o.source,vs(ue.exec(o))+"g")),o.lastIndex=0;u=o.exec(f);)var d=u.index;c=c.slice(0,d===n?l:d)}}else if(e.indexOf(ai(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+i},Fn.unescape=function(e){return(e=vs(e))&&q.test(e)?e.replace(H,fn):e},Fn.uniqueId=function(e){var t=++Re;return vs(e)+t},Fn.upperCase=Gs,Fn.upperFirst=Ys,Fn.each=va,Fn.eachRight=ya,Fn.first=qo,al(Fn,(gl={},yr(Fn,(function(e,t){Ie.call(Fn.prototype,t)||(gl[t]=e)})),gl),{chain:!1}),Fn.VERSION="4.17.21",xt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fn[e].placeholder=Fn})),xt(["drop","take"],(function(e,t){Un.prototype[e]=function(r){r=r===n?1:gn(ps(r),0);var i=this.__filtered__&&!t?new Un(this):this.clone();return i.__filtered__?i.__takeCount__=vn(r,i.__takeCount__):i.__views__.push({size:vn(r,f),type:e+(i.__dir__<0?"Right":"")}),i},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),xt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:oo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),xt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),xt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(nl)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=Kr((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return Tr(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Ra(oo(e)))},Un.prototype.slice=function(e,t){e=ps(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Un(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=ps(t))<0?r.dropRight(-t):r.take(t-e)),r)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(f)},yr(Un.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=Fn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(Fn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Un,c=s[0],u=l||Ha(t),f=function(e){var t=o.apply(Fn,At([e],s));return i&&d?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&u){t=m?t:new Un(this);var g=e.apply(t,s);return g.__actions__.push({func:da,args:[f],thisArg:n}),new $n(g,d)}return h&&m?e.apply(this,s):(g=this.thru(f),h?i?g.value()[0]:g.value():g)})})),xt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Fn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ha(i)?i:[],e)}return this[n]((function(n){return t.apply(Ha(n)?n:[],e)}))}})),yr(Un.prototype,(function(e,t){var n=Fn[t];if(n){var r=n.name+"";Ie.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}})),Pn[Ni(n,2).name]=[{name:"wrapper",func:n}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=Ci(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ci(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ci(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ha(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=vn(t,e+a);break;case"takeRight":e=gn(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,f=u.length,d=0,p=vn(l,this.__takeCount__);if(!n||!r&&i==l&&p==l)return fi(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var m=-1,g=e[c+=t];++m<f;){var v=u[m],y=v.iteratee,b=v.type,_=y(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}h[d++]=g}return h},Fn.prototype.at=pa,Fn.prototype.chain=function(){return fa(this)},Fn.prototype.commit=function(){return new $n(this.value(),this.__chain__)},Fn.prototype.next=function(){this.__values__===n&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Fn.prototype.plant=function(e){for(var t,r=this;r instanceof zn;){var i=Fo(r);i.__index__=0,i.__values__=n,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t},Fn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Un){var t=e;return this.__actions__.length&&(t=new Un(this)),(t=t.reverse()).__actions__.push({func:da,args:[Qo],thisArg:n}),new $n(t,this.__chain__)}return this.thru(Qo)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,Xe&&(Fn.prototype[Xe]=function(){return this}),Fn}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(ct._=dn,define((function(){return dn}))):ft?((ft.exports=dn)._=dn,ut._=dn):ct._=dn}.call(this)},20824:(e,t,n)=>{var r=n(76766),i=n(31035),o=n(79206),a=n(3139);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},33378:(e,t,n)=>{var r=n(20386),i=n(92843),o=n(31035);e.exports=function(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,i,t(e,i,o))})),n}},36982:(e,t,n)=>{var r=n(59319);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},46930:(e,t,n)=>{var r=n(70784),i=n(61277)((function(e,t,n){r(e,t,n)}));e.exports=i},88494:(e,t,n)=>{var r=n(70784),i=n(61277)((function(e,t,n,i){r(e,t,n,i)}));e.exports=i},6820:e=>{e.exports=function(){}},37534:(e,t,n)=>{var r=n(11971);e.exports=function(){return r.Date.now()}},76793:(e,t,n)=>{var r=n(76766),i=n(97345),o=n(97337),a=n(45939),s=n(15409),l=n(21260),c=n(25334),u=n(71615),f=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=i(n,7,l));for(var f=t.length;f--;)o(n,t[f]);return n}));e.exports=f},5660:(e,t,n)=>{var r=n(10074)((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));e.exports=r},88145:(e,t,n)=>{var r=n(82947),i=n(25334)((function(e,t){return null==e?{}:r(e,t)}));e.exports=i},85596:(e,t,n)=>{var r=n(76766),i=n(31035),o=n(13522),a=n(71615);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),(function(e){return[e]}));return t=i(t),o(e,n,(function(e,n){return t(e,n[0])}))}},24661:(e,t,n)=>{var r=n(25811),i=n(29885),o=n(78160),a=n(30123);e.exports=function(e){return o(e)?r(a(e)):i(e)}},80788:(e,t,n)=>{var r=n(24682);e.exports=function(e,t){return e&&e.length&&t&&t.length?r(e,t):e}},62423:(e,t,n)=>{var r=n(87454)();e.exports=r},61990:(e,t,n)=>{var r=n(98296),i=n(60051),o=n(31035),a=n(65664),s=n(3139);e.exports=function(e,t,n){var l=s(e)?r:a,c=arguments.length<3;return l(e,o(t,4),n,c,i)}},9185:(e,t,n)=>{var r=n(4510),i=n(40833),o=n(3056),a=n(77310),s=o((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])}));e.exports=s},59126:(e,t,n)=>{var r=n(21465),i=n(33610),o=r((function(e,t,n){return e+(n?" ":"")+i(t)}));e.exports=o},50693:(e,t,n)=>{var r=n(30879),i=n(19874),o=n(47015),a=n(11012);e.exports=function(e,t,n){return e=a(e),n=null==n?0:r(o(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}},16468:e=>{e.exports=function(){return[]}},54925:e=>{e.exports=function(){return!1}},25626:(e,t,n)=>{var r=n(40170),i=n(4783),o=n(81804),a=n(25660),s=n(35849),l=n(10204),c=n(77310),u=n(21576),f=n(76167),d=n(29195),p=n(11012),h=/\b__p \+= '';/g,m=/\b(__p \+=) '' \+/g,g=/(__e\(.*?\)|\b__t\)) \+\n'';/g,v=/[()=,{}\[\]\/\s]/,y=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,b=/($^)/,_=/['\n\r\u2028\u2029\\]/g,w=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var S=d.imports._.templateSettings||d;n&&c(e,t,n)&&(t=void 0),e=p(e),t=r({},t,S,a);var x,E,k=r({},t.imports,S.imports,a),C=u(k),O=o(k,C),T=0,P=t.interpolate||b,A="__p += '",M=RegExp((t.escape||b).source+"|"+P.source+"|"+(P===f?y:b).source+"|"+(t.evaluate||b).source+"|$","g"),L=w.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(M,(function(t,n,r,i,o,a){return r||(r=i),A+=e.slice(T,a).replace(_,s),n&&(x=!0,A+="' +\n__e("+n+") +\n'"),o&&(E=!0,A+="';\n"+o+";\n__p += '"),r&&(A+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),T=a+t.length,t})),A+="';\n";var I=w.call(t,"variable")&&t.variable;if(I){if(v.test(I))throw new Error("Invalid `variable` option passed into `_.template`")}else A="with (obj) {\n"+A+"\n}\n";A=(E?A.replace(h,""):A).replace(m,"$1").replace(g,"$1;"),A="function("+(I||"obj")+") {\n"+(I?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(x?", __e = _.escape":"")+(E?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+A+"return __p\n}";var R=i((function(){return Function(C,L+"return "+A).apply(void 0,O)}));if(R.source=A,l(R))throw R;return R}},29195:(e,t,n)=>{var r=n(79019),i={escape:n(69961),evaluate:n(33717),interpolate:n(76167),variable:"",imports:{_:{escape:r}}};e.exports=i},29918:(e,t,n)=>{var r=n(40640),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},47015:(e,t,n)=>{var r=n(29918);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},40640:(e,t,n)=>{var r=n(59742),i=n(84899),o=n(24324),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},74014:(e,t,n)=>{var r=n(76766),i=n(27557),o=n(3139),a=n(24324),s=n(62024),l=n(30123),c=n(11012);e.exports=function(e){return o(e)?r(e,l):a(e)?[e]:i(s(c(e)))}},63210:(e,t,n)=>{var r=n(15409),i=n(11940);e.exports=function(e){return r(e,i(e))}},11012:(e,t,n)=>{var r=n(19874);e.exports=function(e){return null==e?"":r(e)}},63965:(e,t,n)=>{var r=n(4510),i=n(3056),o=n(29235),a=n(80523),s=i((function(e){return o(r(e,1,a,!0))}));e.exports=s},48581:(e,t,n)=>{var r=n(29235);e.exports=function(e){return e&&e.length?r(e):[]}},50704:(e,t,n)=>{var r=n(31035),i=n(29235);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},15929:(e,t,n)=>{var r=n(29235);e.exports=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?r(e,void 0,t):[]}},33610:(e,t,n)=>{var r=n(46189)("toUpperCase");e.exports=r},20526:(e,t,n)=>{var r=n(72961),i=n(3056),o=n(80523),a=i((function(e,t){return o(e)?r(e,t):[]}));e.exports=a},54347:(e,t,n)=>{var r=n(11295),i=n(1648),o=n(11012),a=n(19479);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},56319:(e,t,n)=>{"use strict";const r=n(76625),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),f=Symbol("lruList"),d=Symbol("cache"),p=Symbol("updateAgeOnGet"),h=()=>1,m=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(y(e,r),!e[s])return}else n&&(e[p]&&(r.value.now=Date.now()),e[f].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},v=e=>{if(e[o]>e[i])for(let t=e[f].tail;e[o]>e[i]&&null!==t;){const n=t.prev;y(e,t),t=n}},y=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[f].removeNode(t)}};class b{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}}const _=(e,t,n,r)=>{let i=n.value;g(e,i)&&(y(e,n),e[s]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,v(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,v(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[o]=0,this[f].forEach((e=>{e.length=this[a](e.value,e.key),this[o]+=e.length}))),v(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let n=this[f].tail;null!==n;){const r=n.prev;_(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[f].head;null!==n;){const r=n.next;_(this,e,n,t),n=r}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){this[c]&&this[f]&&this[f].length&&this[f].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[f]=new r,this[o]=0}dump(){return this[f].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[a](t,e);if(this[d].has(e)){if(s>this[i])return y(this,this[d].get(e)),!1;const a=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[o]+=s-a.length,a.length=s,this.get(e),v(this),!0}const p=new b(e,t,s,r,n);return p.length>this[i]?(this[c]&&this[c](e,t),!1):(this[o]+=p.length,this[f].unshift(p),this[d].set(e,this[f].head),v(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[f].tail;return e?(y(this,e),e.value):null}del(e){y(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{const e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>m(this,t,!1)))}}},67074:(e,t,n)=>{"use strict";var r=n(1807),i=Object.create,o=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=0,a=1,s=i(null),l=i(null),c=0;return e=r(e),{hit:function(r){var i=l[r],u=++c;if(s[u]=r,l[r]=u,!i){if(++n<=e)return;return r=s[a],t(r),r}if(delete s[i],a===i)for(;!o.call(s,++a);)continue},delete:t=function(e){var t=l[e];if(t&&(delete s[t],delete l[e],--n,a===t)){if(!n)return c=0,void(a=1);for(;!o.call(s,++a);)continue}},clear:function(){n=0,a=1,s=i(null),l=i(null),c=0}}}},18488:(e,t,n)=>{"use strict";var r=n(19663),i=n(42144),o=n(47551),a=n(3279),s=n(96780),l=Array.prototype.slice,c=Function.prototype.apply,u=Object.create;n(36757).async=function(e,t){var n,f,d,p=u(null),h=u(null),m=t.memoized,g=t.original;t.memoized=a((function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(n=r,t=l.call(t,0,-1)),m.apply(f=this,d=t)}),m);try{o(t.memoized,m)}catch(e){}t.on("get",(function(e){var r,i,o;if(n){if(p[e])return"function"==typeof p[e]?p[e]=[p[e],n]:p[e].push(n),void(n=null);r=n,i=f,o=d,n=f=d=null,s((function(){var a;hasOwnProperty.call(h,e)?(a=h[e],t.emit("getasync",e,o,i),c.call(r,a.context,a.args)):(n=r,f=i,d=o,m.apply(i,o))}))}})),t.original=function(){var e,i,o,a;return n?(e=r(arguments),i=function e(n){var i,o,l=e.id;if(null!=l){if(delete e.id,i=p[l],delete p[l],i)return o=r(arguments),t.has(l)&&(n?t.delete(l):(h[l]={context:this,args:o},t.emit("setasync",l,"function"==typeof i?1:i.length))),"function"==typeof i?a=c.call(i,this,o):i.forEach((function(e){a=c.call(e,this,o)}),this),a}else s(c.bind(e,this,arguments))},o=n,n=f=d=null,e.push(i),a=c.call(g,this,e),i.cb=o,n=i,a):c.call(g,this,arguments)},t.on("set",(function(e){n?(p[e]?"function"==typeof p[e]?p[e]=[p[e],n.cb]:p[e].push(n.cb):p[e]=n.cb,delete n.cb,n.id=e,n=null):t.delete(e)})),t.on("delete",(function(e){var n;hasOwnProperty.call(p,e)||h[e]&&(n=h[e],delete h[e],t.emit("deleteasync",e,l.call(n.args,1)))})),t.on("clear",(function(){var e=h;h=u(null),t.emit("clearasync",i(e,(function(e){return l.call(e.args,1)})))}))}},79293:(e,t,n)=>{"use strict";var r=n(17441),i=n(72363),o=n(36757),a=Function.prototype.apply;o.dispose=function(e,t,n){var s;if(r(e),n.async&&o.async||n.promise&&o.promise)return t.on("deleteasync",s=function(t,n){a.call(e,null,n)}),void t.on("clearasync",(function(e){i(e,(function(e,t){s(t,e)}))}));t.on("delete",s=function(t,n){e(n)}),t.on("clear",(function(e){i(e,(function(e,t){s(t,e)}))}))}},92552:(e,t,n)=>{"use strict";var r=n(19663),i=n(72363),o=n(96780),a=n(23963),s=n(84335),l=n(36757),c=Function.prototype,u=Math.max,f=Math.min,d=Object.create;l.maxAge=function(e,t,n){var p,h,m,g;(e=s(e))&&(p=d(null),h=n.async&&l.async||n.promise&&l.promise?"async":"",t.on("set"+h,(function(n){p[n]=setTimeout((function(){t.delete(n)}),e),"function"==typeof p[n].unref&&p[n].unref(),g&&(g[n]&&"nextTick"!==g[n]&&clearTimeout(g[n]),g[n]=setTimeout((function(){delete g[n]}),m),"function"==typeof g[n].unref&&g[n].unref())})),t.on("delete"+h,(function(e){clearTimeout(p[e]),delete p[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])})),n.preFetch&&(m=!0===n.preFetch||isNaN(n.preFetch)?.333:u(f(Number(n.preFetch),1),0))&&(g={},m=(1-m)*e,t.on("get"+h,(function(e,i,s){g[e]||(g[e]="nextTick",o((function(){var o;"nextTick"===g[e]&&(delete g[e],t.delete(e),n.async&&(i=r(i)).push(c),o=t.memoized.apply(s,i),n.promise&&a(o)&&("function"==typeof o.done?o.done(c,c):o.then(c,c)))})))}))),t.on("clear"+h,(function(){i(p,(function(e){clearTimeout(e)})),p={},g&&(i(g,(function(e){"nextTick"!==e&&clearTimeout(e)})),g={})})))}},14238:(e,t,n)=>{"use strict";var r=n(1807),i=n(67074),o=n(36757);o.max=function(e,t,n){var a,s,l;(e=r(e))&&(s=i(e),a=n.async&&o.async||n.promise&&o.promise?"async":"",t.on("set"+a,l=function(e){void 0!==(e=s.hit(e))&&t.delete(e)}),t.on("get"+a,l),t.on("delete"+a,s.delete),t.on("clear"+a,s.clear))}},8817:(e,t,n)=>{"use strict";var r=n(42144),i=n(99462),o=n(92830),a=n(36792),s=n(23963),l=n(96780),c=Object.create,u=i("then","then:finally","done","done:finally");n(36757).promise=function(e,t){var n=c(null),i=c(null),f=c(null);if(!0===e)e=null;else if(e=o(e),!u[e])throw new TypeError("'"+a(e)+"' is not valid promise mode");t.on("set",(function(r,o,a){var c=!1;if(!s(a))return i[r]=a,void t.emit("setasync",r,1);n[r]=1,f[r]=a;var u=function(e){var o=n[r];if(c)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");o&&(delete n[r],i[r]=e,t.emit("setasync",r,o))},d=function(){c=!0,n[r]&&(delete n[r],delete f[r],t.delete(r))},p=e;if(p||(p="then"),"then"===p){var h=function(){l(d)};"function"==typeof(a=a.then((function(e){l(u.bind(this,e))}),h)).finally&&a.finally(h)}else if("done"===p){if("function"!=typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");a.done(u,d)}else if("done:finally"===p){if("function"!=typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof a.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");a.done(u),a.finally(d)}})),t.on("get",(function(e,r,i){var o;if(n[e])++n[e];else{o=f[e];var a=function(){t.emit("getasync",e,r,i)};s(o)?"function"==typeof o.done?o.done(a):o.then((function(){l(a)})):a()}})),t.on("delete",(function(e){if(delete f[e],n[e])delete n[e];else if(hasOwnProperty.call(i,e)){var r=i[e];delete i[e],t.emit("deleteasync",e,[r])}})),t.on("clear",(function(){var e=i;i=c(null),n=c(null),f=c(null),t.emit("clearasync",r(e,(function(e){return[e]})))}))}},27404:(e,t,n)=>{"use strict";var r=n(71949),i=n(36757),o=Object.create,a=Object.defineProperties;i.refCounter=function(e,t,n){var s,l;s=o(null),l=n.async&&i.async||n.promise&&i.promise?"async":"",t.on("set"+l,(function(e,t){s[e]=t||1})),t.on("get"+l,(function(e){++s[e]})),t.on("delete"+l,(function(e){delete s[e]})),t.on("clear"+l,(function(){s={}})),a(t.memoized,{deleteRef:r((function(){var e=t.get(arguments);return null===e?null:s[e]?! --s[e]&&(t.delete(e),!0):null})),getRefCount:r((function(){var e=t.get(arguments);return null===e?0:s[e]?s[e]:0}))})}},42896:(e,t,n)=>{"use strict";var r=n(86730),i=n(48629),o=n(13244);e.exports=function(e){var t,a=r(arguments[1]);return a.normalizer||0!==(t=a.length=i(a.length,e.length,a.async))&&(a.primitive?!1===t?a.normalizer=n(78542):t>1&&(a.normalizer=n(44124)(t)):a.normalizer=!1===t?n(10647)():1===t?n(9093)():n(17648)(t)),a.async&&n(18488),a.promise&&n(8817),a.dispose&&n(79293),a.maxAge&&n(92552),a.max&&n(14238),a.refCounter&&n(27404),o(e,a)}},20319:(e,t,n)=>{"use strict";var r=n(76078),i=n(3279),o=n(71949),a=n(62998).methods,s=n(51289),l=n(50198),c=Function.prototype.apply,u=Function.prototype.call,f=Object.create,d=Object.defineProperties,p=a.on,h=a.emit;e.exports=function(e,t,n){var a,m,g,v,y,b,_,w,S,x,E,k,C,O,T,P=f(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,n.normalizer&&(x=l(n.normalizer),g=x.get,v=x.set,y=x.delete,b=x.clear),null!=n.resolvers&&(T=s(n.resolvers)),O=g?i((function(t){var n,i,o=arguments;if(T&&(o=T(o)),null!==(n=g(o))&&hasOwnProperty.call(P,n))return E&&a.emit("get",n,o,this),P[n];if(i=1===o.length?u.call(e,this,o[0]):c.call(e,this,o),null===n){if(null!==(n=g(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=v(o)}else if(hasOwnProperty.call(P,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return P[n]=i,k&&a.emit("set",n,null,i),i}),m):0===t?function(){var t;if(hasOwnProperty.call(P,"data"))return E&&a.emit("get","data",arguments,this),P.data;if(t=arguments.length?c.call(e,this,arguments):u.call(e,this),hasOwnProperty.call(P,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return P.data=t,k&&a.emit("set","data",null,t),t}:function(t){var n,i,o=arguments;if(T&&(o=T(arguments)),i=String(o[0]),hasOwnProperty.call(P,i))return E&&a.emit("get",i,o,this),P[i];if(n=1===o.length?u.call(e,this,o[0]):c.call(e,this,o),hasOwnProperty.call(P,i))throw r("Circular invocation","CIRCULAR_INVOCATION");return P[i]=n,k&&a.emit("set",i,null,n),n},a={original:e,memoized:O,profileName:n.profileName,get:function(e){return T&&(e=T(e)),g?g(e):String(e[0])},has:function(e){return hasOwnProperty.call(P,e)},delete:function(e){var t;hasOwnProperty.call(P,e)&&(y&&y(e),t=P[e],delete P[e],C&&a.emit("delete",e,t))},clear:function(){var e=P;b&&b(),P=f(null),a.emit("clear",e)},on:function(e,t){return"get"===e?E=!0:"set"===e?k=!0:"delete"===e&&(C=!0),p.call(this,e,t)},emit:h,updateEnv:function(){e=a.original}},_=g?i((function(e){var t,n=arguments;T&&(n=T(n)),null!==(t=g(n))&&a.delete(t)}),m):0===t?function(){return a.delete("data")}:function(e){return T&&(e=T(arguments)[0]),a.delete(e)},w=i((function(){var e,n=arguments;return 0===t?P.data:(T&&(n=T(n)),e=g?g(n):String(n[0]),P[e])})),S=i((function(){var e,n=arguments;return 0===t?a.has("data"):(T&&(n=T(n)),null!==(e=g?g(n):String(n[0]))&&a.has(e))})),d(O,{__memoized__:o(!0),delete:o(_),clear:o(a.clear),_get:o(w),_has:o(S)}),a}},36757:()=>{},48629:(e,t,n)=>{"use strict";var r=n(1807);e.exports=function(e,t,n){var i;return isNaN(e)?(i=t)>=0?n&&i?i-1:i:1:!1!==e&&r(e)}},50198:(e,t,n)=>{"use strict";var r=n(17441);e.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}},51289:(e,t,n)=>{"use strict";var r,i=n(47969),o=n(26588),a=n(17441),s=Array.prototype.slice;r=function(e){return this.map((function(t,n){return t?t(e[n]):e[n]})).concat(s.call(e,this.length))},e.exports=function(e){return(e=i(e)).forEach((function(e){o(e)&&a(e)})),r.bind(e)}},9093:(e,t,n)=>{"use strict";var r=n(2220);e.exports=function(){var e=0,t=[],n=[];return{get:function(e){var i=r.call(t,e[0]);return-1===i?null:n[i]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var i=r.call(n,e);-1!==i&&(t.splice(i,1),n.splice(i,1))},clear:function(){t=[],n=[]}}}},17648:(e,t,n)=>{"use strict";var r=n(2220),i=Object.create;e.exports=function(e){var t=0,n=[[],[]],o=i(null);return{get:function(t){for(var i,o=0,a=n;o<e-1;){if(-1===(i=r.call(a[0],t[o])))return null;a=a[1][i],++o}return-1===(i=r.call(a[0],t[o]))?null:a[1][i]||null},set:function(i){for(var a,s=0,l=n;s<e-1;)-1===(a=r.call(l[0],i[s]))&&(a=l[0].push(i[s])-1,l[1].push([[],[]])),l=l[1][a],++s;return-1===(a=r.call(l[0],i[s]))&&(a=l[0].push(i[s])-1),l[1][a]=++t,o[t]=i,t},delete:function(t){for(var i,a=0,s=n,l=[],c=o[t];a<e-1;){if(-1===(i=r.call(s[0],c[a])))return;l.push(s,i),s=s[1][i],++a}if(-1!==(i=r.call(s[0],c[a]))){for(t=s[1][i],s[0].splice(i,1),s[1].splice(i,1);!s[0].length&&l.length;)i=l.pop(),(s=l.pop())[0].splice(i,1),s[1].splice(i,1);delete o[t]}},clear:function(){n=[[],[]],o=i(null)}}}},44124:e=>{"use strict";e.exports=function(e){return e?function(t){for(var n=String(t[0]),r=0,i=e;--i;)n+=""+t[++r];return n}:function(){return""}}},10647:(e,t,n)=>{"use strict";var r=n(2220),i=Object.create;e.exports=function(){var e=0,t=[],n=i(null);return{get:function(e){var n,i=0,o=t,a=e.length;if(0===a)return o[a]||null;if(o=o[a]){for(;i<a-1;){if(-1===(n=r.call(o[0],e[i])))return null;o=o[1][n],++i}return-1===(n=r.call(o[0],e[i]))?null:o[1][n]||null}return null},set:function(i){var o,a=0,s=t,l=i.length;if(0===l)s[l]=++e;else{for(s[l]||(s[l]=[[],[]]),s=s[l];a<l-1;)-1===(o=r.call(s[0],i[a]))&&(o=s[0].push(i[a])-1,s[1].push([[],[]])),s=s[1][o],++a;-1===(o=r.call(s[0],i[a]))&&(o=s[0].push(i[a])-1),s[1][o]=++e}return n[e]=i,e},delete:function(e){var i,o=0,a=t,s=n[e],l=s.length,c=[];if(0===l)delete a[l];else if(a=a[l]){for(;o<l-1;){if(-1===(i=r.call(a[0],s[o])))return;c.push(a,i),a=a[1][i],++o}if(-1===(i=r.call(a[0],s[o])))return;for(e=a[1][i],a[0].splice(i,1),a[1].splice(i,1);!a[0].length&&c.length;)i=c.pop(),(a=c.pop())[0].splice(i,1),a[1].splice(i,1)}delete n[e]},clear:function(){t=[],n=i(null)}}}},78542:e=>{"use strict";e.exports=function(e){var t,n,r=e.length;if(!r)return"";for(t=String(e[n=0]);--r;)t+=""+e[++n];return t}},13244:(e,t,n)=>{"use strict";var r=n(17441),i=n(72363),o=n(36757),a=n(20319),s=n(48629);e.exports=function e(t){var n,l,c;if(r(t),(n=Object(arguments[1])).async&&n.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!n.force?t:(l=s(n.length,t.length,n.async&&o.async),c=a(t,l,n),i(o,(function(e,t){n[t]&&e(n[t],c,n)})),e.__profiler__&&e.__profiler__(c),c.updateEnv(),c.memoized)}},71159:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,o=7*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,s){s=s||{};var l,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(a){var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(l=e,(c=Math.abs(l))>=i?a(l,c,i,"day"):c>=r?a(l,c,r,"hour"):c>=n?a(l,c,n,"minute"):c>=t?a(l,c,t,"second"):l+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=r?Math.round(e/r)+"h":o>=n?Math.round(e/n)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},96780:e=>{"use strict";var t=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var n,r,i=document.createTextNode(""),o=0;return new e((function(){var e;if(n)r&&(n=r.concat(n));else{if(!r)return;n=r}if(r=n,n=null,"function"==typeof r)return e=r,r=null,void e();for(i.data=o=++o%2;r;)e=r.shift(),r.length||(r=null),e()})).observe(i,{characterData:!0}),function(e){t(e),n?"function"==typeof n?n=[n,e]:n.push(e):(n=e,i.data=o=++o%2)}};e.exports=function(){if("object"==typeof process&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(t(e))};if("object"==typeof document&&document){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(t(e))}:"function"==typeof setTimeout||"object"==typeof setTimeout?function(e){setTimeout(t(e),0)}:null}()},30234:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)r.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},56953:(e,t,n)=>{"use strict";var r=n(88160),i=Array.prototype.slice,o=["name","message","stack"],a=["name","message","description","number","code","fileName","lineNumber","columnNumber","sourceURL","line","column","stack"];function s(t){return function(n,r,o,a){var s=[],h="";"string"==typeof n?(s=i.call(arguments),n=r=void 0):"string"==typeof r?(s=i.call(arguments,1),r=void 0):"string"==typeof o&&(s=i.call(arguments,2)),s.length>0&&(h=e.exports.formatter.apply(null,s)),n&&n.message&&(h+=(h?" \n":"")+n.message);var m,g,v,y=new t(h);return function(e,t){var n,r;!function(e){if(!p)return!1;var t=Object.getOwnPropertyDescriptor(e,"stack");return!!t&&"function"==typeof t.get}(e)?e.stack=t?f(e.stack,t.stack):d(e.stack):t?function(e,t){var n=Object.getOwnPropertyDescriptor(e,"stack");Object.defineProperty(e,"stack",{get:function(){return f(n.get.apply(e),t.stack)},enumerable:!1,configurable:!0})}(e,t):(n=e,r=Object.getOwnPropertyDescriptor(n,"stack"),Object.defineProperty(n,"stack",{get:function(){return d(r.get.apply(n))},enumerable:!1,configurable:!0}))}(m=y,g=n),l(m,g),(v=y).toJSON=c,v.inspect=u,l(y,r),y}}function l(e,t){if(t&&"object"==typeof t)for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];if(!(o.indexOf(i)>=0))try{e[i]=t[i]}catch(e){}}}function c(){var e={},t=Object.keys(this);t=t.concat(a);for(var n=0;n<t.length;n++){var r=t[n],i=this[r],o=typeof i;"undefined"!==o&&"function"!==o&&(e[r]=i)}return e}function u(){return JSON.stringify(this,null,2).replace(/\\n/g,"\n")}function f(e,t){return(e=d(e))&&t?e+"\n\n"+t:e||t}function d(e){if(e){var t=e.split("\n");if(t.length<2)return e;for(var n=0;n<t.length;n++)if(t[n].indexOf("onoFactory")>=0)return t.splice(n,1),t.join("\n");return e}}e.exports=s(Error),e.exports.error=s(Error),e.exports.eval=s(EvalError),e.exports.range=s(RangeError),e.exports.reference=s(ReferenceError),e.exports.syntax=s(SyntaxError),e.exports.type=s(TypeError),e.exports.uri=s(URIError),e.exports.formatter=r;var p=!(!Object.getOwnPropertyDescriptor||!Object.defineProperty||"undefined"!=typeof navigator&&/Android/.test(navigator.userAgent))},99443:(e,t,n)=>{"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function i(){return"undefined"!=typeof WeakMap?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}n.r(t),n.d(t,{default:()=>m,outdent:()=>h}),e=n.hmd(e);var o=Object.prototype.hasOwnProperty,a=function(e,t){return o.call(e,t)};function s(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return e}var l=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,f=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,d=/^[ \t]*[\r\n][ \t\r\n]*$/;function p(e,t,n){var r=0,i=e[0].match(f);i&&(r=i[1].length);var o=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var a=n.newline,s=n.trimLeadingNewline,u=n.trimTrailingNewline,d="string"==typeof a,p=e.length;return e.map((function(e,t){return e=e.replace(o,"$1"),0===t&&s&&(e=e.replace(l,"")),t===p-1&&u&&(e=e.replace(c,"")),d&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return a}))),e}))}var h=function e(t){var n=i(),r=i(),o=s((function i(o){for(var l,c=[],f=1;f<arguments.length;f++)c[f-1]=arguments[f];if(a(l=o,"raw")&&a(l,"length")){var m=o,g=(c[0]===i||c[0]===h)&&d.test(m[0])&&u.test(m[1]),v=g?r:n,y=v.get(m);if(y||(y=p(m,g,t),v.set(m,y)),0===c.length)return y[0];var b=function(e,t){for(var n="",r=0,i=e.length;r<i;r++)n+=e[r],r<i-1&&(n+=t[r]);return n}(y,g?c.slice(1):c);return b}return e(s(s({},t),o||{}))}),{string:function(e){return p([e],!1,t)[0]}});return o}({trimLeadingNewline:!0,trimTrailingNewline:!0});const m=h;try{e.exports=h,Object.defineProperty(h,"__esModule",{value:!0}),h.default=h,h.outdent=h}catch(e){}},36445:(e,t,n)=>{"use strict";var r=n(16928);function i(e){return e[e.length-1]===r.sep?e.slice(0,-1):e}e.exports=function(e,t){return e=i(e),t=i(t),"win32"===process.platform&&(e=e.toLowerCase(),t=t.toLowerCase()),0===e.lastIndexOf(t,0)&&(e[t.length]===r.sep||void 0===e[t.length])}},19892:(e,t,n)=>{"use strict";var r=n(53731);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},17314:(e,t,n)=>{e.exports=n(19892)()},53731:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},47749:(e,t,n)=>{"use strict";var r=n(81794),i=n(30234),o=n(73928);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},m={};function g(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function _(e,t,n,r){var i=v.hasOwnProperty(t)?v[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!p.call(m,e)||!p.call(h,e)&&(d.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,x=60106,E=60107,k=60108,C=60114,O=60109,T=60110,P=60112,A=60113,M=60120,L=60115,I=60116,R=60121,D=60128,j=60129,N=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var B=Symbol.for;S=B("react.element"),x=B("react.portal"),E=B("react.fragment"),k=B("react.strict_mode"),C=B("react.profiler"),O=B("react.provider"),T=B("react.context"),P=B("react.forward_ref"),A=B("react.suspense"),M=B("react.suspense_list"),L=B("react.memo"),I=B("react.lazy"),R=B("react.block"),B("react.scope"),D=B("react.opaque.id"),j=B("react.debug_trace_mode"),N=B("react.offscreen"),F=B("react.legacy_hidden")}var z,$="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}function H(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var W=!1;function q(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function V(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return q(e.type,!1);case 11:return q(e.type.render,!1);case 22:return q(e.type._render,!1);case 1:return q(e.type,!0);default:return""}}function K(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case x:return"Portal";case C:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case M:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case L:return K(e.type);case R:return K(e._render);case I:t=e._payload,e=e._init;try{return K(e(t))}catch(e){}}return null}function G(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&ie(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ie(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ce(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function de(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?de(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,me,ge=(me=function(e,t){if(e.namespaceURI!==fe.svg||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];function _e(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function we(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=_e(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(ye).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var Se=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Ee(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,Oe=null,Te=null;function Pe(e){if(e=ni(e)){if("function"!=typeof Ce)throw Error(a(280));var t=e.stateNode;t&&(t=ii(t),Ce(e.stateNode,e.type,t))}}function Ae(e){Oe?Te?Te.push(e):Te=[e]:Oe=e}function Me(){if(Oe){var e=Oe,t=Te;if(Te=Oe=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function Le(e,t){return e(t)}function Ie(e,t,n,r,i){return e(t,n,r,i)}function Re(){}var De=Le,je=!1,Ne=!1;function Fe(){null===Oe&&null===Te||(Re(),Me())}function Be(e,t){var n=e.stateNode;if(null===n)return null;var r=ii(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var ze=!1;if(f)try{var $e={};Object.defineProperty($e,"passive",{get:function(){ze=!0}}),window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch(me){ze=!1}function Ue(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var He=!1,We=null,qe=!1,Ve=null,Ke={onError:function(e){He=!0,We=e}};function Ge(e,t,n,r,i,o,a,s,l){He=!1,We=null,Ue.apply(Ke,arguments)}function Ye(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ze(e){if(Ye(e)!==e)throw Error(a(188))}function Xe(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ye(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Ze(i),e;if(o===r)return Ze(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Qe(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,it=!1,ot=[],at=null,st=null,lt=null,ct=new Map,ut=new Map,ft=[],dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function mt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=pt(t,n,r,i,o),null!==t&&null!==(t=ni(t))&&tt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function gt(e){var t=ti(e.target);if(null!==t){var n=Ye(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ni(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function bt(){for(it=!1;0<ot.length;){var e=ot[0];if(null!==e.blockedOn){null!==(e=ni(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ot.shift()}null!==at&&vt(at)&&(at=null),null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),ct.forEach(yt),ut.forEach(yt)}function _t(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,bt)))}function wt(e){function t(t){return _t(t,e)}if(0<ot.length){_t(ot[0],e);for(var n=1;n<ot.length;n++){var r=ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&_t(at,e),null!==st&&_t(st,e),null!==lt&&_t(lt,e),ct.forEach(t),ut.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)gt(n),null===n.blockedOn&&ft.shift()}function St(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xt={animationend:St("Animation","AnimationEnd"),animationiteration:St("Animation","AnimationIteration"),animationstart:St("Animation","AnimationStart"),transitionend:St("Transition","TransitionEnd")},Et={},kt={};function Ct(e){if(Et[e])return Et[e];if(!xt[e])return e;var t,n=xt[e];for(t in n)if(n.hasOwnProperty(t)&&t in kt)return Et[e]=n[t];return e}f&&(kt=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var Ot=Ct("animationend"),Tt=Ct("animationiteration"),Pt=Ct("animationstart"),At=Ct("transitionend"),Mt=new Map,Lt=new Map,It=["abort","abort",Ot,"animationEnd",Tt,"animationIteration",Pt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",At,"transitionEnd","waiting","waiting"];function Rt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Lt.set(r,t),Mt.set(r,i),c(i,[r])}}(0,o.unstable_now)();var Dt=8;function jt(e){if(1&e)return Dt=15,1;if(2&e)return Dt=14,2;if(4&e)return Dt=13,4;var t=24&e;return 0!==t?(Dt=12,t):32&e?(Dt=11,32):0!=(t=192&e)?(Dt=10,t):256&e?(Dt=9,256):0!=(t=3584&e)?(Dt=8,t):4096&e?(Dt=7,4096):0!=(t=4186112&e)?(Dt=6,t):0!=(t=62914560&e)?(Dt=5,t):67108864&e?(Dt=4,67108864):134217728&e?(Dt=3,134217728):0!=(t=805306368&e)?(Dt=2,t):1073741824&e?(Dt=1,1073741824):(Dt=8,e)}function Nt(e,t){var n=e.pendingLanes;if(0===n)return Dt=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,i=Dt=15;else if(0!=(o=134217727&n)){var l=o&~a;0!==l?(r=jt(l),i=Dt):0!=(s&=o)&&(r=jt(s),i=Dt)}else 0!=(o=n&~a)?(r=jt(o),i=Dt):0!==s&&(r=jt(s),i=Dt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&!(t&a)){if(jt(t),i<=Dt)return t;Dt=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Ht(t)),r|=e[n],t&=~i;return r}function Ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Bt(10,t):e;case 10:return 0===(e=zt(192&~t))?Bt(8,t):e;case 8:return 0===(e=zt(3584&~t))&&0===(e=zt(4186112&~t))&&(e=512),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function zt(e){return e&-e}function $t(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wt(e)/qt|0)|0},Wt=Math.log,qt=Math.LN2,Vt=o.unstable_UserBlockingPriority,Kt=o.unstable_runWithPriority,Gt=!0;function Yt(e,t,n,r){je||Re();var i=Zt,o=je;je=!0;try{Ie(i,e,t,n,r)}finally{(je=o)||Fe()}}function Jt(e,t,n,r){Kt(Vt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){var i;if(Gt)if((i=!(4&t))&&0<ot.length&&-1<dt.indexOf(e))e=pt(null,e,t,n,r),ot.push(e);else{var o=Xt(e,t,n,r);if(null===o)i&&ht(e,r);else{if(i){if(-1<dt.indexOf(e))return e=pt(o,e,t,n,r),void ot.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return at=mt(at,e,t,n,r,i),!0;case"dragenter":return st=mt(st,e,t,n,r,i),!0;case"mouseover":return lt=mt(lt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return ct.set(o,mt(ct.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ut.set(o,mt(ut.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;ht(e,r)}Rr(e,t,r,null,n)}}}function Xt(e,t,n,r){var i=ke(r);if(null!==(i=ti(i))){var o=Ye(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Je(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Rr(e,t,r,i,n),null}var Qt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,i="value"in Qt?Qt.value:Qt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return tn=i.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function sn(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?on:an,this.isPropagationStopped=an,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var ln,cn,un,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=sn(fn),pn=i({},fn,{view:0,detail:0}),hn=sn(pn),mn=i({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:On,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,cn=e.screenY-un.screenY):cn=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),gn=sn(mn),vn=sn(i({},mn,{dataTransfer:0})),yn=sn(i({},pn,{relatedTarget:0})),bn=sn(i({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),_n=i({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wn=sn(_n),Sn=sn(i({},fn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function On(){return Cn}var Tn=i({},pn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:On,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=sn(Tn),An=sn(i({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Mn=sn(i({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:On})),Ln=sn(i({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=i({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=sn(In),Dn=[9,13,27,32],jn=f&&"CompositionEvent"in window,Nn=null;f&&"documentMode"in document&&(Nn=document.documentMode);var Fn=f&&"TextEvent"in window&&!Nn,Bn=f&&(!jn||Nn&&8<Nn&&11>=Nn),zn=String.fromCharCode(32),$n=!1;function Un(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1,qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Kn(e,t,n,r){Ae(r),0<(t=jr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Yn=null;function Jn(e){Tr(e,0)}function Zn(e){if(Z(ri(e)))return e}function Xn(e,t){if("change"===e)return t}var Qn=!1;if(f){var er;if(f){var tr="oninput"in document;if(!tr){var nr=document.createElement("div");nr.setAttribute("oninput","return;"),tr="function"==typeof nr.oninput}er=tr}else er=!1;Qn=er&&(!document.documentMode||9<document.documentMode)}function rr(){Gn&&(Gn.detachEvent("onpropertychange",ir),Yn=Gn=null)}function ir(e){if("value"===e.propertyName&&Zn(Yn)){var t=[];if(Kn(t,Yn,e,ke(e)),e=Jn,je)e(t);else{je=!0;try{Le(e,t)}finally{je=!1,Fe()}}}}function or(e,t,n){"focusin"===e?(rr(),Yn=n,(Gn=t).attachEvent("onpropertychange",ir)):"focusout"===e&&rr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn(Yn)}function sr(e,t){if("click"===e)return Zn(t)}function lr(e,t){if("input"===e||"change"===e)return Zn(t)}var cr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ur=Object.prototype.hasOwnProperty;function fr(e,t){if(cr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!ur.call(t,n[r])||!cr(e[n[r]],t[n[r]]))return!1;return!0}function dr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var n,r=dr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vr=f&&"documentMode"in document&&11>=document.documentMode,yr=null,br=null,_r=null,wr=!1;function Sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;wr||null==yr||yr!==X(r)||(r="selectionStart"in(r=yr)&&gr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},_r&&fr(_r,r)||(_r=r,0<(r=jr(br,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}Rt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Rt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Rt(It,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Er=0;Er<xr.length;Er++)Lt.set(xr[Er],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Cr=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function Or(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,l,c){if(Ge.apply(this,arguments),He){if(!He)throw Error(a(198));var u=We;He=!1,We=null,qe||(qe=!0,Ve=u)}}(r,t,void 0,e),e.currentTarget=null}function Tr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Or(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Or(i,s,c),o=l}}}if(qe)throw e=Ve,qe=!1,Ve=null,e}function Pr(e,t){var n=oi(t),r=e+"__bubble";n.has(r)||(Ir(t,e,2,!1),n.add(r))}var Ar="_reactListening"+Math.random().toString(36).slice(2);function Mr(e){e[Ar]||(e[Ar]=!0,s.forEach((function(t){Cr.has(t)||Lr(t,!1,e,null),Lr(t,!0,e,null)})))}function Lr(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Cr.has(e)){if("scroll"!==e)return;i|=2,o=r}var a=oi(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Ir(o,e,i,t),a.add(s))}function Ir(e,t,n,r){var i=Lt.get(t);switch(void 0===i?2:i){case 0:i=Yt;break;case 1:i=Jt;break;default:i=Zt}n=i.bind(null,t,n,e),i=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Rr(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=ti(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Ne)return e();Ne=!0;try{return De(e,t,n)}finally{Ne=!1,Fe()}}((function(){var r=o,i=ke(n),a=[];e:{var s=Mt.get(e);if(void 0!==s){var l=dn,c=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":l=Pn;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Mn;break;case Ot:case Tt:case Pt:l=bn;break;case At:l=Ln;break;case"scroll":l=hn;break;case"wheel":l=Rn;break;case"copy":case"cut":case"paste":l=wn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=An}var u=!!(4&t),f=!u&&"scroll"===e,d=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&null!=(m=Be(h,d))&&u.push(Dr(h,m,p))),f)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||16&t||!(c=n.relatedTarget||n.fromElement)||!ti(c)&&!c[Qr])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ti(c):null)&&(c!==(f=Ye(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=gn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=An,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?s:ri(l),p=null==c?s:ri(c),(s=new u(m,h+"leave",l,n,i)).target=f,s.relatedTarget=p,m=null,ti(i)===r&&((u=new u(d,h+"enter",c,n,i)).target=p,u.relatedTarget=f,m=u),f=m,l&&c)e:{for(d=c,h=0,p=u=l;p;p=Nr(p))h++;for(p=0,m=d;m;m=Nr(m))p++;for(;0<h-p;)u=Nr(u),h--;for(;0<p-h;)d=Nr(d),p--;for(;h--;){if(u===d||null!==d&&u===d.alternate)break e;u=Nr(u),d=Nr(d)}u=null}else u=null;null!==l&&Fr(a,s,l,u,!1),null!==c&&null!==f&&Fr(a,f,c,u,!0)}if("select"===(l=(s=r?ri(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Xn;else if(Vn(s))if(Qn)g=lr;else{g=ar;var v=or}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=sr);switch(g&&(g=g(e,r))?Kn(a,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ie(s,"number",s.value)),v=r?ri(r):window,e){case"focusin":(Vn(v)||"true"===v.contentEditable)&&(yr=v,br=r,_r=null);break;case"focusout":_r=br=yr=null;break;case"mousedown":wr=!0;break;case"contextmenu":case"mouseup":case"dragend":wr=!1,Sr(a,n,i);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":Sr(a,n,i)}var y;if(jn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Bn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wn&&(y=nn()):(en="value"in(Qt=i)?Qt.value:Qt.textContent,Wn=!0)),0<(v=jr(r,b)).length&&(b=new Sn(b,e,null,n,i),a.push({event:b,listeners:v}),(y||null!==(y=Hn(n)))&&(b.data=y))),(y=Fn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:($n=!0,zn);case"textInput":return(e=t.data)===zn&&$n?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!jn&&Un(e,t)?(e=nn(),tn=en=Qt=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=jr(r,"onBeforeInput")).length&&(i=new Sn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y)}Tr(a,t)}))}function Dr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Be(e,n))&&r.unshift(Dr(e,o,i)),null!=(o=Be(e,t))&&r.push(Dr(e,o,i))),e=e.return}return r}function Nr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Be(n,o))&&a.unshift(Dr(n,l,s)):i||null!=(l=Be(n,o))&&a.push(Dr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Br(){}var zr=null,$r=null;function Ur(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wr="function"==typeof setTimeout?setTimeout:void 0,qr="function"==typeof clearTimeout?clearTimeout:void 0;function Vr(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Gr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Yr=0,Jr=Math.random().toString(36).slice(2),Zr="__reactFiber$"+Jr,Xr="__reactProps$"+Jr,Qr="__reactContainer$"+Jr,ei="__reactEvents$"+Jr;function ti(e){var t=e[Zr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qr]||n[Zr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Gr(e);null!==e;){if(n=e[Zr])return n;e=Gr(e)}return t}n=(e=n).parentNode}return null}function ni(e){return!(e=e[Zr]||e[Qr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ri(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ii(e){return e[Xr]||null}function oi(e){var t=e[ei];return void 0===t&&(t=e[ei]=new Set),t}var ai=[],si=-1;function li(e){return{current:e}}function ci(e){0>si||(e.current=ai[si],ai[si]=null,si--)}function ui(e,t){si++,ai[si]=e.current,e.current=t}var fi={},di=li(fi),pi=li(!1),hi=fi;function mi(e,t){var n=e.type.contextTypes;if(!n)return fi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function gi(e){return null!=e.childContextTypes}function vi(){ci(pi),ci(di)}function yi(e,t,n){if(di.current!==fi)throw Error(a(168));ui(di,t),ui(pi,n)}function bi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,K(t)||"Unknown",o));return i({},n,r)}function _i(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fi,hi=di.current,ui(di,e),ui(pi,pi.current),!0}function wi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=bi(e,t,hi),r.__reactInternalMemoizedMergedChildContext=e,ci(pi),ci(di),ui(di,e)):ci(pi),ui(pi,n)}var Si=null,xi=null,Ei=o.unstable_runWithPriority,ki=o.unstable_scheduleCallback,Ci=o.unstable_cancelCallback,Oi=o.unstable_shouldYield,Ti=o.unstable_requestPaint,Pi=o.unstable_now,Ai=o.unstable_getCurrentPriorityLevel,Mi=o.unstable_ImmediatePriority,Li=o.unstable_UserBlockingPriority,Ii=o.unstable_NormalPriority,Ri=o.unstable_LowPriority,Di=o.unstable_IdlePriority,ji={},Ni=void 0!==Ti?Ti:function(){},Fi=null,Bi=null,zi=!1,$i=Pi(),Ui=1e4>$i?Pi:function(){return Pi()-$i};function Hi(){switch(Ai()){case Mi:return 99;case Li:return 98;case Ii:return 97;case Ri:return 96;case Di:return 95;default:throw Error(a(332))}}function Wi(e){switch(e){case 99:return Mi;case 98:return Li;case 97:return Ii;case 96:return Ri;case 95:return Di;default:throw Error(a(332))}}function qi(e,t){return e=Wi(e),Ei(e,t)}function Vi(e,t,n){return e=Wi(e),ki(e,t,n)}function Ki(){if(null!==Bi){var e=Bi;Bi=null,Ci(e)}Gi()}function Gi(){if(!zi&&null!==Fi){zi=!0;var e=0;try{var t=Fi;qi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fi=null}catch(t){throw null!==Fi&&(Fi=Fi.slice(e+1)),ki(Mi,Ki),t}finally{zi=!1}}}var Yi=w.ReactCurrentBatchConfig;function Ji(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Zi=li(null),Xi=null,Qi=null,eo=null;function to(){eo=Qi=Xi=null}function no(e){var t=Zi.current;ci(Zi),e.type._context._currentValue=t}function ro(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function io(e,t){Xi=e,eo=Qi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(ja=!0),e.firstContext=null)}function oo(e,t){if(eo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(eo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Qi){if(null===Xi)throw Error(a(308));Qi=t,Xi.dependencies={lanes:0,firstContext:t,responders:null}}else Qi=Qi.next=t;return e._currentValue}var ao=!1;function so(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function co(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function uo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function po(e,t,n,r){var o=e.updateQueue;ao=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==s&&(null===d?f.firstBaseUpdate=u:d.next=u,f.lastBaseUpdate=c)}}if(null!==a){for(d=o.baseState,s=0,f=u=c=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(l=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,l);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(l="function"==typeof(h=m.payload)?h.call(p,d,l):h))break e;d=i({},d,l);break e;case 2:ao=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(u=f=p,c=d):f=f.next=p,s|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===f&&(c=d),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=f,Bs|=s,e.lanes=s,e.memoizedState=d}}function ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(a(191,i));i.call(r)}}}var mo=(new r.Component).refs;function go(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vo={isMounted:function(e){return!!(e=e._reactInternals)&&Ye(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ul(),i=fl(e),o=co(r,i);o.payload=t,null!=n&&(o.callback=n),uo(e,o),dl(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ul(),i=fl(e),o=co(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),uo(e,o),dl(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ul(),r=fl(e),i=co(n,r);i.tag=2,null!=t&&(i.callback=t),uo(e,i),dl(e,r,n)}};function yo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&fr(n,r)&&fr(i,o))}function bo(e,t,n){var r=!1,i=fi,o=t.contextType;return"object"==typeof o&&null!==o?o=oo(o):(i=gi(t)?hi:di.current,o=(r=null!=(r=t.contextTypes))?mi(e,i):fi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function _o(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vo.enqueueReplaceState(t,t.state,null)}function wo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=mo,so(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=oo(o):(o=gi(t)?hi:di.current,i.context=mi(e,o)),po(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(go(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&vo.enqueueReplaceState(i,i.state,null),po(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var So=Array.isArray;function xo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===mo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Eo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function ko(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Wl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Gl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=xo(e,t,n),r.return=e,r):((r=ql(n.type,n.key,n.props,null,e.mode,r)).ref=xo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Vl(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Gl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=ql(t.type,t.key,t.props,null,e.mode,n)).ref=xo(e,null,t),n.return=e,n;case x:return(t=Yl(t,e.mode,n)).return=e,t}if(So(t)||U(t))return(t=Vl(t,e.mode,n,null)).return=e,t;Eo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===i?n.type===E?f(e,t,n.props.children,r,i):c(e,t,n,r):null;case x:return n.key===i?u(e,t,n,r):null}if(So(n)||U(n))return null!==i?null:f(e,t,n,r,null);Eo(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===E?f(t,e,r.props.children,i,r.key):c(t,e,r,i);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(So(r)||U(r))return f(t,e=e.get(n)||null,r,i,null);Eo(t,r)}return null}function m(i,a,s,l){for(var c=null,u=null,f=a,m=a=0,g=null;null!==f&&m<s.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var v=p(i,f,s[m],l);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,m),null===u?c=v:u.sibling=v,u=v,f=g}if(m===s.length)return n(i,f),c;if(null===f){for(;m<s.length;m++)null!==(f=d(i,s[m],l))&&(a=o(f,a,m),null===u?c=f:u.sibling=f,u=f);return c}for(f=r(i,f);m<s.length;m++)null!==(g=h(f,i,m,s[m],l))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),a=o(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&f.forEach((function(e){return t(i,e)})),c}function g(i,s,l,c){var u=U(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var f=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(i,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,g),null===f?u=b:f.sibling=b,f=b,m=v}if(y.done)return n(i,m),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=d(i,y.value,c))&&(s=o(y,s,g),null===f?u=y:f.sibling=y,f=y);return u}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=h(m,i,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=o(y,s,g),null===f?u=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),u}return function(e,r,o,l){var c="object"==typeof o&&null!==o&&o.type===E&&null===o.key;c&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case S:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(o.type===E){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=xo(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===E?((r=Vl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=ql(o.type,o.key,o.props,null,e.mode,l)).ref=xo(e,r,o),l.return=e,e=l)}return s(e);case x:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Yl(o,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Gl(o,e.mode,l)).return=e,e=r),s(e);if(So(o))return m(e,r,o,l);if(U(o))return g(e,r,o,l);if(u&&Eo(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,K(e.type)||"Component"))}return n(e,r)}}var Co=ko(!0),Oo=ko(!1),To={},Po=li(To),Ao=li(To),Mo=li(To);function Lo(e){if(e===To)throw Error(a(174));return e}function Io(e,t){switch(ui(Mo,t),ui(Ao,e),ui(Po,To),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ci(Po),ui(Po,t)}function Ro(){ci(Po),ci(Ao),ci(Mo)}function Do(e){Lo(Mo.current);var t=Lo(Po.current),n=pe(t,e.type);t!==n&&(ui(Ao,e),ui(Po,n))}function jo(e){Ao.current===e&&(ci(Po),ci(Ao))}var No=li(0);function Fo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bo=null,zo=null,$o=!1;function Uo(e,t){var n=Ul(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ho(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Wo(e){if($o){var t=zo;if(t){var n=t;if(!Ho(e,t)){if(!(t=Kr(n.nextSibling))||!Ho(e,t))return e.flags=-1025&e.flags|2,$o=!1,void(Bo=e);Uo(Bo,n)}Bo=e,zo=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,$o=!1,Bo=e}}function qo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Bo=e}function Vo(e){if(e!==Bo)return!1;if(!$o)return qo(e),$o=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=zo;t;)Uo(e,t),t=Kr(t.nextSibling);if(qo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){zo=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}zo=null}}else zo=Bo?Kr(e.stateNode.nextSibling):null;return!0}function Ko(){zo=Bo=null,$o=!1}var Go=[];function Yo(){for(var e=0;e<Go.length;e++)Go[e]._workInProgressVersionPrimary=null;Go.length=0}var Jo=w.ReactCurrentDispatcher,Zo=w.ReactCurrentBatchConfig,Xo=0,Qo=null,ea=null,ta=null,na=!1,ra=!1;function ia(){throw Error(a(321))}function oa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!cr(e[n],t[n]))return!1;return!0}function aa(e,t,n,r,i,o){if(Xo=o,Qo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Jo.current=null===e||null===e.memoizedState?La:Ia,e=n(r,i),ra){o=0;do{if(ra=!1,!(25>o))throw Error(a(301));o+=1,ta=ea=null,t.updateQueue=null,Jo.current=Ra,e=n(r,i)}while(ra)}if(Jo.current=Ma,t=null!==ea&&null!==ea.next,Xo=0,ta=ea=Qo=null,na=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Qo.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Qo.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Qo.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Qo.memoizedState=ta=e:ta=ta.next=e}return ta}function ca(e,t){return"function"==typeof t?t(e):t}function ua(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ea,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,c=i;do{var u=c.lane;if((Xo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=f,o=r):l=l.next=f,Qo.lanes|=u,Bs|=u}c=c.next}while(null!==c&&c!==i);null===l?o=r:l.next=s,cr(r,t.memoizedState)||(ja=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fa(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);cr(o,t.memoizedState)||(ja=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function da(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(Xo&e)===e)&&(t._workInProgressVersionPrimary=r,Go.push(t))),e)return n(t._source);throw Go.push(t),Error(a(350))}function pa(e,t,n,r){var i=Ms;if(null===i)throw Error(a(349));var o=t._getVersion,s=o(t._source),l=Jo.current,c=l.useState((function(){return da(i,t,n)})),u=c[1],f=c[0];c=ta;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var g=Qo;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=o(t._source);if(!cr(s,e)){e=n(t._source),cr(f,e)||(u(e),e=fl(g),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,a=e;0<a;){var l=31-Ht(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=fl(g);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),cr(h,n)&&cr(m,t)&&cr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:f}).dispatch=u=Aa.bind(null,Qo,e),c.queue=e,c.baseQueue=null,f=da(i,t,n),c.memoizedState=c.baseState=f),f}function ha(e,t,n){return pa(la(),e,t,n)}function ma(e){var t=sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e}).dispatch=Aa.bind(null,Qo,e),[t.memoizedState,e]}function ga(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Qo.updateQueue)?(t={lastEffect:null},Qo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function va(e){return e={current:e},sa().memoizedState=e}function ya(){return la().memoizedState}function ba(e,t,n,r){var i=sa();Qo.flags|=e,i.memoizedState=ga(1|t,n,void 0,void 0===r?null:r)}function _a(e,t,n,r){var i=la();r=void 0===r?null:r;var o=void 0;if(null!==ea){var a=ea.memoizedState;if(o=a.destroy,null!==r&&oa(r,a.deps))return void ga(t,n,o,r)}Qo.flags|=e,i.memoizedState=ga(1|t,n,o,r)}function wa(e,t){return ba(516,4,e,t)}function Sa(e,t){return _a(516,4,e,t)}function xa(e,t){return _a(4,2,e,t)}function Ea(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ka(e,t,n){return n=null!=n?n.concat([e]):null,_a(4,2,Ea.bind(null,t,e),n)}function Ca(){}function Oa(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&oa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ta(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&oa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Pa(e,t){var n=Hi();qi(98>n?98:n,(function(){e(!0)})),qi(97<n?97:n,(function(){var n=Zo.transition;Zo.transition=1;try{e(!1),t()}finally{Zo.transition=n}}))}function Aa(e,t,n){var r=ul(),i=fl(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===Qo||null!==a&&a===Qo)ra=na=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(o.eagerReducer=a,o.eagerState=l,cr(l,s))return}catch(e){}dl(e,i,r)}}var Ma={readContext:oo,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useMutableSource:ia,useOpaqueIdentifier:ia,unstable_isNewReconciler:!1},La={readContext:oo,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:oo,useEffect:wa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ba(4,2,Ea.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var n=sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Aa.bind(null,Qo,e),[r.memoizedState,e]},useRef:va,useState:ma,useDebugValue:Ca,useDeferredValue:function(e){var t=ma(e),n=t[0],r=t[1];return wa((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=ma(!1),t=e[0];return va(e=Pa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=sa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},pa(r,e,t,n)},useOpaqueIdentifier:function(){if($o){var e=!1,t=function(e){return{$$typeof:D,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Yr++).toString(36))),Error(a(355))})),n=ma(t)[1];return!(2&Qo.mode)&&(Qo.flags|=516,ga(5,(function(){n("r:"+(Yr++).toString(36))}),void 0,null)),t}return ma(t="r:"+(Yr++).toString(36)),t},unstable_isNewReconciler:!1},Ia={readContext:oo,useCallback:Oa,useContext:oo,useEffect:Sa,useImperativeHandle:ka,useLayoutEffect:xa,useMemo:Ta,useReducer:ua,useRef:ya,useState:function(){return ua(ca)},useDebugValue:Ca,useDeferredValue:function(e){var t=ua(ca),n=t[0],r=t[1];return Sa((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=ua(ca)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ua(ca)[0]},unstable_isNewReconciler:!1},Ra={readContext:oo,useCallback:Oa,useContext:oo,useEffect:Sa,useImperativeHandle:ka,useLayoutEffect:xa,useMemo:Ta,useReducer:fa,useRef:ya,useState:function(){return fa(ca)},useDebugValue:Ca,useDeferredValue:function(e){var t=fa(ca),n=t[0],r=t[1];return Sa((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=fa(ca)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return fa(ca)[0]},unstable_isNewReconciler:!1},Da=w.ReactCurrentOwner,ja=!1;function Na(e,t,n,r){t.child=null===e?Oo(t,null,n,r):Co(t,e.child,n,r)}function Fa(e,t,n,r,i){n=n.render;var o=t.ref;return io(t,i),r=aa(e,t,n,r,o,i),null===e||ja?(t.flags|=1,Na(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,rs(e,t,i))}function Ba(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Hl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ql(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,za(e,t,a,r,i,o))}return a=e.child,i&o||(i=a.memoizedProps,!(n=null!==(n=n.compare)?n:fr)(i,r)||e.ref!==t.ref)?(t.flags|=1,(e=Wl(a,r)).ref=t.ref,e.return=t,t.child=e):rs(e,t,o)}function za(e,t,n,r,i,o){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(ja=!1,!(o&i))return t.lanes=e.lanes,rs(e,t,o);16384&e.flags&&(ja=!0)}return Ha(e,t,n,r,o)}function $a(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(4&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},_l(0,e),null;t.memoizedState={baseLanes:0},_l(0,null!==o?o.baseLanes:n)}else t.memoizedState={baseLanes:0},_l(0,n);else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,_l(0,r);return Na(e,t,i,n),t.child}function Ua(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ha(e,t,n,r,i){var o=gi(n)?hi:di.current;return o=mi(t,o),io(t,i),n=aa(e,t,n,r,o,i),null===e||ja?(t.flags|=1,Na(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,rs(e,t,i))}function Wa(e,t,n,r,i){if(gi(n)){var o=!0;_i(t)}else o=!1;if(io(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),bo(t,n,r),wo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?oo(c):mi(t,c=gi(n)?hi:di.current);var u=n.getDerivedStateFromProps,f="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&_o(t,a,r,c),ao=!1;var d=t.memoizedState;a.state=d,po(t,r,a,i),l=t.memoizedState,s!==r||d!==l||pi.current||ao?("function"==typeof u&&(go(t,n,u,r),l=t.memoizedState),(s=ao||yo(t,n,s,r,d,l,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Ji(t.type,s),a.props=c,f=t.pendingProps,d=a.context,l="object"==typeof(l=n.contextType)&&null!==l?oo(l):mi(t,l=gi(n)?hi:di.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==l)&&_o(t,a,r,l),ao=!1,d=t.memoizedState,a.state=d,po(t,r,a,i);var h=t.memoizedState;s!==f||d!==h||pi.current||ao?("function"==typeof p&&(go(t,n,p,r),h=t.memoizedState),(c=ao||yo(t,n,c,r,d,h,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return qa(e,t,n,r,o,i)}function qa(e,t,n,r,i,o){Ua(e,t);var a=!!(64&t.flags);if(!r&&!a)return i&&wi(t,n,!1),rs(e,t,o);r=t.stateNode,Da.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Co(t,e.child,null,o),t.child=Co(t,null,s,o)):Na(e,t,s,o),t.memoizedState=r.state,i&&wi(t,n,!0),t.child}function Va(e){var t=e.stateNode;t.pendingContext?yi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yi(0,t.context,!1),Io(e,t.containerInfo)}var Ka,Ga,Ya,Ja,Za={dehydrated:null,retryLane:0};function Xa(e,t,n){var r,i=t.pendingProps,o=No.current,a=!1;return(r=!!(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ui(No,1&o),null===e?(void 0!==i.fallback&&Wo(t),e=i.children,o=i.fallback,a?(e=Qa(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Za,e):"number"==typeof i.unstable_expectedLoadTime?(e=Qa(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Za,t.lanes=33554432,e):((n=Kl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(i=function(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 2&o||t.child===a?n=Wl(a,s):((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null),null!==e?r=Wl(e,r):(r=Vl(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Za,i):(n=function(e,t,n,r){var i=e.child;return e=i.sibling,n=Wl(i,{mode:"visible",children:n}),!(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,i.children,n),t.memoizedState=null,n))}function Qa(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},2&i||null===o?o=Kl(t,i,0,null):(o.childLanes=0,o.pendingProps=t),n=Vl(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function es(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ro(e.return,t)}function ts(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function ns(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Na(e,t,r.children,n),2&(r=No.current))r=1&r|2,t.flags|=64;else{if(null!==e&&64&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&es(e,n);else if(19===e.tag)es(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ui(No,r),2&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Fo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ts(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ts(t,!0,n,null,o,t.lastEffect);break;case"together":ts(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function rs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bs|=t.lanes,n&t.childLanes){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Wl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function is(e,t){if(!$o)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function os(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return gi(t.type)&&vi(),null;case 3:return Ro(),ci(pi),ci(di),Yo(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Vo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Ga(t),null;case 5:jo(t);var o=Lo(Mo.current);if(n=t.type,null!==e&&null!=t.stateNode)Ya(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Lo(Po.current),Vo(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Zr]=t,r[Xr]=s,n){case"dialog":Pr("cancel",r),Pr("close",r);break;case"iframe":case"object":case"embed":Pr("load",r);break;case"video":case"audio":for(e=0;e<kr.length;e++)Pr(kr[e],r);break;case"source":Pr("error",r);break;case"img":case"image":case"link":Pr("error",r),Pr("load",r);break;case"details":Pr("toggle",r);break;case"input":ee(r,s),Pr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Pr("invalid",r);break;case"textarea":le(r,s),Pr("invalid",r)}for(var c in xe(n,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Pr("scroll",r));switch(n){case"input":J(r),re(r,s,!0);break;case"textarea":J(r),ue(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Br)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===fe.html&&(e=de(n)),e===fe.html?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Zr]=t,e[Xr]=r,Ka(e,t,!1,!1),t.stateNode=e,c=Ee(n,r),n){case"dialog":Pr("cancel",e),Pr("close",e),o=r;break;case"iframe":case"object":case"embed":Pr("load",e),o=r;break;case"video":case"audio":for(o=0;o<kr.length;o++)Pr(kr[o],e);o=r;break;case"source":Pr("error",e),o=r;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),o=r;break;case"details":Pr("toggle",e),o=r;break;case"input":ee(e,r),o=Q(e,r),Pr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=i({},r,{value:void 0}),Pr("invalid",e);break;case"textarea":le(e,r),o=se(e,r),Pr("invalid",e);break;default:o=r}xe(n,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var f=u[s];"style"===s?we(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&ge(e,f):"children"===s?"string"==typeof f?("textarea"!==n||""!==f)&&ve(e,f):"number"==typeof f&&ve(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=f&&"onScroll"===s&&Pr("scroll",e):null!=f&&_(e,s,f,c))}switch(n){case"input":J(e),re(e,r,!1);break;case"textarea":J(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Br)}Ur(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ja(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Lo(Mo.current),Lo(Po.current),Vo(t)?(r=t.stateNode,n=t.memoizedProps,r[Zr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Zr]=t,t.stateNode=r)}return null;case 13:return ci(No),r=t.memoizedState,64&t.flags?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Vo(t):n=null!==e.memoizedState,r&&!n&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&No.current?0===js&&(js=3):(0!==js&&3!==js||(js=4),null===Ms||!(134217727&Bs)&&!(134217727&zs)||gl(Ms,Is))),(r||n)&&(t.flags|=4),null);case 4:return Ro(),Ga(t),null===e&&Mr(t.stateNode.containerInfo),null;case 10:return no(t),null;case 19:if(ci(No),null===(r=t.memoizedState))return null;if(s=!!(64&t.flags),null===(c=r.rendering))if(s)is(r,!1);else{if(0!==js||null!==e&&64&e.flags)for(e=t.child;null!==e;){if(null!==(c=Fo(e))){for(t.flags|=64,is(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ui(No,1&No.current|2),t.child}e=e.sibling}null!==r.tail&&Ui()>Ws&&(t.flags|=64,s=!0,is(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Fo(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),is(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!$o)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ui()-r.renderingStartTime>Ws&&1073741824!==n&&(t.flags|=64,s=!0,is(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ui(),n.sibling=null,t=No.current,ui(No,s?1&t|2:1&t),n):null;case 23:case 24:return wl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function as(e){switch(e.tag){case 1:gi(e.type)&&vi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ro(),ci(pi),ci(di),Yo(),64&(t=e.flags))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return jo(e),null;case 13:return ci(No),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ci(No),null;case 4:return Ro(),null;case 10:return no(e),null;case 23:case 24:return wl(),null;default:return null}}function ss(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function ls(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ga=function(){},Ya=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Lo(Po.current);var a,s=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),s=[];break;case"option":o=oe(e,o),r=oe(e,r),s=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),s=[];break;case"textarea":o=se(e,o),r=se(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Br)}for(f in xe(n,r),n=null,o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var c=o[f];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in r){var u=r[f];if(c=null!=o?o[f]:void 0,r.hasOwnProperty(f)&&u!==c&&(null!=u||null!=c))if("style"===f)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(f,n)),n=u;else"dangerouslySetInnerHTML"===f?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(f,u)):"children"===f?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(f,""+u):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=u&&"onScroll"===f&&Pr("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===D?u.toString():(s=s||[]).push(f,u))}n&&(s=s||[]).push("style",n);var f=s;(t.updateQueue=f)&&(t.flags|=4)}},Ja=function(e,t,n,r){n!==r&&(t.flags|=4)};var cs="function"==typeof WeakMap?WeakMap:Map;function us(e,t,n){(n=co(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,Ys=r),ls(0,t)},n}function fs(e,t,n){(n=co(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return ls(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Js?Js=new Set([this]):Js.add(this),ls(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ds="function"==typeof WeakSet?WeakSet:Set;function ps(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Fl(e,t)}else t.current=null}function hs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ji(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Vr(t.stateNode.containerInfo))}throw Error(a(163))}function ms(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(!(3&~e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,4&(i=i.tag)&&1&i&&(Dl(n,e),Rl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ji(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ho(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ho(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ur(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&wt(n)))))}throw Error(a(163))}function gs(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=_e("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function vs(e,t){if(xi&&"function"==typeof xi.onCommitFiberUnmount)try{xi.onCommitFiberUnmount(Si,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(4&r)Dl(t,n);else{r=t;try{i()}catch(e){Fl(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ps(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Fl(t,e)}break;case 5:ps(t);break;case 4:xs(e,t)}}function ys(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function bs(e){return 5===e.tag||3===e.tag||4===e.tag}function _s(e){e:{for(var t=e.return;null!==t;){if(bs(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||bs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ws(e,n,t):Ss(e,n,t)}function ws(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Br));else if(4!==r&&null!==(e=e.child))for(ws(e,t,n),e=e.sibling;null!==e;)ws(e,t,n),e=e.sibling}function Ss(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ss(e,t,n),e=e.sibling;null!==e;)Ss(e,t,n),e=e.sibling}function xs(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,l=i,c=l;;)if(vs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=i.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(vs(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function Es(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{!(3&~r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Xr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ee(e,i),t=Ee(e,r),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];"style"===s?we(n,l):"dangerouslySetInnerHTML"===s?ge(n,l):"children"===s?ve(n,l):_(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ae(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,wt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Hs=Ui(),gs(t.child,!0)),void ks(t);case 19:return void ks(t);case 23:case 24:return void gs(t,null!==t.memoizedState)}throw Error(a(163))}function ks(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ds),t.forEach((function(t){var r=zl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Cs(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Os=Math.ceil,Ts=w.ReactCurrentDispatcher,Ps=w.ReactCurrentOwner,As=0,Ms=null,Ls=null,Is=0,Rs=0,Ds=li(0),js=0,Ns=null,Fs=0,Bs=0,zs=0,$s=0,Us=null,Hs=0,Ws=1/0;function qs(){Ws=Ui()+500}var Vs,Ks=null,Gs=!1,Ys=null,Js=null,Zs=!1,Xs=null,Qs=90,el=[],tl=[],nl=null,rl=0,il=null,ol=-1,al=0,sl=0,ll=null,cl=!1;function ul(){return 48&As?Ui():-1!==ol?ol:ol=Ui()}function fl(e){if(!(2&(e=e.mode)))return 1;if(!(4&e))return 99===Hi()?1:2;if(0===al&&(al=Fs),0!==Yi.transition){0!==sl&&(sl=null!==Us?Us.pendingLanes:0),e=al;var t=4186112&~sl;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Hi(),e=Bt(4&As&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),al)}function dl(e,t,n){if(50<rl)throw rl=0,il=null,Error(a(185));if(null===(e=pl(e,t)))return null;Ut(e,t,n),e===Ms&&(zs|=t,4===js&&gl(e,Is));var r=Hi();1===t?8&As&&!(48&As)?vl(e):(hl(e,n),0===As&&(qs(),Ki())):(!(4&As)||98!==r&&99!==r||(null===nl?nl=new Set([e]):nl.add(e)),hl(e,n)),Us=e}function pl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),c=1<<l,u=o[l];if(-1===u){if(!(c&r)||c&i){u=t,jt(c);var f=Dt;o[l]=10<=f?u+250:6<=f?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=Nt(e,e===Ms?Is:0),t=Dt,0===r)null!==n&&(n!==ji&&Ci(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==ji&&Ci(n)}15===t?(n=vl.bind(null,e),null===Fi?(Fi=[n],Bi=ki(Mi,Gi)):Fi.push(n),n=ji):14===t?n=Vi(99,vl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Vi(n,ml.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ml(e){if(ol=-1,sl=al=0,48&As)throw Error(a(327));var t=e.callbackNode;if(Il()&&e.callbackNode!==t)return null;var n=Nt(e,e===Ms?Is:0);if(0===n)return null;var r=n,i=As;As|=16;var o=El();for(Ms===e&&Is===r||(qs(),Sl(e,r));;)try{Ol();break}catch(t){xl(e,t)}if(to(),Ts.current=o,As=i,null!==Ls?r=0:(Ms=null,Is=0,r=js),Fs&zs)Sl(e,0);else if(0!==r){if(2===r&&(As|=64,e.hydrate&&(e.hydrate=!1,Vr(e.containerInfo)),0!==(n=Ft(e))&&(r=kl(e,n))),1===r)throw t=Ns,Sl(e,0),gl(e,n),hl(e,Ui()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Al(e);break;case 3:if(gl(e,n),(62914560&n)===n&&10<(r=Hs+500-Ui())){if(0!==Nt(e,0))break;if(((i=e.suspendedLanes)&n)!==n){ul(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Wr(Al.bind(null,e),r);break}Al(e);break;case 4:if(gl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var s=31-Ht(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=Ui()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Os(n/1960))-n)){e.timeoutHandle=Wr(Al.bind(null,e),n);break}Al(e);break;default:throw Error(a(329))}}return hl(e,Ui()),e.callbackNode===t?ml.bind(null,e):null}function gl(e,t){for(t&=~$s,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function vl(e){if(48&As)throw Error(a(327));if(Il(),e===Ms&&e.expiredLanes&Is){var t=Is,n=kl(e,t);Fs&zs&&(n=kl(e,t=Nt(e,t)))}else n=kl(e,t=Nt(e,0));if(0!==e.tag&&2===n&&(As|=64,e.hydrate&&(e.hydrate=!1,Vr(e.containerInfo)),0!==(t=Ft(e))&&(n=kl(e,t))),1===n)throw n=Ns,Sl(e,0),gl(e,t),hl(e,Ui()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Al(e),hl(e,Ui()),null}function yl(e,t){var n=As;As|=1;try{return e(t)}finally{0===(As=n)&&(qs(),Ki())}}function bl(e,t){var n=As;As&=-2,As|=8;try{return e(t)}finally{0===(As=n)&&(qs(),Ki())}}function _l(e,t){ui(Ds,Rs),Rs|=t,Fs|=t}function wl(){Rs=Ds.current,ci(Ds)}function Sl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,qr(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&vi();break;case 3:Ro(),ci(pi),ci(di),Yo();break;case 5:jo(r);break;case 4:Ro();break;case 13:case 19:ci(No);break;case 10:no(r);break;case 23:case 24:wl()}n=n.return}Ms=e,Ls=Wl(e.current,null),Is=Rs=Fs=t,js=0,Ns=null,$s=zs=Bs=0}function xl(e,t){for(;;){var n=Ls;try{if(to(),Jo.current=Ma,na){for(var r=Qo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}na=!1}if(Xo=0,ta=ea=Qo=null,ra=!1,Ps.current=null,null===n||null===n.return){js=1,Ns=t,Ls=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=Is,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(!(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var f=!!(1&No.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=d.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!f)}}if(p){var g=d.updateQueue;if(null===g){var v=new Set;v.add(c),d.updateQueue=v}else g.add(c);if(!(2&d.mode)){if(d.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=co(-1,1);y.tag=2,uo(s,y)}s.lanes|=1;break e}l=void 0,s=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new cs,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(s)){l.add(s);var _=Bl.bind(null,o,c,s);c.then(_,_)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);l=Error((K(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==js&&(js=2),l=ss(l,s),d=a;do{switch(d.tag){case 3:o=l,d.flags|=4096,t&=-t,d.lanes|=t,fo(d,us(0,o,t));break e;case 1:o=l;var w=d.type,S=d.stateNode;if(!(64&d.flags||"function"!=typeof w.getDerivedStateFromError&&(null===S||"function"!=typeof S.componentDidCatch||null!==Js&&Js.has(S)))){d.flags|=4096,t&=-t,d.lanes|=t,fo(d,fs(d,o,t));break e}}d=d.return}while(null!==d)}Pl(n)}catch(e){t=e,Ls===n&&null!==n&&(Ls=n=n.return);continue}break}}function El(){var e=Ts.current;return Ts.current=Ma,null===e?Ma:e}function kl(e,t){var n=As;As|=16;var r=El();for(Ms===e&&Is===t||Sl(e,t);;)try{Cl();break}catch(t){xl(e,t)}if(to(),As=n,Ts.current=r,null!==Ls)throw Error(a(261));return Ms=null,Is=0,js}function Cl(){for(;null!==Ls;)Tl(Ls)}function Ol(){for(;null!==Ls&&!Oi();)Tl(Ls)}function Tl(e){var t=Vs(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?Pl(e):Ls=t,Ps.current=null}function Pl(e){var t=e;do{var n=t.alternate;if(e=t.return,2048&t.flags){if(null!==(n=as(t)))return n.flags&=2047,void(Ls=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(null!==(n=os(n,t,Rs)))return void(Ls=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||1073741824&Rs||!(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&!(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(null!==(t=t.sibling))return void(Ls=t);Ls=t=e}while(null!==t);0===js&&(js=5)}function Al(e){var t=Hi();return qi(99,Ml.bind(null,e,t)),null}function Ml(e,t){do{Il()}while(null!==Xs);if(48&As)throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-Ht(o),u=1<<c;i[c]=0,s[c]=-1,l[c]=-1,o&=~u}if(null!==nl&&!(24&r)&&nl.has(e)&&nl.delete(e),e===Ms&&(Ls=Ms=null,Is=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=As,As|=32,Ps.current=null,zr=Gt,gr(s=mr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var f=0,d=-1,p=-1,h=0,m=0,g=s,v=null;t:for(;;){for(var y;g!==l||0!==o&&3!==g.nodeType||(d=f+o),g!==c||0!==u&&3!==g.nodeType||(p=f+u),3===g.nodeType&&(f+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===s)break t;if(v===l&&++h===o&&(d=f),v===c&&++m===u&&(p=f),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;$r={focusedElem:s,selectionRange:l},Gt=!1,ll=null,cl=!1,Ks=r;do{try{Ll()}catch(e){if(null===Ks)throw Error(a(330));Fl(Ks,e),Ks=Ks.nextEffect}}while(null!==Ks);ll=null,Ks=r;do{try{for(s=e;null!==Ks;){var b=Ks.flags;if(16&b&&ve(Ks.stateNode,""),128&b){var _=Ks.alternate;if(null!==_){var w=_.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&b){case 2:_s(Ks),Ks.flags&=-3;break;case 6:_s(Ks),Ks.flags&=-3,Es(Ks.alternate,Ks);break;case 1024:Ks.flags&=-1025;break;case 1028:Ks.flags&=-1025,Es(Ks.alternate,Ks);break;case 4:Es(Ks.alternate,Ks);break;case 8:xs(s,l=Ks);var S=l.alternate;ys(l),null!==S&&ys(S)}Ks=Ks.nextEffect}}catch(e){if(null===Ks)throw Error(a(330));Fl(Ks,e),Ks=Ks.nextEffect}}while(null!==Ks);if(w=$r,_=mr(),b=w.focusedElem,s=w.selectionRange,_!==b&&b&&b.ownerDocument&&hr(b.ownerDocument.documentElement,b)){null!==s&&gr(b)&&(_=s.start,void 0===(w=s.end)&&(w=_),"selectionStart"in b?(b.selectionStart=_,b.selectionEnd=Math.min(w,b.value.length)):(w=(_=b.ownerDocument||document)&&_.defaultView||window).getSelection&&(w=w.getSelection(),l=b.textContent.length,S=Math.min(s.start,l),s=void 0===s.end?S:Math.min(s.end,l),!w.extend&&S>s&&(l=s,s=S,S=l),l=pr(b,S),o=pr(b,s),l&&o&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&((_=_.createRange()).setStart(l.node,l.offset),w.removeAllRanges(),S>s?(w.addRange(_),w.extend(o.node,o.offset)):(_.setEnd(o.node,o.offset),w.addRange(_))))),_=[];for(w=b;w=w.parentNode;)1===w.nodeType&&_.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<_.length;b++)(w=_[b]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Gt=!!zr,$r=zr=null,e.current=n,Ks=r;do{try{for(b=e;null!==Ks;){var x=Ks.flags;if(36&x&&ms(b,Ks.alternate,Ks),128&x){_=void 0;var E=Ks.ref;if(null!==E){var k=Ks.stateNode;Ks.tag,_=k,"function"==typeof E?E(_):E.current=_}}Ks=Ks.nextEffect}}catch(e){if(null===Ks)throw Error(a(330));Fl(Ks,e),Ks=Ks.nextEffect}}while(null!==Ks);Ks=null,Ni(),As=i}else e.current=n;if(Zs)Zs=!1,Xs=e,Qs=t;else for(Ks=r;null!==Ks;)t=Ks.nextEffect,Ks.nextEffect=null,8&Ks.flags&&((x=Ks).sibling=null,x.stateNode=null),Ks=t;if(0===(r=e.pendingLanes)&&(Js=null),1===r?e===il?rl++:(rl=0,il=e):rl=0,n=n.stateNode,xi&&"function"==typeof xi.onCommitFiberRoot)try{xi.onCommitFiberRoot(Si,n,void 0,!(64&~n.current.flags))}catch(e){}if(hl(e,Ui()),Gs)throw Gs=!1,e=Ys,Ys=null,e;return 8&As||Ki(),null}function Ll(){for(;null!==Ks;){var e=Ks.alternate;cl||null===ll||(8&Ks.flags?Qe(Ks,ll)&&(cl=!0):13===Ks.tag&&Cs(e,Ks)&&Qe(Ks,ll)&&(cl=!0));var t=Ks.flags;256&t&&hs(e,Ks),!(512&t)||Zs||(Zs=!0,Vi(97,(function(){return Il(),null}))),Ks=Ks.nextEffect}}function Il(){if(90!==Qs){var e=97<Qs?97:Qs;return Qs=90,qi(e,jl)}return!1}function Rl(e,t){el.push(t,e),Zs||(Zs=!0,Vi(97,(function(){return Il(),null})))}function Dl(e,t){tl.push(t,e),Zs||(Zs=!0,Vi(97,(function(){return Il(),null})))}function jl(){if(null===Xs)return!1;var e=Xs;if(Xs=null,48&As)throw Error(a(331));var t=As;As|=32;var n=tl;tl=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(a(330));Fl(o,e)}}for(n=el,el=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var l=i.create;i.destroy=l()}catch(e){if(null===o)throw Error(a(330));Fl(o,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return As=t,Ki(),!0}function Nl(e,t,n){uo(e,t=us(0,t=ss(n,t),1)),t=ul(),null!==(e=pl(e,1))&&(Ut(e,1,t),hl(e,t))}function Fl(e,t){if(3===e.tag)Nl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Nl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Js||!Js.has(r))){var i=fs(n,e=ss(t,e),1);if(uo(n,i),i=ul(),null!==(n=pl(n,1)))Ut(n,1,i),hl(n,i);else if("function"==typeof r.componentDidCatch&&(null===Js||!Js.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ul(),e.pingedLanes|=e.suspendedLanes&n,Ms===e&&(Is&n)===n&&(4===js||3===js&&(62914560&Is)===Is&&500>Ui()-Hs?Sl(e,0):$s|=n),hl(e,t)}function zl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(2&(t=e.mode)?4&t?(0===al&&(al=Fs),0===(t=zt(62914560&~al))&&(t=4194304)):t=99===Hi()?1:2:t=1),n=ul(),null!==(e=pl(e,t))&&(Ut(e,t,n),hl(e,n))}function $l(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ul(e,t,n,r){return new $l(e,t,n,r)}function Hl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wl(e,t){var n=e.alternate;return null===n?((n=Ul(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ql(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Hl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return Vl(n.children,i,o,t);case j:s=8,i|=16;break;case k:s=8,i|=1;break;case C:return(e=Ul(12,n,t,8|i)).elementType=C,e.type=C,e.lanes=o,e;case A:return(e=Ul(13,n,t,i)).type=A,e.elementType=A,e.lanes=o,e;case M:return(e=Ul(19,n,t,i)).elementType=M,e.lanes=o,e;case N:return Kl(n,i,o,t);case F:return(e=Ul(24,n,t,i)).elementType=F,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:s=10;break e;case T:s=9;break e;case P:s=11;break e;case L:s=14;break e;case I:s=16,r=null;break e;case R:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ul(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Vl(e,t,n,r){return(e=Ul(7,e,r,t)).lanes=n,e}function Kl(e,t,n,r){return(e=Ul(23,e,r,t)).elementType=N,e.lanes=n,e}function Gl(e,t,n){return(e=Ul(6,e,null,t)).lanes=n,e}function Yl(e,t,n){return(t=Ul(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=$t(0),this.expirationTimes=$t(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$t(0),this.mutableSourceEagerHydrationData=null}function Zl(e,t,n,r){var i=t.current,o=ul(),s=fl(i);e:if(n){t:{if(Ye(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(gi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(gi(c)){n=bi(n,c,l);break e}}n=l}else n=fi;return null===t.context?t.context=n:t.pendingContext=n,(t=co(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),uo(i,t),dl(i,s,o),s}function Xl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ql(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ec(e,t){Ql(e,t),(e=e.alternate)&&Ql(e,t)}function tc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Jl(e,t,null!=n&&!0===n.hydrate),t=Ul(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,so(t),e[Qr]=n.current,Mr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Xl(a);s.call(e)}}Zl(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Xl(a);l.call(e)}}bl((function(){Zl(t,a,e,i)}))}return Xl(a)}function ic(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Vs=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||pi.current)ja=!0;else{if(!(n&r)){switch(ja=!1,t.tag){case 3:Va(t),Ko();break;case 5:Do(t);break;case 1:gi(t.type)&&_i(t);break;case 4:Io(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;ui(Zi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return n&t.child.childLanes?Xa(e,t,n):(ui(No,1&No.current),null!==(t=rs(e,t,n))?t.sibling:null);ui(No,1&No.current);break;case 19:if(r=!!(n&t.childLanes),64&e.flags){if(r)return ns(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ui(No,No.current),r)break;return null;case 23:case 24:return t.lanes=0,$a(e,t,n)}return rs(e,t,n)}ja=!!(16384&e.flags)}else ja=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=mi(t,di.current),io(t,n),i=aa(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gi(r)){var o=!0;_i(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,so(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&go(t,r,s,e),i.updater=vo,t.stateNode=i,i._reactInternals=t,wo(t,r,e,n),t=qa(null,t,r,!0,o,n)}else t.tag=0,Na(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Hl(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===L)return 14}return 2}(i),e=Ji(i,e),o){case 0:t=Ha(null,t,i,e,n);break e;case 1:t=Wa(null,t,i,e,n);break e;case 11:t=Fa(null,t,i,e,n);break e;case 14:t=Ba(null,t,i,Ji(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ha(e,t,r,i=t.elementType===r?i:Ji(r,i),n);case 1:return r=t.type,i=t.pendingProps,Wa(e,t,r,i=t.elementType===r?i:Ji(r,i),n);case 3:if(Va(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,lo(e,t),po(t,r,null,n),(r=t.memoizedState.element)===i)Ko(),t=rs(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(zo=Kr(t.stateNode.containerInfo.firstChild),Bo=t,o=$o=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Go.push(o);for(n=Oo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Na(e,t,r,n),Ko();t=t.child}return t;case 5:return Do(t),null===e&&Wo(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,Hr(r,i)?s=null:null!==o&&Hr(r,o)&&(t.flags|=16),Ua(e,t),Na(e,t,s,n),t.child;case 6:return null===e&&Wo(t),null;case 13:return Xa(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Co(t,null,r,n):Na(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:Ji(r,i),n);case 7:return Na(e,t,t.pendingProps,n),t.child;case 8:case 12:return Na(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(ui(Zi,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0==(o=cr(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!pi.current){t=rs(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&u.observedBits&o){1===l.tag&&((u=co(-1,n&-n)).tag=2,uo(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ro(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Na(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,io(t,n),r=r(i=oo(i,o.unstable_observedBits)),t.flags|=1,Na(e,t,r,n),t.child;case 14:return o=Ji(i=t.type,t.pendingProps),Ba(e,t,i,o=Ji(i.type,o),r,n);case 15:return za(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ji(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,gi(r)?(e=!0,_i(t)):e=!1,io(t,n),bo(t,r,i),wo(t,r,i,n),qa(null,t,r,!0,e,n);case 19:return ns(e,t,n);case 23:case 24:return $a(e,t,n)}throw Error(a(156,t.tag))},tc.prototype.render=function(e){Zl(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Zl(null,e,null,(function(){t[Qr]=null}))},et=function(e){13===e.tag&&(dl(e,4,ul()),ec(e,4))},tt=function(e){13===e.tag&&(dl(e,67108864,ul()),ec(e,67108864))},nt=function(e){if(13===e.tag){var t=ul(),n=fl(e);dl(e,n,t),ec(e,n)}},rt=function(e,t){return t()},Ce=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ii(r);if(!i)throw Error(a(90));Z(r),ne(r,i)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Le=yl,Ie=function(e,t,n,r,i){var o=As;As|=4;try{return qi(98,e.bind(null,t,n,r,i))}finally{0===(As=o)&&(qs(),Ki())}},Re=function(){!(49&As)&&(function(){if(null!==nl){var e=nl;nl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hl(e,Ui())}))}Ki()}(),Il())},De=function(e,t){var n=As;As|=2;try{return e(t)}finally{0===(As=n)&&(qs(),Ki())}};var oc={Events:[ni,ri,ii,Ae,Me,Il,{current:!1}]},ac={findFiberByHostInstance:ti,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Xe(e))?null:e.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{Si=lc.inject(sc),xi=lc}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oc,t.createPortal=ic,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=Xe(t))?null:e.stateNode},t.flushSync=function(e,t){var n=As;if(48&n)return e(t);As|=1;try{if(e)return qi(99,e.bind(null,t))}finally{As=n,Ki()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(a(200));return rc(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(a(200));return rc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(a(40));return!!e._reactRootContainer&&(bl((function(){rc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Qr]=null}))})),!0)},t.unstable_batchedUpdates=yl,t.unstable_createPortal=function(e,t){return ic(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return rc(e,t,n,!1,r)},t.version="17.0.2"},32451:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(47749)},11289:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},14653:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===d||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case m:case h:case l:return e;default:return t}}case i:return t}}}},86129:(e,t,n)=>{"use strict";e.exports=n(14653)},17002:function(e,t,n){var r;e.exports=(r=n(81794),(()=>{"use strict";var e={359:e=>{e.exports=r}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{ReactNotifications:()=>j,Store:()=>T});var e,t,r,o,a=n(359),s=n.n(a),l="rnc__notification-item";!function(e){e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_CENTER="bottom-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e.TOP_CENTER="top-center",e.CENTER="center",e.TOP_FULL="top-full",e.BOTTOM_FULL="bottom-full"}(e||(e={})),function(e){e.TOP="top",e.BOTTOM="bottom"}(t||(t={})),function(e){e.SUCCESS="success",e.DANGER="danger",e.INFO="info",e.DEFAULT="default",e.WARNING="warning"}(r||(r={})),function(e){e.TIMEOUT="timeout",e.CLICK="click",e.TOUCH="touch",e.MANUAL="manual"}(o||(o={}));var c=function(e){return null==e};function u(t){return t===e.BOTTOM_FULL||t===e.BOTTOM_LEFT||t===e.BOTTOM_RIGHT||t===e.BOTTOM_CENTER}function f(t){return t===e.TOP_FULL||t===e.TOP_LEFT||t===e.TOP_RIGHT||t===e.TOP_CENTER}function d(e){var t=e.type,n=e.content,i=e.userDefinedTypes,o=[l];if(n)return o;if(c(i))return function(e){switch(e){case r.DEFAULT:return[l,"rnc__notification-item--default"];case r.SUCCESS:return[l,"rnc__notification-item--success"];case r.DANGER:return[l,"rnc__notification-item--danger"];case r.WARNING:return[l,"rnc__notification-item--warning"];case r.INFO:return[l,"rnc__notification-item--info"];default:return[l]}}(t);var a=i.find((function(e){return e.name===t}));return o.concat(a.htmlClasses)}function p(e,t){var n=e.duration,r=e.timingFunction,i=e.delay;return"".concat(n,"ms ").concat(t," ").concat(r," ").concat(i,"ms")}function h(e){return e?(0|16*Math.random()).toString(16):"100000000000100000000000".replace(/1|0/g,h)}function m(e,t){var n=t.duration,r=t.timingFunction,i=t.delay,o=e||{};return c(o.duration)&&(o.duration=n),c(o.timingFunction)&&(o.timingFunction=r),c(o.delay)&&(o.delay=i),o}function g(e,t,n){var i=e,o=i.id,a=i.type,s=i.insert,l=i.content,u=i.container,f=i.animationIn,d=i.animationOut,p=i.slidingEnter,g=i.slidingExit,v=i.touchRevert,y=i.touchSlidingExit,b=i.dismiss,_=i.width,w=i.onRemoval;i.id=o||h(),i.type=l?null:a.toLowerCase(),t&&!l&&(i.userDefinedTypes=function(e,t){var n=e.content,i=e.type;if(!n&&i!==r.SUCCESS&&i!==r.DANGER&&i!==r.INFO&&i!==r.DEFAULT&&i!==r.WARNING&&t)return t}(i,t)),i.width=c(_)?n:_,i.container=u.toLowerCase(),i.insert=(s||"top").toLowerCase(),i.dismiss=function(e){var t=e,n={duration:0,click:!0,touch:!0,onScreen:!1,pauseOnHover:!1,waitForAnimation:!1,showIcon:!1};return t?(Object.keys(n).forEach((function(e){c(t[e])&&(t[e]=n[e])})),t):n}(b),i.animationIn=f||[],i.animationOut=d||[],i.onRemoval=w||function(){};var S=function(e,t,n){return{duration:e,timingFunction:t,delay:n}};i.slidingEnter=m(p,S(600,"linear",0)),i.slidingExit=m(g,S(600,"linear",0)),i.touchRevert=m(v,S(600,"linear",0));var x=y||{},E=x.swipe||{},k=x.fade||{};return i.touchSlidingExit=x,i.touchSlidingExit.swipe=m(E,S(600,"linear",0)),i.touchSlidingExit.fade=m(k,S(300,"linear",0)),i}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.callback=t,this.remaining=n,this.resume()}var t,n;return t=e,(n=[{key:"pause",value:function(){clearTimeout(this.timerId),this.remaining-=Date.now()-this.start}},{key:"resume",value:function(){this.start=Date.now(),clearTimeout(this.timerId),this.timerId=setTimeout(this.callback,this.remaining)}},{key:"clear",value:function(){clearTimeout(this.timerId)}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function _(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var C=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(l,n);var r,i,a=E(l);function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).onClick=function(){var e=t.props.notification.dismiss;(e.click||e.showIcon)&&t.removeNotification(o.CLICK)},t.onTouchStart=function(e){var n=e.touches[0].pageX;t.setState((function(e){var t=e.parentStyle;return{startX:n,currentX:n,parentStyle:Object.assign(Object.assign({},t),{position:"relative"})}}))},t.onTouchMove=function(e){var n=e.touches[0].pageX,r=t.state.startX,i=t.props,a=i.toggleRemoval,s=i.notification,l=s.id,c=s.onRemoval,u=s.slidingExit,f=s.touchSlidingExit,d=f.swipe,h=f.fade,m=n-r,g=t.rootElementRef.current.offsetWidth,v=window.innerWidth+g,y="".concat(n-r>=0?v:-v,"px");if(function(e,t){return Math.abs(e)>=.4*t}(m,g)){var b=p(d,"left"),_=p(h,"opacity"),w=function(){a(l,(function(){return c(l,o.TOUCH)}))};return t.setState((function(e){var n=e.parentStyle;return{touchEnabled:!1,parentStyle:Object.assign(Object.assign({},n),{left:y,opacity:0,transition:"".concat(b,", ").concat(_)}),onTransitionEnd:function(){t.setState((function(e){var t=e.parentStyle;return{parentStyle:Object.assign(Object.assign({},t),{height:"0px",overflow:"hidden",transition:p(u,"height")}),onTransitionEnd:w}}))}}}))}return t.setState((function(e){var t=e.parentStyle;return{currentX:n,parentStyle:Object.assign(Object.assign({},t),{left:"".concat(0+m,"px")})}}))},t.onTouchEnd=function(){var e=t.props.notification.touchRevert;t.setState((function(t){var n=t.parentStyle;return{parentStyle:Object.assign(Object.assign({},n),{left:0,transition:p(e,"left")})}}))},t.onMouseEnter=function(){t.timer?t.timer.pause():t.setState({animationPlayState:"paused"})},t.onMouseLeave=function(){t.timer?t.timer.resume():t.setState({animationPlayState:"running"})},t.rootElementRef=s().createRef();var n=e.defaultNotificationWidth,r=e.notification,i=e.isMobile,c=r.width;return t.state={parentStyle:{height:"0px",overflow:"hidden",width:"".concat(c||n,"px")},htmlClassList:d(r),animationPlayState:"running",touchEnabled:!0},i&&(t.state.parentStyle.width="100%"),t}return r=l,(i=[{key:"componentWillUnmount",value:function(){this.timer&&this.timer.clear()}},{key:"componentDidMount",value:function(){var n=this,r=this.props,i=r.notification,a=r.notificationsCount,s=i.dismiss,l=s.duration,c=s.onScreen,d=function(n,r){return!(r<=1)&&r>1&&(n.insert===t.TOP&&f(n.container)||n.insert===t.BOTTOM&&u(n.container)||n.container===e.CENTER)}(i,a),h=this.rootElementRef.current.scrollHeight,m=function(){l&&!c&&(n.timer=new y((function(){return n.removeNotification(o.TIMEOUT)}),l))};this.setState((function(e){return{parentStyle:{width:e.parentStyle.width,height:"".concat(h,"px"),transition:d?p(i.slidingEnter,"height"):"10ms height"},onTransitionEnd:m}}),(function(){requestAnimationFrame((function(){n.setState((function(e){return{htmlClassList:[].concat(_(i.animationIn),_(e.htmlClassList))}}))}))}))}},{key:"componentDidUpdate",value:function(e){if(this.props.hasBeenRemoved&&!e.hasBeenRemoved&&this.removeNotification(o.MANUAL),e!==this.props&&!this.props.hasBeenRemoved){var t=this.props.notification.container,n=this.rootElementRef.current.children[0].scrollHeight;this.setState((function(e){var r=e.parentStyle;return{parentStyle:Object.assign(Object.assign({},r),{height:"".concat(n+(t.endsWith("full")?0:15),"px")})}}))}}},{key:"removeNotification",value:function(e){var t=this,n=this.props,r=n.notification,i=n.toggleRemoval,o=r.id,a=r.onRemoval,s=r.dismiss.waitForAnimation,l=[].concat(_(r.animationOut),_(d(r))),c=function(){return i(o,(function(){return a(o,e)}))},u={height:"0px",overflow:"hidden",transition:p(r.slidingExit,"height")};return s?this.setState((function(e){var n=e.parentStyle.width;return{htmlClassList:l,onAnimationEnd:function(){t.setState({parentStyle:Object.assign({width:n},u),onTransitionEnd:c})}}})):this.setState((function(e){var t=e.parentStyle.width;return{parentStyle:Object.assign({width:t},u),onTransitionEnd:c,htmlClassList:l}}))}},{key:"renderTimer",value:function(){var e=this,t=this.props.notification.dismiss,n=t.duration,r=t.onScreen,i=this.state.animationPlayState;if(n&&r){var a={animationName:"timer",animationDuration:"".concat(n,"ms"),animationTimingFunction:"linear",animationFillMode:"forwards",animationDelay:"0",animationPlayState:i};return s().createElement("div",{className:"rnc__notification-timer"},s().createElement("div",{className:"rnc__notification-timer-filler",onAnimationEnd:function(){return e.removeNotification(o.TIMEOUT)},style:a}))}}},{key:"renderCustomContent",value:function(){var e=this.state.htmlClassList,t=this.props.notification,n=t.id,r=t.content,i=t.dismiss,o=i.duration,a=i.pauseOnHover,l=o>0&&a;return s().createElement("div",{className:"".concat(_(e).join(" ")),onMouseEnter:l?this.onMouseEnter:null,onMouseLeave:l?this.onMouseLeave:null},s().isValidElement(r)?r:s().createElement(r,Object.assign({},{id:n,notificationConfig:Object.assign({},this.props.notification)})))}},{key:"renderNotification",value:function(){var e=this.props.notification,t=e.title,n=e.message,r=e.dismiss,i=r.showIcon,o=r.duration,a=r.pauseOnHover,l=this.state.htmlClassList,c=o>0&&a;return s().createElement("div",{className:"".concat(_(l).join(" ")),onMouseEnter:c?this.onMouseEnter:null,onMouseLeave:c?this.onMouseLeave:null},s().createElement("div",{className:"rnc__notification-content"},i&&s().createElement("div",{className:"rnc__notification-close-mark",onClick:this.onClick}),t&&s().createElement("div",{className:"rnc__notification-title"},t),s().createElement("div",{className:"rnc__notification-message"},n),this.renderTimer()))}},{key:"render",value:function(){var e=this.props.notification,t=e.content,n=e.dismiss.click,r=this.state,i=r.parentStyle,o=r.onAnimationEnd,a=r.onTransitionEnd,l=r.touchEnabled;return s().createElement("div",{ref:this.rootElementRef,onClick:n?this.onClick:null,style:i,className:"rnc__notification",onAnimationEnd:o,onTransitionEnd:a,onTouchStart:l?this.onTouchStart:null,onTouchMove:l?this.onTouchMove:null,onTouchEnd:l?this.onTouchEnd:null},t?this.renderCustomContent():this.renderNotification())}}])&&S(r.prototype,i),Object.defineProperty(r,"prototype",{writable:!1}),l}(s().Component);function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}const T=new(function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.incrementCounter=function(){return t.counter+=1},this.getCounter=function(){return t.counter},this.counter=0,this.add=null}var t,n;return t=e,(n=[{key:"addNotification",value:function(e){this.incrementCounter();var t=g(e,this.types,this.defaultNotificationWidth);return this.add(t)}},{key:"register",value:function(e){var t=e.addNotification,n=e.removeNotification,r=e.removeAllNotifications,i=e.types,o=e.defaultNotificationWidth;this.add=t,this.removeNotification=n,this.removeAllNotifications=r,this.defaultNotificationWidth=o,this.types=i}}])&&O(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}());function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function A(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},I(e,t)}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D(e);if(t){var i=D(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}var j=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}(o,t);var n,r,i=R(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=i.call(this,e)).handleResize=function(){t.setState({windowWidth:window.innerWidth})},t.add=function(e){return t.setState((function(t){var n=A(t.notifications),r=n.findIndex((function(t){return t.id===e.id}));return r>-1?(n[r]=e,{notifications:n}):{notifications:"top"===e.insert?[e].concat(A(n)):[].concat(A(n),[e])}})),e.id},t.remove=function(e){t.setState((function(t){return{notifications:t.notifications.map((function(t){return t.id===e&&(t.hasBeenRemoved=!0),t}))}}))},t.removeAllNotifications=function(){t.setState({notifications:t.state.notifications.map((function(e){return Object.assign(Object.assign({},e),{hasBeenRemoved:!0})}))})},t.toggleRemoval=function(e,n){t.setState((function(t){return{notifications:t.notifications.filter((function(t){return t.id!==e}))}}),n)},t.state={isMobile:!!c(e.isMobile)||e.isMobile,breakpoint:c(e.breakpoint)?768:e.breakpoint,notifications:[],windowWidth:void 0},t}return n=o,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.types,n=e.defaultNotificationWidth;T.register({addNotification:this.add,removeNotification:this.remove,removeAllNotifications:this.removeAllNotifications,defaultNotificationWidth:n||325,types:t}),this.setState({windowWidth:window.innerWidth}),window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"renderNotifications",value:function(e,t){var n=this;return e.map((function(r){return s().createElement(C,{id:r.id,key:r.id,isMobile:t,defaultNotificationWidth:n.props.defaultNotificationWidth,notification:r,toggleRemoval:n.toggleRemoval,notificationsCount:e.length,hasBeenRemoved:r.hasBeenRemoved})}))}},{key:"renderMobileNotifications",value:function(t){var n=t.className,r=t.id,i=function(t){var n=[],r=[];return t.forEach((function(t){var i=t.container,o=e.CENTER;f(i)||i===o?n.push(t):u(i)&&r.push(t)})),{top:n,bottom:r}}(this.state.notifications),o=this.renderNotifications(i.top,!0),a=this.renderNotifications(i.bottom,!0);return s().createElement("div",{id:r,key:"mobile",className:"rnc__base ".concat(n||"")},s().createElement("div",{className:"rnc__notification-container--mobile-top"},o),s().createElement("div",{className:"rnc__notification-container--mobile-bottom"},a))}},{key:"renderScreenNotifications",value:function(t){var n=t.className,r=t.id,i=function(t){var n=[],r=[],i=[],o=[],a=[],s=[],l=[],c=[],u=[];return t.forEach((function(t){var f=t.container;f===e.TOP_FULL?c.push(t):f===e.BOTTOM_FULL?u.push(t):f===e.TOP_LEFT?n.push(t):f===e.TOP_RIGHT?r.push(t):f===e.TOP_CENTER?i.push(t):f===e.BOTTOM_LEFT?o.push(t):f===e.BOTTOM_RIGHT?a.push(t):f===e.BOTTOM_CENTER?s.push(t):f===e.CENTER&&l.push(t)})),{topFull:c,bottomFull:u,topLeft:n,topRight:r,topCenter:i,bottomLeft:o,bottomRight:a,bottomCenter:s,center:l}}(this.state.notifications),o=this.renderNotifications(i.topFull,!1),a=this.renderNotifications(i.bottomFull,!1),l=this.renderNotifications(i.topLeft,!1),c=this.renderNotifications(i.topRight,!1),u=this.renderNotifications(i.topCenter,!1),f=this.renderNotifications(i.bottomLeft,!1),d=this.renderNotifications(i.bottomRight,!1),p=this.renderNotifications(i.bottomCenter,!1),h=this.renderNotifications(i.center,!1);return s().createElement("div",{id:r,key:"screen",className:"rnc__base ".concat(n||"")},s().createElement("div",{className:"rnc__notification-container--top-full"},o),s().createElement("div",{className:"rnc__notification-container--bottom-full"},a),s().createElement("div",{className:"rnc__notification-container--top-left"},l),s().createElement("div",{className:"rnc__notification-container--top-right"},c),s().createElement("div",{className:"rnc__notification-container--bottom-left"},f),s().createElement("div",{className:"rnc__notification-container--bottom-right"},d),s().createElement("div",{className:"rnc__notification-container--top-center"},u),s().createElement("div",{className:"rnc__notification-container--center"},s().createElement("div",{className:"rnc__util--flex-center"},h)),s().createElement("div",{className:"rnc__notification-container--bottom-center"},p))}},{key:"render",value:function(){var e=this.props.isMobile,t=this.state,n=t.windowWidth,r=t.breakpoint;return e&&n<=r?this.renderMobileNotifications(this.props):this.renderScreenNotifications(this.props)}}])&&L(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),o}(s().Component)})(),i})())},65136:(e,t,n)=>{"use strict";var r,i=n(81794),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),f.canUseDOM?t(l):n&&(l=n(l))}var f=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",s),f}}},12162:(e,t,n)=>{"use strict";n(30234);var r=n(81794),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},38157:(e,t,n)=>{"use strict";var r=n(30234),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),u=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var b=y.prototype=new v;b.constructor=y,r(b,g.prototype),b.isPureReactComponent=!0;var _={current:null},w=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:_.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var k=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case o:l=!0}}if(l)return a=a(l=e),e=""===r?"."+C(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(k,"$&/")+"/"),O(a,t,n,"",(function(e){return e}))):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+C(s=e[c],c);l+=O(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=O(s=s.value,t,n,u=r+C(s,c++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function T(e,t,n){if(null==e)return e;var r=[],i=0;return O(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var A={current:null};function M(){var e=A.current;if(null===e)throw Error(p(321));return e}var L={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var o=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)w.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var f=0;f<u;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return M().useCallback(e,t)},t.useContext=function(e,t){return M().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return M().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return M().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return M().useLayoutEffect(e,t)},t.useMemo=function(e,t){return M().useMemo(e,t)},t.useReducer=function(e,t,n){return M().useReducer(e,t,n)},t.useRef=function(e){return M().useRef(e)},t.useState=function(e){return M().useState(e)},t.version="17.0.2"},81794:(e,t,n)=>{"use strict";e.exports=n(38157)},85770:(e,t,n)=>{"use strict";e.exports=n(12162)},59968:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){var r,o,a;r=e,o=t,a=n[t],(o=i(o))in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}n.r(t),n.d(t,{__DO_NOT_USE__ActionTypes:()=>u,applyMiddleware:()=>v,bindActionCreators:()=>m,combineReducers:()=>p,compose:()=>g,createStore:()=>f,legacy_createStore:()=>d});var l="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function f(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(s(1));return n(f)(e,t)}if("function"!=typeof e)throw new Error(s(2));var i=e,o=t,a=[],c=a,d=!1;function p(){c===a&&(c=a.slice())}function h(){if(d)throw new Error(s(3));return o}function m(e){if("function"!=typeof e)throw new Error(s(4));if(d)throw new Error(s(5));var t=!0;return p(),c.push(e),function(){if(t){if(d)throw new Error(s(6));t=!1,p();var n=c.indexOf(e);c.splice(n,1),a=null}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(s(7));if(void 0===e.type)throw new Error(s(8));if(d)throw new Error(s(9));try{d=!0,o=i(o,e)}finally{d=!1}for(var t=a=c,n=0;n<t.length;n++)(0,t[n])();return e}return g({type:u.INIT}),(r={dispatch:g,subscribe:m,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error(s(10));i=e,g({type:u.REPLACE})}})[l]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(s(11));function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[l]=function(){return this},e},r}var d=f;function p(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:u.INIT}))throw new Error(s(12));if(void 0===n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},l=0;l<a.length;l++){var c=a[l],u=n[c],f=e[c],d=u(f,t);if(void 0===d)throw t&&t.type,new Error(s(14));i[c]=d,r=r||d!==f}return(r=r||a.length!==Object.keys(e).length)?i:e}}function h(e,t){return function(){return t(e.apply(this,arguments))}}function m(e,t){if("function"==typeof e)return h(e,t);if("object"!=typeof e||null===e)throw new Error(s(16));var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=h(i,t))}return n}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(s(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return r=g.apply(void 0,o)(n.dispatch),a(a({},n),{},{dispatch:r})}}}},99776:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>$,LA:()=>N,zi:()=>B,u8:()=>z});var r,i,o,a,s,l,c,u=n(18991),f=n(83547),d=n.n(f),p=n(17314),h=n(81794),m=n(33388),g=n(37067),v=n(46930),y=n.n(v),b=n(6820),_=n.n(b),w=n(88145),S=n.n(w),x=n(32451),E="\n\tposition: absolute;\n\twidth: 0;\n\theight: 0;\n\tborder-color: transparent;\n\tborder-style: solid;\n",k=m.default.div(r||(r=(0,u.__makeTemplateObject)(["\n\t"," bottom: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 5px 5px 0;\n\tborder-top-color: #000;\n"],["\n\t"," bottom: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 5px 5px 0;\n\tborder-top-color: #000;\n"])),E),C=m.default.div(i||(i=(0,u.__makeTemplateObject)(["\n\t"," top: 50%;\n\tleft: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 5px 5px 0;\n\tborder-right-color: #000;\n"],["\n\t"," top: 50%;\n\tleft: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 5px 5px 0;\n\tborder-right-color: #000;\n"])),E),O=m.default.div(o||(o=(0,u.__makeTemplateObject)(["\n\t"," top: 50%;\n\tright: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 0 5px 5px;\n\tborder-left-color: #000;\n"],["\n\t"," top: 50%;\n\tright: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 0 5px 5px;\n\tborder-left-color: #000;\n"])),E),T=m.default.div(a||(a=(0,u.__makeTemplateObject)(["\n\t"," top: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 0 5px 5px;\n\tborder-bottom-color: #000;\n"],["\n\t"," top: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 0 5px 5px;\n\tborder-bottom-color: #000;\n"])),E),P=m.default.div(s||(s=(0,u.__makeTemplateObject)(["\n\tdisplay: block;\n\tfont-size: 12px;\n\tfont-style: normal;\n\tfont-weight: 400;\n\tletter-spacing: normal;\n\tline-break: auto;\n\tline-height: 1.42857143;\n\tpadding: 5px;\n\tposition: absolute;\n\tmax-width: 300px;\n\ttext-align: left;\n\ttext-align: start;\n\ttext-decoration: none;\n\ttext-shadow: none;\n\ttext-transform: none;\n\tvisibility: hidden;\n\twhite-space: normal;\n\tword-break: normal;\n\tword-spacing: normal;\n\tword-wrap: normal;\n\tz-index: 10000;\n\tcolor: white;\n"],["\n\tdisplay: block;\n\tfont-size: 12px;\n\tfont-style: normal;\n\tfont-weight: 400;\n\tletter-spacing: normal;\n\tline-break: auto;\n\tline-height: 1.42857143;\n\tpadding: 5px;\n\tposition: absolute;\n\tmax-width: 300px;\n\ttext-align: left;\n\ttext-align: start;\n\ttext-decoration: none;\n\ttext-shadow: none;\n\ttext-transform: none;\n\tvisibility: hidden;\n\twhite-space: normal;\n\tword-break: normal;\n\tword-spacing: normal;\n\tword-wrap: normal;\n\tz-index: 10000;\n\tcolor: white;\n"]))),A=m.default.div(l||(l=(0,u.__makeTemplateObject)(["\n\tbackground: black;\n\tborder-radius: 4px;\n\tpadding: 3px 8px;\n\ttext-align: center;\n"],["\n\tbackground: black;\n\tborder-radius: 4px;\n\tpadding: 3px 8px;\n\ttext-align: center;\n"]))),M=function(e){function t(t){var n=e.call(this,t)||this;return n.state={show:!1,placement:"top",coordinates:{top:0,left:0}},n}return(0,u.__extends)(t,e),t.prototype.observe=function(e){var t,n,r,i=this;this.observer&&this.observer.disconnect(),this.observer=(t=e,n=function(){i.hide()},(r=new MutationObserver((function(){document.contains(t)||(r.disconnect(),n())}))).observe(document,{childList:!0,subtree:!0}),r)},t.prototype.show=function(e,t,n){void 0===n&&(n={});var r=0,i=0,o=e.target;this.observe(o);var a=o.getBoundingClientRect(),s=S()(a,["top","left","width","height"]);s.top+=window.scrollY,s.left+=window.scrollX;var l=n.placement,c=n.containerStyle,u=n.innerStyle,f=n.arrowStyle;this.tooltipElementInner&&(this.tooltipElementInner.innerText=t),l&&"top"!==l||(r=s.top-this.tooltipElement.clientHeight-3,i=s.left+s.width/2-this.tooltipElement.clientWidth/2),"right"===l&&(r=s.top+s.height/2-this.tooltipElement.clientHeight/2,i=s.left+s.width+3),"bottom"===l&&(r=s.top+s.height+3,i=s.left+s.width/2-this.tooltipElement.clientWidth/2),"left"===l&&(r=s.top+s.height/2-this.tooltipElement.clientHeight/2,i=s.left-this.tooltipElement.clientWidth-3),this.setState({coordinates:{top:r,left:i},show:!0,placement:l,containerStyle:c,innerStyle:u,arrowStyle:f})},t.prototype.hide=function(){this.observer&&(this.observer.disconnect(),this.observer=void 0),this.setState({show:!1,coordinates:{top:0,left:0}})},t.prototype.render=function(){var e=this,t=this.state,n=t.placement,r=t.containerStyle,i=t.innerStyle,o=t.arrowStyle,a=function(e){switch(e){case"right":return C;case"bottom":return T;case"left":return O;default:return k}}(n),s=y()({top:this.state.coordinates.top,left:this.state.coordinates.left,visibility:this.state.show?"visible":"hidden"},r);return h.createElement(P,{style:s,ref:function(t){return e.tooltipElement=t}},h.createElement(A,{ref:function(t){return e.tooltipElementInner=t},style:i}),h.createElement(a,{style:o}))},t}(h.Component),L=function(){function e(){this.initialised=!1,this.hideOnMouseOut=null}return e.prototype.initialiseElements=function(){var e=this;if(!this.initialised&&document&&document.body){var t=document.createElement("div");t.id="rendition-tooltip-root",document.body.appendChild(t),document.addEventListener("mouseover",(function(t){var n=t.target;e.hideOnMouseOut&&e.hideOnMouseOut!==n&&(e.hideOnMouseOut.firstElementChild&&e.hideOnMouseOut.contains&&e.hideOnMouseOut.contains(n)||(e.hide(),e.hideOnMouseOut=null))})),this.component=x.render(h.createElement(M,null),t),this.initialised=!0}},e.prototype.bindProps=function(e){var t=this;if(e.tooltip){var n,r={},i="hover";if("string"==typeof e.tooltip?n=e.tooltip:(n=e.tooltip.text,r.placement=e.tooltip.placement,r.containerStyle=e.tooltip.containerStyle,r.innerStyle=e.tooltip.innerStyle,r.arrowStyle=e.tooltip.arrowStyle,e.tooltip.trigger&&(i=e.tooltip.trigger)),n){var o=function(e){return t.show(e,n,r)};if(e.disabled&&(e={}),"click"===i){var a=e.onClick||_();e.onClick=function(e){o(e),clearTimeout(t.hideTimeout),t.hideTimeout=window.setTimeout((function(){return t.hide()}),1e3),a(e)}}else{var s=e.onMouseEnter||_();e.onMouseEnter=function(e){o(e),s(e),e.target.disabled&&(t.hideOnMouseOut=e.target)};var l=e.onMouseLeave||_();e.onMouseLeave=function(e){t.hide(),l(e)}}}}return e},e.prototype.show=function(e,t,n){this.initialiseElements(),this.component.show(e,t,n)},e.prototype.hide=function(){this.initialiseElements(),this.component.hide()},e}(),I=n(89239),R=new L,D=(0,p.oneOfType)([p.number,p.string,(0,p.arrayOf)((0,p.oneOfType)([p.number,p.string]))]),j={width:D,minWidth:D,maxWidth:D,height:D,minHeight:D,maxHeight:D,display:D,fontSize:D,color:D,bg:D,backgroundColor:D,m:D,mt:D,mr:D,mb:D,ml:D,mx:D,my:D,p:D,pt:D,pr:D,pb:D,pl:D,px:D,py:D},N=Object.keys(j),F=function(e){return function(t){var n=d()(N,e);return h.forwardRef((function(e,r){for(var i=(0,u.__assign)({},e),o=0,a=n;o<a.length;o++)delete i[a[o]];return h.createElement(t,(0,u.__assign)({},i,{ref:r}))}))}},B=function(e){var t,n=(0,m.default)(e)(c||(c=(0,u.__makeTemplateObject)(["\n\t\t","\n\t\t","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n\t\t","\n\t\t","\n\t"],["\n\t\t","\n\t\t","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n\t\t","\n\t\t","\n\t"])),g.xe,g.VL,g.bV,g.JX,g.uJ,g.yO,g.Kr,g.Vy,g.J,g.yW);return n.displayName="string"==typeof(t=e)?t:t&&(t.displayName||t.name)||"Component",n.propTypes=j,h.forwardRef((function(e,t){return h.createElement(n,(0,u.__assign)({},e,{ref:t}))}))},z=function(e){return h.forwardRef((function(t,n){var r=(0,u.__rest)(t,[]);if(!r.tooltip)return h.createElement(e,(0,u.__assign)({},r,{ref:n}));var i=R.bindProps(r);return delete r.tooltip,r.disabled?h.createElement("span",{style:{display:"contents"},onClick:i.onClick,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave},h.createElement(e,(0,u.__assign)({},r,{ref:n}))):h.createElement(e,(0,u.__assign)({},i,{ref:n}))}))};function $(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=[]),I.Z.apply(void 0,(0,u.__spreadArray)((0,u.__spreadArray)([m.withTheme],t||[],!1),[z,B,F(n)],!1))(e)}},89788:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r,i=n(18991),o=n(33388),a=n(37067),s=(0,n(99776).Ay)(o.default.div(r||(r=(0,i.__makeTemplateObject)(["\n\t\tbox-sizing: border-box;\n\t\t",";\n\t\t",";\n\t\t",";\n\t"],["\n\t\tbox-sizing: border-box;\n\t\t",";\n\t\t",";\n\t\t",";\n\t"])),a.Uu,a.fq,a.i4));s.displayName="Box"},85174:(e,t,n)=>{"use strict";n.d(t,{Q:()=>g});var r,i,o=n(18991),a=n(90775),s=n(72594),l=n(59743),c=n.n(l),u=n(81794),f=n(33388),d=n(79755),p=n(89788),h=(0,f.default)(p.a)(r||(r=(0,o.__makeTemplateObject)(["\n\tcursor: pointer;\n\tfont-size: 0.875em;\n"],["\n\tcursor: pointer;\n\tfont-size: 0.875em;\n"]))),m=(0,f.default)(p.a)(i||(i=(0,o.__makeTemplateObject)(["\n\tdisplay: inline-flex;\n\talign-items: center;\n\t"," {\n\t\tvisibility: ",";\n\t\tsvg {\n\t\t\tmargin: ",";\n\t\t}\n\t}\n\n\t&:hover {\n\t\t"," {\n\t\t\tvisibility: visible;\n\t\t}\n\t}\n"],["\n\tdisplay: inline-flex;\n\talign-items: center;\n\t"," {\n\t\tvisibility: ",";\n\t\tsvg {\n\t\t\tmargin: ",";\n\t\t}\n\t}\n\n\t&:hover {\n\t\t"," {\n\t\t\tvisibility: visible;\n\t\t}\n\t}\n"])),h,(function(e){return"always"===e.show?"visible":"hidden"}),(function(e){return"0 ".concat((0,d.px)(e.theme.space[1]))}),h),g=function(e){var t=e.content,n=e.show,r=e.children,i=e.onClick,l=e.onCopy,f=(0,o.__rest)(e,["content","show","children","onClick","onCopy"]),d=(t||"").toString().trim();return u.createElement(m,(0,o.__assign)({show:r?n:"always"},f),r,u.createElement(h,{tooltip:{text:"Copied!",trigger:"click"},onClick:function(e){e.stopPropagation(),e.preventDefault(),c()(d),i&&i(d),null==l||l(e)}},u.createElement(s.g,{icon:a.jP})))}},40864:(e,t,n)=>{"use strict";n.d(t,{c:()=>m});var r,i,o=n(18991),a=n(81794),s=n(33388),l=n(99776),c=n(79755),u=n(41924),f=n(31041),d=s.default.hr(r||(r=(0,o.__makeTemplateObject)(["\n\tborder: 0 none;\n\tborder-top: ",";\n\twidth: 100%;\n\theight: 0;\n"],["\n\tborder: 0 none;\n\tborder-top: ",";\n\twidth: 100%;\n\theight: 0;\n"])),(function(e){return"".concat((0,c.px)(2*(e.height||.5))," ").concat(e.type||"solid"," ").concat(e.color||e.theme.colors.quartenary.main,"}")})),p=(0,s.default)(d)(i||(i=(0,o.__makeTemplateObject)(["\n\tflex: 1 1 0;\n\tmargin: auto;\n"],["\n\tflex: 1 1 0;\n\tmargin: auto;\n"]))),h=a.forwardRef((function(e,t){var n=e.children,r=e.className,i=(0,o.__rest)(e,["children","className"]);if(!n)return a.createElement(d,(0,o.__assign)({className:r},i,{ref:t}));if("string"!=typeof n)throw new Error("The child element of the Divider component must be a string, received: ".concat(typeof n));return a.createElement(u.s,{className:r,width:"100%",flexDirection:"row",justifyContent:"center",ref:t},a.createElement(p,(0,o.__assign)({},i)),a.createElement(f.Dy.span,{color:"tertiary.main",px:3},n),a.createElement(p,(0,o.__assign)({},i)))})),m=(0,l.Ay)(h,[],["color","height"])},41924:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r,i=n(18991),o=n(33388),a=n(37067),s=n(89788),l=(0,o.default)(s.a)(r||(r=(0,i.__makeTemplateObject)(["\n\tdisplay: flex;\n\t",";\n\t",";\n\t",";\n\t",";\n"],["\n\tdisplay: flex;\n\t",";\n\t",";\n\t",";\n\t",";\n"])),a.aR,a.D0,a.mt,a.wt);l.displayName="Flex"},12155:(e,t,n)=>{"use strict";n.d(t,{D:()=>m});var r=n(18991),i=n(81794),o=n(33388),a=n(99776),s=n(79755),l=n(89239),c=n(31041),u=o.default.h3(h||(h=(0,r.__makeTemplateObject)(["\n\tfont-weight: normal;\n\t","\n\t",";\n\t","\n\t","\n"],["\n\tfont-weight: normal;\n\t","\n\t",";\n\t","\n\t","\n"])),c.MM,s.wP,c.mI,c.Cr);u.displayName="Heading";var f=(0,l.p)((function(e){return Object.assign({fontSize:4,m:0,bold:!1},e)})),d=function(e){return(0,a.Ay)((function(t){return i.createElement(u,(0,r.__assign)({as:e},t))}),[f])},p=d();p.h1=d("h1"),p.h1.defaultProps={fontSize:7,m:0},p.h2=d("h2"),p.h2.defaultProps={fontSize:6,m:0},p.h3=d("h3"),p.h3.defaultProps={fontSize:5,m:0},p.h4=d("h4"),p.h4.defaultProps={fontSize:4,m:0,bold:!0},p.h5=d("h5"),p.h5.defaultProps={fontSize:3,m:0,bold:!0},p.h6=d("h6"),p.h6.defaultProps={fontSize:2,m:0,bold:!0};var h,m=p},6291:(e,t,n)=>{"use strict";n.d(t,{N:()=>g});var r,i=n(18991),o=n(20846),a=n.n(o),s=n(81794),l=n(33388),c=n(99776),u=n(79755),f=n(13975),d=n(89239),p=n(31041),h=l.default.a(r||(r=(0,i.__makeTemplateObject)(["\n\t","\n\t",";\n\t","\n\t","\n\n  text-decoration: ",";\n\tcursor: ",";\n\topacity: ",";\n\tdisplay: inline-block;\n\n\t&:active,\n\t&:hover {\n\t\tcolor: ",";\n\t}\n"],["\n\t","\n\t",";\n\t","\n\t","\n\n  text-decoration: ",";\n\tcursor: ",";\n\topacity: ",";\n\tdisplay: inline-block;\n\n\t&:active,\n\t&:hover {\n\t\tcolor: ",";\n\t}\n"])),p.MM,u.wP,p.mI,p.Cr,(function(e){return e.decor||"none"}),(function(e){return e.disabled?"not-allowed":"pointer"}),(function(e){return e.disabled?.65:1}),(function(e){return!e.disabled&&(0,f.e$)(a()(e.theme.colors,e.color)||e.color)})),m=(0,d.p)((function(e){return Object.assign({color:"primary.main"},e)})),g=(0,c.Ay)((function(e){var t=e.is,n=e.blank,r=e.children,o=(0,i.__rest)(e,["is","blank","children"]);return o.disabled&&(o.href,o=(0,i.__rest)(o,["href"])),s.createElement(h,(0,i.__assign)({},o,{as:t,rel:n?"noopener":void 0,target:n?"_blank":void 0}),r||o.href)}),[m],["color"])},31041:(e,t,n)=>{"use strict";n.d(t,{Cr:()=>g,Dy:()=>P,MM:()=>v,mI:()=>m});var r=n(18991),i=n(81794),o=n(33388),a=n(37067),s=n(99776),l=n(79755),c=n(85174),u=n(83547),f=n.n(u),d=n(88145),p=n.n(d),h=s.LA.filter((function(e){return!["bg","color","background","fontSize"].includes(e)})),m=function(e){return e.caps?(0,o.css)(E||(E=(0,r.__makeTemplateObject)(["\n\t\t\t\ttext-transform: uppercase;\n\t\t\t\tletter-spacing: 0.2em;\n\t\t  "],["\n\t\t\t\ttext-transform: uppercase;\n\t\t\t\tletter-spacing: 0.2em;\n\t\t  "]))):null},g=function(e){return e.bold?(0,o.css)(C||(C=(0,r.__makeTemplateObject)(["\n\t\t\t\tfont-weight: ",";\n\t\t  "],["\n\t\t\t\tfont-weight: ",";\n\t\t  "])),e.theme.weights[e.theme.weights.length-1]):null},v=(0,a.iF)({key:"text-align",prop:"align",cssProperty:"text-align"}),y=o.default.div(T||(T=(0,r.__makeTemplateObject)(["\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n"],["\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n\t","\n"])),v,l.wP,(function(e){return e.whitespace?(0,o.css)(x||(x=(0,r.__makeTemplateObject)(["\n\t\t\t\twhite-space: ",";\n\t\t  "],["\n\t\t\t\twhite-space: ",";\n\t\t  "])),e.whitespace):null}),(function(e){return e.code?(0,o.css)(w||(w=(0,r.__makeTemplateObject)(["\n\t\t\t\tfont-family: ",";\n\t\t\t\tpadding: 2px 4px;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tcolor: #c7254e;\n\t\t\t\tbackground-color: #f9f2f4;\n\t\t  "],["\n\t\t\t\tfont-family: ",";\n\t\t\t\tpadding: 2px 4px;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tcolor: #c7254e;\n\t\t\t\tbackground-color: #f9f2f4;\n\t\t  "])),(function(e){return e.theme.monospace})):null}),m,g,(function(e){return e.italic?(0,o.css)(k||(k=(0,r.__makeTemplateObject)(["\n\t\t\t\tfont-style: italic;\n\t\t  "],["\n\t\t\t\tfont-style: italic;\n\t\t  "]))):null}),(function(e){return e.truncate&&(0,o.css)(O||(O=(0,r.__makeTemplateObject)(["\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\twhite-space: nowrap;\n\t"],["\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\twhite-space: nowrap;\n\t"])))}),(function(e){return e.underline?(0,o.css)(S||(S=(0,r.__makeTemplateObject)(["\n\t\t\t\ttext-decoration: underline;\n\t\t  "],["\n\t\t\t\ttext-decoration: underline;\n\t\t  "]))):null})),b=function(e){return(0,s.Ay)((function(t){if(null==t.copy)return i.createElement(y,(0,r.__assign)({as:e},t));var n=p()(t,h),o=f()(Object.keys(t),h),a=p()(t,o);return i.createElement(c.Q,(0,r.__assign)({show:t.showCopyMode||"hover",content:t.copy,onCopy:t.onCopy},n),i.createElement(y,(0,r.__assign)({as:e},a)))}),[],h)},_=b();_.displayName="Txt",_.span=b("span"),_.p=b("p");var w,S,x,E,k,C,O,T,P=_},12965:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Accordion:()=>tw,Alert:()=>yi,Async:()=>bi,Avatar:()=>jk,Badge:()=>Si,Banner:()=>Ci,Box:()=>er.a,Breadcrumbs:()=>hy,Button:()=>ei,ButtonGroup:()=>Ti,Card:()=>Ri,CaretButton:()=>rk,Changelog:()=>Zi,Checkbox:()=>xo,CollectionSummary:()=>ak,Container:()=>Ow,Copy:()=>Eo.Q,DataGrid:()=>Mg,Divider:()=>Mi.c,DropDownButton:()=>qo,Filters:()=>Tg,Fixed:()=>jo,Flex:()=>ti.s,Form:()=>bg,Header:()=>Cy,Heading:()=>Li.D,HighlightedName:()=>Kp,Img:()=>Xp,Input:()=>_m,JsonTypes:()=>Tp,Layout:()=>Py,Link:()=>Fi.N,List:()=>ch,Map:()=>Wx,Modal:()=>Fa,Navbar:()=>Jx,NotificationsContainer:()=>bw,Pager:()=>Ng,Poll:()=>Di,Popover:()=>Lr,ProgressBar:()=>kh,Provider:()=>Wv,RadioButton:()=>lb,RadioButtonGroup:()=>Lb,Rating:()=>ny,Renderer:()=>pm,SchemaSieve:()=>f,Search:()=>aa,Select:()=>Cs,Sidebar:()=>xy,Spinner:()=>Gi,StatsBar:()=>Ry,StatsTitle:()=>Iy,Step:()=>Hy,Steps:()=>Yy,SurroundingOverlay:()=>Rg,Tab:()=>NE,Table:()=>B_,TableRow:()=>$b,Tabs:()=>FE,Tag:()=>Go,TagLabelList:()=>w_,TagManagementModal:()=>Tk,Terminal:()=>uw,Textarea:()=>pg,Theme:()=>Xn,Txt:()=>vi.Dy,UnstableTempDownloadImageModal:()=>RC,ValueWithMaxTitle:()=>Ay,asRendition:()=>b.Ay,createPoll:()=>ji,defaultFormats:()=>tm,getBoundingContainerRect:()=>Ig,getRendererWidget:()=>um,getSchemaNormalizedValue:()=>lm,notifications:()=>_w,transformUiSchema:()=>Cp,useBreakpoint:()=>Qn,useRequest:()=>Ni,useTheme:()=>Xv,widgetFactory:()=>xp,withStyledSystem:()=>b.zi,withTooltip:()=>b.u8});var r={};n.r(r),n.d(r,{createFilter:()=>js,editSchema:()=>Bs,getFilter:()=>Ns,operators:()=>Ds});var i={};n.r(i),n.d(i,{createFilter:()=>$s,operators:()=>zs,uiSchema:()=>Us});var o={};n.r(o),n.d(o,{createFilter:()=>Vs,operators:()=>qs});var a={};n.r(a),n.d(a,{createFilter:()=>Gs,operators:()=>Ks});var s={};n.r(s),n.d(s,{createFilter:()=>Js,operators:()=>Ys});var l={};n.r(l),n.d(l,{createFilter:()=>cl,editSchema:()=>ul,getFilter:()=>dl,isKeyValueObj:()=>ol,operators:()=>al,uiSchema:()=>fl});var c={};n.r(c),n.d(c,{createFilter:()=>hl,operators:()=>pl});var u={};n.r(u),n.d(u,{createFilter:()=>gl,operators:()=>ml});var f={};n.r(f),n.d(f,{FULL_TEXT_SLUG:()=>El,convertRefSchemeToSchemaPath:()=>jl,createFilter:()=>Cl,createFullTextSearchFilter:()=>Ol,filter:()=>Pl,generateSchemaFromRefScheme:()=>Fl,getModelFilter:()=>Il,getOperators:()=>Ll,getPropertyScheme:()=>Dl,getSchemaFormat:()=>Rl,getSchemaTitle:()=>Nl,getSignatures:()=>kl,getSubSchemaFromRefScheme:()=>Bl,parseDescription:()=>Al,parseDescriptionProperty:()=>Ml});var d=n(18991),p=n(398),h=n(79479),m=n(59958),g=n(34308),v=n(72594),y=n(81794),b=n(99776),_=n(36765),w=n(33388),S=function e(t,n,r){var i=n.global&&void 0!==n.global.colors[t]?n.global.colors[t]:t,o=i;return i&&((!0===r||void 0===r&&n.dark)&&void 0!==i.dark?o=i.dark:!1!==r&&n.dark||void 0===i.light||(o=i.light)),o&&n.global&&void 0!==n.global.colors[o]&&(o=e(o,n,r)),o},x=/^#[A-Za-z0-9]{3,4}$|^#[A-Za-z0-9]{6,8}$/,E=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?\)/,k=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([.0-9]*)\s?\)/,C=/^hsla?\(\s?([0-9]*)\s?,\s?([0-9]*)%?\s?,\s?([0-9]*)%?\s?.*?\)/,O=function(e){return x.test(e)||E.test(e)||k.test(e)||C.test(e)},T=function(e){if(x.test(e)){var t=function(e){return e.length<7?e.match(/[A-Za-z0-9]{1}/g).map((function(e){return parseInt(""+e+e,16)})):e.match(/[A-Za-z0-9]{2}/g).map((function(e){return parseInt(e,16)}))}(e),n=t[0],r=t[1],i=t[2],o=t[3];return[n,r,i,void 0!==o?o/255:void 0]}var a=e.match(E);if(a)return a.splice(1).map((function(e){return parseInt(e,10)}));if(a=e.match(k))return a.splice(1).map((function(e){return parseFloat(e,10)}));if(a=e.match(C)){var s=a.splice(1).map((function(e){return parseInt(e,10)}));return function(e,t,n){var r,i,o;if(0===t||"0"===t)r=n,i=n,o=n;else{var a=function(e,t,n){var r=n;return r<0&&(r+=1),r>1&&(r-=1),r<.16666667?e+6*(t-e)*r:r<.5?t:r<.66666667?e+(t-e)*(.66666667-r)*6:e},s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+.33333333),i=a(l,s,e),o=a(l,s,e-.33333333)}return[Math.round(255*r),Math.round(255*i),Math.round(255*o)]}(s[0]/360,s[1]/100,s[2]/100)}return e},P=function(e){if(e&&O(e)){var t=T(e),n=t[0],r=t[1],i=t[2];if(t[3]<.5)return;return(299*n+587*r+114*i)/1e3<125}},A=function(e,t){var n=e;return e&&(t.dark&&e.dark&&"boolean"!=typeof e.dark?n=e.dark:!t.dark&&e.light&&"boolean"!=typeof e.light&&(n=e.light),n=function(e,t){return e&&Array.isArray(e)&&"function"==typeof e[0]?e[0]({theme:t}):e}(n,t)),n},M=function(e,t){var n,r=A(e,t);if(r)if("object"==typeof r){var i=r.color,o=r.dark,a=r.opacity;if("boolean"==typeof o)n=o;else if(i&&(!a||"weak"!==a)){var s=S(r.color,t);s&&(n=P(s))}}else{var l=S(r,t);l&&(n=P(l))}return n},L=function(e){var t=P(e);if(void 0!==t)return t?"dark":"light"},I=function(e,t,n){if(!e)return[void 0,t];var r,i,o=n.global,a=A(e,n),s=t||o.colors.text;if("object"==typeof a){if(!1===a.dark?i=s.light||s:a.dark&&(i=s.dark||s),a.color){var l=S(a.color,n,a.dark),c=!0===a.opacity?o.opacity.medium:o.opacity[a.opacity]||a.opacity;if(r=function(e,t){if(e&&O(e)){var n=T(e),r=n[0],i=n[1],o=n[2],a=n[3];return"rgba("+r+", "+i+", "+o+", "+(void 0!==t?t:void 0!==a?a:1)+")"}}(l,c)||l,!i&&(void 0===c||c>.3)){var u=L(r);i=S(u&&s[u]||s,n)}}}else{r=S(a,n);var f=L(r);f?i=S(s[f]||s,n,"dark"===f):("transparent"!==r&&(r=void 0),s&&(i=S(s,n)))}return!1===t&&(i=void 0),[r,i]},R=function(e,t,n){if(void 0!==e){var r=A(e,t);if("string"==typeof r&&0===r.lastIndexOf("url",0))return(0,w.css)(["background:"," no-repeat center center;background-size:cover;"],r);var i=I(r,n,t),o=i[0],a=i[1];if(r.image){var s="\n      "+(o?"background-color: "+o+";":"")+"\n      background-image: "+r.image+";\n      background-repeat: "+(r.repeat||"no-repeat")+";\n      background-position: "+(r.position||"center center")+";\n      background-size: "+(r.size||"cover")+";\n    ";return(0,w.css)([""," ",""],a?"color: "+a+";":"",r.opacity?"position: relative;\n        z-index: 0;\n        &:before {\n          content: '';\n          position: absolute;\n          top: 0;\n          right: 0;\n          left: 0;\n          bottom: 0;\n          z-index: -1;\n          "+s+"\n          opacity: "+(!0===r.opacity?t.global.opacity.medium:t.global.opacity[r.opacity]||r.opacity)+";\n        }":s)}return o?(0,w.css)(["background-color:",";",""],o,a?"color: "+a+";":""):"string"==typeof r?(0,w.css)(["background:",";"],S(r,t)):void 0}},D=(0,w.css)(["",""],(function(e){return R(S(e.theme.global.active.background,e.theme),e.theme,e.theme.global.active.color)})),j=(0,w.css)(["",""],(function(e){return R(S(e.theme.global.selected.background,e.theme),e.theme,e.theme.global.selected.color)})),N=function(e,t){var n,r;return!0===e||"background"===e?n=t.global.hover.background:"object"==typeof e&&(e.elevation||e.background)?(r=e.elevation,n=e.background):n=e,(0,w.css)([""," ",""],R(n,t,t.global.hover.color),r&&"box-shadow: "+t.global.elevation[t.dark?"dark":"light"][r]+";")},F=n(53473),B=n(92692),z=n(49592),$=n(9460),U=n(81586),H=n(64851),W=n(12787),q=n(57387),V=n(4101),K=n(45272),G=n(68074),Y=n(84417),J=n(60980),Z=n(46772),X=n(29913),Q=n(30703),ee=n(82828),te=n(38990),ne=n(34098),re=n(32517);function ie(){return ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ie.apply(this,arguments)}var oe=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},ae=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(!r.length)return t;var o=ie({},t);return r.forEach((function(t){oe(t)&&Object.keys(t).forEach((function(n){oe(t[n])?o[n]?o[n]=e(o[n],t[n]):o[n]=ie({},t[n]):o[n]=t[n]}))})),o},se=function(e){var t={};return Object.keys(e).forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t},le=function(e){return"number"==typeof e?e:(e.match(/\s/),parseFloat(e.match(/\d+(\.\d+)?/),10))},ce=function(e,t){return(0,w.css)(["@media only screen ","{",";}"],e.value&&"and (max-width: "+e.value+"px)",t)};function ue(){return ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}var fe=["#6FFFB0","#FD6FFF","#81FCED","#FFCA58"],de={critical:"#FF4040",error:"#FF4040",warning:"#FFAA15",ok:"#00C781",unknown:"#CCCCCC",disabled:"#CCCCCC"},pe={active:"rgba(221, 221, 221, 0.5)","background-back":{dark:"#33333308",light:"#EDEDED"},"background-front":{dark:"#444444",light:"#FFFFFF"},"background-contrast":{light:"#33333310",dark:"#FFFFFF18"},"active-background":"background-contrast","active-text":"text-strong",black:"#000000",border:{dark:"rgba(255, 255, 255, 0.33)",light:"rgba(0, 0, 0, 0.33)"},brand:"#7D4CDB",control:{dark:"accent-1",light:"brand"},focus:fe[0],"graph-0":"accent-1","graph-1":"neutral-1","graph-2":"neutral-2","graph-3":"neutral-3","graph-4":"neutral-4",placeholder:"#AAAAAA",selected:"brand",text:{dark:"#f8f8f8",light:"#444444"},"text-strong":{dark:"#FFFFFF",light:"#000000"},"text-weak":{dark:"#CCCCCC",light:"#555555"},"text-xweak":{dark:"#BBBBBB",light:"#666666"},icon:{dark:"#f8f8f8",light:"#666666"},"selected-background":"brand","selected-text":"text-strong",white:"#FFFFFF"},he=function(e,t){return e.forEach((function(e,n){pe[t+"-"+(n+1)]=e}))};he(fe,"accent"),he(["#333333","#555555","#777777","#999999","#999999","#999999"],"dark"),he(["#F8F8F8","#F2F2F2","#EDEDED","#DADADA","#DADADA","#DADADA"],"light"),he(["#00873D","#3D138D","#00739D","#A2423D"],"neutral"),Object.keys(de).forEach((function(e){pe["status-"+e]=de[e]}));var me=function(e,t){void 0===e&&(e=24),void 0===t&&(t=6);var n,r=.75*e,i=e/t,o=function(t){return{size:r+t*i+"px",height:e+t*i+"px",maxWidth:e*(r+t*i)+"px"}},a=ae(re.base,{global:{active:{background:{color:"active",opacity:"medium"},color:{dark:"white",light:"black"}},animation:{duration:"1s",jiggle:{duration:"0.1s"}},borderSize:{xsmall:"1px",small:"2px",medium:e/6+"px",large:e/2+"px",xlarge:e+"px"},breakpoints:{small:{value:32*e,borderSize:{xsmall:"1px",small:"2px",medium:e/6+"px",large:e/4+"px",xlarge:e/2+"px"},edgeSize:{none:"0px",hair:"1px",xxsmall:"2px",xsmall:e/8+"px",small:e/4+"px",medium:e/2+"px",large:e+"px",xlarge:2*e+"px"},size:{xxsmall:e+"px",xsmall:2*e+"px",small:4*e+"px",medium:8*e+"px",large:16*e+"px",xlarge:32*e+"px",full:"100%"}},medium:{value:64*e},large:{}},deviceBreakpoints:{phone:"small",tablet:"medium",computer:"large"},colors:pe,control:{border:{width:"1px",radius:"4px",color:"border"},disabled:{opacity:.3}},debounceDelay:300,drop:{background:{dark:"black",light:"white"},border:{radius:"0px"},shadowSize:"small",zIndex:"20"},edgeSize:{none:"0px",hair:"1px",xxsmall:e/8+"px",xsmall:e/4+"px",small:e/2+"px",medium:e+"px",large:2*e+"px",xlarge:4*e+"px",responsiveBreakpoint:"small"},elevation:{light:{none:"none",xsmall:"0px 1px 2px rgba(0, 0, 0, 0.20)",small:"0px 2px 4px rgba(0, 0, 0, 0.20)",medium:"0px 4px 8px rgba(0, 0, 0, 0.20)",large:"0px 8px 16px rgba(0, 0, 0, 0.20)",xlarge:"0px 12px 24px rgba(0, 0, 0, 0.20)"},dark:{none:"none",xsmall:"0px 2px 2px rgba(255, 255, 255, 0.40)",small:"0px 4px 4px rgba(255, 255, 255, 0.40)",medium:"0px 6px 8px rgba(255, 255, 255, 0.40)",large:"0px 8px 16px rgba(255, 255, 255, 0.40)",xlarge:"0px 12px 24px rgba(255, 255, 255, 0.40)"}},focus:{border:{color:"focus"},shadow:{color:"focus",size:"2px"}},font:ue({},o(0)),hover:{background:{color:"active",opacity:"medium"},color:{dark:"white",light:"black"}},input:{padding:{horizontal:le(e/2+"px")-le("1px")+"px",vertical:le(e/2+"px")-le("1px")+"px"},font:{weight:600}},opacity:{strong:.8,medium:.4,weak:.1},selected:{background:"selected",color:"white"},spacing:e+"px",size:{xxsmall:2*e+"px",xsmall:4*e+"px",small:8*e+"px",medium:16*e+"px",large:32*e+"px",xlarge:48*e+"px",xxlarge:64*e+"px",full:"100%"}},accordion:{panel:{},border:{side:"bottom",color:"border"},heading:{level:"4"},hover:{color:{dark:"light-4",light:"dark-3"},heading:{color:{dark:"light-4",light:"dark-3"}}},icons:{collapse:q.I,expand:U.t}},anchor:{textDecoration:"none",fontWeight:600,color:{dark:"accent-1",light:"brand"},hover:{textDecoration:"underline"}},avatar:{size:{xsmall:.75*e+"px",small:e+"px",medium:2*e+"px",large:3*e+"px",xlarge:4*e+"px","2xl":5*e+"px","3xl":6*e+"px","4xl":7*e+"px","5xl":8*e+"px"},text:{size:{xsmall:"small",small:"medium",medium:"large",large:"xlarge",xlarge:"xxlarge","2xl":"3xl","3xl":"4xl","4xl":"5xl","5xl":"6xl"}}},box:{responsiveBreakpoint:"small"},button:{badge:{container:{background:"brand"},size:{medium:e+"px"},text:{size:{medium:"small"}}},size:{small:{border:{radius:.75*e+"px"},pad:{vertical:e/4-2+"px",horizontal:e-4+"px"}},medium:{border:{radius:.75*e+"px"},pad:{vertical:e/4-2+"px",horizontal:e-2+"px"}},large:{border:{radius:e+"px"},pad:{vertical:e/4+2+"px",horizontal:e+8+"px"}}},border:{width:"2px",radius:.75*e+"px"},active:{background:"active-background",color:"active-text"},disabled:{opacity:.3},padding:{vertical:e/4-2+"px",horizontal:e-2+"px"},transition:{timing:"ease-in-out",duration:.1,properties:["color","background-color","border-color","box-shadow"]}},calendar:{small:{fontSize:r-i+"px",lineHeight:1.375,daySize:8*e/7+"px",slideDuration:"0.2s"},medium:{fontSize:r+"px",lineHeight:1.45,daySize:16*e/7+"px",slideDuration:"0.5s"},large:{fontSize:r+3*i+"px",lineHeight:1.11,daySize:32*e/7+"px",slideDuration:"0.8s"},icons:{previous:Y.s,next:V.k,small:{previous:W.Q,next:H.O}},heading:{level:"4"}},card:{container:{round:"small",elevation:"small"},header:{},body:{},footer:{}},carousel:{icons:{current:ee.N,next:V.k,previous:Y.s},animation:{duration:1e3},disabled:{icons:{}}},chart:{color:"graph-0"},checkBox:{border:{color:{dark:"rgba(255, 255, 255, 0.5)",light:"rgba(0, 0, 0, 0.15)"},width:"2px"},check:{radius:"4px",thickness:"4px"},label:{align:"center"},hover:{border:{color:{dark:"white",light:"black"}}},icon:{},icons:{},size:e+"px",toggle:{color:{dark:"#d9d9d9",light:"#d9d9d9"},knob:{},radius:e+"px",size:2*e+"px"}},checkBoxGroup:{},clock:{analog:{hour:{color:{dark:"light-2",light:"dark-3"},width:e/3+"px",size:e+"px",shape:"round"},minute:{color:{dark:"light-4",light:"dark-3"},width:e/6+"px",size:Math.round(e/2)+"px",shape:"round"},second:{color:{dark:"accent-1",light:"accent-1"},width:e/8+"px",size:Math.round(e/2.666)+"px",shape:"round"},size:{xsmall:2*e+"px",small:3*e+"px",medium:4*e+"px",large:6*e+"px",xlarge:9*e+"px",xxlarge:12*e+"px",huge:12*e+"px"}},digital:{text:{xsmall:{size:r-2*i+"px",height:1.5},small:{size:r-i+"px",height:1.43},medium:{size:r+"px",height:1.375},large:{size:r+i+"px",height:1.167},xlarge:{size:r+2*i+"px",height:1.1875},xxlarge:{size:r+4*i+"px",height:1.125}}}},collapsible:{minSpeed:200,baseline:500},dateInput:{},dataTable:{pinned:{header:{background:{opacity:"strong"}},footer:{background:{opacity:"strong"}}},container:{gap:"xsmall"},groupHeader:{background:{dark:"dark-2",light:"light-2"},border:{side:"bottom",size:"xsmall"},pad:{horizontal:"small",vertical:"xsmall"}},groupEnd:{border:{side:"bottom",size:"xsmall"}},header:{gap:"small",units:{color:"text-xweak",margin:{left:"xsmall"}}},icons:{ascending:U.t,contract:q.I,descending:q.I,expand:U.t},primary:{weight:"bold"},resize:{border:{color:"border",side:"end"}}},diagram:{line:{color:"graph-0"}},fileInput:{border:{side:"all",size:"small",style:"dashed"},dragOver:{border:{color:"control"}},hover:{border:{color:"brand"}},icons:{remove:$.b},label:{margin:"small"},message:{margin:"small"}},formField:{border:{color:"border",error:{color:{dark:"white",light:"status-critical"}},position:"inner",side:"bottom"},content:{pad:"small"},disabled:{background:{color:"status-disabled",opacity:"medium"}},error:{color:"status-critical",margin:{vertical:"xsmall",horizontal:"small"}},help:{color:"dark-3",margin:{start:"small"}},info:{color:"text-xweak",margin:{vertical:"xsmall",horizontal:"small"}},label:{margin:{vertical:"xsmall",horizontal:"small"}},margin:{bottom:"small"}},grommet:{},heading:{font:{},level:{1:{font:{},small:ue({},o(4)),medium:ue({},o(8)),large:ue({},o(16)),xlarge:ue({},o(24))},2:{font:{},small:ue({},o(2)),medium:ue({},o(4)),large:ue({},o(8)),xlarge:ue({},o(12))},3:{font:{},small:ue({},o(1)),medium:ue({},o(2)),large:ue({},o(4)),xlarge:ue({},o(6))},4:{font:{},small:ue({},o(0)),medium:ue({},o(0)),large:ue({},o(0)),xlarge:ue({},o(0))},5:{font:{},small:ue({},o(-.5)),medium:ue({},o(-.5)),large:ue({},o(-.5)),xlarge:ue({},o(-.5))},6:{font:{},small:ue({},o(-1)),medium:ue({},o(-1)),large:ue({},o(-1)),xlarge:ue({},o(-1))}},responsiveBreakpoint:"small",weight:600},layer:{background:{dark:"black",light:"white"},border:{radius:"4px"},container:{zIndex:"20"},overlay:{background:"rgba(0, 0, 0, 0.5)"},responsiveBreakpoint:"small",zIndex:"20"},list:{container:{gap:"xsmall"},item:{border:"horizontal",pad:{horizontal:"medium",vertical:"small"}},icons:{down:U.t,up:q.I}},maskedInput:{},menu:{drop:{align:{top:"top",left:"left"}},icons:{down:U.t}},meter:{color:"graph-0"},notification:{time:8e3,container:{pad:{horizontal:"small",vertical:"xsmall"},background:{color:"background-front"}},toast:{container:{elevation:"medium",round:"xsmall",width:"medium"},layer:{position:"top",margin:"medium"}},iconContainer:{pad:{right:"small"}},textContainer:{gap:"medium"},title:{weight:"bold"},message:{margin:"none"},close:{icon:$.b},critical:{icon:J.H,color:"status-critical"},warning:{icon:X.A,color:"status-warning"},normal:{icon:Z.Z,color:"status-ok"},unknown:{icon:Q.S,color:"status-unknown"},undefined:{icon:Q.S,color:"status-unknown"}},pagination:{button:{active:{background:{color:"active-background"}},color:"text-strong",hover:{background:{color:"background-contrast"},color:void 0},size:{small:{border:{radius:e/8+"px",width:"2px"},pad:{vertical:"4px",horizontal:"4px"},font:ue({},o(-1)),height:1.25*e+"px",width:1.25*e+"px"},medium:{border:{radius:e/6+"px",width:"2px"},pad:{vertical:"4px",horizontal:"4px"},font:ue({},o(0)),height:1.5*e+"px",width:1.5*e+"px"},large:{border:{radius:e/4+"px",width:"2px"},pad:{vertical:"4px",horizontal:"4px"},font:ue({},o(1)),height:2*e+"px",width:2*e+"px"}}},controls:{align:"center",direction:"row",gap:"xxsmall",margin:"none",pad:"none"},icons:{next:V.k,previous:Y.s}},paragraph:{font:{},small:ue({},o(-1)),medium:ue({},o(0)),large:ue({},o(1)),xlarge:ue({},o(2)),xxlarge:ue({},o(4))},spinner:{container:{animation:"rotateRight",color:"brand",pad:"small",round:"full",size:"small"},size:{xsmall:.75*e+"px",small:e+"px",medium:2*e+"px",large:3*e+"px",xlarge:4*e+"px"}},radioButton:{border:{color:{dark:"rgba(255, 255, 255, 0.5)",light:"rgba(0, 0, 0, 0.15)"},width:"2px"},check:{radius:"100%"},hover:{border:{color:{dark:"white",light:"black"}}},icon:{},icons:{},gap:"small",size:e+"px",font:{},container:{}},radioButtonGroup:{},rangeInput:{track:{height:"4px",color:"border"},thumb:{}},rangeSelector:{background:{invert:{color:"light-4"}}},select:{clear:{container:{pad:"small",background:"background-contrast"},text:{color:"text-weak"}},container:{},control:{},icons:{margin:{horizontal:"small"},down:U.t},options:{container:{align:"start",pad:"small"},text:{margin:"none"}},step:20},skipLinks:{position:"top",container:{elevation:"large",round:"small",pad:"medium"},label:{margin:{bottom:"medium"},size:"medium"}},tab:{active:{color:"text"},border:{side:"bottom",size:"small",color:{dark:"accent-1",light:"brand"},active:{color:{dark:"white",light:"black"}},disabled:{},hover:{color:{dark:"white",light:"black"}}},color:"control",hover:{color:{dark:"white",light:"black"}},margin:{vertical:"xxsmall",horizontal:"small"},pad:{bottom:"xsmall"}},tabs:{header:{},panel:{}},table:{header:{align:"start",pad:{horizontal:"small",vertical:"xsmall"},border:"bottom"},body:{align:"start",pad:{horizontal:"small",vertical:"xsmall"}},footer:{align:"start",pad:{horizontal:"small",vertical:"xsmall"},border:"top"}},text:{font:{},xsmall:ue({},o(-1.5)),small:ue({},o(-1)),medium:ue({},o(0)),large:ue({},o(1)),xlarge:ue({},o(2)),xxlarge:ue({},o(4)),"2xl":ue({},o(4)),"3xl":ue({},o(6)),"4xl":ue({},o(9)),"5xl":ue({},o(13)),"6xl":ue({},o(18))},textArea:{},textInput:{},tip:{content:{background:"background-contrast",elevation:"small",margin:"xsmall",pad:{vertical:"xsmall",horizontal:"small"},round:"small"},drop:{align:{top:"bottom"},background:"none",elevation:"none",margin:"none"}},video:{captions:{background:"rgba(0, 0, 0, 0.7)"},icons:{closedCaption:B.N,configure:F.E,fullScreen:z.J,pause:K.v,play:G.j,reduceVolume:ne.Z,volume:te.f},scrubber:{color:"light-4"}},worldMap:{color:"light-3",continent:{active:"8px",base:"6px"},hover:{color:"light-4"},place:{active:"20px",base:"8px"}}});return n=a,Object.keys(n).forEach((function(e){return e&&oe(n[e])&&Object.freeze(n[e])})),Object.freeze(n)}(24),ge={theme:me},ve=["capture","target","children","onKeyDown"],ye={8:"onBackspace",9:"onTab",13:"onEnter",27:"onEsc",32:"onSpace",37:"onLeft",38:"onUp",39:"onRight",40:"onDown",188:"onComma",16:"onShift"},be=function(e){var t=e.capture,n=e.target,r=e.children,i=e.onKeyDown,o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,ve),a=(0,y.useCallback)((function(e){for(var t=e.keyCode?e.keyCode:e.which,n=ye[t],r=arguments.length,a=new Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];n&&o[n]&&o[n].apply(o,[e].concat(a)),i&&i.apply(void 0,[e].concat(a))}),[i,o]);return(0,y.useEffect)((function(){return"document"===n&&document.addEventListener("keydown",a,t),function(){"document"===n&&document.removeEventListener("keydown",a,t)}}),[t,a,n]),"document"===n?r:(0,y.cloneElement)(y.Children.only(r),{onKeyDown:a})};be.propTypes={};var _e,we=function(e,t){return t.global.deviceBreakpoints[e]},Se=function(e,t){var n=t&&e.global.breakpoints[t]||{};return n.edgeSize||(n.edgeSize=e.global.edgeSize),n.borderSize||(n.borderSize=e.global.borderSize),n.size||(n.size=e.global.size),n},xe=(0,w.css)(["font-family:",";font-size:",";line-height:",";font-weight:",";"," box-sizing:border-box;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;"],(function(e){return e.theme.global.font.family}),(function(e){return e.theme.global.font.size}),(function(e){return e.theme.global.font.height}),(function(e){return e.theme.global.font.weight}),(function(e){return!e.plain&&R(e.theme.baseBackground,e.theme)})),Ee=(0,w.css)(["border:"," solid ",";border-radius:",";"],(function(e){return e.theme.global.control.border.width}),(function(e){return S(e.theme.global.control.border.color||"border",e.theme)}),(function(e){return e.theme.global.control.border.radius})),ke=function(e,t,n,r,i){var o=r&&i.global.breakpoints[r];if("string"==typeof t)return(0,w.css)(["",":",";",";"],e,i.global.edgeSize[t]||t,n&&o?ce(o,"\n        "+e+": "+(o.edgeSize[t]||t)+";\n      "):"");var a=[],s=t.horizontal,l=t.vertical,c=t.top,u=t.bottom,f=t.left,d=t.right,p=s&&l&&s===l;if(p||c&&u&&f&&d&&c===u===f===d){var h=p?s:c;return(0,w.css)(["",":",";",";"],e,i.global.edgeSize[h]||h,n&&o?ce(o,"\n        "+e+": "+(o.edgeSize[h]||h)+";\n      "):"")}return s&&a.push((0,w.css)(["","-left:",";","-right:",";",";"],e,i.global.edgeSize[s]||s,e,i.global.edgeSize[s]||s,n&&o?ce(o,"\n          "+e+"-left: "+(o.edgeSize[s]||s)+";\n          "+e+"-right: "+(o.edgeSize[s]||s)+";\n        "):"")),l&&a.push((0,w.css)(["","-top:",";","-bottom:",";",";"],e,i.global.edgeSize[l]||l,e,i.global.edgeSize[l]||l,n&&o?ce(o,"\n          "+e+"-top: "+(o.edgeSize[l]||l)+";\n          "+e+"-bottom: "+(o.edgeSize[l]||l)+";\n        "):"")),c&&a.push((0,w.css)(["","-top:",";",";"],e,i.global.edgeSize[c]||c,n&&o?ce(o,"\n          "+e+"-top: "+(o.edgeSize[c]||c)+";\n        "):"")),u&&a.push((0,w.css)(["","-bottom:",";",";"],e,i.global.edgeSize[u]||u,n&&o?ce(o,"\n          "+e+"-bottom: "+(o.edgeSize[u]||u)+";\n        "):"")),f&&a.push((0,w.css)(["","-left:",";",";"],e,i.global.edgeSize[f]||f,n&&o?ce(o,"\n          "+e+"-left: "+(o.edgeSize[f]||f)+";\n        "):"")),d&&a.push((0,w.css)(["","-right:",";",";"],e,i.global.edgeSize[d]||d,n&&o?ce(o,"\n          "+e+"-right: "+(o.edgeSize[d]||d)+";\n        "):"")),t.start&&a.push((0,w.css)(["","-inline-start:",";",";"],e,i.global.edgeSize[t.start]||t.start,n&&o?ce(o,"\n          "+e+"-inline-start: "+(o.edgeSize[t.start]||t.start)+";\n        "):"")),t.end&&a.push((0,w.css)(["","-inline-end:",";",";"],e,i.global.edgeSize[t.end]||t.end,n&&o?ce(o,"\n          "+e+"-inline-end: "+(o.edgeSize[t.end]||t.end)+";\n        "):"")),a},Ce=function(e,t){var n=void 0===t?{}:t,r=n.forceOutline,i=n.justBorder,o=e.theme.global.focus;if(!o||r&&!o.outline){var a=S("focus",e.theme);return a?"outline: 2px solid "+a+";":""}if(o.outline&&(!o.border||!i)){if("object"==typeof o.outline){var s=S(o.outline.color||"focus",e.theme);return"\n        outline-offset: 0px;\n        outline: "+(o.outline.size||"2px")+" solid "+s+";\n      "}return"outline: "+o.outline+";"}if(o.shadow&&(!o.border||!i)){if("object"==typeof o.shadow){var l=S(o.border&&o.border.color||o.shadow.color||"focus",e.theme),c=o.shadow.size||"2px";return"\n        outline: none;\n        box-shadow: 0 0 "+c+" "+c+" "+l+";\n      "}return"\n      outline: none;\n      box-shadow: "+o.shadow+";\n    "}return o.border?"\n      outline: none;\n      border-color: "+S(o.border.color||"focus",e.theme)+";\n    ":""},Oe=function(e,t){var n=void 0===t?{}:t,r=n.forceOutline,i=n.justBorder,o=e.theme.global.focus;return!o||r&&!o.outline?S("focus",e.theme)?"outline: none;":"":!o.outline||o.border&&i?!o.shadow||o.border&&i?o.border?"\n      outline: none;\n      border-color: none;\n    ":"":"object"==typeof o.shadow?"\n        outline: none;\n        box-shadow: none;\n      ":"\n      outline: none;\n      box-shadow: none;\n    ":"object"==typeof o.outline?"\n        outline-offset: 0px;\n        outline: none;\n      ":"outline: none;"},Te=function(e){var t=void 0===e?{}:e,n=t.forceOutline,r=t.justBorder,i=t.skipSvgChildren;return(0,w.css)([""," "," ",""],(function(e){return!i&&"\n  > circle,\n  > ellipse,\n  > line,\n  > path,\n  > polygon,\n  > polyline,\n  > rect {\n    "+Ce(e)+"\n  }"}),(function(e){return Ce(e,{forceOutline:n,justBorder:r})}),!n&&"\n  ::-moz-focus-inner {\n    border: 0;\n  }\n  ")},Pe=function(e){var t=void 0===e?{}:e,n=t.forceOutline,r=t.justBorder,i=t.skipSvgChildren;return(0,w.css)([""," "," ",""],(function(e){return!i&&"\n  > circle,\n  > ellipse,\n  > line,\n  > path,\n  > polygon,\n  > polyline,\n  > rect {\n    "+Oe(e)+"\n  }"}),(function(e){return Oe(e,{forceOutline:n,justBorder:r})}),!n&&"\n  ::-moz-focus-inner {\n    border: 0;\n  }\n  ")},Ae=function(e,t){return le((e.theme.global.edgeSize[t]||t)+"px")+le(e.theme.global.control.border.width+"px")+"px"},Me=function(e,t){var n;if("object"!=typeof e.theme.global.input.padding)return Ae(e,e.theme.global.input.padding);n="left"===t||"right"===t?"horizontal":"top"===t||"bottom"===t?"vertical":void 0;var r=e.theme.global.input.padding[t]||e.theme.global.input.padding[n];return Ae(e,r)},Le=(0,w.css)(["color:",";"],(function(e){return S(e.theme.global.colors.placeholder,e.theme)})),Ie=(0,w.css)(["&::-webkit-input-placeholder{",";}&::-moz-placeholder{",";}&:-ms-input-placeholder{",";}"],Le,Le,Le),Re=(0,w.css)(["box-sizing:border-box;"," font-family:inherit;border:none;-webkit-appearance:none;background:transparent;color:inherit;width:100%;"," "," "," margin:0;"," &:focus{",";}"," ","::-webkit-search-decoration{-webkit-appearance:none;}&::-moz-focus-inner{border:none;outline:none;}&:-moz-placeholder,&::-moz-placeholder{opacity:1;}",""],(function(e){var t;return"font-size: "+(e.theme.global.input.font.size?(null==(t=e.theme.text[e.theme.global.input.font.size])?void 0:t.size)||e.theme.global.input.font.size:"inherit")+";"}),(function(e){return e.theme.global.input.font.height&&"line-height: "+e.theme.global.input.font.height+";"}),(function(e){return e.theme.global.input.padding&&"object"!=typeof e.theme.global.input.padding?"padding: "+(le(e.theme.global.edgeSize[e.theme.global.input.padding]||e.theme.global.input.padding)-le(e.theme.global.control.border.width))+"px;":ke("padding",e.theme.global.input.padding,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return(e.theme.global.input.weight||e.theme.global.input.font.weight)&&(0,w.css)(["font-weight:",";"],e.theme.global.input.weight||e.theme.global.input.font.weight)}),(function(e){return e.size&&function(e){var t=e.theme.text[e.size];return t?(0,w.css)(["font-size:",";line-height:",";"],t.size,t.height):(0,w.css)(["font-size:",";"],e.size)}(e)}),(function(e){return(!e.plain||e.focusIndicator)&&Te()}),Ee,Ie,(function(e){return e.theme.global.input.extend})),De={center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},je=(0,w.css)([""," "," ",""],(function(e){return e.alignSelf&&"align-self: "+De[e.alignSelf]+";"}),(function(e){return e.gridArea&&"grid-area: "+e.gridArea+";"}),(function(e){return e.margin&&e.theme.global&&ke("margin",e.margin,e.responsive,e.theme.global.edgeSize.responsiveBreakpoint,e.theme)})),Ne=function(e){return(0,w.css)(["opacity:",";cursor:default;"],(function(t){return e||t.theme.global.control.disabled.opacity}))},Fe=function(e,t,n){return(0,w.css)(["",":",";"],e,n.global.size[t]||t)},Be=(0,w.css)(["outline:none;border:none;"]),ze=function(e,t,n){var r=[];if(e.padding||e.pad){var i=e.padding||e.pad;i.vertical||i.horizontal?r.push("padding: "+(t.global.edgeSize[i.vertical]||i.vertical||0)+" "+(t.global.edgeSize[i.horizontal]||i.horizontal||0)+";"):r.push("padding: "+(t.global.edgeSize[i]||i||0)+";")}if(e.background?r.push(R(n||e.background,t,e.color||(!Object.prototype.hasOwnProperty.call(e,"color")||void 0!==e.color)&&void 0)):e.color&&r.push("color: "+S(e.color,t)+";"),e.border?(e.border.width&&r.push((0,w.css)(["border-style:solid;border-width:",";"],e.border.width)),e.border.color&&r.push((0,w.css)(["border-color:",";"],S(!e.background&&n||e.border.color||"border",t))),e.border.radius&&r.push((0,w.css)(["border-radius:",";"],e.border.radius))):!1===e.border&&r.push("border: none;"),!n||e.border||e.background||r.push("color: "+S(n,t)+";"),e.font&&(e.font.size&&r.push("font-size: "+(t.text[e.font.size].size||e.font.size)+";"),e.font.height&&r.push("line-height: "+e.font.height+";"),e.font.weight&&r.push("font-weight: "+e.font.weight+";")),e.opacity){var o=!0===e.opacity?t.global.opacity.medium:t.global.opacity[e.opacity]||e.opacity;r.push("opacity: "+o+";")}return e.extend&&r.push(e.extend),r},$e={full:"100%"},Ue=function(e,t,n){var r=Se(n,n.box.responsiveBreakpoint),i=[];if("object"==typeof e){var o=$e[e.size]||n.global.edgeSize[e.size||"medium"]||e.size,a=t&&r&&r.edgeSize[e.size]&&(r.edgeSize[e.size]||e.size);"top"===e.corner?(i.push((0,w.css)(["border-top-left-radius:",";border-top-right-radius:",";"],o,o)),a&&i.push(ce(r,"\n          border-top-left-radius: "+a+";\n          border-top-right-radius: "+a+";\n        "))):"bottom"===e.corner?(i.push((0,w.css)(["border-bottom-left-radius:",";border-bottom-right-radius:",";"],o,o)),a&&i.push(ce(r,"\n          border-bottom-left-radius: "+a+";\n          border-bottom-right-radius: "+a+";\n        "))):"left"===e.corner?(i.push((0,w.css)(["border-top-left-radius:",";border-bottom-left-radius:",";"],o,o)),a&&i.push(ce(r,"\n          border-top-left-radius: "+a+";\n          border-bottom-left-radius: "+a+";\n        "))):"right"===e.corner?(i.push((0,w.css)(["border-top-right-radius:",";border-bottom-right-radius:",";"],o,o)),a&&i.push(ce(r,"\n          border-top-right-radius: "+a+";\n          border-bottom-right-radius: "+a+";\n        "))):e.corner?(i.push((0,w.css)(["border-","-radius:",";"],e.corner,o)),a&&i.push(ce(r,"\n          border-"+e.corner+"-radius: "+a+";\n        "))):(i.push((0,w.css)(["border-radius:",";"],o)),a&&i.push(ce(r,"\n          border-radius: "+a+";\n        ")))}else{var s=!0===e?"medium":e;i.push((0,w.css)(["border-radius:",";"],$e[s]||n.global.edgeSize[s]||s));var l=r&&r.edgeSize[s];l&&i.push(ce(r,"\n        border-radius: "+l+";\n      "))}return i},He={center:"center",end:"right",justify:"justify",start:"left"},We=(0,w.css)(["text-align:",";"],(function(e){return He[e.textAlign]})),qe={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},Ve=(0,w.css)(["align-items:",";"],(function(e){var t;return null!=(t=qe[e.align])?t:e.align})),Ke={around:"space-around",baseline:"baseline",between:"space-between",center:"center",evenly:"space-evenly",end:"flex-end",start:"flex-start",stretch:"stretch"},Ge=(0,w.css)(["align-content:",";"],(function(e){var t;return null!=(t=Ke[e.alignContent])?t:e.alignContent})),Ye=function(e,t){return e.global.size[t]||t},Je=function(e,t){var n=S(e.color||"border",t),r=e.size||"xsmall",i=e.style||"solid",o="string"==typeof e?e:e.side||"all",a=t.box.responsiveBreakpoint&&t.global.breakpoints[t.box.responsiveBreakpoint];a.borderSize||(a.borderSize=t.global.borderSize);var s=a&&(a.borderSize[r]||r)&&i+" "+(a.borderSize[r]||r)+" "+n;if(s){if("top"===o||"bottom"===o||"left"===o||"right"===o)return"border-"+o+": "+s+";";if("end"===o||"start"===o)return"border-inline-"+o+": "+s+";";if("vertical"===o)return"\n      border-left: "+s+";\n      border-right: "+s+";\n    ";if("horizontal"===o)return"\n      border-top: "+s+";\n      border-bottom: "+s+";\n    ";if("between"!==o)return"border: "+s+";"}},Ze=function(e,t,n){var r=[],i=S(e.color||"border",n),o=e.size||"xsmall",a=e.style||"solid",s="string"==typeof e?e:e.side||"all",l=a+" "+(n.global.borderSize[o]||o)+" "+i,c=t&&Je(e,n),u=c&&n.box.responsiveBreakpoint&&n.global.breakpoints[n.box.responsiveBreakpoint];return"top"===s||"bottom"===s||"left"===s||"right"===s?(r.push("border-"+s+": "+l+";"),c&&r.push(ce(u,c))):"end"===s||"start"===s?(r.push((0,w.css)(["border-inline-",":",";"],s,l)),c&&r.push(ce(u,c))):"vertical"===s?(r.push((0,w.css)(["border-left:",";border-right:",";"],l,l)),c&&r.push(ce(u,c))):"horizontal"===s?(r.push((0,w.css)(["border-top:",";border-bottom:",";"],l,l)),c&&r.push(ce(u,c))):"between"===s||(r.push((0,w.css)(["border:",";"],l)),c&&r.push(ce(u,c))),r},Xe={xsmall:1.001,small:1.01,medium:1.1,large:1.5,xlarge:2},Qe={xsmall:1,small:5,medium:10,large:50,xlarge:200},et={xsmall:.1,small:1,medium:5,large:400,xlarge:1e3},tt={xsmall:.001,small:.01,medium:.05,large:.1,xlarge:.5},nt=function(e,t){if(void 0===t&&(t="medium"),"draw"===e)return["","stroke-dashoffset: 0"];if("fadeIn"===e)return["opacity: 0;","opacity: 1;"];if("fadeOut"===e)return["opacity: 1;","opacity: 0;"];if("jiggle"===e){var n=et[t];return["transform: rotate(-"+n+"deg);","transform: rotate("+n+"deg);"]}return"pulse"===e?["transform: scale(1);","transform: scale("+Xe[t]+")"]:"rotateRight"===e?["transform: rotate(0deg);","transform: rotate(359deg);"]:"rotateLeft"===e?["transform: rotate(0deg);","transform: rotate(-359deg);"]:"flipIn"===e?["transform: rotateY(90deg);","transform: rotateY(0);"]:"flipOut"===e?["transform: rotateY(0);","transform: rotateY(90deg);"]:"slideDown"===e?["transform: translateY(-"+Qe[t]+"%);","transform: none;"]:"slideLeft"===e?["transform: translateX("+Qe[t]+"%);","transform: none;"]:"slideRight"===e?["transform: translateX(-"+Qe[t]+"%);","transform: none;"]:"slideUp"===e?["transform: translateY("+Qe[t]+"%);","transform: none;"]:"zoomIn"===e?["transform: scale("+(1-tt[t])+");","transform: none;"]:"zoomOut"===e?["transform: scale("+(1+tt[t])+");","transform: none;"]:[]},rt=function(e,t){return"number"==typeof e?e/1e3+"s":e||t},it=function(e,t,n){var r,i=nt(e.type,e.size),o=n&&n.animation||t.global.animation;if(i){var a=(0,w.css)(["from{",";}to{",";}"],i[0],i[1]);return(0,w.css)([""," "," "," ",""],(0,w.keyframes)(["",""],a),rt(e.duration,rt(o[e.type]?o[e.type].duration:e.duration,o.duration)),rt(e.delay,"0s"),"draw"===(r=e.type)?"linear forwards":"jiggle"===r||"pulse"===r?"alternate infinite":"rotateRight"===r||"rotateLeft"===r?"infinite linear":"forwards")}return""};function ot(){return ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ot.apply(this,arguments)}var at={auto:"auto",full:"100%","1/2":"50%","1/4":"25%","2/4":"50%","3/4":"75%","1/3":"33.33%","2/3":"66.66%"},st=(0,w.css)(["flex-basis:",";"],(function(e){return at[e.basis]||e.theme.global.size[e.basis]||e.basis})),lt=(0,w.css)(["box-shadow:",";"],(function(e){return e.theme.global.elevation[e.theme.dark?"dark":"light"][e.elevationProp]})),ct=((_e={})[!0]="1 1",_e[!1]="0 0",_e.grow="1 0",_e.shrink="0 1",_e),ut=(0,w.css)(["flex:",";"],(function(e){return("boolean"==typeof(t=e.flex)||"string"==typeof t?ct[t]:(t.grow?t.grow:0)+" "+(t.shrink?t.shrink:0))+(!0===e.flex||e.basis?"":" auto");var t})),ft={around:"space-around",between:"space-between",center:"center",end:"flex-end",evenly:"space-evenly",start:"flex-start"},dt=(0,w.css)(["justify-content:",";"],(function(e){return ft[e.justify]})),pt={true:"wrap",reverse:"wrap-reverse"},ht=(0,w.css)(["flex-wrap:",";"],(function(e){return pt[e.wrapProp]})),mt=function e(t,n){return"string"==typeof t?it({type:t},n):Array.isArray(t)?t.reduce((function(t,r,i){return(0,w.css)(["",""," ",""],t,i>0?",":"",e(r,n))}),""):"object"==typeof t?it(t,n):""},gt=function(e){var t=nt(e.type,e.size);return t?t[0]+" "+function(e){return"flipIn"===e.type||"flipOut"===e.type?"perspective: 1000px; transform-style: preserve-3d;":""}(e):""},vt=(0,w.css)(["",";"],(function(e){return(0,w.css)([""," animation:",";"],"string"==typeof(t=e.animation)?gt({type:t}):Array.isArray(t)?t.map((function(e){return gt("string"==typeof e?{type:e}:e)})).join(""):"object"==typeof t?gt(t):"",mt(e.animation,e.theme));var t})),yt=(0,w.css)(["cursor:pointer;&:hover{","}"],(function(e){return e.hoverIndicator&&N(e.hoverIndicator,e.theme)})),bt=w.default.div.withConfig({displayName:"StyledBox",componentId:"sc-13pk1d4-0"})(["display:flex;box-sizing:border-box;",";"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(function(e){return!e.basis&&"max-width: 100%;"}),je,(function(e){return e.align&&Ve}),(function(e){return e.alignContent&&Ge}),(function(e){return e.background&&R(e.background,e.theme)}),(function(e){return e.border&&(Array.isArray(e.border)?e.border.map((function(t){return Ze(t,e.responsive,e.theme)})):Ze(e.border,e.responsive,e.theme))}),(function(e){return e.directionProp&&function(e,t){var n=[(0,w.css)(["min-width:0;min-height:0;flex-direction:",";"],"row-responsive"===e?"row":e)];if("row-responsive"===e&&t.box.responsiveBreakpoint){var r=Se(t,t.box.responsiveBreakpoint);r&&n.push(ce(r,"\n        flex-direction: column;\n        flex-basis: auto;\n        justify-content: flex-start;\n        align-items: stretch;\n      "))}return n}(e.directionProp,e.theme)}),(function(e){return e.heightProp&&(t=e.heightProp,n=e.theme,"object"==typeof t?function(e,t){var n=[];return e.max&&n.push((0,w.css)(["max-height:",";"],Ye(t,e.max))),e.min&&n.push((0,w.css)(["min-height:",";"],Ye(t,e.min))),e.width&&n.push((0,w.css)(["height:",";"],Ye(t,e.height))),n}(t,n):function(e,t){return(0,w.css)(["height:",";"],Ye(t,e))}(t,n));var t,n}),(function(e){return e.widthProp&&(t=e.widthProp,n=e.theme,"object"==typeof t?function(e,t){var n=[];return e.max&&n.push((0,w.css)(["max-width:",";"],Ye(t,e.max))),e.min&&n.push((0,w.css)(["min-width:",";"],Ye(t,e.min))),e.width&&n.push((0,w.css)(["width:",";"],Ye(t,e.width))),n}(t,n):function(e,t){return(0,w.css)(["width:",";"],Ye(t,e))}(t,n));var t,n}),(function(e){return void 0!==e.flex&&ut}),(function(e){return e.basis&&st}),(function(e){return e.fillProp&&("horizontal"===(t=e.fillProp)?"width: 100%;":"vertical"===t?"height: 100%;":t?"\n      width: 100%;\n      height: 100%;\n    ":void 0);var t}),(function(e){return e.justify&&dt}),(function(e){return e.pad&&ke("padding",e.pad,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return e.round&&Ue(e.round,e.responsive,e.theme)}),(function(e){return e.wrapProp&&ht}),(function(e){return e.overflowProp&&("string"==typeof(t=e.overflowProp)?(0,w.css)(["overflow:",";"],t):(0,w.css)([""," ",";"],t.horizontal&&"overflow-x: "+t.horizontal+";",t.vertical&&"overflow-y: "+t.vertical+";"));var t}),(function(e){return e.elevationProp&&lt}),(function(e){return e.animation&&vt}),(function(e){return e.onClick&&yt}),(function(e){return e.onClick&&e.focus&&!1!==e.focusIndicator&&Te()}),(function(e){return e.theme.box&&e.theme.box.extend}));bt.defaultProps={},Object.setPrototypeOf(bt.defaultProps,ge);var _t=w.default.div.withConfig({displayName:"StyledBox__StyledBoxGap",componentId:"sc-13pk1d4-1"})(["flex:0 0 auto;align-self:stretch;",";"],(function(e){return e.gap&&function(e,t,n,r,i){var o=i.global.edgeSize[t]||t,a=Se(i,i.box.responsiveBreakpoint),s=n&&a&&a.edgeSize[t],l=[];if("column"===e||"column-reverse"===e?(l.push("height: "+o+";"),s&&l.push(ce(a,"height: "+s+";"))):(l.push("width: "+o+";"),s&&("row"===e||"row-reverse"===e?l.push(ce(a,"width: "+s+";")):"row-responsive"===e&&l.push(ce(a,"\n          width: auto;\n          height: "+s+";\n        ")))),"between"===r||r&&"between"===r.side){var c=r.size||"xsmall",u=i.global.borderSize[c]||c,f=le(o)/2-le(u)/2+"px",d=n&&a&&(a.borderSize[c]||c),p=d&&le(s)/2-le(d)/2+"px";if("column"===e||"column-reverse"===e){var h="string"==typeof r?"top":ot({},r,{side:"top"});l.push((0,w.css)(["position:relative;&:after{content:'';position:absolute;width:100%;top:",";","}"],f,Ze(h,n,i))),p&&l.push(ce(a,"\n            &:after {\n              content: '';\n              top: "+p+";\n            }"))}else{var m="string"==typeof r?"left":ot({},r,{side:"left"});if(l.push((0,w.css)(["position:relative;&:after{content:'';position:absolute;height:100%;left:",";","}"],f,Ze(m,"row-responsive"!==e&&n,i))),p)if("row"===e||"row-reverse"===e)l.push(ce(a,"\n              &:after {\n                content: '';\n                left: "+p+";\n              }"));else if("row-responsive"===e){var g="string"==typeof r?"top":ot({},r,{side:"top"});l.push(ce(a,"\n              &:after {\n                content: '';\n                height: auto;\n                left: unset;\n                width: 100%;\n                top: "+p+";\n                border-left: none;\n                "+Je(g,i)+"\n              }"))}}}return l}(e.directionProp,e.gap,e.responsive,e.border,e.theme)}));_t.defaultProps={},Object.setPrototypeOf(_t.defaultProps,ge);var wt=n(17314),St=n.n(wt),xt=["auto","hidden","scroll","visible"],Et=St().oneOf(["fadeIn","fadeOut","jiggle","pulse","rotateLeft","rotateRight","slideUp","slideDown","slideLeft","slideRight","zoomIn","zoomOut"]);St().shape({type:Et,delay:St().number,duration:St().number,size:St().oneOf(["xsmall","small","medium","large","xlarge"])}),St().shape({color:St().oneOfType([St().string,St().shape({dark:St().string,light:St().string})]),side:St().oneOf(["top","left","bottom","right","start","end","horizontal","vertical","all","between"]),size:St().oneOfType([St().oneOf(["xsmall","small","medium","large","xlarge"]),St().string]),style:St().oneOf(["solid","dashed","dotted","double","groove","ridge","inset","outset","hidden"])}),St().oneOfType([St().oneOf(xt),St().shape({horizontal:St().oneOf(xt),vertical:St().oneOf(xt)}),St().string]);var kt=["a11yTitle","background","border","children","direction","elevation","fill","gap","onBlur","onClick","onFocus","overflow","responsive","tag","as","wrap","width","height","tabIndex"];function Ct(){return Ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(this,arguments)}var Ot=(0,y.forwardRef)((function(e,t){var n=e.a11yTitle,r=e.background,i=e.border,o=e.children,a=e.direction,s=void 0===a?"column":a,l=e.elevation,c=e.fill,u=e.gap,f=e.onBlur,d=e.onClick,p=e.onFocus,h=e.overflow,m=e.responsive,g=void 0===m||m,v=e.tag,b=e.as,_=e.wrap,S=e.width,x=e.height,E=e.tabIndex,k=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,kt),C=(0,y.useContext)(w.ThemeContext)||ge.theme,O=(0,y.useMemo)((function(){return d&&!(E<0)}),[d,E]),T=(0,y.useState)(),P=T[0],A=T[1],L=(0,y.useMemo)((function(){if(O)return{onClick:d,onFocus:function(e){A(!0),p&&p(e)},onBlur:function(e){A(!1),f&&f(e)}};var e={};return f&&(e.onBlur=f),d&&(e.onClick=d),p&&(e.onFocus=p),e}),[O,d,p,f]),I=(0,y.useMemo)((function(){return void 0!==E?E:O?0:void 0}),[O,E]);("between"===i||i&&"between"===i.side)&&!u&&console.warn("Box must have a gap to use border between");var R=o;if(u&&"none"!==u){var D,j=!b&&v?v:b;R=[],y.Children.forEach(o,(function(e,t){e&&(void 0===D?D=t:R.push(y.createElement(_t,{key:"gap-"+t,as:"span"===j?j:"div",gap:u,directionProp:s,responsive:g,border:i}))),R.push(e)}))}var N=(0,y.useMemo)((function(){var e;if(r||C.darkChanged){var t=M(r,C);void 0!==t&&t!==C.dark||C.darkChanged?((e=Ct({},C)).dark=void 0===t?C.dark:t,e.background=r):r&&((e=Ct({},C)).background=r)}return e||C}),[r,C]),F=y.createElement(bt,Ct({as:!b&&v?v:b,"aria-label":n,background:r,border:i,ref:t,directionProp:s,elevationProp:l,fillProp:c,focus:P,overflowProp:h,wrapProp:_,widthProp:S,heightProp:x,responsive:g,tabIndex:I},L,k),y.createElement(w.ThemeContext.Provider,{value:N},R));return d&&(F=y.createElement(be,{onEnter:d},F)),F}));Ot.displayName="Box",Ot.propTypes={};var Tt=n(32451),Pt=["html","body"],At=function(e,t){var n=[];if(e){for(var r=e.parentNode;r&&r.getBoundingClientRect;){var i=r.getBoundingClientRect();t?i.width&&r.scrollWidth>i.width+10&&n.push(r):i.height&&r.scrollHeight>i.height+10&&n.push(r),r=r.parentNode}n.length&&Pt.includes(n[0].tagName.toLowerCase())&&(n.length=0),n.push(document)}return n},Mt=function(e,t){void 0===e&&(e=document.body);var n=document.createElement("div");return"first"===t?e.prepend(n):e.appendChild(n),n},Lt=function(e){var t=window.scrollX,n=window.scrollY;e.focus(),window.scrollTo(t,n)},It="tabindex",Rt="data-g-tabindex",Dt=/(a|area|input|select|textarea|button|iframe)$/,jt=function(e){if(!e.hasAttribute("aria-live")){e.setAttribute("aria-hidden",!0);var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return null!==e.getAttribute(It)})).forEach((function(e){e.setAttribute(Rt,e.getAttribute(It)),e.setAttribute(It,-1)})),Array.prototype.filter.call(t||[],(function(e){return e.tagName.toLowerCase().match(Dt)&&e.focus&&null===e.getAttribute(Rt)})).forEach((function(e){e.setAttribute(Rt,"none"),e.setAttribute(It,-1)}))}},Nt=function e(t){if(t)return t.offsetParent?t:e(t.parentElement)||t},Ft=function(e,t){var n=e.getBoundingClientRect().bottom,r=t.getBoundingClientRect?t.getBoundingClientRect():{height:0,top:0},i=r.height;return n>=r.top+i},Bt=function(e,t){return e.getBoundingClientRect().top<=(t.getBoundingClientRect?t.getBoundingClientRect():{top:0}).top},zt=y.createContext([]),$t=["hidden","restrictScroll","children","trapFocus"];function Ut(){return Ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ut.apply(this,arguments)}var Ht=function(e){var t=e.hidden,n=void 0!==t&&t,r=e.restrictScroll,i=void 0!==r&&r,o=e.children,a=e.trapFocus,s=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,$t),l=(0,y.useState)(""),c=l[0],u=l[1],f=(0,y.useRef)(null),d=(0,y.useContext)(zt),p=(0,y.useState)(d),h=p[0],m=p[1];return(0,y.useEffect)((function(){f.current&&m([].concat(d,[f.current]))}),[d]),(0,y.useEffect)((function(){return"hidden"!==c&&!n&&i&&a&&(u(document.body.style.overflow),document.body.style.overflow="hidden"),function(){"hidden"!==c&&!n&&i&&a&&(document.body.style.overflow=c)}}),[c,n,a,i]),(0,y.useEffect)((function(){var e=setTimeout((function(){!n&&a&&d&&d[0]&&d.forEach(jt)}),0);return function(){d&&d[0]&&function(e){if(!e.hasAttribute("aria-live")){e.removeAttribute("aria-hidden");var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return e.hasAttribute(Rt)})).forEach((function(e){var t=e.getAttribute(Rt);t>=0?e.setAttribute(It,e.getAttribute(Rt)):"none"===t&&e.removeAttribute(It),e.removeAttribute(Rt)}))}}(d[d.length-1]),clearTimeout(e)}}),[n,d,a]),y.createElement(zt.Provider,{value:h},y.createElement("div",Ut({ref:f,"aria-hidden":n},s),o))},Wt=y.createContext(void 0),qt=(0,w.keyframes)(["0%{opacity:0.5;transform:scale(0.8);}100%{opacity:1;transform:scale(1);}"]),Vt=w.default.div.withConfig({displayName:"StyledDrop",componentId:"sc-16s5rx8-0"})([""," "," position:fixed;z-index:",";outline:none;"," "," opacity:0;transform-origin:",";animation:"," 0.1s forwards;animation-delay:0.01s;@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){display:flex;align-items:stretch;}",""],xe,(function(e){return!e.plain&&(e.round&&Ue(e.round,!0,e.theme)||"border-radius: "+e.theme.global.drop.border.radius+";")}),(function(e){return e.theme.global.drop.zIndex}),(function(e){return!e.plain&&R(e.background||e.theme.global.drop.background,e.theme)}),(function(e){return!e.plain&&(e.margin||e.theme.global.drop.margin)&&e.theme.global&&function(e,t,n,r,i){var o=e.global.edgeSize[n]||n,a={},s="string"==typeof o&&o.split(" ").length>1;return!0!==e.global.drop.intelligentMargin||s||"string"!=typeof o?ke("margin",i||e.global.drop.margin,r,e.global.edgeSize.responsiveBreakpoint,e):("bottom"===t.top?a.top=o:"top"===t.bottom&&(a.bottom=o),"left"===t.right?a.left="-"+o:"right"===t.left&&(a.left=o),Object.keys(a)||(a="none"),ke("margin",a,r,e.global.edgeSize.responsiveBreakpoint,e))}(e.theme,e.alignProp,e.theme.global.drop.margin,e.responsive,e.margin)}),(function(e){return function(e){var t="top";e.bottom&&(t="bottom");var n="left";return e.right&&(n="right"),t+" "+n}(e.alignProp)}),qt,(function(e){return e.theme.global.drop&&e.theme.global.drop.extend}));Vt.defaultProps={},Object.setPrototypeOf(Vt.defaultProps,ge);var Kt=["align","background","onAlign","children","dropTarget","elevation","onClickOutside","onEsc","onKeyDown","overflow","plain","responsive","restrictFocus","stretch","trapFocus"];function Gt(){return Gt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gt.apply(this,arguments)}var Yt=function(e){27===(e.keyCode?e.keyCode:e.which)&&e.stopPropagation()},Jt={top:"top",left:"left"},Zt=[],Xt=(0,y.forwardRef)((function(e,t){var n=e.align,r=void 0===n?Jt:n,i=e.background,o=e.onAlign,a=e.children,s=e.dropTarget,l=e.elevation,c=e.onClickOutside,u=e.onEsc,f=e.onKeyDown,d=e.overflow,p=void 0===d?"auto":d,h=e.plain,m=e.responsive,g=e.restrictFocus,v=e.stretch,b=void 0===v?"width":v,_=e.trapFocus,S=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Kt),x=(0,y.useContext)(w.ThemeContext)||ge.theme,E=(0,y.useContext)(Wt)||Zt,k=(0,y.useMemo)((function(){return E.length}),[E]),C=(0,y.useMemo)((function(){return[].concat(E,[k])}),[E,k]),O=(0,y.useRef)();(0,y.useEffect)((function(){var e,n=function(e){var n,i=window.innerWidth,a=window.innerHeight,l=s,c=(t||O).current;if(c&&l){c.style.left="",c.style.top="",c.style.bottom="",c.style.width="",e||(c.style.maxHeight="");var u,f,d,p,h=l.getBoundingClientRect(),g=c.getBoundingClientRect();u=b?Math.min("align"===b?Math.min(h.width,g.width):Math.max(h.width,g.width),i):Math.min(g.width,i),r.left?"left"===r.left?f=h.left:"right"===r.left&&(f=h.left+h.width):r.right?"left"===r.right?f=h.left-u:"right"===r.right&&(f=h.left+h.width-u):f=h.left+h.width/2-u/2,f+u>i?f-=f+u-i:f<0&&(f=0);var v=g.height;if(r.top){d="top"===r.top?h.top:h.bottom;var y=100-h.bottom/a*100;a===d||y<=20?(d="",v=p="bottom"===r.top?h.top:h.bottom,c.style.maxHeight=v+"px"):d>0?(v=a-d,c.style.maxHeight=v+"px"):v=a-d}else r.bottom?(v=p="bottom"===r.bottom?h.bottom:h.top,c.style.maxHeight=v+"px"):v=a-(d=h.top+h.height/2-g.height/2);m&&(g.height>v||v<a/10)&&(r.top&&d>a/2?(d="",v=p="bottom"===r.top?h.top:h.bottom):r.bottom&&v<a/2&&(p="",v=a-(d="bottom"===r.bottom?h.top:h.bottom))),c.style.left=f+"px",b&&(c.style.width=u+.1+"px"),""!==d&&(c.style.top=d+"px"),""!==p&&(c.style.bottom=a-p+"px"),e||(x.drop&&x.drop.maxHeight&&(v=Math.min(v,le(x.drop.maxHeight))),c.style.maxHeight=v+"px")}o&&(n=""!==(t||O).current.style.top?"top":"bottom",o(n))},i=function(){(e=At(s)).forEach((function(e){return e.addEventListener("scroll",n)}))},a=function(){e.forEach((function(e){return e.removeEventListener("scroll",n)})),e=[]},l=function(e){for(var t=null,n=e.target;null===t&&n!==document;){var r=n.getAttribute("data-g-portal-id");null!==r&&(t=parseInt(r,10)),n=n.parentNode}null!==t&&-1===E.indexOf(t)||c(e)},u=function(){a(),i(),n(!1)};return i(),window.addEventListener("resize",u),c&&document.addEventListener("mousedown",l),n(!1),function(){a(),window.removeEventListener("resize",u),c&&document.removeEventListener("mousedown",l)}}),[r,o,s,c,E,k,t,m,g,b,x.drop]),(0,y.useEffect)((function(){g&&(t||O).current.focus()}),[t,g]);var T=y.createElement(Vt,Gt({ref:t||O,as:Ot,background:i,plain:h,elevation:h?void 0:l||x.global.drop.elevation||x.global.drop.shadowSize||"small",tabIndex:"-1",alignProp:r,overflow:p,"data-g-portal-id":k},S),a);if(i||x.global.drop.background){var P=M(i||x.global.drop.background,x);void 0!==P&&P!==x.dark&&(T=y.createElement(w.ThemeContext.Provider,{value:Gt({},x,{dark:P})},T))}return y.createElement(Wt.Provider,{value:C},y.createElement(Ht,{onKeyDown:u&&Yt,trapFocus:_},y.createElement(be,{capture:!0,onEsc:u?function(e){e.stopPropagation(),u(e)}:void 0,onKeyDown:f,target:"document"},T)))})),Qt=y.createContext("object"==typeof document?document.body:void 0),en=(St().string,St().oneOfType([St().string,St().shape({dark:St().string,light:St().string})])),tn=St().oneOfType([St().string,St().shape({color:en,dark:St().oneOfType([St().bool,St().string]),image:St().string,position:St().string,opacity:St().oneOfType([St().string,St().bool,St().number,St().oneOf(["weak","medium","strong"])]),repeat:St().oneOfType([St().oneOf(["no-repeat","repeat"]),St().string]),size:St().oneOfType([St().oneOf(["cover","contain"]),St().string]),light:St().string})]),nn=["xxsmall","xsmall","small","medium","large","xlarge"],rn=(St().oneOfType([St().oneOf(["none"].concat(nn)),St().shape({bottom:St().oneOfType([St().oneOf(nn),St().string]),end:St().oneOfType([St().oneOf(nn),St().string]),horizontal:St().oneOfType([St().oneOf(nn),St().string]),left:St().oneOfType([St().oneOf(nn),St().string]),right:St().oneOfType([St().oneOf(nn),St().string]),start:St().oneOfType([St().oneOf(nn),St().string]),top:St().oneOfType([St().oneOf(nn),St().string]),vertical:St().oneOfType([St().oneOf(nn),St().string])}),St().string]),["xxsmall","xsmall","small","medium","large","xlarge"]),on=(St().oneOfType([St().oneOf(["none"].concat(rn)),St().shape({bottom:St().oneOfType([St().oneOf(rn),St().string]),end:St().oneOfType([St().oneOf(rn),St().string]),horizontal:St().oneOfType([St().oneOf(rn),St().string]),left:St().oneOfType([St().oneOf(rn),St().string]),right:St().oneOfType([St().oneOf(rn),St().string]),start:St().oneOfType([St().oneOf(rn),St().string]),top:St().oneOfType([St().oneOf(rn),St().string]),vertical:St().oneOfType([St().oneOf(rn),St().string])}),St().string]),St().oneOf(["start","center","end","stretch"]),St().string,St().oneOfType([St().oneOf(["none","xsmall","small","medium","large","xlarge"]),St().string])),an=(St().oneOfType([St().bool,St().string,St().oneOf(["background"]),tn,St().shape({background:tn,elevation:on})]),St().oneOf(["circle","diamond","square","star","triangle","triangleDown"]),St().oneOf(["squares","circles","stripesHorizontal","stripesVertical","stripesDiagonalDown","stripesDiagonalUp"]),St().oneOfType([St().bool,St().oneOf(["xsmall","small","medium","large","xlarge","full"]),St().string,St().shape({corner:St().oneOf(["top","left","bottom","right","top-left","top-right","bottom-left","bottom-right"]),size:St().oneOfType([St().oneOf(["xsmall","small","medium","large","xlarge"]),St().string])})]),St().oneOf(["xxsmall","xsmall","small","medium","large","xlarge","xxlarge"])),sn=(St().oneOfType([an,St().string,St().shape({height:St().oneOfType([an,St().string]),min:St().oneOfType([an,St().string]),max:St().oneOfType([an,St().string])})]),St().oneOfType([an,St().string,St().shape({width:St().oneOfType([an,St().string]),min:St().oneOfType([an,St().string]),max:St().oneOfType([an,St().string])})]),["auto","hidden","scroll","visible"]);St().oneOfType([St().oneOf(sn),St().shape({horizontal:St().oneOf(sn),vertical:St().oneOf(sn)}),St().string]);var ln=["restrictFocus","target","trapFocus"];function cn(){return cn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cn.apply(this,arguments)}var un=(0,y.forwardRef)((function(e,t){var n=e.restrictFocus,r=e.target,i=e.trapFocus,o=void 0===i||i,a=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,ln),s=(0,y.useContext)(w.ThemeContext)||ge.theme,l=(0,y.useState)(),c=l[0],u=l[1];(0,y.useEffect)((function(){return u(document.activeElement)}),[]);var f=(0,y.useState)(),d=f[0],p=f[1],h=(0,y.useContext)(Qt);return(0,y.useEffect)((function(){return p(Mt(h))}),[h]),(0,y.useEffect)((function(){return function(){n&&c&&(c.focus?Lt(c):c.parentNode&&c.parentNode.focus&&Lt(c.parentNode)),d&&h.removeChild(d)}}),[h,d,c,n]),d?(0,Tt.createPortal)(y.createElement(Xt,cn({ref:t,dir:s&&s.dir,dropTarget:r,restrictFocus:n,trapFocus:o},a)),d):null}));un.displayName="Drop",un.propTypes={};var fn="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,dn=function(e,t){e&&("function"==typeof e?e(t.current):e.current=t.current)},pn=function(e){var t=(0,y.useRef)(null);return dn(e,t),fn((function(){return dn(e,t)})),(0,y.useEffect)((function(){return dn(e,t)})),t};function hn(){return hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hn.apply(this,arguments)}var mn=(0,y.forwardRef)((function(e,t){var n=e.children,r=e.content,i=e.dropProps,o=e.plain,a=(0,y.useContext)(w.ThemeContext),s=(0,y.useState)(!1),l=s[0],c=s[1],u=pn(t),f=1===y.Children.count(n)?y.isValidElement(n)?n:y.createElement("span",null,n):y.Children.only(n);return[(0,y.cloneElement)(f,{onMouseEnter:function(){return c(!0)},onMouseLeave:function(){return c(!1)},onFocus:function(){return c(!0)},onBlur:function(){return c(!1)},key:"tip-child",ref:function(e){"function"==typeof u?u(e):u&&(u.current=e);var t=f.ref;"function"==typeof t?t(e):t&&(t.current=e)}}),l&&y.createElement(un,hn({target:u.current,trapFocus:!1,key:"tip-drop"},a.tip.drop,i),o?r:y.createElement(Ot,a.tip.content,r))]}));mn.displayName="Tip",mn.propTypes={};var gn=(0,w.css)([""," "," flex-grow:1;display:flex;"],(function(e){return!0===e.fillContainer||"horizontal"===e.fillContainer?"\n        width: 100%;\n        max-width: none;\n      ":""}),(function(e){return!0===e.fillContainer||"vertical"===e.fillContainer?"height: 100%;":""})),vn=w.default.div.withConfig({displayName:"StyledStack",componentId:"sc-ajspsk-0"})(["position:relative;"," "," ",""],je,(function(e){return e.fillContainer&&gn}),(function(e){return e.theme.stack&&e.theme.stack.extend}));vn.defaultProps={},Object.setPrototypeOf(vn.defaultProps,ge);var yn={fill:"\n    top: 0;\n    left: 0;\n    bottom: 0;\n    right: 0;\n  ",center:"\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n  ",left:"\n    top: 50%;\n    left: 0;\n    transform: translateY(-50%);\n  ",right:"\n    top: 50%;\n    right: 0;\n    transform: translateY(-50%);\n  ",top:"\n    top: 0;\n    left: 50%;\n    transform: translateX(-50%);\n  ",bottom:"\n    bottom: 0;\n    left: 50%;\n    transform: translateX(-50%);\n  ","top-left":"\n    top: 0;\n    left: 0;\n  ","bottom-left":"\n    bottom: 0;\n    left: 0;\n  ","top-right":"\n    top: 0;\n    right: 0;\n  ","bottom-right":"\n    bottom: 0;\n    right: 0;\n  "},bn=w.default.div.withConfig({displayName:"StyledStack__StyledStackLayer",componentId:"sc-ajspsk-1"})(["position:",";"," "," "," ",""],(function(e){return e.guiding?"relative":"absolute"}),(function(e){return e.guiding&&"display: block;"}),(function(e){return!e.guiding&&yn[e.anchor||"fill"]+";"}),(function(e){return e.fillContainer&&"\n    width: 100%;\n    height: 100%;\n  "}),(function(e){return!e.interactive&&"pointer-events: none;"}));bn.defaultProps={},Object.setPrototypeOf(bn.defaultProps,ge);var _n=["anchor","children","fill","guidingChild","interactiveChild"];function wn(){return wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wn.apply(this,arguments)}var Sn=(0,y.forwardRef)((function(e,t){var n=e.anchor,r=e.children,i=e.fill,o=e.guidingChild,a=e.interactiveChild,s=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,_n),l=y.Children.toArray(r).filter((function(e){return e})),c=function(e){var t=e;return"first"!==t&&t?"last"===t&&(t=l.length-1):t=0,t},u=c(o),f=a&&c(a),d=l.map(function(e){var t=e.anchor,n=e.fill,r=e.guidingIndex,i=e.interactiveChild,o=e.interactiveIndex;return function(e,a){var s=void 0===i||o===a,l=a===r?{guiding:!0,fillContainer:n}:{anchor:t};return y.createElement(bn,wn({key:a,interactive:s},l),e)}}({anchor:n,fill:i,guidingIndex:u,interactiveChild:a,interactiveIndex:f}));return y.createElement(vn,wn({ref:t,fillContainer:i},s),d)}));Sn.displayName="Stack",Sn.propTypes={};var xn=(0,w.css)(["color:",";"],(function(e){return S(e.colorProp,e.theme)})),En=(0,w.css)(["font-weight:",";"],(function(e){return e.weight})),kn=(0,w.css)(["word-break:",";"],(function(e){return e.wordBreak})),Cn=(0,w.css)(["font-family:",";"],(function(e){return e.theme.text.font.family})),On=(0,w.default)("span").withConfig({shouldForwardProp:function(e,t){return t(e)&&"size"!==e}}).withConfig({displayName:"StyledText",componentId:"sc-1sadyjn-0"})([""," "," "," "," "," "," "," "," ",""],je,(function(e){return function(e){var t=e.size||"medium",n=e.theme.text[t];return n?(0,w.css)(["font-size:",";line-height:",";"],n.size,n.height):(0,w.css)(["font-size:",";line-height:normal;"],t)}(e)}),(function(e){return e.textAlign&&We}),(function(e){return e.truncate&&"\n  white-space: nowrap;\n  max-width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n"}),(function(e){return e.colorProp&&xn}),(function(e){return e.weight&&En}),(function(e){return e.wordBreak&&kn}),(function(e){return e.theme.text.font&&e.theme.text.font.family&&Cn}),(function(e){return e.theme.text&&e.theme.text.extend}));On.defaultProps={},Object.setPrototypeOf(On.defaultProps,ge);var Tn=["children","color","tag","as","tip","a11yTitle","truncate"];function Pn(){return Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pn.apply(this,arguments)}var An=(0,y.forwardRef)((function(e,t){var n=e.children,r=e.color,i=e.tag,o=e.as,a=e.tip,s=e.a11yTitle,l=void 0===s?"string"==typeof a?a:void 0:s,c=e.truncate,u=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Tn),f=pn(t),d=(0,y.useState)(a),p=d[0],h=d[1];(0,y.useEffect)((function(){"tip"===c&&(f.current&&f.current.scrollWidth>f.current.offsetWidth?h(n):h(void 0))}),[n,f,c]);var m=y.createElement(On,Pn({as:!o&&i?i:o,colorProp:r,"aria-label":l,truncate:c},u,{ref:f}),n);return p?"string"==typeof p?y.createElement(mn,{content:p},m):y.createElement(mn,p,m):m}));An.displayName="Text",An.defaultProps={level:1},An.propTypes={};var Mn=(0,w.default)(Ot).withConfig({displayName:"Badge__StyledBadgeContainer",componentId:"sc-1es4ws1-0"})(["",""],(function(e){return e.theme.button.badge.container.extend})),Ln=function(e){var t,n,r=e.children,i=e.content,o=(0,y.useContext)(w.ThemeContext),a=(0,y.useRef)(),s=(0,y.useRef)(),l="boolean"==typeof i||i&&i.value&&"boolean"==typeof i.value?le(o.button.badge.size.medium)/2+"px":o.button.badge.size.medium,c=(0,y.useState)(l),u=c[0],f=c[1],d=(0,y.useState)(u),p=d[0],h=d[1];if(fn((function(){var e=function(){if(a&&a.current)if("number"==typeof i||"object"==typeof i&&i.value){var e=a.current.getBoundingClientRect(),t=e.height,n=e.width;if(t){var r=2.5*(le(u)-t);h(Math.max(le(p),Math.ceil(n+r))+"px")}}else h(a.current.getBoundingClientRect().width+"px"),f(a.current.getBoundingClientRect().height+"px")};return window.addEventListener("resize",e),e(),function(){window.removeEventListener("resize",e)}}),[i,u,p]),fn((function(){if(s&&s.current){var e="boolean"==typeof i||i&&!0===i.value?3.5:2,t={right:"-"+Math.round(le(p)/e)+"px",top:"-"+Math.round(le(u)/e)+"px"};s.current.children[1].style.top=t.top,s.current.children[1].style.right=t.right}}),[i,u,p]),"number"==typeof i?t=i:"object"==typeof i&&(t=i.value),"number"==typeof t||"boolean"==typeof t||"boolean"==typeof i){if("number"==typeof t){var m=i.max||9;n=y.createElement(An,{color:"text-strong",size:o.button.badge.text.size.medium,weight:"normal",ref:a},t>m?m+"+":t)}n=y.createElement(Mn,{align:"center",background:i.background||o.button.badge.container.background,flex:!1,height:{min:u},justify:"center",round:!0,pad:"boolean"!=typeof t&&"boolean"!=typeof i?o.button.badge.container.pad:void 0,width:{min:p}},n)}else n=y.createElement(Ot,{ref:a},i);return y.createElement(Sn,{ref:s,anchor:"top-right"},r,n)},In=function(e){var t=e.hasIcon&&!e.hasLabel,n=e.sizeProp;return!t&&n&&e.theme.button.size&&e.theme.button.size[n]?e.theme.button.size[n].border.radius:e.theme.button.border.radius},Rn=(0,w.css)(["&:hover{"," ",";}"],(function(e){return e.hoverIndicator&&N(e.hoverIndicator,e.theme)}),(function(e){return!e.plain&&(0,w.css)(["box-shadow:0px 0px 0px 2px ",";"],function(e){return e.colorValue?S(e.colorValue,e.theme):e.active&&e.primary&&e.theme.button.primary&&e.theme.button.primary.active&&e.theme.button.primary.active.border&&e.theme.button.primary.active.border.color?S(e.theme.button.primary.active.border.color,e.theme):S(e.theme.button.border.color||"control",e.theme)}(e))})),Dn=w.default.button.withConfig({displayName:"StyledButton",componentId:"sc-323bzc-0"})(["display:inline-block;box-sizing:border-box;cursor:pointer;font:inherit;text-decoration:none;margin:0;background:transparent;overflow:visible;text-transform:none;"," "," "," "," "," "," "," &:focus{","}&:focus:not(:focus-visible){","}"," "," "," "," ",""],je,(function(e){return e.plain&&function(e){return(0,w.css)(["color:",";outline:none;border:none;padding:0;text-align:inherit;"],S(e.colorValue||"inherit",e.theme))}(e)}),(function(e){return!e.plain&&function(e){return(0,w.css)(["border:"," solid ",";border-radius:",";color:",";padding:",";",""],e.theme.button.border.width,S(e.colorValue||e.theme.button.border.color||"control",e.theme),In(e),S(e.theme.button.color||"text",e.theme),function(e){var t=e.sizeProp;return t&&e.theme.button.size&&e.theme.button.size[t]?(0,w.css)([""," ",""],e.theme.button.size[t].pad.vertical,e.theme.button.size[t].pad.horizontal):(0,w.css)([""," ",""],e.theme.button.padding.vertical,e.theme.button.padding.horizontal)}(e),function(e){var t=e.sizeProp||"medium",n=e.theme.text[t];return(0,w.css)(["font-size:",";line-height:",";"],n.size,n.height)}(e))}(e)}),(function(e){return e.primary&&function(e){return(0,w.css)([""," border-radius:",";",""],R(S(e.colorValue||e.theme.button.primary&&e.theme.button.primary.color||"control",e.theme),e.theme,e.theme.button.color),In(e),e.theme.button.primary&&e.theme.button.primary.extend)}(e)}),(function(e){return!e.disabled&&!e.selected&&!e.focus&&Rn}),(function(e){return!e.disabled&&e.active&&function(e){return(0,w.css)([""," "," ",""],D,e.primary&&e.theme.button.primary&&e.theme.button.primary.active&&e.theme.button.primary.active.border&&e.theme.button.primary.active.border.color&&"border: "+e.theme.button.border.width+" solid\n    "+S(e.theme.button.primary.active.border.color,e.theme)+";\n    ",e.primary&&e.theme.button.primary&&e.theme.button.primary.active&&e.theme.button.primary.active.extend)}(e)}),(function(e){return e.disabled&&e.theme.button&&e.theme.button.disabled&&function(e){return(0,w.css)([""," "," "," ",""],Ne(e.theme.button.disabled.opacity),!e.plain&&e.theme.button.disabled.border&&e.theme.button.disabled.border.color&&"border: "+e.theme.button.border.width+" solid\n    "+S(e.theme.button.disabled.border.color,e.theme)+";",e.theme.button.disabled.color&&(e.primary?R(S(e.theme.button.disabled.color,e.theme),e.theme,e.theme.button.color):"color: "+S(e.theme.button.disabled.color,e.theme)+";"),e.theme.button.disabled&&e.theme.button.disabled.extend)}(e)}),(function(e){return(!e.plain||e.focusIndicator)&&Te()}),Pe(),(function(e){return!e.plain&&e.theme.button.transition&&"\n    transition-property: "+e.theme.button.transition.properties.join(",")+";\n    transition-duration: "+e.theme.button.transition.duration+"s;\n    transition-timing-function: "+e.theme.button.transition.timing+";\n  "}),(function(e){return e.fillContainer&&("horizontal"===(t=e.fillContainer)?"width: 100%;":"vertical"===t?"height: 100%;":t?"\n      width: 100%;\n      height: 100%;\n      max-width: none;\n      flex: 1 0 auto;\n    ":void 0);var t}),(function(e){return e.hasIcon&&!e.hasLabel&&"\n    line-height: 0;\n  "}),(function(e){return e.pad&&e.hasIcon&&!e.hasLabel&&"\n    padding: "+e.theme.global.edgeSize.small+";\n  "}),(function(e){return e.theme.button&&e.theme.button.extend}));Dn.defaultProps={},Object.setPrototypeOf(Dn.defaultProps,ge);var jn=function(e,t,n){return void 0===e&&(e="medium"),e&&n.size&&n.size[e]&&n.size[e].pad?{vertical:n.size[e].pad.vertical,horizontal:n.size[e].pad.horizontal}:t.button.padding?{vertical:t.global.edgeSize[t.button.padding.vertical]||t.button.padding.vertical,horizontal:t.global.edgeSize[t.button.padding.horizontal]||t.button.padding.horizontal}:void 0},Nn=function(e,t){var n;if(t){n=e;for(var r=t.split(".");n&&r.length;)n=n[r.shift()]}return n},Fn=function(e,t){var n=le(t);return(0,w.css)(["padding:","px ","px;"],Math.max(le(e.vertical)-n,0),Math.max(le(e.horizontal)-n,0))},Bn=w.default.button.withConfig({shouldForwardProp:function(e,t){return!["kind"].includes(e)&&t(e)}}).withConfig({displayName:"StyledButtonKind",componentId:"sc-1vhfpnt-0"})(["display:inline-block;box-sizing:border-box;cursor:pointer;font:inherit;text-decoration:none;margin:0;background:transparent;overflow:visible;text-transform:none;"," "," "," "," "," "," "," "," &:focus{","}&:focus:not(:focus-visible){","}"," "," ",""],je,(function(e){return e.plain&&(0,w.css)(["outline:none;border:none;padding:0;text-align:inherit;color:inherit;> svg{vertical-align:bottom;}"])}),(function(e){return!e.disabled&&e.active&&D}),(function(e){return!e.plain&&function(e){return(0,w.css)(["border:none;",";"," "," ",""],function(e){var t=e.sizeProp,n="object"==typeof e.kind?e.kind:e.theme.button;return t&&n.size&&n.size[t]?(0,w.css)(["border-radius:",";"],n.size[t].border.radius):n.border&&n.border.radius?(0,w.css)(["border-radius:",";"],n.border.radius):""}(e),function(e){var t=e.sizeProp,n=e.theme,r=e.kind,i="object"==typeof r?r:n.button,o=jn(t,n,i);return o?(0,w.css)(["padding:"," ",";"],o.vertical,o.horizontal):""}(e),function(e){var t=e.sizeProp||"medium",n=e.theme.text[t];return(0,w.css)(["font-size:",";line-height:",";"],n.size,n.height)}(e),e.badge?"\n  svg {\n    vertical-align: bottom;\n  }":"> svg {\n    vertical-align: bottom;\n  }")}(e)}),(function(e){return!e.plain&&function(e){var t=e.colorValue,n=e.kind,r=e.sizeProp,i=e.themePaths,o=e.theme,a=[],s="object"==typeof n?n:o.button,l=jn(r,o,s);if(i.base.forEach((function(e){var n=Nn(s,e);n&&(a.push(ze(n,o,t)),n.border&&n.border.width&&l&&!n.padding&&a.push(Fn(l,n.border.width)))})),!i.base.length&&"object"==typeof n){var c=n;c&&(a.push(ze(c,o,t)),c.border&&c.border.width&&l&&!c.padding&&a.push(Fn(l,c.border.width)))}return i.hover.forEach((function(e){var t=Nn(s,e);if(t){var n=ze(t,o),r="";t.border&&t.border.width&&l&&!t.padding&&(r=Fn(l,t.border.width)),n.length>0&&a.push((0,w.css)(["&:hover{"," ","}"],n,r))}})),a}(e)}),(function(e){return!e.plain&&e.align&&"\n    text-align: "+e.align+";\n    "}),(function(e){return!e.disabled&&e.hoverIndicator&&function(e){var t=e.hoverIndicator,n=e.theme,r={};!0===t||"background"===t?r.background=n.global.hover.background:t.color||t.background?(t.background&&(r.background=t.background),t.color&&(r.color=t.color)):r.background=t;var i=ze(r,n);return i.length>0?(0,w.css)(["&:hover{","}"],i):""}(e)}),(function(e){return e.disabled&&Ne(e.theme.button.disabled.opacity)}),(function(e){return(!e.plain||e.focusIndicator)&&Te()}),Pe(),(function(e){return!e.plain&&e.theme.button.transition&&"\n    transition-property: "+e.theme.button.transition.properties.join(",")+";\n    transition-duration: "+e.theme.button.transition.duration+"s;\n    transition-timing-function: "+e.theme.button.transition.timing+";\n  "}),(function(e){return e.fillContainer&&("horizontal"===(t=e.fillContainer)?"width: 100%;":"vertical"===t?"height: 100%;":t?"\n      width: 100%;\n      height: 100%;\n      max-width: none;\n      flex: 1 0 auto;\n    ":void 0);var t}),(function(e){return e.theme.button&&e.theme.button.extend}));Bn.defaultProps={},Object.setPrototypeOf(Bn.defaultProps,ge);var zn=["active","align","aria-label","badge","color","children","disabled","icon","focusIndicator","gap","fill","href","justify","kind","label","onBlur","onClick","onFocus","onMouseOut","onMouseOver","plain","primary","reverse","secondary","selected","size","tip","type","a11yTitle","as"];function $n(){return $n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$n.apply(this,arguments)}var Un=function(e,t,n,r){void 0===e&&(e=[]);var i=[],o=e.length-1;for("object"==typeof r&&(o=0);o>=0&&!i[1];){var a="object"==typeof r&&r||t.button;if(e[o])for(var s=e[o].split(".");a&&s.length;)a=a[s.shift()];if(a){var l=n&&a.background&&a.background.color?n:a.background,c=a.color||(!Object.prototype.hasOwnProperty.call(a,"color")||void 0!==a.color)&&void 0,u=!n||a.background&&a.background.color||a.border&&a.border.color?c:n;i=I(l,u,t)}o-=1}return i[1]||void 0},Hn=function(e,t,n,r,i){var o;if(void 0===t&&(t=[]),r){var a="object"==typeof r&&r||n.button;if(t[0])for(var s=t[0].split(".");a&&s.length;)a=a[s.shift()];a&&(o=a[e]||a[e]&&a[e].color)}else o=i&&n&&n.button&&n.button.primary?n.button.primary[e]||n.button.primary[e]&&n.button.primary[e].color:n&&n.button&&n.button[e]||n&&n.button&&n.button[e]&&n.button[e].color;return o},Wn=(0,y.forwardRef)((function(e,t){var n=e.active,r=e.align,i=void 0===r?"center":r,o=e["aria-label"],a=e.badge,s=e.color,l=e.children,c=e.disabled,u=e.icon,f=e.focusIndicator,d=void 0===f||f,p=e.gap,h=void 0===p?"small":p,m=e.fill,g=e.href,v=e.justify,b=e.kind,_=e.label,x=e.onBlur,E=e.onClick,k=e.onFocus,C=e.onMouseOut,O=e.onMouseOver,T=e.plain,M=e.primary,L=e.reverse,I=e.secondary,R=e.selected,D=e.size,j=e.tip,N=e.type,F=void 0===N?"button":N,B=e.a11yTitle,z=void 0===B?"string"==typeof j?j:void 0:B,$=e.as,U=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,zn),H=(0,y.useContext)(w.ThemeContext)||ge.theme,W=(0,y.useState)(),q=W[0],V=W[1],K=(0,y.useState)(!1),G=K[0],Y=K[1];(u||_)&&l&&console.warn("Button should not have children if icon or label is provided");var J,Z=(0,y.useMemo)((function(){return"object"==typeof b}),[b]),X=(0,y.useMemo)((function(){if(H.button.default||Z)return b||(M?"primary":I?"secondary":"default")}),[b,Z,M,I,H]),Q=(0,y.useMemo)((function(){if(X&&!T){var e={base:[],hover:[]};return Z||e.base.push(X),R&&(e.base.push("selected"),Z||e.base.push("selected."+X)),c?(e.base.push("disabled"),Z||e.base.push("disabled."+X)):(n&&(e.base.push("active"),Z||e.base.push("active."+X)),e.hover.push("hover"),Z||e.hover.push("hover."+X),n&&(e.hover.push("hover.active"),Z||e.hover.push("hover.active."+X))),e}}),[n,c,X,Z,T,R]),ee=function(e){Y(!0),O&&O(e)},te=function(e){Y(!1),C&&C(e)},ne=u;if(u&&!u.props.color)if(X){if(!T){var re=G&&Un(Q.hover,H)||Un(Q.base,H,s,X);re&&(ne=(0,y.cloneElement)(u,{color:re}))}}else M&&(ne=(0,y.cloneElement)(u,{color:H.global.colors.text[(J=A(S(s||H.button.primary&&H.button.primary.color||H.global.colors.control||"brand",H),H),P(J)?"dark":"light")]}));var ie,oe=!$&&g?"a":$,ae=L?_:ne,se=L?ne:_;ie=ae&&se?y.createElement(Ot,{direction:"row",align:"center",justify:v||("center"===i?"center":"between"),gap:h,responsive:!1},ae,se):"function"==typeof l?l({disabled:c,hover:G,focus:q}):ae||se||l;var le,ce=Hn("background",Q&&Q.base,H,X,M),ue=Hn("border",Q&&Q.base,H,X,M),fe=!ce&&!ue||!X&&u&&!_;return a&&fe&&(ie=y.createElement(Ln,{content:a},ie)),le=X?y.createElement(Bn,$n({},U,{as:oe,ref:t,active:n,align:i,"aria-label":o||z,badge:a,colorValue:s,disabled:c,gap:h,fillContainer:m,focus:q,focusIndicator:d,href:g,kind:X,themePaths:Q,onClick:E,onFocus:function(e){V(!0),k&&k(e)},onBlur:function(e){V(!1),x&&x(e)},onMouseOver:ee,onMouseOut:te,plain:T||y.Children.count(l)>0,primary:M,sizeProp:D,type:g?void 0:F}),ie):y.createElement(Dn,$n({},U,{as:oe,ref:t,"aria-label":o||z,colorValue:s,active:n,selected:R,disabled:c,hasIcon:!!u,gap:h,hasLabel:!!_,fillContainer:m,focus:q,focusIndicator:d,href:g,kind:X,themePaths:Q,onClick:E,onFocus:function(e){V(!0),k&&k(e)},onBlur:function(e){V(!1),x&&x(e)},onMouseOver:ee,onMouseOut:te,pad:!T,plain:void 0!==T?T:y.Children.count(l)>0||u&&!_,primary:M,sizeProp:D,type:g?void 0:F}),ie),j&&(le="string"==typeof j?y.createElement(mn,{content:j},le):y.createElement(mn,j,le)),a&&!fe&&(le=y.createElement(Ln,{content:a},le)),le}));Wn.displayName="Button",Wn.propTypes={};var qn=y.createContext({currentBreakpoint:0}),Vn=n(37067),Kn={primary:{main:"#00AEEF",semilight:"#aedff9",light:"#08bcff",dark:"#009dd7"},secondary:{main:"#2A506F",semilight:"#abb9c5",light:"#2e587a",dark:"#23445e"},tertiary:{main:"#527699",semilight:"#bbc8d6",light:"#5b82a7",dark:"#456482"},quartenary:{main:"#DDE1f0",semilight:"#f2f4fa",light:"#f8f9fd",dark:"#b7bed3"},danger:{main:"#FF423D",semilight:"#ffa1a1",light:"#feebeb",dark:"#eb0800"},warning:{main:"#FCA321",semilight:"#fdd190",light:"#fef3e5",dark:"#ad6800"},success:{main:"#1AC135",semilight:"#8ce09a",light:"#e8f8ea",dark:"#138b27"},info:{main:"#1496E1",semilight:"#90cbee",light:"#e8f5fc",dark:"#107dbc"},text:{main:"#2A506F",light:"#527699",dark:"#23445e"},statusIdle:{main:"#89c683"},statusConfiguring:{main:"#ffb25e"},statusUpdating:{main:"#75C5F5"},statusPostProvisioning:{main:"#aa96d5"},statusOffline:{main:"#fd7c7c"},statusInactive:{main:"#d3d6db"},gray:{main:"#c6c8c9",light:"#f4f4f4",dark:"#9f9f9f"}},Gn=[576,768,992,1200],Yn=[0,4,8,16,38,48,128],Jn=[10,12,14,16,18,24,34,58,72],Zn="'Source Sans Pro', Helvetica, sans-serif";const Xn={breakpoints:Gn,space:Yn,fontSizes:Jn,weights:[400,600],font:Zn,monospace:"'Ubuntu Mono', 'Courier New', monospace",lineHeight:1.5,colors:Kn,radius:3,header:{height:"0"},global:{font:{family:Zn,size:(0,Vn.px)(Jn[2]),height:1.5},control:{disabled:{opacity:.4},border:{radius:"4px",color:Kn.quartenary.main}},colors:{focus:Kn.primary.main,placeholder:Kn.secondary.semilight},selected:{background:Kn.primary.main},hover:{background:{color:Kn.quartenary.main,opacity:1},color:{dark:"inherit",light:"inherit"}},active:{background:{color:Kn.quartenary.main,opacity:1},color:{dark:"inherit",light:"inherit"}},drop:{border:{radius:"4px"},zIndex:45,extend:"\n\t\t\t\tcolor: ".concat(Kn.secondary.main,"; border: 1px solid ").concat(Kn.quartenary.main,";\n\t\t\t\tanimation-duration: 0s;\n\t\t\t")},input:{weight:400}},button:{height:"38px",font:{weight:600,size:(0,Vn.px)(Jn[2])},border:{width:"1px",radius:"20px",color:Kn.text.main},padding:{horizontal:"30px"}},navBar:{font:{size:(0,Vn.px)(Jn[2])}},radioButton:{border:{width:"1px",color:{dark:Kn.quartenary.main,light:Kn.quartenary.main}},hover:{border:{color:{dark:Kn.tertiary.main,light:Kn.tertiary.main}}},check:{color:{dark:"white",light:"white"}},icon:{size:"12px"},gap:"10px",size:"20px"},select:{icons:{color:Kn.secondary.main},control:{extend:"color: ".concat(Kn.secondary.main)}},layer:{container:{zIndex:5e3},zIndex:4999},text:{medium:{size:(0,Vn.px)(Jn[2]),height:1.5}},tab:{extend:"padding: ".concat((0,Vn.px)(Yn[1])," ").concat((0,Vn.px)(Yn[3])),color:Kn.secondary.main,margin:"none",border:{size:"xsmall",color:Kn.quartenary.main,active:{color:Kn.primary.main},hover:{color:Kn.quartenary.main}},hover:{color:Kn.primary.dark},active:{color:Kn.primary.main}},checkBox:{size:"20px",color:Kn.primary.main,border:{color:{dark:Kn.quartenary.main,light:Kn.quartenary.main},width:"1px"},check:{radius:"4px",thickness:"2px"},hover:{border:{color:{dark:Kn.quartenary.main,light:Kn.quartenary.main}}},toggle:{color:{dark:Kn.primary.main,light:Kn.quartenary.main},radius:"20px",size:"40px",knob:{}}},accordion:{border:{side:"bottom"}},rating:{star:{color:{full:Kn.warning.main,empty:Kn.quartenary.main}}}};var Qn=function(e){var t=Array.isArray(e)?e:[e];if(t.length>Gn.length)throw new Error("There should be no more than ".concat(Gn.length," value entries"));var n=y.useContext(qn).currentBreakpoint,r=Array(Gn.length-t.length).fill(t[t.length-1]);return(0,d.__spreadArray)((0,d.__spreadArray)([],t,!0),r,!0)[n]},er=n(89788),tr=n(79755),nr="\n\tposition: absolute;\n\tborder: solid;\n\tborder-width: 0 1px 1px 0;\n\tdisplay: inline-block;\n\tpadding: 3px;\n\tbackground-color: white;\n",rr=w.default.div(lr||(lr=(0,d.__makeTemplateObject)(["\n\t","\n\tborder-color: ",";\n\tbottom: 2px;\n\tleft: 50%;\n\tmargin-left: -3px;\n\ttransform: rotate(45deg);\n"],["\n\t","\n\tborder-color: ",";\n\tbottom: 2px;\n\tleft: 50%;\n\tmargin-left: -3px;\n\ttransform: rotate(45deg);\n"])),nr,(function(e){return e.theme.colors.gray.main})),ir=w.default.div(cr||(cr=(0,d.__makeTemplateObject)(["\n\t","\n\tborder-color: ",";\n\ttop: 50%;\n\tleft: 2px;\n\tmargin-top: -3px;\n\ttransform: rotate(135deg);\n"],["\n\t","\n\tborder-color: ",";\n\ttop: 50%;\n\tleft: 2px;\n\tmargin-top: -3px;\n\ttransform: rotate(135deg);\n"])),nr,(function(e){return e.theme.colors.gray.main})),or=w.default.div(ur||(ur=(0,d.__makeTemplateObject)(["\n\t","\n\tborder-color: ",";\n\ttop: 50%;\n\tright: 2px;\n\tmargin-top: -3px;\n\ttransform: rotate(-45deg);\n"],["\n\t","\n\tborder-color: ",";\n\ttop: 50%;\n\tright: 2px;\n\tmargin-top: -3px;\n\ttransform: rotate(-45deg);\n"])),nr,(function(e){return e.theme.colors.gray.main})),ar=w.default.div(fr||(fr=(0,d.__makeTemplateObject)(["\n\t","\n\tborder-color: ",";\n\ttop: 2px;\n\tleft: 50%;\n\tmargin-left: -3px;\n\ttransform: rotate(-135deg);\n"],["\n\t","\n\tborder-color: ",";\n\ttop: 2px;\n\tleft: 50%;\n\tmargin-left: -3px;\n\ttransform: rotate(-135deg);\n"])),nr,(function(e){return e.theme.colors.gray.main}));const sr=function(e){var t=e.placement,n=y.useMemo((function(){return function(e){switch(e){case"right":return ir;case"bottom":return ar;case"left":return or;default:return rr}}(t)}),[t]);return y.createElement(n,null)};var lr,cr,ur,fr,dr=(0,w.default)(un)(gr||(gr=(0,d.__makeTemplateObject)(["\n\tborder: 0;\n"],["\n\tborder: 0;\n"]))),pr=w.default.div(vr||(vr=(0,d.__makeTemplateObject)(["\n\tmax-width: 200px;\n\toverflow: auto;\n\tmargin: 5px;\n\tbackground: white;\n\tbox-shadow: ",";\n\tborder-radius: ",";\n\tborder: ",";\n"],["\n\tmax-width: 200px;\n\toverflow: auto;\n\tmargin: 5px;\n\tbackground: white;\n\tbox-shadow: ",";\n\tborder-radius: ",";\n\tborder: ",";\n"])),(function(e){return"1px 1px 5px"+e.theme.colors.gray.light}),(function(e){return(0,tr.px)(e.theme.radius)}),(function(e){return"1px solid "+e.theme.colors.gray.main})),hr=w.default.div(yr||(yr=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n"],["\n\tposition: relative;\n"]))),mr=function(e){var t=e.placement,n=e.target,r=e.onDismiss,i=e.children,o=(0,d.__rest)(e,["placement","target","onDismiss","children"]),a=y.useMemo((function(){return function(e){switch(e){case"bottom":return{top:"bottom"};case"top":return{bottom:"top"};case"left":return{right:"left"};case"right":return{left:"right"}}}(t)}),[t]);return y.createElement(dr,(0,d.__assign)({},o,{target:n,onClickOutside:r,onEsc:r,align:a,plain:!0}),y.createElement(sr,{placement:t}),y.createElement(pr,null,y.createElement(hr,null,i)))};mr.defaultProps={placement:"top"};var gr,vr,yr,br,_r,wr,Sr,xr,Er,kr,Cr,Or,Tr,Pr,Ar,Mr,Lr=mr,Ir=function(e){var t=e.text,n=e.onOK,r=e.onCancel,i=(0,d.__rest)(e,["text","onOK","onCancel"]);return y.createElement(Lr,(0,d.__assign)({},i,{onDismiss:r}),y.createElement(er.a,{mx:2,mt:2,fontSize:3},t),y.createElement(er.a,null,y.createElement(ei,{m:2,size:"small",onClick:r},"Cancel"),y.createElement(ei,{m:2,size:"small",primary:!0,onClick:n},"OK")))},Rr=n(13975),Dr=/[|\\{}()[\]^$+*?]/g,jr=function(e){void 0===e&&(e=16);for(var t="",n=0;n<e;n++)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},Nr=function(e){return e.replace(Dr,"\\$&")},Fr=function(e){e.preventDefault(),e.stopPropagation()},Br=function(e,t,n){e.defaultPrevented||e.keyCode!==t||(e.preventDefault(),e.stopPropagation(),n&&n())},zr=function(e){return function(t){return t&&t.preventDefault&&t.preventDefault(),e()}},$r=function(e){try{var t=localStorage.getItem(e);return null!=t?JSON.parse(t):void 0}catch(e){return void console.error(e)}},Ur=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(e){console.error(e)}},Hr=function(e,t){var n;for(var r in e)if(e.hasOwnProperty(r)){if(r===t)return e[t];if("object"==typeof e[r]&&void 0!==(n=Hr(e[r],t)))return n}},Wr=function(e,t,n){return(0,w.css)(wr||(wr=(0,d.__makeTemplateObject)(["\n\t\t&:hover:enabled,\n\t\t&:focus:enabled,\n\t\t&:active:enabled {\n\t\t\tsvg {\n\t\t\t\tcolor: "," !important;\n\t\t\t}\n\n\t\t\tbox-shadow: none;\n\t\t\tbackground: ",";\n\t\t\tborder-color: ",";\n\t\t\tcolor: ",";\n\t\t\topacity: ",";\n\t\t}\n\t"],["\n\t\t&:hover:enabled,\n\t\t&:focus:enabled,\n\t\t&:active:enabled {\n\t\t\tsvg {\n\t\t\t\tcolor: "," !important;\n\t\t\t}\n\n\t\t\tbox-shadow: none;\n\t\t\tbackground: ",";\n\t\t\tborder-color: ",";\n\t\t\tcolor: ",";\n\t\t\topacity: ",";\n\t\t}\n\t"])),t,e,e,t,null!=n?n:"initial")},qr=(0,w.default)(Wn)(Sr||(Sr=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tfont-weight: ",";\n\t\tfont-size: ",";\n\t\theight: ",";\n\t\twhite-space: nowrap;\n\t\tsvg {\n\t\t\tcolor: inherit !important;\n\t\t\tfont-size: 0.925em;\n\t\t}\n\t\t/* These rules cause consistent styling when the button is rendered as a link */\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\n\t\t&:disabled {\n\t\t\tcursor: not-allowed;\n\t\t}\n\t}\n"],["\n\t& {\n\t\tfont-weight: ",";\n\t\tfont-size: ",";\n\t\theight: ",";\n\t\twhite-space: nowrap;\n\t\tsvg {\n\t\t\tcolor: inherit !important;\n\t\t\tfont-size: 0.925em;\n\t\t}\n\t\t/* These rules cause consistent styling when the button is rendered as a link */\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\n\t\t&:disabled {\n\t\t\tcursor: not-allowed;\n\t\t}\n\t}\n"])),(function(e){return e.theme.button.font.weight}),(function(e){return e.theme.button.font.size}),(function(e){return e.theme.button.height})),Vr=(0,w.default)(qr)(xr||(xr=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tcolor: ",";\n\t\t",";\n\t}\n"],["\n\t& {\n\t\tcolor: ",";\n\t\t",";\n\t}\n"])),(function(e){return(0,Rr.T4)((0,Rr.oU)(e,"color","main"))?e.theme.colors.text.main:"white"}),(function(e){var t=(0,Rr.oU)(e,"color","dark");return Wr(t,(0,Rr.T4)(t)?e.theme.colors.text.main:"white")})),Kr=(0,w.default)(qr)(Er||(Er=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tcolor: ",";\n\t\tborder-color: ",";\n\t\t",";\n\t}\n"],["\n\t& {\n\t\tcolor: ",";\n\t\tborder-color: ",";\n\t\t",";\n\t}\n"])),(function(e){return e.theme.colors.text.main}),(function(e){return(0,Rr.oU)(e,"color","main")||e.theme.colors.text.main}),(function(e){return Wr(e.color||e.theme.colors.text.main,(0,Rr.T4)((0,Rr.oU)(e,"color","main"))?e.theme.colors.text.main:"white")})),Gr=(0,w.default)(qr)(kr||(kr=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tcolor: ",";\n\t\tborder-color: ",";\n\t\tbackground: white;\n\t\tborder: none;\n\t\t",";\n\n\t\t&:disabled {\n\t\t\topacity: 1;\n\t\t\tcolor: #c6c8c9;\n\t\t}\n\t}\n"],["\n\t& {\n\t\tcolor: ",";\n\t\tborder-color: ",";\n\t\tbackground: white;\n\t\tborder: none;\n\t\t",";\n\n\t\t&:disabled {\n\t\t\topacity: 1;\n\t\t\tcolor: #c6c8c9;\n\t\t}\n\t}\n"])),(function(e){return e.theme.colors.text.main}),(function(e){return e.theme.colors.text.main}),(function(e){return Wr("white",e.theme.colors.secondary.main,"0.9")})),Yr=(0,w.default)(Gr)(Cr||(Cr=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tcolor: white;\n\t\tborder: 1px solid white;\n\t\tbackground: transparent;\n\t\t",";\n\n\t\t&:disabled {\n\t\t\topacity: 1;\n\t\t\tcolor: #c6c8c9;\n\t\t}\n\t}\n"],["\n\t& {\n\t\tcolor: white;\n\t\tborder: 1px solid white;\n\t\tbackground: transparent;\n\t\t",";\n\n\t\t&:disabled {\n\t\t\topacity: 1;\n\t\t\tcolor: #c6c8c9;\n\t\t}\n\t}\n"])),(function(e){return Wr("white",e.theme.colors.secondary.main,"0.9")})),Jr=(0,w.default)(qr)(Or||(Or=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tcolor: ",";\n\t\theight: auto;\n\t\tfont-weight: ",";\n\t\tborder-radius: 0;\n\t\t",";\n\t}\n"],["\n\t& {\n\t\tcolor: ",";\n\t\theight: auto;\n\t\tfont-weight: ",";\n\t\tborder-radius: 0;\n\t\t",";\n\t}\n"])),(function(e){return(0,Rr.oU)(e,"color","main")||e.theme.colors.text.main}),(function(e){return e.theme.button.font.weight}),(function(e){return Wr("none",(0,Rr.oU)(e,"color","dark")||e.theme.colors.text.light)})),Zr=function(e){return(0,w.css)(Tr||(Tr=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tcolor: ",";\n\t\tbackground: none;\n\t\tbox-shadow: 0px -1px 0 0px inset;\n\t}\n"],["\n\t& {\n\t\tcolor: ",";\n\t\tbackground: none;\n\t\tbox-shadow: 0px -1px 0 0px inset;\n\t}\n"])),(0,Rr.oU)(e,"color","main")||e.theme.colors.text.main)},Xr=(0,w.default)(Jr)(Pr||(Pr=(0,d.__makeTemplateObject)(["\n\t& {\n\t\t","\n\t\tborder-bottom: 1px solid;\n\t\tbackground: none;\n\t\t&:hover:enabled,\n\t\t&:focus:enabled,\n\t\t&:active:enabled {\n\t\t\t",";\n\t\t}\n\t}\n"],["\n\t& {\n\t\t","\n\t\tborder-bottom: 1px solid;\n\t\tbackground: none;\n\t\t&:hover:enabled,\n\t\t&:focus:enabled,\n\t\t&:active:enabled {\n\t\t\t",";\n\t\t}\n\t}\n"])),(function(e){return e.active?Zr(e):""}),Zr),Qr=y.forwardRef((function(e,t){var n=e.outline,r=e.underline,i=e.children,o=e.label,a=(e.primary,e.color,e.plain),s=e.active,l=e.light,c=e.compact,u=(0,d.__rest)(e,["outline","underline","children","label","primary","color","plain","active","light","compact"]),f=Qn(c||[!1]),p=!!e.bg||!!(0,Rr.UW)(e)&&!n&&!r&&!e.plain,h=e.bg||(0,Rr.oU)(e,"bg","main");h=h||e.theme.colors.secondary.main,s&&(p=!p);var m=function(e,t){var n=e.outline;return e.plain?Jr:e.light?n?Yr:Gr:e.underline?Xr:n&&!e.active||!t?Kr:Vr}({underline:r,plain:a,active:s,light:l},p);return y.createElement(m,(0,d.__assign)({ref:t,primary:p,color:h,active:s&&(r||a),gap:(0,tr.px)(e.theme.space[2])},u,{plain:!!a||!!r,label:f?void 0:o||i}))})),ei=(br=function(e){return y.forwardRef((function(t,n){var r=t.onClick,i=t.confirmation,o=(0,d.__rest)(t,["onClick","confirmation"]),a=function(e){var t=y.useRef(null);return y.useEffect((function(){e&&("function"==typeof e?e(t.current):e.current=t.current)})),t}(n),s=y.useState(null),l=s[0],c=s[1],u=y.useCallback((function(){r&&r(l),c(null)}),[r,l]),f=y.useCallback((function(){c(null)}),[]),p=y.useCallback((function(e){c(e)}),[]),h=y.useMemo((function(){return"string"==typeof i?{text:i}:i}),[i]);return y.createElement(y.Fragment,null,l&&y.createElement(Ir,(0,d.__assign)({},h,{target:a.current,onOK:u,onCancel:f})),y.createElement(e,(0,d.__assign)({},o,{ref:a,onClick:p})))}))},_r=function(e){return"confirmation"in e},function(e){var t=br(e);return y.forwardRef((function(n,r){var i=_r(n)?t:e;return y.createElement(i,(0,d.__assign)((0,d.__assign)({},n),{ref:r}))}))})((0,b.Ay)(Qr,[],["width","color","bg"])),ti=n(41924),ni=(0,w.default)(ti.s)(Ar||(Ar=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n\tmargin: 0;\n\tpadding: ",";\n\tpadding-right: ",";\n\tbox-shadow: 0 0 10px 0\n\t\t",";\n\tborder-radius: 10px;\n\tborder: 1px solid\n\t\t",";\n\tbackground-color: ",";\n\tcolor: ",";\n"],["\n\tposition: relative;\n\tmargin: 0;\n\tpadding: ",";\n\tpadding-right: ",";\n\tbox-shadow: 0 0 10px 0\n\t\t",";\n\tborder-radius: 10px;\n\tborder: 1px solid\n\t\t",";\n\tbackground-color: ",";\n\tcolor: ",";\n"])),(function(e){return(0,tr.px)(e.theme.space[3])}),(function(e){return(0,tr.px)(e.hasDismissButton?e.theme.space[4]:e.theme.space[3])}),(function(e){return(0,Rr.OZ)(e.theme.colors.quartenary.main,.15)}),(function(e){return e.bordered?e.solid?(0,Rr.oU)(e,"bg","main"):e.theme.colors.quartenary.main:"transparent"}),(function(e){return e.solid?(0,Rr.oU)(e,"bg","light"):"white"}),(function(e){return e.solid?(0,Rr.oU)(e,"bg","dark"):e.color||"inherit"})),ri=(0,w.default)(ei)(Mr||(Mr=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\t& svg {\n\t\theight: ",";\n\t\twidth: ",";\n\t}\n\tfont-size: ",";\n\tpadding: ","; /* give more clickable surface area */\n\ttop: ",";\n\tright: ",";\n\ttransform: translate(0, -50%);\n"],["\n\tposition: absolute;\n\t& svg {\n\t\theight: ",";\n\t\twidth: ",";\n\t}\n\tfont-size: ",";\n\tpadding: ","; /* give more clickable surface area */\n\ttop: ",";\n\tright: ",";\n\ttransform: translate(0, -50%);\n"])),(0,tr.px)(14),(0,tr.px)(14),(0,tr.px)(14),(function(e){return(0,tr.px)(e.theme.space[2])}),(function(e){return(0,tr.px)(e.theme.space[3]+e.baselineHeight/2)}),(function(e){return(0,tr.px)(e.theme.space[3]-e.theme.space[2])})),ii=(0,w.withTheme)(y.forwardRef((function(e,t){var n=e.children,r=e.onDismiss,i=e.baselineHeight,o=e.solid,a=e.theme,s=e.a11yTitle,l=e.bordered,c=(0,d.__rest)(e,["children","onDismiss","baselineHeight","solid","theme","a11yTitle","bordered"]),u=i||a.fontSizes[2]*a.lineHeight;return y.createElement(ni,(0,d.__assign)({solid:o,bordered:l,hasDismissButton:Boolean(r),ref:t},c),n,r&&y.createElement(ri,{title:s||"Dismiss",a11yTitle:s||"Dismiss",baselineHeight:u,color:o?(0,Rr.oU)((0,d.__assign)({theme:a},c),"bg","dark"):void 0,primary:!o,plain:!0,onClick:r},y.createElement(v.g,{icon:_.GR})))})));ii.defaultProps={bordered:!0};var oi,ai,si,li,ci,ui,fi,di,pi,hi,mi,gi,vi=n(31041),yi=(0,b.Ay)((function(e){var t=e.emphasized,n=e.plaintext,r=(e.prefix,e.onDismiss),i=(0,d.__rest)(e,["emphasized","plaintext","prefix","onDismiss"]),o=function(e){if(!1!==e.prefix&&void 0===e.prefix)return e.danger?p.Df:e.warning?m.zp:e.success?h.SG:e.info?g.rC:""}(e),a=n?null:function(e){if(!1!==e.prefix)return void 0!==e.prefix?e.prefix:e.danger?"Danger!":e.warning?"Warning!":e.success?"Success!":e.info?"Note!":""}(e),s=(0,Rr.oU)(e,"color","main"),l=(0,Rr.oU)(e,"color","dark"),c=e.theme.fontSizes[2]*e.theme.lineHeight;return n?y.createElement(ti.s,(0,d.__assign)({},i),o&&y.createElement(vi.Dy,{color:s,mb:"auto",mr:2},y.createElement(v.g,{icon:o})),y.createElement(vi.Dy.span,{color:l},e.children)):y.createElement(ii,(0,d.__assign)({baselineHeight:c,solid:t,color:s,onDismiss:r,a11yTitle:"Dismiss Alert"},i),o&&y.createElement(vi.Dy,{color:s,mb:"auto",mr:2},y.createElement(v.g,{icon:o})),y.createElement(er.a,{color:l,flex:1},a&&y.createElement(vi.Dy.span,{bold:!0,mr:1},a),y.createElement(vi.Dy.span,{color:t?l:"text.main"},e.children)))}),[],["bg"]),bi=function(e){return function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.displayName=e,n.state={component:null},n}return(0,d.__extends)(n,t),n.prototype.componentDidMount=function(){var t=this;e().then((function(e){t.setState({component:e.default})}))},n.prototype.render=function(){var e=this.state.component;return e?y.createElement(e,(0,d.__assign)({},this.props)):null},n}(y.Component)},_i=["#C7FFFF","#BAECC2","#FFD4F1","#F1CDE3","#D7E4FE","#FFD5D2","#CAE1AC","#D6D3FA","#C3C7CA","#FFDA93","#E1EEE5","#DBE0E3","#FEEC63","#FBE6F4","#FFECAE","#F1CDFF","#C3EFFF","#F3E8FD","#E0FEB4","#FDE8E7","#CAFECD","#D7E46C","#F7D8BA",Xn.colors.primary.main],wi=(0,w.default)(vi.Dy.span)(oi||(oi=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-block;\n\tborder-radius: 1em;\n\tline-height: 1;\n"],["\n\tdisplay: inline-block;\n\tborder-radius: 1em;\n\tline-height: 1;\n"]))),Si=(0,b.Ay)((function(e){var t=e.children,n=e.className,r=e.shade,i=(0,d.__rest)(e,["children","className","shade"]);if("string"!=typeof t)throw new Error("The child element of the Badge component must be a string, received: ".concat(typeof t));var o=_i[(r||0)%_i.length];return y.createElement(wi,(0,d.__assign)({className:n,py:1,px:"12px",fontSize:1,bg:o,color:(0,Rr.Hr)(o)},i),t)})),xi=n(89239),Ei=(0,xi.p)((function(e){return Object.assign({p:[3,4],minHeight:"80vh",flexDirection:"column",alignItems:"center",justifyContent:"center"},e)})),ki=(0,w.default)(ti.s)(ai||(ai=(0,d.__makeTemplateObject)(["\n\tbackground-size: cover;\n\tbackground-position: center;\n\tbackground-image: ",";\n"],["\n\tbackground-size: cover;\n\tbackground-position: center;\n\tbackground-image: ",";\n"])),(function(e){return(t=e.backgroundImage)?"url(".concat(t,")"):"none";var t})),Ci=(0,b.Ay)(ki,[Ei]),Oi=(0,w.default)(ti.s)(si||(si=(0,d.__makeTemplateObject)(["\n\t","\n\t","\n"],["\n\t","\n\t","\n"])),(function(e){return e.disabled&&"cursor: not-allowed;"}),(function(e){return e.isSelect?"\n\t\t\tborder: 1px solid ".concat(e.theme.global.control.border.color,";\n\t\t\twidth: fit-content;\n\t\t\tborder-radius: ").concat(e.theme.button.border.radius,";\n\t\t\tpadding: 2px;\n\t\t\t> button {\n\t\t\t\tpadding: 2px 16px;\n\t\t\t\tborder: 0px;\n\t\t\t}\n\t\t"):"\n\t\t> * {\n\t\t\t&:first-child {\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t\tpadding-left: ".concat((0,tr.px)(e.theme.space[3]),";\n\t\t\t}\n\t\n\t\t\t&:last-child {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tpadding-right: ").concat((0,tr.px)(e.theme.space[3]),";\n\t\t\t}\n\t\n\t\t\t&:not(:last-child) {\n\t\t\t\tborder-right: 0;\n\t\t\t}\n\t\n\t\t\t&:not(:last-child):not(:first-child) {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\n\t\t\t&:hover {\n\t\t\t\tz-index: 1;\n\t\t\t}\n\t\t")})),Ti=function(e){if("options"in e){var t=e.onGroupChange,n=e.height,r=e.disabled,i=(0,d.__rest)(e,["onGroupChange","height","disabled"]);return y.createElement(Oi,(0,d.__assign)({isSelect:!0},i,{alignItems:"center",disabled:!!r,tooltip:r}),e.options.map((function(i){var o="object"!=typeof i?i:i.label;return y.createElement(ei,{key:"".concat(o),active:"object"!=typeof i?i===e.value:i.value===e.value,tooltip:"object"==typeof i?i.tooltip:void 0,onClick:function(){t&&t(i)},height:n,disabled:!!r},o)})))}return"children"in e?y.createElement(Oi,(0,d.__assign)({},e),e.children):null},Pi=n(20824),Ai=n.n(Pi),Mi=n(40864),Li=n(12155),Ii=(0,w.default)(ii)(li||(li=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tpadding: ",";\n\t}\n"],["\n\t& {\n\t\tpadding: ",";\n\t}\n"])),(function(e){return e.small?"24px":"32px 44px"})),Ri=(0,b.Ay)((function(e){var t=e.title,n=e.cta,r=e.rows,i=e.children,o=e.small,a=(0,d.__rest)(e,["title","cta","rows","children","small"]),s=t||n,l=Qn(o),c=s&&y.createElement(y.Fragment,null,y.createElement(ti.s,{justifyContent:"space-between",alignItems:"center"},y.createElement(Li.D.h5,{fontSize:4},t),n),y.createElement(Mi.c,{my:2})),u=r&&Ai()(r,(function(e,t){return y.createElement(ti.s,{key:t,fontSize:2,flexDirection:"column",flexWrap:"wrap"},t>0&&y.createElement(Mi.c,null),e)})),f=i&&y.createElement(ti.s,{fontSize:2,flex:1,flexDirection:"column",flexWrap:"wrap"},i);return y.createElement(Ii,(0,d.__assign)({small:l,flexDirection:"column",alignItems:"stretch"},a),c,u,f)})),Di=function(){function e(e,t,n,r){this._cancelled=!0,this._counter=0,this.pollInterval=null,this.lastCompleteTime=0,this.blocked=!1,this.interval=t,this.fn=e,this.poll=this.poll.bind(this),this.graceInterval=this.interval*n,this.isTabActive=r}return Object.defineProperty(e.prototype,"cancelled",{get:function(){return this._cancelled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"counter",{get:function(){return this._counter},enumerable:!1,configurable:!0}),e.prototype.poll=function(e){return(0,d.__awaiter)(this,void 0,void 0,(function(){var t;return(0,d.__generator)(this,(function(n){switch(n.label){case 0:if(this.cancelled||this.blocked)return[2];if(!(t=e&&e.forced)&&!this.isTabActive&&0!==this.lastCompleteTime)return[2];if(!t&&Date.now()-this.lastCompleteTime<this.graceInterval)return[2];this.blocked=!0,n.label=1;case 1:return n.trys.push([1,,3,4]),[4,this.fn(this)];case 2:return n.sent(),this.lastCompleteTime=Date.now(),[3,4];case 3:return this._counter++,this.blocked=!1,this.pollInterval&&clearTimeout(this.pollInterval),this.pollInterval=setTimeout(this.poll,this.interval),[7];case 4:return[2]}}))}))},e.prototype.start=function(){if(null==this.pollInterval)return this.lastCompleteTime=0,this._cancelled=!1,this.poll()},e.prototype.stop=function(){this.pollInterval&&clearTimeout(this.pollInterval),this._cancelled=!0,this.pollInterval=null},e.prototype.destroy=function(){var e=this;this.stop(),this.fn=function(){return(0,d.__awaiter)(e,void 0,void 0,(function(){return(0,d.__generator)(this,(function(e){return[2,void 0]}))}))}},e}(),ji=function(e,t,n,r){return void 0===t&&(t=15e3),void 0===n&&(n=!0),void 0===r&&(r=.33),new Di(e,t,r,n)},Ni=function(e,t,n){var r,i,o,a=n.polling,s=n.pollInterval,l=n.stopExecution,c=y.useState(!0),u=c[0],f=c[1],p=y.useState(),h=p[0],m=p[1],g=y.useState(),v=g[0],b=g[1],_=y.useState(!0),w=_[0],S=_[1],x=y.useRef(),E="persist"in t||"reset"in t?(0,d.__spreadArray)((0,d.__spreadArray)([],null!==(r=t.persist)&&void 0!==r?r:[],!0),null!==(i=t.reset)&&void 0!==i?i:[],!0):t;y.useEffect((function(){var e=function(){return S(!document.hidden)};return document.addEventListener("visibilitychange",e),function(){return document.removeEventListener("visibilitychange",e)}}));var k=y.useCallback((function(t){return(0,d.__awaiter)(void 0,void 0,void 0,(function(){var n,r;return(0,d.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),[4,e(t)];case 1:return n=i.sent(),b(n),[3,4];case 2:return(r=i.sent())instanceof Error?m(r):m(new Error("string"==typeof r?r:"Unknown error")),b([]),[3,4];case 3:return f(!1),[7];case 4:return[2]}}))}))}),E),C=y.useCallback((function(){f(!0),x.current?x.current.poll({forced:!0}):k()}),[x,k]);y.useEffect((function(){return l?x.current&&x.current.stop():a?(x.current=ji(k,s,w),x.current.start(),function(){x.current&&(x.current.destroy(),x.current=void 0)}):void k()}),[a,k,s,l,w]),y.useEffect((function(){a&&b(void 0)}),(0,d.__spreadArray)((0,d.__spreadArray)([],"reset"in t?null!==(o=t.reset)&&void 0!==o?o:[]:t,!0),[a],!1)),y.useEffect((function(){a&&C()}),E);var O=[v,u,h,C];return O.data=v,O.isLoading=u,O.error=h,O.forcePoll=C,O},Fi=n(6291),Bi=(0,w.keyframes)(ci||(ci=(0,d.__makeTemplateObject)(["\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n"],["\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n"]))),zi=(0,w.keyframes)(ui||(ui=(0,d.__makeTemplateObject)(["\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n"],["\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n"]))),$i=(0,w.keyframes)(fi||(fi=(0,d.__makeTemplateObject)(["\n  0% {transform: rotate(0deg)}\n  100% {transform: rotate(360deg)}\n"],["\n  0% {transform: rotate(0deg)}\n  100% {transform: rotate(360deg)}\n"]))),Ui=(0,w.css)(di||(di=(0,d.__makeTemplateObject)(["\n\t.fadeIn {\n\t\tanimation: ",";\n\t}\n\n\t.fadeOut {\n\t\tanimation: ",";\n\t}\n\n\t.animated.faster {\n\t\tanimation-duration: 500ms;\n\t}\n"],["\n\t.fadeIn {\n\t\tanimation: ",";\n\t}\n\n\t.fadeOut {\n\t\tanimation: ",";\n\t}\n\n\t.animated.faster {\n\t\tanimation-duration: 500ms;\n\t}\n"])),Bi,zi),Hi=w.default.div(pi||(pi=(0,d.__makeTemplateObject)(["\n\tbackground: transparent !important;\n\twidth: ",";\n\theight: ",";\n\tborder: "," solid;\n\tcolor: ",";\n\tborder-radius: 100%;\n\tborder-bottom-color: transparent;\n\tdisplay: inline-block;\n\tanimation: "," 1s 0s infinite linear;\n\tanimation-fill-mode: both;\n"],["\n\tbackground: transparent !important;\n\twidth: ",";\n\theight: ",";\n\tborder: "," solid;\n\tcolor: ",";\n\tborder-radius: 100%;\n\tborder-bottom-color: transparent;\n\tdisplay: inline-block;\n\tanimation: "," 1s 0s infinite linear;\n\tanimation-fill-mode: both;\n"])),(function(e){return(0,tr.px)(e.emphasized?40:20)}),(function(e){return(0,tr.px)(e.emphasized?40:20)}),(function(e){return(0,tr.px)(e.emphasized?6:4)}),(function(e){return e.theme.colors.tertiary.main}),$i),Wi=(0,w.default)(ti.s)(hi||(hi=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n\tflex-direction: column;\n"],["\n\tposition: relative;\n\tflex-direction: column;\n"]))),qi=(0,w.default)(ti.s)(mi||(mi=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbottom: 0;\n\tright: 0;\n\tz-index: 4;\n"],["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbottom: 0;\n\tright: 0;\n\tz-index: 4;\n"]))),Vi=w.default.div(gi||(gi=(0,d.__makeTemplateObject)(["\n\topacity: ",";\n\ttransition: opacity 250ms;\n\tflex: 1;\n"],["\n\topacity: ",";\n\ttransition: opacity 250ms;\n\tflex: 1;\n"])),(function(e){return e.show?.4:1})),Ki=function(e){var t=e.label,n=e.emphasized,r=(0,d.__rest)(e,["label","emphasized"]);return y.createElement(ti.s,(0,d.__assign)({flexDirection:n?"column":"row",justifyContent:"center",alignItems:"center",width:"fit-content"},r),y.createElement(Hi,{emphasized:n}),t&&y.createElement(vi.Dy,{color:"text.light",ml:n?0:2,mt:n?2:0},t))},Gi=(0,b.Ay)((function(e){var t=e.show,n=void 0===t||t,r=e.emphasized,i=e.label,o=e.children,a=(0,d.__rest)(e,["show","emphasized","label","children"]);return o?y.createElement(Wi,(0,d.__assign)({},a),n&&y.createElement(qi,{justifyContent:"center",alignItems:"center"},y.createElement(Ki,{label:i,emphasized:r})),y.createElement(Vi,{show:n},o)):n?y.createElement(Ki,(0,d.__assign)({label:i,emphasized:r},a)):null})),Yi=y.lazy((function(){return(0,d.__awaiter)(void 0,void 0,void 0,(function(){return(0,d.__generator)(this,(function(e){switch(e.label){case 0:return[4,n.e(7).then(n.bind(n,15007))];case 1:return[2,{default:e.sent().Markdown}]}}))}))})),Ji={a:function(e){return y.createElement(Fi.N,(0,d.__assign)({blank:!0},e))},h1:function(e){return y.createElement(Li.D.h1,(0,d.__assign)({},e,{fontSize:"20px"}))},h2:function(e){return y.createElement(Li.D.h2,(0,d.__assign)({},e,{fontSize:3}))},h3:function(e){return y.createElement(Li.D.h3,(0,d.__assign)({},e,{fontSize:2}))},h4:function(e){return y.createElement(Li.D.h4,(0,d.__assign)({},e,{fontSize:1}))}},Zi=function(e){var t=e.getChangelog,n=Ni((function(){return(0,d.__awaiter)(void 0,void 0,void 0,(function(){return(0,d.__generator)(this,(function(e){switch(e.label){case 0:return[4,t()];case 1:return[2,e.sent()]}}))}))}),[],{polling:!1}),r=n[0],i=n[1];return y.createElement(Gi,{show:i},y.createElement(y.Suspense,{fallback:null},y.createElement(Yi,{componentOverrides:Ji,disableAutoHeadingLinking:!0,style:{maxHeight:"calc(100vh - 260px)",overflowY:"auto"}},null!=r?r:"")))},Xi=y.createContext({useFormField:function(e){return{error:e.error,info:e.info,disabled:e.disabled}},useFormInput:function(e){var t=e.value,n=e.initialValue,r=(0,y.useState)(void 0!==t?t:n),i=r[0],o=r[1];return[void 0!==t?t:i,function(e){void 0!==n&&o(e)}]}}),Qi=(0,w.css)([":hover input:not([disabled]) + div,:hover input:not([disabled]) + span{border-color:",";}:hover{background-color:",";}"],(function(e){var t,n;return S(null==(t=e.theme.checkBox.hover)||null==(n=t.border)?void 0:n.color,e.theme)}),(function(e){var t,n;return S(!e.disabled&&(null==(t=e.theme.checkBox.hover)||null==(n=t.background)?void 0:n.color),e.theme)})),eo=w.default.svg.withConfig({displayName:"StyledCheckBox__StyledCheckBoxIcon",componentId:"sc-1dbk5ju-0"})(["box-sizing:border-box;stroke-width:",";stroke:",";width:",";height:",";",";"],(function(e){return e.theme.checkBox.check.thickness}),(function(e){return S(e.theme.checkBox.color||"control",e.theme)}),(function(e){return e.theme.checkBox.icon.size||e.theme.checkBox.size}),(function(e){return e.theme.checkBox.icon.size||e.theme.checkBox.size}),(function(e){return e.theme.checkBox.icon.extend}));eo.defaultProps={},Object.setPrototypeOf(eo.defaultProps,ge);var to=w.default.label.withConfig({displayName:"StyledCheckBox__StyledCheckBoxContainer",componentId:"sc-1dbk5ju-1"})(["display:flex;flex-direction:row;align-items:",";user-select:none;"," "," "," "," "," "," ",""],(function(e){return e.theme.checkBox.label.align}),(function(e){return e.fillProp?"\n      width: 100%;\n      height: 100%;\n      max-width: none;\n      flex: 1 0 auto;\n      justify-content: space-between;\n    ":"width: fit-content;"}),(function(e){return(e.pad||e.theme.checkBox.pad)&&ke("padding",e.pad||e.theme.checkBox.pad,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return e.disabled&&"\n  opacity: 0.5;\n  cursor: default;\n"}),(function(e){return!e.disabled&&"cursor: pointer;"}),Qi,(function(e){var t,n,r,i;return e.focus&&!e.focusIndicator&&"\n    input:not([disabled]) + div,\n    input:not([disabled]) + span {\n      border-color: "+S(null==(t=e.theme.checkBox.hover)||null==(n=t.border)?void 0:n.color,e.theme)+";\n    }\n     \n    background-color: "+S(!e.disabled&&(null==(r=e.theme.checkBox.hover)||null==(i=r.background)?void 0:i.color),e.theme)+";"}),(function(e){return e.theme.checkBox.extend}));to.defaultProps={},Object.setPrototypeOf(to.defaultProps,ge);var no=w.default.input.withConfig({displayName:"StyledCheckBox__StyledCheckBoxInput",componentId:"sc-1dbk5ju-2"})(["opacity:0;-moz-appearance:none;width:0;height:0;margin:0;",":checked + span > span{left:calc( "," - "," );background:",";}"],(function(e){return!e.disabled&&"cursor: pointer;"}),(function(e){return e.theme.checkBox.toggle.size}),(function(e){return e.theme.checkBox.size}),(function(e){return S(e.theme.checkBox.color||"control",e.theme)}));no.defaultProps={},Object.setPrototypeOf(no.defaultProps,ge);var ro=w.default.div.withConfig({displayName:"StyledCheckBox__StyledCheckBoxBox",componentId:"sc-1dbk5ju-3"})(["",";",";"],(function(e){return e.focus&&e.focusIndicator&&Te()}),(function(e){return e.theme.checkBox.check.extend}));ro.defaultProps={},Object.setPrototypeOf(ro.defaultProps,ge);var io=w.default.span.withConfig({displayName:"StyledCheckBox__StyledCheckBoxToggle",componentId:"sc-1dbk5ju-4"})(["box-sizing:border-box;vertical-align:middle;display:inline-block;width:",";height:",";border:"," solid;border-color:",";border-radius:",";background-color:",";",";",";"],(function(e){return e.theme.checkBox.toggle.size}),(function(e){return e.theme.checkBox.size}),(function(e){return e.theme.checkBox.border.width}),(function(e){return S(e.theme.checkBox.border.color,e.theme)}),(function(e){return e.theme.checkBox.toggle.radius}),(function(e){return e.theme.checkBox.toggle.background?S(e.theme.checkBox.toggle.background,e.theme):"transparent"}),(function(e){return e.focus&&e.focusIndicator&&Te()}),(function(e){return e.theme.checkBox.toggle.extend}));io.defaultProps={},Object.setPrototypeOf(io.defaultProps,ge);var oo=w.default.span.withConfig({displayName:"StyledCheckBox__StyledCheckBoxKnob",componentId:"sc-1dbk5ju-5"})(["box-sizing:border-box;position:relative;display:inherit;top:-",";left:-",";transition:all 0.3s;width:",";height:",";background:",";border-radius:",";",";"],(function(e){return e.theme.checkBox.border.width}),(function(e){return e.theme.checkBox.border.width}),(function(e){return e.theme.checkBox.size}),(function(e){return e.theme.checkBox.size}),(function(e){return S(e.theme.checkBox.toggle.color,e.theme)}),(function(e){return e.theme.checkBox.toggle.radius}),(function(e){return e.theme.checkBox.toggle.knob.extend}));oo.defaultProps={},Object.setPrototypeOf(oo.defaultProps,ge);var ao=w.default.div.withConfig({displayName:"StyledCheckBox",componentId:"sc-1dbk5ju-6"})(["flex-shrink:0;"]);ao.defaultProps={},Object.setPrototypeOf(ao.defaultProps,ge);var so=["a11yTitle","aria-label","checked","children","defaultChecked","disabled","fill","focus","focusIndicator","id","label","name","onBlur","onChange","onFocus","onMouseEnter","onMouseLeave","onMouseOut","onMouseOver","pad","reverse","toggle","indeterminate"];function lo(){return lo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lo.apply(this,arguments)}var co=function(e){"checkbox"!==e.target.type&&e.stopPropagation()},uo=(0,y.forwardRef)((function(e,t){var n,r=e.a11yTitle,i=e["aria-label"],o=e.checked,a=e.children,s=e.defaultChecked,l=void 0!==s&&s,c=e.disabled,u=e.fill,f=e.focus,d=e.focusIndicator,p=void 0===d||d,h=e.id,m=e.label,g=e.name,v=e.onBlur,b=e.onChange,_=e.onFocus,x=e.onMouseEnter,E=e.onMouseLeave,k=e.onMouseOut,C=e.onMouseOver,O=e.pad,T=e.reverse,P=e.toggle,A=e.indeterminate,M=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,so),L=(0,y.useContext)(w.ThemeContext)||ge.theme,I=(0,y.useContext)(Xi).useFormInput({name:g,value:o,initialValue:l}),R=I[0],D=I[1],j=(0,y.useState)(f),N=j[0],F=j[1];(0,y.useEffect)((function(){return F(f)}),[f]),(0,y.useEffect)((function(){o&&A&&console.warn('Checkbox cannot be "checked" and "indeterminate" at the same time.'),P&&A&&console.warn('Checkbox of type toggle does not have "indeterminate" state.')}),[o,P,A]);var B,z={checked:R,disabled:c,focus:N,focusIndicator:p,reverse:T,toggle:P,indeterminate:A};c&&R&&(B=y.createElement("input",{name:g,type:"hidden",value:"true"}));var $=L.checkBox.icons,U=$.checked,H=$.indeterminate,W=S(L.checkBox.border.color,L);R&&(W=S(L.checkBox.color||"control",L));var q=P?y.createElement(io,z,y.createElement(oo,z)):y.createElement(ro,lo({as:Ot,align:"center",justify:"center",width:L.checkBox.size,height:L.checkBox.size,border:{size:L.checkBox.border.width,color:W},round:L.checkBox.check.radius},z),!A&&R&&(U?y.createElement(U,{theme:L,as:eo}):y.createElement(eo,lo({theme:L,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet"},z),y.createElement("path",{fill:"none",d:"M6,11.3 L10.3,16 L18,6.2"}))),!R&&A&&(H?y.createElement(H,{theme:L,as:eo}):y.createElement(eo,lo({theme:L,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet"},z),y.createElement("path",{fill:"none",d:"M6,12 L18,12"})))),V=T?"left":"right",K=y.createElement(ao,lo({as:Ot,align:"center",justify:"center",margin:m&&(n={},n[V]=L.checkBox.gap||"small",n)},z),y.createElement(no,lo({},M,{ref:t,type:"checkbox"},se({id:h,name:g,checked:R,disabled:c}),z,{onFocus:function(e){F(!0),_&&_(e)},onBlur:function(e){F(!1),v&&v(e)},onChange:function(e){D(e.target.checked),b&&b(e)}})),a?a({checked:R,indeterminate:A}):q,B),G="string"==typeof m?y.createElement("span",null,m):m,Y=T?G:K,J=T?K:G;return y.createElement(to,lo({"aria-label":i||r,fillProp:u,reverse:T},se({htmlFor:h,disabled:c}),{checked:R,onClick:co,pad:O,onMouseEnter:function(e){return null==x?void 0:x(e)},onMouseOver:function(e){return null==C?void 0:C(e)},onMouseLeave:function(e){return null==E?void 0:E(e)},onMouseOut:function(e){return null==k?void 0:k(e)}},z),Y,J)}));uo.displayName="CheckBox",uo.propTypes={};var fo,po,ho,mo,go,vo,yo,bo,_o,wo,So=w.default.div(fo||(fo=(0,d.__makeTemplateObject)(["\n\t","\n\t","\n"],["\n\t","\n\t","\n"])),(function(e){return"\n\t/* for the checkbox */\n\t& > label > div > div,\n\t/* for the toggle */\n\t& > label > div > span {\n\t\tbackground-color: white;\n\t}\n\t& > label > span {\n\t\tfont-family: ".concat(e.theme.font,";\n\t\tfont-size: ").concat((0,tr.px)(e.theme.fontSizes[2]),";\n\t}\n\t").concat(e.isChecked||e.isIndeterminate?"\n\t\t& label input + div {\n\t\t\tborder-color: ".concat(e.theme.colors.primary.main,";\n\t\t\tbackground: ").concat(e.theme.colors.primary.main,";\n\t\t\t> svg {\n\t\t\t\tstroke: #fff;\n\t\t\t}\n\t\t}\n\t\t"):"","\n\n\t& label[disabled] {\n\t\topacity: 0.4\n\t}\n")}),(function(e){return"\n\t& label:hover input:not([disabled]) + span > span {\n\t\tborder-color: ".concat(e.theme.colors.primary.dark,";\n\t\tbackground: ").concat(e.theme.colors.primary.dark,";\n\t}\n\t& label:hover input:not([disabled]) + div {\n\t\tborder-color: ").concat(e.theme.colors.tertiary.main,"!important;\n\t}\n\t").concat(e.isChecked?"\n\t\t& label:hover input:not([disabled]) + div {\n\t\t\tborder-color: ".concat(e.theme.colors.primary.dark," !important;\n\t\t\tbackground: ").concat(e.theme.colors.primary.dark,";\n\t\t}\n\t\t"):"","\n")})),xo=(0,b.Ay)((function(e){var t=e.className,n=(0,d.__rest)(e,["className"]);return y.createElement(So,{isChecked:n.checked,isIndeterminate:n.indeterminate,className:t},y.createElement(uo,(0,d.__assign)({},n)))})),Eo=n(85174),ko=n(64729),Co=n(32153),Oo=n(62833),To=n(90993),Po=n.n(To),Ao=n(1392),Mo=n(18741),Lo=n(99030),Io=n.n(Lo),Ro=w.default.div(po||(po=(0,d.__makeTemplateObject)(["\n\tposition: fixed;\n\ttop: ",";\n\tright: ",";\n\tbottom: ",";\n\tleft: ",";\n\tz-index: ",";\n\tbackground: ",";\n"],["\n\tposition: fixed;\n\ttop: ",";\n\tright: ",";\n\tbottom: ",";\n\tleft: ",";\n\tz-index: ",";\n\tbackground: ",";\n"])),(function(e){return Io()(e.top,"auto")}),(function(e){return Io()(e.right,"auto")}),(function(e){return Io()(e.bottom,"auto")}),(function(e){return Io()(e.left,"auto")}),(function(e){return Io()(e.z,0)}),(function(e){return Io()(e.bg,"none")})),Do=(0,xi.p)((function(e){return{top:!0===e.top?0:e.top,right:!0===e.right?0:e.right,bottom:!0===e.bottom?0:e.bottom,left:!0===e.left?0:e.left}})),jo=(0,b.Ay)(Ro,[Do],["bg"]),No=(0,w.default)(ei)(ho||(ho=(0,d.__makeTemplateObject)(["\n\tmin-width: 0;\n\tborder-top-left-radius: 0;\n\tborder-bottom-left-radius: 0;\n\tborder-left: 0;\n\tmargin: 0;\n\tvertical-align: top;\n\tpadding: 0 ",";\n\twidth: ",";\n"],["\n\tmin-width: 0;\n\tborder-top-left-radius: 0;\n\tborder-bottom-left-radius: 0;\n\tborder-left: 0;\n\tmargin: 0;\n\tvertical-align: top;\n\tpadding: 0 ",";\n\twidth: ",";\n"])),(0,tr.px)(16),(0,tr.px)(44)),Fo=(0,w.default)(ei)(mo||(mo=(0,d.__makeTemplateObject)(["\n\tborder-top-right-radius: 0;\n\tborder-bottom-right-radius: 0;\n\tborder-right: 0;\n\tmargin: 0;\n\twidth: calc(100% - ",");\n"],["\n\tborder-top-right-radius: 0;\n\tborder-bottom-right-radius: 0;\n\tborder-right: 0;\n\tmargin: 0;\n\twidth: calc(100% - ",");\n"])),(0,tr.px)(44)),Bo=(0,w.default)(er.a)(go||(go=(0,d.__makeTemplateObject)(["\n\tbackground: white;\n\tposition: absolute;\n\tborder-radius: ",";\n\tborder: ",";\n\tz-index: 1;\n\tmargin-top: ",";\n\tmargin-bottom: ",";\n\tbottom: ",";\n\tleft: ",";\n\tright: ",";\n\twidth: 200px;\n\toverflow-y: auto;\n\toverflow-x: hidden;\n"],["\n\tbackground: white;\n\tposition: absolute;\n\tborder-radius: ",";\n\tborder: ",";\n\tz-index: 1;\n\tmargin-top: ",";\n\tmargin-bottom: ",";\n\tbottom: ",";\n\tleft: ",";\n\tright: ",";\n\twidth: 200px;\n\toverflow-y: auto;\n\toverflow-x: hidden;\n"])),(function(e){return(0,tr.px)(e.theme.radius)}),(function(e){return"1px solid "+e.theme.colors.gray.main}),(function(e){return e.dropUp?0:"2px"}),(function(e){return e.dropUp?"2px":0}),(function(e){return e.dropUp?e.theme.button.height:"auto"}),(function(e){return e.alignRight?"auto":0}),(function(e){return e.alignRight?0:"auto"})),zo=(0,w.default)(er.a)(vo||(vo=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-block;\n\tborder-radius: ",";\n\tvertical-align: top;\n\tposition: relative;\n\n\tsvg {\n\t\twidth: ",";\n\t\ttransform: translateY(1px);\n\t}\n"],["\n\tdisplay: inline-block;\n\tborder-radius: ",";\n\tvertical-align: top;\n\tposition: relative;\n\n\tsvg {\n\t\twidth: ",";\n\t\ttransform: translateY(1px);\n\t}\n"])),(function(e){return(0,tr.px)(e.theme.radius)}),(0,tr.px)(12)),$o=(0,w.default)(er.a)(yo||(yo=(0,d.__makeTemplateObject)(["\n\t","\n\t","\n\t","\n"],["\n\t","\n\t","\n\t","\n"])),(function(e){return"\n\t".concat(e.hasActionFn&&"&:hover {\n\tbackground: #dde1f0; // This is the background color Select uses for entities on hover. We do not have it in our theme\n\tcursor: ".concat(e.disabled?"not-allowed":"pointer",";}"))}),(function(e){return"\n\t".concat(e.danger&&"color: ".concat(e.theme.colors.danger.main,";"),"\n\t")}),(function(e){return"\n\t".concat(e.disabled&&"opacity: 1; color: ".concat(e.theme.colors.gray.main,";"),"\n\t")})),Uo=(0,w.default)(ei)(bo||(bo=(0,d.__makeTemplateObject)(["\n\tmargin: 0;\n\twidth: 100%;\n"],["\n\tmargin: 0;\n\twidth: 100%;\n"]))),Ho=function(e){var t=e.open,n=e.handler,r=e.label,i=e.joined,o=e.compact,a=(e.items,(0,d.__rest)(e,["open","handler","label","joined","compact","items"])),s=(0,d.__assign)((0,d.__assign)({},a),{type:"button",onClick:n}),l=t?Mo.w2:Ao.Jt,c=Qn(o||[!1]);return i?r||a.icon?y.createElement(Uo,(0,d.__assign)({},s),y.createElement(ti.s,{justifyContent:"space-between",alignItems:"center"},!c&&y.createElement(er.a,{mr:2},r),y.createElement(v.g,{icon:l}))):y.createElement(Uo,(0,d.__assign)({},s,{icon:y.createElement(v.g,{icon:l})})):y.createElement(No,(0,d.__assign)({},s,{icon:y.createElement(v.g,{icon:l})}))},Wo=function(e){function t(t){var n=e.call(this,t)||this;return n.handleOutsideClick=function(e){n.dropdownNode&&!n.dropdownNode.contains(e.target)&&n.state.open&&(n.removeListener(),n.setState({open:!1}))},n.toggle=function(){var e=!n.state.open;e?document.addEventListener("click",n.handleOutsideClick):n.props.keepOpenOnItemClick||n.removeListener(),n.setState({open:!!n.props.keepOpenOnItemClick||e})},n.removeListener=function(){document.removeEventListener("click",n.handleOutsideClick)},n.state={open:!1},n}return(0,d.__extends)(t,e),t.prototype.componentWillUnmount=function(){this.state.open&&this.removeListener()},t.prototype.render=function(){var e,t=this,n=this.props,r=n.dropUp,i=n.alignRight,o=n.children,a=n.label,s=(n.border,n.joined),l=n.noListFormat,c=n.outline,u=n.className,f=n.onClick,p=n.items,h=(0,d.__rest)(n,["dropUp","alignRight","children","label","border","joined","noListFormat","outline","className","onClick","items"]);return y.createElement(zo,(0,d.__assign)({className:u,onClick:s?f:void 0},h,{ref:function(e){return t.dropdownNode=e}}),s?y.createElement(Ho,(0,d.__assign)({},h,{onClick:f,outline:c,joined:s,label:a,handler:this.toggle,open:this.state.open,items:p})):y.createElement("span",null,y.createElement(Fo,(0,d.__assign)({},h,{onClick:f,outline:c}),a),y.createElement(Ho,(0,d.__assign)({},h,{outline:c,onMouseEnter:Fr,handler:this.toggle,open:this.state.open,items:p}))),this.state.open&&y.createElement(jo,{onClick:this.toggle}),this.state.open&&y.createElement(Bo,{dropUp:r,alignRight:i,onClick:function(){return p?void 0:t.toggle()},maxHeight:(0,tr.px)(null!==(e=this.props.listMaxHeight)&&void 0!==e?e:300)},p?p.map((function(e,n){return y.createElement(er.a,{key:n},e.map((function(e,n){return y.createElement($o,{px:3,py:1,onClick:function(n){!e.disabled&&e.onClick&&(e.onClick(n),t.toggle())},tooltip:e.tooltip,disabled:e.disabled,danger:e.danger,hasActionFn:!!e.onClick,key:n},e.content)})),n<p.length-1&&y.createElement(Mi.c,null))})):y.Children.map(o,(function(e,t){return l?e:e?e.type===Mi.c?e:y.createElement($o,{px:3,py:1,hasActionFn:!1,key:t},e):void 0}))))},t}(y.Component),qo=(0,b.Ay)(Wo,[],["color","bg","backgroundColor"]),Vo=(0,w.default)(ti.s)(_o||(_o=(0,d.__makeTemplateObject)(["\n\tbackground-color: ",";\n\tborder: 1px solid ",";\n\tborder-radius: 2px;\n\tline-height: 1.5;\n"],["\n\tbackground-color: ",";\n\tborder: 1px solid ",";\n\tborder-radius: 2px;\n\tline-height: 1.5;\n"])),(function(e){return e.theme.colors.info.light}),(function(e){return e.theme.colors.info.main})),Ko=(0,w.default)(ei)(wo||(wo=(0,d.__makeTemplateObject)(["\n\tcolor: ",";\n"],["\n\tcolor: ",";\n"])),(function(e){return e.theme.colors.tertiary.semilight})),Go=(0,b.Ay)((function(e){var t=e.name,n=e.operator,r=e.value,i=e.multiple,o=e.onClose,a=e.onClick,s=e.className,l=i||[{name:t,operator:n,value:r}];if(!l.length)return null;var c=l.length>3;c&&(l=[l[0],{name:"... and ".concat(l.length-1," more")}]);var u,f=y.createElement(Vo,{py:1,px:2,tooltip:c?{text:(u=null!=i?i:[],u.map((function(e,t){var n=t>0?"".concat(e.prefix||","," "):"",r=e.operator?" ".concat(e.operator," "):": ";return n+(e.value?"".concat(e.name).concat(r).concat(e.value):e.name)})).join("\n")),placement:"bottom"}:void 0},l.map((function(e,t){var n=e.operator?" ".concat(e.operator," "):": ";return y.createElement(y.Fragment,{key:t},t>0&&!c&&y.createElement(vi.Dy,{whitespace:"pre",color:"info.main",fontSize:1,italic:!0},"  ".concat(e.prefix||",","  ")),!e.value&&!e.name&&y.createElement(vi.Dy,{italic:!0,color:"info.main",fontSize:1},"no value"),e.name&&y.createElement(vi.Dy,{whitespace:"pre",color:"info.main",fontSize:1},"".concat(e.name).concat(e.value?n:"")),e.value&&y.createElement(vi.Dy,{bold:!0,color:"info.main",fontSize:1},e.value))})));return y.createElement(ti.s,{className:s},a?y.createElement(ei,{plain:!0,onClick:a},f):f,o&&y.createElement(Ko,{plain:!0,p:1,pl:2,pr:3,fontSize:1,onClick:o},y.createElement(v.g,{icon:_.GR})))})),Yo=function(e){if(!e)return{};try{return JSON.parse(e.description)}catch(t){return{value:e.description}}};const Jo=function(e){var t,n=e.filter,r=(0,d.__rest)(e,["filter"]),i=(null===(t=n.anyOf)||void 0===t?void 0:t.map((function(e,t){var n,r,i=Yo(e),o=Hr(e,"format");if(i.name=i.title,i.operator=null===(r=null===(n=i.operator)||void 0===n?void 0:n.label)||void 0===r?void 0:r.replace("".concat(i.title," "),""),i.label&&(i.value=i.label),"boolean"==typeof i.value&&(i.value=JSON.stringify(i.value)),"object"==typeof i.value&&(i.value=Object.entries(i.value).map((function(e){var t=e[0],n=e[1];return"".concat(t,": ").concat(n)})).join(", ")),"date-time"===o){var a=new Date(i.value);i.value="".concat(a.toLocaleDateString()," ").concat(a.toLocaleTimeString())}return t>0&&(i.prefix="or"),i})))||[Yo(n)];return y.createElement(Go,(0,d.__assign)({mt:2,multiple:i},r))};var Zo=w.default.div(ea||(ea=(0,d.__makeTemplateObject)(["\n\tborder-radius: 2px;\n\tbackground-color: #ffffff;\n\tbox-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n\tborder: solid 1px #9b9b9b;\n"],["\n\tborder-radius: 2px;\n\tbackground-color: #ffffff;\n\tbox-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n\tborder: solid 1px #9b9b9b;\n"]))),Xo=(0,w.default)(Zo)(ta||(ta=(0,d.__makeTemplateObject)(["\n\tdisplay: none;\n\tposition: absolute;\n\tright: 230px;\n\twidth: 300px;\n\tright: 100%;\n\tmargin-right: 3px;\n\ttop: 2px;\n\tpadding: 15px 15px 5px;\n"],["\n\tdisplay: none;\n\tposition: absolute;\n\tright: 230px;\n\twidth: 300px;\n\tright: 100%;\n\tmargin-right: 3px;\n\ttop: 2px;\n\tpadding: 15px 15px 5px;\n"])));const Qo=function(e){var t=e.views,n=e.renderMode,r=e.compact,i=e.deleteView,o=e.setFilters,a=e.disabled,s=e.dark,l=e.buttonProps,c=t.length>0,u=y.useMemo((function(){return c?[t.map((function(e,t){return{content:y.createElement(ti.s,{flexDirection:"row",justifyContent:"space-between",alignItems:"center",key:t,style:{overflow:"auto"}},y.createElement(ti.s,{flexDirection:"column",mr:3},y.createElement(ti.s,{flexDirection:"column"},e.name),y.createElement(ti.s,{flexDirection:"row",color:Xn.colors.gray},e.filters.length," filter",e.filters.length>1&&"s")),y.createElement(ti.s,{flexDirection:"column"},y.createElement(ei,{plain:!0,onClick:function(t){i(e),Fr(t)}},y.createElement(v.g,{icon:Oo.yL}))),y.createElement(Xo,null,e.filters.map((function(e){return y.createElement(er.a,{mb:10,key:e.$id},y.createElement(Jo,{filter:e}))})))),onClick:function(){return function(e){var t=Po()(e.filters);o(t)}(e)}}}))]:[[{content:"You haven't created any views yet"}]]}),[t,i]);return y.createElement(qo,(0,d.__assign)({mx:"string"==typeof n||1===(null==n?void 0:n.length)?0:1,disabled:a,quartenary:!0,light:s,outline:!0,joined:!0,alignRight:"string"==typeof n||1===(null==n?void 0:n.length),noListFormat:!0,icon:y.createElement(v.g,{icon:Co.W1}),label:"Views",compact:r},l,{items:u}))};var ea,ta,na,ra=n(34999),ia=(0,w.default)(ti.s)(na||(na=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n\twidth: 100%;\n\tborder-bottom: 1px solid ",";\n\tpadding-left: 24px;\n\tpadding-top: 4px;\n\n\t.search-icon {\n\t\tcolor: ",";\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: ",";\n\t\ttransform: translateY(-50%);\n\t}\n\t.clear-icon {\n\t\tcolor: ",";\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tright: ",";\n\t\ttransform: translateY(-50%);\n\t}\n\tinput {\n\t\toutline: none;\n\t\tbackground: transparent;\n\t\tbox-shadow: none;\n\t\tborder: none;\n\t\twidth: 100%;\n\t\tfont-size: inherit;\n\t\tpadding: 4px;\n\t\theight: auto;\n\t\tfont-family: ",";\n\n\t\t&:hover {\n\t\t\tbox-shadow: none;\n\t\t}\n\t\t::placeholder {\n\t\t\tcolor: ",";\n\t\t\tfont-family: ",";\n\t\t}\n\t}\n"],["\n\tposition: relative;\n\twidth: 100%;\n\tborder-bottom: 1px solid ",";\n\tpadding-left: 24px;\n\tpadding-top: 4px;\n\n\t.search-icon {\n\t\tcolor: ",";\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: ",";\n\t\ttransform: translateY(-50%);\n\t}\n\t.clear-icon {\n\t\tcolor: ",";\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tright: ",";\n\t\ttransform: translateY(-50%);\n\t}\n\tinput {\n\t\toutline: none;\n\t\tbackground: transparent;\n\t\tbox-shadow: none;\n\t\tborder: none;\n\t\twidth: 100%;\n\t\tfont-size: inherit;\n\t\tpadding: 4px;\n\t\theight: auto;\n\t\tfont-family: ",";\n\n\t\t&:hover {\n\t\t\tbox-shadow: none;\n\t\t}\n\t\t::placeholder {\n\t\t\tcolor: ",";\n\t\t\tfont-family: ",";\n\t\t}\n\t}\n"])),(function(e){return e.theme.colors.quartenary.main}),(function(e){return e.theme.colors.tertiary.semilight}),(function(e){return(0,tr.px)(e.theme.space[2])}),(function(e){return e.theme.colors.tertiary.semilight}),(function(e){return(0,tr.px)(e.theme.space[2])}),(function(e){return e.theme.font}),(function(e){return e.theme.colors.tertiary.semilight}),(function(e){return e.theme.font})),oa=y.forwardRef((function(e,t){var n=e.className,r=e.dark,i=e.disabled,o=e.placeholder,a=e.value,s=e.onChange,l=e.onEnter;return y.createElement(ia,{className:n},y.createElement(be,{onEnter:l},y.createElement("input",{style:{color:r?"#fff":void 0},disabled:i,placeholder:o||"Search entries...",value:a,onChange:s,ref:t})),y.createElement(v.g,{icon:ra.Mj,className:"search-icon"}),!!a&&y.createElement(ei,{plain:!0,className:"clear-icon",onClick:function(){s&&s({target:{value:""}})}},y.createElement(v.g,{icon:_.GR})))})),aa=(0,b.Ay)(oa),sa=y.createContext(void 0);sa.propTypes={};var la=y.createContext({}),ca=(0,w.css)(["left:-100%;right:100%;z-index:-1;position:fixed;"]),ua=w.default.div.withConfig({displayName:"StyledLayer",componentId:"sc-rmtehz-0"})([""," background:transparent;position:relative;z-index:",";pointer-events:none;outline:none;"," ",";"],xe,(function(e){return e.theme.layer.zIndex}),(function(e){if("hidden"===e.position)return ca;var t=[];if(t.push("\n  position: fixed;\n  top: 0px;\n  left: 0px;\n  right: 0px;\n  bottom: 0px;\n"),e.responsive&&e.theme.layer.responsiveBreakpoint&&!e.layerTarget){var n=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];t.push(ce(n,"\n  position: fixed;\n  width: 100%;\n  height: 100%;\n  min-height: 100vh;\n"))}return t}),(function(e){return e.theme.layer&&e.theme.layer.extend}));ua.defaultProps={},Object.setPrototypeOf(ua.defaultProps,ge);var fa=w.default.div.withConfig({displayName:"StyledLayer__StyledOverlay",componentId:"sc-rmtehz-1"})(["position:absolute;"," top:0px;left:0px;right:0px;bottom:0px;"," pointer-events:all;will-change:transform;"],(function(e){if(e.responsive&&e.theme.layer.responsiveBreakpoint){var t=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];return ce(t,"position: relative;")}return""}),(function(e){return!e.plain&&e.theme.layer.overlay.background&&R(e.theme.layer.overlay.background,e.theme)})),da=function(e,t,n){var r=-1!==n.indexOf("top")||-1!==n.indexOf("bottom")?"vertical":"horizontal",i=e[n]||e[r]||e,o=t.global.edgeSize[i]||i;return t.global.edgeSize[i]||"string"==typeof i?le(o):0},pa=function(e,t,n,r){return void 0===r&&(r=void 0),r?e[r]+da(t,n,r):{bottom:e.bottom+da(t,n,"bottom"),end:e.right+da(t,n,"end"),left:e.left+da(t,n,"left"),right:e.right+da(t,n,"right"),start:e.left+da(t,n,"start"),top:e.top+da(t,n,"top")}},ha={center:{vertical:(0,w.keyframes)(["0%{transform:translateX(-50%) scale(0.8);}100%{transform:translateX(-50%) scale(1);}"]),horizontal:(0,w.keyframes)(["0%{transform:translateY(-50%) scale(0.8);}100%{transform:translateY(-50) scale(1);}"]),true:(0,w.keyframes)(["0%{transform:scale(0.8);}100%{transform:scale(1);}"]),false:(0,w.keyframes)(["0%{transform:translate(-50%,-50%) scale(0.8);}100%{transform:translate(-50%,-50%) scale(1);}"])},top:{vertical:(0,w.keyframes)(["0%{transform:translate(-50%,-100%);}100%{transform:translate(-50%,0);}"]),horizontal:(0,w.keyframes)(["0%{transform:translateY(-100%);}100%{transform:translateY(0);}"]),true:(0,w.keyframes)(["0%{transform:translateY(-100%);}100%{transform:translateY(0);}"]),false:(0,w.keyframes)(["0%{transform:translate(-50%,-100%);}100%{transform:translate(-50%,0);}"])},bottom:{vertical:(0,w.keyframes)(["0%{transform:translate(-50%,100%);}100%{transform:translate(-50%,0);}"]),horizontal:(0,w.keyframes)(["0%{transform:translateY(100%);}100%{transform:translateY(0);}"]),true:(0,w.keyframes)(["0%{transform:translateY(100%);}100%{transform:translateY(0);}"]),false:(0,w.keyframes)(["0%{transform:translate(-50%,100%);}100%{transform:translate(-50%,0);}"])},left:{vertical:(0,w.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),horizontal:(0,w.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,w.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),false:(0,w.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"])},right:{vertical:(0,w.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),horizontal:(0,w.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,w.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),false:(0,w.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"])},start:{vertical:(0,w.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),horizontal:(0,w.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,w.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),false:(0,w.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"])},end:{vertical:(0,w.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),horizontal:(0,w.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,w.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),false:(0,w.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"])}},ma=function(e,t,n){var r,i=void 0!==e.animation?e.animation:e.animate;return void 0===i&&(i="slide"),"slide"===i||!0===i?r=ha[t][n]:"fadeIn"===i&&(r=(0,w.keyframes)(["0%{opacity:0}100%{opacity:1}"])),r?(0,w.css)(["animation:"," ","s ease-in-out forwards;"],r,.2):""},ga={center:{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;left:50%;transform:translateX(-50%);",""],e.top,e.bottom,(function(e){return ma(e,"center","vertical")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;top:50%;transform:translateY(-50%);",""],e.left,e.right,(function(e){return ma(e,"center","horizontal")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"center","true")}))},false:function(){return(0,w.css)(["top:50%;left:50%;transform:translate(-50%,-50%);",""],(function(e){return ma(e,"center","false")}))}},top:{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;left:50%;transform:translate(-50%,0%);",""],e.top,e.bottom,(function(e){return ma(e,"top","vertical")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;top:","px;transform:translateY(0);",""],e.left,e.right,e.top,(function(e){return ma(e,"top","horizontal")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateY(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"top","true")}))},false:function(e){return(0,w.css)(["top:","px;left:50%;transform:translate(-50%,0);",""],e.top,(function(e){return ma(e,"top","false")}))}},bottom:{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;left:50%;transform:translate(-50%,0);",""],e.top,e.bottom,(function(e){return ma(e,"bottom","vertical")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.top,e.bottom,(function(e){return ma(e,"bottom","horizontal")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateY(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"bottom","true")}))},false:function(e){return(0,w.css)(["bottom:","px;left:50%;transform:translate(-50%,0);",""],e.bottom,(function(e){return ma(e,"bottom","false")}))}},left:{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return ma(e,"left","vertical")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;top:50%;transform:translate(0,-50%);",""],e.left,e.right,(function(e){return ma(e,"left","horizontal")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"left","true")}))},false:function(e){return(0,w.css)(["left:","px;top:50%;transform:translate(0,-50%);",""],e.left,(function(e){return ma(e,"left","false")}))}},right:{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.right,(function(e){return ma(e,"right","vertical")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;top:50%;transform:translate(0,-50%);",""],e.left,e.right,(function(e){return ma(e,"right","horizontal")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"right","true")}))},false:function(e){return(0,w.css)(["right:","px;top:50%;transform:translate(0,-50%);",""],e.right,(function(e){return ma(e,"right","false")}))}},start:{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;inset-inline-start:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,(function(e){return ma(e,"start","vertical")}))},horizontal:function(e){return(0,w.css)(["inset-inline-start:","px;inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.start,e.end,(function(e){return ma(e,"start","horizontal")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;inset-inline-start:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,e.end,(function(e){return ma(e,"start","true")}))},false:function(e){return(0,w.css)(["inset-inline-start:","px;top:50%;transform:translate(0,-50%);",""],e.start,(function(e){return ma(e,"start","false")}))}},end:{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.end,(function(e){return ma(e,"end","vertical")}))},horizontal:function(e){return(0,w.css)(["inset-inline-start:","px;inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.start,e.end,(function(e){return ma(e,"end","horizontal")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;inset-inline-start:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,e.end,(function(e){return ma(e,"end","true")}))},false:function(e){return(0,w.css)(["inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.end,(function(e){return ma(e,"end","false")}))}},"top-right":{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",";"],e.top,e.bottom,e.right,(function(e){return ma(e,"top","true")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;top:0;transform:translateX(0);",";"],e.left,e.right,(function(e){return ma(e,"top","true")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",";"],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"top","true")}))},false:function(e){return(0,w.css)(["top:","px;right:","px;transform:translateY(0);",";"],e.top,e.right,(function(e){return ma(e,"top","true")}))}},"top-left":{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return ma(e,"top","true")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;top:0;transform:translateX(0);",""],e.left,e.right,(function(e){return ma(e,"top","true")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"top","true")}))},false:function(e){return(0,w.css)(["top:","px;left:","px;transform:translateY(0);",""],e.top,e.left,(function(e){return ma(e,"top","true")}))}},"bottom-right":{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.right,(function(e){return ma(e,"bottom","true")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.right,e.bottom,(function(e){return ma(e,"bottom","true")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"bottom","true")}))},false:function(e){return(0,w.css)(["bottom:","px;right:","px;transform:translateY(0);",""],e.bottom,e.right,(function(e){return ma(e,"bottom","true")}))}},"bottom-left":{vertical:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return ma(e,"bottom","true")}))},horizontal:function(e){return(0,w.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.right,e.bottom,(function(e){return ma(e,"bottom","true")}))},true:function(e){return(0,w.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return ma(e,"bottom","true")}))},false:function(e){return(0,w.css)(["bottom:","px;left:","px;transform:translateY(0);",""],e.bottom,e.left,(function(e){return ma(e,"bottom","true")}))}}},va={left:0,right:0,top:0,bottom:0},ya=(0,w.css)([""," max-height:",";max-width:",";",";",";"],(function(e){return e.modal||"hidden"!==e.position?(0,w.css)(["position:",";"],e.modal||e.layerTarget?"absolute":"fixed"):ca}),(function(e){return"calc(100% - "+pa(va,e.margin,e.theme,"top")+"px - "+pa(va,e.margin,e.theme,"bottom")+"px)"}),(function(e){return"calc(100% - "+pa(va,e.margin,e.theme,"left")+"px - "+pa(va,e.margin,e.theme,"right")+"px)"}),(function(e){return e.plain||e.full&&"none"===e.margin?"border-radius: 0;":(t=e.theme.layer.border.radius,n=e.theme,r=e.position,i=e.margin,o=[],a=!0===t?"medium":t,s=n.global.edgeSize[a]||a,l=s.split(" ").length>1,"none"!==i||l||!0!==n.layer.border.intelligentRounding?o.push((0,w.css)(["border-radius:",";"],s)):"bottom"===r?o.push((0,w.css)(["border-radius:"," "," 0 0;"],s,s)):"bottom-left"===r?o.push((0,w.css)(["border-radius:0 "," 0 0;"],s)):"bottom-right"===r?o.push((0,w.css)(["border-radius:"," 0 0 0;"],s)):"end"===r?o.push((0,w.css)(["border-start-start-radius:",";border-end-start-radius:",";"],s,s)):"left"===r?o.push((0,w.css)(["border-radius:0 "," "," 0;"],s,s)):"right"===r?o.push((0,w.css)(["border-radius:"," 0 0 ",";"],s,s)):"start"===r?o.push((0,w.css)(["border-end-end-radius:",";border-start-end-radius:",";"],s,s)):"top"===r?o.push((0,w.css)(["border-radius:0 0 "," ",";"],s,s)):"top-left"===r?o.push((0,w.css)(["border-radius:0 0 "," 0;"],s)):"top-right"===r?o.push((0,w.css)(["border-radius:0 0 0 ",";"],s)):o.push((0,w.css)(["border-radius:",";"],s)),o);var t,n,r,i,o,a,s,l}),(function(e){return"hidden"!==e.position&&ga[e.position][e.full](pa(va,e.margin,e.theme),va)||""})),ba=function(e){return(0,w.css)(["position:relative;max-height:none;max-width:none;border-radius:0;height:",";width:",";"],e.layerTarget?"100%":"100vh",e.layerTarget?"100%":"100vw")},_a=(0,w.css)(["box-shadow:",";"],(function(e){return e.theme.global.elevation[e.theme.dark?"dark":"light"][e.theme.layer.container.elevation]})),wa=w.default.div.withConfig({shouldForwardProp:function(e,t){return!["elevation"].includes(e)&&t(e)}}).withConfig({displayName:"StyledLayer__StyledContainer",componentId:"sc-rmtehz-2"})([""," display:flex;flex-direction:column;min-height:",";"," outline:none;pointer-events:all;z-index:",";"," "," ",";",";"],(function(e){return e.modal?"":xe}),(function(e){return e.theme.global.size.xxsmall}),(function(e){return!e.plain&&(e.background||e.theme.layer.background)&&R(e.background||e.theme.layer.background,e.theme)}),(function(e){return e.theme.layer.container.zIndex}),(function(e){return!e.plain&&e.theme.layer.container.elevation&&_a}),ya,(function(e){if(e.responsive&&e.theme.layer.responsiveBreakpoint){var t=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];if(t)return ce(t,ba)}return""}),(function(e){return e.theme.layer.container&&e.theme.layer.container.extend}));wa.defaultProps={},Object.setPrototypeOf(wa.defaultProps,ge);var Sa=["background","children","full","id","margin","modal","onClickOutside","onEsc","plain","position","responsive","target"];function xa(){return xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xa.apply(this,arguments)}var Ea=w.default.a.withConfig({displayName:"LayerContainer__HiddenAnchor",componentId:"sc-1srj14c-0"})(["width:0;height:0;overflow:hidden;position:absolute;"]),ka=[],Ca=(0,y.forwardRef)((function(e,t){var n=e.background,r=e.children,i=e.full,o=void 0!==i&&i,a=e.id,s=e.margin,l=void 0===s?"none":s,c=e.modal,u=void 0===c||c,f=e.onClickOutside,d=e.onEsc,p=e.plain,h=e.position,m=void 0===h?"center":h,g=e.responsive,v=void 0===g||g,b=e.target,_=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Sa),S=(0,y.useContext)(w.ThemeContext)||ge.theme,x=(0,y.useContext)(sa),E=(0,y.useContext)(la).layer,k=(0,y.useRef)(),C=(0,y.useRef)(),O=(0,y.useRef)(),T=(0,y.useContext)(Wt)||ka,P=(0,y.useMemo)((function(){return T.length}),[T]),A=(0,y.useMemo)((function(){return[].concat(T,[P])}),[T,P]);(0,y.useEffect)((function(){if("hidden"!==m){var e=O.current||C.current||t.current;e&&e.scrollIntoView&&e.scrollIntoView();for(var n=document.activeElement;n&&n!==C.current;)n=n.parentElement;u&&!n&&k.current&&k.current.focus()}}),[u,m,t]),(0,y.useEffect)((function(){if("hidden"!==m){var e=O.current||C.current||t.current;e&&e.scrollIntoView&&e.scrollIntoView()}}),[m,t]),(0,y.useEffect)((function(){var e=function(e){for(var t=null,n=e.target;null===t&&n!==document&&null!==n;){var r=n.getAttribute("data-g-portal-id");null!==r&&""!==r?t=parseInt(r,10):n=n.parentNode}null!==t&&-1===T.indexOf(t)||null===n||f(e)};if(f&&document.addEventListener("mousedown",e),b){var t=function(){var e=window.innerWidth,t=window.innerHeight,n=Nt(b),r=O.current;if(r&&n){r.style.left="",r.style.top="",r.style.bottom="",r.style.width="";var i=n.getBoundingClientRect(),o=r.getBoundingClientRect();r.style.left=i.left+"px",r.style.right=e-i.right+"px",r.style.top=i.top+"px",r.style.bottom=t-i.bottom+"px",r.style.maxHeight=i.height,r.style.maxWidth=Math.min(o.width,e)}};return t(),window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),function(){window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0),f&&document.removeEventListener("mousedown",e)}}return function(){f&&document.removeEventListener("mousedown",e)}}),[b,f,T,P]);var L=y.createElement(wa,xa({ref:t||C,background:n,elevation:S.layer.container.elevation,id:E&&E.singleId?a+"__container":a,full:o,margin:l,modal:u},_,{position:m,plain:p,responsive:v,layerTarget:b,dir:S.dir,"data-g-portal-id":P}),y.createElement(Ea,{ref:k,tabIndex:"-1","aria-hidden":"true"}),r);if(L=y.createElement(ua,{ref:O,id:a,plain:p,position:m,responsive:v,layerTarget:b,tabIndex:"-1",dir:S.dir},u&&y.createElement(fa,{plain:p,responsive:v,onMouseDown:f}),L),d&&(L=y.createElement(be,{onEsc:d?function(e){e.stopPropagation(),d(e)}:void 0,target:!1===u?"document":void 0},L)),S.layer.background){var I=M(S.layer.background,S);void 0!==I&&I!==S.dark&&(L=y.createElement(w.ThemeContext.Provider,{value:xa({},S,{dark:I})},L))}L=y.createElement(Wt.Provider,{value:A},L);var R=v&&x===S.layer.responsiveBreakpoint;return(u||R)&&(L=y.createElement(Ht,{hidden:"hidden"===m,restrictScroll:!(b&&!R)||void 0,trapFocus:!0},L)),L}));function Oa(){return Oa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oa.apply(this,arguments)}var Ta=(0,y.forwardRef)((function(e,t){var n=e.animate,r=e.animation,i=e.targetChildPosition,o=(0,y.useState)(),a=o[0],s=o[1];(0,y.useEffect)((function(){return s(document.activeElement)}),[]);var l=(0,y.useState)(),c=l[0],u=l[1],f=(0,y.useContext)(Qt);return(0,y.useEffect)((function(){return u(Mt(f,i))}),[f,i]),fn((function(){return function(){if(a&&(a.focus?setTimeout((function(){return a.focus()}),0):a.parentNode&&a.parentNode.focus&&a.parentNode.focus()),c)if(!1!==(void 0!==r?r:n)){var e=c.cloneNode(!0);e.id="layerClone",f.appendChild(e);var t=e.querySelector('[class*="StyledLayer__StyledContainer"]');t&&t.style&&(t.style.animationDirection="reverse"),setTimeout((function(){var e=document.getElementById("layerClone");e&&(f.removeChild(e),c.remove())}),200)}else f.removeChild(c)}}),[n,r,f,c,a]),c?(0,Tt.createPortal)(y.createElement(Ca,Oa({ref:t},e)),c):null}));Ta.displayName="Layer",Ta.propTypes={};var Pa,Aa,Ma=n(46930),La=n.n(Ma),Ia="rendition-modal-open",Ra=(0,w.createGlobalStyle)(Pa||(Pa=(0,d.__makeTemplateObject)(["\n\t."," {\n\t\toverflow: hidden;\n\t}\n"],["\n\t."," {\n\t\toverflow: hidden;\n\t}\n"])),Ia),Da=(0,w.default)(er.a)(Aa||(Aa=(0,d.__makeTemplateObject)(["\n\toverflow-y: auto;\n"],["\n\toverflow-y: auto;\n"]))),ja=function(e){return"href"in e&&e.href?y.createElement(ei,(0,d.__assign)({as:"a"},e)):y.createElement(ei,(0,d.__assign)({},e))},Na=function(e){function t(n){var r=e.call(this,n)||this;return r.ongoingSubmit=!1,r.ownIndex=0,r.handleKeyDown=function(e){var n;if(t.mountedCount===r.ownIndex&&!e.defaultPrevented&&13===e.which){if(e.preventDefault(),e.stopPropagation(),(null===(n=r.props.primaryButtonProps)||void 0===n?void 0:n.disabled)||r.ongoingSubmit)return;13===e.which&&r.done()}},r.done=function(){return(0,d.__awaiter)(r,void 0,void 0,(function(){return(0,d.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,,2,3]),this.ongoingSubmit=!0,[4,this.props.done()];case 1:return e.sent(),[3,3];case 2:return this.ongoingSubmit=!1,[7];case 3:return[2]}}))}))},r.stopPropagation=function(e){return e.stopPropagation()},r.popModal=function(){t.mountedCount===r.ownIndex&&(r.props.cancel||r.done)()},r}return(0,d.__extends)(t,e),t.prototype.componentDidMount=function(){t.mountedCount||document.body.classList.add(Ia),window.addEventListener("keydown",this.handleKeyDown),t.mountedCount++,this.ownIndex=t.mountedCount},t.prototype.componentWillUnmount=function(){t.mountedCount--,t.mountedCount||document.body.classList.remove(Ia),window.removeEventListener("keydown",this.handleKeyDown)},t.prototype.render=function(){var e,t,n,r=this.props,i=r.width,o=r.theme,a=(0,d.__rest)(r,["width","theme"]),s=Object.assign({ml:3},a.cancelButtonProps),l=Object.assign({primary:!0,outline:!0,ml:3},a.secondaryButtonProps),c=!0===(null!==(t=null===(e=a.primaryButtonProps)||void 0===e?void 0:e.danger)&&void 0!==t?t:null===(n=a.primaryButtonProps)||void 0===n?void 0:n.warning),u=La()((0,d.__assign)({primary:!0,ml:3},c&&{style:{order:-1}}),a.primaryButtonProps);return y.createElement(Ta,{onEsc:this.popModal,onClickOutside:this.popModal,responsive:!1,position:a.position||"center",margin:"small",animate:!1,style:{marginTop:"top"===a.position?o.header.height:void 0,color:o.colors.text.main}},y.createElement(Ra,null),y.createElement(Da,{width:i||700,maxWidth:"100%",onClick:this.stopPropagation,style:a.style,id:a.id,className:a.className},y.createElement(er.a,{p:[(0,tr.px)(o.space[3]),"40px 50px 30px"]},!!a.title&&y.createElement(Li.D.h3,{mb:4},a.title),a.children,y.createElement(ti.s,{mt:5,alignItems:"center",justifyContent:"flex-end"},a.cancel&&y.createElement(ja,(0,d.__assign)({},s,{onClick:a.cancel}),s&&s.children||"Cancel"),a.secondaryButtonProps&&y.createElement(ja,(0,d.__assign)({},l)),y.createElement(ja,(0,d.__assign)({},u,{onClick:this.done}),a.action||"OK")))))},t.mountedCount=0,t}(y.Component),Fa=(0,w.withTheme)(Na),Ba=["a11yTitle","onAlign","disabled","dropAlign","dropProps","dropContent","dropTarget","id","open","onClick","onClose","onOpen"];function za(){return za=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},za.apply(this,arguments)}var $a={top:"top",left:"left"},Ua=(0,y.forwardRef)((function(e,t){var n=e.a11yTitle,r=void 0===n?"Open Drop":n,i=e.onAlign,o=e.disabled,a=e.dropAlign,s=void 0===a?$a:a,l=e.dropProps,c=e.dropContent,u=e.dropTarget,f=e.id,d=e.open,p=e.onClick,h=e.onClose,m=e.onOpen,g=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Ba),v=pn(t),b=(0,y.useState)(),_=b[0],w=b[1];(0,y.useEffect)((function(){void 0!==d&&d!==_&&w(d)}),[d,_]);var S=(0,y.useCallback)((function(e){for(var t=e.target;t!==document&&t!==v.current;)t=t.parentNode;t!==v.current&&(void 0===d&&w(!1),h&&h(e))}),[v,h,d]),x=(0,y.useCallback)((function(e){_?(w(!1),h&&h(e)):(w(!0),m&&m(e)),p&&p(e)}),[p,h,m,_]);return y.createElement(y.Fragment,null,y.createElement(Wn,za({id:f,ref:v,a11yTitle:r,disabled:o},g,{onClick:x})),_&&v.current&&y.createElement(un,za({id:f?f+"__drop":void 0,onAlign:i,restrictFocus:!0,align:s,target:u||v.current,onClickOutside:S,onEsc:S},l),c))}));Ua.displayName="DropButton",Ua.propTypes={};var Ha=function(e,t){return e?Math.floor((e+t)/t)-1:0},Wa=function(e){var t=e.children,n=e.items,r=void 0===n?[]:n,i=e.onMore,o=e.renderMarker,a=e.replace,s=e.show,l=e.step,c=void 0===l?50:l,u=(0,y.useState)(),f=u[0],d=u[1],p=(0,y.useMemo)((function(){return Math.floor(r.length/c)}),[r.length,c]),h=(0,y.useState)([0,Ha(s,c)]),m=h[0],g=h[1],v=(0,y.useState)([]),b=v[0],_=v[1],w=(0,y.useState)(0),S=w[0],x=w[1],E=(0,y.useRef)(),k=(0,y.useRef)();(0,y.useEffect)((function(){var e,t,n=function(){if(e){var t,n,r=e[0];r===document?(t=document.documentElement.scrollTop||document.body.scrollTop,n=window.innerHeight):(t=r.scrollTop,n=r.getBoundingClientRect().height);for(var i=n/4,o=0,l=0,u=b[l]||0;b[l+1]&&u<t-i;)o+=1,u+=b[l+=1];for(var f=o;void 0!==b[l]&&u<t+n+i;)f+=1,u+=b[l+=1]||0;if(a||(o=0,f=Math.max(m[1],f)),s){var d=Ha(s,c);o=Math.min(d,o),f=Math.max(d,f)}o===m[0]&&f===m[1]||g([o,f])}},r=function(){clearTimeout(t),t=setTimeout(n,10)};return k.current&&(e=At(k.current)).forEach((function(e){return e.addEventListener("scroll",r)})),window.addEventListener("resize",r),n(),function(){e&&e.forEach((function(e){return e.removeEventListener("scroll",r)})),window.removeEventListener("resize",r),clearTimeout(t)}}),[b,m,a,s,c]),(0,y.useEffect)((function(){i&&m[1]===p&&r.length>=S&&r.length>0&&(x(r.length+1),i())}),[r.length,p,i,S,m,c]),(0,y.useEffect)((function(){0===r.length&&0===p&&0!==S&&(_([]),x(0),g([0,Ha(s,c)]))}),[p,S,s,c,r.length]),fn((function(){var e=setTimeout((function(){if(s&&k.current&&s!==f){var e=s-m[0]*c+(m[0]?1:0),t=k.current.parentNode.children.item(e);if(t){var n=function(e,t){var n;if(e){for(var r=e.parentNode;!n&&r&&r.getBoundingClientRect;){var i=r.getBoundingClientRect();i.height&&r.scrollHeight>i.height+10&&(n=r),r=r.parentNode}n?"body"===n.tagName.toLowerCase()&&(n=document):n=document}return n}(t);Bt(t,n)?t.scrollIntoView(!0):Ft(t,n)&&t.scrollIntoView(!1),d(s)}}}),100);return function(){return clearTimeout(e)}}),[m,s,c]),fn((function(){if(k.current){var e=k.current.parentNode.children;if((E.current?1:0)+(m[1]-m[0]+1)*c+1===e.length){for(var t,n,r=m[0];r<=m[1];){var i=(E.current?1:0)+(r-m[0])*c,o=Math.min(i+c-1,e.length-1),s=void 0!==n?n:e.item(i).getBoundingClientRect().top,l=e.item(o).getBoundingClientRect().bottom,u=l-s;!l||b&&b[r]===u||(t||(t=[].concat(b||[])),t[r]=u),n=l,r+=1}for(;a&&r<=p;){if(!b[r]&&b[r]!==b[0]){t||(t=[].concat(b||[]));var f=t;t[r]=f[0]}r+=1}t&&_(t)}}}),[p,b,m,a,c]);var C=(0,y.useMemo)((function(){if(!a)return 0;for(var e=0,t=0;t<m[0];)e+=b[t]||0,t+=1;return e}),[b,m,a]),O=(0,y.useMemo)((function(){if(!a)return 0;for(var e=0,t=m[1]+1;t<=p;)e+=b[t]||0,t+=1;return e}),[p,b,m,a]),T=m[0]*c,P=Math.min((m[1]+1)*c,r.length)-1,A=[];if(C){var M=y.createElement(Ot,{key:"above",ref:E,flex:!1,height:C+"px"});o&&(M=y.cloneElement(o(M),{key:"above"})),A.push(M)}if(r.slice(T,P+1).forEach((function(e,n){var r=t(e,T+n);A.push(r)})),a||m[1]<p||i){var L=y.createElement(Ot,{key:"below",ref:!o&&k||void 0,flex:!1,height:(O||0)+"px"});if(o){var I=o(L);L=y.cloneElement(I,{key:"below",ref:function(e){k.current=e;var t=I.ref;"function"==typeof t?t(e):null!==t&&(t.current=e)}})}A.push(L)}return A};Wa.propTypes={};var qa=y.createContext((function(e,t,n){void 0===t&&(t="polite"),void 0===n&&(n=500);var r=document.body.querySelector("#grommet-announcer[aria-live]")||function(){var e=document.createElement("div");return e.id="grommet-announcer",e.style.left="-100%",e.style.right="100%",e.style.position="fixed",e.style["z-index"]="-1",document.body.insertBefore(e,document.body.firstChild),e}();r.setAttribute("aria-live","off"),r.innerHTML=e,r.setAttribute("aria-live",t),setTimeout((function(){r.innerHTML=""}),n)}));qa.propTypes={};var Va=w.default.input.withConfig({displayName:"StyledTextInput",componentId:"sc-1x30a0s-0"})([""," "," "," "," "," ",";"],Re,(function(e){return"full"===(t=e.plain)?(0,w.css)([""," padding:0;"],Be):t&&Be;var t}),(function(e){return e.icon&&(e.reverse?"padding-right: "+e.theme.global.edgeSize.large+";":"padding-left: "+e.theme.global.edgeSize.large+";")}),(function(e){return e.disabled&&Ne(e.theme.textInput.disabled&&e.theme.textInput.disabled.opacity)}),(function(e){return e.textAlign&&We}),(function(e){return e.theme.textInput&&e.theme.textInput.extend}));Va.defaultProps={},Object.setPrototypeOf(Va.defaultProps,ge);var Ka=w.default.div.withConfig({displayName:"StyledTextInput__StyledTextInputContainer",componentId:"sc-1x30a0s-1"})(["position:relative;width:100%;",";"],(function(e){return e.theme.textInput&&e.theme.textInput.container&&e.theme.textInput.container.extend}));Ka.defaultProps={},Object.setPrototypeOf(Ka.defaultProps,ge);var Ga=w.default.div.withConfig({displayName:"StyledTextInput__StyledPlaceholder",componentId:"sc-1x30a0s-2"})(["position:absolute;left:","px;top:50%;transform:translateY(-50%);display:flex;justify-content:center;pointer-events:none;",";"],(function(e){return le(Me(e,"left"))-le(e.theme.global.control.border.width)}),(function(e){return e.theme.textInput&&e.theme.textInput.placeholder&&e.theme.textInput.placeholder.extend}));Ga.defaultProps={},Object.setPrototypeOf(Ga.defaultProps,ge);var Ya=w.default.div.withConfig({displayName:"StyledTextInput__StyledIcon",componentId:"sc-1x30a0s-3"})(["position:absolute;display:flex;justify:center;top:50%;transform:translateY(-50%);pointer-events:none;",""],(function(e){return e.reverse?"right: "+Me(e,"right")+";":"left: "+Me(e,"left")+";"})),Ja=w.default.ol.withConfig({displayName:"StyledTextInput__StyledSuggestions",componentId:"sc-1x30a0s-4"})(["border-top-left-radius:0;border-top-right-radius:0;margin:0;padding:0;list-style-type:none;",";"],(function(e){return e.theme.textInput&&e.theme.textInput.suggestions&&e.theme.textInput.suggestions.extend}));Ja.defaultProps={},Object.setPrototypeOf(Ja.defaultProps,ge);const Za=JSON.parse('{"calendar":{"previous":"Moved to {date}","next":"Moved to {date}"},"dateInput":{"enterCalendar":"Calendar is open, press tab to enter the calendar","exitCalendar":"Exited calendar dialog"},"fileInput":{"browse":"browse","dropPrompt":"Drop file here or","dropPromptMultiple":"Drop files here or","files":"files","maxSizeSingle":"The file is too large. Select a file no larger than {maxSize}.","maxSizeMultiple":{"singular":"One file is too large. Select files which are no larger than {maxSize}.","plural":"{numOfFiles} files are too large. Select files which are no larger than {maxSize}."},"remove":"remove","removeAll":"remove all","maxFile":"Attach a maximum of {max} files only."},"form":{"invalid":"invalid","required":"required"},"menu":{"openMenu":"Open Menu","closeMenu":"Close Menu"},"rangeSelector":{"lower":"Lower Bounds","upper":"Upper Bounds"},"select":{"multiple":"multiple"},"skipLinks":{"skipTo":"Skip To:"},"tabs":{"tabContents":"Tab Contents"},"textInput":{"enterSelect":"(Press Enter to Select)","suggestionsCount":"suggestions available","suggestionsExist":"This input has suggestions use arrow keys to navigate","suggestionIsOpen":"Suggestions drop is open, continue to use arrow keys to navigate"},"video":{"closeMenu":"close menu","fullScreen":"full screen","progressMeter":"video progress","scrubber":"scrubber","openMenu":"open menu","pauseButton":"pause","playButton":"play","volumeDown":"volume down","volumeUp":"volume up"}}');var Xa=function(e,t){var n,r=(null==(n=e.id)?void 0:n.split("."))||[],i=r[(null==r?void 0:r.length)-1],o=t;r.forEach((function(e){"object"==typeof o&&(o=o[e])}));var a=(e.messages?e.messages[i]:void 0)||o||e.defaultMessage,s=e.values,l=a,c=null==a?void 0:a.match(/\{(.+?)\}/g);return null==c||c.forEach((function(e){var t=e.substr(1,e.length-2),n=s[t];l=l.replace(e,n)})),s?l:a},Qa={messages:Za,format:function(e){return Xa(e,Za)}},es=y.createContext(Qa),ts=["a11yTitle","defaultSuggestion","defaultValue","dropAlign","dropHeight","dropTarget","dropProps","focusIndicator","icon","id","messages","name","onBlur","onChange","onFocus","onKeyDown","onSelect","onSuggestionSelect","onSuggestionsClose","onSuggestionsOpen","placeholder","plain","readOnly","reverse","suggestions","textAlign","value"];function ns(){return ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(this,arguments)}var rs=function(e){return e&&"object"==typeof e?e.label||e.value:e},is=function(e){return e&&"object"==typeof e?e.label&&"string"==typeof e.label?e.label:e.value:e},os=(0,w.default)(Ot).withConfig({displayName:"TextInput__ContainerBox",componentId:"sc-1ai0c08-0"})(["",";@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){width:100%;}"],(function(e){return e.dropHeight?Fe("max-height",e.dropHeight,e.theme):"max-height: inherit;"})),as={top:"bottom",left:"left"},ss=(0,y.forwardRef)((function(e,t){var n,r=e.a11yTitle,i=e.defaultSuggestion,o=e.defaultValue,a=e.dropAlign,s=void 0===a?as:a,l=e.dropHeight,c=e.dropTarget,u=e.dropProps,f=e.focusIndicator,d=void 0===f||f,p=e.icon,h=e.id,m=e.messages,g=e.name,v=e.onBlur,b=e.onChange,_=e.onFocus,S=e.onKeyDown,x=e.onSelect,E=e.onSuggestionSelect,k=e.onSuggestionsClose,C=e.onSuggestionsOpen,O=e.placeholder,T=e.plain,P=e.readOnly,A=e.reverse,M=e.suggestions,L=e.textAlign,I=e.value,R=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,ts),D=(0,y.useContext)(w.ThemeContext)||ge.theme,j=(0,y.useContext)(es).format,N=(0,y.useContext)(qa),F=(0,y.useContext)(Xi),B=pn(t),z=(0,y.useRef)(),$=(0,y.useRef)(),U=F.useFormInput({name:P?void 0:g,value:I}),H=U[0],W=U[1],q=(0,y.useState)(),V=q[0],K=q[1],G=(0,y.useState)(!1),Y=G[0],J=G[1],Z=(0,y.useMemo)((function(){return x&&!E?x:E}),[x,E]),X=(0,y.useMemo)((function(){return x&&E?x:void 0}),[x,E]),Q=(0,y.useState)(),ee=Q[0],te=Q[1],ne=(0,y.useCallback)((function(){J(!0),N(j({id:"textInput.suggestionIsOpen",messages:m})),N(M.length+" "+j({id:"textInput.suggestionsCount",messages:m})),C&&C()}),[N,m,j,C,M]),re=(0,y.useCallback)((function(){te(M),J(!1),k&&k()}),[k,M]);(0,y.useEffect)((function(){!V||Y||!M||!M.length||ee&&ee.length===M.length||ne()}),[V,ne,Y,M,ee]),(0,y.useEffect)((function(){!Y||M&&M.length||re()}),[re,Y,M]);var ie=(0,y.useMemo)((function(){return M?M.map((function(e){return"object"==typeof e?e.value:e})).indexOf(H):-1}),[M,H]),oe=(0,y.useMemo)((function(){return-1===ie&&"number"==typeof i?i:ie}),[i,ie]),ae=(0,y.useState)(oe),se=ae[0],le=ae[1],ce=(0,y.useState)(),ue=ce[0],fe=ce[1];(0,y.useEffect)((function(){return le(ie)}),[ie]),(0,y.useEffect)((function(){Y||le(oe)}),[oe,Y]),(0,y.useEffect)((function(){if(se>=0){var e=is(M[se]);N(e+" "+j({id:"textInput.enterSelect",messages:m}))}}),[se,N,m,j,M]),(0,y.useEffect)((function(){var e=setTimeout((function(){var e=$.current;if(Y&&-1!==se&&e){var t=e.parentNode,n=e.children[se];t.scrollTo&&(Ft(n,t)?t.scrollTo(0,n.offsetTop-(t.getBoundingClientRect().height-n.getBoundingClientRect().height)):Bt(n,t)&&t.scrollTo(0,n.offsetTop))}}),50);return function(){return clearTimeout(e)}}),[se,Y]);var de,pe=function(e,t){if(B.current.focus(),B.current.value=t,re(),Z){e.persist&&e.persist();var n=e;n.suggestion=t,Z(n)}W(t)},he=(0,y.useCallback)((function(e){e.preventDefault();var t=Math.min(se+1,M.length-1);le(t),fe(!1)}),[se,M]),me=(0,y.useCallback)((function(e){e.preventDefault();var t=Math.max(se-1,0);le(t),fe(!1)}),[se]),ve=H||(null==(n=B.current)?void 0:n.value),ye=(0,y.useMemo)((function(){return O&&"string"!=typeof O&&!ve}),[ve,O]),_e={onSelect:X};Y&&(de=y.createElement(un,ns({ref:z,id:h?"text-input-drop__"+h:void 0,align:s,responsive:!1,target:c||B.current,onClickOutside:re,onEsc:re},u),y.createElement(os,{overflow:"auto",dropHeight:l,onMouseMove:function(){return fe(!0)}},y.createElement(Ja,{ref:$},y.createElement(Wa,{items:M,step:D.select.step,show:-1!==se?se:void 0},(function(e,t,n){var r,i=rs(e);return"string"!=typeof i?r=i:D.button.option||(r=y.createElement(Ot,{align:"start",pad:"small"},i)),y.createElement("li",{key:is(e)+"-"+t,ref:n},y.createElement(Wn,{active:se===t,fill:!0,plain:!!r||void 0,align:"start",kind:r?void 0:"option",label:r?void 0:i,onClick:function(t){return pe(t,e)},onMouseMove:ue&&se!==t?function(){return le(t)}:void 0},r))}))))));var we={onKeyDown:S};return Y?(we.onEnter=function(e){e.preventDefault(),se>=0?pe(e,M[se]):re()},se>0&&(we.onUp=me),se<M.length-1&&(we.onDown=he),we.onTab=re):M&&M.length>0&&(we.onDown=ne),y.createElement(Ka,{plain:T},ye&&y.createElement(Ga,null,O),p&&y.createElement(Ya,{reverse:A,theme:D},p),y.createElement(be,ns({target:V?"document":void 0},we),y.createElement(Va,ns({"aria-label":r,ref:B,id:h,name:g,autoComplete:"off",plain:T,placeholder:"string"==typeof O?O:void 0,icon:p,reverse:A,focus:V,focusIndicator:d,textAlign:L},R,_e,{defaultValue:rs(o),value:rs(H),readOnly:P,onFocus:function(e){V||(K(!0),M&&M.length>0&&(N(j({id:"textInput.suggestionsExist",messages:m})),ne()),_&&_(e))},onBlur:function(e){e.relatedTarget&&e.relatedTarget===z.current||(K(!1),v&&v(e))},onChange:P?void 0:function(e){W(e.target.value),le(oe),b&&b(e)}}))),de)}));ss.displayName="TextInput",ss.propTypes={};var ls=w.default.div.withConfig({displayName:"StyledSelect__StyledContainer",componentId:"sc-znp66n-0"})(["@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){width:100%;}",";",";"],(function(e){return e.dropHeight?Fe("max-height",e.dropHeight,e.theme):"max-height: inherit;"}),(function(e){return e.theme.select.container&&e.theme.select.container.extend})),cs=function e(t,n){if(void 0!==t)return"object"==typeof n?e(t,n.key):"function"==typeof n?n(t):void 0!==n?t[n]:t};function us(){return us=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},us.apply(this,arguments)}var fs=w.default.div.withConfig({displayName:"SelectContainer__OptionsBox",componentId:"sc-1wi0ul8-0"})(["position:relative;scroll-behavior:smooth;overflow:auto;outline:none;"]),ds=(0,w.default)(Wn).withConfig({displayName:"SelectContainer__SelectOption",componentId:"sc-1wi0ul8-1"})([""," display:block;width:100%;"],(function(e){return e.selected&&e.textComponent&&j})),ps=function(e){var t=e.clear,n=e.onClear,r=e.name,i=e.theme,o=e.setFocus,a=t.label,s="bottom"!==t.position?"start":"center",l=a||"Clear "+(r||"selection");return y.createElement(Wn,{onClick:n,onFocus:function(){return o(!0)},onBlur:function(){return o(!1)}},y.createElement(Ot,us({},i.select.clear.container,{align:s}),y.createElement(An,i.select.clear.text,l)))},hs=(0,y.forwardRef)((function(e,t){var n=e.clear,r=e.children,i=void 0===r?null:r,o=e.disabled,a=e.disabledKey,s=e.dropHeight,l=e.emptySearchMessage,c=void 0===l?"No matches found":l,u=e.id,f=e.labelKey,d=e.multiple,p=e.name,h=e.onChange,m=e.onKeyDown,g=e.onMore,v=e.onSearch,b=e.optionIndexesInValue,_=e.options,S=e.allOptions,x=e.searchPlaceholder,E=e.search,k=e.setSearch,C=e.selected,O=e.value,T=void 0===O?"":O,P=e.valueKey,A=e.replace,M=void 0===A||A,L=(0,y.useContext)(w.ThemeContext)||ge.theme,I=(0,y.useState)(-1),R=I[0],D=I[1],j=(0,y.useState)(),N=j[0],F=j[1],B=(0,y.useState)(!1),z=B[0],$=B[1],U=(0,y.useRef)(),H=(0,y.useRef)();(0,y.useEffect)((function(){-1===R&&E&&b.length&&D(b[0])}),[R,b,E]),(0,y.useEffect)((function(){var e=setTimeout((function(){var e=H.current;if(v){var t=U.current;t&&t.focus&&Lt(t)}else e&&Lt(e)}),100);return function(){return clearTimeout(e)}}),[v]),(0,y.useEffect)((function(){if(N){var e=setTimeout((function(){return F(!1)}),100);return function(){return clearTimeout(e)}}}),[N]);var W=(0,y.useCallback)((function(e){return cs(_[e],f)}),[f,_]),q=(0,y.useCallback)((function(e){return cs(_[e],P)}),[_,P]),V=(0,y.useCallback)((function(e){var t,n=_[e];if(a)t=cs(n,a);else if(Array.isArray(o))if("number"==typeof o[0])t=-1!==o.indexOf(e);else{var r=q(e);t=-1!==o.indexOf(r)}return t}),[o,a,_,q]),K=(0,y.useCallback)((function(e){var t;if(C)t=-1!==C.indexOf(e);else{var n=q(e);Array.isArray(T)?0===T.length?t=!1:"object"!=typeof T[0]?t=-1!==T.indexOf(n):P&&(t=T.some((function(e){return("function"==typeof P?P(e):e[P])===n}))):t=P&&"object"==typeof T?("function"==typeof P?P(T):T[P])===n:T===n}return t}),[q,C,T,P]),G=(0,y.useCallback)((function(e){return function(t){if(h){var n,r;if(d){var i=b.slice(0),o=S.indexOf(_[e]),a=b.indexOf(o);-1===a?i.push(o):i.splice(a,1),n=i.map((function(e){return P&&P.reduce?cs(S[e],P):S[e]})),r=i}else n=P&&P.reduce?cs(_[e],P):_[e],r=e;h(t,{option:_[e],value:n,selected:r})}}}),[d,h,b,_,S,P]),Y=(0,y.useCallback)((function(e){h(e,{option:void 0,value:"",selected:""})}),[h]),J=(0,y.useCallback)((function(e){e.preventDefault();for(var t=R+1;t<_.length&&V(t);)t+=1;t!==_.length&&(D(t),F(!0))}),[R,V,_]),Z=(0,y.useCallback)((function(e){e.preventDefault();for(var t=R-1;t>=0&&V(t);)t-=1;t>=0&&(D(t),F(!0))}),[R,V]),X=(0,y.useCallback)((function(e){if(!v){var t=_.findIndex((function(t,n){var r;return"string"==typeof(r="object"==typeof t?t.label||cs(t,f):t)&&r.charAt(0).toLowerCase()===e.key.toLowerCase()&&!V(n)}));t>=0&&(e.preventDefault(),D(t),F(!0))}m&&m(e)}),[m,_,V,v,f]),Q=(0,y.useCallback)((function(e){return function(){N||D(e)}}),[N]),ee=(0,y.useCallback)((function(e){R>=0&&!z&&(e.preventDefault(),G(R)(e))}),[R,G,z]),te=L.select.searchInput,ne=te||ss,re=L.select.options?us({},L.select.options.box,L.select.options.container):{};return y.createElement(be,{onEnter:ee,onUp:Z,onDown:J,onKeyDown:X},y.createElement(ls,{ref:t,as:Ot,id:u?u+"__select-drop":void 0,dropHeight:s},v&&y.createElement(Ot,{pad:te?void 0:"xsmall",flex:!1},y.createElement(ne,{focusIndicator:!te,size:"small",ref:U,type:"search",value:E||"",placeholder:x,onChange:function(e){var t=e.target.value;k(t),D(-1),v(t)}})),n&&"bottom"!==n.position&&T&&y.createElement(ps,{clear:n,name:p,onClear:Y,theme:L,setFocus:$}),y.createElement(fs,{role:"menubar",tabIndex:"-1",ref:H},_.length>0?y.createElement(Wa,{items:_,step:L.select.step,onMore:g,replace:M,show:-1!==R?R:void 0},(function(e,t,n){var r,o=V(t),a=K(t),s=R===t,l=!1;return i?("string"==typeof(r=i(e,t,_,{active:s,disabled:o,selected:a}))||r.props&&r.props.children&&"string"==typeof r.props.children)&&(l=!0):L.select.options&&(r=y.createElement(Ot,re,y.createElement(An,L.select.options.text,W(t))),l=!0),y.createElement(ds,{key:t,ref:n,tabIndex:"-1",role:"menuitem",plain:!!r||void 0,align:"start",kind:r?void 0:"option",hoverIndicator:r?"background":void 0,label:r?void 0:W(t),disabled:o||void 0,active:s,selected:a,option:e,onMouseOver:o?void 0:Q(t),onClick:o?void 0:G(t),textComponent:l},r)})):y.createElement(ds,{key:"search_empty",tabIndex:"-1",role:"menuitem",hoverIndicator:"background",disabled:!0},y.createElement(Ot,re,y.createElement(An,L.select.container.text,c)))),n&&"bottom"===n.position&&T&&y.createElement(ps,{clear:n,name:p,onClear:Y,theme:L,setFocus:$})))})),ms=["a11yTitle","aria-label","alignSelf","children","clear","closeOnChange","defaultValue","disabled","disabledKey","dropAlign","dropHeight","dropProps","dropTarget","emptySearchMessage","focusIndicator","gridArea","id","icon","labelKey","margin","messages","multiple","name","onBlur","onChange","onClick","onClose","onFocus","onKeyDown","onMore","onOpen","onSearch","open","options","placeholder","plain","replace","searchPlaceholder","selected","size","value","valueKey","valueLabel"];function gs(){return gs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gs.apply(this,arguments)}var vs=(0,w.default)(ss).withConfig({displayName:"Select__SelectTextInput",componentId:"sc-17idtfo-0"})(["cursor:",";"],(function(e){return e.defaultCursor?"default":"pointer"})),ys=w.default.input.withConfig({displayName:"Select__HiddenInput",componentId:"sc-17idtfo-1"})(["display:none;"]),bs=(0,w.default)(Ua).withConfig({displayName:"Select__StyledSelectDropButton",componentId:"sc-17idtfo-2"})(["",";",";",";"],(function(e){return!e.callerPlain&&Ee}),(function(e){return e.theme.select&&e.theme.select.control&&e.theme.select.control.extend}),(function(e){return e.open&&e.theme.select.control.open}));bs.defaultProps={},Object.setPrototypeOf(bs.defaultProps,ge);var _s={top:"bottom",left:"left"},ws=(0,y.forwardRef)((function(e,t){var n=e.a11yTitle,r=e["aria-label"],i=e.alignSelf,o=e.children,a=e.clear,s=void 0!==a&&a,l=e.closeOnChange,c=void 0===l||l,u=e.defaultValue,f=e.disabled,d=e.disabledKey,p=e.dropAlign,h=void 0===p?_s:p,m=e.dropHeight,g=e.dropProps,v=e.dropTarget,b=e.emptySearchMessage,_=e.focusIndicator,x=e.gridArea,E=e.id,k=e.icon,C=e.labelKey,O=e.margin,T=e.messages,P=e.multiple,A=e.name,M=e.onBlur,L=e.onChange,I=e.onClick,R=e.onClose,D=e.onFocus,j=e.onKeyDown,N=e.onMore,F=e.onOpen,B=e.onSearch,z=e.open,$=e.options,U=e.placeholder,H=e.plain,W=e.replace,q=e.searchPlaceholder,V=e.selected,K=e.size,G=e.value,Y=e.valueKey,J=e.valueLabel,Z=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,ms),X=(0,y.useContext)(w.ThemeContext)||ge.theme,Q=(0,y.useRef)(),ee=(0,y.useContext)(Xi),te=(0,y.useContext)(es).format,ne=ee.useFormInput({name:A,value:G,initialValue:u||""}),re=ne[0],ie=ne[1],oe=(0,y.useMemo)((function(){return Array.isArray(re)?re.map((function(e){return Y&&Y.reduce?e:cs(e,Y)})):Y&&Y.reduce?re:cs(re,Y)}),[re,Y]),ae=(0,y.useState)(),se=ae[0],le=ae[1],ce=(0,y.useState)($),ue=ce[0],fe=ce[1];(0,y.useEffect)((function(){se||fe($)}),[$,se]);var de=(0,y.useMemo)((function(){var e=[];return ue.forEach((function(t,n){void 0!==V?Array.isArray(V)?-1!==V.indexOf(n)&&e.push(n):n===V&&e.push(n):Array.isArray(oe)?oe.some((function(e){return e===cs(t,Y)}))&&e.push(n):oe===cs(t,Y)&&e.push(n)})),e}),[ue,V,Y,oe]),pe=(0,y.useState)(z),he=pe[0],me=pe[1];(0,y.useEffect)((function(){return me(z)}),[z]);var ve,ye=(0,y.useCallback)((function(){he||(me(!0),F&&F())}),[F,he]),_e=(0,y.useCallback)((function(){me(!1),R&&R()}),[R]),we=(0,y.useCallback)((function(e){Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set.call(Q.current,e);var t=new Event("input",{bubbles:!0});Q.current.dispatchEvent(t)}),[]),Se=(0,y.useCallback)((function(e,t){var n,r=t.option,i=t.value,o=t.selected;c&&_e(),"object"!=typeof i&&i!==e.target.value&&Q.current&&we(i),ie(i),L&&(e.persist(),e instanceof Event?(n=new e.constructor(e.type,e),Object.defineProperties(n,{target:{value:Q.current},value:{value:i},option:{value:r},selected:{value:o}})):((n=e).target=Q.current,n.value=i,n.option=r,n.selected=o),L(n)),le()}),[c,L,_e,ie,we]);switch(k){case!1:break;case!0:case void 0:ve=he&&X.select.icons.up?X.select.icons.up:X.select.icons.down;break;default:ve=k}var xe=(0,y.useMemo)((function(){return J||(y.isValidElement(re)?re:void 0)}),[re,J]),Ee=(0,y.useMemo)((function(){if(!xe)return 0===de.length?"":1===de.length?cs(ue[de[0]],C):te({id:"select.multiple",messages:T})}),[C,T,te,de,ue,xe]),ke=S(X.select.icons.color||"control",X);return y.createElement(be,{onDown:ye,onUp:ye},y.createElement(bs,{ref:t,a11yTitle:r||n,id:E,disabled:!0===f||void 0,dropAlign:h,dropTarget:v,open:he,alignSelf:i,focusIndicator:_,onFocus:D,onBlur:M,gridArea:x,margin:O,onOpen:ye,onClose:_e,onClick:I,dropContent:y.createElement(hs,{clear:s,disabled:f,disabledKey:d,dropHeight:m,emptySearchMessage:b,id:E,labelKey:C,multiple:P,name:A,onChange:Se,onKeyDown:j,onMore:N,onSearch:B,options:$,allOptions:ue,optionIndexesInValue:de,replace:W,searchPlaceholder:q,search:se,setSearch:le,selected:V,value:re,valueKey:Y},o),callerPlain:H,plain:!0,dropProps:g,theme:X},y.createElement(Ot,{align:"center",direction:"row",justify:"between",background:X.select.background},y.createElement(Ot,{direction:"row",flex:!0,basis:"auto"},xe?y.createElement(y.Fragment,null,xe,y.createElement(ys,{type:"text",id:E?E+"__input":void 0,value:Ee,ref:Q,readOnly:!0})):y.createElement(vs,gs({a11yTitle:(r||n)&&(r||n)+(re&&"string"==typeof re?", "+re:""),defaultCursor:!0===f||void 0,focusIndicator:!1,id:E?E+"__input":void 0,name:A,ref:Q},Z,{tabIndex:"-1",type:"text",placeholder:U,plain:!0,readOnly:!0,value:Ee,size:K,theme:X}))),ve&&y.createElement(Ot,{margin:X.select.icons.margin,flex:!1,style:{minWidth:"auto"}},(0,y.isValidElement)(ve)?ve:y.createElement(ve,{color:ke,size:K})))))}));ws.defaultProps=gs({},ge),ws.displayName="Select",ws.propTypes={};var Ss,xs,Es=(0,w.default)(ws)(Ss||(Ss=(0,d.__makeTemplateObject)(["\n\tfont-family: ",";\n\tfont-size: ",";\n\tfont-weight: normal;\n\t/* The wrapping button component has borders of 1px, and changing it's height messes up the drop alignment, so we subtract the border width on the input */\n\theight: ",";\n\tpadding: ",";\n\tpadding-right: 0px;\n\tpadding-left: 20px;\n"],["\n\tfont-family: ",";\n\tfont-size: ",";\n\tfont-weight: normal;\n\t/* The wrapping button component has borders of 1px, and changing it's height messes up the drop alignment, so we subtract the border width on the input */\n\theight: ",";\n\tpadding: ",";\n\tpadding-right: 0px;\n\tpadding-left: 20px;\n"])),(function(e){return e.theme.font}),(function(e){return(0,tr.px)(e.theme.fontSizes[2])}),(function(e){return(0,tr.px)((e.emphasized?e.theme.space[5]:e.theme.space[4])-2)}),(function(e){return e.emphasized?"14px":"10px"})),ks=w.default.div(xs||(xs=(0,d.__makeTemplateObject)(["\n\t& > button {\n\t\twidth: 100%;\n\t\tborder-color: ",";\n\t}\n"],["\n\t& > button {\n\t\twidth: 100%;\n\t\tborder-color: ",";\n\t}\n"])),(function(e){var t,n=e.invalid,r=e.theme;return n?null===(t=null==r?void 0:r.colors)||void 0===t?void 0:t.danger.main:""})),Cs=(0,b.Ay)((function(e){e.size,e.selected,e.focusIndicator,e.margin;var t=e.className,n=e.dropProps,r=e.invalid,i=(0,d.__rest)(e,["size","selected","focusIndicator","margin","className","dropProps","invalid"]);return y.createElement(ks,{invalid:r,className:t},y.createElement(Es,(0,d.__assign)({},i,{dropProps:(0,d.__assign)((0,d.__assign)({},n),{elevation:"none"}),focusIndicator:!1})))})),Os=n(26535),Ts=n.n(Os),Ps=n(53445),As=n.n(Ps),Ms=n(68881),Ls=n.n(Ms),Is=n(20846),Rs=n.n(Is),Ds=function(){return{contains:"contains",not_contains:"does not contain"}},js=function(e,t,n,r,i){var o,a=Ns(e,r,n,t);return Object.keys(a).length?{properties:(o={},o[e]=(0,d.__assign)({type:"array"},a),o),required:[e]}:{}},Ns=function(e,t,n,r){var i;if((null==t?void 0:t.items)&&"boolean"!=typeof t.items&&"properties"in t.items&&t.items.properties){var o=Object.entries(t.items.properties).map((function(e){var t=e[0],i=e[1];return Il(i,t,r,n)}));return{minItems:1,contains:1===o.length?o[0]:{anyOf:o}}}var a=function(e){return!!(null==e?void 0:e.items)&&"boolean"!=typeof e.items&&"type"in e.items}(t),s=a?t.items:t,l=r.slug===El||a&&"string"===t.items.type?r:Fs(r),c=Il(s,e,l,n),u=null===(i=c.properties)||void 0===i?void 0:i[e],f=a&&u?u:c;return Object.keys(f).length?"object"==typeof f.not?{not:{contains:f.not}}:{minItems:1,contains:f}:f},Fs=function(e){return"not_contains"===e.slug?{slug:"is_not",label:"is not"}:"contains"===e.slug?{slug:"is",label:"is"}:e},Bs=function(e,t){var n=Dl(e),r=e.items,i=jl(null==n?void 0:n[0]);if(r&&i)return Rs()(r.properties,i);var o=r||e,a=bl(o);return a&&"editSchema"in a?a.editSchema(o,t):o},zs=function(){return{is:"is"}},$s=function(e,t,n){var r,i,o=t.slug,a="string"==typeof n?"true"===n.toLowerCase():n;return"is"===o?{properties:(r={},r[e]={const:a},r),required:[e]}:"is_not"===o?{properties:(i={},i[e]={not:{const:a}},i),required:[e]}:{}},Us=function(){return{"ui:widget":"select"}},Hs=n(36982),Ws=n.n(Hs)()((function(e,t){var n=new Date(e);return isNaN(n.getTime())?null:"number"===t?n.getTime():n.toISOString().split(".")[0]+"Z"})),qs=function(){return{is:"is",is_before:"is before",is_after:"is after"}},Vs=function(e,t,n,r){var i,o,a,s,l=t.slug,c=r.type,u=Ws(n,c);if(null!=n&&null==u)return{};if("is"===l)return{properties:(i={},i[e]={type:null!=c?c:"string",format:"date-time",const:u},i),required:[e]};if("is_not"===l)return{properties:(o={},o[e]={type:null!=c?c:"string",format:"date-time",not:{const:u}},o),required:[e]};if("is_before"===l){var f="number"===c?{exclusiveMaximum:u}:{formatMaximum:u};return{properties:(a={},a[e]=(0,d.__assign)({type:null!=c?c:"string",format:"date-time"},f),a),required:[e]}}return"is_after"===l?(f="number"===c?{exclusiveMinimum:u}:{formatMinimum:u},{properties:(s={},s[e]=(0,d.__assign)({type:null!=c?c:"string",format:"date-time"},f),s),required:[e]}):{}},Ks=function(){return{is:"is",is_not:"is not"}},Gs=function(e,t,n){var r,i,o,a=t.slug;return a===El&&"string"==typeof n?{properties:(r={},r[e]={type:"string",regexp:{pattern:Nr(n),flags:"i"}},r),required:[e]}:"is"===a||a===El?{properties:(i={},i[e]={const:n},i),required:[e]}:"is_not"===a?{properties:(o={},o[e]={not:{const:n}},o)}:{}},Ys=function(){return{is:"is",is_not:"is not",is_more_than:"is more than",is_less_than:"is less than"}},Js=function(e,t,n){var r,i,o,a,s=t.slug,l="number"==typeof n?n:""!==n&&null!=n?Number(n):void 0;return null==l||isNaN(l)?{}:"is"===s||s===El?{properties:(r={},r[e]={type:"number",const:l},r),required:[e]}:"is_not"===s?{properties:(i={},i[e]={type:"number",not:{const:l}},i),required:[e]}:"is_more_than"===s?{properties:(o={},o[e]={type:"number",exclusiveMinimum:l},o),required:[e]}:"is_less_than"===s?{properties:(a={},a[e]={type:"number",exclusiveMaximum:l},a),required:[e]}:{}},Zs=n(69575),Xs=n.n(Zs),Qs=n(55060),el=n.n(Qs),tl=n(33378),nl=n.n(tl),rl=n(88145),il=n.n(rl),ol=function(e){return!!Xs()(e.properties,{description:"key"})||!!Xs()(e.properties,{description:"value"})},al=function(e){return(0,d.__assign)((0,d.__assign)({},Dl(e)?{}:{is:"is",is_not:"is not"}),ol(e)?(t=function(e){var t=Xs()(e.properties,{description:"key"});return t&&t.title?t.title:"key"}(e),n=function(e){var t=Xs()(e.properties,{description:"value"});return t&&t.title?t.title:"value"}(e),{key_contains:"".concat(t," contains"),key_not_contains:"".concat(t," does not contain"),key_is:"".concat(t," is"),key_matches_re:"".concat(t," matches RegEx"),key_not_matches_re:"".concat(t," does not match RegEx"),value_is:"".concat(n," is"),value_contains:"".concat(n," contains"),value_not_contains:"".concat(n," does not contain"),value_matches_re:"".concat(n," matches RegEx"),value_not_matches_re:"".concat(n," does not match RegEx")}):{contains:"contains",not_contains:"does not contain"});var t,n},sl=["key_is","key_contains","key_not_contains","key_matches_re","key_not_matches_re"],ll=["value_is","value_contains","value_not_contains","value_matches_re","value_not_matches_re"],cl=function(e,t,n,r){var i,o,a,s,l,c,u,f,p,h=t.slug;n=ol(r)?function(e,t,n){var r,i;if(sl.includes(e)){var o=el()(t.properties,{description:"key"});return"string"==typeof n?((r={})[o]=n,r):il()(n,o)}if(ll.includes(e)){var a=el()(t.properties,{description:"value"});return"string"==typeof n?((i={})[a]=n,i):il()(n,a)}return n}(h,r,n):n;var m=function(e,t,n){if("object"!=typeof n||!t.properties)return t.title;var r=t.properties[Object.keys(n)[0]];return(0,d.__spreadArray)((0,d.__spreadArray)([],sl,!0),ll,!0).includes(e)&&"object"==typeof r?r.title:t.title}(h,r,n),g=function(e){return{description:e,regexp:{pattern:Nr(e),flags:"i"}}},v=function(e){return{pattern:e}};if(!ol(r))return{properties:(i={},i[e]=dl(e,r,n,t),i),required:[e]};if(h===El){var y=[el()(r.properties,{description:"key"}),el()(r.properties,{description:"value"})].map((function(e){var t;return{properties:(t={},t[e]={pattern:Nr(n)},t),required:[e]}}));return{properties:(o={},o[e]={contains:{title:m,anyOf:y}},o)}}return"is"===h?{properties:(a={},a[e]={contains:{title:m,properties:nl()(n,(function(e){return{const:e}}))}},a),required:[e]}:"is_not"===h?{properties:(s={},s[e]={not:{contains:{title:m,properties:nl()(n,(function(e){return{const:e}}))}}},s)}:"key_is"===h||"value_is"===h?{properties:(l={},l[e]={contains:{title:m,properties:nl()(n,(function(e){return{const:e}}))}},l),required:[e]}:"key_contains"===h||"value_contains"===h?{properties:(c={},c[e]={contains:{title:m,properties:"object"!=typeof n?g(n):nl()(n,g)}},c),required:[e]}:"key_not_contains"===h||"value_not_contains"===h?{properties:(u={},u[e]={not:{contains:{title:m,properties:"object"!=typeof n?g(n):nl()(n,g)}}},u)}:"key_matches_re"===h||"value_matches_re"===h?{properties:(f={},f[e]={contains:{title:m,properties:"object"!=typeof n?v(n):nl()(n,v)}},f),required:[e]}:"key_not_matches_re"===h||"value_not_matches_re"===h?{properties:(p={},p[e]={not:{contains:{title:m,properties:"object"!=typeof n?v(n):nl()(n,v)}}},p)}:{}},ul=function(e,t){var n=el()(e.properties,{description:"key"}),r=el()(e.properties,{description:"value"});return t&&sl.includes(t.slug)&&n?(0,d.__assign)((0,d.__assign)({},e),{title:"",properties:il()(e.properties,n)}):t&&ll.includes(t.slug)&&r?(0,d.__assign)((0,d.__assign)({},e),{title:"",properties:il()(e.properties,r)}):(0,d.__assign)((0,d.__assign)({},e),{title:""})},fl=function(e){var t,n;return e.properties&&"object"==typeof e.properties&&null!==(n=null===(t=Object.entries(e.properties))||void 0===t?void 0:t.reduce((function(e,t){var n=t[0],r=t[1];return e[n]={"ui:options":{label:!1,placeholder:"string"==typeof r.title?r.title:""}},e}),{}))&&void 0!==n?n:{}},dl=function(e,t,n,r){var i;return(null==t?void 0:t.properties)&&"boolean"!=typeof t.properties?{anyOf:Object.entries(t.properties).map((function(e){var t=e[0],i=e[1];return Il(i,t,r,n)}))}:{contains:null===(i=Il(t,e,r,n).properties)||void 0===i?void 0:i[e]}},pl=function(){return{is:"is",is_not:"is not"}},hl=function(e,t,n,r){var i,o,a,s,l=t.slug;if(l===El&&"string"==typeof n&&(null===(s=r.oneOf)||void 0===s?void 0:s.every((function(e){return"object"==typeof e&&"string"==typeof e.title&&"string"==typeof e.const})))){var c=r.oneOf.filter((function(e){return e.title.toLowerCase().includes(n.toLowerCase())})).map((function(e){return e.const}));if(c.length)return{properties:(i={},i[e]={enum:c},i),required:[e]}}return"is"===l||l===El?{properties:(o={},o[e]={const:n},o),required:[e]}:"is_not"===l?{properties:(a={},a[e]={not:{const:n}},a)}:{}},ml=function(){return{contains:"contains",not_contains:"does not contain",is:"is",is_not:"is not",matches_re:"matches RegEx",not_matches_re:"does not match RegEx"}},gl=function(e,t,n){var r,i,o,a,s,l,c=t.slug;return"is"===c?{properties:(r={},r[e]={type:"string",const:n},r),required:[e]}:"is_not"===c?{properties:(i={},i[e]={type:"string",not:{const:n}},i),required:[e]}:"contains"===c||c===El?{properties:(o={},o[e]={type:"string",regexp:{pattern:Nr(n),flags:"i"}},o),required:[e]}:"not_contains"===c?{properties:(a={},a[e]={not:{type:"string",regexp:{pattern:Nr(n),flags:"i"}}},a)}:"matches_re"===c?{properties:(s={},s[e]={type:"string",pattern:n},s),required:[e]}:"not_matches_re"===c?{properties:(l={},l[e]={type:"string",not:{pattern:n}},l)}:{}},vl=function(e){return null==e?void 0:e.endsWith("date-time")},yl={array:r,string:u,object:l,boolean:i,number:s},bl=function(e){if(!e)return null;var t=e.format,n=e.type;if(e.enum)return a;if(e.oneOf)return c;if(vl(t))return o;var r=Array.isArray(n)?n:[n],i=Object.keys(yl).find((function(e){return r.includes(e)}));return i?yl[i]:null},_l=n(85596),wl=n.n(_l),Sl=function(e,t,n,r,i,o){return JSON.stringify({title:e,field:t,operator:n,value:r,label:i,refScheme:o})},xl=new(As());Ls()(xl,["regexp","formatMaximum","formatMinimum"]);var El="full_text_search",kl=function(e){var t;return(null!==(t=e.anyOf.map((function(e){return Al(e)})).filter((function(e){return null!==e})))&&void 0!==t?t:[]).map((function(e){return(0,d.__assign)((0,d.__assign)({},e),{key:e.refScheme?"".concat(e.field,"__").concat(e.refScheme):e.field})}))},Cl=function(e,t){var n=t.map((function(t){var n=t.field,r=t.operator,i=t.value,o=t.refScheme,a=o?Fl(e,n,o):(0,d.__assign)({},e.properties[n]),s=function(e,t){if(Array.isArray(e.oneOf)){var n=e.oneOf.find((function(e){return e&&"object"==typeof e&&e.const===t}));return"object"==typeof n?n.title:void 0}}(a,i),l=bl(a);return l?(0,d.__assign)({$id:jr(),title:r.slug,description:Sl(a.title,n,r,i,s,o),type:"object"},l.createFilter(n,r,i,a,o)):{}}));return{$id:jr(),anyOf:n}},Ol=function(e,t){var n=e.properties?Object.entries(e.properties).reduce((function(e,t){var n,r=t[0],i=t[1],o=bl(i);return(null===(n=i.type)||void 0===n?void 0:n.includes("boolean"))||vl(i.format)||!o||e.push({key:r,schema:i,model:o}),e}),[]):[];return Tl(t,n)},Tl=function(e,t){var n={label:"full text search",slug:El};return{$id:jr(),title:El,anyOf:[{title:El,description:Sl("Any field","any",n,e,void 0,void 0),anyOf:t.map((function(t){var r=t.key,i=t.schema,o=t.model;return o?o.createFilter(r,n,e,i):{}})).filter((function(e){return Object.keys(e).length>0}))}]}};function Pl(e,t){xl.removeSchema(/^.*$/);var n=Array.isArray(e)?e.map((function(e){return xl.compile(e)})):[xl.compile(e)];return Array.isArray(t)?t.filter((function(e){return n.every((function(t){return t(e)}))})):wl()(t,(function(e){return n.every((function(t){return t(e)}))}))}var Al=function(e){return e&&"boolean"!=typeof e&&e.description&&function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e.description)?JSON.parse(e.description):null},Ml=function(e,t){var n=Al(e);return n&&t in n?n[t]:null},Ll=function(e,t,n){var r=n?Bl(e.properties[t],n):e.properties[t],i=bl(r);return i?Object.entries(i.operators(r)).map((function(e){return{slug:e[0],label:e[1]}})):[]},Il=function(e,t,n,r){var i=bl(e);if(!i)throw new Error("getModelFilter: model not defied, something is probably wrong with the type declaration in the schema! field: ".concat(t,", type: ").concat(e.type));return i.createFilter(t,n,r,e)},Rl=function(e){var t;return null!==(t=Bl(e).format)&&void 0!==t?t:e.format},Dl=function(e){var t,n=Al(e);return n&&("x-foreign-key-scheme"in n||"x-ref-scheme"in n)?null!==(t=n["x-foreign-key-scheme"])&&void 0!==t?t:n["x-ref-scheme"]:null},jl=function(e){return e?e.split(".").join(".properties.").replace(/\[\d+\]/g,".items"):e},Nl=function(e,t,n){var r,i,o;return n?null!==(o=null!==(i=null===(r=Bl(e,n))||void 0===r?void 0:r.title)&&void 0!==i?i:e.title)&&void 0!==o?o:t:(null==e?void 0:e.title)||t},Fl=function(e,t,n){var r,i,o,a,s=null!==(i=null===(r=e.properties)||void 0===r?void 0:r[t])&&void 0!==i?i:e;if(!n)return s;var l=s.items?"items.properties.".concat(jl(n)):"properties.".concat(jl(n)),c=[],u=[];l.split(".").forEach((function(e){["properties","items"].includes(e)&&c.push((0,d.__spreadArray)((0,d.__spreadArray)([],u,!0),["type"],!1)),u.push(e)})),u.length&&c.push(u);var f=Rs()(s,l),p=null!==(o=Al(f))&&void 0!==o?o:{};return(0,d.__assign)((0,d.__assign)((0,d.__assign)({},s),{description:"".concat(JSON.stringify(Object.assign(p,{"x-ref-scheme":[n]}))),title:null!==(a=null==f?void 0:f.title)&&void 0!==a?a:s.title}),il()(s,c))},Bl=function(e,t){var n,r=t||(null===(n=Dl(e))||void 0===n?void 0:n[0]),i=jl(r);if(!i)return e;var o=Hr(e,"properties");return Rs()(o,i)},zl=n(50704),$l=n.n(zl),Ul=n(91153),Hl=n(15372),Wl=n(37592),ql=n(84466),Vl=n(92926),Kl=n(37054);function Gl(e){return Gl="function"==typeof Vl&&"symbol"==typeof Kl?function(e){return typeof e}:function(e){return e&&"function"==typeof Vl&&e.constructor===Vl&&e!==Vl.prototype?"symbol":typeof e},Gl(e)}var Yl=n(11953);function Jl(e){var t=function(e,t){if("object"!=Gl(e)||!e)return e;var n=e[Yl];if(void 0!==n){var r=n.call(e,"string");if("object"!=Gl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gl(t)?t:t+""}function Zl(e,t,n){return(t=Jl(t))in e?ql(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Ul(n);"function"==typeof Hl&&r.push.apply(r,Hl(n).filter((function(e){return Wl(n,e).enumerable}))),r.forEach((function(t){Zl(e,t,n[t])}))}return e}var Ql=n(69868),ec=n.n(Ql),tc=n(60812),nc=n.n(tc);function rc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),ql(e,Jl(r.key),r)}}function oc(e,t,n){return t&&ic(e.prototype,t),n&&ic(e,n),ql(e,"prototype",{writable:!1}),e}function ac(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sc(e,t){if(t&&("object"===Gl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ac(e)}var lc=n(28542),cc=n(98922);function uc(e){return uc=lc?cc.bind():function(e){return e.__proto__||cc(e)},uc(e)}var fc=n(53001);function dc(e,t){return dc=lc?lc.bind():function(e,t){return e.__proto__=t,e},dc(e,t)}function pc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=fc(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),ql(e,"prototype",{writable:!1}),t&&dc(e,t)}var hc=n(88091),mc=n.n(hc),gc=n(81456),vc=n.n(gc),yc=n(80976),bc=n.n(yc),_c=n(24180),wc=n.n(_c),Sc=n(63855);function xc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ec=n(67179);function kc(e){return function(e){if(Sc(e))return xc(e)}(e)||function(e){if(void 0!==Vl&&null!=e[Kl]||null!=e["@@iterator"])return Ec(e)}(e)||function(e,t){if(e){if("string"==typeof e)return xc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Ec(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Cc=n(19270),Oc=n.n(Cc),Tc=n(61744);function Pc(){return Pc=Tc?Tc.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pc.apply(this,arguments)}function Ac(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Ul(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Hl){var o=Hl(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Mc=n(23332),Lc=n(73192),Ic=n.n(Lc),Rc=n(12582),Dc=n.n(Rc),jc=n(63965),Nc=n.n(jc),Fc=n(95110),Bc=n(59435),zc=n.n(Bc);function $c(e){var t=e.type,n=void 0===t?"default":t,r=e.icon,i=e.className,o=Ac(e,["type","icon","className"]);return y.createElement("button",Pc({type:"button",className:"btn btn-".concat(n," ").concat(i)},o),y.createElement("i",{className:"glyphicon glyphicon-".concat(r)}))}function Uc(e){var t=e.className,n=e.onClick,r=e.disabled;return y.createElement("div",{className:"row"},y.createElement("p",{className:"col-xs-3 col-xs-offset-9 text-right ".concat(t)},y.createElement($c,{type:"info",icon:"plus",className:"btn-add col-xs-12","aria-label":"Add",tabIndex:"0",onClick:n,disabled:r})))}var Hc=n(2162),Wc=n.n(Hc),qc=St().shape({ArrayFieldTemplate:St().elementType,FieldTemplate:St().elementType,ObjectFieldTemplate:St().elementType,definitions:St().object.isRequired,rootSchema:St().object,fields:St().objectOf(St().elementType).isRequired,formContext:St().object.isRequired,widgets:St().objectOf(St().oneOfType([St().func,St().object])).isRequired}),Vc=(St().bool,St().bool,St().object,St().any,St().object,St().func,St().func.isRequired,St().func,St().arrayOf(St().string),St().bool,qc.isRequired,St().bool,St().object.isRequired,St().shape({"ui:options":St().shape({addable:St().bool,orderable:St().bool,removable:St().bool})}),n(5610)),Kc=n.n(Vc);function Gc(e){var t=e.TitleField,n=e.idSchema,r=e.title,i=e.required;if(!r)return null;var o="".concat(n.$id,"__title");return y.createElement(t,{id:o,title:r,required:i})}function Yc(e){var t=e.DescriptionField,n=e.idSchema,r=e.description;if(!r)return null;var i="".concat(n.$id,"__description");return y.createElement(t,{id:i,description:r})}function Jc(e){var t={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return y.createElement("div",{key:e.key,className:e.className},y.createElement("div",{className:e.hasToolbar?"col-xs-9":"col-xs-12"},e.children),e.hasToolbar&&y.createElement("div",{className:"col-xs-3 array-item-toolbox"},y.createElement("div",{className:"btn-group",style:{display:"flex",justifyContent:"space-around"}},(e.hasMoveUp||e.hasMoveDown)&&y.createElement($c,{icon:"arrow-up","aria-label":"Move up",className:"array-item-move-up",tabIndex:"-1",style:t,disabled:e.disabled||e.readonly||!e.hasMoveUp,onClick:e.onReorderClick(e.index,e.index-1)}),(e.hasMoveUp||e.hasMoveDown)&&y.createElement($c,{icon:"arrow-down",className:"array-item-move-down","aria-label":"Move down",tabIndex:"-1",style:t,disabled:e.disabled||e.readonly||!e.hasMoveDown,onClick:e.onReorderClick(e.index,e.index+1)}),e.hasRemove&&y.createElement($c,{type:"danger",icon:"remove","aria-label":"Remove",className:"array-item-remove",tabIndex:"-1",style:t,disabled:e.disabled||e.readonly,onClick:e.onDropIndexClick(e.index)}))))}function Zc(e){return y.createElement("fieldset",{className:e.className,id:e.idSchema.$id},y.createElement(Gc,{key:"array-field-title-".concat(e.idSchema.$id),TitleField:e.TitleField,idSchema:e.idSchema,title:e.uiSchema["ui:title"]||e.title,required:e.required}),(e.uiSchema["ui:description"]||e.schema.description)&&y.createElement("div",{className:"field-description",key:"field-description-".concat(e.idSchema.$id)},e.uiSchema["ui:description"]||e.schema.description),y.createElement("div",{className:"row array-item-list",key:"array-item-list-".concat(e.idSchema.$id)},e.items&&e.items.map(Jc)),e.canAdd&&y.createElement(Uc,{className:"array-item-add",onClick:e.onAddClick,disabled:e.disabled||e.readonly}))}function Xc(e){return y.createElement("fieldset",{className:e.className,id:e.idSchema.$id},y.createElement(Gc,{key:"array-field-title-".concat(e.idSchema.$id),TitleField:e.TitleField,idSchema:e.idSchema,title:e.uiSchema["ui:title"]||e.title,required:e.required}),(e.uiSchema["ui:description"]||e.schema.description)&&y.createElement(Yc,{key:"array-field-description-".concat(e.idSchema.$id),DescriptionField:e.DescriptionField,idSchema:e.idSchema,description:e.uiSchema["ui:description"]||e.schema.description}),y.createElement("div",{className:"row array-item-list",key:"array-item-list-".concat(e.idSchema.$id)},e.items&&e.items.map((function(e){return Jc(e)}))),e.canAdd&&y.createElement(Uc,{className:"array-item-add",onClick:e.onAddClick,disabled:e.disabled||e.readonly}))}function Qc(){return Kc().generate()}function eu(e){return nc()(e)?e.map((function(e){return{key:Qc(),item:e}})):[]}function tu(e){return e.map((function(e){return e.item}))}var nu=function(e){function t(e){var n;rc(this,t),Zl(ac(n=sc(this,uc(t).call(this,e))),"_getNewFormDataRow",(function(){var e=n.props,t=e.schema,r=e.registry,i=(void 0===r?_f():r).rootSchema,o=t.items;return If(t)&&Rf(t)&&(o=t.additionalItems),Ef(o,void 0,i)})),Zl(ac(n),"onAddClick",(function(e){e&&e.preventDefault();var t=n.props.onChange,r={key:Qc(),item:n._getNewFormDataRow()},i=[].concat(kc(n.state.keyedFormData),[r]);n.setState({keyedFormData:i,updatedKeyedFormData:!0},(function(){return t(tu(i))}))})),Zl(ac(n),"onAddIndexClick",(function(e){return function(t){t&&t.preventDefault();var r=n.props.onChange,i={key:Qc(),item:n._getNewFormDataRow()},o=kc(n.state.keyedFormData);o.splice(e,0,i),n.setState({keyedFormData:o,updatedKeyedFormData:!0},(function(){return r(tu(o))}))}})),Zl(ac(n),"onDropIndexClick",(function(e){return function(t){t&&t.preventDefault();var r,i=n.props.onChange,o=n.state.keyedFormData;if(n.props.errorSchema){r={};var a=n.props.errorSchema;for(var s in a)(s=zc()(s))<e?r[s]=a[s]:s>e&&(r[s-1]=a[s])}var l=o.filter((function(t,n){return n!==e}));n.setState({keyedFormData:l,updatedKeyedFormData:!0},(function(){return i(tu(l),r)}))}})),Zl(ac(n),"onReorderClick",(function(e,t){return function(r){r&&(r.preventDefault(),r.target.blur());var i,o=n.props.onChange;if(n.props.errorSchema){i={};var a=n.props.errorSchema;for(var s in a)s==e?i[t]=a[e]:s==t?i[e]=a[t]:i[s]=a[s]}var l,c=n.state.keyedFormData,u=((l=c.slice()).splice(e,1),l.splice(t,0,c[e]),l);n.setState({keyedFormData:u},(function(){return o(tu(u),i)}))}})),Zl(ac(n),"onChangeForIndex",(function(e){return function(t,r){var i=n.props,o=i.formData;(0,i.onChange)(o.map((function(n,r){return e===r?void 0===t?null:t:n})),r&&n.props.errorSchema&&Xl({},n.props.errorSchema,Zl({},e,r)))}})),Zl(ac(n),"onSelectChange",(function(e){n.props.onChange(e)}));var r=eu(e.formData);return n.state={keyedFormData:r,updatedKeyedFormData:!1},n}return pc(t,e),oc(t,[{key:"isItemRequired",value:function(e){return nc()(e.type)?!Wc()(e.type,"null"):"null"!==e.type}},{key:"canAddItem",value:function(e){var t=this.props,n=t.schema,r=Cf(t.uiSchema).addable;return!1!==r&&(r=void 0===n.maxItems||e.length<n.maxItems),r}},{key:"render",value:function(){var e=this.props,t=e.schema,n=e.uiSchema,r=e.idSchema,i=e.registry,o=void 0===i?_f():i,a=o.rootSchema;if(!t.hasOwnProperty("items")){var s=o.fields.UnsupportedField;return y.createElement(s,{schema:t,idSchema:r,reason:"Missing items definition"})}return If(t)?this.renderFixedArray():Lf(t,n,a)?this.renderFiles():Mf(t,a)?this.renderMultiSelect():this.renderNormalArray()}},{key:"renderNormalArray",value:function(){var e=this,t=this.props,n=t.schema,r=t.uiSchema,i=t.errorSchema,o=t.idSchema,a=t.name,s=t.required,l=t.disabled,c=t.readonly,u=t.autofocus,f=t.registry,d=void 0===f?_f():f,p=t.onBlur,h=t.onFocus,m=t.idPrefix,g=t.rawErrors,v=void 0===n.title?a:n.title,b=d.ArrayFieldTemplate,_=d.rootSchema,w=d.fields,S=d.formContext,x=w.TitleField,E=w.DescriptionField,k=Bf(n.items,_),C=tu(this.state.keyedFormData),O={canAdd:this.canAddItem(C),items:this.state.keyedFormData.map((function(t,a){var s=t.key,l=t.item,c=Bf(n.items,_,l),f=i?i[a]:void 0,d=Gf(c,o.$id+"_"+a,_,l,m);return e.renderArrayFieldItem({key:s,index:a,canMoveUp:a>0,canMoveDown:a<C.length-1,itemSchema:c,itemIdSchema:d,itemErrorSchema:f,itemData:l,itemUiSchema:r.items,autofocus:u&&0===a,onBlur:p,onFocus:h})})),className:"field field-array field-array-of-".concat(k.type),DescriptionField:E,disabled:l,idSchema:o,uiSchema:r,onAddClick:this.onAddClick,readonly:c,required:s,schema:n,title:v,TitleField:x,formContext:S,formData:C,rawErrors:g,registry:d},T=r["ui:ArrayFieldTemplate"]||b||Xc;return y.createElement(T,O)}},{key:"renderMultiSelect",value:function(){var e=this.props,t=e.schema,n=e.idSchema,r=e.uiSchema,i=e.formData,o=e.disabled,a=e.readonly,s=e.required,l=e.label,c=e.placeholder,u=e.autofocus,f=e.onBlur,d=e.onFocus,p=e.registry,h=void 0===p?_f():p,m=e.rawErrors,g=this.props.formData,v=h.widgets,b=h.rootSchema,_=h.formContext,w=Df(Bf(t.items,b,i)),S=Xl({},Cf(r),{enumOptions:w}),x=S.widget,E=void 0===x?"select":x,k=Ac(S,["widget"]),C=Sf(t,E,v);return y.createElement(C,{id:n&&n.$id,multiple:!0,onChange:this.onSelectChange,onBlur:f,onFocus:d,options:k,schema:t,registry:h,value:g,disabled:o,readonly:a,required:s,label:l,placeholder:c,formContext:_,autofocus:u,rawErrors:m})}},{key:"renderFiles",value:function(){var e=this.props,t=e.schema,n=e.uiSchema,r=e.idSchema,i=e.name,o=e.disabled,a=e.readonly,s=e.autofocus,l=e.onBlur,c=e.onFocus,u=e.registry,f=void 0===u?_f():u,d=e.rawErrors,p=t.title||i,h=this.props.formData,m=f.widgets,g=f.formContext,v=Cf(n),b=v.widget,_=void 0===b?"files":b,w=Ac(v,["widget"]),S=Sf(t,_,m);return y.createElement(S,{options:w,id:r&&r.$id,multiple:!0,onChange:this.onSelectChange,onBlur:l,onFocus:c,schema:t,title:p,value:h,disabled:o,readonly:a,formContext:g,autofocus:s,rawErrors:d})}},{key:"renderFixedArray",value:function(){var e=this,t=this.props,n=t.schema,r=t.uiSchema,i=t.formData,o=t.errorSchema,a=t.idPrefix,s=t.idSchema,l=t.name,c=t.required,u=t.disabled,f=t.readonly,d=t.autofocus,p=t.registry,h=void 0===p?_f():p,m=t.onBlur,g=t.onFocus,v=t.rawErrors,b=n.title||l,_=this.props.formData,w=h.ArrayFieldTemplate,S=h.rootSchema,x=h.fields,E=h.formContext,k=x.TitleField,C=n.items.map((function(e,t){return Bf(e,S,i[t])})),O=Rf(n)?Bf(n.additionalItems,S,i):null;(!_||_.length<C.length)&&(_=(_=_||[]).concat(new Array(C.length-_.length)));var T={canAdd:this.canAddItem(_)&&O,className:"field field-array field-array-fixed-items",disabled:u,idSchema:s,formData:i,items:this.state.keyedFormData.map((function(t,i){var l=t.key,c=t.item,u=i>=C.length,f=u?Bf(n.additionalItems,S,c):C[i],p=Gf(f,s.$id+"_"+i,S,c,a),h=u?r.additionalItems||{}:nc()(r.items)?r.items[i]:r.items||{},v=o?o[i]:void 0;return e.renderArrayFieldItem({key:l,index:i,canRemove:u,canMoveUp:i>=C.length+1,canMoveDown:u&&i<_.length-1,itemSchema:f,itemData:c,itemUiSchema:h,itemIdSchema:p,itemErrorSchema:v,autofocus:d&&0===i,onBlur:m,onFocus:g})})),onAddClick:this.onAddClick,readonly:f,required:c,schema:n,uiSchema:r,title:b,TitleField:k,formContext:E,rawErrors:v},P=r["ui:ArrayFieldTemplate"]||w||Zc;return y.createElement(P,T)}},{key:"renderArrayFieldItem",value:function(e){var t=e.key,n=e.index,r=e.canRemove,i=void 0===r||r,o=e.canMoveUp,a=void 0===o||o,s=e.canMoveDown,l=void 0===s||s,c=e.itemSchema,u=e.itemData,f=e.itemUiSchema,d=e.itemIdSchema,p=e.itemErrorSchema,h=e.autofocus,m=e.onBlur,g=e.onFocus,v=e.rawErrors,b=this.props,_=b.disabled,w=b.readonly,S=b.uiSchema,x=b.registry,E=(void 0===x?_f():x).fields.SchemaField,k=Xl({orderable:!0,removable:!0},S["ui:options"]),C=k.orderable,O={moveUp:C&&a,moveDown:C&&l,remove:k.removable&&i};return O.toolbar=ec()(O).some((function(e){return O[e]})),{children:y.createElement(E,{index:n,schema:c,uiSchema:f,formData:u,errorSchema:p,idSchema:d,required:this.isItemRequired(c),onChange:this.onChangeForIndex(n),onBlur:m,onFocus:g,registry:this.props.registry,disabled:this.props.disabled,readonly:this.props.readonly,autofocus:h,rawErrors:v}),className:"array-item",disabled:_,hasToolbar:O.toolbar,hasMoveUp:O.moveUp,hasMoveDown:O.moveDown,hasRemove:O.remove,index:n,key:t,onAddIndexClick:this.onAddIndexClick,onDropIndexClick:this.onDropIndexClick,onReorderClick:this.onReorderClick,readonly:w}}},{key:"itemTitle",get:function(){var e=this.props.schema;return e.items.title||e.items.description||"Item"}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(t.updatedKeyedFormData)return{updatedKeyedFormData:!1};var n=e.formData||[],r=t.keyedFormData||[];return{keyedFormData:n.length===r.length?r.map((function(e,t){return{key:e.key,item:n[t]}})):eu(n)}}}]),t}(y.Component);Zl(nu,"defaultProps",{uiSchema:{},formData:[],idSchema:{},required:!1,disabled:!1,readonly:!1,autofocus:!1});const ru=nu;function iu(e){var t,n=e.schema,r=e.name,i=e.uiSchema,o=e.idSchema,a=e.formData,s=e.registry,l=void 0===s?_f():s,c=e.required,u=e.disabled,f=e.readonly,d=e.autofocus,p=e.onChange,h=e.onFocus,m=e.onBlur,g=e.rawErrors,v=n.title,b=l.widgets,_=l.formContext,w=l.fields,S=Cf(i),x=S.widget,E=void 0===x?"checkbox":x,k=Ac(S,["widget"]),C=Sf(n,E,b);return t=nc()(n.oneOf)?Df({oneOf:n.oneOf.map((function(e){return Xl({},e,{title:e.title||(!0===e.const?"Yes":"No")})}))}):Df({enum:n.enum||[!0,!1],enumNames:n.enumNames||(n.enum&&!1===n.enum[0]?["No","Yes"]:["Yes","No"])}),y.createElement(C,{options:Xl({},k,{enumOptions:t}),schema:n,id:o&&o.$id,onChange:p,onFocus:h,onBlur:m,label:void 0===v?r:v,value:a,required:c,disabled:u,readonly:f,registry:l,formContext:_,autofocus:d,rawErrors:g,DescriptionField:w.DescriptionField})}iu.defaultProps={uiSchema:{},disabled:!1,readonly:!1,autofocus:!1};const ou=iu;var au=n(38619),su=n.n(au),lu=function(e){function t(e){var n;rc(this,t),Zl(ac(n=sc(this,uc(t).call(this,e))),"onOptionChange",(function(e){var t=zc()(e,10),r=n.props,i=r.formData,o=r.onChange,a=r.options,s=r.registry.rootSchema,l=Bf(a[t],s,i),c=void 0;if("object"===Nf(i)&&("object"===l.type||l.properties)){c=Pc({},i);var u=a.slice();u.splice(t,1);var f=!0,d=!1,p=void 0;try{for(var h,m=su()(u);!(f=(h=m.next()).done);f=!0){var g=h.value;if(g.properties)for(var v in g.properties)c.hasOwnProperty(v)&&delete c[v]}}catch(e){d=!0,p=e}finally{try{f||null==m.return||m.return()}finally{if(d)throw p}}}o(Ef(a[t],c,s)),n.setState({selectedOption:zc()(e,10)})}));var r=n.props,i=r.formData,o=r.options;return n.state={selectedOption:n.getMatchingOption(i,o)},n}return pc(t,e),oc(t,[{key:"componentDidUpdate",value:function(e,t){if(!Vf(this.props.formData,e.formData)&&this.props.idSchema.$id===e.idSchema.$id){var n=this.getMatchingOption(this.props.formData,this.props.options);if(!t||n===this.state.selectedOption)return;this.setState({selectedOption:n})}}},{key:"getMatchingOption",value:function(e,t){var n=td(e,t,this.props.registry.rootSchema);return 0!==n?n:this&&this.state?this.state.selectedOption:0}},{key:"render",value:function(){var e,t=this.props,n=t.baseType,r=t.disabled,i=t.errorSchema,o=t.formData,a=t.idPrefix,s=t.idSchema,l=t.onBlur,c=t.onChange,u=t.onFocus,f=t.options,d=t.registry,p=t.uiSchema,h=t.schema,m=d.fields.SchemaField,g=d.widgets,v=this.state.selectedOption,b=Cf(p),_=b.widget,w=void 0===_?"select":_,S=Ac(b,["widget"]),x=Sf({type:"number"},w,g),E=f[v]||null;E&&(e=E.type?E:Pc({},E,{type:n}));var k=f.map((function(e,t){return{label:e.title||"Option ".concat(t+1),value:t}}));return y.createElement("div",{className:"panel panel-default panel-body"},y.createElement("div",{className:"form-group"},y.createElement(x,Pc({id:"".concat(s.$id).concat(h.oneOf?"__oneof_select":"__anyof_select"),schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:l,onFocus:u,value:v,options:{enumOptions:k}},S))),null!==E&&y.createElement(m,{schema:e,uiSchema:p,errorSchema:i,idSchema:s,idPrefix:a,formData:o,onChange:c,onBlur:l,onFocus:u,registry:d,disabled:r}))}}]),t}(y.Component);lu.defaultProps={disabled:!1,errorSchema:{},idSchema:{},uiSchema:{}};const cu=lu;var uu=/\.([0-9]*0)*$/,fu=/[0.]0*$/,du=function(e){function t(e){var n;return rc(this,t),Zl(ac(n=sc(this,uc(t).call(this,e))),"handleChange",(function(e){n.setState({lastValue:e}),"."==="".concat(e).charAt(0)&&(e="0".concat(e));var t="string"==typeof e&&e.match(uu)?Pf(e.replace(fu,"")):Pf(e);n.props.onChange(t)})),n.state={lastValue:e.value},n}return pc(t,e),oc(t,[{key:"render",value:function(){var e=this.props.registry.fields.StringField,t=this.props,n=t.formData,r=Ac(t,["formData"]),i=this.state.lastValue,o=n;if("string"==typeof i&&"number"==typeof o){var a=new RegExp("".concat(o).replace(".","\\.")+"\\.?0*$");i.match(a)&&(o=i)}return y.createElement(e,Pc({},r,{formData:o,onChange:this.handleChange}))}}]),t}(y.Component);du.defaultProps={uiSchema:{}};const pu=du;var hu=n(36518),mu=n.n(hu);function gu(e){var t=e.TitleField,n=e.DescriptionField;return y.createElement("fieldset",{id:e.idSchema.$id},(e.uiSchema["ui:title"]||e.title)&&y.createElement(t,{id:"".concat(e.idSchema.$id,"__title"),title:e.title||e.uiSchema["ui:title"],required:e.required,formContext:e.formContext}),e.description&&y.createElement(n,{id:"".concat(e.idSchema.$id,"__description"),description:e.description,formContext:e.formContext}),e.properties.map((function(e){return e.content})),function(e,t,n){if(!e.additionalProperties)return!1;var r=Cf(t).expandable;return!1===r?r:void 0===e.maxProperties||ec()(n).length<e.maxProperties}(e.schema,e.uiSchema,e.formData)&&y.createElement(Uc,{className:"object-property-expand",onClick:e.onAddClick(e.schema),disabled:e.disabled||e.readonly}))}var vu=function(e){function t(){var e,n;rc(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Zl(ac(n=sc(this,(e=uc(t)).call.apply(e,[this].concat(i)))),"state",{wasPropertyKeyModified:!1,additionalProperties:{}}),Zl(ac(n),"onPropertyChange",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r,i){!r&&t&&(r="");var o=Xl({},n.props.formData,Zl({},e,r));n.props.onChange(o,i&&n.props.errorSchema&&Xl({},n.props.errorSchema,Zl({},e,i)))}})),Zl(ac(n),"onDropPropertyClick",(function(e){return function(t){t.preventDefault();var r=n.props,i=r.onChange,o=Xl({},r.formData);delete o[e],i(o)}})),Zl(ac(n),"getAvailableKey",(function(e,t){for(var n=0,r=e;t.hasOwnProperty(r);)r="".concat(e,"-").concat(++n);return r})),Zl(ac(n),"onKeyChange",(function(e){return function(t,r){if(e!==t){t=n.getAvailableKey(t,n.props.formData);var i=Xl({},n.props.formData),o=Zl({},e,t),a=ec()(i).map((function(e){return Zl({},o[e]||e,i[e])})),s=Pc.apply(void 0,[{}].concat(kc(a)));n.setState({wasPropertyKeyModified:!0}),n.props.onChange(s,r&&n.props.errorSchema&&Xl({},n.props.errorSchema,Zl({},t,r)))}}})),Zl(ac(n),"handleAddClick",(function(e){return function(){var t=e.additionalProperties.type,r=Xl({},n.props.formData);if(e.additionalProperties.hasOwnProperty("$ref")){var i=n.props.registry,o=void 0===i?_f():i;t=Bf({$ref:e.additionalProperties.$ref},o.rootSchema,n.props.formData).type}r[n.getAvailableKey("newKey",r)]=n.getDefaultValue(t),n.props.onChange(r)}})),n}return pc(t,e),oc(t,[{key:"isRequired",value:function(e){var t=this.props.schema;return nc()(t.required)&&-1!==t.required.indexOf(e)}},{key:"getDefaultValue",value:function(e){switch(e){case"string":default:return"New Value";case"array":return[];case"boolean":return!1;case"null":return null;case"number":return 0;case"object":return{}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.uiSchema,i=n.formData,o=n.errorSchema,a=n.idSchema,s=n.name,l=n.required,c=n.disabled,u=n.readonly,f=n.idPrefix,d=n.onBlur,p=n.onFocus,h=n.registry,m=void 0===h?_f():h,g=m.rootSchema,v=m.fields,b=m.formContext,_=v.SchemaField,w=v.TitleField,S=v.DescriptionField,x=Bf(this.props.schema,g,i),E=void 0===x.title?s:x.title,k=r["ui:description"]||x.description;try{e=function(e,t){if(!nc()(t))return e;var n,r=function(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})},i=r(e),o=t.filter((function(e){return"*"===e||i[e]})),a=r(o),s=e.filter((function(e){return!a[e]})),l=o.indexOf("*");if(-1===l){if(s.length)throw new Error("uiSchema order list does not contain ".concat((n=s).length>1?"properties '".concat(n.join("', '"),"'"):"property '".concat(n[0],"'")));return o}if(l!==o.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");var c=kc(o);return c.splice.apply(c,[l,1].concat(kc(s))),c}(ec()(x.properties||{}),r["ui:order"])}catch(e){return y.createElement("div",null,y.createElement("p",{className:"config-error",style:{color:"red"}},"Invalid ",s||"root"," object field configuration:",y.createElement("em",null,e.message),"."),y.createElement("pre",null,mu()(x)))}var C=r["ui:ObjectFieldTemplate"]||m.ObjectFieldTemplate||gu,O={title:r["ui:title"]||E,description:k,TitleField:w,DescriptionField:S,properties:e.map((function(e){var n=x.properties[e].hasOwnProperty(yf);return{content:y.createElement(_,{key:e,name:e,required:t.isRequired(e),schema:x.properties[e],uiSchema:n?r.additionalProperties:r[e],errorSchema:o[e],idSchema:a[e],idPrefix:f,formData:(i||{})[e],wasPropertyKeyModified:t.state.wasPropertyKeyModified,onKeyChange:t.onKeyChange(e),onChange:t.onPropertyChange(e,n),onBlur:d,onFocus:p,registry:m,disabled:c,readonly:u,onDropPropertyClick:t.onDropPropertyClick}),name:e,readonly:u,disabled:c,required:l}})),readonly:u,disabled:c,required:l,idSchema:a,uiSchema:r,schema:x,formData:i,formContext:b};return y.createElement(C,Pc({},O,{onAddClick:this.handleAddClick}))}}]),t}(y.Component);Zl(vu,"defaultProps",{uiSchema:{},formData:{},errorSchema:{},idSchema:{},required:!1,disabled:!1,readonly:!1});const yu=vu;var bu="*",_u={array:"ArrayField",boolean:"BooleanField",integer:"NumberField",number:"NumberField",object:"ObjectField",string:"StringField",null:"NullField"};function wu(e){var t=e.label,n=e.required,r=e.id;return t?y.createElement("label",{className:"control-label",htmlFor:r},t,n&&y.createElement("span",{className:"required"},bu)):null}function Su(e){var t=e.id,n=e.label,r=e.onChange;return y.createElement("input",{className:"form-control",type:"text",id:t,onBlur:function(e){return r(e.target.value)},defaultValue:n})}function xu(e){var t=e.help;return t?"string"==typeof t?y.createElement("p",{className:"help-block"},t):y.createElement("div",{className:"help-block"},t):null}function Eu(e){var t=e.errors,n=void 0===t?[]:t;return 0===n.length?null:y.createElement("div",null,y.createElement("ul",{className:"error-detail bs-callout bs-callout-info"},n.filter((function(e){return!!e})).map((function(e,t){return y.createElement("li",{className:"text-danger",key:t},e)}))))}function ku(e){var t=e.id,n=e.label,r=e.children,i=e.errors,o=e.help,a=e.description,s=e.hidden,l=e.required,c=e.displayLabel;return s?y.createElement("div",{className:"hidden"},r):y.createElement(Cu,e,c&&y.createElement(wu,{label:n,required:l,id:t}),c&&a?a:null,r,i,o)}function Cu(e){var t=e.id,n=e.classNames,r=e.disabled,i=e.label,o=e.onKeyChange,a=e.onDropPropertyClick,s=e.readonly,l=e.required,c=e.schema,u="".concat(i," Key");return c.hasOwnProperty(yf)?y.createElement("div",{className:n},y.createElement("div",{className:"row"},y.createElement("div",{className:"col-xs-5 form-additional"},y.createElement("div",{className:"form-group"},y.createElement(wu,{label:u,required:l,id:"".concat(t,"-key")}),y.createElement(Su,{label:i,required:l,id:"".concat(t,"-key"),onChange:o}))),y.createElement("div",{className:"form-additional form-group col-xs-5"},e.children),y.createElement("div",{className:"col-xs-2"},y.createElement($c,{type:"danger",icon:"remove",className:"array-item-remove btn-block",tabIndex:"-1",style:{border:"0"},disabled:r||s,onClick:a(i)})))):y.createElement("div",{className:n},e.children)}ku.defaultProps={hidden:!1,readonly:!1,required:!1,displayLabel:!0};var Ou=function(e){function t(){return rc(this,t),sc(this,uc(t).apply(this,arguments))}return pc(t,e),oc(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Vf(this.props,e)}},{key:"render",value:function(){return function(e){var t=e.uiSchema,n=e.formData,r=e.errorSchema,i=e.idPrefix,o=e.name,a=e.onChange,s=e.onKeyChange,l=e.onDropPropertyClick,c=e.required,u=e.registry,f=void 0===u?_f():u,d=e.wasPropertyKeyModified,p=void 0!==d&&d,h=f.rootSchema,m=f.fields,g=f.formContext,v=t["ui:FieldTemplate"]||f.FieldTemplate||ku,b=e.idSchema,_=Bf(e.schema,h,n),w=function(e,t,n,r){var i=t["ui:field"];if("function"==typeof i)return i;if("string"==typeof i&&i in r)return r[i];var o=_u[wf(e)];return o||!e.anyOf&&!e.oneOf?o in r?r[o]:function(){var t=r.UnsupportedField;return y.createElement(t,{schema:e,idSchema:n,reason:"Unknown field type ".concat(e.type)})}:function(){return null}}(_,t,b=Tf(Gf(_,null,h,n,i),b),m),S=m.DescriptionField,x=Boolean(e.disabled||t["ui:disabled"]),E=Boolean(e.readonly||t["ui:readonly"]||e.schema.readOnly||_.readOnly),k=Boolean(e.autofocus||t["ui:autofocus"]);if(0===ec()(_).length)return null;var C,O=function(e,t,n){var r=Cf(t).label,i=void 0===r||r;return"array"===e.type&&(i=Mf(e,n)||Lf(e,t,n)),"object"===e.type&&(i=!1),"boolean"!==e.type||t["ui:widget"]||(i=!1),t["ui:field"]&&(i=!1),i}(_,t,h),T=r.__errors,P=Ac(r,["__errors"]),A=y.createElement(w,Pc({},e,{idSchema:b,schema:_,uiSchema:Xl({},t,{classNames:void 0}),disabled:x,readonly:E,autofocus:k,errorSchema:P,formContext:g,rawErrors:T})),M=b.$id;C=p?o:t["ui:title"]||e.schema.title||_.title||o;var L=t["ui:description"]||e.schema.description||_.description,I=T,R=t["ui:help"],D="hidden"===t["ui:widget"],j=["form-group","field","field-".concat(_.type),I&&I.length>0?"field-error has-error has-danger":"",t.classNames].join(" ").trim(),N={description:y.createElement(S,{id:M+"__description",description:L,formContext:g}),rawDescription:L,help:y.createElement(xu,{help:R}),rawHelp:"string"==typeof R?R:void 0,errors:y.createElement(Eu,{errors:I}),rawErrors:I,id:M,label:C,hidden:D,onChange:a,onKeyChange:s,onDropPropertyClick:l,required:c,disabled:x,readonly:E,displayLabel:O,classNames:j,formContext:g,formData:n,fields:m,schema:_,uiSchema:t,registry:f},F=f.fields.AnyOfField,B=f.fields.OneOfField;return y.createElement(v,N,y.createElement(y.Fragment,null,A,_.anyOf&&!Af(_)&&y.createElement(F,{disabled:x,errorSchema:r,formData:n,idPrefix:i,idSchema:b,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:_.anyOf,baseType:_.type,registry:f,schema:_,uiSchema:t}),_.oneOf&&!Af(_)&&y.createElement(B,{disabled:x,errorSchema:r,formData:n,idPrefix:i,idSchema:b,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:_.oneOf,baseType:_.type,registry:f,schema:_,uiSchema:t})))}(this.props)}}]),t}(y.Component);Ou.defaultProps={uiSchema:{},errorSchema:{},idSchema:{},disabled:!1,readonly:!1,autofocus:!1};const Tu=Ou;function Pu(e){var t=e.schema,n=e.name,r=e.uiSchema,i=e.idSchema,o=e.formData,a=e.required,s=e.disabled,l=e.readonly,c=e.autofocus,u=e.onChange,f=e.onBlur,d=e.onFocus,p=e.registry,h=void 0===p?_f():p,m=e.rawErrors,g=t.title,v=t.format,b=h.widgets,_=h.formContext,w=Af(t)&&Df(t),S=w?"select":"text";v&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{return Sf(e,t,n),!0}catch(e){if(e.message&&(e.message.startsWith("No widget")||e.message.startsWith("Unsupported widget")))return!1;throw e}}(t,v,b)&&(S=v);var x=Cf(r),E=x.widget,k=void 0===E?S:E,C=x.placeholder,O=void 0===C?"":C,T=Ac(x,["widget","placeholder"]),P=Sf(t,k,b);return y.createElement(P,{options:Xl({},T,{enumOptions:w}),schema:t,uiSchema:r,id:i&&i.$id,label:void 0===g?n:g,value:o,onChange:u,onBlur:f,onFocus:d,required:a,disabled:s,readonly:l,formContext:_,autofocus:c,registry:h,placeholder:O,rawErrors:m})}Pu.defaultProps={uiSchema:{},disabled:!1,readonly:!1,autofocus:!1};const Au={AnyOfField:cu,ArrayField:ru,BooleanField:ou,DescriptionField:function(e){var t=e.id,n=e.description;return n?"string"==typeof n?y.createElement("p",{id:t,className:"field-description"},n):y.createElement("div",{id:t,className:"field-description"},n):null},NumberField:pu,ObjectField:yu,OneOfField:cu,SchemaField:Tu,StringField:Pu,TitleField:function(e){var t=e.id,n=e.title,r=e.required;return y.createElement("legend",{id:t},n,r&&y.createElement("span",{className:"required"},"*"))},NullField:function(e){function t(){return rc(this,t),sc(this,uc(t).apply(this,arguments))}return pc(t,e),oc(t,[{key:"componentDidMount",value:function(){void 0===this.props.formData&&this.props.onChange(null)}},{key:"render",value:function(){return null}}]),t}(y.Component),UnsupportedField:function(e){var t=e.schema,n=e.idSchema,r=e.reason;return y.createElement("div",{className:"unsupported-field"},y.createElement("p",null,"Unsupported field schema",n&&n.$id&&y.createElement("span",null," for"," field ",y.createElement("code",null,n.$id)),r&&y.createElement("em",null,": ",r),"."),t&&y.createElement("pre",null,mu()(t,null,2)))}};function Mu(e,t){for(var n=[],r=e;r<=t;r++)n.push({value:r,label:Qf(r,2)});return n}function Lu(e){var t=e.type,n=e.range,r=e.value,i=e.select,o=e.rootId,a=e.disabled,s=e.readonly,l=e.autofocus,c=e.registry,u=e.onBlur,f=o+"_"+t,d=c.widgets.SelectWidget;return y.createElement(d,{schema:{type:"integer"},id:f,className:"form-control",options:{enumOptions:Mu(n[0],n[1])},placeholder:t,value:r,disabled:a,readonly:s,autofocus:l,onChange:function(e){return i(t,e)},onBlur:u})}var Iu=function(e){function t(e){var n;return rc(this,t),Zl(ac(n=sc(this,uc(t).call(this,e))),"onChange",(function(e,t){n.setState(Zl({},e,void 0===t?-1:t),(function(){var e;e=n.state,ec()(e).every((function(t){return-1!==e[t]}))&&n.props.onChange(Zf(n.state,n.props.time))}))})),Zl(ac(n),"setNow",(function(e){e.preventDefault();var t=n.props,r=t.time,i=t.disabled,o=t.readonly,a=t.onChange;if(!i&&!o){var s=Jf((new Date).toJSON(),r);n.setState(s,(function(){return a(Zf(n.state,r))}))}})),Zl(ac(n),"clear",(function(e){e.preventDefault();var t=n.props,r=t.time,i=t.disabled,o=t.readonly,a=t.onChange;i||o||n.setState(Jf("",r),(function(){return a(void 0)}))})),n.state=Jf(e.value,e.time),n}return pc(t,e),oc(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState(Jf(e.value,e.time))}},{key:"shouldComponentUpdate",value:function(e,t){return Kf(this,e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.disabled,i=t.readonly,o=t.autofocus,a=t.registry,s=t.onBlur,l=t.options;return y.createElement("ul",{className:"list-inline"},this.dateElementProps.map((function(t,l){return y.createElement("li",{key:l},y.createElement(Lu,Pc({rootId:n,select:e.onChange},t,{disabled:r,readonly:i,registry:a,onBlur:s,autofocus:o&&0===l})))})),("undefined"===l.hideNowButton||!l.hideNowButton)&&y.createElement("li",null,y.createElement("a",{href:"#",className:"btn btn-info btn-now",onClick:this.setNow},"Now")),("undefined"===l.hideClearButton||!l.hideClearButton)&&y.createElement("li",null,y.createElement("a",{href:"#",className:"btn btn-warning btn-clear",onClick:this.clear},"Clear")))}},{key:"dateElementProps",get:function(){var e=this.props,t=e.time,n=e.options,r=this.state,i=r.year,o=r.month,a=r.day,s=r.hour,l=r.minute,c=r.second,u=[{type:"year",range:n.yearsRange,value:i},{type:"month",range:[1,12],value:o},{type:"day",range:[1,31],value:a}];return t&&u.push({type:"hour",range:[0,23],value:s},{type:"minute",range:[0,59],value:l},{type:"second",range:[0,59],value:c}),u}}]),t}(y.Component);Zl(Iu,"defaultProps",{time:!1,disabled:!1,readonly:!1,autofocus:!1,options:{yearsRange:[1900,(new Date).getFullYear()+2]}});const Ru=Iu;function Du(e){var t=e.registry.widgets.AltDateWidget;return y.createElement(t,Pc({time:!0},e))}Du.defaultProps=Xl({},Ru.defaultProps,{time:!0});const ju=Du;function Nu(e){if(!e.id)throw console.log("No id for",e),new Error("no id for props ".concat(mu()(e)));var t=e.value,n=e.readonly,r=e.disabled,i=e.autofocus,o=e.onBlur,a=e.onFocus,s=e.options,l=e.schema,c=(e.uiSchema,e.formContext,e.registry,e.rawErrors,Ac(e,["value","readonly","disabled","autofocus","onBlur","onFocus","options","schema","uiSchema","formContext","registry","rawErrors"]));return s.inputType?c.type=s.inputType:c.type||("number"===l.type?(c.type="number",c.step="any"):"integer"===l.type?(c.type="number",c.step="1"):c.type="text"),s.autocomplete&&(c.autoComplete=s.autocomplete),l.multipleOf&&(c.step=l.multipleOf),void 0!==l.minimum&&(c.min=l.minimum),void 0!==l.maximum&&(c.max=l.maximum),[y.createElement("input",Pc({key:c.id,className:"form-control",readOnly:n,disabled:r,autoFocus:i,value:null==t?"":t},c,{list:l.examples?"examples_".concat(c.id):null,onChange:function(t){var n=t.target.value;return e.onChange(""===n?s.emptyValue:n)},onBlur:o&&function(e){return o(c.id,e.target.value)},onFocus:a&&function(e){return a(c.id,e.target.value)}})),l.examples?y.createElement("datalist",{id:"examples_".concat(c.id)},kc(new(bc())(l.examples.concat(l.default?[l.default]:[]))).map((function(e){return y.createElement("option",{key:e,value:e})}))):null]}Nu.defaultProps={required:!1,disabled:!1,readonly:!1,autofocus:!1};const Fu=Nu;function Bu(e){var t=e.schema,n=e.id,r=e.value,i=e.disabled,o=e.readonly,a=e.label,s=e.autofocus,l=e.onBlur,c=e.onFocus,u=e.onChange,f=e.DescriptionField,d=nd(t);return y.createElement("div",{className:"checkbox ".concat(i||o?"disabled":"")},t.description&&y.createElement(f,{description:t.description}),y.createElement("label",null,y.createElement("input",{type:"checkbox",id:n,checked:void 0!==r&&r,required:d,disabled:i||o,autoFocus:s,onChange:function(e){return u(e.target.checked)},onBlur:l&&function(e){return l(n,e.target.checked)},onFocus:c&&function(e){return c(n,e.target.checked)}}),y.createElement("span",null,a)))}Bu.defaultProps={autofocus:!1};const zu=Bu;function $u(e){var t=e.id,n=e.disabled,r=e.options,i=e.value,o=e.autofocus,a=e.readonly,s=e.onChange,l=r.enumOptions,c=r.enumDisabled,u=r.inline;return y.createElement("div",{className:"checkboxes",id:t},l.map((function(e,r){var f=-1!==i.indexOf(e.value),d=c&&-1!=c.indexOf(e.value),p=n||d||a?"disabled":"",h=y.createElement("span",null,y.createElement("input",{type:"checkbox",id:"".concat(t,"_").concat(r),checked:f,disabled:n||d||a,autoFocus:o&&0===r,onChange:function(t){var n=l.map((function(e){return e.value}));t.target.checked?s(function(e,t,n){var r=n.indexOf(e);return t.slice(0,r).concat(e,t.slice(r)).sort((function(e,t){return n.indexOf(e)>n.indexOf(t)}))}(e.value,i,n)):s(function(e,t){return t.filter((function(t){return t!==e}))}(e.value,i))}}),y.createElement("span",null,e.label));return u?y.createElement("label",{key:r,className:"checkbox-inline ".concat(p)},h):y.createElement("div",{key:r,className:"checkbox ".concat(p)},y.createElement("label",null,h))})))}$u.defaultProps={autofocus:!1,options:{inline:!1}};const Uu=$u;var Hu=n(45685),Wu=n.n(Hu);function qu(e,t){return e.replace(";base64",";name=".concat(encodeURIComponent(t),";base64"))}function Vu(e){var t=e.name,n=e.size,r=e.type;return new(Wu())((function(i,o){var a=new window.FileReader;a.onerror=o,a.onload=function(e){i({dataURL:qu(e.target.result,t),name:t,size:n,type:r})},a.readAsDataURL(e)}))}function Ku(e){var t=e.filesInfo;return 0===t.length?null:y.createElement("ul",{className:"file-info"},t.map((function(e,t){var n=e.name,r=e.size,i=e.type;return y.createElement("li",{key:t},y.createElement("strong",null,n)," (",i,", ",r," bytes)")})))}var Gu=function(e){function t(e){var n;rc(this,t),Zl(ac(n=sc(this,uc(t).call(this,e))),"onChange",(function(e){var t,r=n.props,i=r.multiple,o=r.onChange;(t=e.target.files,Wu().all([].map.call(t,Vu))).then((function(e){var t={values:e.map((function(e){return e.dataURL})),filesInfo:e};n.setState(t,(function(){o(i?t.values:t.values[0])}))}))}));var r,i=e.value,o=nc()(i)?i:[i];return n.state={values:o,filesInfo:(r=o,r.filter((function(e){return void 0!==e})).map((function(e){var t=function(e){var t,n=e.split(","),r=n[0].split(";"),i=r[0].replace("data:",""),o=r.filter((function(e){return"name"===e.split("=")[0]}));t=1!==o.length?"unknown":o[0].split("=")[1];for(var a=atob(n[1]),s=[],l=0;l<a.length;l++)s.push(a.charCodeAt(l));return{blob:new window.Blob([new Uint8Array(s)],{type:i}),name:t}}(e),n=t.blob;return{name:t.name,size:n.size,type:n.type}})))},n}return pc(t,e),oc(t,[{key:"shouldComponentUpdate",value:function(e,t){return Kf(this,e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.multiple,r=t.id,i=t.readonly,o=t.disabled,a=t.autofocus,s=t.options,l=this.state.filesInfo;return y.createElement("div",null,y.createElement("p",null,y.createElement("input",{ref:function(t){return e.inputRef=t},id:r,type:"file",disabled:i||o,onChange:this.onChange,defaultValue:"",autoFocus:a,multiple:n,accept:s.accept})),y.createElement(Ku,{filesInfo:l}))}}]),t}(y.Component);Gu.defaultProps={autofocus:!1};const Yu=Gu;function Ju(e){var t=e.options,n=e.value,r=e.required,i=e.disabled,o=e.readonly,a=e.autofocus,s=e.onBlur,l=e.onFocus,c=e.onChange,u=e.id,f=Math.random().toString(),d=t.enumOptions,p=t.enumDisabled,h=t.inline;return y.createElement("div",{className:"field-radio-group",id:u},d.map((function(e,t){var d=e.value===n,m=p&&-1!=p.indexOf(e.value),g=i||m||o?"disabled":"",v=y.createElement("span",null,y.createElement("input",{type:"radio",checked:d,name:f,required:r,value:e.value,disabled:i||m||o,autoFocus:a&&0===t,onChange:function(t){return c(e.value)},onBlur:s&&function(e){return s(u,e.target.value)},onFocus:l&&function(e){return l(u,e.target.value)}}),y.createElement("span",null,e.label));return h?y.createElement("label",{key:t,className:"radio-inline ".concat(g)},v):y.createElement("div",{key:t,className:"radio ".concat(g)},y.createElement("label",null,v))})))}Ju.defaultProps={autofocus:!1};const Zu=Ju;var Xu=new(bc())(["number","integer"]);function Qu(e,t){var n=e.type,r=e.items;if(""!==t){if("array"===n&&r&&Xu.has(r.type))return t.map(Pf);if("boolean"===n)return"true"===t;if("number"===n)return Pf(t);if(e.enum){if(e.enum.every((function(e){return"number"===Nf(e)})))return Pf(t);if(e.enum.every((function(e){return"boolean"===Nf(e)})))return"true"===t}return t}}function ef(e,t){return t?[].slice.call(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value})):e.target.value}function tf(e){var t=e.schema,n=e.id,r=e.options,i=e.value,o=e.required,a=e.disabled,s=e.readonly,l=e.multiple,c=e.autofocus,u=e.onChange,f=e.onBlur,d=e.onFocus,p=e.placeholder,h=r.enumOptions,m=r.enumDisabled,g=l?[]:"";return y.createElement("select",{id:n,multiple:l,className:"form-control",value:void 0===i?g:i,required:o,disabled:a||s,autoFocus:c,onBlur:f&&function(e){var r=ef(e,l);f(n,Qu(t,r))},onFocus:d&&function(e){var r=ef(e,l);d(n,Qu(t,r))},onChange:function(e){var n=ef(e,l);u(Qu(t,n))}},!l&&void 0===t.default&&y.createElement("option",{value:""},p),h.map((function(e,t){var n=e.value,r=e.label,i=m&&-1!=m.indexOf(n);return y.createElement("option",{key:t,value:n,disabled:i},r)})))}tf.defaultProps={autofocus:!1};const nf=tf;function rf(e){var t=e.id,n=e.options,r=e.placeholder,i=e.value,o=e.required,a=e.disabled,s=e.readonly,l=e.autofocus,c=e.onChange,u=e.onBlur,f=e.onFocus;return y.createElement("textarea",{id:t,className:"form-control",value:i||"",placeholder:r,required:o,disabled:a,readOnly:s,autoFocus:l,rows:n.rows,onBlur:u&&function(e){return u(t,e.target.value)},onFocus:f&&function(e){return f(t,e.target.value)},onChange:function(e){var t=e.target.value;return c(""===t?n.emptyValue:t)}})}rf.defaultProps={autofocus:!1,options:{}};const of={BaseInput:Fu,PasswordWidget:function(e){var t=e.registry.widgets.BaseInput;return y.createElement(t,Pc({type:"password"},e))},RadioWidget:Zu,UpDownWidget:function(e){var t=e.registry.widgets.BaseInput;return y.createElement(t,Pc({type:"number"},e,ed(e.schema)))},RangeWidget:function(e){var t=e.schema,n=e.value,r=e.registry.widgets.BaseInput;return y.createElement("div",{className:"field-range-wrapper"},y.createElement(r,Pc({type:"range"},e,ed(t))),y.createElement("span",{className:"range-view"},n))},SelectWidget:nf,TextWidget:function(e){var t=e.registry.widgets.BaseInput;return y.createElement(t,e)},DateWidget:function(e){var t=e.onChange,n=e.registry.widgets.BaseInput;return y.createElement(n,Pc({type:"date"},e,{onChange:function(e){return t(e||void 0)}}))},DateTimeWidget:function(e){var t=e.value,n=e.onChange,r=e.registry.widgets.BaseInput;return y.createElement(r,Pc({type:"datetime-local"},e,{value:Xf(t),onChange:function(e){return n(function(e){if(e)return new Date(e).toJSON()}(e))}}))},AltDateWidget:Ru,AltDateTimeWidget:ju,EmailWidget:function(e){var t=e.registry.widgets.BaseInput;return y.createElement(t,Pc({type:"email"},e))},URLWidget:function(e){var t=e.registry.widgets.BaseInput;return y.createElement(t,Pc({type:"url"},e))},TextareaWidget:rf,HiddenWidget:function(e){var t=e.id,n=e.value;return y.createElement("input",{type:"hidden",id:t,value:void 0===n?"":n})},ColorWidget:function(e){var t=e.disabled,n=e.readonly,r=e.registry.widgets.BaseInput;return y.createElement(r,Pc({type:"color"},e,{disabled:t||n}))},FileWidget:Yu,CheckboxWidget:zu,CheckboxesWidget:Uu};var af=n(74014),sf=n.n(af),lf=ff(),cf=null,uf=null;function ff(){var e=new(As())({errorDataPath:"property",allErrors:!0,multipleOfPrecision:8,schemaId:"auto",unknownFormats:"ignore"});return e.addFormat("data-url",/^data:([a-z]+\/[a-z0-9-+.]+)?;(?:name=(.*);)?base64,(.*)$/),e.addFormat("color",/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/),e}function df(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=[];return"__errors"in e&&(n=n.concat(e.__errors.map((function(e){return{stack:"".concat(t,": ").concat(e)}})))),ec()(e).reduce((function(t,n){return"__errors"!==n&&(t=t.concat(df(e[n],n))),t}),n)}function pf(e){var t={__errors:[],addError:function(e){this.__errors.push(e)}};return Of(e)?ec()(e).reduce((function(t,n){return Xl({},t,Zl({},n,pf(e[n])))}),t):nc()(e)?e.reduce((function(e,t,n){return Xl({},e,Zl({},n,pf(t)))}),t):t}function hf(e){return ec()(e).reduce((function(t,n){return"addError"===n?t:Xl({},t,Zl({},n,"__errors"===n?e[n]:hf(e[n])))}),{})}function mf(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};e=Ef(t,e,t,!0);var a=!Vf(uf,i),s=!Vf(cf,o);(a||s)&&(lf=ff()),i&&a&&nc()(i)&&(lf.addMetaSchema(i),uf=i),o&&s&&Of(o)&&(ec()(o).forEach((function(e){lf.addFormat(e,o[e])})),cf=o);var l=null;try{lf.validate(t,e)}catch(e){l=e}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return null===e?[]:e.map((function(e){var t=e.dataPath,n=e.keyword,r=e.message,i=e.params,o=e.schemaPath,a="".concat(t);return{name:n,property:a,message:r,params:i,stack:"".concat(a," ").concat(r).trim(),schemaPath:o}}))}(lf.errors);lf.errors=null;var u=l&&l.message&&"string"==typeof l.message&&l.message.includes("no schema with key or ref ");u&&(c=[].concat(kc(c),[{stack:l.message}])),"function"==typeof r&&(c=r(c));var f=function(e){return e.length?e.reduce((function(e,t){var n=t.property,r=t.message,i=sf()(n),o=e;i.length>0&&""===i[0]&&i.splice(0,1);var a=!0,s=!1,l=void 0;try{for(var c,u=su()(i.slice(0));!(a=(c=u.next()).done);a=!0){var f=c.value;f in o||(o[f]={}),o=o[f]}}catch(e){s=!0,l=e}finally{try{a||null==u.return||u.return()}finally{if(s)throw l}}return nc()(o.__errors)?o.__errors=o.__errors.concat(r):r&&(o.__errors=[r]),e}),{}):{}}(c);if(u&&(f=Xl({},f,{$schema:{__errors:[l.message]}})),"function"!=typeof n)return{errors:c,errorSchema:f};var d=Tf(f,hf(n(e,pf(e))),!0);return{errors:df(d),errorSchema:d}}function gf(e,t){try{return lf.validate(e,t)}catch(e){return!1}}function vf(e){var t=function(e,t){if("object"!==Gl(e)||null===e)return e;var n=e[vc()];if(void 0!==n){var r=n.call(e,"string");if("object"!==Gl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Gl(t)?t:String(t)}var yf="__additional_property",bf={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function _f(){return{fields:Au,widgets:of,definitions:{},rootSchema:{},formContext:{}}}function wf(e){var t=e.type;return!t&&e.const?Nf(e.const):!t&&e.enum?"string":t||!e.properties&&!e.additionalProperties?t instanceof Array&&2===t.length&&t.includes("null")?t.find((function(e){return"null"!==e})):t:"object"}function Sf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=wf(e);if("function"==typeof t||Mc.isForwardRef(y.createElement(t))||Mc.isMemo(t))return function(e){if(!e.MergedWidget){var t=e.defaultProps&&e.defaultProps.options||{};e.MergedWidget=function(n){var r=n.options,i=void 0===r?{}:r,o=Ac(n,["options"]);return y.createElement(e,Pc({options:Xl({},t,i)},o))}}return e.MergedWidget}(t);if("string"!=typeof t)throw new Error("Unsupported widget definition: ".concat(Gl(t)));if(n.hasOwnProperty(t))return Sf(e,n[t],n);if(!bf.hasOwnProperty(r))throw new Error('No widget for type "'.concat(r,'"'));if(bf[r].hasOwnProperty(t))return Sf(e,n[bf[r][t]],n);throw new Error('No widget "'.concat(t,'" for type "').concat(r,'"'))}function xf(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Of(e)?e:{},a=Of(r)?r:{},s=t;if(Of(s)&&Of(o.default))s=Tf(s,o.default);else if("default"in o)s=o.default;else{if("$ref"in o)return xf(jf(o.$ref,n),s,n,a,i);if("dependencies"in o)return xf(zf(o,n,a),s,n,a,i);If(o)?s=o.items.map((function(e,r){return xf(e,nc()(t)?t[r]:void 0,n,a,i)})):"oneOf"in o?o=o.oneOf[td(void 0,o.oneOf)]:"anyOf"in o&&(o=o.anyOf[td(void 0,o.anyOf)])}switch(void 0===s&&(s=o.default),wf(o)){case"object":return ec()(o.properties||{}).reduce((function(e,t){var r=xf(o.properties[t],(s||{})[t],n,(a||{})[t],i);return(i||void 0!==r)&&(e[t]=r),e}),{});case"array":if(nc()(s)&&(s=s.map((function(e,t){return xf(o.items[t]||o.additionalItems||{},e,n)}))),nc()(r)&&(s=r.map((function(e,t){return xf(o.items,(s||{})[t],n,e)}))),o.minItems){if(Mf(o,n))return s||[];var l=s?s.length:0;if(o.minItems>l){var c=s||[],u=nc()(o.items)?o.additionalItems:o.items,f=Dc()(new Array(o.minItems-l),xf(u,u.defaults,n));return c.concat(f)}}}return s}function Ef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Of(e))throw new Error("Invalid schema: "+e);var i=xf(Bf(e,n,t),e.default,n,t,r);return void 0===t?i:Of(t)||nc()(t)?kf(i,t):0===t||!1===t||""===t?t:t||i}function kf(e,t){if(nc()(t))return nc()(e)||(e=[]),t.map((function(t,n){return e[n]?kf(e[n],t):t}));if(Of(t)){var n=Pc({},e);return ec()(t).reduce((function(n,r){return n[r]=kf(e?e[r]:{},t[r]),n}),n)}return t}function Cf(e){return ec()(e).filter((function(e){return 0===e.indexOf("ui:")})).reduce((function(t,n){var r=e[n];return"ui:widget"===n&&Of(r)?(console.warn("Setting options via ui:widget object is deprecated, use ui:options instead"),Xl({},t,r.options||{},{widget:r.component})):"ui:options"===n&&Of(r)?Xl({},t,r):Xl({},t,Zl({},n.substring(3),r))}),{})}function Of(e){return!("undefined"!=typeof File&&e instanceof File||"object"!==Gl(e)||null===e||nc()(e))}function Tf(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Pc({},e);return ec()(t).reduce((function(r,i){var o=e?e[i]:{},a=t[i];return e&&e.hasOwnProperty(i)&&Of(a)?r[i]=Tf(o,a,n):n&&nc()(o)&&nc()(a)?r[i]=o.concat(a):r[i]=a,r}),r)}function Pf(e){if(""!==e){if(null===e)return null;if(/\.$/.test(e))return e;if(/\.0$/.test(e))return e;var t=Number(e),n="number"==typeof t&&!Oc()(t);return/\.\d*0$/.test(e)?e:n?t:e}}function Af(e){var t=Bf(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=t.oneOf||t.anyOf;return!!nc()(t.enum)||!!nc()(n)&&n.every((function(e){return function(e){return nc()(e.enum)&&1===e.enum.length||e.hasOwnProperty("const")}(e)}))}function Mf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!(!e.uniqueItems||!e.items)&&Af(e.items,t)}function Lf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("files"===t["ui:widget"])return!0;if(e.items){var r=Bf(e.items,n);return"string"===r.type&&"data-url"===r.format}return!1}function If(e){return nc()(e.items)&&e.items.length>0&&e.items.every((function(e){return Of(e)}))}function Rf(e){return!0===e.additionalItems&&console.warn("additionalItems=true is currently not supported"),Of(e.additionalItems)}function Df(e){return e.enum?e.enum.map((function(t,n){return{label:e.enumNames&&e.enumNames[n]||String(t),value:t}})):(e.oneOf||e.anyOf).map((function(e,t){var n=function(e){if(nc()(e.enum)&&1===e.enum.length)return e.enum[0];if(e.hasOwnProperty("const"))return e.const;throw new Error("schema cannot be inferred as a constant")}(e);return{schema:e,label:e.title||String(n),value:n}}))}function jf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(!e.startsWith("#"))throw new Error("Could not find a definition for ".concat(n,"."));e=decodeURIComponent(e.substring(1));var r=Fc.get(t,e);if(void 0===r)throw new Error("Could not find a definition for ".concat(n,"."));return r.hasOwnProperty("$ref")?jf(r.$ref,t):r}var Nf=function(e){return nc()(e)?"array":"string"==typeof e?"string":null==e?"null":"boolean"==typeof e?"boolean":isNaN(e)?"object"===Gl(e)?"object":"string":"number"};function Ff(e,t,n){var r=jf(e.$ref,t);return e.$ref,Bf(Xl({},r,Ac(e,["$ref"])),t,n)}function Bf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Of(e))return{};var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.hasOwnProperty("$ref")?Ff(e,t,n):e.hasOwnProperty("dependencies")?Bf(zf(e,t,n),t,n):e.hasOwnProperty("allOf")?Xl({},e,{allOf:e.allOf.map((function(e){return Bf(e,t,n)}))}):e}(e,t,n);if("allOf"in e)try{r=Ic()(Xl({},r,{allOf:r.allOf}))}catch(e){console.warn("could not merge subschemas in allOf:\n"+e);var i=r;return i.allOf,Ac(i,["allOf"])}return r.hasOwnProperty("additionalProperties")&&!1!==r.additionalProperties?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=Xl({},e,{properties:Xl({},e.properties)}),ec()(n).forEach((function(r){var i;e.properties.hasOwnProperty(r)||(i=e.additionalProperties.hasOwnProperty("$ref")?Bf({$ref:e.additionalProperties.$ref},t,n):e.additionalProperties.hasOwnProperty("type")?Xl({},e.additionalProperties):{type:Nf(n[r])},e.properties[r]=i,e.properties[r][yf]=!0)})),e}(r,t,n):r}function zf(e,t,n){var r=e.dependencies,i=void 0===r?{}:r,o=Ac(e,["dependencies"]);return"oneOf"in o?o=o.oneOf[td(n,o.oneOf)]:"anyOf"in o&&(o=o.anyOf[td(n,o.anyOf)]),$f(i,o,t,n)}function $f(e,t,n,r){for(var i in e)if(void 0!==r[i]&&(!t.properties||i in t.properties)){var o=e[i],a=Ac(e,[i].map(vf));return nc()(o)?t=Uf(t,o):Of(o)&&(t=Hf(t,n,r,i,o)),$f(a,t,n,r)}return t}function Uf(e,t){return t?Xl({},e,{required:nc()(e.required)?wc()(new(bc())([].concat(kc(e.required),kc(t)))):t}):e}function Hf(e,t,n,r,i){var o=Bf(i,t,n),a=o.oneOf;if(e=Wf(e,Ac(o,["oneOf"])),void 0===a)return e;if(!nc()(a))throw new Error("invalid: it is some ".concat(Gl(a)," instead of an array"));var s=a.map((function(e){return e.hasOwnProperty("$ref")?Ff(e,t,n):e}));return function(e,t,n,r,i){var o=i.filter((function(e){if(!e.properties)return!1;var t=e.properties[r];if(t){var i={type:"object",properties:Zl({},r,t)};return 0===mf(n,i).errors.length}}));if(1!==o.length)return console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),e;var a=o[0],s=a.properties;return Wf(e,Bf(Xl({},a,{properties:(s[r],Ac(s,[r].map(vf)))}),t,n))}(e,t,n,r,s)}function Wf(e,t){var n=Pc({},e);return ec()(t).reduce((function(n,r){var i=e?e[r]:{},o=t[r];return e&&e.hasOwnProperty(r)&&Of(o)?n[r]=Wf(i,o):e&&t&&("object"===wf(e)||"object"===wf(t))&&"required"===r&&nc()(i)&&nc()(o)?n[r]=Nc()(i,o):n[r]=o,n}),n)}function qf(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function Vf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!==Gl(e)||"object"!==Gl(t))return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(qf(e)||qf(t)){if(!qf(e)||!qf(t))return!1;var i=Array.prototype.slice;return Vf(i.call(e),i.call(t),n,r)}if(e.constructor!==t.constructor)return!1;var o=ec()(e),a=ec()(t);if(0===o.length&&0===a.length)return!0;if(o.length!==a.length)return!1;for(var s,l=n.length;l--;)if(n[l]===e)return r[l]===t;n.push(e),r.push(t),o.sort(),a.sort();for(var c=o.length-1;c>=0;c--)if(o[c]!==a[c])return!1;for(var u=o.length-1;u>=0;u--)if(!Vf(e[s=o[u]],t[s],n,r))return!1;return n.pop(),r.pop(),!0}function Kf(e,t,n){var r=e.props,i=e.state;return!Vf(r,t)||!Vf(i,n)}function Gf(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"root",o={$id:t||i};if("$ref"in e||"dependencies"in e||"allOf"in e)return Gf(Bf(e,n,r),t,n,r,i);if("items"in e&&!e.items.$ref)return Gf(e.items,t,n,r,i);if("object"!==e.type)return o;for(var a in e.properties||{}){var s=e.properties[a],l=o.$id+"_"+a;o[a]=Gf(Of(s)?s:{},l,n,(r||{})[a],i)}return o}function Yf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i={$name:t.replace(/^\./,"")};if("$ref"in e||"dependencies"in e||"allOf"in e)return Yf(Bf(e,n,r),t,n,r);if(e.hasOwnProperty("additionalProperties")&&(i.__rjsf_additionalProperties=!0),e.hasOwnProperty("items")&&nc()(r))r.forEach((function(r,o){i[o]=Yf(e.items,"".concat(t,".").concat(o),n,r)}));else if(e.hasOwnProperty("properties"))for(var o in e.properties)i[o]=Yf(e.properties[o],"".concat(t,".").concat(o),n,(r||{})[o]);return i}function Jf(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return{year:-1,month:-1,day:-1,hour:t?-1:0,minute:t?-1:0,second:t?-1:0};var n=new Date(e);if(Oc()(n.getTime()))throw new Error("Unable to parse date "+e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:t?n.getUTCHours():0,minute:t?n.getUTCMinutes():0,second:t?n.getUTCSeconds():0}}function Zf(e){var t=e.year,n=e.month,r=e.day,i=e.hour,o=void 0===i?0:i,a=e.minute,s=void 0===a?0:a,l=e.second,c=void 0===l?0:l,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],f=Date.UTC(t,n-1,r,o,s,c),d=new Date(f).toJSON();return u?d:d.slice(0,10)}function Xf(e){if(!e)return"";var t=new Date(e),n=Qf(t.getFullYear(),4),r=Qf(t.getMonth()+1,2),i=Qf(t.getDate(),2),o=Qf(t.getHours(),2),a=Qf(t.getMinutes(),2),s=Qf(t.getSeconds(),2),l=Qf(t.getMilliseconds(),3);return"".concat(n,"-").concat(r,"-").concat(i,"T").concat(o,":").concat(a,":").concat(s,".").concat(l)}function Qf(e,t){for(var n=String(e);n.length<t;)n="0"+n;return n}function ed(e){var t={};return e.multipleOf&&(t.step=e.multipleOf),(e.minimum||0===e.minimum)&&(t.min=e.minimum),(e.maximum||0===e.maximum)&&(t.max=e.maximum),t}function td(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];if(i.properties){var o={anyOf:ec()(i.properties).map((function(e){return{required:[e]}}))},a=void 0;if(i.anyOf){var s=Pc({},i);s.allOf?s.allOf=s.allOf.slice():s.allOf=[],s.allOf.push(o),a=s}else a=Pc({},i,o);if(delete a.required,gf(a,e))return r}else if(gf(t[r],e))return r}return 0}function nd(e){return!!e.const||!(!e.enum||1!==e.enum.length||!0!==e.enum[0])||(e.anyOf&&1===e.anyOf.length?nd(e.anyOf[0]):e.oneOf&&1===e.oneOf.length?nd(e.oneOf[0]):!!e.allOf&&e.allOf.some(nd))}var rd=function(e){function t(e){var n;return rc(this,t),Zl(ac(n=sc(this,uc(t).call(this,e))),"getUsedFormData",(function(e,t){if(0===t.length&&"object"!==Gl(e))return e;var n=il()(e,t);return nc()(e)?ec()(n).map((function(e){return n[e]})):n})),Zl(ac(n),"getFieldNames",(function(e,t){return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""];return ec()(n).forEach((function(o){if("object"===Gl(n[o])){var a=i.map((function(e){return"".concat(e,".").concat(o)}));n[o].__rjsf_additionalProperties&&""!==n[o].$name?r.push(n[o].$name):e(n[o],r,a)}else"$name"===o&&""!==n[o]&&i.forEach((function(e){e=e.replace(/^\./,"");var n=Rs()(t,e);("object"!==Gl(n)||mc()(n))&&r.push(e)}))})),r}(e)})),Zl(ac(n),"onChange",(function(e,t){(Of(e)||nc()(e))&&(e=n.getStateFromProps(n.props,e).formData);var r=!n.props.noValidate&&n.props.liveValidate,i={formData:e},o=e;if(!0===n.props.omitExtraData&&!0===n.props.liveOmit){var a=Yf(Bf(n.state.schema,n.state.schema,e),"",n.state.schema,e),s=n.getFieldNames(a,e);i={formData:o=n.getUsedFormData(e,s)}}if(r){var l=n.validate(o),c=l.errors,u=l.errorSchema,f=c,d=u;n.props.extraErrors&&(c=df(u=Tf(u,n.props.extraErrors,!0))),i={formData:o,errors:c,errorSchema:u,schemaValidationErrors:f,schemaValidationErrorSchema:d}}else if(!n.props.noValidate&&t){var p=n.props.extraErrors?Tf(t,n.props.extraErrors,!0):t;i={formData:o,errorSchema:p,errors:df(p)}}n.setState(i,(function(){return n.props.onChange&&n.props.onChange(n.state)}))})),Zl(ac(n),"onBlur",(function(){var e;n.props.onBlur&&(e=n.props).onBlur.apply(e,arguments)})),Zl(ac(n),"onFocus",(function(){var e;n.props.onFocus&&(e=n.props).onFocus.apply(e,arguments)})),Zl(ac(n),"onSubmit",(function(e){if(e.preventDefault(),e.target===e.currentTarget){e.persist();var t,r,i=n.state.formData;if(!0===n.props.omitExtraData){var o=Yf(Bf(n.state.schema,n.state.schema,i),"",n.state.schema,i),a=n.getFieldNames(o,i);i=n.getUsedFormData(i,a)}if(!n.props.noValidate){var s=n.validate(i),l=s.errors,c=s.errorSchema,u=l,f=c;if(ec()(l).length>0)return n.props.extraErrors&&(c=Tf(c,n.props.extraErrors,!0),l=df(c)),void n.setState({errors:l,errorSchema:c,schemaValidationErrors:u,schemaValidationErrorSchema:f},(function(){n.props.onError?n.props.onError(l):console.error("Form validation failed",l)}))}n.props.extraErrors?r=df(t=n.props.extraErrors):(t={},r=[]),n.setState({formData:i,errors:r,errorSchema:t},(function(){n.props.onSubmit&&n.props.onSubmit(Xl({},n.state,{formData:i,status:"submitted"}),e)}))}})),n.state=n.getStateFromProps(e,e.formData),n.props.onChange&&!Vf(n.state.formData,n.props.formData)&&n.props.onChange(n.state),n.formElement=null,n}return pc(t,e),oc(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.getStateFromProps(e,e.formData);Vf(t.formData,e.formData)||Vf(t.formData,this.state.formData)||!this.props.onChange||this.props.onChange(t),this.setState(t)}},{key:"getStateFromProps",value:function(e,t){var n,r,i,o,a=this.state||{},s="schema"in e?e.schema:this.props.schema,l="uiSchema"in e?e.uiSchema:this.props.uiSchema,c=void 0!==t,u="liveValidate"in e?e.liveValidate:this.props.liveValidate,f=c&&!e.noValidate&&u,d=s,p=Ef(s,t,d),h=Bf(s,d,p),m=e.customFormats,g=e.additionalMetaSchemas;if(f){var v=this.validate(p,s,g,m);i=n=v.errors,o=r=v.errorSchema}else{var y=e.noValidate?{errors:[],errorSchema:{}}:e.liveValidate?{errors:a.errors||[],errorSchema:a.errorSchema||{}}:{errors:a.schemaValidationErrors||[],errorSchema:a.schemaValidationErrorSchema||{}};n=y.errors,r=y.errorSchema,i=a.schemaValidationErrors,o=a.schemaValidationErrorSchema}e.extraErrors&&(n=df(r=Tf(r,e.extraErrors,!0)));var b={schema:s,uiSchema:l,idSchema:Gf(h,l["ui:rootFieldId"],d,p,e.idPrefix),formData:p,edit:c,errors:n,errorSchema:r,additionalMetaSchemas:g};return i&&(b.schemaValidationErrors=i,b.schemaValidationErrorSchema=o),b}},{key:"shouldComponentUpdate",value:function(e,t){return Kf(this,e,t)}},{key:"validate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.schema,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.additionalMetaSchemas,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.customFormats,i=this.props,o=i.validate,a=i.transformErrors;return mf(e,Bf(t,this.getRegistry().rootSchema,e),o,a,n,r)}},{key:"renderErrors",value:function(){var e=this.state,t=e.errors,n=e.errorSchema,r=e.schema,i=e.uiSchema,o=this.props,a=o.ErrorList,s=o.showErrorList,l=o.formContext;return t.length&&0!=s?y.createElement(a,{errors:t,errorSchema:n,schema:r,uiSchema:i,formContext:l}):null}},{key:"getRegistry",value:function(){var e=_f(),t=e.fields,n=e.widgets;return{fields:Xl({},t,this.props.fields),widgets:Xl({},n,this.props.widgets),ArrayFieldTemplate:this.props.ArrayFieldTemplate,ObjectFieldTemplate:this.props.ObjectFieldTemplate,FieldTemplate:this.props.FieldTemplate,definitions:this.props.schema.definitions||{},rootSchema:this.props.schema,formContext:this.props.formContext||{}}}},{key:"submit",value:function(){this.formElement&&this.formElement.dispatchEvent(new CustomEvent("submit",{cancelable:!0}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.id,i=t.idPrefix,o=t.className,a=t.tagName,s=t.name,l=t.method,c=t.target,u=t.action,f=t.autocomplete,d=t.autoComplete,p=t.enctype,h=t.acceptcharset,m=t.noHtml5Validate,g=t.disabled,v=t.formContext,b=this.state,_=b.schema,w=b.uiSchema,S=b.formData,x=b.errorSchema,E=b.idSchema,k=this.getRegistry(),C=k.fields.SchemaField,O=a||"form";f&&console.warn("Using autocomplete property of Form is deprecated, use autoComplete instead.");var T=d||f;return y.createElement(O,{className:o||"rjsf",id:r,name:s,method:l,target:c,action:u,autoComplete:T,encType:p,acceptCharset:h,noValidate:m,onSubmit:this.onSubmit,ref:function(t){e.formElement=t}},this.renderErrors(),y.createElement(C,{schema:_,uiSchema:w,errorSchema:x,idSchema:E,idPrefix:i,formContext:v,formData:S,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,registry:k,disabled:g}),n||y.createElement("div",null,y.createElement("button",{type:"submit",className:"btn btn-info"},"Submit")))}}]),t}(y.Component);Zl(rd,"defaultProps",{uiSchema:{},noValidate:!1,liveValidate:!1,disabled:!1,noHtml5Validate:!1,ErrorList:function(e){var t=e.errors;return y.createElement("div",{className:"panel panel-danger errors"},y.createElement("div",{className:"panel-heading"},y.createElement("h3",{className:"panel-title"},"Errors")),y.createElement("ul",{className:"list-group"},t.map((function(e,t){return y.createElement("li",{key:t,className:"list-group-item text-danger"},e.stack)}))))},omitExtraData:!1}),St().object,St().object;const id=rd;var od=n(95328),ad=n.n(od),sd=n(36250),ld=n.n(sd),cd=n(21576),ud=n.n(cd),fd=n(3139),dd=n.n(fd),pd=function(e){return{anyOf:[{type:"array",items:e},(0,d.__assign)({},e)]}},hd={string:{type:"string"},boolean:{type:"boolean"},number:{type:"number"},integer:{type:"integer"},space:pd({type:["number","string"]})},md={};["p","pt","pb","pl","pr","px","py","m","mt","mb","ml","mr","mx","my"].reduce((function(e,t){return e[t]=hd.space,e}),md);var gd={flex:pd({type:["number","string"]}),flexDirection:pd({type:"string",enum:["column","row","column-reverse","row-reverse"]}),flexBasis:pd({type:"string"}),flexWrap:pd({type:"string",enum:["nowrap","wrap","wrap-reverse","initial","inherit"]}),alignItems:pd({type:"string",enum:["stretch","center","flex-start","flex-end","baseline","initial","inherit"]}),alignSelf:pd({type:"string",enum:["auto","stretch","center","flex-start","flex-end","baseline","initial","inherit"]}),justifyContent:pd({type:"string",enum:["flex-start","flex-end","center","space-between","space-around","initial","inherit"]}),justifySelf:pd({type:"string",enum:["auto","normal","stretch","center","start","end","flex-start","flex-end","self-start","self-end","left","right","baseline","initial","inherit","unset"]})},vd=(0,d.__assign)((0,d.__assign)({},md),gd);const yd={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function bd(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const _d={date:bd({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:bd({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:bd({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},wd={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Sd(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function xd(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let t=0;t<e.length;t++)if(e[t].test(a))return t}(s):function(e,t){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&e[t].test(a))return t}(s);let c;return c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c,{value:c,rest:t.slice(a.length)}}}var Ed;const kd={code:"en-US",formatDistance:(e,t,n)=>{let r;const i=yd[e];return r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:_d,formatRelative:(e,t,n,r)=>wd[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Sd({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Sd({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Sd({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Sd({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Sd({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(Ed={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(Ed.matchPattern);if(!n)return null;const r=n[0],i=e.match(Ed.parsePattern);if(!i)return null;let o=Ed.valueCallback?Ed.valueCallback(i[0]):i[0];return o=t.valueCallback?t.valueCallback(o):o,{value:o,rest:e.slice(r.length)}}),era:xd({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:xd({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:xd({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:xd({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:xd({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let Cd={};function Od(){return Cd}Math.pow(10,8);const Td=6048e5,Pd=864e5,Ad=6e4,Md=36e5,Ld=43200;function Id(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}function Rd(e){const t=Id(e);return t.setHours(0,0,0,0),t}function Dd(e){const t=Id(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function jd(e,t){const n=Rd(e),r=Rd(t),i=+n-Dd(n),o=+r-Dd(r);return Math.round((i-o)/Pd)}function Nd(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Fd(e){const t=Id(e);return jd(t,function(e){const t=Id(e),n=Nd(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t))+1}function Bd(e,t){const n=Od(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Id(e),o=i.getDay(),a=(o<r?7:0)+o-r;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}function zd(e){return Bd(e,{weekStartsOn:1})}function $d(e){const t=Id(e),n=t.getFullYear(),r=Nd(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=zd(r),o=Nd(e,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const a=zd(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Ud(e){const t=Id(e),n=+zd(t)-+function(e){const t=$d(e),n=Nd(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),zd(n)}(t);return Math.round(n/Td)+1}function Hd(e,t){const n=Id(e),r=n.getFullYear(),i=Od(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=Nd(e,0);a.setFullYear(r+1,0,o),a.setHours(0,0,0,0);const s=Bd(a,t),l=Nd(e,0);l.setFullYear(r,0,o),l.setHours(0,0,0,0);const c=Bd(l,t);return n.getTime()>=s.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function Wd(e,t){const n=Id(e),r=+Bd(n,t)-+function(e,t){const n=Od(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=Hd(e,t),o=Nd(e,0);return o.setFullYear(i,0,r),o.setHours(0,0,0,0),Bd(o,t)}(n,t);return Math.round(r/Td)+1}function qd(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const Vd={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return qd("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):qd(n+1,2)},d:(e,t)=>qd(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>qd(e.getHours()%12||12,t.length),H:(e,t)=>qd(e.getHours(),t.length),m:(e,t)=>qd(e.getMinutes(),t.length),s:(e,t)=>qd(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return qd(Math.trunc(r*Math.pow(10,n-3)),t.length)}},Kd={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return Vd.y(e,t)},Y:function(e,t,n,r){const i=Hd(e,r),o=i>0?i:1-i;return"YY"===t?qd(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):qd(o,t.length)},R:function(e,t){return qd($d(e),t.length)},u:function(e,t){return qd(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return qd(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return qd(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Vd.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return qd(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=Wd(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):qd(i,t.length)},I:function(e,t,n){const r=Ud(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):qd(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):Vd.d(e,t)},D:function(e,t,n){const r=Fd(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):qd(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return qd(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return qd(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return qd(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(i=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(i=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Vd.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):Vd.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):qd(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):qd(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Vd.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Vd.s(e,t)},S:function(e,t){return Vd.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Yd(r);case"XXXX":case"XX":return Jd(r);default:return Jd(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Yd(r);case"xxxx":case"xx":return Jd(r);default:return Jd(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Gd(r,":");default:return"GMT"+Jd(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Gd(r,":");default:return"GMT"+Jd(r,":")}},t:function(e,t,n){return qd(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return qd(e.getTime(),t.length)}};function Gd(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+qd(o,2)}function Yd(e,t){return e%60==0?(e>0?"-":"+")+qd(Math.abs(e)/60,2):Jd(e,t)}function Jd(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+qd(Math.trunc(r/60),2)+t+qd(r%60,2)}const Zd=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Xd=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Qd={p:Xd,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return Zd(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",Zd(r,t)).replace("{{time}}",Xd(i,t))}},ep=/^D+$/,tp=/^Y+$/,np=["D","DD","YY","YYYY"];function rp(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=Id(e);return!isNaN(Number(n))}const ip=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,op=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ap=/^'([^]*?)'?$/,sp=/''/g,lp=/[a-zA-Z]/;function cp(e){const t=e.match(ap);return t?t[1].replace(sp,"'"):e}function up(e,t){const n=Id(e),r=Id(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}function fp(e){const t=Id(e);return+function(e){const t=Id(e);return t.setHours(23,59,59,999),t}(t)==+function(e){const t=Id(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}(t)}function dp(e,t){const n=Id(e),r=Id(t),i=up(n,r),o=Math.abs(function(e,t){const n=Id(e),r=Id(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(n,r));let a;if(o<1)a=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*o);let t=up(n,r)===-i;fp(Id(e))&&1===o&&1===up(e,r)&&(t=!1),a=i*(o-Number(t))}return 0===a?0:a}function pp(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}function hp(e,t){return+Id(e)-+Id(t)}function mp(e,t,n){const r=hp(e,t)/1e3;return pp(n?.roundingMethod)(r)}var gp=n(38832),vp=n(61388),yp=n.n(vp),bp=n(83547),_p=n.n(bp),wp=n(85210),Sp=n.n(wp);function xp(e,t,n){return function(r){var i=r;return Object.assign(i,{displayName:e,uiOptions:t,supportedTypes:n}),i}}function Ep(e,t){if(void 0===t&&(t={}),!e)return"";var n=Rs()(t,["ui:options","dtFormat"])||"".concat("MMM do yyyy",", ").concat("h:mm a");return function(e,t,n){const r=Od(),i=n?.locale??r.locale??kd,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=Id(e);if(!rp(s))throw new RangeError("Invalid time value");let l=t.match(op).map((e=>{const t=e[0];return"p"===t||"P"===t?(0,Qd[t])(e,i.formatLong):e})).join("").match(ip).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:cp(e)};if(Kd[t])return{isToken:!0,value:e};if(t.match(lp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));i.localize.preprocessor&&(l=i.localize.preprocessor(s,l));const c={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return l.map((r=>{if(!r.isToken)return r.value;const o=r.value;return(!n?.useAdditionalWeekYearTokens&&function(e){return tp.test(e)}(o)||!n?.useAdditionalDayOfYearTokens&&function(e){return ep.test(e)}(o))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),np.includes(e))throw new RangeError(r)}(o,t,String(e)),(0,Kd[o[0]])(s,o,i.localize,c)})).join("")}(new Date(e),n)}function kp(e){return function(t){var n=function(n){var r=il().apply(void 0,(0,d.__spreadArray)([Rs()(n.uiSchema,"ui:options",{})],ud()(e),!1));return y.createElement(t,(0,d.__assign)({},n,r))};return n.displayName=t.displayName,n.uiOptions=t.uiOptions,n.supportedTypes=t.supportedTypes,n}}var Cp=function(e){var t=e.value,n=e.uiSchema,r=e.extraContext;if(null==n)return{};var i=(0,d.__assign)({source:null!=t?t:""},r);if("object"==typeof t){var o=wl()(n,(function(e,t){return t.startsWith("ui:")})),a=yp()(o,i);return La()({},n,a)}return yp()(n,i)},Op=function(e){var t=e.value,n=e.schema,r=e.uiSchema,i=e.extraContext,o=e.extraFormats;if(!dd()(t))throw new Error("Value must be an array (not '".concat(typeof t,"')"));var a=Rs()(r,["ui:options","truncate"],t.length),s=t.slice(0,a).map((function(e){var t=Rs()(n,"items",{}),a=Rs()(r,"items",{});return{value:e,schema:t,uiSchema:Cp({value:e,uiSchema:a,extraContext:i}),extraContext:i,extraFormats:o}}));return a<t.length&&s.push({value:"+ ".concat(t.length-a," more"),schema:{type:"string"},uiSchema:{},extraContext:i,extraFormats:o}),s};var Tp={array:"array",object:"object",number:"number",integer:"integer",string:"string",boolean:"boolean",null:"null"},Pp=xp("Array",{orientation:(0,d.__assign)((0,d.__assign)({},hd.string),{enum:["vertical","horizontal"]}),truncate:hd.integer},[Tp.array])((function(e){var t=e.value,n=e.schema,r=e.uiSchema,i=e.extraContext,o=e.extraFormats,a=(0,d.__rest)(e,["value","schema","uiSchema","extraContext","extraFormats"]),s=Op({value:t,schema:n,uiSchema:r,extraContext:i,extraFormats:o});return y.createElement(ti.s,{flexDirection:"horizontal"===Rs()(r,["ui:options","orientation"])?"row":"column",flexWrap:"wrap"},Ai()(s,(function(e,t){return y.createElement(pm,(0,d.__assign)({key:t,nested:!0},e,a))})))}));const Ap=Pp,Mp=xp("Badge",{shade:hd.number},[Tp.string,Tp.integer,Tp.number,Tp.boolean])((function(e){var t=e.value,n=(e.schema,e.uiSchema,(0,d.__rest)(e,["value","schema","uiSchema"]));if(null==t)return null;var r=Rs()(n,"shade",function(e,t){for(var n=0,r=0;r<e.length;r++)n=e.charCodeAt(r)+((n<<5)-n);return n>>8*e.length&23}(t.toString()));return y.createElement(Si,(0,d.__assign)({},n,{shade:r}),t.toString())})),Lp=xp("Button",{href:hd.string,target:(0,d.__assign)((0,d.__assign)({},hd.string),{enum:["_blank","_self","_parent","_top"]}),disabled:hd.boolean,primary:hd.boolean,secondary:hd.boolean,tertiary:hd.boolean,quarternary:hd.boolean,danger:hd.boolean,warning:hd.boolean,success:hd.boolean,info:hd.boolean,light:hd.boolean,outline:hd.boolean,plain:hd.boolean,underline:hd.boolean},[Tp.string,Tp.boolean,Tp.integer,Tp.boolean])((function(e){var t=e.value,n=(e.schema,e.uiSchema,(0,d.__rest)(e,["value","schema","uiSchema"]));return null==t?null:y.createElement(ei,(0,d.__assign)({},n),t.toString())}));var Ip=["string","integer","number"],Rp=Lp.uiOptions?kp(Lp.uiOptions)(Lp):Lp,Dp=xp("ButtonGroup",{},[Tp.array])((function(e){var t=e.value,n=e.schema,r=e.uiSchema,i=e.extraContext,o=e.extraFormats,a=(0,d.__rest)(e,["value","schema","uiSchema","extraContext","extraFormats"]);if(!dd()(t))throw new Error("ButtonGroupWidget cannot be used to render a value of type '".concat(typeof t,"'"));var s=Rs()(n,["items","type"],"undefined");if(!Ip.includes(s))throw new Error("ButtonGroupWidget cannot be used to render an array of items of type ".concat(s));var l=Op({value:t,schema:n,uiSchema:r,extraContext:i});return y.createElement(Ti,(0,d.__assign)({},a),Ai()(l,(function(e,t){return y.createElement(Rp,(0,d.__assign)({key:t},e,{extraFormats:o}))})))}));const jp=Dp;var Np=n(6820),Fp=n.n(Np);const Bp=xp("Checkbox",{label:hd.string,reverse:hd.boolean,toggle:hd.boolean},[Tp.boolean])((function(e){var t=e.value,n=(e.schema,e.uiSchema,(0,d.__rest)(e,["value","schema","uiSchema"]));return y.createElement(xo,(0,d.__assign)({},n,{checked:Boolean(t),onChange:Fp()}))})),zp=xp("Color",{label:hd.string,hideValueDisplay:hd.bool,width:hd.space,height:hd.space},[Tp.string])((function(e){var t=e.value,n=(e.schema,e.uiSchema,e.label),r=e.hideValueDisplay,i=e.width,o=void 0===i?"100px":i,a=e.height,s=void 0===a?"100px":a,l=(0,d.__rest)(e,["value","schema","uiSchema","label","hideValueDisplay","width","height"]);if(null==t)return null;var c=t.toString()||"transparent",u=(0,Rr.T4)(c)?"#000":"#FFF";return y.createElement(ti.s,(0,d.__assign)({},l,{width:o,height:s,bg:c,color:u,alignItems:"center",flexDirection:"column",justifyContent:"center"}),n&&y.createElement(vi.Dy,null,n),!r&&y.createElement(vi.Dy,null,t))}));var $p=["string","integer","number"],Up=xp("DropDownButton",{label:hd.string,disabled:hd.boolean,primary:hd.boolean,secondary:hd.boolean,tertiary:hd.boolean,quarternary:hd.boolean,danger:hd.boolean,warning:hd.boolean,success:hd.boolean,info:hd.boolean,emphasized:hd.boolean,square:hd.boolean,border:hd.boolean,joined:hd.boolean,alignRight:hd.boolean,listMaxHeight:hd.space},[Tp.array])((function(e){var t=e.value,n=e.schema,r=e.uiSchema,i=e.extraContext,o=e.extraFormats,a=(0,d.__rest)(e,["value","schema","uiSchema","extraContext","extraFormats"]);if(!dd()(t))throw new Error("DropDownButtonWidget cannot be used to render a value of type '".concat(typeof t,"'"));var s=Rs()(n,["items","type"],"undefined");if(!$p.includes(s))throw new Error("DropDownButtonWidget cannot be used to render an array of items of type ".concat(s));var l=Op({value:t,schema:n,uiSchema:r,extraContext:i});return y.createElement(qo,(0,d.__assign)({},a),Ai()(l,(function(e,t){return y.createElement(pm,(0,d.__assign)({key:t},e,{extraFormats:o}))})))}));const Hp=Up,Wp=xp("Heading",{size:(0,d.__assign)((0,d.__assign)({},hd.number),{enum:[1,2,3,4,5,6]})},[Tp.string])((function(e){var t=e.value,n=(e.schema,e.uiSchema,e.size),r=(0,d.__rest)(e,["value","schema","uiSchema","size"]);if(null==t)return null;var i=Rs()(Li.D,"h".concat(n),Li.D.h3);return y.createElement(i,(0,d.__assign)({},r),t.toString())}));var qp,Vp=(0,w.default)(vi.Dy.span)(qp||(qp=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-block;\n\tborder-radius: 2px;\n\tline-height: 1;\n"],["\n\tdisplay: inline-block;\n\tborder-radius: 2px;\n\tline-height: 1;\n"]))),Kp=(0,b.Ay)((function(e){var t=e.children,n=e.className,r=e.theme,i=e.color,o=(0,d.__rest)(e,["children","className","theme","color"]);if("string"!=typeof t)throw new Error("The child element of the HighlightedName component must be a string, received: ".concat(typeof t));var a=(0,Rr.oU)(Object.assign(o,{theme:r}),"bg","main")||(0,Rr.kD)(t);return y.createElement(Vp,(0,d.__assign)({},o,{className:n,p:2,fontSize:2,color:i||(0,Rr.T4)(a)?r.colors.text.main:"#fff",bg:a}),t)}),[],["bg","color"]);const Gp=xp("HighlightedName",{bg:hd.string,color:hd.string},[Tp.string,Tp.integer,Tp.number,Tp.boolean])((function(e){var t=e.value,n=(e.schema,e.uiSchema,(0,d.__rest)(e,["value","schema","uiSchema"]));if(null==t)return null;var r=Rs()(n,"bg",(0,Rr.kD)(t.toString())),i=Rs()(n,"color",(0,Rr.T4)(r)?"#000":"#FFF");return y.createElement(Kp,(0,d.__assign)({},n,{bg:r,color:i}),t.toString())}));var Yp=w.default.img(Zp||(Zp=(0,d.__makeTemplateObject)(["\n\tdisplay: block;\n\tmax-width: 100%;\n\theight: auto;\n\t",";\n\t",";\n"],["\n\tdisplay: block;\n\tmax-width: 100%;\n\theight: auto;\n\t",";\n\t",";\n"])),Vn.xe,Vn.VL),Jp=function(e){var t=e.fallback,n=e.src,r=(0,d.__rest)(e,["fallback","src"]),i=y.useState(n),o=i[0],a=i[1];y.useEffect((function(){a(n)}),[n]);var s=y.useCallback((function(){a(t)}),[]);return y.createElement(Yp,(0,d.__assign)({onError:s,src:o},r))};Jp.displayName="Img";var Zp,Xp=Jp;const Qp=xp("Img",{alt:hd.string,height:hd.space,width:hd.space,crossorigin:(0,d.__assign)((0,d.__assign)({},hd.string),{enum:["anonymous","use-credentials"]}),decoding:(0,d.__assign)((0,d.__assign)({},hd.string),{enum:["sync","async","auto"]}),loading:(0,d.__assign)((0,d.__assign)({},hd.string),{enum:["eager","lazy"]}),sizes:hd.string,srcset:hd.string},[Tp.string])((function(e){var t=e.value,n=(e.schema,e.uiSchema,(0,d.__rest)(e,["value","schema","uiSchema"]));return null==t?null:y.createElement(Xp,(0,d.__assign)({},n,{src:t.toString()}))}));var eh=xp("Link",{blank:hd.boolean,download:hd.string,href:hd.string,rel:hd.string,type:hd.string},[Tp.string])((function(e){var t=e.value,n=e.schema,r=(e.uiSchema,(0,d.__rest)(e,["value","schema","uiSchema"]));if(null==t)return null;var i=Rs()(r,"href",t.toString());return null!=i&&"email"===Rs()(n,"format")&&(i="mailto:".concat(i.replace(/^mailto:/,""))),y.createElement(Fi.N,(0,d.__assign)({},r,{href:i}),t.toString())}));const th=eh;var nh,rh,ih,oh=1.5,ah=w.default.ul(nh||(nh=(0,d.__makeTemplateObject)(["\n\tpadding: 0;\n\tmargin: 0;\n\tlist-style: none;\n\n\t& > li {\n\t\tdisplay: flex;\n\n\t\t:first-child {\n\t\t\tmargin-top: 0;\n\t\t}\n\n\t\t:last-child {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\t:before {\n\t\t\ttext-align: center;\n\t\t}\n\t}\n"],["\n\tpadding: 0;\n\tmargin: 0;\n\tlist-style: none;\n\n\t& > li {\n\t\tdisplay: flex;\n\n\t\t:first-child {\n\t\t\tmargin-top: 0;\n\t\t}\n\n\t\t:last-child {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\t:before {\n\t\t\ttext-align: center;\n\t\t}\n\t}\n"]))),sh=(0,w.default)(ah).attrs({as:"ol"})(rh||(rh=(0,d.__makeTemplateObject)(["\n\tcounter-reset: ordered-list-counter;\n\n\t& > li {\n\t\tmargin: ","px 0;\n\t\tcounter-increment: ordered-list-counter;\n\n\t\t:before {\n\t\t\tcontent: counter(ordered-list-counter);\n\t\t\tmargin-right: ","px;\n\t\t\tbackground: ",";\n\t\t\theight: ","em;\n\t\t\twidth: ","em;\n\t\t\tmin-width: ","em;\n\t\t\tline-height: ","em;\n\t\t\tcolor: white;\n\t\t\tborder-radius: 50%;\n\t\t}\n\t}\n"],["\n\tcounter-reset: ordered-list-counter;\n\n\t& > li {\n\t\tmargin: ","px 0;\n\t\tcounter-increment: ordered-list-counter;\n\n\t\t:before {\n\t\t\tcontent: counter(ordered-list-counter);\n\t\t\tmargin-right: ","px;\n\t\t\tbackground: ",";\n\t\t\theight: ","em;\n\t\t\twidth: ","em;\n\t\t\tmin-width: ","em;\n\t\t\tline-height: ","em;\n\t\t\tcolor: white;\n\t\t\tborder-radius: 50%;\n\t\t}\n\t}\n"])),(function(e){return e.theme.space[3]}),(function(e){return e.theme.space[2]}),(function(e){return e.theme.colors.info.main}),oh,oh,oh,oh),lh=(0,w.default)(ah)(ih||(ih=(0,d.__makeTemplateObject)(["\n\t& > li {\n\t\tmargin: ","px 0;\n\n\t\t:before {\n\t\t\tcontent: '\\2022'; /* Unicode for a bullet character */\n\t\t\tmargin-right: ","px;\n\t\t\ttransform: translateY(\n\t\t\t\t-1px\n\t\t\t); /* The bullet character is misplaced (by design it seems) by 1px, but it looks better if it is centered */\n\t\t\tcolor: ",";\n\t\t}\n\t}\n"],["\n\t& > li {\n\t\tmargin: ","px 0;\n\n\t\t:before {\n\t\t\tcontent: '\\\\2022'; /* Unicode for a bullet character */\n\t\t\tmargin-right: ","px;\n\t\t\ttransform: translateY(\n\t\t\t\t-1px\n\t\t\t); /* The bullet character is misplaced (by design it seems) by 1px, but it looks better if it is centered */\n\t\t\tcolor: ",";\n\t\t}\n\t}\n"])),(function(e){return e.theme.space[1]}),(function(e){return e.theme.space[2]}),(function(e){return e.theme.colors.tertiary.main})),ch=(0,b.Ay)((function(e){var t=e.children,n=e.className,r=e.ordered?sh:lh;return y.createElement(r,{className:n},y.Children.map(t,(function(e){return y.createElement("li",null,e)})))})),uh=xp("List",{truncate:hd.integer,ordered:hd.boolean},[Tp.array])((function(e){var t=e.value,n=e.schema,r=e.uiSchema,i=(e.truncate,e.extraFormats),o=e.extraContext,a=(0,d.__rest)(e,["value","schema","uiSchema","truncate","extraFormats","extraContext"]),s=Op({value:t,schema:n,uiSchema:r,extraContext:o,extraFormats:i});return y.createElement(ch,(0,d.__assign)({},a),Ai()(s,(function(e,t){return y.createElement(pm,(0,d.__assign)({key:t,nested:!0},e,{extraFormats:i}))})))}));const fh=uh;var dh=xp("Object",void 0,[Tp.object])((function(e){var t=e.value,n=e.schema,r=e.uiSchema,i=(0,d.__rest)(e,["value","schema","uiSchema"]),o=function(e){var t=e.value,n=e.schema,r=e.uiSchema;if("object"!=typeof t)throw new Error("Cannot get object property names from a value of type '".concat(typeof t,"'"));var i=function(e){return ud()(e).filter((function(e){return e.startsWith("ui:field:")}))}(r),o=Rs()(r,["ui:order"],ud()(Rs()(n,"properties")))||[],a=_p()(ud()(t)||[],o),s=(0,d.__spreadArray)((0,d.__spreadArray)((0,d.__spreadArray)([],i,!0),o,!0),a,!0);return Rs()(r,"ui:explicit",!1)?s.filter((function(e){return Sp()(r,e)})):s}({value:t,schema:n,uiSchema:r});return y.createElement(y.Fragment,null,o.map((function(e){var o,a={value:null!==(o=Rs()(t,e))&&void 0!==o?o:null,schema:Rs()(n,["properties",e]),uiSchema:Rs()(r,e)};return y.createElement(pm,(0,d.__assign)({key:e,nested:!0,valueKey:e},a,i))})))}));const ph=dh;var hh,mh,gh,vh,yh="width linear 250ms",bh=w.default.div(hh||(hh=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n\theight: ",";\n\toverflow: hidden;\n\tbackground: ",";\n\ttransition: ",";\n\ttext-align: center;\n"],["\n\tposition: relative;\n\theight: ",";\n\toverflow: hidden;\n\tbackground: ",";\n\ttransition: ",";\n\ttext-align: center;\n"])),(function(e){return(0,tr.px)(e.emphasized?e.theme.space[5]:e.theme.space[4])}),(function(e){return e.bg||e.theme.colors.primary.main}),yh),_h=w.default.div(mh||(mh=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbottom: 0;\n\tright: 0;\n\ttext-align: center;\n\tcolor: #000;\n\ttext-shadow: 0 0 3px rgba(255, 255, 255, 0.5);\n"],["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbottom: 0;\n\tright: 0;\n\ttext-align: center;\n\tcolor: #000;\n\ttext-shadow: 0 0 3px rgba(255, 255, 255, 0.5);\n"]))),wh=w.default.div(gh||(gh=(0,d.__makeTemplateObject)(["\n\ttext-align: center;\n\tposition: absolute;\n\tleft: 0;\n\tbottom: 0;\n\ttop: 0;\n\ttext-shadow: 0 0 3px rgba(0, 0, 0, 0.5);\n\ttransition: ",";\n"],["\n\ttext-align: center;\n\tposition: absolute;\n\tleft: 0;\n\tbottom: 0;\n\ttop: 0;\n\ttext-shadow: 0 0 3px rgba(0, 0, 0, 0.5);\n\ttransition: ",";\n"])),yh),Sh=w.default.div(vh||(vh=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n\tborder-radius: ",";\n\theight: ",";\n\tline-height: ",";\n\tbackground: ",";\n\tfont-size: ","em;\n\toverflow: hidden;\n"],["\n\tposition: relative;\n\tborder-radius: ",";\n\theight: ",";\n\tline-height: ",";\n\tbackground: ",";\n\tfont-size: ","em;\n\toverflow: hidden;\n"])),(function(e){return(0,tr.px)(e.theme.radius)}),(function(e){return(0,tr.px)(e.emphasized?e.theme.space[4]:e.theme.space[3])}),(function(e){return(0,tr.px)(e.emphasized?e.theme.space[4]:e.theme.space[3])}),(function(e){return e.theme.colors.quartenary.main}),(function(e){return e.emphasized?1:.6})),xh=(0,xi.p)((function(e){var t=Xs()(Object.keys(e),(function(t){return Xs()(Object.keys(e.theme.colors),(function(e){return e===t}))}));return Object.assign({},e,{type:t})})),Eh=(0,xi.p)((function(e){var t,n=e.type,r=e.theme,i=e.background,o=e.color,a=null===(t=r.colors[n||"primary"])||void 0===t?void 0:t.main;return{color:o||"#fff",background:i||a}})),kh=(0,b.Ay)((function(e){var t=e.children,n=e.background,r=e.value,i=(0,d.__rest)(e,["children","background","value"]);return y.createElement(Sh,(0,d.__assign)({},i),y.createElement(_h,null,t),y.createElement(bh,{bg:n,style:{width:"".concat(r,"%")}},y.createElement(wh,{style:{width:"".concat(r&&1e4/r,"%")}},t)))}),[xh,Eh],["color"]);const Ch=xp("ProgressBar",{background:hd.string,primary:hd.boolean,secondary:hd.boolean,tertiary:hd.boolean,quartenary:hd.boolean,danger:hd.boolean,warning:hd.boolean,success:hd.boolean,info:hd.boolean,emphasized:hd.boolean},[Tp.integer,Tp.number])((function(e){var t=e.value,n=(e.schema,e.uiSchema,e.extraContext,e.extraFormats,(0,d.__rest)(e,["value","schema","uiSchema","extraContext","extraFormats"]));if(null==t)return null;if("number"!=typeof t)throw new Error("ProgressBarWidget cannot be used to render a value of type '".concat(typeof t,"'"));return y.createElement(kh,(0,d.__assign)({},n,{value:t}),t.toFixed(0),"%")})),Oh=xp("Tag",{operator:hd.boolean,name:hd.string},[Tp.string,Tp.integer,Tp.number])((function(e){var t=e.value,n=(e.schema,e.uiSchema,(0,d.__rest)(e,["value","schema","uiSchema"]));return null==t?null:y.createElement(Go,(0,d.__assign)({},n,{value:t.toString()}))}));var Th=n(60168),Ph=n.n(Th),Ah=(0,w.default)(vi.Dy)(Rh||(Rh=(0,d.__makeTemplateObject)(["\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tmax-width: 100%;\n"],["\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tmax-width: 100%;\n"]))),Mh=["date-time","date","time"],Lh=xp("Txt",{dtFormat:hd.string,bold:hd.boolean,italic:hd.boolean,monospace:hd.boolean,caps:hd.boolean,align:(0,d.__assign)((0,d.__assign)({},hd.string),{enum:["left","right","center","justify","justify-all","start","end","match-parent","inherit","initial","unset"]}),whitespace:(0,d.__assign)((0,d.__assign)({},hd.string),{enum:["normal","nowrap","pre","pre-line","pre-wrap","initial","inherit"]})},[Tp.string,Tp.null,Tp.integer,Tp.number,Tp.boolean,Tp.array])((function(e){var t,n=e.value,r=e.schema,i=e.uiSchema,o=(0,d.__rest)(e,["value","schema","uiSchema"]),a=dd()(n)?function(e,t){var n=Rs()(t,["ui:options","truncate"],e.length),r=Ph()(e.slice(0,n),"toString").join(", ");return n<e.length&&(r+=" and ".concat(e.length-n," more...")),r}(n,i):null==n?void 0:n.toString();Mh.includes(null!==(t=null==r?void 0:r.format)&&void 0!==t?t:"")&&(a=null!=a?Ep(a,i):"");var s=Rs()(i,["ui:options","truncate"])?Ah:vi.Dy;return y.createElement(s,(0,d.__assign)({},o),a||"")}));const Ih=Lh;var Rh,Dh=xp("ElapsedTime",{dtFormat:hd.string},[Tp.string,Tp.number])((function(e){var t,n=e.value;return n?y.createElement(vi.Dy,{tooltip:Ep(n)},(void 0===t&&(t=!0),function(e,t,n){const r=Od(),i=n?.locale??r.locale??kd,o=up(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const a=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:o});let s,l;o>0?(s=Id(t),l=Id(e)):(s=Id(e),l=Id(t));const c=mp(l,s),u=(Dd(l)-Dd(s))/1e3,f=Math.round((c-u)/60);let d;if(f<2)return n?.includeSeconds?c<5?i.formatDistance("lessThanXSeconds",5,a):c<10?i.formatDistance("lessThanXSeconds",10,a):c<20?i.formatDistance("lessThanXSeconds",20,a):c<40?i.formatDistance("halfAMinute",0,a):c<60?i.formatDistance("lessThanXMinutes",1,a):i.formatDistance("xMinutes",1,a):0===f?i.formatDistance("lessThanXMinutes",1,a):i.formatDistance("xMinutes",f,a);if(f<45)return i.formatDistance("xMinutes",f,a);if(f<90)return i.formatDistance("aboutXHours",1,a);if(f<1440){const e=Math.round(f/60);return i.formatDistance("aboutXHours",e,a)}if(f<2520)return i.formatDistance("xDays",1,a);if(f<Ld){const e=Math.round(f/1440);return i.formatDistance("xDays",e,a)}if(f<86400)return d=Math.round(f/Ld),i.formatDistance("aboutXMonths",d,a);if(d=dp(l,s),d<12){const e=Math.round(f/Ld);return i.formatDistance("xMonths",e,a)}{const e=d%12,t=Math.trunc(d/12);return e<3?i.formatDistance("aboutXYears",t,a):e<9?i.formatDistance("overXYears",t,a):i.formatDistance("almostXYears",t+1,a)}}(new Date(n),new Date,{addSuffix:t}))):null}));function jh(e,t){const{years:n=0,months:r=0,weeks:i=0,days:o=0,hours:a=0,minutes:s=0,seconds:l=0}=t,c=Id(e),u=r||n?function(e,t){const n=Id(e);if(isNaN(t))return Nd(e,NaN);if(!t)return n;const r=n.getDate(),i=Nd(e,n.getTime());return i.setMonth(n.getMonth()+t+1,0),r>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),r),n)}(c,r+12*n):c,f=1e3*(l+60*(s+60*a));return Nd(e,(o||i?function(e,t){const n=Id(e);return isNaN(t)?Nd(e,NaN):t?(n.setDate(n.getDate()+t),n):n}(u,o+7*i):u).getTime()+f)}function Nh(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Fh(e,t){const n=Id(e),r=Id(t),i=up(n,r),o=Math.abs(function(e,t){const n=Id(e),r=Id(t);return n.getFullYear()-r.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);const a=i*(o-+(up(n,r)===-i));return 0===a?0:a}function Bh(e){const t=Id(e.start),n=Id(e.end),r={},i=Fh(n,t);i&&(r.years=i);const o=jh(t,{years:r.years}),a=dp(n,o);a&&(r.months=a);const s=jh(o,{months:r.months}),l=function(e,t){const n=Id(e),r=Id(t),i=Nh(n,r),o=Math.abs(jd(n,r));n.setDate(n.getDate()-i*o);const a=i*(o-Number(Nh(n,r)===-i));return 0===a?0:a}(n,s);l&&(r.days=l);const c=jh(s,{days:r.days}),u=function(e,t,n){const r=hp(e,t)/Md;return pp(n?.roundingMethod)(r)}(n,c);u&&(r.hours=u);const f=jh(c,{hours:r.hours}),d=function(e,t,n){const r=hp(e,t)/Ad;return pp(n?.roundingMethod)(r)}(n,f);d&&(r.minutes=d);const p=mp(n,jh(f,{minutes:r.minutes}));return p&&(r.seconds=p),r}var zh=xp("Duration",{},[Tp.object])((function(e){var t=e.value,n=y.useMemo((function(){var e,n,r;if(!t.start||!t.end)return"";var i=Bh({start:new Date(t.start),end:new Date(t.end)});if(!i)return"";for(var o={},a=0,s=Object.entries(i);a<s.length;a++){var l=s[a],c=l[0],u=l[1];null!=u&&(o[c]=u<10?"0".concat(u):"".concat(u))}var f="";return i.years&&(f+="".concat(o.years,"y ")),(f.length>0||i.months)&&(f+="".concat(o.months,"m ")),(f.length>0||i.days)&&(f+="".concat(o.days,"d ")),null!==(e=o.hours)&&void 0!==e||(o.hours="00"),null!==(n=o.minutes)&&void 0!==n||(o.minutes="00"),null!==(r=o.seconds)&&void 0!==r||(o.seconds="00"),f+"".concat(o.hours,":").concat(o.minutes,":").concat(o.seconds)}),[]);return y.createElement(vi.Dy,null,n)})),$h=xp("Code",{},[Tp.string])((function(e){var t=e.value;return y.createElement(vi.Dy,{code:!0,truncate:!0,copy:t,style:{maxWidth:"200px"},tooltip:t},t)})),Uh=xp("Hash",{},[Tp.string])((function(e){var t,n,r=e.value;return y.createElement(vi.Dy,{code:!0,copy:r},(void 0===n&&(n=7),!(t=r)||t.length<n?t:t.substring(0,n)))})),Hh=xp("Temperature",{},[Tp.number])((function(e){var t=e.value;return y.createElement(y.Fragment,null,t?"~".concat(t,"°C"):"-")})),Wh=xp("Percentage",{},[Tp.string,Tp.number])((function(e){var t=e.value;return y.createElement(y.Fragment,null,t?"".concat(t,"%"):"-")})),qh=n(25626),Vh=n.n(qh),Kh=y.createContext({}),Gh={"labels.tags":"Tags","labels.shared":"Shared","labels.tag_name":"Tag name","labels.value":"Value","labels.tag_value":"Tag value","actions.ok":"OK","actions.manage_tags":"Manage tags","actions.add_tag":"Add tag","actions.continue":"Continue","actions.undo_add":"Undo add","actions.undo_edit":"Undo edit","actions.undo_delete":"Undo delete","actions.apply_item_type_count":"Apply","actions.apply_item_type_count_plural":"Apply to {{count}} {{itemType}}","actions_messages.confirmation":"Are you sure?","actions_confirmations.confirm_to_proceed":"Do you want to proceed?","no_data.no_name_set":"No name set","warnings.this_would_overwrite_tags":"Adding this would overwrite tags on {{itemType}}","warnings.tag_name_group_exists_and_will_be_overwritten":"A tag name group exists on {{count}} other {{itemType}} and will be overwritten.","warnings.tag_name_group_exists_and_will_be_overwritten_plural":"A tag name group exists on {{count}} other {{itemType}}s and will be overwritten.","warnings.fill_wifi_credentials":'Please fill in the wifi credentials or select "Ethernet only" in the "Network Connection" section',"warnings.some_fields_are_invalid":"Some fields are invalid","warnings.image_deployed_to_docker":"This image is deployed to docker so you can only download its config","errors.no_tags_for_selected_itemtype":"The selected {{itemType}} has no tags","errors.no_tags_for_selected_itemtype_plural":"The selected {{itemType}}s have no tags in common","fields_errors.tag_name_cannot_be_empty":"The tag name can't be empty.","fields_errors.tag_names_cannot_contain_whitespace":"Tag names cannot contain whitespace","fields_errors.some_tag_keys_are_reserved":"Tag names beginning with {{namespace}} are reserved","fields_errors.tag_with_same_name_exists":"A tag with the same name already exists","fields_errors.does_not_satisfy_minimum":"Must be greater than or equal to {{minimum}}","fields_errors.does_not_satisfy_maximum":"Must be less than or equal to {{maximum}}","placeholders.select_device_type":"Select device type","placeholders.select_os_type_status":"Select OS type","placeholders.choose_device_type":"Choose a device type...","placeholders.select_os_type":"Select OS type...","placeholders.select_version":"Select version","placeholders.select_edition":"Select edition","labels.instructions":"Instructions","labels.provisioning_key_name":"Provisioning Key name","labels.provisioning_key_expiry_date":"Provisioning Key expiring on","labels.recommended":"recommended","info.production_and_enterprise_plan_only":"production and enterprise plan only","info.no_esr_versions_are_available_for_device_type":"No ESR versions are available for this device type yet. Check the documentation for device types that already have ESR versions.","info.recommended_for_new_users":"Recommended for first time users","actions.add_new_device":"Add new device","actions.use_from_to_configure_and_download":"Use the form on the left to configure and download balenaOS for your new device.","actions.use_form_to_download_configuration":"Use the form on the left to download a configuration for your new device.","actions_messages.appearance_device_explanation":"Your device should appear in your application dashboard within a few minutes. Have fun!","actions.download_configuration_file":"Download configuration file","actions.download_balenaos":"Download balenaOS","actions.download_configuration_file_only":"Download configuration file only","actions.flash":"Flash","warning.etcher_min_requirement":"Etcher v1.7.2 or greater is required","loading.generic":"Loading...","loading.generating_configuration_file":"Generating configuration file...","loading.fetching_versions":"Fetching versions...","no_data.no_os_versions_available_for_download":"No OS versions available for download","no_data.no_instructions_found":"Instructions for this application are not currently available. Please try again later.","no_data.no_versions_yet":"no versions yet","info.development_images_for_local_development_1":"Development images should be used when you are developing an application and want to use the fast","info.development_images_for_local_development_2":"local mode","info.development_images_for_local_development_3":"workflow.","info.development_images_for_local_development_4":"This variant should never be used in production.","info.production_images_not_for_local_development":"Production images are ready for production deployments, but don't offer easy access for local development.","info.applications_support_devices_with_same_architecture":"Applications can support any devices that share the same architecture as their default device type.","labels.modify":"Modify","info.update_item_no_permissions":"You don't have permission to {{action}} the selected {{resource}}","info.ongoing_action_wait":"There is an ongoing action, please wait","info.create_item_no_permissions":"You don't have permission to create a new {{resource}}","resource.item_plural":"Items",no_resource_data:"You don't have any {{resource}} yet.","questions.how_about_adding_one":"How about adding one?","success.resource_added_successfully":"{{name}} added successfully","info.not_defined":"not defined"},Yh=function(){var e=y.useContext(Kh);return{t:function(t,n){var r=t;return e&&"function"==typeof e&&(r=e(t,n)),null!=r&&r!==t||(r=function(e,t){var n,r=Gh[e];if(!t)return r;if(null!=t.count&&t.count>1){var i="".concat(e,"_plural");r=null!==(n=Gh[i])&&void 0!==n?n:Gh[e]}return Vh()(r,{interpolate:/{{([\s\S]+?)}}/g})(t)}(t,n)),null!=r?r:t}}},Jh=xp("DisabledText",{},[Tp.string,Tp.number,Tp.null])((function(e){var t=e.value,n=Yh().t,r=null!=t&&"string"!=typeof t?t.toString():t;return y.createElement(vi.Dy,{maxWidth:"350px",truncate:!0,title:null!=r?r:n("info.not_defined"),color:"#b3b6b9",monospace:!0,copy:null!=r&&r.length>45?r:void 0,italic:null==r,px:1},null!=r?r:n("info.not_defined"))})),Zh=n(11365),Xh=xp("BooleanAsIcon",{},[Tp.boolean,Tp.null])((function(e){var t=e.value,n=t?"true":"false";return y.createElement(ti.s,{alignItems:"center"},y.createElement(v.g,{icon:t?h.SG:Zh.s0})," ",y.createElement(vi.Dy,{ml:"1"},n))})),Qh=xp("PlaceholderText",{},[Tp.string,Tp.number,Tp.null])((function(e){var t=e.value,n=null===t||""===t?"Empty":"string"!=typeof t?t.toString():t;return y.createElement(ti.s,null,y.createElement(vi.Dy,(0,d.__assign)({maxWidth:"300px",truncate:!0,title:n},!t&&{color:"gray.main"},{italic:!t}),n))})),em=xp("Wrap",{},[Tp.string])((function(e){var t=e.value;return y.createElement(vi.Dy,{maxWidth:"475px",whitespace:"normal"},t)})),tm=(0,d.__spreadArray)([{name:"color",format:".*",widget:zp},{name:"uri",format:".*",widget:th},{name:"email",format:".*",widget:th},{name:"elapsed-date-time",format:".*",widget:Dh},{name:"duration",format:".*",widget:zh},{name:"code",format:".*",widget:$h},{name:"hash",format:".*",widget:Uh},{name:"temperature",format:".*",widget:Hh},{name:"percentage",format:".*",widget:Wh},{name:"disabled-text",format:".*",widget:Jh},{name:"wrap",format:".*",widget:em},{name:"boolean-as-icon",format:".*",widget:Xh},{name:"placeholder-text",format:".*",widget:Qh}],[Ap,Mp,jp,Lp,Bp,zp,Hp,Wp,Gp,Qp,th,fh,ph,Ch,Oh,Ih].map((function(e){return{name:e.displayName,format:".*",widget:e.uiOptions?kp(e.uiOptions)(e):e}})),!0),nm={object:ph,string:Ih,null:Ih,integer:Ih,number:Ih,boolean:Ih,array:Ap,default:Ih},rm=n(59126),im=n.n(rm);function om(e){var t=e.valueKey,n=e.schema,r=void 0===n?{}:n,i=e.uiSchema,o=void 0===i?{}:i,a=Rs()(o,"ui:title",r.title||t),s=Rs()(o,"ui:description",r.description);return a||s?y.createElement(er.a,{mr:2},a&&y.createElement(vi.Dy,{bold:!0},im()(a)),s&&y.createElement(vi.Dy,{fontSize:"85%",color:"text.light"},s)):null}var am,sm=y.createContext({}),lm=function(e,t,n){var r=null==n?void 0:n["ui:value"];return void 0!==r?r:void 0!==e?e:null==t?void 0:t.default},cm=ud()(vd).map(sf()),um=function(e,t,n,r){var i,o,a=function(e){return void 0===e?"default":null===e?"null":dd()(e)?"array":typeof e}(e),s=null==r?void 0:r.find((function(e){var r,i;return(e.name===t||e.name===n)&&(null===(i=null===(r=e.widget)||void 0===r?void 0:r.supportedTypes)||void 0===i?void 0:i.includes(a))}));return null!==(o=null!==(i=null==s?void 0:s.widget)&&void 0!==i?i:nm[a])&&void 0!==o?o:nm.default},fm=function(e,t){var n=new(As());return ad()(t,(function(e){var t=e.name,r=e.format;n.addFormat(t,r)})),{validator:n,validate:n.compile(e||{})}},dm=(0,b.Ay)((function(e){var t,n=e.value,r=e.schema,i=e.uiSchema,o=e.valueKey,a=e.extraFormats,s=e.extraContext,l=e.validate,c=e.nested,u=(0,d.__rest)(e,["value","schema","uiSchema","valueKey","extraFormats","extraContext","validate","nested"]),f=y.useContext(sm).renderer,p=y.useMemo((function(){return function(e,t){return(null==e?void 0:e.anyOf)?e.anyOf.reduce((function(e,n){var r=gp.match(n,t);return r.valid&&r.score>e.score?{schema:n,score:r.score}:e}),{schema:e,score:0}).schema:e}(r,n)}),[r,n]),h=y.useMemo((function(){var e;return $l()((0,d.__spreadArray)((0,d.__spreadArray)((0,d.__spreadArray)([],null!=a?a:[],!0),null!==(e=null==f?void 0:f.formats)&&void 0!==e?e:[],!0),tm,!0),(function(e){return e.name}))}),[null==f?void 0:f.formats,a,tm]),m=y.useState(l&&!c?fm(p,h):null),g=m[0],v=m[1],b=y.useState(null),_=b[0],w=b[1];if(y.useEffect((function(){l&&!c?v(fm(p,h)):w(null)}),[l,c,h,p]),y.useEffect((function(){if(l&&!c){var e=g;e||(e=fm(p,h),v(e)),e.validate(n),w(e.validate.errors)}}),[l,c,g,n,p]),null===i)return null;var S=Cp({value:n,uiSchema:i,extraContext:s}),x=lm(n,p,S),E=null!=(null==p?void 0:p.type)?ld()(p.type):[];if(void 0===x||null===x&&!E.includes(Tp.null))return null;var k=il()(null!==(t=S["ui:options"])&&void 0!==t?t:{},cm),C=um(x,null==p?void 0:p.format,S["ui:widget"],h);return y.createElement(ti.s,(0,d.__assign)({minWidth:0,minHeight:0,alignItems:"flex-start",mb:1,flexDirection:"column"},u,k),_&&y.createElement(yi,{my:2,plaintext:!0,danger:!0,tooltip:null==g?void 0:g.validator.errorsText(_)},"Invalid data/schema"),y.createElement(om,{schema:p,uiSchema:S,valueKey:o}),y.createElement(C,{extraContext:s,extraFormats:h,value:x,schema:p,uiSchema:S}))})),pm=function(e){return y.createElement(dm,(0,d.__assign)({},e))},hm=n(23380),mm=n(51823),gm=n(61990),vm=n.n(gm),ym=(0,w.default)(ss)(am||(am=(0,d.__makeTemplateObject)(["\n\t",";\n\t",";\n\tpadding: ",";\n\tpadding-left: 20px;\n\n\tcolor: ",";\n\tcursor: ",";\n\tborder-color: ",";\n\n\t&:focus {\n\t\tborder-color: ",";\n\t}\n"],["\n\t",";\n\t",";\n\tpadding: ",";\n\tpadding-left: 20px;\n\n\tcolor: ",";\n\tcursor: ",";\n\tborder-color: ",";\n\n\t&:focus {\n\t\tborder-color: ",";\n\t}\n"])),tr.wP,tr.hO,(function(e){return e.emphasized?"14px":"10px"}),(function(e){return e.theme.colors.text.main}),(function(e){return e.disabled?"not-allowed":"auto"}),(function(e){return e.invalid?e.theme.colors.danger.main:e.valid?e.theme.colors.success.main:void 0}),(function(e){return e.theme.colors.tertiary.main})),bm=y.forwardRef((function(e,t){var n=(0,d.__rest)(e,[]);return y.createElement(ym,(0,d.__assign)({},n,{ref:t}))})),_m=(0,b.Ay)(bm),wm=function(e){function t(t){var n=e.call(this,t)||this;n.handleKeyChange=function(e){return function(t){var r=t.target.value,i=n.state.keys,o=i.indexOf(e);o>-1?i[o]=r:i.push(r),n.props.onKeyChange(e)(r),n.setState({keys:i})}};var r=Object.keys(t.formData||{});return n.state={keys:r},n}return(0,d.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.formData,r=t.schema;if(!r.patternProperties)return null;var i=Object.keys(r.patternProperties)[0],o=vm()(n,(function(e,t,n){return r.properties&&r.properties[n]||e.push({value:t,key:n}),e}),[]);o.sort((function(t,n){return-1===e.state.keys.indexOf(t.key)?1:e.state.keys.indexOf(t.key)-e.state.keys.indexOf(n.key)})),o.push({value:"",key:""});var a=r.patternProperties[i];return y.createElement("table",null,y.createElement("thead",null,y.createElement("tr",null,y.createElement("th",null,"Key"),y.createElement("th",null,a.title||"Value"))),y.createElement("tbody",null,Ai()(o,(function(t,n){var r,s=n+1===o.length;return y.createElement("tr",{key:n},y.createElement("td",null,y.createElement(_m,{value:t.key,className:"rendition-form-pattern-properties__key-field",disabled:s,pattern:i,placeholder:"Key",onChange:e.handleKeyChange(t.key)})),y.createElement("td",null,y.createElement(_m,{value:t.value,id:"foo",className:"rendition-form-pattern-properties__value-field",placeholder:a.title||"Value",onChange:(r=e.props.onPropertyChange(t.key),function(e){var t=e.target.value;return r(t)})}),!s&&y.createElement(ei,{className:"rendition-form-pattern-properties__remove-field",plain:!0,primary:!0,py:1,px:2,onClick:e.props.onDropPropertyClick(t.key)},y.createElement(v.g,{icon:mm.Be}))))}))))},t}(y.Component);const Sm=wm;var xm=n(83103);function Em(e){var t=e.TitleField,n=e.DescriptionField;return y.createElement("section",{id:e.idSchema.$id},(e.uiSchema["ui:title"]||e.title)&&y.createElement(t,{id:"".concat(e.idSchema.$id,"__title"),title:e.title||e.uiSchema["ui:title"],required:e.required}),e.description&&y.createElement(n,{id:"".concat(e.idSchema.$id,"__description"),description:e.description}),e.properties.map((function(e){return e.content})),function(){var t=e.formData,n=e.schema,r=e.uiSchema;if(!n.additionalProperties)return!1;var i=(0,xm.getUiOptions)(r).expandable;return!1===i?i:void 0===n.maxProperties||Object.keys(t).length<n.maxProperties}()&&y.createElement(hm.default,{className:"object-property-expand",onClick:e.onAddClick(e.schema),disabled:e.disabled||e.readonly}))}var km=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onPropertyChange=function(e,n){return void 0===n&&(n=!1),function(r,i){var o,a;!r&&n&&(r="");var s=(0,d.__assign)((0,d.__assign)({},t.props.formData),((o={})[e]=r,o));t.props.onChange(s,i&&t.props.errorSchema&&(0,d.__assign)((0,d.__assign)({},t.props.errorSchema),((a={})[e]=i,a)))}},t.onDropPropertyClick=function(e){return function(n){n.preventDefault();var r=t.props,i=r.onChange,o=r.formData,a=(0,d.__assign)({},o);delete a[e],i(a)}},t.getAvailableKey=function(e,t){for(var n=0,r=e;t.hasOwnProperty(r);)r="".concat(e,"-").concat(++n);return r},t.onKeyChange=function(e){return function(n,r){var i,o;if(e!==n){n=t.getAvailableKey(n,t.props.formData);var a=(0,d.__assign)({},t.props.formData),s=((i={})[e]=n,i),l=Object.keys(a).map((function(e){var t;return(t={})[s[e]||e]=a[e],t})),c=Object.assign.apply(Object,(0,d.__spreadArray)([{}],l,!1));t.props.onChange(c,r&&t.props.errorSchema&&(0,d.__assign)((0,d.__assign)({},t.props.errorSchema),((o={})[n]=r,o)))}}},t.handleAddClick=function(e){return function(){var n=e.additionalProperties.type,r=(0,d.__assign)({},t.props.formData);r[t.getAvailableKey("newKey",r)]=t.getDefaultValue(n),t.props.onChange(r)}},t}return(0,d.__extends)(t,e),t.prototype.isRequired=function(e){var t=this.props.schema;return Array.isArray(t.required)&&-1!==t.required.indexOf(e)},t.prototype.getDefaultValue=function(e){switch(e){case"string":default:return"New Value";case"array":return[];case"boolean":return!1;case"null":return null;case"number":return 0;case"object":return{}}},t.prototype.render=function(){var e,t=this,n=this.props,r=n.uiSchema,i=n.formData,o=n.errorSchema,a=n.idSchema,s=n.name,l=n.required,c=n.disabled,u=n.readonly,f=n.idPrefix,p=n.onBlur,h=n.onFocus,m=n.registry,g=void 0===m?(0,xm.getDefaultRegistry)():m,v=g.definitions,b=g.fields,_=g.formContext,w=b.SchemaField,S=b.TitleField,x=b.DescriptionField,E=(0,xm.retrieveSchema)(this.props.schema,v,i),k=void 0===E.title?s:E.title,C=r["ui:description"]||E.description;try{var O=Object.keys(E.properties||{});e=(0,xm.orderProperties)(O,r["ui:order"])}catch(e){return y.createElement("div",null,y.createElement("p",{className:"config-error",style:{color:"red"}},"Invalid ",s||"root"," object field configuration:",y.createElement("em",null,e.message),"."),y.createElement("pre",null,JSON.stringify(E)))}var T=g.ObjectFieldTemplate||Em,P={title:r["ui:title"]||k,description:C,TitleField:S,DescriptionField:x,properties:e.map((function(e){var n=E.properties[e].hasOwnProperty(xm.ADDITIONAL_PROPERTY_FLAG);return{content:y.createElement(w,{key:e,name:e,required:t.isRequired(e),schema:E.properties[e],uiSchema:n?r.additionalProperties:r[e],errorSchema:o[e],idSchema:a[e],idPrefix:f,formData:i[e],onKeyChange:t.onKeyChange(e),onChange:t.onPropertyChange(e,n),onBlur:p,onFocus:h,registry:g,disabled:c,readonly:u,onDropPropertyClick:t.onDropPropertyClick}),name:e,readonly:u,disabled:c,required:l}})),readonly:u,disabled:c,required:l,idSchema:a,uiSchema:r,schema:E,formData:i,formContext:_};return E.patternProperties&&P.properties.push({content:y.createElement(Sm,{schema:E,formData:i,onPropertyChange:this.onPropertyChange,onKeyChange:this.onKeyChange,onDropPropertyClick:this.onDropPropertyClick}),name:s,readonly:u,disabled:c,required:l}),y.createElement(T,(0,d.__assign)({},P,{onAddClick:this.handleAddClick}))},t.defaultProps={uiSchema:{},formData:{},errorSchema:{},idSchema:{},required:!1,disabled:!1,readonly:!1},t}(y.Component);const Cm=km;var Om,Tm=w.default.legend(Om||(Om=(0,d.__makeTemplateObject)(["\n\tfont-size: ",";\n\tcolor: #252629;\n\tmargin-top: 16px;\n\tmargin-bottom: 8px;\n\twidth: 100%;\n"],["\n\tfont-size: ",";\n\tcolor: #252629;\n\tmargin-top: 16px;\n\tmargin-bottom: 8px;\n\twidth: 100%;\n"])),(function(e){return(0,tr.px)(e.theme.fontSizes[2])})),Pm=(0,b.Ay)((function(e){var t=e.id,n=e.required,r=e.title,i=e.theme;return r?y.createElement(Tm,{id:t,theme:i},r,n&&"*"):null})),Am=n(41862),Mm=n(49799),Lm=n(76259),Im=function(e){var t=e.warning;return y.createElement(yi,{plaintext:!0,warning:!0,mb:2},y.createElement(pm,{value:t,schema:{type:"string",format:"markdown"}}))},Rm=function(e){var t=e.TitleField,n=e.idSchema,r=e.required,i=e.title;if(!i)return null;var o="".concat(n.$id,"__title");return y.createElement(t,{id:o,title:i,required:r})},Dm=function(e){var t=e.DescriptionField,n=e.idSchema,r=e.description;if(!r)return null;var i="".concat(n.$id,"__description");return y.createElement(t,{id:i,description:r})};const jm=function(e){var t,n,r=e.uiSchema["ui:warning"],i=null===(n=null===(t=e.uiSchema["ui:options"])||void 0===t?void 0:t.orderable)||void 0===n||n;return y.createElement("div",{className:e.uiSchema.classNames},y.createElement(Rm,{TitleField:e.TitleField,idSchema:e.idSchema,title:e.uiSchema["ui:title"]||e.title,required:e.required}),!!r&&y.createElement(Im,{warning:r}),y.createElement(Dm,{DescriptionField:e.DescriptionField,idSchema:e.idSchema,description:e.uiSchema["ui:description"]||e.schema.description}),e.items.map((function(t){return y.createElement("div",{className:"rendition-form__array-item",key:t.index},y.createElement(ti.s,{alignItems:"flex-start"},y.createElement(er.a,{flex:"1"},t.children),y.createElement(er.a,null,i&&e.items.length>1&&y.createElement(ei,{type:"button",className:"rendition-form-array-item__move-up",py:1,px:2,primary:!0,plain:!0,disabled:t.disabled||t.readonly||!t.hasMoveUp,onClick:t.onReorderClick(t.index,t.index-1)},y.createElement(v.g,{icon:Mm.IN})),i&&e.items.length>1&&y.createElement(ei,{type:"button",className:"rendition-form-array-item__move-down",py:1,px:2,plain:!0,primary:!0,disabled:t.disabled||t.readonly||!t.hasMoveDown,onClick:t.onReorderClick(t.index,t.index+1)},y.createElement(v.g,{icon:Am.B0})),t.hasRemove&&y.createElement(ei,{type:"button",className:"rendition-form-array-item__remove-item",plain:!0,primary:!0,py:1,px:2,disabled:t.disabled||t.readonly,onClick:t.onDropIndexClick(t.index)},y.createElement(v.g,{icon:mm.Be})))))})),e.canAdd&&y.createElement(ei,{mt:3,type:"button",className:"rendition-form-array-item__add-item",icon:y.createElement(v.g,{icon:Lm.QL}),onClick:e.onAddClick},"Add item"))};var Nm,Fm=w.default.label(Nm||(Nm=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-block;\n\tfont-size: ",";\n\tmargin-bottom: ",";\n\tcolor: ",";\n"],["\n\tdisplay: inline-block;\n\tfont-size: ",";\n\tmargin-bottom: ",";\n\tcolor: ",";\n"])),(function(e){return(0,tr.px)(e.theme.fontSizes[1])}),(function(e){return(0,tr.px)(e.theme.space[1])}),(function(e){return e.theme.colors.secondary.main})),Bm=function(e){var t=e.label,n=e.required,r=e.id;return t?y.createElement(Fm,{className:"control-label",htmlFor:r},t,n&&y.createElement("span",{className:"required"},"*")):null};const zm=function(e){var t=e.id,n=e.classNames,r=e.label,i=e.children,o=e.errors,a=e.rawHelp,s=e.description,l=e.hidden,c=void 0!==l&&l,u=e.required,f=void 0!==u&&u,d=e.displayLabel,p=void 0===d||d,h=e.uiSchema;if(c)return i;var m=h["ui:warning"];return y.createElement(er.a,{mb:2,className:"".concat(n||""," rendition-form__field--").concat(t)},p&&y.createElement(Bm,{label:r,required:f,id:t}),p&&!!m&&y.createElement(Im,{warning:m}),p&&s?s:null,i,o,a&&y.createElement(pm,{id:t,mt:1,className:"rendition-form-help",color:Xn.colors.text.light,fontSize:1,value:a,schema:{type:"string",format:"markdown"}}))},$m=function(e){var t,n,r,i=e.TitleField,o=e.DescriptionField,a=!!(null===(t=e.uiSchema["ui:options"])||void 0===t?void 0:t.responsive),s=null!==(r=null===(n=e.uiSchema["ui:options"])||void 0===n?void 0:n.flex)&&void 0!==r?r:[];return y.createElement("section",null,e.schema.title&&(e.uiSchema["ui:title"]||e.title)&&y.createElement(i,{id:"".concat(e.idSchema.$id,"__title"),title:e.title||e.uiSchema["ui:title"],required:e.required}),e.description&&y.createElement(o,{id:"".concat(e.idSchema.$id,"__description"),description:e.description}),y.createElement(ti.s,{flexDirection:a?"row":"column",flexWrap:a?"wrap":"nowrap"},e.properties.map((function(e,t){return y.createElement(er.a,{key:t,mr:2,flex:s[t]||1},e.content)}))))};var Um=n(75433),Hm=n(61480),Wm=["Very weak","Weak","Good","Strong","Very strong"],qm=[{width:0},{width:"25%",backgroundColor:"orange"},{width:"50%",backgroundColor:"yellow"},{width:"75%",backgroundColor:"green"},{width:"100%",backgroundColor:"darkgreen"}],Vm=w.default.div(Zm||(Zm=(0,d.__makeTemplateObject)(["\n\tpadding-bottom: ",";\n\tposition: relative;\n\tmargin-top: ",";\n\tmargin-bottom: ",";\n\tfont-size: ",";\n"],["\n\tpadding-bottom: ",";\n\tposition: relative;\n\tmargin-top: ",";\n\tmargin-bottom: ",";\n\tfont-size: ",";\n"])),(function(e){return(0,tr.px)(e.theme.space[1])}),(function(e){return(0,tr.px)(e.theme.space[2])}),(function(e){return(0,tr.px)(e.theme.space[3])}),(function(e){return(0,tr.px)(e.theme.fontSizes[0])})),Km=(0,w.default)(ei)(Xm||(Xm=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\tright: ",";\n\ttop: 50%;\n\ttransform: translate(0, -50%);\n"],["\n\tposition: absolute;\n\tright: ",";\n\ttop: 50%;\n\ttransform: translate(0, -50%);\n"])),(function(e){return(0,tr.px)(e.theme.space[2])})),Gm=w.default.div(Qm||(Qm=(0,d.__makeTemplateObject)(["\n\ttransition: all ease-out 150ms;\n\tposition: absolute;\n\theight: 4px;\n\tbackground-color: red;\n\tmin-width: 5px;\n\tbottom: 0;\n"],["\n\ttransition: all ease-out 150ms;\n\tposition: absolute;\n\theight: 4px;\n\tbackground-color: red;\n\tmin-width: 5px;\n\tbottom: 0;\n"]))),Ym=w.default.p(eg||(eg=(0,d.__makeTemplateObject)(["\n\tmargin: 0;\n\tmargin-bottom: ",";\n"],["\n\tmargin: 0;\n\tmargin-bottom: ",";\n"])),(function(e){return(0,tr.px)(e.theme.space[2])})),Jm=function(e){var t=e.password,n=y.useState(),r=n[0],i=n[1];return y.useEffect((function(){var e=window.zxcvbn;if(e&&t)try{var n=e(t).score;i(n)}catch(e){}}),[t]),t&&void 0!==r?y.createElement(Vm,null,y.createElement(Ym,null,"Password strength: ",y.createElement("em",null,Wm[r])),y.createElement(Gm,{style:qm[r]})):null};var Zm,Xm,Qm,eg;var tg=(0,w.css)(["outline:none;border:none;width:100%;-webkit-appearance:none;"]),ng=w.default.textarea.withConfig({displayName:"StyledTextArea",componentId:"sc-17i3mwp-0"})([""," "," "," "," "," ",";"],Re,(function(e){return void 0!==e.resize&&("horizontal"===(t=e.resize)?"resize: horizontal;":"vertical"===t?"resize: vertical;":t?"resize: both;":"resize: none;");var t}),(function(e){return e.fillArg&&"height: 100%;"}),(function(e){return e.plain&&tg}),(function(e){return e.disabled&&Ne(e.theme.textArea.disabled&&e.theme.textArea.disabled.opacity)}),(function(e){return e.theme.textArea&&e.theme.textArea.extend}));ng.defaultProps={},Object.setPrototypeOf(ng.defaultProps,ge);var rg=["a11yTitle","fill","focusIndicator","name","onBlur","onChange","onFocus","onKeyDown","value"];function ig(){return ig=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ig.apply(this,arguments)}var og=(0,y.forwardRef)((function(e,t){var n=e.a11yTitle,r=e.fill,i=e.focusIndicator,o=void 0===i||i,a=e.name,s=e.onBlur,l=e.onChange,c=e.onFocus,u=e.onKeyDown,f=e.value,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,rg),p=(0,y.useContext)(Xi).useFormInput({name:a,value:f}),h=p[0],m=p[1],g=(0,y.useState)(),v=g[0],b=g[1];return y.createElement(be,{onEsc:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},onKeyDown:u},y.createElement(ng,ig({"aria-label":n,ref:t,name:a,fillArg:r,focus:v,value:h,focusIndicator:o},d,{onFocus:function(e){b(!0),c&&c(e)},onBlur:function(e){b(!1),s&&s(e)},onChange:function(e){m(e.target.value),l&&l(e)}})))}));og.displayName="TextArea",og.propTypes={};var ag,sg,lg,cg,ug,fg,dg=(0,w.default)(og)(ag||(ag=(0,d.__makeTemplateObject)(["\n\t",";\n\n\tpadding: 14px 20px;\n\tcolor: ",";\n\tcursor: ",";\n\tborder-color: ",";\n\n\tresize: vertical;\n\tdisplay: block;\n\twidth: 100%;\n\n\t&:focus {\n\t\tborder-color: ",";\n\t}\n"],["\n\t",";\n\n\tpadding: 14px 20px;\n\tcolor: ",";\n\tcursor: ",";\n\tborder-color: ",";\n\n\tresize: vertical;\n\tdisplay: block;\n\twidth: 100%;\n\n\t&:focus {\n\t\tborder-color: ",";\n\t}\n"])),tr.wP,(function(e){return e.theme.colors.text.main}),(function(e){return e.disabled?"not-allowed":"auto"}),(function(e){return e.invalid?e.theme.colors.danger.main:e.valid?e.theme.colors.success.main:void 0}),(function(e){return e.theme.colors.tertiary.main})),pg=(0,b.Ay)((function(e){var t=e.autoRows,n=e.maxRows,r=e.minRows,i=e.rows,o=(0,d.__rest)(e,["autoRows","maxRows","minRows","rows"]),a=i;t&&o.onChange&&(a=(o.value||"").split("\n").length),n&&(a||0)>n&&(a=n),r&&(a||0)<r&&(a=r);var s=y.useCallback((function(e){"Enter"===e.key&&e.stopPropagation()}),[]);return y.createElement(dg,(0,d.__assign)({rows:a,onKeyDown:s,onKeyUp:s},o))})),hg=["data-url","date","date-time","email","hostname","ipv4","ipv6","uri"],mg={BaseInput:function(e){var t,n,r=e.value,i=e.readonly,o=e.disabled,a=e.autofocus,s=e.onBlur,l=e.onFocus,c=e.options,u=e.schema,f=(e.formContext,e.dir),p=(0,d.__rest)(e,["value","readonly","disabled","autofocus","onBlur","onFocus","options","schema","formContext","dir"]),h=function(e,t){return e&&t?(Array.isArray(t)||(t=[t]),t.filter((function(t){return"string"==typeof t&&t.includes(e)&&t!==e}))):[]}(r,u.examples),m=(null!==(n=null===(t=u.examples)||void 0===t?void 0:t.length)&&void 0!==n?n:0)>0;return y.createElement(y.Fragment,null,y.createElement(_m,(0,d.__assign)({width:"100%",readOnly:i,disabled:o,autoFocus:a,autoComplete:m?"off":c.autoComplete,emphasized:c.emphasized,value:null==r?"":r,type:"number"===u.type?"number":c.inputType||"text",dir:f},p,{onChange:function(t){var n=t.target.value;return e.onChange(""===n?c.emptyValue:n)},onBlur:s&&function(e){return s(p.id,e.target.value)},onFocus:l&&function(e){return l(p.id,e.target.value)},onSelect:function(t){return e.onChange(t.suggestion)},suggestions:h,list:m?"dummy-datalist":void 0})),m&&y.createElement("datalist",{id:"dummy-datalist"}))},SelectWidget:function(e){var t=e.id,n=e.options,r=e.value,i=e.disabled,o=e.readonly,a=e.onChange,s=n.enumOptions,l=n.enumDisabled;if(!Array.isArray(s))return null;var c=Array.isArray(l)?l:null,u=s.map((function(e){return(0,d.__assign)((0,d.__assign)({},e),{disabled:null!=c&&c.includes(e.value)})}));return y.createElement(Cs,{width:"100%",id:t,value:void 0!==r?u.find((function(e){return e.value===r})):void 0,disabled:i||o,onChange:function(e){var t=e.option;a(t.value)},options:u,emphasized:n.emphasized,valueKey:"value",labelKey:"label",disabledKey:"disabled"})},PasswordWidget:function(e){var t=e.registry.widgets.BaseInput,n=y.useState(!1),r=n[0],i=n[1];return y.createElement(y.Fragment,null,y.createElement("div",{style:{position:"relative"}},y.createElement(t,(0,d.__assign)({pr:4,type:r?"text":"password"},e)),y.createElement(Km,{p:2,plain:!0,icon:y.createElement(v.g,{fixedWidth:!0,icon:r?Um.pS:Hm.k6}),onClick:function(){return i((function(e){return!e}))}})),e.options.showPasswordStrengthMeter&&y.createElement(Jm,{password:e.value}))},TextareaWidget:function(e){var t=e.id,n=e.options,r=e.placeholder,i=e.value,o=e.required,a=e.disabled,s=e.readonly,l=e.autofocus,c=e.onChange,u=e.onBlur,f=e.onFocus;return y.createElement(pg,{id:t,className:"form-control",value:void 0===i?"":i,placeholder:r,required:o,disabled:a,readOnly:s,autoFocus:l,rows:n.rows,onBlur:u&&function(e){return u(t,e.target.value)},onFocus:f&&function(e){return f(t,e.target.value)},onChange:c&&function(e){return c(""===e.target.value?n.emptyValue:e.target.value)}})}},gg={DescriptionField:function(e){var t=e.id,n=e.description;return n?y.createElement(pm,{id:t,className:"rendition-form-description",color:Xn.colors.text.light,fontSize:1,value:n,schema:{type:"string",format:"markdown"}}):null},ObjectField:Cm,TitleField:Pm},vg=(0,w.default)(er.a)(sg||(sg=(0,d.__makeTemplateObject)(["\n\tsection {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tborder: 0;\n\t}\n\n\tlabel {\n\t\tfont-size: ",";\n\t}\n\n\tinput {\n\t\tfont-size: ",";\n\t}\n\n\t/* Style the error list, since it can't be templated */\n\t.panel-danger,\n\t.error-detail {\n\t\tfont-size: ",";\n\t\tmargin-top: ",";\n\t\tmargin-bottom: ",";\n\t\tlist-style-type: none;\n\t\tpadding-left: 0;\n\t}\n\n\t.text-danger {\n\t\tcolor: ",";\n\t}\n\n\tinput[type='file'] {\n\t\tcursor: pointer;\n\t\t&::file-selector-button {\n\t\t\tcursor: pointer;\n\t\t\tfont-weight: ",";\n\t\t\tfont-size: ",";\n\t\t\theight: ",";\n\t\t\tborder-color: ",";\n\t\t\tbackground: ",";\n\t\t\twhite-space: nowrap;\n\t\t\tdisplay: inline-flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tcolor: white;\n\t\t\tpadding: 4px 20px;\n\t\t\tborder-radius: 20px;\n\t\t\tborder: 1px solid ",";\n\n\t\t\t&:disabled {\n\t\t\t\tcursor: not-allowed;\n\t\t\t}\n\t\t\t&:hover {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tbackground: ",";\n\t\t\t\tborder-color: ",";\n\t\t\t}\n\t\t}\n\t}\n"],["\n\tsection {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tborder: 0;\n\t}\n\n\tlabel {\n\t\tfont-size: ",";\n\t}\n\n\tinput {\n\t\tfont-size: ",";\n\t}\n\n\t/* Style the error list, since it can't be templated */\n\t.panel-danger,\n\t.error-detail {\n\t\tfont-size: ",";\n\t\tmargin-top: ",";\n\t\tmargin-bottom: ",";\n\t\tlist-style-type: none;\n\t\tpadding-left: 0;\n\t}\n\n\t.text-danger {\n\t\tcolor: ",";\n\t}\n\n\tinput[type='file'] {\n\t\tcursor: pointer;\n\t\t&::file-selector-button {\n\t\t\tcursor: pointer;\n\t\t\tfont-weight: ",";\n\t\t\tfont-size: ",";\n\t\t\theight: ",";\n\t\t\tborder-color: ",";\n\t\t\tbackground: ",";\n\t\t\twhite-space: nowrap;\n\t\t\tdisplay: inline-flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tcolor: white;\n\t\t\tpadding: 4px 20px;\n\t\t\tborder-radius: 20px;\n\t\t\tborder: 1px solid ",";\n\n\t\t\t&:disabled {\n\t\t\t\tcursor: not-allowed;\n\t\t\t}\n\t\t\t&:hover {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tbackground: ",";\n\t\t\t\tborder-color: ",";\n\t\t\t}\n\t\t}\n\t}\n"])),(function(e){var t;return tr.px(null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.fontSizes[1])}),(function(e){var t;return tr.px(null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.fontSizes[2])}),(function(e){var t,n,r;return tr.px(null!==(r=null===(n=null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.fontSizes)||void 0===n?void 0:n[1])&&void 0!==r?r:14)}),(function(e){var t,n,r;return tr.px(null!==(r=null===(n=null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.space)||void 0===n?void 0:n[1])&&void 0!==r?r:4)}),(function(e){var t,n,r;return tr.px(null!==(r=null===(n=null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.space)||void 0===n?void 0:n[1])&&void 0!==r?r:4)}),(function(e){var t,n,r,i;return null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.theme)||void 0===t?void 0:t.colors)||void 0===n?void 0:n.danger)||void 0===r?void 0:r.main)&&void 0!==i?i:"#a94442"}),(function(e){return e.theme.button.font.weight}),(function(e){return e.theme.button.font.size}),(function(e){return e.theme.button.height}),(function(e){return e.theme.colors.primary.main}),(function(e){return e.theme.colors.primary.main}),(function(e){return e.theme.colors.primary.main}),(function(e){return e.theme.colors.primary.dark}),(function(e){return e.theme.colors.primary.dark})),yg=y.forwardRef((function(e,t){var n,r=e.schema,i=e.value,o=e.disabled,a=e.extraFormats,s=e.onFormChange,l=e.onFormSubmit,c=e.hideSubmitButton,u=e.submitButtonText,f=e.submitButtonProps,p=e.secondaryButtonProps,h=e.uiSchema,m=e.validate,g=e.liveValidate,v=e.noValidate,b=e.transformErrors,_=e.widgets,w=(0,d.__rest)(e,["schema","value","disabled","extraFormats","onFormChange","onFormSubmit","hideSubmitButton","submitButtonText","submitButtonProps","secondaryButtonProps","uiSchema","validate","liveValidate","noValidate","transformErrors","widgets"]),S=y.useContext(sm).form,x=null!==(n=null==S?void 0:S.formats)&&void 0!==n?n:[],E=y.useMemo((function(){return(0,d.__assign)((0,d.__assign)((0,d.__assign)({},mg),$l()((0,d.__spreadArray)((0,d.__spreadArray)([],null!=a?a:[],!0),x,!0),(function(e){return e.name})).reduce((function(e,t){return t.widget&&(e[t.name]=t.widget),e}),{})),_)}),[mg,a]);mg=E;var k=y.useMemo((function(){var e=function(e){var t=Po()(e),n=function(e){e.additionalProperties&&(e.additionalProperties=!1),e.properties&&ad()(e.properties,(function(e){n(e)}))};return n(t),t}(function(e){return function(e,t){void 0===t&&(t=[]);var n=Po()(e),r=function(e){e.format&&-1===t.indexOf(e.format)&&delete e.format,e.properties&&ad()(e.properties,(function(e){r(e)})),e.items&&r(e.items)};return r(n),n}(e,hg.concat(Object.keys(mg)))}(r));return e.$schema,(0,d.__rest)(e,["$schema"])}),[r]),C=y.useState(i),O=C[0],T=C[1];y.useEffect((function(){T(i)}),[i]);var P=y.useCallback((function(e){"Enter"!==e.key||c||e.stopPropagation()}),[c]),A=y.useCallback((function(e){T(e.formData),s&&s(e)}),[s]);return y.createElement(vg,(0,d.__assign)({},w,{onKeyDown:P,onKeyUp:P}),y.createElement(id,{ref:t,disabled:o,liveValidate:g,noValidate:v,validate:m,transformErrors:b,showErrorList:!1,schema:k,formData:O,onSubmit:l,onChange:A,uiSchema:h,widgets:E,fields:gg,FieldTemplate:zm,ObjectFieldTemplate:$m,ArrayFieldTemplate:jm},c&&y.createElement("span",null),!c&&y.createElement(ei,(0,d.__assign)({primary:!0},f,{type:"submit"}),u||"Submit"),!!p&&y.createElement(ei,(0,d.__assign)({outline:!0,secondary:!0,ml:3},p))))})),bg=yg,_g=function(e){var t=e.schema,n=e.editFilter,r=e.addFilter,i=e.onClose,o=y.useMemo((function(){if(t.properties&&"boolean"!=typeof t.properties){var e=Object.entries(t.properties).flatMap((function(e){var t=e[0],n=e[1],r=Dl(n);return(null==r?void 0:r.length)?r.map((function(e){return{key:"".concat(t,"__").concat(e),field:t,title:Nl(n,t,e),refScheme:e}})):{key:t,field:t,title:Nl(n,t)}}));return e.sort((function(e,t){return e.title>t.title?1:-1}))}}),[t]),a=o?{key:o[0].refScheme?"".concat(o[0].field,"__").concat(o[0].refScheme):o[0].field,title:o[0].title,field:o[0].field,operator:void 0,value:void 0,label:void 0,refScheme:o[0].refScheme}:null,s=y.useState(n?kl(n):a?[a]:[]),l=s[0],c=s[1];if(!o||!a)return null;var u=function(e,t){l&&(l.length?l.length>=t+1?(l[t]=(0,d.__assign)({},e),c((0,d.__spreadArray)([],l,!0))):c((0,d.__spreadArray)((0,d.__spreadArray)([],l,!0),[(0,d.__assign)({},e)],!1)):c([(0,d.__assign)({},e)]))},f=function(e){return e.every((function(e){return e.field&&e.operator&&null!=e.value&&""!==e.value}))};return y.createElement(Fa,{title:"Filter by",cancel:i,done:function(){if(f(l)){var e=Cl(t,l);return e?r(e):i()}},primaryButtonProps:{disabled:!f(l)},action:"Save"},l.map((function(e,n){return y.createElement(ti.s,{flexDirection:"column",key:(e.field||"")+n},n>0&&y.createElement(vi.Dy,{my:2},"OR"),y.createElement(ti.s,null,y.createElement(wg,{properties:o,signature:e,schema:t,onUpdate:function(e){return u(e,n)}}),n>0&&y.createElement(ei,{color:"tertiary.main",ml:2,plain:!0,fontSize:1,p:1,onClick:function(){return function(e){var t=l.filter((function(t,n){return e!==n}));c(t)}(n)}},y.createElement(v.g,{icon:_.GR}))))})),y.createElement(ei,{mb:2,mt:4,primary:!0,underline:!0,onClick:function(){return u(a,l.length)}},"Add alternative"))},wg=function(e){var t=e.properties,n=e.signature,r=e.schema,i=e.onUpdate,o=y.useState(""),a=o[0],s=o[1],l=Ts()(s,300),c=y.useMemo((function(){return n.field?Ll(r,n.field,n.refScheme):[]}),[n.field,n.refScheme,r]),u=y.useMemo((function(){if(!a)return t;var e=new RegExp(a,"i");return t.filter((function(t){return t.title.match(e)||t.field.match(e)}))}),[a,t]);return y.useEffect((function(){n.operator||i((0,d.__assign)((0,d.__assign)({},n),{operator:c[0]}))}),[n.field,c]),y.createElement(ti.s,{justifyContent:"space-between"},y.createElement(Cs,{mr:1,id:"filtermodal__fieldselect",options:u,onSearch:l,searchPlaceholder:"Search...",valueKey:"key",labelKey:"title",value:n,onChange:function(e){var t=e.option;n.field===t.field&&n.title===t.title||i((0,d.__assign)((0,d.__assign)((0,d.__assign)({},n),t),{operator:void 0,value:void 0,refScheme:t.refScheme}))}}),y.createElement(Cs,{mr:1,options:c,valueKey:"slug",labelKey:"label",value:n.operator,onChange:function(e){var t,r=e.option;r.slug!==(null===(t=n.operator)||void 0===t?void 0:t.slug)&&i((0,d.__assign)((0,d.__assign)({},n),{operator:r}))}}),y.createElement(ti.s,{maxWidth:165},y.createElement(Sg,{schema:r.properties[n.field],value:n.value,operator:n.operator,onUpdate:function(e){i((0,d.__assign)((0,d.__assign)({},n),{value:e}))},refScheme:n.refScheme})))},Sg=function(e){var t,n=e.schema,r=e.value,i=e.operator,o=e.onUpdate,a=e.refScheme,s=a?(0,d.__assign)({},Bl(n,a)):(0,d.__assign)({},n);Array.isArray(s.type)&&(s.type=s.type.find((function(e){return!!e})));var l=bl(s),c=l&&"uiSchema"in l&&(null===(t=l.uiSchema)||void 0===t?void 0:t.call(l,n))||{},u=l&&i&&"editSchema"in l?l.editSchema(s,i):s,f=u.format,p=u.type;return y.createElement(bg,{schema:(0,d.__assign)((0,d.__assign)({},u),{type:(null==f?void 0:f.endsWith("date-time"))||1===Hr(u,"maxItems")?"string":p}),value:r,onFormChange:function(e){var t=e.formData;return o(t)},uiSchema:(0,d.__assign)({"ui:options":{label:!1,inline:!0}},c),hideSubmitButton:!0})},xg={type:"object",properties:{name:{type:"string"}}},Eg=function(e){var t=e.filters,n=e.onEdit,r=e.onDelete,i=e.onClearFilters,o=e.showSaveView,a=e.onSaveView,s=y.useState(!1),l=s[0],c=s[1],u=y.useState(),f=u[0],d=u[1];return y.createElement(y.Fragment,null,y.createElement(ti.s,{flex:"1",flexDirection:"column"},y.createElement(ti.s,{flex:"1",justifyContent:"space-between"},y.createElement(ti.s,null,y.createElement(vi.Dy,{bold:!0},"Filters"),y.createElement(vi.Dy,{mr:1},"(",t.length,")"),y.createElement(ei,{plain:!0,primary:!0,onClick:i},"Clear all")),o&&y.createElement(ti.s,null,y.createElement(ei,{plain:!0,primary:!0,onClick:function(){return c(!0)}},"Save view"))),y.createElement(ti.s,{flexWrap:"wrap"},t.map((function(e,t){return y.createElement(Jo,{key:e.$id||t,filter:e,onClick:function(){n(e)},onClose:function(){return r(e)}})})))),l&&y.createElement(Fa,{title:"Save current view",cancel:function(){return c(!1)},done:function(){(null==f?void 0:f.name)&&(a(f),c(!1))},action:"Save",primaryButtonProps:{disabled:!(null==f?void 0:f.name)}},y.createElement(bg,{width:"100%",hideSubmitButton:!0,liveValidate:!0,onFormChange:function(e){var t=e.formData;return d(t)},schema:xg,value:f})))},kg=n(31230),Cg=n.n(kg),Og=(0,w.default)(er.a)(lg||(lg=(0,d.__makeTemplateObject)(["\n\twidth: 100%;\n\tflex-basis: 100%;\n\tposition: relative;\n\tmargin-right: 4px;\n\tpadding: 0 4px;\n\talign-self: center;\n"],["\n\twidth: 100%;\n\tflex-basis: 100%;\n\tposition: relative;\n\tmargin-right: 4px;\n\tpadding: 0 4px;\n\talign-self: center;\n"]))),Tg=function(e){var t=e.disabled,n=e.filters,r=e.views,i=e.schema,o=e.addFilterButtonProps,a=e.viewsMenuButtonProps,s=e.renderMode,l=e.dark,c=e.compact,u=e.showSaveView,f=e.onViewsUpdate,p=e.onFiltersUpdate,h=e.onSearch,m=y.createRef(),g=y.useState(!1),b=g[0],_=g[1],w=y.useState(!1),S=w[0],x=w[1],E=y.useState(),k=E[0],C=E[1],O=y.useState(null!=n?n:[]),T=O[0],P=O[1],A=y.useState(r),M=A[0],L=A[1],I=y.useState(),R=I[0],D=I[1];y.useEffect((function(){Cg()(T,null!=n?n:[])||P(null!=n?n:[])}),[n]),y.useEffect((function(){Cg()(M,r)||L(r)}),[r]);var j=function(e){var t=null!=T?T:[];(null==R?void 0:R.$id)&&(t=t.filter((function(e){return e.$id!==R.$id}))),t=(0,d.__spreadArray)((0,d.__spreadArray)([],t,!0),[e],!1),P(t),null==p||p(t)};return y.createElement(er.a,{style:{position:"relative"}},y.createElement(ti.s,{flex:"1"},(!s||s.includes("search"))&&y.createElement(Og,{ref:m,onFocus:function(){var e,t,n,r,i;x(!0),m.current&&(e=m.current,t=function(){x(!1)},n=function(t){e.contains(t.target)||i()},r=function(e){"Escape"===e.key&&i()},i=function(){t(),document.activeElement instanceof HTMLElement&&document.activeElement.blur(),document.removeEventListener("mousedown",n),document.removeEventListener("keydown",r)},document.addEventListener("mousedown",n),document.addEventListener("keydown",r))}},y.createElement(aa,{dark:l,disabled:t,value:k,onChange:function(e){x(""!==e.target.value),C(e.target.value)},onEnter:function(e){if(e.preventDefault(),e.stopPropagation(),k){var t=Ol(i,k);j(t),C("")}}}),k&&S&&(null==h?void 0:h(k))),(!s||s.includes("add"))&&y.createElement(ei,(0,d.__assign)({disabled:t,light:l,outline:!0,quartenary:!0,icon:y.createElement(v.g,{icon:ko.mR}),onClick:function(){return _(!0)},label:"Add filter",compact:c},o)),(!s||s.includes("views"))&&y.createElement(Qo,{dark:l,buttonProps:a,disabled:t,views:r||[],schema:i,renderMode:s,setFilters:function(e){P(e),null==p||p(e)},deleteView:function(e){if(M){var t=M.filter((function(t){return t.id!==e.id}));L(t),null==f||f(t)}},compact:c})),(!s||s.includes("summary"))&&T.length>0&&!t&&y.createElement(Eg,{onEdit:function(e){D(e),_(!0)},onDelete:function(e){var t,n=null!==(t=null==T?void 0:T.filter((function(t){return t.$id!==e.$id})))&&void 0!==t?t:[];P(n),null==p||p(n)},onClearFilters:function(){P([]),null==p||p([])},showSaveView:null!=u?u:null==s?void 0:s.includes("views"),onSaveView:function(e){return function(e){var t,r={id:jr(),name:e,filters:null!==(t=Po()(n))&&void 0!==t?t:[]},i=(0,d.__spreadArray)((0,d.__spreadArray)([],null!=M?M:[],!0),[r],!1);L(i),null==f||f(i)}(e.name)},filters:T}),b&&y.createElement(_g,{schema:i,editFilter:R,addFilter:function(e){j(e),_(!1)},onClose:function(){return _(!1)}}))},Pg=w.default.div(cg||(cg=(0,d.__makeTemplateObject)(["\n\tdisplay: grid;\n\tjustify-content: left;\n\tgrid-gap: ",";\n\tgrid-template-columns: ",";\n"],["\n\tdisplay: grid;\n\tjustify-content: left;\n\tgrid-gap: ",";\n\tgrid-template-columns: ",";\n"])),(function(e){return(0,tr.px)(e.theme.space[4])}),(function(e){return"repeat(auto-fill, minmax(".concat(e.itemMinWidth,", 1fr))")})),Ag=w.default.div(ug||(ug=(0,d.__makeTemplateObject)(["\n\tmin-width: ",";\n\tmax-width: ",";\n"],["\n\tmin-width: ",";\n\tmax-width: ",";\n"])),(function(e){return e.itemMinWidth}),(function(e){return e.itemMaxWidth})),Mg=function(e){var t=e.itemMinWidth,n=e.itemMaxWidth,r=e.items,i=e.renderItem,o=e.getItemKey,a=Qn(t),s=Qn(null!=n?n:"100%");return y.createElement(Pg,{itemMinWidth:a,itemMaxWidth:s},r.map((function(e){return y.createElement(Ag,{key:o(e),itemMinWidth:a,itemMaxWidth:s},i(e))})))},Lg=w.default.div(fg||(fg=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\tz-index: 20;\n\t","\n"],["\n\tposition: absolute;\n\tz-index: 20;\n\t","\n"])),(function(e){var t;return"\n\t\topacity: ".concat(null!==(t=e.opacity)&&void 0!==t?t:.5,";\n    background: ").concat(e.layerColor||"white",";\n    top: ").concat(e.top||0,"px;\n    bottom: ").concat(e.bottom||0,"px;\n    left: ").concat(e.left||0,"px;\n    right: ").concat(e.right||0,"px;\n    height: ").concat(null!=e.height?e.height+"px":"auto",";\n  ")})),Ig=function(e){var t;if(!e)return null;var n=null!==(t=e.offsetParent)&&void 0!==t?t:document.body,r=e.offsetTop+n.offsetTop,i=e.offsetLeft+n.offsetLeft,o=e.clientHeight;return{top:r,bottom:r+o,left:i,right:i+e.clientWidth,height:o,width:e.clientWidth,x:r,y:i}},Rg=function(e){var t,n,r,i,o=e.rect,a=e.layerColor,s=e.padding,l=void 0===s?0:s,c=e.opacity;if(!o)return null;var u=null!==(t=o.top)&&void 0!==t?t:0,f=null!==(n=o.left)&&void 0!==n?n:0,p=null!==(r=o.height)&&void 0!==r?r:0,h=null!==(i=o.width)&&void 0!==i?i:0,m=u+p+l,g=Math.max(u-l,0),v=f+h+l,b=m-g,_={topLayer:{height:g},bottomLayer:{top:m},rightLayer:{top:g,left:v,height:b},leftLayer:{top:g,right:v,height:b}};return y.createElement(y.Fragment,null,Object.values(_).map((function(e,t){return y.createElement(Lg,(0,d.__assign)({key:t},e,{layerColor:a,opacity:c}))})))},Dg=n(36641),jg=n(87816),Ng=function(e){var t=e.fuzzy,n=e.totalItems,r=e.itemsPerPage,i=e.page,o=e.nextPage,a=e.prevPage,s=(0,d.__rest)(e,["fuzzy","totalItems","itemsPerPage","page","nextPage","prevPage"]),l=i*r,c=Math.min((i+1)*r,n);return y.createElement(ti.s,(0,d.__assign)({justifyContent:"flex-end",alignItems:"center"},s),y.createElement(vi.Dy,{mr:2},y.createElement("strong",null,l+1," - ",c)," ","of"," ",y.createElement("strong",null,n,t?"+":"")),y.createElement(ti.s,null,y.createElement(Ti,null,y.createElement(ei,{quartenary:!0,outline:!0,className:"rendition-pager__btn--prev",disabled:n<=r||i<=0,onClick:function(){return a()},icon:y.createElement(v.g,{icon:Dg.Wz})}),y.createElement(ei,{quartenary:!0,outline:!0,className:"rendition-pager__btn--next",disabled:n<=r||n/r<=i+1,onClick:function(){return o()},icon:y.createElement(v.g,{icon:jg.Xk})}))))};w.ThemeContext.Extend=function(e){var t=e.children,n=e.value;return y.createElement(w.ThemeContext.Consumer,null,(function(e){return y.createElement(w.ThemeContext.Provider,{value:ae(e,n)},t)}))},w.ThemeContext.Extend.propTypes={children:St().node.isRequired,value:St().shape({}).isRequired},w.ThemeContext.propTypes={};var Fg=w.default.div.withConfig({displayName:"StyledGrommet",componentId:"sc-19lkkz7-0"})([""," "," "," "," ",""],(function(e){return!e.plain&&xe}),(function(e){return e.full&&("min"===e.full?(0,w.css)(["min-height:100vh;"]):(0,w.css)(["width:100vw;height:100vh;overflow:auto;"]))}),(function(e){return e.theme.global.font.face}),(function(e){return e.theme.grommet.extend}),(function(e){return e.cssVars&&Object.keys(e.theme.global.colors).filter((function(t){return"string"==typeof e.theme.global.colors[t]})).map((function(t){return"--"+t+": "+e.theme.global.colors[t]+";"})).join("\n")}));Fg.defaultProps={},Object.setPrototypeOf(Fg.defaultProps,ge);var Bg=["children","full","containerTarget","theme","options","messages"];function zg(){return zg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zg.apply(this,arguments)}var $g=(0,w.createGlobalStyle)(["body{margin:0;}"]),Ug={},Hg=(0,y.forwardRef)((function(e,t){var n=e.children,r=e.full,i=e.containerTarget,o=void 0===i?"object"==typeof document?document.body:void 0:i,a=e.theme,s=e.options,l=void 0===s?Ug:s,c=e.messages,u=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Bg),f=e.background,d=e.dir,p=e.themeMode,h=e.userAgent,m=(0,y.useState)(),g=m[0],v=m[1],b=(0,y.useMemo)((function(){var e=ae(me,a||{});a&&a.menu&&a.menu.drop&&a.menu.drop.align&&(delete e.menu.drop.align,e.menu.drop.align=a.menu.drop.align);var t=e.global.colors.background;e.dark="dark"===(p||e.defaultMode);var n=S(f||t,e);return e.dark=M(n,e),e.baseBackground=f||t,e.background=e.baseBackground,d&&(e.dir=d),e}),[f,d,p,a]),_=(0,y.useMemo)((function(){var e=ae(Za,(null==c?void 0:c.messages)||{});return{messages:e,format:function(t){var n=(null==c?void 0:c.format)&&c.format(t);return void 0!==n?n:Xa(t,e)}}}),[c]);(0,y.useEffect)((function(){var e=function(){v(function(e,t){var n=Object.keys(t.global.breakpoints).sort((function(e,n){var r=t.global.breakpoints[e],i=t.global.breakpoints[n];return r?i?r.value?i.value?r.value-i.value:-1:1:-1:1})),r=n[n.length-1];return n.find((function(n){var r=t.global.breakpoints[n];return(!r.value||r.value>=e)&&n}))||r}(document.body.clientWidth,b))};return window.addEventListener("resize",e),e(),function(){window.removeEventListener("resize",e)}}),[b]);var x=g||function(e,t){if(e)return/(tablet|ipad|playbook|silk)|(android(?!.*mobile))/i.test(e)?we("tablet",t):/Mobile|iPhone|Android/.test(e)?we("phone",t):we("computer",t)}(h,b)||b.global.deviceBreakpoints.tablet,E=pn(t);return y.createElement(w.ThemeContext.Provider,{value:b},y.createElement(sa.Provider,{value:x},y.createElement(zt.Provider,{value:[E.current]},y.createElement(Qt.Provider,{value:o},y.createElement(la.Provider,{value:l},y.createElement(es.Provider,{value:_},y.createElement(Fg,zg({full:r},u,{ref:E}),n),r&&y.createElement($g,null)))))))}));Hg.displayName="Grommet",Hg.propTypes={};var Wg=function(e){var t=e.breakpoints,n=e.children,r=y.useState(0),i=r[0],o=r[1];return y.useEffect((function(){if(t&&t.length){var e=function(){var e=window.innerWidth,n=t.findIndex((function(t){return e<t})),r=n>=0?n:t.length-1;o(r)},n=Ts()(e,80);return e(),window.addEventListener("resize",n,{passive:!1}),function(){window.removeEventListener("resize",n)}}}),[t]),y.createElement(qn.Provider,{value:{currentBreakpoint:i}},n)};Wg.displayName="BreakpointProvider";var qg,Vg,Kg,Gg,Yg=n(65136),Jg=n.n(Yg),Zg=n(11289),Xg=n.n(Zg),Qg=n(30234),ev=n.n(Qg),tv="bodyAttributes",nv="htmlAttributes",rv={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},iv=(Object.keys(rv).map((function(e){return rv[e]})),"charset"),ov="cssText",av="href",sv="innerHTML",lv="itemprop",cv="rel",uv={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},fv=Object.keys(uv).reduce((function(e,t){return e[uv[t]]=t,e}),{}),dv=[rv.NOSCRIPT,rv.SCRIPT,rv.STYLE],pv="data-react-helmet",hv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mv=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),gv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vv=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},yv=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},bv=function(e){var t=Ev(e,rv.TITLE),n=Ev(e,"titleTemplate");if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Ev(e,"defaultTitle");return t||r||void 0},_v=function(e){return Ev(e,"onChangeClientState")||function(){}},wv=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return gv({},e,t)}),{})},Sv=function(e,t){return t.filter((function(e){return void 0!==e[rv.BASE]})).map((function(e){return e[rv.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},xv=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&Pv("Helmet: "+e+' should be of type "Array". Instead found type "'+hv(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var s=o[a],l=s.toLowerCase();-1===t.indexOf(l)||n===cv&&"canonical"===e[n].toLowerCase()||l===cv&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==sv&&s!==ov&&s!==lv||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][c]&&(i[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],l=ev()({},r[s],i[s]);r[s]=l}return e}),[]).reverse()},Ev=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},kv=(qg=Date.now(),function(e){var t=Date.now();t-qg>16?(qg=t,e(t)):setTimeout((function(){kv(e)}),0)}),Cv=function(e){return clearTimeout(e)},Ov="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||kv:global.requestAnimationFrame||kv,Tv="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Cv:global.cancelAnimationFrame||Cv,Pv=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},Av=null,Mv=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,f=e.title,d=e.titleAttributes;Rv(rv.BODY,r),Rv(rv.HTML,i),Iv(f,d);var p={baseTag:Dv(rv.BASE,n),linkTags:Dv(rv.LINK,o),metaTags:Dv(rv.META,a),noscriptTags:Dv(rv.NOSCRIPT,s),scriptTags:Dv(rv.SCRIPT,c),styleTags:Dv(rv.STYLE,u)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,h,m)},Lv=function(e){return Array.isArray(e)?e.join(""):e},Iv=function(e,t){void 0!==e&&document.title!==e&&(document.title=Lv(e)),Rv(rv.TITLE,t)},Rv=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(pv),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s++){var l=a[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===i.indexOf(l)&&i.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(pv):n.getAttribute(pv)!==a.join(",")&&n.setAttribute(pv,a.join(","))}},Dv=function(e,t){var n=document.head||document.querySelector(rv.HEAD),r=n.querySelectorAll(e+"["+pv+"]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===sv)n.innerHTML=t.innerHTML;else if(r===ov)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(pv,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},jv=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Nv=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[uv[n]||n]=e[n],t}),t)},Fv=function(e,t,n){switch(e){case rv.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[pv]=!0,i=Nv(n,r),[y.createElement(rv.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=jv(n),o=Lv(t);return i?"<"+e+" "+pv+'="true" '+i+">"+yv(o,r)+"</"+e+">":"<"+e+" "+pv+'="true">'+yv(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case tv:case nv:return{toComponent:function(){return Nv(t)},toString:function(){return jv(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[pv]=!0,r);return Object.keys(t).forEach((function(e){var n=uv[e]||e;if(n===sv||n===ov){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),y.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===sv||e===ov)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+yv(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===dv.indexOf(e);return t+"<"+e+" "+pv+'="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},Bv=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,f=void 0===u?"":u,d=e.titleAttributes;return{base:Fv(rv.BASE,t,r),bodyAttributes:Fv(tv,n,r),htmlAttributes:Fv(nv,i,r),link:Fv(rv.LINK,o,r),meta:Fv(rv.META,a,r),noscript:Fv(rv.NOSCRIPT,s,r),script:Fv(rv.SCRIPT,l,r),style:Fv(rv.STYLE,c,r),title:Fv(rv.TITLE,{title:f,titleAttributes:d},r)}},zv=Jg()((function(e){return{baseTag:Sv([av,"target"],e),bodyAttributes:wv(tv,e),defer:Ev(e,"defer"),encode:Ev(e,"encodeSpecialCharacters"),htmlAttributes:wv(nv,e),linkTags:xv(rv.LINK,[cv,av],e),metaTags:xv(rv.META,["name",iv,"http-equiv","property",lv],e),noscriptTags:xv(rv.NOSCRIPT,[sv],e),onChangeClientState:_v(e),scriptTags:xv(rv.SCRIPT,["src",sv],e),styleTags:xv(rv.STYLE,[ov],e),title:bv(e),titleAttributes:wv("titleAttributes",e)}}),(function(e){Av&&Tv(Av),e.defer?Av=Ov((function(){Mv(e,(function(){Av=null}))})):(Mv(e),Av=null)}),Bv)((function(){return null})),$v=(Vg=zv,Gg=Kg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!Xg()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case rv.SCRIPT:case rv.NOSCRIPT:return{innerHTML:t};case rv.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return gv({},r,((t={})[n.type]=[].concat(r[n.type]||[],[gv({},i,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case rv.TITLE:return gv({},i,((t={})[r.type]=a,t.titleAttributes=gv({},o),t));case rv.BODY:return gv({},i,{bodyAttributes:gv({},o)});case rv.HTML:return gv({},i,{htmlAttributes:gv({},o)})}return gv({},i,((n={})[r.type]=gv({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=gv({},t);return Object.keys(e).forEach((function(t){var r;n=gv({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return y.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[fv[n]||n]=e[n],t}),t)}(vv(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case rv.LINK:case rv.META:case rv.NOSCRIPT:case rv.SCRIPT:case rv.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=vv(e,["children"]),r=gv({},n);return t&&(r=this.mapChildrenToProps(t,r)),y.createElement(Vg,r)},mv(t,null,[{key:"canUseDOM",set:function(e){Vg.canUseDOM=e}}]),t}(y.Component),Kg.propTypes={base:St().object,bodyAttributes:St().object,children:St().oneOfType([St().arrayOf(St().node),St().node]),defaultTitle:St().string,defer:St().bool,encodeSpecialCharacters:St().bool,htmlAttributes:St().object,link:St().arrayOf(St().object),meta:St().arrayOf(St().object),noscript:St().arrayOf(St().object),onChangeClientState:St().func,script:St().arrayOf(St().object),style:St().arrayOf(St().object),title:St().string,titleAttributes:St().object,titleTemplate:St().string},Kg.defaultProps={defer:!0,encodeSpecialCharacters:!0},Kg.peek=Vg.peek,Kg.rewind=function(){var e=Vg.rewind();return e||(e=Bv({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},Gg);$v.renderStatic=$v.rewind;var Uv,Hv=(0,w.default)(Hg)(Uv||(Uv=(0,d.__makeTemplateObject)(["\n\tfont-family: ",";\n\tfont-size: ",";\n\tcolor: ",";\n"],["\n\tfont-family: ",";\n\tfont-size: ",";\n\tcolor: ",";\n"])),(function(e){return e.theme.font}),(function(e){return(0,tr.px)(e.theme.fontSizes[2])}),(function(e){return(0,tr.px)(e.theme.colors.text.main)})),Wv=function(e){var t=e.theme,n=e.widgets,r=e.t,i=(0,d.__rest)(e,["theme","widgets","t"]),o=!(null==t?void 0:t.font),a=La()(Po()(Xn),t);return y.createElement(Wg,{breakpoints:a.breakpoints},y.createElement(sm.Provider,{value:null!=n?n:{}},y.createElement(Kh.Provider,{value:null!=r?r:{}},o&&y.createElement($v,null,y.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;1,400&family=Ubuntu+Mono:wght@400;700&display=fallback",rel:"stylesheet"})),y.createElement(Hv,(0,d.__assign)({theme:a},i)))))},qv=n(88403),Vv=n(34230),Kv=n(62423),Gv=n.n(Kv),Yv=n(32129),Jv=n.n(Yv),Zv=n(60922),Xv=function(){return y.useContext(Zv.D)},Qv=function(e){var t=e.full,n=(0,d.__rest)(e,["full"]),r=Xv(),i=t?{color:r.rating.star.color.full,icon:qv.yy}:{color:r.rating.star.color.empty,icon:Vv.yy};return y.createElement(v.g,(0,d.__assign)({},i,n))},ey=function(e,t,n){return e>0?t<=e:Jv()(n)&&t<=n},ty=y.memo((function(e){var t=e.value,n=e.onChange,r=(0,d.__rest)(e,["value","onChange"]),i=y.useState(0),o=i[0],a=i[1];return y.createElement(ti.s,(0,d.__assign)({},r),Gv()(1,6).map((function(e){return y.createElement(Qv,{key:e,full:ey(o,e,t),onClick:function(){return n(e)},onMouseOver:function(){return a(e)},onMouseOut:function(){return a(0)}})})))})),ny=(0,b.Ay)(ty),ry=function(){return y.createElement(ti.s,{flex:1,alignItems:"center",justifyContent:"center"},y.createElement(yi,{m:2,plaintext:!0,danger:!0},"Something went wrong"))};const iy=function(e){function t(t){var n=e.call(this,t)||this;return n.state={error:null},n}return(0,d.__extends)(t,e),t.getDerivedStateFromError=function(e){return{error:e}},t.prototype.componentDidUpdate=function(e){this.state.error&&e!==this.props&&this.setState({error:null})},t.prototype.render=function(){return this.state.error?this.props.getErrorDisplay?this.props.getErrorDisplay(this.state.error):y.createElement(ry,null):this.props.children},t}(y.Component);var oy,ay,sy,ly,cy,uy,fy,dy=(0,w.default)(ti.s)(oy||(oy=(0,d.__makeTemplateObject)(["\n\tborder: 1px solid\n\t\t",";\n\tborder-radius: 50%;\n\twidth: ","px;\n\theight: ","px;\n\tbackground: ",";\n"],["\n\tborder: 1px solid\n\t\t",";\n\tborder-radius: 50%;\n\twidth: ","px;\n\theight: ","px;\n\tbackground: ",";\n"])),(function(e){return e.isLast?e.dark?e.theme.colors.secondary.dark:e.theme.colors.quartenary.light:e.dark?e.theme.colors.tertiary.light:e.theme.colors.text.light}),(function(e){return e.theme.space[e.emphasized?3:2]}),(function(e){return e.theme.space[e.emphasized?3:2]}),(function(e){return e.isLast?e.dark?e.theme.colors.secondary.dark:e.theme.colors.quartenary.light:e.dark?e.theme.colors.tertiary.light:e.theme.colors.text.light})),py=y.memo((function(e){var t=e.icon,n=e.text,r=e.secondaryIcon,i=y.useRef(null),o=y.useState(!1),a=o[0],s=o[1];return y.useEffect((function(){(null==i?void 0:i.current)&&s(i.current.scrollWidth>i.current.clientWidth)}),[]),y.createElement(ti.s,{ref:i,alignItems:"center",width:"100%"},t&&y.createElement(ti.s,{mr:2},t),y.createElement(vi.Dy,{tooltip:a?n:void 0,whitespace:"nowrap",truncate:a},n),r&&y.createElement(ti.s,{ml:2},r))})),hy=function(e){var t=e.crumbs,n=e.isCollapsed,r=void 0!==n&&n,i=e.emphasized,o=e.dark,a=Xv();return y.createElement(ti.s,{flexDirection:"column",flexWrap:"wrap",width:"100%"},t.map((function(e,n){var s,l,c=n===t.length-1;return e&&y.createElement(vi.Dy,{bold:c,fontSize:2,color:"".concat(c?o?"secondary.dark":"white":o?"tertiary.light":"secondary.semilight"),key:"".concat(e.text||e.href,"_").concat(n),width:"100%"},y.createElement(ti.s,{flexDirection:"column",width:"100%"},y.createElement(ti.s,{alignItems:"center",width:"100%"},!e.component&&y.createElement(dy,{dark:o,isLast:c,emphasized:i}),y.createElement(ti.s,{width:"calc(100% - ".concat(a.space[2],"px)"),pl:2},e.onClick?y.createElement(Fi.N,{style:{display:"inherit",color:"inherit"},onClick:e.onClick,width:"100%",href:e.href},e.component?e.component:y.createElement(py,{text:r&&!e.icon?null===(s=e.text)||void 0===s?void 0:s.charAt(0):r&&e.icon?"":e.text,icon:e.icon,secondaryIcon:e.secondaryIcon})):y.createElement(py,{text:r&&!e.icon?null===(l=e.text)||void 0===l?void 0:l.charAt(0):r&&e.icon?"":e.text,icon:e.icon,secondaryIcon:e.secondaryIcon}))),!c&&y.createElement(ti.s,{mt:-2,mb:-2,width:a.space[i?3:2],justifyContent:"center"},y.createElement(ti.s,{height:a.space[4],width:"1px",bg:"text.".concat(o?"dark":"light")}))))})))},my=(0,w.default)(Si)(ay||(ay=(0,d.__makeTemplateObject)(["\n\tborder-radius: 0 1em 1em 0;\n\tposition: absolute;\n\ttransform: scale(0.75);\n\tleft: -5%;\n\tbottom: 5%;\n\t","\n"],["\n\tborder-radius: 0 1em 1em 0;\n\tposition: absolute;\n\ttransform: scale(0.75);\n\tleft: -5%;\n\tbottom: 5%;\n\t","\n"])),(function(e){return e.isCollapsed&&"\n\t\t\tleft: -15%;\n\t\t\theight: 1.675em;\n\t\t"})),gy=(0,w.default)(ti.s)(sy||(sy=(0,d.__makeTemplateObject)(["\n\theight: 48px;\n\tcursor: ",";\n\tborder-bottom: 1px solid\n\t\t",";\n\tborder-left: ",";\n\tbackground: ",";\n\n\t&:hover {\n\t\tbackground: ",";\n\t}\n\tposition: relative;\n"],["\n\theight: 48px;\n\tcursor: ",";\n\tborder-bottom: 1px solid\n\t\t",";\n\tborder-left: ",";\n\tbackground: ",";\n\n\t&:hover {\n\t\tbackground: ",";\n\t}\n\tposition: relative;\n"])),(function(e){return e.disabled?"default":"pointer"}),(function(e){return e.isCurrent?e.theme.colors.quartenary.light:e.theme.colors.tertiary.dark}),(function(e){return e.isCurrent?"2px solid ".concat(e.theme.colors.primary.main):"none"}),(function(e){return e.isCurrent?e.theme.colors.quartenary.light:e.disabled?e.theme.colors.quartenary.dark:e.theme.colors.secondary.dark}),(function(e){return e.isCurrent?e.theme.colors.quartenary.light:e.disabled?e.theme.colors.quartenary.dark:e.theme.colors.tertiary.dark})),vy=function(e){var t=e.items,n=e.isCollapsed,r=e.navLink,i=(0,d.__rest)(e,["items","isCollapsed","navLink"]),o=window.location.pathname,a=y.useMemo((function(){return t.find((function(e){return o===e.href}))||t.find((function(e){return o.startsWith(e.href)}))}),[t,o]),s=function(e){var t=e.disabled,n=e.children,i=(0,d.__rest)(e,["disabled","children"]);return t?y.createElement(y.Fragment,null,n):y.createElement(r,(0,d.__assign)({},i),n)};return y.createElement(ti.s,(0,d.__assign)({flexDirection:"column"},i),t.map((function(e){var t=a===e;return y.createElement(s,{key:e.href,to:e.href,disabled:e.disabled},y.createElement(gy,{className:e.className,width:"100%",isCurrent:t,px:3,py:2,flexDirection:"row",alignItems:"center",justifyContent:n?"center":"unset",disabled:e.disabled,tooltip:null!=e.tooltip?{text:e.tooltip,placement:"right"}:void 0},!!e.badge&&y.createElement(my,(0,d.__assign)({},e.badge,{isCollapsed:n}),n?"":e.badge.children),!!e.icon&&y.createElement(vi.Dy.span,{bold:!0,color:t||e.disabled?"text.main":"secondary.semilight",fontSize:n?4:3,mr:n?0:2},e.icon),!n&&y.createElement(vi.Dy.span,{bold:!0,fontSize:2,style:{lineHeight:1.33},color:t||e.disabled?"text.main":"quartenary.main"},e.title),!e.icon&&n&&y.createElement(vi.Dy.span,{bold:!0,tooltip:e.title,color:t||e.disabled?"text.main":"secondary.semilight",fontSize:4,ml:1},e.title.charAt(0).toUpperCase())))})))},yy=n(86659),by=function(e){var t=e.onDone,n=e.getChangelog;return y.createElement(Fa,{title:"Changelog",done:t,action:"Close"},y.createElement(Zi,{getChangelog:n}))},_y="last-viewed-changelog-version",wy=w.default.div(ly||(ly=(0,d.__makeTemplateObject)(["\n\t","\n\tborder-radius: 50%;\n\tpadding: 5px;\n\tposition: absolute;\n"],["\n\t","\n\tborder-radius: 50%;\n\tpadding: 5px;\n\tposition: absolute;\n"])),(function(e){return"\n\t\tbackground-color: ".concat(e.theme.colors.primary.main,";\n\t")})),Sy=function(e){var t=e.getChangelog,n=e.latestChangelogVersion,r=e.onClick,i=e.style,o=(0,d.__rest)(e,["getChangelog","latestChangelogVersion","onClick","style"]),a=y.useState(!1),s=a[0],l=a[1],c=y.useMemo((function(){return $r(_y)}),[s]);return y.useEffect((function(){c||Ur(_y,n)}),[]),y.useEffect((function(){s&&Ur(_y,n)}),[s]),y.useEffect((function(){c&&n&&Number(c.split(".")[0])<Number(n.split(".")[0])&&l(!0)}),[c]),y.createElement(ti.s,{justifyContent:"flex-end"},y.createElement(ei,(0,d.__assign)({color:"quartenary.main",onClick:function(e){null==r||r(e),l(!0)},style:(0,d.__assign)({background:"rgba(0, 0, 0, 0.1)",borderRadius:"2px",lineHeight:1.1},i)},o),y.createElement(ti.s,{flexDirection:"column"},y.createElement(vi.Dy,null,"Changelog"),n&&y.createElement(vi.Dy,null,"v",n))),c&&n&&yy.lt(c,n)&&y.createElement(wy,null),s&&y.createElement(by,{onDone:function(){return l(!1)},getChangelog:t}))},xy=function(e){var t=e.menuItems,n=e.crumbs,r=e.showBreadcrumbs,i=void 0===r||r,o=e.isCollapsed,a=void 0!==o&&o,s=e.additionalComponents,l=e.setIsCollapsed,c=e.navLink,u=e.getChangelog,f=e.onChangelogClick,p=e.latestChangelogVersion,h=(0,d.__rest)(e,["menuItems","crumbs","showBreadcrumbs","isCollapsed","additionalComponents","setIsCollapsed","navLink","getChangelog","onChangelogClick","latestChangelogVersion"]);return y.createElement(ti.s,(0,d.__assign)({flexDirection:"column",flexWrap:"nowrap",backgroundColor:"secondary.main"},h),i&&!!n&&y.createElement(ti.s,{pl:a?15:24,pr:1,mb:3,mt:20},y.createElement(hy,{crumbs:n,isCollapsed:a})),y.createElement(vy,{flex:"1",ml:!a&&i&&n?32:0,flexDirection:"column",style:{overflowX:"auto"},items:t,isCollapsed:a,navLink:c}),y.createElement(ti.s,{justifyContent:"space-between",alignItems:"center",mb:3,px:2},!a&&u&&y.createElement(Sy,{getChangelog:u,onClick:f,latestChangelogVersion:p}),s,!!l&&null!=a&&y.createElement(ei,{height:"38px",width:"38px",color:"text.light",icon:y.createElement(v.g,{icon:a?jg.Xk:Dg.Wz}),onClick:function(){return l(!a)},style:{background:"rgba(0, 0, 0, 0.1)",borderRadius:"2px"}})))},Ey=n(29529),ky=(0,w.default)(er.a)(cy||(cy=(0,d.__makeTemplateObject)(["\n\tz-index: 12;\n\tposition: relative;\n\twidth: 100%;\n"],["\n\tz-index: 12;\n\tposition: relative;\n\twidth: 100%;\n"]))),Cy=function(e){var t=e.rightContent,n=e.leftContent,r=e.isSidebarCollapsed,i=e.setIsSidebarCollapsed,o=(0,d.__rest)(e,["rightContent","leftContent","isSidebarCollapsed","setIsSidebarCollapsed"]);return y.createElement(ky,(0,d.__assign)({width:"100%",backgroundColor:"secondary.main"},o),y.createElement(ti.s,{justifyContent:"space-between",mx:3},y.createElement(ti.s,{justifyContent:"space-between",alignItems:"center",ml:0,mr:"auto"},i&&y.createElement(ei,{plain:!0,color:Xn.colors.quartenary.main,ml:"auto",display:["block","block","none"],onClick:function(){i(!r)},"aria-label":"Toggle navigation",fontSize:5},y.createElement(v.g,{icon:Ey.ck})),n),y.createElement(ti.s,{justifyContent:"space-between",alignItems:"center",ml:"auto",mr:0},t)))},Oy=(0,w.default)(er.a)(uy||(uy=(0,d.__makeTemplateObject)(["\n\tdisplay: grid;\n\tgrid-template-areas: ",";\n\tgrid-template-rows: ",";\n\tgrid-template-columns: ",";\n"],["\n\tdisplay: grid;\n\tgrid-template-areas: ",";\n\tgrid-template-rows: ",";\n\tgrid-template-columns: ",";\n"])),(function(e){return e.gridTemplateAreas}),(function(e){return e.gridTemplateRows}),(function(e){return e.gridTemplateColumns})),Ty=(0,w.default)(er.a)(fy||(fy=(0,d.__makeTemplateObject)(["\n\tgrid-area: ",";\n"],["\n\tgrid-area: ",";\n"])),(function(e){return e.gridArea})),Py=function(e){var t=e.header,n=e.footer,r=e.leftSider,i=e.contentHeader,o=e.children,a=e.ErrorBoundary,s=e.isSidebarCollapsed,l=e.setIsSidebarCollapsed,c=Qn([!0,!0,!1]),u=y.useState(!0),f=u[0],p=u[1];y.useEffect((function(){(null!=l?l:p)(!!c)}),[c]);var h=y.useCallback((function(e){var t=e.children;return a?y.createElement(a,null,t):y.createElement(iy,null,t)}),[a]);return y.createElement(Oy,{bg:"transparent",height:"100%",gridTemplateAreas:'\n\t\t"leftSider header"\n\t\t"leftSider contentHeader"\n\t\t"leftSider content"\n\t\t"footer footer"\n\t'.trim(),gridTemplateRows:"\n\t\t[header header] max-content\n\t\t[contentHeader] max-content\n\t\t[content] minmax(0,1fr)\n\t\t[footer footer] max-content\n\t".trim(),gridTemplateColumns:"\n\t\t[leftSider] max-content\n\t\t[content] minmax(0, 1fr)\n\t"},t&&y.createElement(Ty,{gridArea:"header"},y.createElement(h,null,y.isValidElement(t)?t:"object"==typeof t?y.createElement(Cy,(0,d.__assign)({isSidebarCollapsed:null!=s?s:f,setIsSidebarCollapsed:null!=l?l:p},t)):t(null!=s?s:f,null!=l?l:p))),r&&y.createElement(Ty,{style:{overflowY:"auto"},gridArea:"leftSider"},y.isValidElement(r)?r:"object"==typeof r?y.createElement(h,null,y.createElement(xy,(0,d.__assign)({},!c&&{isCollapsed:null!=s?s:f,setIsCollapsed:null!=l?l:p},r))):r(null!=s?s:f,null!=l?l:p)),i&&y.createElement(Ty,{gridArea:"contentHeader"},y.createElement(h,null,i)),y.createElement(Ty,{style:{flexDirection:"column",display:"flex",overflowY:"auto"},gridArea:"content"},y.createElement(h,null,o)),n&&y.createElement(Ty,{gridArea:"footer"},y.createElement(h,null,n)))},Ay=function(e){var t=e.value,n=e.max;return y.createElement(y.Fragment,null,y.createElement(vi.Dy.span,null,t),"/",y.createElement(vi.Dy.span,{color:"tertiary.main"},n))},My=function(e,t,n){var r=Math.ceil(e/(100/t));return t<=1?e:r>n?100:0},Ly=function(e){var t=e.value,n=e.numSlices,r=(0,d.__rest)(e,["value","numSlices"]);return y.createElement(ti.s,{flexDirection:"row"},Gv()(n).map((function(e,i){return y.createElement(er.a,{key:i,flex:1,mr:e===n-1?0:2},y.createElement(kh,(0,d.__assign)({value:My(t,n,e)},r)))})))},Iy=function(e){var t=e.icon,n=e.title,r=e.description;return y.createElement(ti.s,{flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start"},y.createElement(er.a,null,y.createElement(vi.Dy.span,{mr:1,color:"tertiary.semilight"},y.createElement(v.g,{icon:t})),y.createElement(vi.Dy.span,null,n)),y.createElement(vi.Dy.span,{color:"tertiary.main",style:{lineHeight:1},fontSize:0},r||"​"))},Ry=function(e){var t=e.title,n=e.labelFormatter,r=e.value,i=e.max,o=e.numSlices,a=(0,d.__rest)(e,["title","labelFormatter","value","max","numSlices"]),s=r/(null!=i?i:100)*100,l=(0,d.__assign)((0,d.__assign)((0,d.__assign)({},s<=60?{success:!0}:{}),s>60&&s<=80?{warning:!0}:{}),s>80?{danger:!0}:{});return y.createElement(ti.s,(0,d.__assign)({flex:1,minWidth:152,flexDirection:"column"},a),y.createElement(ti.s,{mb:2,flexDirection:"row",alignItems:"flex-start",justifyContent:"space-between"},y.createElement(vi.Dy.span,null,t),y.createElement(vi.Dy.span,null,n?n({value:r,max:i}):r)),y.createElement(Ly,(0,d.__assign)({numSlices:null!=o?o:1,value:s},l)))},Dy=n(8911),jy=n(1387),Ny=n.n(jy);const Fy=(0,w.withTheme)((function(e){var t=e.theme,n=e.disabled;return y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",width:"29.4",height:"9",viewBox:"0 0 29.4 9"},y.createElement("g",{transform:"translate(1.000000, 4.000000)"},y.createElement("path",{fillRule:"nonzero",fill:n?t.colors.tertiary.semilight:t.colors.tertiary.light,d:"M20-4c0.1,0,0.2,0,0.2,0.1l0,0l7.9,4c0.3,0.1,0.4,0.5,0.2,0.7c-0.1,0.1-0.1,0.2-0.2,0.2l0,0\n\t\t\tl-8,3.9c-0.3,0.1-0.6,0-0.7-0.2c0-0.1-0.1-0.2-0.1-0.2l0,0l0-3.5l-3.9,0C15.2,1,15,0.8,15,0.5l0-0.1C15,0.2,15.2,0,15.5,0l0,0\n\t\t\tl3.9,0l0-3.5C19.4-3.7,19.6-4,20-4L20-4z M7.5-0.1l4,0c0.3,0,0.5,0.2,0.5,0.5s-0.2,0.5-0.5,0.5l0,0l-4,0C7.2,0.9,7,0.7,7,0.4\n\t\t\tC7,0.1,7.2-0.1,7.5-0.1L7.5-0.1z M-0.5-0.2l4,0C3.8-0.1,4,0.1,4,0.4S3.8,0.9,3.5,0.9l0,0l-4,0C-0.8,0.8-1,0.6-1,0.3\n\t\t\tC-1,0-0.8-0.2-0.5-0.2L-0.5-0.2z"})))}));var By=(0,w.default)(ti.s)(Vy||(Vy=(0,d.__makeTemplateObject)(["\n\talign-items: center;\n\tjustify-content: center;\n\tfont-size: ",";\n"],["\n\talign-items: center;\n\tjustify-content: center;\n\tfont-size: ",";\n"])),(function(e){return(0,tr.px)(e.theme.fontSizes[5])})),zy=(0,w.default)(vi.Dy)(Ky||(Ky=(0,d.__makeTemplateObject)(["\n\tfont-size: ",";\n\theight: ",";\n\twidth: ",";\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tfont-variant-numeric: tabular-nums;\n"],["\n\tfont-size: ",";\n\theight: ",";\n\twidth: ",";\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tfont-variant-numeric: tabular-nums;\n"])),(function(e){return(0,tr.px)(e.theme.fontSizes[3])}),(function(e){return(0,tr.px)(e.theme.fontSizes[5])}),(function(e){return(0,tr.px)(e.theme.fontSizes[5])})),$y=(0,w.default)(er.a)(Gy||(Gy=(0,d.__makeTemplateObject)(["\n\tfont-size: ",";\n\theight: ",";\n\twidth: ",";\n\tborder: 1px solid;\n\tborder-radius: 50%;\n"],["\n\tfont-size: ",";\n\theight: ",";\n\twidth: ",";\n\tborder: 1px solid;\n\tborder-radius: 50%;\n"])),(function(e){return(0,tr.px)(e.theme.fontSizes[3])}),(function(e){return(0,tr.px)(e.theme.fontSizes[5])}),(function(e){return(0,tr.px)(e.theme.fontSizes[5])})),Uy=function(e){var t=e.ordered,n=e.status,r=e.active,i=e.index;return"none"===n?null:"completed"!==n||r?t&&r?y.createElement(By,{mr:2,className:"fa-layers",color:"primary.main"},y.createElement(v.g,{icon:Dy.GE}),y.createElement(zy,{className:"fa-layers-text fa-inverse"},i+1)):t&&!r?y.createElement(By,{mr:2,className:"fa-layers",color:"tertiary.semilight"},y.createElement($y,null),y.createElement(zy,{className:"fa-layers-text"},i+1)):y.createElement(By,{mr:2,color:"tertiary.semilight"},y.createElement(v.g,{icon:h.SG})):y.createElement(By,{mr:2,color:"success.main"},y.createElement(v.g,{icon:h.SG}))},Hy=function(e){var t=e.ordered,n=e.active,r=e.index,i=e.status,o=e.children,a=e.onClick;if("string"!=typeof o)throw new Error("The child of a Step has to be a string.");return y.createElement(ti.s,{flexDirection:"row",justifyContent:"center",alignItems:"center",fontSize:2},y.createElement(Uy,{ordered:Boolean(t),status:i,active:Boolean(n),index:r}),a?y.createElement(Fi.N,{onClick:a},o):y.createElement(vi.Dy,{bold:n,color:n?void 0:"tertiary.light"},o))},Wy=function(e){var t=e.ordered,n=e.activeStepIndex,r=e.children,i=(0,d.__rest)(e,["ordered","activeStepIndex","children"]);return y.createElement(ti.s,(0,d.__assign)({mx:"auto",flexDirection:"row",alignItems:"center",flexWrap:"wrap"},i),y.Children.map(r,(function(e,i){if(e.type!==Hy)throw new Error("You can only use Step components as children of Steps.");var o=Ny()(r,{props:{status:"pending"}}),a=!t||-1===o||o>i,s=!t||i<n||i!==n&&(-1===o||o>=i)?e.props.onClick:void 0;return y.createElement(ti.s,{key:i,flexDirection:"row",alignItems:"center"},y.cloneElement(e,{ordered:t,index:i,onClick:s,active:n===i}),i<r.length-1&&y.createElement(ti.s,{justifyContent:"center",alignItems:"center",mx:3},y.createElement(Fy,{disabled:!a})))})))},qy=y.forwardRef((function(e,t){var n=e.theme,r=e.className,i=e.children,o=e.ordered,a=e.bordered,s=e.activeStepIndex,l=e.titleText,c=e.titleIcon,u=e.onClose;if(o){if("number"!=typeof s)throw new Error("You must specify the activeStepIndex for ordered Steps");var f=y.Children.count(i);if(s<0||s>=f)throw new Error("activeStepIndex is out of range")}return y.createElement(ii,{className:r,flexDirection:"row",justifyContent:"space-between",flexWrap:"wrap",alignItems:"center",onDismiss:u,baselineHeight:n.fontSizes[3]*n.lineHeight,bordered:a,ref:t},(l||c)&&y.createElement(ti.s,{minHeight:n.fontSizes[5],justifyContent:"center",alignItems:"center",ml:2,mr:4},c&&y.createElement(vi.Dy,{fontSize:2,mr:2,color:"tertiary.semilight"},c),l&&y.createElement(Li.D.h6,{color:"tertiary.main"},l)),y.createElement(Wy,{ordered:Boolean(o),activeStepIndex:s},i))}));qy.defaultProps={bordered:!0,ordered:!1};var Vy,Ky,Gy,Yy=(0,b.Ay)(qy),Jy=w.default.label.withConfig({displayName:"StyledRadioButton__StyledRadioButtonContainer",componentId:"sc-g1f6ld-0"})(["display:flex;flex-direction:row;align-items:center;user-select:none;width:fit-content;"," ",":hover input:not([disabled]) + div,:hover input:not([disabled]) + span{border-color:",";}:hover{background-color:",";}"," ",";"],(function(e){return e.disabled&&"\n  opacity: 0.5;\n  cursor: default;\n"}),(function(e){return!e.disabled&&"cursor: pointer;"}),(function(e){return S(e.theme.radioButton.hover.border.color,e.theme)}),(function(e){return S(!e.disabled&&e.theme.radioButton.hover&&e.theme.radioButton.hover.background&&e.theme.radioButton.hover.background.color,e.theme)}),(function(e){return e.focus&&!e.focusIndicator&&"\n      input:not([disabled]) + div,\n      input:not([disabled]) + span {\n      border-color: "+S(e.theme.radioButton.hover.border.color,e.theme)+";\n    }\n    background-color: "+S(!e.disabled&&e.theme.radioButton.hover&&e.theme.radioButton.hover.background&&e.theme.radioButton.hover.background.color,e.theme)+";\n    "}),(function(e){return e.theme.radioButton.container.extend}));Jy.defaultProps={},Object.setPrototypeOf(Jy.defaultProps,ge);var Zy=w.default.input.withConfig({displayName:"StyledRadioButton__StyledRadioButtonInput",componentId:"sc-g1f6ld-1"})(["opacity:0;-moz-appearance:none;width:0;height:0;margin:0;",";"],(function(e){return!e.disabled&&"cursor: pointer;"}));Zy.defaultProps={},Object.setPrototypeOf(Zy.defaultProps,ge);var Xy=w.default.span.withConfig({displayName:"StyledRadioButton__StyledRadioButtonLabel",componentId:"sc-g1f6ld-2"})(["",""],(function(e){return e.theme.radioButton.font.weight&&(0,w.css)(["font-weight:",";"],e.theme.radioButton.font.weight)}));Xy.defaultProps={},Object.setPrototypeOf(Xy.defaultProps,ge);var Qy=w.default.svg.withConfig({displayName:"StyledRadioButton__StyledRadioButtonIcon",componentId:"sc-g1f6ld-3"})(["box-sizing:border-box;width:",";height:",";fill:",";",";"],(function(e){return e.theme.radioButton.icon.size||e.theme.radioButton.size}),(function(e){return e.theme.radioButton.icon.size||e.theme.radioButton.size}),(function(e){return S(e.theme.radioButton.check.color||"control",e.theme)}),(function(e){return e.theme.radioButton.icon.extend}));Qy.defaultProps={},Object.setPrototypeOf(Qy.defaultProps,ge);var eb=w.default.div.withConfig({displayName:"StyledRadioButton__StyledRadioButtonBox",componentId:"sc-g1f6ld-4"})(["background-color:",";",";",";"],(function(e){var t;return S(null==(t=e.theme.radioButton.check.background)?void 0:t.color,e.theme)}),(function(e){return e.focus&&Te()}),(function(e){return e.theme.radioButton.check.extend}));eb.defaultProps={},Object.setPrototypeOf(eb.defaultProps,ge);var tb=w.default.div.withConfig({displayName:"StyledRadioButton",componentId:"sc-g1f6ld-5"})(["",";"],(function(e){return e.theme.radioButton&&e.theme.radioButton.extend}));tb.defaultProps={},Object.setPrototypeOf(tb.defaultProps,ge);var nb=["a11yTitle","checked","children","disabled","focus","focusIndicator","id","label","name","onChange"];function rb(){return rb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rb.apply(this,arguments)}var ib=(0,y.forwardRef)((function(e,t){var n=e.a11yTitle,r=e.checked,i=e.children,o=e.disabled,a=e.focus,s=e.focusIndicator,l=e.id,c=e.label,u=e.name,f=e.onChange,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,nb),p=(0,y.useContext)(w.ThemeContext)||ge.theme,h=(0,y.useState)(),m=h[0],g=h[1],v="string"==typeof c?y.createElement(Xy,null,c):c,b=p.radioButton.icons.circle,_=S(p.radioButton.border.color,p);return r&&(_=S(p.radioButton.color||"control",p)),y.createElement(Jy,rb({},se({htmlFor:l,disabled:o}),{onClick:function(e){"radio"!==e.target.type&&e.stopPropagation()},focus:a,focusIndicator:s,onMouseEnter:function(){return g(!0)},onMouseLeave:function(){return g(!1)}}),y.createElement(tb,{as:Ot,flex:!1,margin:c?{right:p.radioButton.gap||"small"}:void 0},y.createElement(Zy,rb({"aria-label":n},d,{ref:t,type:"radio"},se({id:l,name:u,checked:r,disabled:o,onChange:f}))),i?i({checked:r,focus:a&&s,hover:m}):y.createElement(eb,{focus:a&&s,as:Ot,align:"center",justify:"center",width:p.radioButton.size,height:p.radioButton.size,border:{size:p.radioButton.border.width,color:_},round:p.radioButton.check.radius},r&&(b?y.createElement(b,{as:Qy}):y.createElement(Qy,{viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet"},y.createElement("circle",{cx:12,cy:12,r:6}))))),v)}));ib.displayName="RadioButton",ib.propTypes={};var ob,ab=function(e){return"\n\t& > label > span {\n\t\tfont-family: ".concat(e.theme.font,";\n\t}\n\n\t& label[disabled] {\n\t\topacity: 0.4\n\t}\n")},sb=w.default.div(ob||(ob=(0,d.__makeTemplateObject)(["\n\t","\n\t","\n\t","\n"],["\n\t","\n\t","\n\t","\n"])),ab,(function(e){return e.checked?"\n\t& label input + div {\n\t\tborder-color: ".concat(e.theme.colors.primary.main,";\n\t\tbackground: ").concat(e.theme.colors.primary.main,";\n\t}\n"):""}),(function(e){return e.checked?"\n\t& label:hover input + div {\n\t\tborder-color: ".concat(e.theme.colors.primary.dark,";\n\t\tbackground: ").concat(e.theme.colors.primary.dark,";\n\t},\n"):""})),lb=(0,b.Ay)((function(e){var t=e.className,n=(0,d.__rest)(e,["className"]);return y.createElement(sb,{checked:!!n.checked,className:t},y.createElement(ib,(0,d.__assign)({},n,{name:n.name||"radio button"})))})),cb=["children","defaultValue","disabled","focusIndicator","name","onChange","options","value","gap"],ub=["disabled","id","label","value"];function fb(){return fb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fb.apply(this,arguments)}function db(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var pb=(0,y.forwardRef)((function(e,t){var n=e.children,r=e.defaultValue,i=e.disabled,o=e.focusIndicator,a=void 0===o||o,s=e.name,l=e.onChange,c=e.options,u=e.value,f=e.gap,d=db(e,cb),p=(0,y.useContext)(Xi),h=(0,y.useContext)(w.ThemeContext)||ge.theme,m=c.map((function(e){return"object"!=typeof e?{disabled:i,id:d.id?d.id+"-"+e:""+e,label:"string"!=typeof e?JSON.stringify(e):e,value:e}:fb({disabled:i},e)})),g=p.useFormInput({name:s,value:u,initialValue:r||""}),v=g[0],b=g[1],_=(0,y.useState)(),S=_[0],x=_[1],E=(0,y.useRef)([]),k=y.useMemo((function(){var e;return m.some((function(t,n){return t.value===v&&(e=n,!0)})),e}),[m,v]);(0,y.useEffect)((function(){S&&!k&&E.current[0].focus()}),[S,k]);var C=function(){if(void 0!==k&&k<m.length-1){var e=k+1;E.current[e].click()}},O=function(){if(k>0){var e=k-1;E.current[e].click()}},T=function(){setTimeout((function(){x(!0)}),1)},P=function(){return x(!1)};return y.createElement(be,{target:"document",onUp:S?O:void 0,onDown:S?C:void 0,onLeft:S?O:void 0,onRight:S?C:void 0},y.createElement(Ot,fb({ref:t,role:"radiogroup"},h.radioButtonGroup.container,{gap:f||(h.radioButtonGroup.container&&h.radioButtonGroup.container.gap?h.radioButtonGroup.container.gap:"small")},d),m.map((function(e,t){var r=e.disabled,i=e.id,o=e.label,u=e.value,f=db(e,ub),d=u===v||void 0===v&&!t||""===v&&0===t;return y.createElement(ib,fb({ref:function(e){E.current[t]=e},key:u,name:s,label:n?void 0:o,disabled:r,checked:u===v,focus:S&&d,focusIndicator:a,id:i,value:u,onFocus:T,onBlur:P,onChange:function(e){b(u),l&&l(e)},tabIndex:d?"0":"-1"},f),n?function(e){return n(c[t],e)}:null)}))))}));pb.displayName="RadioButtonGroup",pb.propTypes={};var hb,mb,gb,vb,yb,bb,_b,wb,Sb,xb,Eb,kb,Cb,Ob,Tb,Pb,Ab,Mb=(0,w.default)(pb)(hb||(hb=(0,d.__makeTemplateObject)(["\n\t",'\n\n\t& label:hover input[value="','"] + div {\n\t\tborder-color: ',";\n\t\tbackground: ",";\n\t}\n\n\t& label input[value='","'] + div {\n\t\tborder-color: ",";\n\t\tbackground: ",";\n\t}\n"],["\n\t",'\n\n\t& label:hover input[value="','"] + div {\n\t\tborder-color: ',";\n\t\tbackground: ",";\n\t}\n\n\t& label input[value='","'] + div {\n\t\tborder-color: ",";\n\t\tbackground: ",";\n\t}\n"])),ab,(function(e){return e.value}),(function(e){return e.theme.colors.primary.dark}),(function(e){return e.theme.colors.primary.dark}),(function(e){return e.value}),(function(e){return e.theme.colors.primary.main}),(function(e){return e.theme.colors.primary.main})),Lb=(0,b.Ay)((function(e){var t;return y.createElement(Mb,(0,d.__assign)({},e,{value:null!==(t=e.value)&&void 0!==t?t:e.defaultValue,name:e.name||"radio button group"}))})),Ib=n(9975),Rb=n(2617),Db=n.n(Rb),jb=n(9185),Nb=n.n(jb),Fb=n(42896),Bb=n.n(Fb),zb=(0,w.default)(er.a)(mb||(mb=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n"],["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n"]))),$b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,d.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.attributes,r=t.checkboxAttributes,i=t.columns,o=t.className,a=t.data,s=t.href,l=t.keyAttribute,c=t.isChecked,u=t.isHighlighted,f=t.isDisabled,p=t.showCheck;return y.createElement("div",{"data-display":"table-row","data-highlight":c||u,className:o},p&&y.createElement(zb,{"data-display":"table-cell"},y.createElement(xo,(0,d.__assign)({checked:c,disabled:f,"data-key":l,onChange:this.props.toggleChecked},r))),i.map((function(t){var r,i="function"==typeof t.cellAttributes?t.cellAttributes(a,Rs()(a,t.field)):t.cellAttributes||{};try{r=new URL(null!=s?s:"")}catch(e){r=null}return y.createElement("a",(0,d.__assign)({},n,{"data-display":"table-cell",href:s,"data-key":l,onClick:function(t){e.props.onRowClick(t)},target:r?"_blank":void 0},i,{key:t.key||t.field}),function(e,t){var n=Rs()(e,t.field);return t.render?t.render(n,e):null==n?"":n}(a,t))})))},t}(y.PureComponent),Ub="\n\tbackground-color: ".concat(Xn.colors.info.light,";\n"),Hb=w.default.div(gb||(gb=(0,d.__makeTemplateObject)(["\n\toverflow-x: auto;\n\tmax-width: 100%;\n\tborder-bottom: 1px solid ",";\n"],["\n\toverflow-x: auto;\n\tmax-width: 100%;\n\tborder-bottom: 1px solid ",";\n"])),(function(e){return e.theme.colors.quartenary.main})),Wb=w.default.div(vb||(vb=(0,d.__makeTemplateObject)(["\n\tdisplay: table;\n\twidth: 100%;\n\tborder-spacing: 0;\n\n\t> [data-display='table-head'] {\n\t\tdisplay: table-header-group;\n\t\tbackground-color: ",";\n\n\t\t> [data-display='table-row'] {\n\t\t\tdisplay: table-row;\n\n\t\t\t> [data-display='table-cell'] {\n\t\t\t\tdisplay: table-cell;\n\t\t\t\tborder-bottom: 1px solid\n\t\t\t\t\t",";\n\t\t\t\ttext-align: left;\n\t\t\t\tvertical-align: middle;\n\t\t\t\tpadding: 5px 20px;\n\t\t\t\tfont-size: ",";\n\t\t\t\tfont-weight: normal;\n\t\t\t\twhite-space: nowrap;\n\t\t\t}\n\n\t\t\t",";\n\t\t}\n\t}\n\n\t> [data-display='table-body'] {\n\t\tdisplay: table-row-group;\n\n\t\t> [data-display='table-row'] {\n\t\t\tdisplay: table-row;\n\t\t\ttext-decoration: none;\n\t\t\tcolor: ",";\n\t\t\tbackground-color: #fff;\n\t\t\tfont-size: ",";\n\n\t\t\t> [data-display='table-cell'] {\n\t\t\t\tdisplay: table-cell;\n\t\t\t\ttext-align: left;\n\t\t\t\tvertical-align: middle;\n\t\t\t\tpadding: 5px 20px;\n\t\t\t\ttext-decoration: none;\n\t\t\t\tcolor: inherit;\n\t\t\t\twhite-space: nowrap;\n\t\t\t}\n\n\t\t\t",";\n\n\t\t\t> a[data-display='table-cell'] {\n\t\t\t\tcursor: ",";\n\t\t\t}\n\n\t\t\t&:nth-of-type(even) {\n\t\t\t\tbackground-color: ",";\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: none;\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t&[data-highlight='true'] {\n\t\t\t\t",' > [data-display="table-cell"]:first-child {\n\t\t\t\t\tbox-shadow: inset 3px 0px 0 ',";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n"],["\n\tdisplay: table;\n\twidth: 100%;\n\tborder-spacing: 0;\n\n\t> [data-display='table-head'] {\n\t\tdisplay: table-header-group;\n\t\tbackground-color: ",";\n\n\t\t> [data-display='table-row'] {\n\t\t\tdisplay: table-row;\n\n\t\t\t> [data-display='table-cell'] {\n\t\t\t\tdisplay: table-cell;\n\t\t\t\tborder-bottom: 1px solid\n\t\t\t\t\t",";\n\t\t\t\ttext-align: left;\n\t\t\t\tvertical-align: middle;\n\t\t\t\tpadding: 5px 20px;\n\t\t\t\tfont-size: ",";\n\t\t\t\tfont-weight: normal;\n\t\t\t\twhite-space: nowrap;\n\t\t\t}\n\n\t\t\t",";\n\t\t}\n\t}\n\n\t> [data-display='table-body'] {\n\t\tdisplay: table-row-group;\n\n\t\t> [data-display='table-row'] {\n\t\t\tdisplay: table-row;\n\t\t\ttext-decoration: none;\n\t\t\tcolor: ",";\n\t\t\tbackground-color: #fff;\n\t\t\tfont-size: ",";\n\n\t\t\t> [data-display='table-cell'] {\n\t\t\t\tdisplay: table-cell;\n\t\t\t\ttext-align: left;\n\t\t\t\tvertical-align: middle;\n\t\t\t\tpadding: 5px 20px;\n\t\t\t\ttext-decoration: none;\n\t\t\t\tcolor: inherit;\n\t\t\t\twhite-space: nowrap;\n\t\t\t}\n\n\t\t\t",";\n\n\t\t\t> a[data-display='table-cell'] {\n\t\t\t\tcursor: ",";\n\t\t\t}\n\n\t\t\t&:nth-of-type(even) {\n\t\t\t\tbackground-color: ",";\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: none;\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t&[data-highlight='true'] {\n\t\t\t\t",' > [data-display="table-cell"]:first-child {\n\t\t\t\t\tbox-shadow: inset 3px 0px 0 ',";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n"])),(function(e){return e.theme.colors.quartenary.semilight}),(function(e){return e.theme.colors.quartenary.main}),(function(e){return(0,tr.px)(e.theme.fontSizes[2])}),(function(e){return e.hasCheckbox?"\n\t\t\t\t\t> [data-display='table-cell']:first-child {\n\t\t\t\t\t\twidth: 60px;\n\t\t\t\t\t}":"\n\t\t\t\t\t> [data-display='table-cell']:first-child {\n\t\t\t\t\t\tpadding-left: 40px;\n\t\t\t\t\t}\n\t\t\t\t\t> [data-display='table-cell']:last-child {\n\t\t\t\t\t\tpadding-right: 40px;\n\t\t\t\t\t}"}),(function(e){return e.theme.colors.secondary.main}),(function(e){return(0,tr.px)(e.theme.fontSizes[2])}),(function(e){return e.hasCheckbox?"\n\t\t\t\t\t> [data-display='table-cell']:first-child {\n\t\t\t\t\t\twidth: 60px;\n\t\t\t\t\t}":"\n\t\t\t\t\t> [data-display='table-cell']:first-child {\n\t\t\t\t\t\tpadding-left: 40px;\n\t\t\t\t\t}\n\t\t\t\t\t> [data-display='table-cell']:last-child {\n\t\t\t\t\t\tpadding-right: 40px;\n\t\t\t\t\t}"}),(function(e){return e.hasRowClick||e.hasGetRowRef?"pointer":"auto"}),(function(e){return e.theme.colors.quartenary.light}),(function(e){return e.hasRowClick||e.hasGetRowRef||e.hasCheckbox?Ub:""}),Ub,(function(e){return e.theme.colors.info.main})),qb=function(e){function t(t){var n,r=this;if((r=e.call(this,t)||this).$getSelectedIdentifiersSet=Bb()((function(e,t){return t?new Set((null!=e?e:[]).map((function(e){return e[t]}))):new Set}),{max:1}),r.$getHighlightedRowIdentifiers=Bb()((function(e){return new Set(e)}),{max:1}),r.$getDisabledRowIdentifiers=Bb()((function(e){return new Set(e)}),{max:1}),r.$getValidatedCheckedItems=Bb()((function(e,t,n,r){for(var i=e&&n&&0!==t.size?e.filter((function(e){return t.has(e[n])})):[],o=0;o<Math.max(r.length,i.length);o++)if(r[o]!==i[o])return i;return r}),{max:1}),r.getSelectedRows=function(e){var t,n=r.props,i=n.rowKey,o=n.data,a=n.pagination;if(null==a?void 0:a.serverSide)t=e;else{var s=r.$getSelectedIdentifiersSet(e,i);t=r.$getValidatedCheckedItems(o,s,i,e)}return{checkedItems:t,checkedState:r.howManyRowsChecked(t)}},r.setRowSelection=function(e){var t=r.getSelectedRows(e),n=t.checkedItems!==r.state.checkedItems;r.setState(t),r.props.onCheck&&n&&r.props.onCheck(t.checkedItems,r.state.checkedState)},r.toggleCheckedState=function(e){return"none"===e?"all":"none"},r.toggleAllChecked=function(){var e,t=r.props,n=t.data,i=t.onCheck,o=t.rowKey,a=t.pagination,s=(null==a?void 0:a.serverSide)?void 0:[];if(n&&0===(null===(e=r.state.checkedItems)||void 0===e?void 0:e.length)&&!(null==a?void 0:a.serverSide)){var l=r.getDisabledRowIdentifiers();s=o&&l.size>0?n.filter((function(e){return!l.has(e[o])})):n.slice()}r.setState((function(e){var t=e.checkedState,n=(null==a?void 0:a.serverSide)?r.toggleCheckedState(t):r.howManyRowsChecked(s);return null==i||i(s,n),{lastSelected:null,checkedState:n,checkedItems:s}}))},r.toggleChecked=function(e){var t,n=r.props,i=n.rowKey,o=n.data,a=n.pagination,s=e.currentTarget.dataset.key;if(!i||!s||!o)return!1;var l=r.sortData(o),c=r.getElementFromKey(s);if(c){var u,f=c[i],d=null!==(t=r.props.checkedItems||r.state.checkedItems)&&void 0!==t?t:[];(null==a?void 0:a.serverSide)&&"all"===r.state.checkedState?(d=l,u=!1):u=!r.getCheckedRowIdentifiers().has(f);var p=new Map(d.map((function(e){return[e[i],e]}))),h=[f];null!=r.state.lastSelected&&e.nativeEvent.shiftKey&&h.push(r.state.lastSelected);for(var m=function(t){var n=!1,o=l[t][i];if(h.includes(o)&&(h=h.filter((function(e){return e!==o})),n=!0),n||e.nativeEvent.shiftKey&&1===h.length&&null!=r.state.lastSelected){var a=p.has(o);u&&!a?p.set(o,l[t]):!u&&a&&p.delete(o)}},g=0;g<l.length&&h.length;g++)m(g);var v=Array.from(p.values());r.props.onCheck&&r.props.onCheck(v,r.state.checkedState),r.setState({lastSelected:f,checkedState:r.howManyRowsChecked(v),checkedItems:v})}},r.toggleSort=function(e){var t=e.currentTarget.dataset,n=t.field,i=t.refScheme,o=r.state.sort;if(n){var a={field:n,refScheme:i,reverse:!1};o.field===n&&(a={field:o.field,refScheme:i,reverse:!o.reverse}),r.setState({sort:a}),r.props.onSort&&r.props.onSort(a)}},r.onRowClick=function(e){if(r.props.onRowClick){if(!r.props.rowKey)return console.warn("onRowClick requires that you provide a `rowKey` property");var t=e.currentTarget.dataset.key;if(!t)return console.warn("onRowClick called on an element without a key set");var n=r.getElementFromKey(t);n&&r.props.onRowClick(n,e)}},r.setPage=function(e){var t,n,i,o=r.props.pagination,a=null!==(t=r.props.itemsPerPage)&&void 0!==t?t:null==o?void 0:o.itemsPerPage;null===(i=(n=r.props).onPageChange)||void 0===i||i.call(n,e,null!=a?a:50),r.setState({page:e})},r.resetPager=function(){r.setPage(0)},r.incrementPage=function(){r.setPage(r.state.page+1)},r.decrementPage=function(){r.setPage(r.state.page-1)},t.onCheck&&!t.rowKey)throw new Error("A `rowKey` property must be provided if using `onCheck` with a Table component");var i=t.sort||{reverse:!1,field:null};return r.state=(0,d.__assign)({sort:i,page:0,lastSelected:null},r.getSelectedRows(null!==(n=t.checkedItems)&&void 0!==n?n:[])),r}return(0,d.__extends)(t,e),t.prototype.componentDidUpdate=function(e){var t,n,r=this.props,i=r.sort,o=r.checkedItems,a=r.data,s=r.pagination,l=r.rowKey,c=null==s?void 0:s.serverSide;i&&!Cg()(e.sort,i)&&this.setState({sort:i}),!o||e.checkedItems===o&&e.rowKey===l&&a===e.data||this.setRowSelection(o);var u=c?null==s?void 0:s.totalItems:null!==(t=null==a?void 0:a.length)&&void 0!==t?t:0,f=c?null==s?void 0:s.currentPage:this.state.page,d=null!==(n=this.props.itemsPerPage)&&void 0!==n?n:null==s?void 0:s.itemsPerPage;0!==f&&u<=f*(null!=d?d:50)&&this.resetPager()},t.prototype.getCheckedRowIdentifiers=function(){var e=this.props.rowKey;return e?this.$getSelectedIdentifiersSet(this.state.checkedItems,e):new Set},t.prototype.isChecked=function(e){return this.props.rowKey&&this.getCheckedRowIdentifiers().has(e[this.props.rowKey])},t.prototype.getHighlightedRowIdentifiers=function(){return this.props.highlightedRows&&this.props.rowKey?this.$getHighlightedRowIdentifiers(this.props.highlightedRows):new Set},t.prototype.isHighlighted=function(e){return this.props.rowKey&&this.getHighlightedRowIdentifiers().has(e[this.props.rowKey])},t.prototype.getDisabledRowIdentifiers=function(){return this.props.disabledRows&&this.props.rowKey?this.$getDisabledRowIdentifiers(this.props.disabledRows):new Set},t.prototype.isDisabled=function(e){return this.props.rowKey&&this.getDisabledRowIdentifiers().has(e[this.props.rowKey])},t.prototype.componentWillUnmount=function(){this.$getHighlightedRowIdentifiers.clear(),this.$getDisabledRowIdentifiers.clear(),this.$getSelectedIdentifiersSet.clear(),this.$getValidatedCheckedItems.clear()},t.prototype.howManyRowsChecked=function(e){var t=this.props,n=t.rowKey,r=t.data,i=t.pagination;return n&&r?(null==i?void 0:i.serverSide)&&e.length===i.totalItems||!(null==i?void 0:i.serverSide)&&r.length===e.length?"all":e.length>0?"some":"none":"none"},t.prototype.sortData=function(e){var t=this.state.sort;if(!t||null===t.field)return e;var n,r=this.props.columns.find((function(e){return e.field===t.field}));if(!r)return e;var i=r||{};return n="sortable"in i&&"function"==typeof i.sortable?e.slice().sort(i.sortable):Nb()(e.slice(),(function(e){var n=e[t.field];return Db()(n)?n.value:n})),t.reverse&&n.reverse(),n},t.prototype.getElementFromKey=function(e){var t=this.props,n=t.data,r=t.rowKey;if(n)return r?n.find((function(t){return"".concat(t[r])===e})):n[Number(e)]},t.prototype.render=function(){var e,t,n,r=this,i=this.props,o=i.columns,a=i.data,s=i.usePager,l=i.pagerPosition,c=i.rowAnchorAttributes,u=i.rowKey,f=i.onCheck,d=i.onRowClick,p=i.getRowHref,h=i.getRowClass,m=i.className,g=i.fuzzyPager,b=i.pagination,_=this.state,w=_.page,S=_.sort,x=null==b?void 0:b.serverSide,E=a||[],k=x?null==b?void 0:b.totalItems:E.length,C=null!==(t=null!==(e=this.props.itemsPerPage)&&void 0!==e?e:null==b?void 0:b.itemsPerPage)&&void 0!==t?t:50,O=l||"top",T=E;if(!x){var P=w*C,A=Math.min((w+1)*C,E.length);T=this.sortData(E).slice(P,A)}var M=!!s&&k>0,L=this.getCheckedRowIdentifiers(),I=this.getHighlightedRowIdentifiers(),R=this.getDisabledRowIdentifiers(),D="all"===this.state.checkedState?k:null===(n=this.state.checkedItems)||void 0===n?void 0:n.length;return y.createElement(y.Fragment,null,M&&("top"===O||"both"===O)&&y.createElement(Ng,{fuzzy:g,totalItems:k,itemsPerPage:C,page:x?null==b?void 0:b.currentPage:w,nextPage:this.incrementPage,prevPage:this.decrementPage,mb:2}),y.createElement(Hb,null,y.createElement(Wb,{className:m,hasRowClick:!!d,hasGetRowRef:!!p,hasCheckbox:!!f},y.createElement("div",{"data-display":"table-head"},y.createElement("div",{"data-display":"table-row"},f&&y.createElement(zb,{"data-display":"table-cell",tooltip:null!=D?"Selected: ".concat(D):void 0},y.createElement(xo,{checked:"all"===this.state.checkedState,indeterminate:"some"===this.state.checkedState,onChange:this.toggleAllChecked})),o.map((function(e){return e.sortable?y.createElement("div",{"data-display":"table-cell",key:e.key||e.field},y.createElement(ei,{"data-field":e.field,"data-ref-scheme":e.refScheme,plain:!0,primary:S.field===e.field,onClick:r.toggleSort},e.label||e.field," ",y.createElement(v.g,{icon:Ib.OM,color:S.field===e.field?Xn.colors.info.main:""}))):y.createElement("div",{"data-display":"table-cell",key:e.key||e.field},e.label||e.field)})))),y.createElement("div",{"data-display":"table-body"},this.props.tbodyPrefix,T.map((function(e,t){var n=!1,i=!1,a=!1;if(u){var s=e[u];n="all"===r.state.checkedState||!!f&&L.has(s),i=I.has(s),a=R.has(s)}var l=u?e[u]:t,d=p?p(e):void 0,m="function"==typeof h?h(e):[],g=Array.isArray(m)?m.join(" "):"";return y.createElement($b,{isChecked:n,isHighlighted:i,isDisabled:a,key:l,keyAttribute:l,href:d,data:e,showCheck:!!f,columns:o,attributes:c,checkboxAttributes:r.props.rowCheckboxAttributes,toggleChecked:r.toggleChecked,onRowClick:r.onRowClick,className:g})}))))),M&&("bottom"===O||"both"===O)&&y.createElement(Ng,{fuzzy:g,totalItems:k,itemsPerPage:C,page:w,nextPage:this.incrementPage,prevPage:this.decrementPage,mt:2}))},t}(y.Component),Vb=n(55950),Kb=n.n(Vb),Gb=n(41781),Yb=n.n(Gb),Jb=n(48581),Zb=n.n(Jb),Xb=n(20526),Qb=n.n(Xb),e_=n(87240),t_=n.n(e_),n_=n(28960),r_=n(61147),i_=n(42431),o_=n.n(i_),a_=(0,w.default)(v.g)(yb||(yb=(0,d.__makeTemplateObject)(["\n\t& {\n\t\tfont-size: inherit !important;\n\t}\n"],["\n\t& {\n\t\tfont-size: inherit !important;\n\t}\n"]))),s_=w.default.span(bb||(bb=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\theight: 14px;\n\twidth: 14px;\n\tmargin-right: ","px;\n\tfont-size: 13px;\n\n\t& svg {\n\t\ttransform: translateY(-1px);\n\t}\n"],["\n\tdisplay: flex;\n\theight: 14px;\n\twidth: 14px;\n\tmargin-right: ","px;\n\tfont-size: 13px;\n\n\t& svg {\n\t\ttransform: translateY(-1px);\n\t}\n"])),(function(e){return e.theme.space[2]})),l_=["key","selected","type","tagKey"],c_=function(e){return e?{title:e,key:"tag_key: ".concat(e),selected:!0,type:"tag",tagKey:e}:{title:"",key:"tag_key: Not Set",selected:!0,type:"tag",tagKey:void 0}},u_=function(e){var t=e.columns,n=e.tagKeys,r=e.addTagColumn,i=e.setColumns,o=vm()(t,(function(e,t){return"tag"===t.type&&t.tagKey&&e.push(t.tagKey),e}),[]),a=[{test:function(){return!(n||[]).length},message:"No tags available."},{test:function(){return o.includes(void 0)},message:"Unconfigured tag column already exists"},{test:function(){return!Qb().apply(void 0,(0,d.__spreadArray)([n||[]],o,!1)).length},message:"All tags used"}].find((function(e){return e.test()})),s=!a,l=a&&a.message,c=y.useMemo((function(){var e=[t.filter((function(e){return!e.locked})).map((function(e){return{content:y.createElement(ti.s,{key:e.key,alignItems:"center",color:e.selected?void 0:Xn.colors.text.light},y.createElement(s_,null,e.selected?y.createElement(v.g,{icon:r_.e6}):null),"tag"!==e.type?e.title:y.createElement(vi.Dy,null,"Tag : ",e.title?y.createElement("strong",null,e.title):"Not set")),onClick:function(n){!function(e){var n=t.indexOf(e);if(!(n<0)){var r=t.slice();(e=o_()(e)).selected=!e.selected,"tag"!==e.type||e.selected?r.splice(n,1,e):r.splice(n,1),i(r)}}(e),Fr(n)}}}))];return n&&e.push([{content:y.createElement(ti.s,{alignItems:"center"},y.createElement(s_,null,y.createElement(v.g,{icon:Lm.QL})),null!=l?l:"Add Tag Column"),onClick:function(){return s&&r()},disabled:!s}]),e}),[t,n,r]);return y.createElement(qo,{joined:!0,alignRight:!0,primary:!0,plain:!0,label:y.createElement(a_,{icon:n_.dB}),items:c,keepOpenOnItemClick:!0})},f_=n(35810),d_=n(59743),p_=n.n(d_),h_=(0,w.default)(vi.Dy.span)(_b||(_b=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-flex;\n\talign-items: stretch;\n\tjustify-content: stretch;\n\tmax-width: 100%;\n\theight: 30px;\n\tpadding: 7px;\n\tborder: 0.5px solid ",";\n\tfont-size: 11px;\n\tfont-weight: bold;\n\tborder-radius: 3px;\n\tcolor: ",";\n\tbackground-color: ",";\n\tposition: relative;\n"],["\n\tdisplay: inline-flex;\n\talign-items: stretch;\n\tjustify-content: stretch;\n\tmax-width: 100%;\n\theight: 30px;\n\tpadding: 7px;\n\tborder: 0.5px solid ",";\n\tfont-size: 11px;\n\tfont-weight: bold;\n\tborder-radius: 3px;\n\tcolor: ",";\n\tbackground-color: ",";\n\tposition: relative;\n"])),(function(e){return e.theme.colors.info.main}),(function(e){return e.theme.colors.info.main}),(function(e){return e.theme.colors.info.light})),m_=(0,w.default)(vi.Dy.span)(wb||(wb=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-block;\n\tmax-width: 100%;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\n\t",":hover & {\n\t\topacity: 0.5;\n\t}\n"],["\n\tdisplay: inline-block;\n\tmax-width: 100%;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\n\t",":hover & {\n\t\topacity: 0.5;\n\t}\n"])),h_),g_=w.default.span(Sb||(Sb=(0,d.__makeTemplateObject)(["\n\tfont-weight: normal;\n"],["\n\tfont-weight: normal;\n"]))),v_=w.default.span(xb||(xb=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\tleft: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tcolor: ",";\n\tuser-select: none;\n\tcursor: pointer;\n\tvisibility: hidden;\n\n\t",":hover & {\n\t\tvisibility: visible;\n\t}\n"],["\n\tposition: absolute;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\tleft: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tcolor: ",";\n\tuser-select: none;\n\tcursor: pointer;\n\tvisibility: hidden;\n\n\t",":hover & {\n\t\tvisibility: visible;\n\t}\n"])),(function(e){return e.theme.colors.text.main}),h_),y_=(0,w.default)((function(e){return y.createElement(v.g,(0,d.__assign)({icon:f_.jP},e))}))(Eb||(Eb=(0,d.__makeTemplateObject)(["\n\tbackground-color: ",";\n\tbox-shadow: 0 0 1px 3px ",";\n"],["\n\tbackground-color: ",";\n\tbox-shadow: 0 0 1px 3px ",";\n"])),(function(e){return e.theme.colors.info.light}),(function(e){return e.theme.colors.info.light})),b_=function(e){var t=Yh().t,n=e.tag,r=e.maxValueLength,i=e.wrapValue,o=e.showTagKey,a=void 0===o||o,s=e.placeholder,l=void 0===s?t("no_data.no_value"):s,c=(0,d.__rest)(e,["tag","maxValueLength","wrapValue","showTagKey","placeholder"]);if(!n)return null;var u=function(e){var t=e.tag_key;return e.value&&(t="".concat(t," : ").concat(e.value)),t}(n),f=a?u:n.value||l;return y.createElement(h_,(0,d.__assign)({onClick:Fr,title:u},c),y.createElement(m_,{tooltip:{text:t("actions_messages.copied"),trigger:"click"}},a&&n.tag_key,a&&n.value&&": ",n.value&&y.createElement(g_,{style:{whiteSpace:i?"normal":"nowrap"}},r&&n.value.length>r?"".concat(n.value.substring(0,r),"..."):n.value),!a&&!n.value&&y.createElement(g_,null,y.createElement("i",null,l)),y.createElement(v_,{onClick:function(){return p_()(f)}},y.createElement(y_,null))))},__=(0,w.default)(b_)(kb||(kb=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-flex;\n\tmax-width: 200px;\n"],["\n\tdisplay: inline-flex;\n\tmax-width: 200px;\n"]))),w_=function(e){function t(t){var n=e.call(this,t)||this;return n.state={sortedTags:[]},n}return(0,d.__extends)(t,e),t.prototype.componentDidMount=function(){this.setState({sortedTags:Nb()(this.props.tags||[],"tag_key")})},t.prototype.componentWillReceiveProps=function(e){var t=e.tags;this.state.sortedTags&&Cg()(this.props.tags,t)||this.setState({sortedTags:Nb()(t||[],"tag_key")})},t.prototype.render=function(){var e=this.props,t=(e.tags,e.nowrap),n=(0,d.__rest)(e,["tags","nowrap"]);return y.createElement(ti.s,(0,d.__assign)({mx:"-5px",flexWrap:t?"nowrap":"wrap"},n),Ai()(this.state.sortedTags,(function(e){return y.createElement(__,{key:e.tag_key,tag:e,mx:"5px",my:t?void 0:"5px"})})))},t}(y.Component),S_=w.default.div(Cb||(Cb=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\talign-items: center;\n\twhite-space: nowrap;\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\twhite-space: nowrap;\n"]))),x_=function(e){var t=e.columnInfo,n=e.items,r=e.disabledItems,i=e.label,o=e.setColumn,a=!!t.title,s=y.useMemo((function(){return[n.map((function(e){var n=r.includes(e);return{content:y.createElement(er.a,{key:e},e),disabled:n,tooltip:n?"This ".concat(i.toLowerCase()," is already selected"):void 0,onClick:function(){return o(t,e)}}}))]}),[n,r,i,o,t]);return y.createElement(qo,{label:y.createElement(S_,null,y.createElement(vi.Dy,{bold:!a},i,":"),a?y.createElement(vi.Dy,{m:"0 3px",bold:!0},t.title):y.createElement(vi.Dy,{m:"0 3px",color:"text.light"},"Choose ".concat(i.toLowerCase()))),plain:!0,joined:!0,alignRight:!0,onClick:Fr,items:s})},E_=n(61448),k_=n.n(E_),C_=function(e,t){var n;return null!==(n=t in e?e[t]:null)&&void 0!==n?n:[]},O_=(0,w.default)(ti.s)(Ob||(Ob=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n"],["\n\tposition: relative;\n"]))),T_=w.default.div(Tb||(Tb=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\ttop: ",";\n\tright: 0;\n\tdisplay: flex;\n\talign-items: center;\n\theight: 40px;\n\tpadding: 0 8px;\n\tbackground: ",";\n"],["\n\tposition: absolute;\n\ttop: ",";\n\tright: 0;\n\tdisplay: flex;\n\talign-items: center;\n\theight: 40px;\n\tpadding: 0 8px;\n\tbackground: ",";\n"])),(function(e){return"bottom"===e.pagerPosition?0:"47px"}),(function(e){return e.theme.colors.quartenary.semilight})),P_="60px",A_=(0,w.default)(qb)(Ab||(Ab=(0,d.__makeTemplateObject)(["\n\t",";\n\n\t> [data-display='table-head'] > [data-display='table-row'] {\n\t\theight: 42px;\n\t}\n\n\t> [data-display='table-body'] > [data-display='table-row'] {\n\t\theight: 50px;\n\t}\n\n\t",";\n"],["\n\t",";\n\n\t> [data-display='table-head'] > [data-display='table-row'] {\n\t\theight: 42px;\n\t}\n\n\t> [data-display='table-body'] > [data-display='table-row'] {\n\t\theight: 50px;\n\t}\n\n\t",";\n"])),(function(e){return e.enableCustomColumns?"\n\t\t> [data-display='table-head']\n\t\t\t> [data-display='table-row']\n\t\t\t> [data-display='table-cell']:last-child {\n\t\t\tpadding-right: 50px;\n\t\t}\n\t":""}),(function(e){return e.onCheck?(t=e.theme.colors.quartenary.semilight,(0,w.css)(Pb||(Pb=(0,d.__makeTemplateObject)(["\n\tmax-width: calc(100% - ",");\n\tmargin-left: ",";\n\n\t> [data-display='table-head']\n\t\t> [data-display='table-row']\n\t\t> [data-display='table-cell'],\n\t> [data-display='table-body']\n\t\t> [data-display='table-row']\n\t\t> [data-display='table-cell'] {\n\t\t&:first-child {\n\t\t\tposition: absolute;\n\t\t\tleft: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\twidth: ",";\n\t\t\theight: inherit;\n\t\t\tz-index: 3;\n\t\t\tbackground-color: inherit;\n\t\t\t> input[type='checkbox'] {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t}\n\t}\n\t> [data-display='table-head']\n\t\t> [data-display='table-row']\n\t\t> [data-display='table-cell']:first-child {\n\t\tbackground-color: ",";\n\t}\n"],["\n\tmax-width: calc(100% - ",");\n\tmargin-left: ",";\n\n\t> [data-display='table-head']\n\t\t> [data-display='table-row']\n\t\t> [data-display='table-cell'],\n\t> [data-display='table-body']\n\t\t> [data-display='table-row']\n\t\t> [data-display='table-cell'] {\n\t\t&:first-child {\n\t\t\tposition: absolute;\n\t\t\tleft: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\twidth: ",";\n\t\t\theight: inherit;\n\t\t\tz-index: 3;\n\t\t\tbackground-color: inherit;\n\t\t\t> input[type='checkbox'] {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t}\n\t}\n\t> [data-display='table-head']\n\t\t> [data-display='table-row']\n\t\t> [data-display='table-cell']:first-child {\n\t\tbackground-color: ",";\n\t}\n"])),P_,P_,P_,t)):"";var t})),M_="Tags",L_={href:void 0,style:{cursor:"auto",paddingTop:"6px",paddingBottom:"6px"}},I_=function(e){return"tag"===e.type&&e.key!==M_},R_=function(e,t){var n=e.findIndex((function(e){return e.key===M_}));n<0&&(n=e.length-1),e.splice.apply(e,(0,d.__spreadArray)([n,0],t,!1))},D_=function(e,t,n){var r;return null===(r=C_(e,t))||void 0===r?void 0:r.find((function(e){return e.tag_key===n}))},j_=function(e,t){var n=(0,d.__assign)((0,d.__assign)({},e),{field:"".concat(t,".").concat(e.tagKey),cellAttributes:L_});return n.sortable=function(e,r){var i=n.tagKey;if(!i)return 0;var o=D_(e,t,i),a=D_(r,t,i);return o||a?o?a?(o.value||"").localeCompare(a.value||""):-1:1:0},n.render=function(e,r){var i=n.tagKey;if(!i)return null;var o=D_(r,t,i);return o?y.createElement(b_,{tag:o,showTagKey:!1}):null},n},N_=function(e,t){var n=e;return I_(n)&&!n.title&&n.tagKey&&(n.title=n.tagKey),n.label=n.label||n.title,n.selected=!t||e.locked||e.selected||!1,n},F_=function(e){var t=e.columns,n=e.tagField,r=e.enableCustomColumns,i=e.columnStateRestorationKey,o=t.map((function(e){return N_(e,r)}));n&&(o=o.concat(function(e,t){return N_({title:"Tags",key:M_,selected:!1,type:"predefined",field:e,cellAttributes:L_,render:function(e){return e?y.createElement(w_,{tags:e,nowrap:!0}):null}},t)}(n,r)));var a=e.loadColumnPreferences?e.loadColumnPreferences():function(e){if(!e)return[];var t=$r(e);return null==t||t.forEach((function(e){"tag"!==e.type||e.tagKey||(e.tagKey=void 0)})),t}(i);return o=function(e,t,n,r){if(!(null==t?void 0:t.length))return e;var i=t_()(e,"key"),o=t_()(t,"key"),a=Qb()(l_,"key");if(ud()(i).forEach((function(e){var t=i[e],n=o[e];n&&t&&Object.assign(t,il()(n,a))})),n){var s=Kb()(t,I_),l=Ai()(s,(function(e){return j_(e,n)}));R_(e,l)}return e.forEach((function(e){return N_(e,r)})),e}(o,a,n,r),o},B_=function(e){function t(t){var n=e.call(this,t)||this;n.setColumnsAndSave=function(e){return(0,d.__awaiter)(n,void 0,void 0,(function(){return(0,d.__generator)(this,(function(t){switch(t.label){case 0:return[4,this.setColumns(e)];case 1:return t.sent(),this.saveColumnPreferences(e),[2]}}))}))},n.addTagColumn=function(){var e=n.state,t=e.tagKeys,r=e.newTagColumnKeys,i=e.allColumns,o=e.selectedTagColumnKeys;if(n.props.tagField&&!i.some((function(e){return"tag"===e.type&&void 0===e.tagKey}))){var a=1===r.length?r[0]:void 0,s=c_(a),l=i.slice(),c=j_(s,n.props.tagField);n.setTagTableColumnHeader({tagKeys:t,selectedTagColumnKeys:o},c),R_(l,[c]),n.setColumnsAndSave(l)}},n.configureTagColumn=function(e,t){if(e&&t&&n.props.tagField){var r=n.state.allColumns.indexOf(e);if(!(r<0)){var i=j_(c_(t),n.props.tagField),o=n.state.allColumns.slice();o.splice(r,1,i),n.setColumnsAndSave(o)}}},n.onSort=function(e){var t;n.props.sortingStateRestorationKey&&((t=n.props.sortingStateRestorationKey)&&Ur(t,e),n.setState({sort:e})),n.props.onSort&&n.props.onSort(e)};var r=F_(t);return n.state=n.getNewStateSlice(r,n.props.data),n}return(0,d.__extends)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;if(this.props.data!==e.data||this.props.columns!==e.columns){var n=this.state.allColumns;this.props.columns!==e.columns&&(n=F_(e));var r=this.getNewStateSlice(n,e.data),i=!Cg()(Ai()(this.state.visibleColumns,"key"),Ai()(r.visibleColumns,"key"));this.setState(r,(function(){i&&t.saveColumnPreferences(r.allColumns)}))}},t.prototype.getTagKeys=function(e,t){var n=this;if(!this.props.tagField)return{tagKeys:[],selectedTagColumnKeys:[],newTagColumnKeys:[]};var r=Zb()(Yb()(t,(function(e){return C_(e,n.props.tagField)||[]})).map((function(e){return e.tag_key}))).sort(),i=vm()(e,(function(e,t){return"tag"===t.type&&t.tagKey&&e.push(t.tagKey),e}),[]),o=Qb().apply(void 0,(0,d.__spreadArray)([r],i,!1));if(!(this.state&&Cg()(this.state.tagKeys,r)&&Cg()(this.state.selectedTagColumnKeys,i)&&Cg()(this.props.columns,e))){var a=!!this.state&&!this.state.tagKeys.length&&r.length;e=e.map((function(e){return I_(e)?n.setTagTableColumnHeader({tagKeys:r,selectedTagColumnKeys:i},e):a&&e.key===M_&&!e.selected&&(e.selected=!0),e}))}return{tagKeys:r,selectedTagColumnKeys:i,newTagColumnKeys:o}},t.prototype.getNewStateSlice=function(e,t){var n,r=Kb()(e,"selected");if(this.state)n=this.state.sort;else if(!this.props.sort&&this.props.sortingStateRestorationKey){var i=function(e){if(e){var t=$r(e);if(t&&t.field)return t}}(this.props.sortingStateRestorationKey);i&&r.some((function(e){return e.field===i.field}))&&(n=i)}return(0,d.__assign)({allColumns:e,visibleColumns:r,sort:n},this.getTagKeys(e,t))},t.prototype.setColumns=function(e){var t=this,n=this.getNewStateSlice(e.slice(),this.props.data);return new Promise((function(e){return t.setState(n,e)}))},t.prototype.saveColumnPreferences=function(e){this.props.saveColumnPreferences?this.props.saveColumnPreferences(e):function(e,t){if(e){var n=t.map((function(e){return il()(e,l_)}));Ur(e,n)}}(this.props.columnStateRestorationKey,e)},t.prototype.setTagTableColumnHeader=function(e,t){t.label=y.createElement(x_,{columnInfo:t,items:e.tagKeys,disabledItems:e.selectedTagColumnKeys,label:"Tag",setColumn:this.configureTagColumn})},t.prototype.render=function(){var e=this.props,t=(e.columns,e.tagField),n=e.sortingStateRestorationKey,r=(e.columnStateRestorationKey,e.loadColumnPreferences,e.saveColumnPreferences,e.sort),i=e.innerRef,o=(e.onSort,e.onRowClick),a=(0,d.__rest)(e,["columns","tagField","sortingStateRestorationKey","columnStateRestorationKey","loadColumnPreferences","saveColumnPreferences","sort","innerRef","onSort","onRowClick"]),s=r||(n?this.state.sort:void 0);return y.createElement(O_,null,y.createElement(ti.s,{flexDirection:"column",flex:"1",width:"100%"},y.createElement(A_,(0,d.__assign)({columns:this.state.visibleColumns,ref:i,sort:s,onSort:this.onSort,onRowClick:o},a))),this.props.enableCustomColumns&&y.createElement(T_,{pagerPosition:a.pagerPosition},y.createElement(u_,{columns:this.state.allColumns,setColumns:this.setColumnsAndSave,addTagColumn:this.addTagColumn,tagKeys:t?this.state.tagKeys:void 0})))},t}(y.Component),z_=n(10683),$_=(0,y.createContext)({}),U_=["activeIndex","animate","children","multiple","onActive"];function H_(){return H_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H_.apply(this,arguments)}var W_=(0,y.forwardRef)((function(e,t){var n,r=e.activeIndex,i=e.animate,o=void 0===i||i,a=e.children,s=e.multiple,l=e.onActive,c=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,U_),u=(0,y.useState)([]),f=u[0],d=u[1],p=(0,y.useState)(),h=p[0],m=p[1],g=("number"==typeof(n=r)?[n]:n)||[];return void 0===r&&r===h||g.join()===f.join()||(d(g),m(r)),y.createElement(Ot,H_({ref:t,role:"tablist"},c),y.Children.toArray(a).filter((function(e){return e})).map((function(e,t){return y.createElement($_.Provider,{key:t,value:{active:f.indexOf(t)>-1,animate:o,onPanelChange:function(){return function(e){var t=[].concat(f||[]),n=t.indexOf(e);n>-1?t.splice(n,1):s?t.push(e):t=[e],d(t),l&&l(t)}(t)}}},e)})))}));W_.propTypes={};var q_=(0,w.default)(Ot).withConfig({displayName:"Collapsible__AnimatedBox",componentId:"sc-15kniua-0"})(["",""],(function(e){return e.shouldOpen?"visibility: hidden;\n      position: absolute;\n      pointer-events: none;":"transition: max-"+e.dimension+" "+e.speedProp+"ms, opacity "+e.speedProp+"ms;\n      opacity: "+(e.open?1:0)+";\n      overflow: "+(e.animate||!e.open?"hidden":"visible")+";"})),V_=(0,y.forwardRef)((function(e,t){var n=e.children,r=e.direction,i=e.open,o=(0,y.useContext)(w.ThemeContext)||ge.theme,a=(0,y.useState)(i),s=a[0],l=a[1],c=(0,y.useState)(!1),u=c[0],f=c[1],d=(0,y.useState)(o.collapsible.minSpeed),p=d[0],h=d[1],m=(0,y.useMemo)((function(){return"horizontal"===r?"width":"height"}),[r]),g=pn(t),v=(0,y.useRef)(),b=!s&&i,_=s&&!i;return(0,y.useEffect)((function(){i!==s&&(f(!0),l(i))}),[s,i]),fn((function(){var e=g.current;if(!u&&b){var t=e.parentNode.style.position;e.parentNode.style.position="relative";var n=e.getBoundingClientRect()[m];e.parentNode.style.position=t,v.current=n}if(b)e.style["max-"+m]=0;else if(_){var r=e.getBoundingClientRect()[m];e.style["max-"+m]=r+"px"}}),[b,_,g,m,u]),(0,y.useEffect)((function(){if(b||_){var e=g.current,t=o.collapsible,n=t.minSpeed,r=t.baseline,i=Math.max(v.current/r*n,n);h(i),requestAnimationFrame((function(){requestAnimationFrame((function(){e.style["max-"+m]=b?v.current+"px":0}))}))}}),[b,_,g,m,o]),(0,y.useEffect)((function(){if(u){var e=g.current,t=setTimeout((function(){f(!1),e.removeAttribute("style")}),p);return function(){return clearTimeout(t)}}}),[u,g,p,s]),y.createElement(q_,{"aria-hidden":!s,ref:g,open:s,animate:u,dimension:m,speedProp:p,shouldOpen:!u&&b},b||s||u?n:null)}));V_.displayName="Collapsible",V_.propTypes={};var K_=(0,w.css)(["color:",";"],(function(e){return S(e.colorProp||e.theme.heading.color,e.theme)})),G_=w.default.h1.withConfig({displayName:"StyledHeading",componentId:"sc-1rdh4aw-0"})([""," "," "," "," "," "," ",""],je,(function(e){return function(e){var t=(e.theme.heading.level[e.level]||{}).font;return t&&t.family?(0,w.css)(["font-family:",";"],t.family):e.theme.heading.font?(0,w.css)(["font-family:",";"],e.theme.heading.font.family):""}(e)}),(function(e){return function(e){var t=e.size||"medium",n=e.theme.heading,r=n.level[e.level];if(r){var i=r[t],o=[(0,w.css)(["font-size:",";line-height:",";max-width:",";font-weight:",";"],i?i.size:t,i?i.height:"normal",(e.fillProp?"none":i&&i.maxWidth)||r.medium.maxWidth,r.font.weight||n.weight)];if(e.responsive&&n.responsiveBreakpoint){var a=e.theme.global.breakpoints[n.responsiveBreakpoint];if(a){var s=n.level[e.level+1]?n.level[e.level+1][t]:n.level[e.level][t];s&&o.push(ce(a,"\n            font-size: "+s.size+";\n            line-height: "+s.height+";\n            max-width: "+(e.fillProp?"none":s.maxWidth)+";\n          "))}}return o}return console.warn("Heading level "+e.level+" is not defined in your theme."),""}(e)}),(function(e){return e.textAlign&&We}),(function(e){return e.truncate&&"\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n"}),(function(e){return(e.colorProp||e.theme.heading.color)&&K_}),(function(e){return e.theme.heading&&e.theme.heading.extend}));G_.defaultProps={},Object.setPrototypeOf(G_.defaultProps,ge);var Y_=["color","fill","level"];function J_(){return J_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J_.apply(this,arguments)}var Z_=(0,y.forwardRef)((function(e,t){var n=e.color,r=e.fill,i=e.level,o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Y_);return y.createElement(G_,J_({as:"h"+i,colorProp:n,fillProp:r,level:+i},o,{ref:t}))}));Z_.displayName="Heading",Z_.defaultProps={level:1,responsive:!0},Z_.propTypes={};var X_=["children","header","label","onClick","onMouseOut","onMouseOver","onFocus","onBlur"];function Q_(){return Q_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q_.apply(this,arguments)}var ew=(0,y.forwardRef)((function(e,t){var n=e.children,r=e.header,i=e.label,o=e.onClick,a=e.onMouseOut,s=e.onMouseOver,l=e.onFocus,c=e.onBlur,u=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,X_),f=(0,y.useContext)(w.ThemeContext)||ge.theme,d=(0,y.useContext)($_),p=d.active,h=d.animate,m=d.onPanelChange,g=(0,y.useState)(void 0),v=g[0],b=g[1],_=(0,y.useState)(),x=_[0],E=_[1],k=(0,y.useMemo)((function(){return S(f.accordion.icons.color||"control",f)}),[f]),C=(0,y.useMemo)((function(){return p?f.accordion.icons.collapse:f.accordion.icons.expand}),[p,f.accordion.icons]),O=JSON.stringify({dark:"light-4",light:"dark-3"});JSON.stringify(f.accordion.hover.color)!==O&&console.warn("The theme style for accordion.hover.color is deprecated, \n        use accordion.hover.heading.color instead.");var T,P=f.accordion.hover&&JSON.stringify(f.accordion.hover.heading.color)!==O?f.accordion.hover.heading.color:f.accordion.hover.color,A=f.accordion.border,M=f.accordion.panel.border;return M&&(T={bottom:"-"+le(f.global.borderSize[M.size]||M.size||f.global.borderSize.xsmall)+"px"}),y.createElement(Ot,{ref:t,flex:!1,onClick:o,border:M,margin:T},y.createElement(Wn,{role:"tab","aria-selected":p,"aria-expanded":p,plain:!!f.button.default||void 0,onClick:m,onMouseOver:function(e){b(P),s&&s(e)},onMouseOut:function(e){b(void 0),a&&a(e)},onFocus:function(e){b(P),E(!0),l&&l(e)},onBlur:function(e){b(void 0),E(!1),c&&c(e)},style:x?{zIndex:1}:void 0},r||y.createElement(Ot,Q_({align:"center",direction:"row",justify:"between"},u),"string"==typeof i?y.createElement(Ot,{pad:{horizontal:"xsmall"}},y.createElement(Z_,{level:f.accordion.heading&&f.accordion.heading.level||4,margin:f.accordion.heading&&f.accordion.heading.margin||void 0,color:v},i)):i,C&&y.createElement(Ot,{pad:{horizontal:"small"},width:{min:"fit-content"}},y.createElement(C,{color:k})))),y.createElement(Ot,{border:A},h?y.createElement(V_,{open:p},n):p&&n))}));ew.displayName="AccordionPanel",ew.propTypes={};var tw=(0,b.Ay)((function(e){var t=y.useState([]),n=t[0],r=t[1],i=e.items;return y.createElement(W_,{activeIndex:n,onActive:function(e){return r(e)}},i.map((function(t,r){return y.createElement(ew,{key:r,header:y.createElement(ti.s,{alignItems:"center",justifyContent:"space-between"},y.createElement(ti.s,{px:16},y.createElement(vi.Dy,{my:24,fontSize:16,bold:!0},t.label)),y.createElement(ti.s,{alignItems:"center",justifyContent:"flex-end",pr:16},y.createElement(v.g,{color:(0,Rr.oU)((0,d.__assign)((0,d.__assign)({},e),{gray:!0}),"color","main"),icon:n.includes(r)?z_.EZ:Lm.QL})))},y.createElement(er.a,{px:16,mt:10,mb:24},t.panel))})))})),nw=n(85305),rw=n(7357);const iw=(0,w.css)(ow||(ow=(0,d.__makeTemplateObject)(["\n\t.xterm {\n\t\tcursor: text;\n\t\tposition: relative;\n\t\tuser-select: none;\n\t\t-ms-user-select: none;\n\t\t-webkit-user-select: none;\n\t}\n\n\t.xterm.focus,\n\t.xterm:focus {\n\t\toutline: none;\n\t}\n\n\t.xterm .xterm-helpers {\n\t\tposition: absolute;\n\t\ttop: 0;\n\n\t\tz-index: 5;\n\t}\n\n\t.xterm .xterm-helper-textarea {\n\t\tpadding: 0;\n\t\tborder: 0;\n\t\tmargin: 0;\n\n\t\tposition: absolute;\n\t\topacity: 0;\n\t\tleft: -9999em;\n\t\ttop: 0;\n\t\twidth: 0;\n\t\theight: 0;\n\t\tz-index: -5;\n\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\tresize: none;\n\t}\n\n\t.xterm .composition-view {\n\t\tbackground: #000;\n\t\tcolor: #fff;\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\twhite-space: nowrap;\n\t\tz-index: 1;\n\t}\n\n\t.xterm .composition-view.active {\n\t\tdisplay: block;\n\t}\n\n\t.xterm .xterm-viewport {\n\t\tbackground-color: #000;\n\t\toverflow-y: scroll;\n\t\tcursor: default;\n\t\tposition: absolute;\n\t\tright: 0;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tbottom: 0;\n\t}\n\n\t.xterm .xterm-screen {\n\t\tposition: relative;\n\t}\n\n\t.xterm .xterm-screen canvas {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t}\n\n\t.xterm .xterm-scroll-area {\n\t\tvisibility: hidden;\n\t}\n\n\t.xterm-char-measure-element {\n\t\tdisplay: inline-block;\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: -9999em;\n\t\tline-height: normal;\n\t}\n\n\t.xterm.enable-mouse-events {\n\t\tcursor: default;\n\t}\n\n\t.xterm.xterm-cursor-pointer,\n\t.xterm .xterm-cursor-pointer {\n\t\tcursor: pointer;\n\t}\n\n\t.xterm.column-select.focus {\n\t\tcursor: crosshair;\n\t}\n\n\t.xterm .xterm-accessibility,\n\t.xterm .xterm-message {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tbottom: 0;\n\t\tright: 0;\n\t\tz-index: 10;\n\t\tcolor: transparent;\n\t}\n\n\t.xterm .live-region {\n\t\tposition: absolute;\n\t\tleft: -9999px;\n\t\twidth: 1px;\n\t\theight: 1px;\n\t\toverflow: hidden;\n\t}\n\n\t.xterm-dim {\n\t\topacity: 0.5;\n\t}\n\n\t.xterm-underline {\n\t\ttext-decoration: underline;\n\t}\n\n\t.xterm-strikethrough {\n\t\ttext-decoration: line-through;\n\t}\n\n\t.xterm-screen .xterm-decoration-container .xterm-decoration {\n\t\tz-index: 6;\n\t\tposition: absolute;\n\t}\n\n\t.xterm-decoration-overview-ruler {\n\t\tz-index: 7;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t\tpointer-events: none;\n\t}\n\n\t.xterm-decoration-top {\n\t\tz-index: 2;\n\t\tposition: relative;\n\t}\n"],["\n\t.xterm {\n\t\tcursor: text;\n\t\tposition: relative;\n\t\tuser-select: none;\n\t\t-ms-user-select: none;\n\t\t-webkit-user-select: none;\n\t}\n\n\t.xterm.focus,\n\t.xterm:focus {\n\t\toutline: none;\n\t}\n\n\t.xterm .xterm-helpers {\n\t\tposition: absolute;\n\t\ttop: 0;\n\n\t\tz-index: 5;\n\t}\n\n\t.xterm .xterm-helper-textarea {\n\t\tpadding: 0;\n\t\tborder: 0;\n\t\tmargin: 0;\n\n\t\tposition: absolute;\n\t\topacity: 0;\n\t\tleft: -9999em;\n\t\ttop: 0;\n\t\twidth: 0;\n\t\theight: 0;\n\t\tz-index: -5;\n\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\tresize: none;\n\t}\n\n\t.xterm .composition-view {\n\t\tbackground: #000;\n\t\tcolor: #fff;\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\twhite-space: nowrap;\n\t\tz-index: 1;\n\t}\n\n\t.xterm .composition-view.active {\n\t\tdisplay: block;\n\t}\n\n\t.xterm .xterm-viewport {\n\t\tbackground-color: #000;\n\t\toverflow-y: scroll;\n\t\tcursor: default;\n\t\tposition: absolute;\n\t\tright: 0;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tbottom: 0;\n\t}\n\n\t.xterm .xterm-screen {\n\t\tposition: relative;\n\t}\n\n\t.xterm .xterm-screen canvas {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t}\n\n\t.xterm .xterm-scroll-area {\n\t\tvisibility: hidden;\n\t}\n\n\t.xterm-char-measure-element {\n\t\tdisplay: inline-block;\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: -9999em;\n\t\tline-height: normal;\n\t}\n\n\t.xterm.enable-mouse-events {\n\t\tcursor: default;\n\t}\n\n\t.xterm.xterm-cursor-pointer,\n\t.xterm .xterm-cursor-pointer {\n\t\tcursor: pointer;\n\t}\n\n\t.xterm.column-select.focus {\n\t\tcursor: crosshair;\n\t}\n\n\t.xterm .xterm-accessibility,\n\t.xterm .xterm-message {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\ttop: 0;\n\t\tbottom: 0;\n\t\tright: 0;\n\t\tz-index: 10;\n\t\tcolor: transparent;\n\t}\n\n\t.xterm .live-region {\n\t\tposition: absolute;\n\t\tleft: -9999px;\n\t\twidth: 1px;\n\t\theight: 1px;\n\t\toverflow: hidden;\n\t}\n\n\t.xterm-dim {\n\t\topacity: 0.5;\n\t}\n\n\t.xterm-underline {\n\t\ttext-decoration: underline;\n\t}\n\n\t.xterm-strikethrough {\n\t\ttext-decoration: line-through;\n\t}\n\n\t.xterm-screen .xterm-decoration-container .xterm-decoration {\n\t\tz-index: 6;\n\t\tposition: absolute;\n\t}\n\n\t.xterm-decoration-overview-ruler {\n\t\tz-index: 7;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tright: 0;\n\t\tpointer-events: none;\n\t}\n\n\t.xterm-decoration-top {\n\t\tz-index: 2;\n\t\tposition: relative;\n\t}\n"])));var ow,aw,sw,lw=(0,w.default)(ti.s)(aw||(aw=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n\t","\n\n\t.xterm-viewport::-webkit-scrollbar-track {\n\t\tbackground-color: transparent;\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t.xterm-viewport::-webkit-scrollbar {\n\t\twidth: 10px;\n\t\tbackground-color: transparent;\n\t\tborder-radius: 0;\n\t}\n\n\t.xterm-viewport::-webkit-scrollbar-thumb {\n\t\tbackground-color: #e9e9e9;\n\t}\n"],["\n\tposition: relative;\n\t","\n\n\t.xterm-viewport::-webkit-scrollbar-track {\n\t\tbackground-color: transparent;\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t.xterm-viewport::-webkit-scrollbar {\n\t\twidth: 10px;\n\t\tbackground-color: transparent;\n\t\tborder-radius: 0;\n\t}\n\n\t.xterm-viewport::-webkit-scrollbar-thumb {\n\t\tbackground-color: #e9e9e9;\n\t}\n"])),iw),cw=(0,w.default)(ti.s)(sw||(sw=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n"],["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n"]))),uw=function(e){function t(t){var n=e.call(this,t)||this;return n.termConfig=Object.assign({},t.config,{cursorBlink:!1,fontFamily:t.theme?t.theme.monospace:Xn.monospace,lineHeight:1.4,theme:{background:"#343434",cursor:t.nonInteractive?"#343434":void 0}}),n.props.ttyInstance?n.tty=n.props.ttyInstance:(n.tty=Object.assign(new nw.Terminal(Po()(n.termConfig)),{fitAddon:new rw.FitAddon}),n.tty.loadAddon(n.tty.fitAddon)),n}return(0,d.__extends)(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout((function(){e.open(),e.props.nonInteractive&&document.execCommand&&e.tty.attachCustomKeyEventHandler((function(e){return!e.ctrlKey||67!==e.keyCode||(document.execCommand("copy"),!1)})),e.resize();var t=window.ResizeObserver;if("function"==typeof t){var n=new t((function(){e.resize()}));n.observe(e.mountElement),e.resizeObserver=n}}))},t.prototype.componentWillUnmount=function(){this.resizeObserver&&(this.mountElement&&this.resizeObserver.unobserve(this.mountElement),this.resizeObserver.disconnect(),this.resizeObserver=null),this.props.persistent||this.destroy()},t.prototype.destroy=function(){this.tty.dispose()},t.prototype.open=function(){this.tty.open(this.mountElement),this.tty.focus()},t.prototype.resize=function(){if(this.mountElement&&parseInt(window.getComputedStyle(this.mountElement).getPropertyValue("height"),10))try{this.tty.fitAddon.fit()}catch(e){console.log(e)}},t.prototype.clear=function(){this.tty.clear()},t.prototype.writeln=function(e){this.tty.writeln(e)},t.prototype.write=function(e){this.tty.write(e)},t.prototype.render=function(){var e=this;return y.createElement(lw,{flex:"1",height:"100%",color:this.props.color},y.createElement(cw,{flex:"1",flexDirection:"column",ref:function(t){return e.mountElement=t}}))},t}(y.Component),fw=n(17002);const dw=(0,w.css)(pw||(pw=(0,d.__makeTemplateObject)(["\n\t.rnc__notification-container--bottom-center,\n\t.rnc__notification-container--bottom-full,\n\t.rnc__notification-container--bottom-left,\n\t.rnc__notification-container--bottom-right,\n\t.rnc__notification-container--center,\n\t.rnc__notification-container--top-center,\n\t.rnc__notification-container--top-full,\n\t.rnc__notification-container--top-left,\n\t.rnc__notification-container--top-right {\n\t\tmin-width: 325px;\n\t\tpointer-events: all;\n\t\tposition: absolute;\n\t}\n\t.rnc__notification-container--bottom-center,\n\t.rnc__notification-container--center,\n\t.rnc__notification-container--top-center {\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\tleft: calc(50% - 175px);\n\t\tmax-width: 350px;\n\t}\n\t.rnc__notification-container--center {\n\t\theight: 100%;\n\t\tpointer-events: none;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--bottom-full,\n\t.rnc__notification-container--top-full {\n\t\tmin-width: 100%;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-container--bottom-full {\n\t\tbottom: 0;\n\t}\n\t.rnc__util--flex-center {\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\tmin-width: 325px;\n\t\tpointer-events: all;\n\t}\n\t.rnc__notification-container--top-center {\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--bottom-center {\n\t\tbottom: 20px;\n\t}\n\t.rnc__notification-container--top-left {\n\t\tleft: 20px;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--top-right {\n\t\tright: 20px;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--bottom-left {\n\t\tbottom: 20px;\n\t\tleft: 20px;\n\t}\n\t.rnc__notification-container--bottom-right {\n\t\tbottom: 20px;\n\t\tright: 20px;\n\t}\n\t.rnc__notification-container--mobile-bottom,\n\t.rnc__notification-container--mobile-top {\n\t\tpointer-events: all;\n\t\tposition: absolute;\n\t}\n\t.rnc__notification-container--mobile-top {\n\t\tleft: 20px;\n\t\tright: 20px;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--mobile-bottom {\n\t\tbottom: 20px;\n\t\tleft: 20px;\n\t\tmargin-bottom: -15px;\n\t\tright: 20px;\n\t}\n\t.rnc__notification-item--default {\n\t\tbackground-color: #007bff;\n\t\tborder-left: 8px solid #0562c7;\n\t}\n\t.rnc__notification-item--default .rnc__notification-timer {\n\t\tbackground-color: #007bff;\n\t}\n\t.rnc__notification-item--default .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--default .rnc__notification-close-mark {\n\t\tbackground-color: #007bff;\n\t}\n\t.rnc__notification-item--success {\n\t\tbackground-color: #28a745;\n\t\tborder-left: 8px solid #1f8838;\n\t}\n\t.rnc__notification-item--success .rnc__notification-timer {\n\t\tbackground-color: #28a745;\n\t}\n\t.rnc__notification-item--success .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--success .rnc__notification-close-mark {\n\t\tbackground-color: #28a745;\n\t}\n\t.rnc__notification-item--danger {\n\t\tbackground-color: #dc3545;\n\t\tborder-left: 8px solid #bd1120;\n\t}\n\t.rnc__notification-item--danger .rnc__notification-timer {\n\t\tbackground-color: #dc3545;\n\t}\n\t.rnc__notification-item--danger .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--danger .rnc__notification-close-mark {\n\t\tbackground-color: #dc3545;\n\t}\n\t.rnc__notification-item--info {\n\t\tbackground-color: #17a2b8;\n\t\tborder-left: 8px solid #138b9e;\n\t}\n\t.rnc__notification-item--info .rnc__notification-timer {\n\t\tbackground-color: #17a2b8;\n\t}\n\t.rnc__notification-item--info .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--info .rnc__notification-close-mark {\n\t\tbackground-color: #17a2b8;\n\t}\n\t.rnc__notification-item--warning {\n\t\tbackground-color: #eab000;\n\t\tborder-left: 8px solid #ce9c09;\n\t}\n\t.rnc__notification-item--warning .rnc__notification-timer {\n\t\tbackground-color: #eab000;\n\t}\n\t.rnc__notification-item--warning .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--warning .rnc__notification-close-mark {\n\t\tbackground-color: #eab000;\n\t}\n\t.rnc__notification-item--awesome {\n\t\tbackground-color: #685dc3;\n\t\tborder-left: 8px solid #4c3fb1;\n\t}\n\t.rnc__notification-item--awesome .rnc__notification-timer {\n\t\tbackground-color: #685dc3;\n\t}\n\t.rnc__notification-item--awesome .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--awesome .rnc__notification-close-mark {\n\t\tbackground-color: #685dc3;\n\t}\n\t@keyframes timer {\n\t\t0% {\n\t\t\twidth: 100%;\n\t\t}\n\t\tto {\n\t\t\twidth: 0;\n\t\t}\n\t}\n\t.rnc__base {\n\t\theight: 100%;\n\t\tpointer-events: none;\n\t\tposition: fixed;\n\t\twidth: 100%;\n\t\tz-index: 9000;\n\t}\n\t.rnc__notification-item {\n\t\tborder-radius: 3px;\n\t\tbox-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tmargin-bottom: 15px;\n\t\tposition: relative;\n\t}\n\t.rnc__notification-container--bottom-full .rnc__notification-item,\n\t.rnc__notification-container--top-full .rnc__notification-item {\n\t\tborder-radius: 0;\n\t\tmargin-bottom: 0;\n\t}\n\t.rnc__notification-timer {\n\t\tmargin-top: 10px;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-timer,\n\t.rnc__notification-timer-filler {\n\t\tborder-radius: 5px;\n\t\theight: 3px;\n\t}\n\t.rnc__notification-title {\n\t\tcolor: #fff;\n\t\tfont-size: 14px;\n\t\tfont-weight: 700;\n\t\tmargin-bottom: 5px;\n\t\tmargin-top: 5px;\n\t}\n\t.rnc__notification-message {\n\t\tword-wrap: break-word;\n\t\tcolor: #fff;\n\t\tfont-size: 14px;\n\t\tline-height: 150%;\n\t\tmargin-bottom: 0;\n\t\tmargin-top: 0;\n\t\tmax-width: calc(100% - 15px);\n\t}\n\t.rnc__notification-content {\n\t\tdisplay: inline-block;\n\t\tpadding: 8px 15px;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-close-mark {\n\t\tborder-radius: 50%;\n\t\tdisplay: inline-block;\n\t\theight: 18px;\n\t\tposition: absolute;\n\t\tright: 10px;\n\t\ttop: 10px;\n\t\twidth: 18px;\n\t}\n\t.rnc__notification-close-mark:after {\n\t\tcolor: #fff;\n\t\tcontent: 'D7';\n\t\tfont-size: 12px;\n\t\tleft: 50%;\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n\t.rnc__notification-container--mobile-bottom .notification,\n\t.rnc__notification-container--mobile-bottom .rnc__notification-item,\n\t.rnc__notification-container--mobile-top .notification,\n\t.rnc__notification-container--mobile-top .rnc__notification-item {\n\t\tmax-width: 100%;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-container--bottom-right .notification,\n\t.rnc__notification-container--top-right .notification {\n\t\tmargin-left: auto;\n\t}\n\t.rnc__notification-container--bottom-left .notification,\n\t.rnc__notification-container--top-left .notification {\n\t\tmargin-right: auto;\n\t}\n\t.rnc__notification-container--mobile-bottom .notification,\n\t.rnc__notification-container--mobile-top .notification {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n"],["\n\t.rnc__notification-container--bottom-center,\n\t.rnc__notification-container--bottom-full,\n\t.rnc__notification-container--bottom-left,\n\t.rnc__notification-container--bottom-right,\n\t.rnc__notification-container--center,\n\t.rnc__notification-container--top-center,\n\t.rnc__notification-container--top-full,\n\t.rnc__notification-container--top-left,\n\t.rnc__notification-container--top-right {\n\t\tmin-width: 325px;\n\t\tpointer-events: all;\n\t\tposition: absolute;\n\t}\n\t.rnc__notification-container--bottom-center,\n\t.rnc__notification-container--center,\n\t.rnc__notification-container--top-center {\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\tleft: calc(50% - 175px);\n\t\tmax-width: 350px;\n\t}\n\t.rnc__notification-container--center {\n\t\theight: 100%;\n\t\tpointer-events: none;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--bottom-full,\n\t.rnc__notification-container--top-full {\n\t\tmin-width: 100%;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-container--bottom-full {\n\t\tbottom: 0;\n\t}\n\t.rnc__util--flex-center {\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\tmin-width: 325px;\n\t\tpointer-events: all;\n\t}\n\t.rnc__notification-container--top-center {\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--bottom-center {\n\t\tbottom: 20px;\n\t}\n\t.rnc__notification-container--top-left {\n\t\tleft: 20px;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--top-right {\n\t\tright: 20px;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--bottom-left {\n\t\tbottom: 20px;\n\t\tleft: 20px;\n\t}\n\t.rnc__notification-container--bottom-right {\n\t\tbottom: 20px;\n\t\tright: 20px;\n\t}\n\t.rnc__notification-container--mobile-bottom,\n\t.rnc__notification-container--mobile-top {\n\t\tpointer-events: all;\n\t\tposition: absolute;\n\t}\n\t.rnc__notification-container--mobile-top {\n\t\tleft: 20px;\n\t\tright: 20px;\n\t\ttop: 20px;\n\t}\n\t.rnc__notification-container--mobile-bottom {\n\t\tbottom: 20px;\n\t\tleft: 20px;\n\t\tmargin-bottom: -15px;\n\t\tright: 20px;\n\t}\n\t.rnc__notification-item--default {\n\t\tbackground-color: #007bff;\n\t\tborder-left: 8px solid #0562c7;\n\t}\n\t.rnc__notification-item--default .rnc__notification-timer {\n\t\tbackground-color: #007bff;\n\t}\n\t.rnc__notification-item--default .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--default .rnc__notification-close-mark {\n\t\tbackground-color: #007bff;\n\t}\n\t.rnc__notification-item--success {\n\t\tbackground-color: #28a745;\n\t\tborder-left: 8px solid #1f8838;\n\t}\n\t.rnc__notification-item--success .rnc__notification-timer {\n\t\tbackground-color: #28a745;\n\t}\n\t.rnc__notification-item--success .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--success .rnc__notification-close-mark {\n\t\tbackground-color: #28a745;\n\t}\n\t.rnc__notification-item--danger {\n\t\tbackground-color: #dc3545;\n\t\tborder-left: 8px solid #bd1120;\n\t}\n\t.rnc__notification-item--danger .rnc__notification-timer {\n\t\tbackground-color: #dc3545;\n\t}\n\t.rnc__notification-item--danger .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--danger .rnc__notification-close-mark {\n\t\tbackground-color: #dc3545;\n\t}\n\t.rnc__notification-item--info {\n\t\tbackground-color: #17a2b8;\n\t\tborder-left: 8px solid #138b9e;\n\t}\n\t.rnc__notification-item--info .rnc__notification-timer {\n\t\tbackground-color: #17a2b8;\n\t}\n\t.rnc__notification-item--info .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--info .rnc__notification-close-mark {\n\t\tbackground-color: #17a2b8;\n\t}\n\t.rnc__notification-item--warning {\n\t\tbackground-color: #eab000;\n\t\tborder-left: 8px solid #ce9c09;\n\t}\n\t.rnc__notification-item--warning .rnc__notification-timer {\n\t\tbackground-color: #eab000;\n\t}\n\t.rnc__notification-item--warning .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--warning .rnc__notification-close-mark {\n\t\tbackground-color: #eab000;\n\t}\n\t.rnc__notification-item--awesome {\n\t\tbackground-color: #685dc3;\n\t\tborder-left: 8px solid #4c3fb1;\n\t}\n\t.rnc__notification-item--awesome .rnc__notification-timer {\n\t\tbackground-color: #685dc3;\n\t}\n\t.rnc__notification-item--awesome .rnc__notification-timer-filler {\n\t\tbackground-color: #fff;\n\t}\n\t.rnc__notification-item--awesome .rnc__notification-close-mark {\n\t\tbackground-color: #685dc3;\n\t}\n\t@keyframes timer {\n\t\t0% {\n\t\t\twidth: 100%;\n\t\t}\n\t\tto {\n\t\t\twidth: 0;\n\t\t}\n\t}\n\t.rnc__base {\n\t\theight: 100%;\n\t\tpointer-events: none;\n\t\tposition: fixed;\n\t\twidth: 100%;\n\t\tz-index: 9000;\n\t}\n\t.rnc__notification-item {\n\t\tborder-radius: 3px;\n\t\tbox-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tmargin-bottom: 15px;\n\t\tposition: relative;\n\t}\n\t.rnc__notification-container--bottom-full .rnc__notification-item,\n\t.rnc__notification-container--top-full .rnc__notification-item {\n\t\tborder-radius: 0;\n\t\tmargin-bottom: 0;\n\t}\n\t.rnc__notification-timer {\n\t\tmargin-top: 10px;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-timer,\n\t.rnc__notification-timer-filler {\n\t\tborder-radius: 5px;\n\t\theight: 3px;\n\t}\n\t.rnc__notification-title {\n\t\tcolor: #fff;\n\t\tfont-size: 14px;\n\t\tfont-weight: 700;\n\t\tmargin-bottom: 5px;\n\t\tmargin-top: 5px;\n\t}\n\t.rnc__notification-message {\n\t\tword-wrap: break-word;\n\t\tcolor: #fff;\n\t\tfont-size: 14px;\n\t\tline-height: 150%;\n\t\tmargin-bottom: 0;\n\t\tmargin-top: 0;\n\t\tmax-width: calc(100% - 15px);\n\t}\n\t.rnc__notification-content {\n\t\tdisplay: inline-block;\n\t\tpadding: 8px 15px;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-close-mark {\n\t\tborder-radius: 50%;\n\t\tdisplay: inline-block;\n\t\theight: 18px;\n\t\tposition: absolute;\n\t\tright: 10px;\n\t\ttop: 10px;\n\t\twidth: 18px;\n\t}\n\t.rnc__notification-close-mark:after {\n\t\tcolor: #fff;\n\t\tcontent: '\\D7';\n\t\tfont-size: 12px;\n\t\tleft: 50%;\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n\t.rnc__notification-container--mobile-bottom .notification,\n\t.rnc__notification-container--mobile-bottom .rnc__notification-item,\n\t.rnc__notification-container--mobile-top .notification,\n\t.rnc__notification-container--mobile-top .rnc__notification-item {\n\t\tmax-width: 100%;\n\t\twidth: 100%;\n\t}\n\t.rnc__notification-container--bottom-right .notification,\n\t.rnc__notification-container--top-right .notification {\n\t\tmargin-left: auto;\n\t}\n\t.rnc__notification-container--bottom-left .notification,\n\t.rnc__notification-container--top-left .notification {\n\t\tmargin-right: auto;\n\t}\n\t.rnc__notification-container--mobile-bottom .notification,\n\t.rnc__notification-container--mobile-top .notification {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n"])));var pw,hw,mw,gw=(0,w.default)(yi)(hw||(hw=(0,d.__makeTemplateObject)(["\n\twidth: 100%;\n"],["\n\twidth: 100%;\n"]))),vw={duration:200,timingFunction:"linear",delay:0},yw=function(e){var t=e.content,n=e.type,r=e.onDismiss,i=e.id,o=e.prefix;return y.createElement(gw,{emphasized:Boolean(n),success:"success"===n,danger:"danger"===n,warning:"warning"===n,info:"info"===n,onDismiss:function(){r&&r(),fw.Store.removeNotification(i)},prefix:null!=o?o:"danger"===n?y.createElement(y.Fragment,null,y.createElement(vi.Dy.span,{color:Xn.colors.danger.main,mr:2},y.createElement(v.g,{icon:p.Df})),y.createElement(vi.Dy.span,null,"Error!")):void 0},t)},bw=(0,w.default)(fw.ReactNotifications)(mw||(mw=(0,d.__makeTemplateObject)(["\n\t","\n\t","\n\n\tposition: fixed;\n\tz-index: 9000;\n\tpointer-events: none;\n\twidth: 100%;\n\theight: 100%;\n\n\t/* This overrides the react-notification library's default container shadow */\n\t.rnc__notification-item {\n\t\tbox-shadow: none;\n\t}\n"],["\n\t","\n\t","\n\n\tposition: fixed;\n\tz-index: 9000;\n\tpointer-events: none;\n\twidth: 100%;\n\theight: 100%;\n\n\t/* This overrides the react-notification library's default container shadow */\n\t.rnc__notification-item {\n\t\tbox-shadow: none;\n\t}\n"])),Ui,dw),_w={addNotification:function(e){var t,n,r,i=function(e){return"object"==typeof e&&!y.isValidElement(e)}(e)?e:{content:e};null!==(t=i.id)&&void 0!==t||(i.id=Math.random().toString(36).substr(2,9)),null!==(n=i.duration)&&void 0!==n||(i.duration=6e3),null!==(r=i.container)&&void 0!==r||(i.container="top-right"),fw.Store.addNotification({container:i.container,animationIn:["animated","fadeIn","faster"],animationOut:["animated","fadeOut","faster"],slidingEnter:vw,slidingExit:vw,touchRevert:vw,touchSlidingExit:{swipe:vw,fade:vw},dismiss:{duration:i.duration,pauseOnHover:!0,waitForAnimation:!1,click:!1,touch:!1},width:300,id:i.id,content:y.createElement(yw,{type:i.type,onDismiss:i.onDismiss,id:i.id,content:i.content,prefix:i.prefix})})},removeNotification:function(e){return fw.Store.removeNotification(e)}},ww=n(65272),Sw=n.n(ww),xw=(0,w.default)(er.a)(kw||(kw=(0,d.__makeTemplateObject)(["\n\t","\n"],["\n\t","\n"])),Vn.Jh),Ew=function(e){var t=e.theme.space[3],n=Sw()(e.theme.breakpoints),r=(0,tr.px)(n-t);return y.createElement(xw,(0,d.__assign)({},e,{maxWidth:r}))};Ew.displayName="Container",Ew.defaultProps={};var kw,Cw=(0,xi.p)((function(e){return Object.assign({px:3,ml:"auto",mr:"auto"},e)})),Ow=(0,b.Ay)(Ew,[Cw]),Tw=n(85770),Pw=function(e,t){return Pw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Pw(e,t)};function Aw(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Pw(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Mw=function(){return Mw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Mw.apply(this,arguments)};function Lw(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function Iw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rw=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}},Dw=Iw(Rw),jw=(0,y.createContext)(null);function Nw(e,t,n,r){var i,o={};return i=e,Object.keys(i).forEach((function(e){return function(e,i){var a=n[i];a!==t[i]&&(o[i]=a,e(r,a))}(i[e],e)})),o}function Fw(e,t,n){var r;return r=n,Object.keys(r).reduce((function(n,i){return function(n,r,i){return"function"==typeof e[i]&&n.push(google.maps.event.addListener(t,r,e[i])),n}(n,r[i],i)}),[])}function Bw(e){google.maps.event.removeListener(e)}function zw(e){void 0===e&&(e=[]),e.forEach(Bw)}function $w(e){var t=e.updaterMap,n=e.eventMap,r=e.prevProps,i=e.nextProps,o=e.instance,a=Fw(i,o,n);return Nw(t,r,i,o),a}var Uw={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},Hw={extraMapTypes:function(e,t){t.forEach((function(t,n){e.mapTypes.set(String(n),t)}))},center:function(e,t){e.setCenter(t)},clickableIcons:function(e,t){e.setClickableIcons(t)},heading:function(e,t){e.setHeading(t)},mapTypeId:function(e,t){e.setMapTypeId(t)},options:function(e,t){e.setOptions(t)},streetView:function(e,t){e.setStreetView(t)},tilt:function(e,t){e.setTilt(t)},zoom:function(e,t){e.setZoom(t)}};(0,y.memo)((function(e){var t=e.children,n=e.options,r=e.id,i=e.mapContainerStyle,o=e.mapContainerClassName,a=e.center,s=e.onClick,l=e.onDblClick,c=e.onDrag,u=e.onDragEnd,f=e.onDragStart,d=e.onMouseMove,p=e.onMouseOut,h=e.onMouseOver,m=e.onMouseDown,g=e.onMouseUp,v=e.onRightClick,b=e.onCenterChanged,_=e.onLoad,w=e.onUnmount,S=(0,y.useState)(null),x=S[0],E=S[1],k=(0,y.useRef)(null),C=(0,y.useState)(null),O=C[0],T=C[1],P=(0,y.useState)(null),A=P[0],M=P[1],L=(0,y.useState)(null),I=L[0],R=L[1],D=(0,y.useState)(null),j=D[0],N=D[1],F=(0,y.useState)(null),B=F[0],z=F[1],$=(0,y.useState)(null),U=$[0],H=$[1],W=(0,y.useState)(null),q=W[0],V=W[1],K=(0,y.useState)(null),G=K[0],Y=K[1],J=(0,y.useState)(null),Z=J[0],X=J[1],Q=(0,y.useState)(null),ee=Q[0],te=Q[1],ne=(0,y.useState)(null),re=ne[0],ie=ne[1],oe=(0,y.useState)(null),ae=oe[0],se=oe[1];return(0,y.useEffect)((function(){n&&null!==x&&x.setOptions(n)}),[x,n]),(0,y.useEffect)((function(){null!==x&&void 0!==a&&x.setCenter(a)}),[x,a]),(0,y.useEffect)((function(){x&&l&&(null!==A&&google.maps.event.removeListener(A),M(google.maps.event.addListener(x,"dblclick",l)))}),[l]),(0,y.useEffect)((function(){x&&u&&(null!==I&&google.maps.event.removeListener(I),R(google.maps.event.addListener(x,"dragend",u)))}),[u]),(0,y.useEffect)((function(){x&&f&&(null!==j&&google.maps.event.removeListener(j),N(google.maps.event.addListener(x,"dragstart",f)))}),[f]),(0,y.useEffect)((function(){x&&m&&(null!==B&&google.maps.event.removeListener(B),z(google.maps.event.addListener(x,"mousedown",m)))}),[m]),(0,y.useEffect)((function(){x&&d&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(x,"mousemove",d)))}),[d]),(0,y.useEffect)((function(){x&&p&&(null!==q&&google.maps.event.removeListener(q),V(google.maps.event.addListener(x,"mouseout",p)))}),[p]),(0,y.useEffect)((function(){x&&h&&(null!==G&&google.maps.event.removeListener(G),Y(google.maps.event.addListener(x,"mouseover",h)))}),[h]),(0,y.useEffect)((function(){x&&g&&(null!==Z&&google.maps.event.removeListener(Z),X(google.maps.event.addListener(x,"mouseup",g)))}),[g]),(0,y.useEffect)((function(){x&&v&&(null!==ee&&google.maps.event.removeListener(ee),te(google.maps.event.addListener(x,"rightclick",v)))}),[v]),(0,y.useEffect)((function(){x&&s&&(null!==re&&google.maps.event.removeListener(re),ie(google.maps.event.addListener(x,"click",s)))}),[s]),(0,y.useEffect)((function(){x&&c&&(null!==ae&&google.maps.event.removeListener(ae),se(google.maps.event.addListener(x,"drag",c)))}),[c]),(0,y.useEffect)((function(){x&&b&&(null!==O&&google.maps.event.removeListener(O),T(google.maps.event.addListener(x,"center_changed",b)))}),[s]),(0,y.useEffect)((function(){var e=null===k.current?null:new google.maps.Map(k.current,n);return E(e),null!==e&&_&&_(e),function(){null!==e&&w&&w(e)}}),[]),(0,Tw.jsx)("div",{id:r,ref:k,style:i,className:o,children:(0,Tw.jsx)(jw.Provider,{value:x,children:null!==x?t:null})})}));var Ww=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={map:null},t.registeredEvents=[],t.mapRef=null,t.getInstance=function(){return null===t.mapRef?null:new google.maps.Map(t.mapRef,t.props.options)},t.panTo=function(e){var n=t.getInstance();n&&n.panTo(e)},t.setMapCallback=function(){null!==t.state.map&&t.props.onLoad&&t.props.onLoad(t.state.map)},t.getRef=function(e){t.mapRef=e},t}return Aw(t,e),t.prototype.componentDidMount=function(){var e=this.getInstance();this.registeredEvents=$w({updaterMap:Hw,eventMap:Uw,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{map:e}}),this.setMapCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.map&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:Hw,eventMap:Uw,prevProps:e,nextProps:this.props,instance:this.state.map}))},t.prototype.componentWillUnmount=function(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),zw(this.registeredEvents))},t.prototype.render=function(){return(0,Tw.jsx)("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName,children:(0,Tw.jsx)(jw.Provider,{value:this.state.map,children:null!==this.state.map?this.props.children:null})})},t}(y.PureComponent),qw="undefined"!=typeof document;function Vw(e){var t=e.url,n=e.id,r=e.nonce;return qw?new Promise((function(e,i){var o=document.getElementById(n),a=window;if(o){var s=o.getAttribute("data-state");if(o.src===t&&"error"!==s){if("ready"===s)return e(n);var l=a.initMap,c=o.onerror;return a.initMap=function(){l&&l(),e(n)},void(o.onerror=function(e){c&&c(e),i(e)})}o.remove()}var u=document.createElement("script");u.type="text/javascript",u.src=t,u.id=n,u.async=!0,u.nonce=r||"",u.onerror=function(e){u.setAttribute("data-state","error"),i(e)},a.initMap=function(){u.setAttribute("data-state","ready"),e(n)},document.head.appendChild(u)})).catch((function(e){throw console.error("injectScript error: ",e),e})):Promise.reject(new Error("document is undefined"))}function Kw(e){var t=e.href;return!((!t||0!==t.indexOf("https://fonts.googleapis.com/css?family=Roboto")&&0!==t.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text"))&&("style"===e.tagName.toLowerCase()&&e.styleSheet&&e.styleSheet.cssText&&0===e.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(e.styleSheet.cssText="",0):"style"===e.tagName.toLowerCase()&&e.innerHTML&&0===e.innerHTML.replace("\r\n","").indexOf(".gm-style")?(e.innerHTML="",0):"style"!==e.tagName.toLowerCase()||e.styleSheet||e.innerHTML))}function Gw(){var e=document.getElementsByTagName("head")[0];if(e){var t=e.insertBefore.bind(e);e.insertBefore=function(n,r){return Kw(n)||Reflect.apply(t,e,[n,r]),n};var n=e.appendChild.bind(e);e.appendChild=function(t){return Kw(t)||Reflect.apply(n,e,[t]),t}}}function Yw(e){var t=e.googleMapsApiKey,n=e.googleMapsClientId,r=e.version,i=void 0===r?"weekly":r,o=e.language,a=e.region,s=e.libraries,l=e.channel,c=e.mapIds,u=e.authReferrerPolicy,f=[];return Dw(t&&n||!(t&&n),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),t?f.push("key=".concat(t)):n&&f.push("client=".concat(n)),i&&f.push("v=".concat(i)),o&&f.push("language=".concat(o)),a&&f.push("region=".concat(a)),s&&s.length&&f.push("libraries=".concat(s.sort().join(","))),l&&f.push("channel=".concat(l)),c&&c.length&&f.push("map_ids=".concat(c.join(","))),u&&f.push("auth_referrer_policy=".concat(u)),f.push("callback=initMap"),"https://maps.googleapis.com/maps/api/js?".concat(f.join("&"))}var Jw=!1;function Zw(){return(0,Tw.jsx)("div",{children:"Loading..."})}var Xw,Qw,eS={id:"script-loader",version:"weekly"},tS=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.check=(0,y.createRef)(),t.state={loaded:!1},t.cleanupCallback=function(){delete window.google.maps,t.injectScript()},t.isCleaningUp=function(){return e=t,n=void 0,i=function(){function e(e){if(Jw){if(qw)var t=window.setInterval((function(){Jw||(window.clearInterval(t),e())}),1)}else e()}return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(t){return[2,new Promise(e)]}))},new((r=void 0)||(r=Promise))((function(t,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,s)}l((i=i.apply(e,n||[])).next())}));var e,n,r,i},t.cleanup=function(){Jw=!0;var e=document.getElementById(t.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter((function(e){return"string"==typeof e.src&&e.src.includes("maps.googleapis")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("link")).filter((function(e){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===e.href})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("style")).filter((function(e){return void 0!==e.innerText&&e.innerText.length>0&&e.innerText.includes(".gm-")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))},t.injectScript=function(){t.props.preventGoogleFontsLoading&&Gw(),Dw(!!t.props.id,'LoadScript requires "id" prop to be a string: %s',t.props.id),Vw({id:t.props.id,nonce:t.props.nonce,url:Yw(t.props)}).then((function(){t.props.onLoad&&t.props.onLoad(),t.setState((function(){return{loaded:!0}}))})).catch((function(e){t.props.onError&&t.props.onError(e),console.error("\n          There has been an Error with loading Google Maps API script, please check that you provided correct google API key (".concat(t.props.googleMapsApiKey||"-",") or Client ID (").concat(t.props.googleMapsClientId||"-",") to <LoadScript />\n          Otherwise it is a Network issue.\n        "))}))},t}return Aw(t,e),t.prototype.componentDidMount=function(){if(qw){if(window.google&&window.google.maps&&!Jw)return void console.error("google api is already presented");this.isCleaningUp().then(this.injectScript).catch((function(e){console.error("Error at injecting script after cleaning up: ",e)}))}},t.prototype.componentDidUpdate=function(e){this.props.libraries!==e.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),qw&&e.language!==this.props.language&&(this.cleanup(),this.setState((function(){return{loaded:!1}}),this.cleanupCallback))},t.prototype.componentWillUnmount=function(){var e=this;qw&&(this.cleanup(),window.setTimeout((function(){e.check.current||(delete window.google,Jw=!1)}),1),this.props.onUnmount&&this.props.onUnmount())},t.prototype.render=function(){return(0,Tw.jsxs)(Tw.Fragment,{children:[(0,Tw.jsx)("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||(0,Tw.jsx)(Zw,{})]})},t.defaultProps=eS,t}(y.PureComponent),nS=(0,Tw.jsx)(Zw,{});(0,y.memo)((function(e){var t=e.loadingElement,n=e.onLoad,r=e.onError,i=e.onUnmount,o=e.children,a=function(e){var t=e.id,n=void 0===t?eS.id:t,r=e.version,i=void 0===r?eS.version:r,o=e.nonce,a=e.googleMapsApiKey,s=e.googleMapsClientId,l=e.language,c=e.region,u=e.libraries,f=e.preventGoogleFontsLoading,d=e.channel,p=e.mapIds,h=e.authReferrerPolicy,m=(0,y.useRef)(!1),g=(0,y.useState)(!1),v=g[0],b=g[1],_=(0,y.useState)(void 0),w=_[0],S=_[1];(0,y.useEffect)((function(){return m.current=!0,function(){m.current=!1}}),[]),(0,y.useEffect)((function(){qw&&f&&Gw()}),[f]),(0,y.useEffect)((function(){v&&Dw(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")}),[v]);var x=Yw({version:i,googleMapsApiKey:a,googleMapsClientId:s,language:l,region:c,libraries:u,channel:d,mapIds:p,authReferrerPolicy:h});(0,y.useEffect)((function(){function e(){m.current&&(b(!0),Xw=x)}qw&&(window.google&&window.google.maps&&Xw===x?e():Vw({id:n,url:x,nonce:o}).then(e).catch((function(e){m.current&&S(e),console.warn("\n        There has been an Error with loading Google Maps API script, please check that you provided correct google API key (".concat(a||"-",") or Client ID (").concat(s||"-",")\n        Otherwise it is a Network issue.\n      ")),console.error(e)})))}),[n,x,o]);var E=(0,y.useRef)();return(0,y.useEffect)((function(){E.current&&u!==E.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),E.current=u}),[u]),{isLoaded:v,loadError:w,url:x}}(Lw(e,["loadingElement","onLoad","onError","onUnmount","children"])),s=a.isLoaded,l=a.loadError;return(0,y.useEffect)((function(){s&&"function"==typeof n&&n()}),[s,n]),(0,y.useEffect)((function(){l&&"function"==typeof r&&r(l)}),[l,r]),(0,y.useEffect)((function(){return function(){i&&i()}}),[i]),s?o:t||nS})),function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(Qw||(Qw={}));var rS={},iS={options:function(e,t){e.setOptions(t)}};(0,y.memo)((function(e){var t=e.options,n=e.onLoad,r=e.onUnmount,i=(0,y.useContext)(jw),o=(0,y.useState)(null),a=o[0],s=o[1];return(0,y.useEffect)((function(){null!==a&&a.setMap(i)}),[i]),(0,y.useEffect)((function(){t&&null!==a&&a.setOptions(t)}),[a,t]),(0,y.useEffect)((function(){var e=new google.maps.TrafficLayer(Mw(Mw({},t||{}),{map:i}));return s(e),n&&n(e),function(){null!==a&&(r&&r(a),a.setMap(null))}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={trafficLayer:null},t.setTrafficLayerCallback=function(){null!==t.state.trafficLayer&&t.props.onLoad&&t.props.onLoad(t.state.trafficLayer)},t.registeredEvents=[],t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.TrafficLayer(Mw(Mw({},this.props.options||{}),{map:this.context}));this.registeredEvents=$w({updaterMap:iS,eventMap:rS,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{trafficLayer:e}}),this.setTrafficLayerCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.trafficLayer&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:iS,eventMap:rS,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))},t.prototype.componentWillUnmount=function(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),zw(this.registeredEvents),this.state.trafficLayer.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent),(0,y.memo)((function(e){var t=e.onLoad,n=e.onUnmount,r=(0,y.useContext)(jw),i=(0,y.useState)(null),o=i[0],a=i[1];return(0,y.useEffect)((function(){null!==o&&o.setMap(r)}),[r]),(0,y.useEffect)((function(){var e=new google.maps.BicyclingLayer;return a(e),e.setMap(r),t&&t(e),function(){null!==e&&(n&&n(e),e.setMap(null))}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={bicyclingLayer:null},t.setBicyclingLayerCallback=function(){null!==t.state.bicyclingLayer&&(t.state.bicyclingLayer.setMap(t.context),t.props.onLoad&&t.props.onLoad(t.state.bicyclingLayer))},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.BicyclingLayer;this.setState((function(){return{bicyclingLayer:e}}),this.setBicyclingLayerCallback)},t.prototype.componentWillUnmount=function(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent),(0,y.memo)((function(e){var t=e.onLoad,n=e.onUnmount,r=(0,y.useContext)(jw),i=(0,y.useState)(null),o=i[0],a=i[1];return(0,y.useEffect)((function(){null!==o&&o.setMap(r)}),[r]),(0,y.useEffect)((function(){var e=new google.maps.TransitLayer;return a(e),e.setMap(r),t&&t(e),function(){null!==o&&(n&&n(o),o.setMap(null))}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={transitLayer:null},t.setTransitLayerCallback=function(){null!==t.state.transitLayer&&(t.state.transitLayer.setMap(t.context),t.props.onLoad&&t.props.onLoad(t.state.transitLayer))},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.TransitLayer;this.setState((function(){return{transitLayer:e}}),this.setTransitLayerCallback)},t.prototype.componentWillUnmount=function(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var oS={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},aS={drawingMode:function(e,t){e.setDrawingMode(t)},options:function(e,t){e.setOptions(t)}};(0,y.memo)((function(e){var t=e.options,n=e.drawingMode,r=e.onCircleComplete,i=e.onMarkerComplete,o=e.onOverlayComplete,a=e.onPolygonComplete,s=e.onPolylineComplete,l=e.onRectangleComplete,c=e.onLoad,u=e.onUnmount,f=(0,y.useContext)(jw),d=(0,y.useState)(null),p=d[0],h=d[1],m=(0,y.useState)(null),g=m[0],v=m[1],b=(0,y.useState)(null),_=b[0],w=b[1],S=(0,y.useState)(null),x=S[0],E=S[1],k=(0,y.useState)(null),C=k[0],O=k[1],T=(0,y.useState)(null),P=T[0],A=T[1],M=(0,y.useState)(null),L=M[0],I=M[1];return(0,y.useEffect)((function(){null!==p&&p.setMap(f)}),[f]),(0,y.useEffect)((function(){t&&null!==p&&p.setOptions(t)}),[p,t]),(0,y.useEffect)((function(){null!==p&&p.setDrawingMode(null!=n?n:null)}),[p,n]),(0,y.useEffect)((function(){p&&r&&(null!==g&&google.maps.event.removeListener(g),v(google.maps.event.addListener(p,"circlecomplete",r)))}),[p,r]),(0,y.useEffect)((function(){p&&i&&(null!==_&&google.maps.event.removeListener(_),w(google.maps.event.addListener(p,"markercomplete",i)))}),[p,i]),(0,y.useEffect)((function(){p&&o&&(null!==x&&google.maps.event.removeListener(x),E(google.maps.event.addListener(p,"overlaycomplete",o)))}),[p,o]),(0,y.useEffect)((function(){p&&a&&(null!==C&&google.maps.event.removeListener(C),O(google.maps.event.addListener(p,"polygoncomplete",a)))}),[p,a]),(0,y.useEffect)((function(){p&&s&&(null!==P&&google.maps.event.removeListener(P),A(google.maps.event.addListener(p,"polylinecomplete",s)))}),[p,s]),(0,y.useEffect)((function(){p&&l&&(null!==L&&google.maps.event.removeListener(L),I(google.maps.event.addListener(p,"rectanglecomplete",l)))}),[p,l]),(0,y.useEffect)((function(){Dw(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var e=new google.maps.drawing.DrawingManager(Mw(Mw({},t||{}),{map:f}));return n&&e.setDrawingMode(n),r&&v(google.maps.event.addListener(e,"circlecomplete",r)),i&&w(google.maps.event.addListener(e,"markercomplete",i)),o&&E(google.maps.event.addListener(e,"overlaycomplete",o)),a&&O(google.maps.event.addListener(e,"polygoncomplete",a)),s&&A(google.maps.event.addListener(e,"polylinecomplete",s)),l&&I(google.maps.event.addListener(e,"rectanglecomplete",l)),h(e),c&&c(e),function(){null!==p&&(g&&google.maps.event.removeListener(g),_&&google.maps.event.removeListener(_),x&&google.maps.event.removeListener(x),C&&google.maps.event.removeListener(C),P&&google.maps.event.removeListener(P),L&&google.maps.event.removeListener(L),u&&u(p),p.setMap(null))}}),[]),null})),function(e){function t(t){var n=e.call(this,t)||this;return n.registeredEvents=[],n.state={drawingManager:null},n.setDrawingManagerCallback=function(){null!==n.state.drawingManager&&n.props.onLoad&&n.props.onLoad(n.state.drawingManager)},Dw(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing),n}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.drawing.DrawingManager(Mw(Mw({},this.props.options||{}),{map:this.context}));this.registeredEvents=$w({updaterMap:aS,eventMap:oS,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{drawingManager:e}}),this.setDrawingManagerCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.drawingManager&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:aS,eventMap:oS,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))},t.prototype.componentWillUnmount=function(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),zw(this.registeredEvents),this.state.drawingManager.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var sS={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},lS={animation:function(e,t){e.setAnimation(t)},clickable:function(e,t){e.setClickable(t)},cursor:function(e,t){e.setCursor(t)},draggable:function(e,t){e.setDraggable(t)},icon:function(e,t){e.setIcon(t)},label:function(e,t){e.setLabel(t)},map:function(e,t){e.setMap(t)},opacity:function(e,t){e.setOpacity(t)},options:function(e,t){e.setOptions(t)},position:function(e,t){e.setPosition(t)},shape:function(e,t){e.setShape(t)},title:function(e,t){e.setTitle(t)},visible:function(e,t){e.setVisible(t)},zIndex:function(e,t){e.setZIndex(t)}},cS={};(0,y.memo)((function(e){var t=e.position,n=e.options,r=e.clusterer,i=e.noClustererRedraw,o=e.children,a=e.draggable,s=e.visible,l=e.animation,c=e.clickable,u=e.cursor,f=e.icon,d=e.label,p=e.opacity,h=e.shape,m=e.title,g=e.zIndex,v=e.onClick,b=e.onDblClick,_=e.onDrag,w=e.onDragEnd,S=e.onDragStart,x=e.onMouseOut,E=e.onMouseOver,k=e.onMouseUp,C=e.onMouseDown,O=e.onRightClick,T=e.onClickableChanged,P=e.onCursorChanged,A=e.onAnimationChanged,M=e.onDraggableChanged,L=e.onFlatChanged,I=e.onIconChanged,R=e.onPositionChanged,D=e.onShapeChanged,j=e.onTitleChanged,N=e.onVisibleChanged,F=e.onZindexChanged,B=e.onLoad,z=e.onUnmount,$=(0,y.useContext)(jw),U=(0,y.useState)(null),H=U[0],W=U[1],q=(0,y.useState)(null),V=q[0],K=q[1],G=(0,y.useState)(null),Y=G[0],J=G[1],Z=(0,y.useState)(null),X=Z[0],Q=Z[1],ee=(0,y.useState)(null),te=ee[0],ne=ee[1],re=(0,y.useState)(null),ie=re[0],oe=re[1],ae=(0,y.useState)(null),se=ae[0],le=ae[1],ce=(0,y.useState)(null),ue=ce[0],fe=ce[1],de=(0,y.useState)(null),pe=de[0],he=de[1],me=(0,y.useState)(null),ge=me[0],ve=me[1],ye=(0,y.useState)(null),be=ye[0],_e=ye[1],we=(0,y.useState)(null),Se=we[0],xe=we[1],Ee=(0,y.useState)(null),ke=Ee[0],Ce=Ee[1],Oe=(0,y.useState)(null),Te=Oe[0],Pe=Oe[1],Ae=(0,y.useState)(null),Me=Ae[0],Le=Ae[1],Ie=(0,y.useState)(null),Re=Ie[0],De=Ie[1],je=(0,y.useState)(null),Ne=je[0],Fe=je[1],Be=(0,y.useState)(null),ze=Be[0],$e=Be[1],Ue=(0,y.useState)(null),He=Ue[0],We=Ue[1],qe=(0,y.useState)(null),Ve=qe[0],Ke=qe[1],Ge=(0,y.useState)(null),Ye=Ge[0],Je=Ge[1],Ze=(0,y.useState)(null),Xe=Ze[0],Qe=Ze[1];(0,y.useEffect)((function(){null!==H&&H.setMap($)}),[$]),(0,y.useEffect)((function(){void 0!==n&&null!==H&&H.setOptions(n)}),[H,n]),(0,y.useEffect)((function(){void 0!==a&&null!==H&&H.setDraggable(a)}),[H,a]),(0,y.useEffect)((function(){t&&null!==H&&H.setPosition(t)}),[H,t]),(0,y.useEffect)((function(){void 0!==s&&null!==H&&H.setVisible(s)}),[H,s]),(0,y.useEffect)((function(){null==H||H.setAnimation(l)}),[H,l]),(0,y.useEffect)((function(){H&&void 0!==c&&H.setClickable(c)}),[H,c]),(0,y.useEffect)((function(){H&&void 0!==u&&H.setCursor(u)}),[H,u]),(0,y.useEffect)((function(){H&&void 0!==f&&H.setIcon(f)}),[H,f]),(0,y.useEffect)((function(){H&&void 0!==d&&H.setLabel(d)}),[H,d]),(0,y.useEffect)((function(){H&&void 0!==p&&H.setOpacity(p)}),[H,p]),(0,y.useEffect)((function(){H&&void 0!==h&&H.setShape(h)}),[H,h]),(0,y.useEffect)((function(){H&&void 0!==m&&H.setTitle(m)}),[H,m]),(0,y.useEffect)((function(){H&&void 0!==g&&H.setZIndex(g)}),[H,g]),(0,y.useEffect)((function(){H&&b&&(null!==V&&google.maps.event.removeListener(V),K(google.maps.event.addListener(H,"dblclick",b)))}),[b]),(0,y.useEffect)((function(){H&&w&&(null!==Y&&google.maps.event.removeListener(Y),J(google.maps.event.addListener(H,"dragend",w)))}),[w]),(0,y.useEffect)((function(){H&&S&&(null!==X&&google.maps.event.removeListener(X),Q(google.maps.event.addListener(H,"dragstart",S)))}),[S]),(0,y.useEffect)((function(){H&&C&&(null!==te&&google.maps.event.removeListener(te),ne(google.maps.event.addListener(H,"mousedown",C)))}),[C]),(0,y.useEffect)((function(){H&&x&&(null!==ie&&google.maps.event.removeListener(ie),oe(google.maps.event.addListener(H,"mouseout",x)))}),[x]),(0,y.useEffect)((function(){H&&E&&(null!==se&&google.maps.event.removeListener(se),le(google.maps.event.addListener(H,"mouseover",E)))}),[E]),(0,y.useEffect)((function(){H&&k&&(null!==ue&&google.maps.event.removeListener(ue),fe(google.maps.event.addListener(H,"mouseup",k)))}),[k]),(0,y.useEffect)((function(){H&&O&&(null!==pe&&google.maps.event.removeListener(pe),he(google.maps.event.addListener(H,"rightclick",O)))}),[O]),(0,y.useEffect)((function(){H&&v&&(null!==ge&&google.maps.event.removeListener(ge),ve(google.maps.event.addListener(H,"click",v)))}),[v]),(0,y.useEffect)((function(){H&&_&&(null!==be&&google.maps.event.removeListener(be),_e(google.maps.event.addListener(H,"drag",_)))}),[_]),(0,y.useEffect)((function(){H&&T&&(null!==Se&&google.maps.event.removeListener(Se),xe(google.maps.event.addListener(H,"clickable_changed",T)))}),[T]),(0,y.useEffect)((function(){H&&P&&(null!==ke&&google.maps.event.removeListener(ke),Ce(google.maps.event.addListener(H,"cursor_changed",P)))}),[P]),(0,y.useEffect)((function(){H&&A&&(null!==Te&&google.maps.event.removeListener(Te),Pe(google.maps.event.addListener(H,"animation_changed",A)))}),[A]),(0,y.useEffect)((function(){H&&M&&(null!==Me&&google.maps.event.removeListener(Me),Le(google.maps.event.addListener(H,"draggable_changed",M)))}),[M]),(0,y.useEffect)((function(){H&&L&&(null!==Re&&google.maps.event.removeListener(Re),De(google.maps.event.addListener(H,"flat_changed",L)))}),[L]),(0,y.useEffect)((function(){H&&I&&(null!==Ne&&google.maps.event.removeListener(Ne),Fe(google.maps.event.addListener(H,"icon_changed",I)))}),[I]),(0,y.useEffect)((function(){H&&R&&(null!==ze&&google.maps.event.removeListener(ze),$e(google.maps.event.addListener(H,"position_changed",R)))}),[R]),(0,y.useEffect)((function(){H&&D&&(null!==He&&google.maps.event.removeListener(He),We(google.maps.event.addListener(H,"shape_changed",D)))}),[D]),(0,y.useEffect)((function(){H&&j&&(null!==Ve&&google.maps.event.removeListener(Ve),Ke(google.maps.event.addListener(H,"title_changed",j)))}),[j]),(0,y.useEffect)((function(){H&&N&&(null!==Ye&&google.maps.event.removeListener(Ye),Je(google.maps.event.addListener(H,"visible_changed",N)))}),[N]),(0,y.useEffect)((function(){H&&F&&(null!==Xe&&google.maps.event.removeListener(Xe),Qe(google.maps.event.addListener(H,"zindex_changed",F)))}),[F]),(0,y.useEffect)((function(){var e=Mw(Mw(Mw({},n||cS),r?cS:{map:$}),{position:t}),o=new google.maps.Marker(e);return r?r.addMarker(o,!!i):o.setMap($),t&&o.setPosition(t),void 0!==s&&o.setVisible(s),void 0!==a&&o.setDraggable(a),void 0!==c&&o.setClickable(c),"string"==typeof u&&o.setCursor(u),f&&o.setIcon(f),void 0!==d&&o.setLabel(d),void 0!==p&&o.setOpacity(p),h&&o.setShape(h),"string"==typeof m&&o.setTitle(m),"number"==typeof g&&o.setZIndex(g),b&&K(google.maps.event.addListener(o,"dblclick",b)),w&&J(google.maps.event.addListener(o,"dragend",w)),S&&Q(google.maps.event.addListener(o,"dragstart",S)),C&&ne(google.maps.event.addListener(o,"mousedown",C)),x&&oe(google.maps.event.addListener(o,"mouseout",x)),E&&le(google.maps.event.addListener(o,"mouseover",E)),k&&fe(google.maps.event.addListener(o,"mouseup",k)),O&&he(google.maps.event.addListener(o,"rightclick",O)),v&&ve(google.maps.event.addListener(o,"click",v)),_&&_e(google.maps.event.addListener(o,"drag",_)),T&&xe(google.maps.event.addListener(o,"clickable_changed",T)),P&&Ce(google.maps.event.addListener(o,"cursor_changed",P)),A&&Pe(google.maps.event.addListener(o,"animation_changed",A)),M&&Le(google.maps.event.addListener(o,"draggable_changed",M)),L&&De(google.maps.event.addListener(o,"flat_changed",L)),I&&Fe(google.maps.event.addListener(o,"icon_changed",I)),R&&$e(google.maps.event.addListener(o,"position_changed",R)),D&&We(google.maps.event.addListener(o,"shape_changed",D)),j&&Ke(google.maps.event.addListener(o,"title_changed",j)),N&&Je(google.maps.event.addListener(o,"visible_changed",N)),F&&Qe(google.maps.event.addListener(o,"zindex_changed",F)),W(o),B&&B(o),function(){null!==V&&google.maps.event.removeListener(V),null!==Y&&google.maps.event.removeListener(Y),null!==X&&google.maps.event.removeListener(X),null!==te&&google.maps.event.removeListener(te),null!==ie&&google.maps.event.removeListener(ie),null!==se&&google.maps.event.removeListener(se),null!==ue&&google.maps.event.removeListener(ue),null!==pe&&google.maps.event.removeListener(pe),null!==ge&&google.maps.event.removeListener(ge),null!==Se&&google.maps.event.removeListener(Se),null!==ke&&google.maps.event.removeListener(ke),null!==Te&&google.maps.event.removeListener(Te),null!==Me&&google.maps.event.removeListener(Me),null!==Re&&google.maps.event.removeListener(Re),null!==Ne&&google.maps.event.removeListener(Ne),null!==ze&&google.maps.event.removeListener(ze),null!==Ve&&google.maps.event.removeListener(Ve),null!==Ye&&google.maps.event.removeListener(Ye),null!==Xe&&google.maps.event.removeListener(Xe),z&&z(o),r?r.removeMarker(o,!!i):o&&o.setMap(null)}}),[]);var et=(0,y.useMemo)((function(){return o?y.Children.map(o,(function(e){if(!(0,y.isValidElement)(e))return e;var t=e;return(0,y.cloneElement)(t,{anchor:H})})):null}),[o,H]);return(0,Tw.jsx)(Tw.Fragment,{children:et})||null}));var uS=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t}return Aw(t,e),t.prototype.componentDidMount=function(){var e=Mw(Mw(Mw({},this.props.options||cS),this.props.clusterer?cS:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(e),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=$w({updaterMap:lS,eventMap:sS,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},t.prototype.componentDidUpdate=function(e){this.marker&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:lS,eventMap:sS,prevProps:e,nextProps:this.props,instance:this.marker}))},t.prototype.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),zw(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))},t.prototype.render=function(){var e=this,t=null;return this.props.children&&(t=y.Children.map(this.props.children,(function(t){if(!(0,y.isValidElement)(t))return t;var n=t;return(0,y.cloneElement)(n,{anchor:e.marker})}))),t||null},t.contextType=jw,t}(y.PureComponent),fS=function(){function e(t,n){t.getClusterer().extend(e,google.maps.OverlayView),this.cluster=t,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(t.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return e.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},e.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},e.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var t=this.cluster.getClusterer();if(google.maps.event.trigger(t,"click",this.cluster),google.maps.event.trigger(t,"clusterclick",this.cluster),t.getZoomOnClick()){var n=t.getMaxZoom(),r=this.cluster.getBounds(),i=t.getMap();null!==i&&"fitBounds"in i&&i.fitBounds(r),this.timeOut=window.setTimeout((function(){var e=t.getMap();if(null!==e){"fitBounds"in e&&e.fitBounds(r);var i=e.getZoom()||0;null!==n&&i>n&&e.setZoom(n+1)}}),100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},e.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},e.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},e.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),null===(e=this.getPanes())||void 0===e||e.overlayMouseTarget.appendChild(this.div);var t=this.getMap();null!==t&&(this.boundsChangedListener=google.maps.event.addListener(t,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),null!==this.timeOut&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},e.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=null!==e?"".concat(e.y,"px"):"0",this.div.style.left=null!==e?"".concat(e.x,"px"):"0"}},e.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},e.prototype.show=function(){var e,t,n,r,i,o;if(this.div&&this.center){var a=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,s=this.backgroundPosition.split(" "),l=parseInt((null===(e=s[0])||void 0===e?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),c=parseInt((null===(t=s[1])||void 0===t?void 0:t.replace(/^\s+|\s+$/g,""))||"0",10),u=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(null!==u?"".concat(u.y,"px"):"0","; left: ").concat(null!==u?"".concat(u.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var f=document.createElement("img");f.alt=a,f.src=this.url,f.width=this.width,f.height=this.height,f.setAttribute("style","position: absolute; top: ".concat(c,"px; left: ").concat(l,"px")),this.cluster.getClusterer().enableRetinaIcons||(f.style.clip="rect(-".concat(c,"px, -").concat(l+this.width,"px, -").concat(c+this.height,", -").concat(l,")"));var d=document.createElement("div");d.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),(null===(n=this.sums)||void 0===n?void 0:n.text)&&(d.innerText="".concat(null===(r=this.sums)||void 0===r?void 0:r.text)),(null===(i=this.sums)||void 0===i?void 0:i.html)&&(d.innerHTML="".concat(null===(o=this.sums)||void 0===o?void 0:o.html)),this.div.innerHTML="",this.div.appendChild(f),this.div.appendChild(d),this.div.title=a,this.div.style.display=""}this.visible=!0},e.prototype.useStyle=function(e){this.sums=e;var t=this.cluster.getClusterer().getStyles(),n=t[Math.min(t.length-1,Math.max(0,e.index-1))];n&&(this.url=n.url,this.height=n.height,this.width=n.width,n.className&&(this.className="".concat(this.clusterClassName," ").concat(n.className)),this.anchorText=n.anchorText||[0,0],this.anchorIcon=n.anchorIcon||[this.height/2,this.width/2],this.textColor=n.textColor||"black",this.textSize=n.textSize||11,this.textDecoration=n.textDecoration||"none",this.fontWeight=n.fontWeight||"bold",this.fontStyle=n.fontStyle||"normal",this.fontFamily=n.fontFamily||"Arial,sans-serif",this.backgroundPosition=n.backgroundPosition||"0 0")},e.prototype.setCenter=function(e){this.center=e},e.prototype.getPosFromLatLng=function(e){var t=this.getProjection().fromLatLngToDivPixel(e);return null!==t&&(t.x-=this.anchorIcon[1],t.y-=this.anchorIcon[0]),t},e}(),dS=function(){function e(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new fS(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}return e.prototype.getSize=function(){return this.markers.length},e.prototype.getMarkers=function(){return this.markers},e.prototype.getCenter=function(){return this.center},e.prototype.getMap=function(){return this.map},e.prototype.getClusterer=function(){return this.markerClusterer},e.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),t=0,n=this.getMarkers();t<n.length;t++){var r=n[t].getPosition();r&&e.extend(r)}return e},e.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},e.prototype.addMarker=function(e){var t,n;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter&&(n=e.getPosition())){var r=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(r-1)+n.lat())/r,(this.center.lng()*(r-1)+n.lng())/r),this.calculateBounds()}}else(n=e.getPosition())&&(this.center=n,this.calculateBounds());e.isAdded=!0,this.markers.push(e);var i=this.markers.length,o=this.markerClusterer.getMaxZoom(),a=null===(t=this.map)||void 0===t?void 0:t.getZoom();if(null!==o&&void 0!==a&&a>o)e.getMap()!==this.map&&e.setMap(this.map);else if(i<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(i===this.minClusterSize)for(var s=0,l=this.markers;s<l.length;s++)l[s].setMap(null);else e.setMap(null);return!0},e.prototype.isMarkerInClusterBounds=function(e){if(null!==this.bounds){var t=e.getPosition();if(t)return this.bounds.contains(t)}return!1},e.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},e.prototype.updateIcon=function(){var e,t=this.markers.length,n=this.markerClusterer.getMaxZoom(),r=null===(e=this.map)||void 0===e?void 0:e.getZoom();null!==n&&void 0!==r&&r>n||t<this.minClusterSize?this.clusterIcon.hide():(this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show())},e.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var t=0;t<this.markers.length;t++)if(e===this.markers[t])return!0;return!1},e}();function pS(e,t){var n=e.length,r=n.toString().length,i=Math.min(r,t);return{text:n.toString(),index:i,title:""}}var hS=[53,56,66,78,90],mS=function(){function e(t,n,r){void 0===n&&(n=[]),void 0===r&&(r={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend=this.extend.bind(this),this.extend(e,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,void 0!==r.zoomOnClick&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,void 0!==r.averageCenter&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,void 0!==r.ignoreHidden&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,void 0!==r.enableRetinaIcons&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=r.imageExtension||"png",this.imageSizes=r.imageSizes||hS,this.calculator=r.calculator||pS,this.batchSize=r.batchSize||2e3,this.batchSizeIE=r.batchSizeIE||500,this.clusterClass=r.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(t)}return e.prototype.onZoomChanged=function(){var e,t;this.resetViewport(!1),(null===(e=this.getMap())||void 0===e?void 0:e.getZoom())!==(this.get("minZoom")||0)&&(null===(t=this.getMap())||void 0===t?void 0:t.getZoom())!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")},e.prototype.onIdle=function(){this.redraw()},e.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),null!==e&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},e.prototype.onRemove=function(){for(var e=0,t=this.markers;e<t.length;e++){var n=t[e];n.getMap()!==this.activeMap&&n.setMap(this.activeMap)}for(var r=0,i=this.clusters;r<i.length;r++)i[r].remove();this.clusters=[];for(var o=0,a=this.listeners;o<a.length;o++){var s=a[o];google.maps.event.removeListener(s)}this.listeners=[],this.activeMap=null,this.ready=!1},e.prototype.draw=function(){},e.prototype.getMap=function(){return null},e.prototype.getPanes=function(){return null},e.prototype.getProjection=function(){return{fromContainerPixelToLatLng:function(){return null},fromDivPixelToLatLng:function(){return null},fromLatLngToContainerPixel:function(){return null},fromLatLngToDivPixel:function(){return null},getVisibleRegion:function(){return null},getWorldWidth:function(){return 0}}},e.prototype.setMap=function(){},e.prototype.addListener=function(){return{remove:function(){}}},e.prototype.bindTo=function(){},e.prototype.get=function(){},e.prototype.notify=function(){},e.prototype.set=function(){},e.prototype.setValues=function(){},e.prototype.unbind=function(){},e.prototype.unbindAll=function(){},e.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e]||0,width:this.imageSizes[e]||0})},e.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),t=new google.maps.LatLngBounds,n=0,r=e;n<r.length;n++){var i=r[n].getPosition();i&&t.extend(i)}var o=this.getMap();null!==o&&"fitBounds"in o&&o.fitBounds(t)},e.prototype.getGridSize=function(){return this.gridSize},e.prototype.setGridSize=function(e){this.gridSize=e},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize},e.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},e.prototype.getMaxZoom=function(){return this.maxZoom},e.prototype.setMaxZoom=function(e){this.maxZoom=e},e.prototype.getStyles=function(){return this.styles},e.prototype.setStyles=function(e){this.styles=e},e.prototype.getTitle=function(){return this.title},e.prototype.setTitle=function(e){this.title=e},e.prototype.getZoomOnClick=function(){return this.zoomOnClick},e.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},e.prototype.getAverageCenter=function(){return this.averageCenter},e.prototype.setAverageCenter=function(e){this.averageCenter=e},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden},e.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},e.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},e.prototype.getImageExtension=function(){return this.imageExtension},e.prototype.setImageExtension=function(e){this.imageExtension=e},e.prototype.getImagePath=function(){return this.imagePath},e.prototype.setImagePath=function(e){this.imagePath=e},e.prototype.getImageSizes=function(){return this.imageSizes},e.prototype.setImageSizes=function(e){this.imageSizes=e},e.prototype.getCalculator=function(){return this.calculator},e.prototype.setCalculator=function(e){this.calculator=e},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE},e.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},e.prototype.getClusterClass=function(){return this.clusterClass},e.prototype.setClusterClass=function(e){this.clusterClass=e},e.prototype.getMarkers=function(){return this.markers},e.prototype.getTotalMarkers=function(){return this.markers.length},e.prototype.getClusters=function(){return this.clusters},e.prototype.getTotalClusters=function(){return this.clusters.length},e.prototype.addMarker=function(e,t){this.pushMarkerTo(e),t||this.redraw()},e.prototype.addMarkers=function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];r&&this.pushMarkerTo(r)}t||this.redraw()},e.prototype.pushMarkerTo=function(e){var t=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",(function(){t.ready&&(e.isAdded=!1,t.repaint())})),e.isAdded=!1,this.markers.push(e)},e.prototype.removeMarker_=function(e){var t=-1;if(this.markers.indexOf)t=this.markers.indexOf(e);else for(var n=0;n<this.markers.length;n++)if(e===this.markers[n]){t=n;break}return-1!==t&&(e.setMap(null),this.markers.splice(t,1),!0)},e.prototype.removeMarker=function(e,t){var n=this.removeMarker_(e);return!t&&n&&this.repaint(),n},e.prototype.removeMarkers=function(e,t){for(var n=!1,r=0,i=e;r<i.length;r++){var o=i[r];n=n||this.removeMarker_(o)}return!t&&n&&this.repaint(),n},e.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},e.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout((function(){for(var t=0,n=e;t<n.length;t++)n[t].remove()}),0)},e.prototype.getExtendedBounds=function(e){var t=this.getProjection(),n=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));null!==n&&(n.x+=this.gridSize,n.y-=this.gridSize);var r=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(null!==r&&(r.x-=this.gridSize,r.y+=this.gridSize),null!==n){var i=t.fromDivPixelToLatLng(n);null!==i&&e.extend(i)}if(null!==r){var o=t.fromDivPixelToLatLng(r);null!==o&&e.extend(o)}return e},e.prototype.redraw=function(){this.createClusters(0)},e.prototype.resetViewport=function(e){for(var t=0,n=this.clusters;t<n.length;t++)n[t].remove();this.clusters=[];for(var r=0,i=this.markers;r<i.length;r++){var o=i[r];o.isAdded=!1,e&&o.setMap(null)}},e.prototype.distanceBetweenPoints=function(e,t){var n=(t.lat()-e.lat())*Math.PI/180,r=(t.lng()-e.lng())*Math.PI/180,i=Math.sin(n/2)*Math.sin(n/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return 2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))*6371},e.prototype.isMarkerInBounds=function(e,t){var n=e.getPosition();return!!n&&t.contains(n)},e.prototype.addToClosestCluster=function(e){for(var t,n=4e4,r=null,i=0,o=this.clusters;i<o.length;i++){var a=(t=o[i]).getCenter(),s=e.getPosition();if(a&&s){var l=this.distanceBetweenPoints(a,s);l<n&&(n=l,r=t)}}r&&r.isMarkerInClusterBounds(e)?r.addMarker(e):((t=new dS(this)).addMarker(e),this.clusters.push(t))},e.prototype.createClusters=function(e){var t=this;if(this.ready){0===e&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var n=this.getMap(),r=(null!==n&&"getBounds"in n?n.getBounds():null),i=((null==n?void 0:n.getZoom())||0)>3?new google.maps.LatLngBounds(null==r?void 0:r.getSouthWest(),null==r?void 0:r.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),o=this.getExtendedBounds(i),a=Math.min(e+this.batchSize,this.markers.length),s=e;s<a;s++){var l=this.markers[s];l&&!l.isAdded&&this.isMarkerInBounds(l,o)&&(!this.ignoreHidden||this.ignoreHidden&&l.getVisible())&&this.addToClosestCluster(l)}if(a<this.markers.length)this.timerRefStatic=window.setTimeout((function(){t.createClusters(a)}),0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var c=0,u=this.clusters;c<u.length;c++)u[c].updateIcon()}}},e.prototype.extend=function(e,t){return function(e){for(var t in e.prototype){var n=t;this.prototype[n]=e.prototype[n]}return this}.apply(e,[t])},e}(),gS={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},vS={averageCenter:function(e,t){e.setAverageCenter(t)},batchSizeIE:function(e,t){e.setBatchSizeIE(t)},calculator:function(e,t){e.setCalculator(t)},clusterClass:function(e,t){e.setClusterClass(t)},enableRetinaIcons:function(e,t){e.setEnableRetinaIcons(t)},gridSize:function(e,t){e.setGridSize(t)},ignoreHidden:function(e,t){e.setIgnoreHidden(t)},imageExtension:function(e,t){e.setImageExtension(t)},imagePath:function(e,t){e.setImagePath(t)},imageSizes:function(e,t){e.setImageSizes(t)},maxZoom:function(e,t){e.setMaxZoom(t)},minimumClusterSize:function(e,t){e.setMinimumClusterSize(t)},styles:function(e,t){e.setStyles(t)},title:function(e,t){e.setTitle(t)},zoomOnClick:function(e,t){e.setZoomOnClick(t)}},yS={};function bS(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}(0,y.memo)((function(e){var t=e.children,n=e.options,r=e.averageCenter,i=e.batchSizeIE,o=e.calculator,a=e.clusterClass,s=e.enableRetinaIcons,l=e.gridSize,c=e.ignoreHidden,u=e.imageExtension,f=e.imagePath,d=e.imageSizes,p=e.maxZoom,h=e.minimumClusterSize,m=e.styles,g=e.title,v=e.zoomOnClick,b=e.onClick,_=e.onClusteringBegin,w=e.onClusteringEnd,S=e.onMouseOver,x=e.onMouseOut,E=e.onLoad,k=e.onUnmount,C=(0,y.useState)(null),O=C[0],T=C[1],P=(0,y.useContext)(jw),A=(0,y.useState)(null),M=A[0],L=A[1],I=(0,y.useState)(null),R=I[0],D=I[1],j=(0,y.useState)(null),N=j[0],F=j[1],B=(0,y.useState)(null),z=B[0],$=B[1],U=(0,y.useState)(null),H=U[0],W=U[1];return(0,y.useEffect)((function(){O&&x&&(null!==z&&google.maps.event.removeListener(z),$(google.maps.event.addListener(O,gS.onMouseOut,x)))}),[x]),(0,y.useEffect)((function(){O&&S&&(null!==H&&google.maps.event.removeListener(H),W(google.maps.event.addListener(O,gS.onMouseOver,S)))}),[S]),(0,y.useEffect)((function(){O&&b&&(null!==M&&google.maps.event.removeListener(M),L(google.maps.event.addListener(O,gS.onClick,b)))}),[b]),(0,y.useEffect)((function(){O&&_&&(null!==R&&google.maps.event.removeListener(R),D(google.maps.event.addListener(O,gS.onClusteringBegin,_)))}),[_]),(0,y.useEffect)((function(){O&&w&&(null!==N&&google.maps.event.removeListener(N),D(google.maps.event.addListener(O,gS.onClusteringEnd,w)))}),[w]),(0,y.useEffect)((function(){void 0!==r&&null!==O&&vS.averageCenter(O,r)}),[O,r]),(0,y.useEffect)((function(){void 0!==i&&null!==O&&vS.batchSizeIE(O,i)}),[O,i]),(0,y.useEffect)((function(){void 0!==o&&null!==O&&vS.calculator(O,o)}),[O,o]),(0,y.useEffect)((function(){void 0!==a&&null!==O&&vS.clusterClass(O,a)}),[O,a]),(0,y.useEffect)((function(){void 0!==s&&null!==O&&vS.enableRetinaIcons(O,s)}),[O,s]),(0,y.useEffect)((function(){void 0!==l&&null!==O&&vS.gridSize(O,l)}),[O,l]),(0,y.useEffect)((function(){void 0!==c&&null!==O&&vS.ignoreHidden(O,c)}),[O,c]),(0,y.useEffect)((function(){void 0!==u&&null!==O&&vS.imageExtension(O,u)}),[O,u]),(0,y.useEffect)((function(){void 0!==f&&null!==O&&vS.imagePath(O,f)}),[O,f]),(0,y.useEffect)((function(){void 0!==d&&null!==O&&vS.imageSizes(O,d)}),[O,d]),(0,y.useEffect)((function(){void 0!==p&&null!==O&&vS.maxZoom(O,p)}),[O,p]),(0,y.useEffect)((function(){void 0!==h&&null!==O&&vS.minimumClusterSize(O,h)}),[O,h]),(0,y.useEffect)((function(){void 0!==m&&null!==O&&vS.styles(O,m)}),[O,m]),(0,y.useEffect)((function(){void 0!==g&&null!==O&&vS.title(O,g)}),[O,g]),(0,y.useEffect)((function(){void 0!==v&&null!==O&&vS.zoomOnClick(O,v)}),[O,v]),(0,y.useEffect)((function(){if(P){var e=Mw({},n||yS),t=new mS(P,[],e);return r&&vS.averageCenter(t,r),i&&vS.batchSizeIE(t,i),o&&vS.calculator(t,o),a&&vS.clusterClass(t,a),s&&vS.enableRetinaIcons(t,s),l&&vS.gridSize(t,l),c&&vS.ignoreHidden(t,c),u&&vS.imageExtension(t,u),f&&vS.imagePath(t,f),d&&vS.imageSizes(t,d),p&&vS.maxZoom(t,p),h&&vS.minimumClusterSize(t,h),m&&vS.styles(t,m),g&&vS.title(t,g),v&&vS.zoomOnClick(t,v),x&&$(google.maps.event.addListener(t,gS.onMouseOut,x)),S&&W(google.maps.event.addListener(t,gS.onMouseOver,S)),b&&L(google.maps.event.addListener(t,gS.onClick,b)),_&&D(google.maps.event.addListener(t,gS.onClusteringBegin,_)),w&&F(google.maps.event.addListener(t,gS.onClusteringEnd,w)),T(t),E&&E(t),function(){null!==z&&google.maps.event.removeListener(z),null!==H&&google.maps.event.removeListener(H),null!==M&&google.maps.event.removeListener(M),null!==R&&google.maps.event.removeListener(R),null!==N&&google.maps.event.removeListener(N),k&&k(t)}}}),[]),null!==O&&t(O)||null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={markerClusterer:null},t.setClustererCallback=function(){null!==t.state.markerClusterer&&t.props.onLoad&&t.props.onLoad(t.state.markerClusterer)},t}Aw(t,e),t.prototype.componentDidMount=function(){if(this.context){var e=new mS(this.context,[],this.props.options);this.registeredEvents=$w({updaterMap:vS,eventMap:gS,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{markerClusterer:e}}),this.setClustererCallback)}},t.prototype.componentDidUpdate=function(e){this.state.markerClusterer&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:vS,eventMap:gS,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))},t.prototype.componentWillUnmount=function(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),zw(this.registeredEvents),this.state.markerClusterer.setMap(null))},t.prototype.render=function(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null},t.contextType=jw}(y.PureComponent);var _S=function(){function e(t){void 0===t&&(t={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),this.extend(e,google.maps.OverlayView),this.content=t.content||"",this.disableAutoPan=t.disableAutoPan||!1,this.maxWidth=t.maxWidth||0,this.pixelOffset=t.pixelOffset||new google.maps.Size(0,0),this.position=t.position||new google.maps.LatLng(0,0),this.zIndex=t.zIndex||null,this.boxClass=t.boxClass||"infoBox",this.boxStyle=t.boxStyle||{},this.closeBoxMargin=t.closeBoxMargin||"2px",this.closeBoxURL=t.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===t.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=t.infoBoxClearance||new google.maps.Size(1,1),void 0===t.visible&&(void 0===t.isHidden?t.visible=!0:t.visible=!t.isHidden),this.isHidden=!t.visible,this.alignBottom=t.alignBottom||!1,this.pane=t.pane||"floatPane",this.enableEventPropagation=t.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return e.prototype.createInfoBoxDiv=function(){var e=this;if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),"string"==typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var t=this.getPanes();if(null!==t&&t[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var n=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-n.left-n.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var r=0,i=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"];r<i.length;r++){var o=i[r];this.eventListeners.push(google.maps.event.addListener(this.div,o,bS))}this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",(function(){e.div&&(e.div.style.cursor="default")})))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",(function(t){t.returnValue=!1,t.preventDefault&&t.preventDefault(),e.enableEventPropagation||bS(t)})),google.maps.event.trigger(this,"domready")}},e.prototype.getCloseBoxImg=function(){var e="";return""!==this.closeBoxURL&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},e.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&""!==this.closeBoxURL?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},e.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},e.prototype.getCloseClickHandler=function(){return this.closeClickHandler},e.prototype.panBox=function(e){if(this.div&&!e){var t=this.getMap();if(t instanceof google.maps.Map){var n=0,r=0,i=t.getBounds();i&&!i.contains(this.position)&&t.setCenter(this.position);var o=t.getDiv(),a=o.offsetWidth,s=o.offsetHeight,l=this.pixelOffset.width,c=this.pixelOffset.height,u=this.div.offsetWidth,f=this.div.offsetHeight,d=this.infoBoxClearance.width,p=this.infoBoxClearance.height,h=this.getProjection().fromLatLngToContainerPixel(this.position);null!==h&&(h.x<-l+d?n=h.x+l-d:h.x+u+l+d>a&&(n=h.x+u+l+d-a),this.alignBottom?h.y<-c+p+f?r=h.y+c-p-f:h.y+c+p>s&&(r=h.y+c+p-s):h.y<-c+p?r=h.y+c-p:h.y+f+c+p>s&&(r=h.y+f+c+p-s)),0===n&&0===r||t.panBy(n,r)}}},e.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.div.style[t]=e[t]);if(this.div.style.webkitTransform="translateZ(0)",void 0!==this.div.style.opacity&&""!==this.div.style.opacity){var n=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"',this.div.style.filter="alpha(opacity="+100*n+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},e.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var t=this.div.ownerDocument,n=t&&t.defaultView?t.defaultView.getComputedStyle(this.div,""):null;n&&(e.top=parseInt(n.borderTopWidth||"",10)||0,e.bottom=parseInt(n.borderBottomWidth||"",10)||0,e.left=parseInt(n.borderLeftWidth||"",10)||0,e.right=parseInt(n.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var r=this.div.currentStyle;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}return e},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},e.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection().fromLatLngToDivPixel(this.position);null!==e&&(this.div.style.left=e.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(e.y+this.pixelOffset.height)+"px":this.div.style.top=e.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},e.prototype.setOptions=function(e){void 0===e&&(e={}),void 0!==e.boxClass&&(this.boxClass=e.boxClass,this.setBoxStyle()),void 0!==e.boxStyle&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),void 0!==e.content&&this.setContent(e.content),void 0!==e.disableAutoPan&&(this.disableAutoPan=e.disableAutoPan),void 0!==e.maxWidth&&(this.maxWidth=e.maxWidth),void 0!==e.pixelOffset&&(this.pixelOffset=e.pixelOffset),void 0!==e.alignBottom&&(this.alignBottom=e.alignBottom),void 0!==e.position&&this.setPosition(e.position),void 0!==e.zIndex&&this.setZIndex(e.zIndex),void 0!==e.closeBoxMargin&&(this.closeBoxMargin=e.closeBoxMargin),void 0!==e.closeBoxURL&&(this.closeBoxURL=e.closeBoxURL),void 0!==e.infoBoxClearance&&(this.infoBoxClearance=e.infoBoxClearance),void 0!==e.isHidden&&(this.isHidden=e.isHidden),void 0!==e.visible&&(this.isHidden=!e.visible),void 0!==e.enableEventPropagation&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},e.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},e.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},e.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},e.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},e.prototype.getContent=function(){return this.content},e.prototype.getPosition=function(){return this.position},e.prototype.getZIndex=function(){return this.zIndex},e.prototype.getVisible=function(){return null!=this.getMap()&&!this.isHidden},e.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},e.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},e.prototype.open=function(e,t){var n=this;t&&(this.position=t.getPosition(),this.moveListener=google.maps.event.addListener(t,"position_changed",(function(){var e=t.getPosition();n.setPosition(e)})),this.mapListener=google.maps.event.addListener(t,"map_changed",(function(){n.setMap(t.map)}))),this.setMap(e),this.div&&this.panBox()},e.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0,t=this.eventListeners;e<t.length;e++){var n=t[e];google.maps.event.removeListener(n)}this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},e.prototype.extend=function(e,t){return function(e){for(var t in e.prototype)Object.prototype.hasOwnProperty.call(this,t)||(this.prototype[t]=e.prototype[t]);return this}.apply(e,[t])},e}(),wS={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},SS={options:function(e,t){e.setOptions(t)},position:function(e,t){t instanceof google.maps.LatLng?e.setPosition(t):e.setPosition(new google.maps.LatLng(t.lat,t.lng))},visible:function(e,t){e.setVisible(t)},zIndex:function(e,t){e.setZIndex(t)}},xS={};(0,y.memo)((function(e){var t=e.children,n=e.anchor,r=e.options,i=e.position,o=e.zIndex,a=e.onCloseClick,s=e.onDomReady,l=e.onContentChanged,c=e.onPositionChanged,u=e.onZindexChanged,f=e.onLoad,d=e.onUnmount,p=(0,y.useContext)(jw),h=(0,y.useState)(null),m=h[0],g=h[1],v=(0,y.useState)(null),b=v[0],_=v[1],w=(0,y.useState)(null),S=w[0],x=w[1],E=(0,y.useState)(null),k=E[0],C=E[1],O=(0,y.useState)(null),T=O[0],P=O[1],A=(0,y.useState)(null),M=A[0],L=A[1],I=(0,y.useRef)(null);return(0,y.useEffect)((function(){p&&null!==m&&(m.close(),n?m.open(p,n):m.getPosition()&&m.open(p))}),[p,m,n]),(0,y.useEffect)((function(){r&&null!==m&&m.setOptions(r)}),[m,r]),(0,y.useEffect)((function(){if(i&&null!==m){var e=i instanceof google.maps.LatLng?i:new google.maps.LatLng(i.lat,i.lng);m.setPosition(e)}}),[i]),(0,y.useEffect)((function(){"number"==typeof o&&null!==m&&m.setZIndex(o)}),[o]),(0,y.useEffect)((function(){m&&a&&(null!==b&&google.maps.event.removeListener(b),_(google.maps.event.addListener(m,"closeclick",a)))}),[a]),(0,y.useEffect)((function(){m&&s&&(null!==S&&google.maps.event.removeListener(S),x(google.maps.event.addListener(m,"domready",s)))}),[s]),(0,y.useEffect)((function(){m&&l&&(null!==k&&google.maps.event.removeListener(k),C(google.maps.event.addListener(m,"content_changed",l)))}),[l]),(0,y.useEffect)((function(){m&&c&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(m,"position_changed",c)))}),[c]),(0,y.useEffect)((function(){m&&u&&(null!==M&&google.maps.event.removeListener(M),L(google.maps.event.addListener(m,"zindex_changed",u)))}),[u]),(0,y.useEffect)((function(){if(p){var e=r||xS,t=e.position,i=Lw(e,["position"]),o=void 0;!t||t instanceof google.maps.LatLng||(o=new google.maps.LatLng(t.lat,t.lng));var h=new _S(Mw(Mw({},i),o?{position:o}:{}));I.current=document.createElement("div"),g(h),a&&_(google.maps.event.addListener(h,"closeclick",a)),s&&x(google.maps.event.addListener(h,"domready",s)),l&&C(google.maps.event.addListener(h,"content_changed",l)),c&&P(google.maps.event.addListener(h,"position_changed",c)),u&&L(google.maps.event.addListener(h,"zindex_changed",u)),h.setContent(I.current),n?h.open(p,n):h.getPosition()?h.open(p):Dw(!1,"You must provide either an anchor or a position prop for <InfoBox>."),f&&f(h)}return function(){null!==m&&(b&&google.maps.event.removeListener(b),k&&google.maps.event.removeListener(k),S&&google.maps.event.removeListener(S),T&&google.maps.event.removeListener(T),M&&google.maps.event.removeListener(M),d&&d(m),m.close())}}),[]),I.current?(0,Tt.createPortal)(y.Children.only(t),I.current):null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.containerElement=null,t.state={infoBox:null},t.open=function(e,n){n?null!==t.context&&e.open(t.context,n):e.getPosition()?null!==t.context&&e.open(t.context):Dw(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},t.setInfoBoxCallback=function(){null!==t.state.infoBox&&null!==t.containerElement&&(t.state.infoBox.setContent(t.containerElement),t.open(t.state.infoBox,t.props.anchor),t.props.onLoad&&t.props.onLoad(t.state.infoBox))},t}Aw(t,e),t.prototype.componentDidMount=function(){var e,t=this.props.options||{},n=t.position,r=Lw(t,["position"]);!n||n instanceof google.maps.LatLng||(e=new google.maps.LatLng(n.lat,n.lng));var i=new _S(Mw(Mw({},r),e?{position:e}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=$w({updaterMap:SS,eventMap:wS,prevProps:{},nextProps:this.props,instance:i}),this.setState({infoBox:i},this.setInfoBoxCallback)},t.prototype.componentDidUpdate=function(e){var t=this.state.infoBox;null!==t&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:SS,eventMap:wS,prevProps:e,nextProps:this.props,instance:t}))},t.prototype.componentWillUnmount=function(){var e=this.props.onUnmount,t=this.state.infoBox;null!==t&&(e&&e(t),zw(this.registeredEvents),t.close())},t.prototype.render=function(){return this.containerElement?(0,Tt.createPortal)(y.Children.only(this.props.children),this.containerElement):null},t.contextType=jw}(y.PureComponent);var ES=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n},kS=Iw(ES);const CS=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];class OS{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[t,n]=new Uint8Array(e,0,2);if(219!==t)throw new Error("Data does not appear to be in a KDBush format.");const r=n>>4;if(1!==r)throw new Error(`Got v${r} data when expected v1.`);const i=CS[15&n];if(!i)throw new Error("Unrecognized array type.");const[o]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new OS(a,o,i,e)}constructor(e,t=64,n=Float64Array,r){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+t,2),65535),this.ArrayType=n,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const i=CS.indexOf(this.ArrayType),o=2*e*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,s=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${n}.`);r&&r instanceof ArrayBuffer?(this.data=r,this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+a+s,2*e),this._pos=2*e,this._finished=!0):(this.data=new ArrayBuffer(8+o+a+s),this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+a+s,2*e),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=t,new Uint32Array(this.data,4,1)[0]=e)}add(e,t){const n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=e,this.coords[this._pos++]=t,n}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return TS(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,t,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:o,nodeSize:a}=this,s=[0,i.length-1,0],l=[];for(;s.length;){const c=s.pop()||0,u=s.pop()||0,f=s.pop()||0;if(u-f<=a){for(let a=f;a<=u;a++){const s=o[2*a],c=o[2*a+1];s>=e&&s<=n&&c>=t&&c<=r&&l.push(i[a])}continue}const d=f+u>>1,p=o[2*d],h=o[2*d+1];p>=e&&p<=n&&h>=t&&h<=r&&l.push(i[d]),(0===c?e<=p:t<=h)&&(s.push(f),s.push(d-1),s.push(1-c)),(0===c?n>=p:r>=h)&&(s.push(d+1),s.push(u),s.push(1-c))}return l}within(e,t,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:i,nodeSize:o}=this,a=[0,r.length-1,0],s=[],l=n*n;for(;a.length;){const c=a.pop()||0,u=a.pop()||0,f=a.pop()||0;if(u-f<=o){for(let n=f;n<=u;n++)LS(i[2*n],i[2*n+1],e,t)<=l&&s.push(r[n]);continue}const d=f+u>>1,p=i[2*d],h=i[2*d+1];LS(p,h,e,t)<=l&&s.push(r[d]),(0===c?e-n<=p:t-n<=h)&&(a.push(f),a.push(d-1),a.push(1-c)),(0===c?e+n>=p:t+n>=h)&&(a.push(d+1),a.push(u),a.push(1-c))}return s}}function TS(e,t,n,r,i,o){if(i-r<=n)return;const a=r+i>>1;PS(e,t,a,r,i,o),TS(e,t,n,r,a-1,1-o),TS(e,t,n,a+1,i,1-o)}function PS(e,t,n,r,i,o){for(;i>r;){if(i-r>600){const a=i-r+1,s=n-r+1,l=Math.log(a),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(a-c)/a)*(s-a/2<0?-1:1);PS(e,t,n,Math.max(r,Math.floor(n-s*c/a+u)),Math.min(i,Math.floor(n+(a-s)*c/a+u)),o)}const a=t[2*n+o];let s=r,l=i;for(AS(e,t,r,n),t[2*i+o]>a&&AS(e,t,r,i);s<l;){for(AS(e,t,s,l),s++,l--;t[2*s+o]<a;)s++;for(;t[2*l+o]>a;)l--}t[2*r+o]===a?AS(e,t,r,l):(l++,AS(e,t,l,i)),l<=n&&(r=l+1),n<=l&&(i=l-1)}}function AS(e,t,n,r){MS(e,n,r),MS(t,2*n,2*r),MS(t,2*n+1,2*r+1)}function MS(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function LS(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}const IS={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},RS=Math.fround||(DS=new Float32Array(1),e=>(DS[0]=+e,DS[0]));var DS;const jS=3,NS=5,FS=6;class BS{constructor(e){this.options=Object.assign(Object.create(IS),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:t,minZoom:n,maxZoom:r}=this.options;t&&console.time("total time");const i=`prepare ${e.length} points`;t&&console.time(i),this.points=e;const o=[];for(let t=0;t<e.length;t++){const n=e[t];if(!n.geometry)continue;const[r,i]=n.geometry.coordinates,a=RS(US(r)),s=RS(HS(i));o.push(a,s,1/0,t,-1,1),this.options.reduce&&o.push(0)}let a=this.trees[r+1]=this._createTree(o);t&&console.timeEnd(i);for(let e=r;e>=n;e--){const n=+Date.now();a=this.trees[e]=this._createTree(this._cluster(a,e)),t&&console.log("z%d: %d clusters in %dms",e,a.numItems,+Date.now()-n)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let n=((e[0]+180)%360+360)%360-180;const r=Math.max(-90,Math.min(90,e[1]));let i=180===e[2]?180:((e[2]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,i=180;else if(n>i){const e=this.getClusters([n,r,180,o],t),a=this.getClusters([-180,r,i,o],t);return e.concat(a)}const a=this.trees[this._limitZoom(t)],s=a.range(US(n),HS(o),US(i),HS(r)),l=a.data,c=[];for(const e of s){const t=this.stride*e;c.push(l[t+NS]>1?zS(l,t,this.clusterProps):this.points[l[t+jS]])}return c}getChildren(e){const t=this._getOriginId(e),n=this._getOriginZoom(e),r="No cluster with the specified id.",i=this.trees[n];if(!i)throw new Error(r);const o=i.data;if(t*this.stride>=o.length)throw new Error(r);const a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=o[t*this.stride],l=o[t*this.stride+1],c=i.within(s,l,a),u=[];for(const t of c){const n=t*this.stride;o[n+4]===e&&u.push(o[n+NS]>1?zS(o,n,this.clusterProps):this.points[o[n+jS]])}if(0===u.length)throw new Error(r);return u}getLeaves(e,t,n){t=t||10,n=n||0;const r=[];return this._appendLeaves(r,e,t,n,0),r}getTile(e,t,n){const r=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:o,radius:a}=this.options,s=a/o,l=(n-s)/i,c=(n+1+s)/i,u={features:[]};return this._addTileFeatures(r.range((t-s)/i,l,(t+1+s)/i,c),r.data,t,n,i,u),0===t&&this._addTileFeatures(r.range(1-s/i,l,1,c),r.data,i,n,i,u),t===i-1&&this._addTileFeatures(r.range(0,l,s/i,c),r.data,-1,n,i,u),u.features.length?u:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t}_appendLeaves(e,t,n,r,i){const o=this.getChildren(t);for(const t of o){const o=t.properties;if(o&&o.cluster?i+o.point_count<=r?i+=o.point_count:i=this._appendLeaves(e,o.cluster_id,n,r,i):i<r?i++:e.push(t),e.length===n)break}return i}_createTree(e){const t=new OS(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let n=0;n<e.length;n+=this.stride)t.add(e[n],e[n+1]);return t.finish(),t.data=e,t}_addTileFeatures(e,t,n,r,i,o){for(const a of e){const e=a*this.stride,s=t[e+NS]>1;let l,c,u;if(s)l=$S(t,e,this.clusterProps),c=t[e],u=t[e+1];else{const n=this.points[t[e+jS]];l=n.properties;const[r,i]=n.geometry.coordinates;c=US(r),u=HS(i)}const f={type:1,geometry:[[Math.round(this.options.extent*(c*i-n)),Math.round(this.options.extent*(u*i-r))]],tags:l};let d;d=s||this.options.generateId?t[e+jS]:this.points[t[e+jS]].id,void 0!==d&&(f.id=d),o.features.push(f)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){const{radius:n,extent:r,reduce:i,minPoints:o}=this.options,a=n/(r*Math.pow(2,t)),s=e.data,l=[],c=this.stride;for(let n=0;n<s.length;n+=c){if(s[n+2]<=t)continue;s[n+2]=t;const r=s[n],u=s[n+1],f=e.within(s[n],s[n+1],a),d=s[n+NS];let p=d;for(const e of f){const n=e*c;s[n+2]>t&&(p+=s[n+NS])}if(p>d&&p>=o){let e,o=r*d,a=u*d,h=-1;const m=(n/c<<5)+(t+1)+this.points.length;for(const r of f){const l=r*c;if(s[l+2]<=t)continue;s[l+2]=t;const u=s[l+NS];o+=s[l]*u,a+=s[l+1]*u,s[l+4]=m,i&&(e||(e=this._map(s,n,!0),h=this.clusterProps.length,this.clusterProps.push(e)),i(e,this._map(s,l)))}s[n+4]=m,l.push(o/p,a/p,1/0,m,-1,p),i&&l.push(h)}else{for(let e=0;e<c;e++)l.push(s[n+e]);if(p>1)for(const e of f){const n=e*c;if(!(s[n+2]<=t)){s[n+2]=t;for(let e=0;e<c;e++)l.push(s[n+e])}}}}return l}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t,n){if(e[t+NS]>1){const r=this.clusterProps[e[t+FS]];return n?Object.assign({},r):r}const r=this.points[e[t+jS]].properties,i=this.options.map(r);return n&&i===r?Object.assign({},i):i}}function zS(e,t,n){return{type:"Feature",id:e[t+jS],properties:$S(e,t,n),geometry:{type:"Point",coordinates:[(r=e[t],360*(r-.5)),WS(e[t+1])]}};var r}function $S(e,t,n){const r=e[t+NS],i=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?Math.round(r/100)/10+"k":r,o=e[t+FS],a=-1===o?{}:Object.assign({},n[o]);return Object.assign(a,{cluster:!0,cluster_id:e[t+jS],point_count:r,point_count_abbreviated:i})}function US(e){return e/360+.5}function HS(e){const t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function WS(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}class qS{static isAdvancedMarkerAvailable(e){return google.maps.marker&&!0===e.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,t){this.isAdvancedMarker(e)?e.map=t:e.setMap(t)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&e.position.lng)return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return!!this.isAdvancedMarker(e)||e.getVisible()}}class VS{constructor({markers:e,position:t}){this.markers=e,t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0===this.markers.length&&!this._position)return;const e=new google.maps.LatLngBounds(this._position,this._position);for(const t of this.markers)e.extend(qS.getPosition(t));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter((e=>qS.getVisible(e))).length}push(e){this.markers.push(e)}delete(){this.marker&&(qS.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class KS{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return GS(e)}}const GS=e=>e.map((e=>new VS({position:qS.getPosition(e),markers:[e]})));class YS extends KS{constructor(e){var{maxZoom:t,radius:n=60}=e,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["maxZoom","radius"]);super({maxZoom:t}),this.state={zoom:-1},this.superCluster=new BS(Object.assign({maxZoom:this.maxZoom,radius:n},r))}calculate(e){let t=!1;const n={zoom:e.map.getZoom()};if(!kS(e.markers,this.markers)){t=!0,this.markers=[...e.markers];const n=this.markers.map((e=>{const t=qS.getPosition(e);return{type:"Feature",geometry:{type:"Point",coordinates:[t.lng(),t.lat()]},properties:{marker:e}}}));this.superCluster.load(n)}return t||(this.state.zoom<=this.maxZoom||n.zoom<=this.maxZoom)&&(t=!kS(this.state,n)),this.state=n,t&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:t}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map((e=>this.transformCluster(e)))}transformCluster({geometry:{coordinates:[e,t]},properties:n}){if(n.cluster)return new VS({markers:this.superCluster.getLeaves(n.cluster_id,1/0).map((e=>e.properties.marker)),position:{lat:t,lng:e}});const r=n.marker;return new VS({markers:[r],position:qS.getPosition(r)})}}class JS{constructor(e,t){this.markers={sum:e.length};const n=t.map((e=>e.count)),r=n.reduce(((e,t)=>e+t),0);this.clusters={count:t.length,markers:{mean:r/t.length,sum:r,min:Math.min(...n),max:Math.max(...n)}}}}class ZS{render({count:e,position:t},n,r){const i=`<svg fill="${e>Math.max(10,n.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">\n<circle cx="120" cy="120" opacity=".6" r="70" />\n<circle cx="120" cy="120" opacity=".3" r="90" />\n<circle cx="120" cy="120" opacity=".2" r="110" />\n<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${e}</text>\n</svg>`,o=`Cluster of ${e} markers`,a=Number(google.maps.Marker.MAX_ZINDEX)+e;if(qS.isAdvancedMarkerAvailable(r)){const e=(new DOMParser).parseFromString(i,"image/svg+xml").documentElement;e.setAttribute("transform","translate(0 25)");const n={map:r,position:t,zIndex:a,title:o,content:e};return new google.maps.marker.AdvancedMarkerElement(n)}const s={position:t,zIndex:a,title:o,icon:{url:`data:image/svg+xml;base64,${btoa(i)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(s)}}class XS{constructor(){!function(e,t){for(let n in t.prototype)e.prototype[n]=t.prototype[n]}(XS,google.maps.OverlayView)}}var QS;!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(QS||(QS={}));const ex=(e,t,n)=>{n.fitBounds(t.bounds)};class tx extends XS{constructor({map:e,markers:t=[],algorithmOptions:n={},algorithm:r=new YS(n),renderer:i=new ZS,onClusterClick:o=ex}){super(),this.markers=[...t],this.clusters=[],this.algorithm=r,this.renderer=i,this.onClusterClick=o,e&&this.setMap(e)}addMarker(e,t){this.markers.includes(e)||(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach((e=>{this.addMarker(e,!0)})),t||this.render()}removeMarker(e,t){const n=this.markers.indexOf(e);return-1!==n&&(qS.setMap(e,null),this.markers.splice(n,1),t||this.render(),!0)}removeMarkers(e,t){let n=!1;return e.forEach((e=>{n=this.removeMarker(e,!0)||n})),n&&!t&&this.render(),n}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,QS.CLUSTERING_BEGIN,this);const{clusters:t,changed:n}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(n||null==n){const e=new Set;for(const n of t)1==n.markers.length&&e.add(n.markers[0]);const n=[];for(const t of this.clusters)null!=t.marker&&(1==t.markers.length?e.has(t.marker)||qS.setMap(t.marker,null):n.push(t.marker));this.clusters=t,this.renderClusters(),requestAnimationFrame((()=>n.forEach((e=>qS.setMap(e,null)))))}google.maps.event.trigger(this,QS.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach((e=>qS.setMap(e,null))),this.clusters.forEach((e=>e.delete())),this.clusters=[]}renderClusters(){const e=new JS(this.markers,this.clusters),t=this.getMap();this.clusters.forEach((n=>{1===n.markers.length?n.marker=n.markers[0]:(n.marker=this.renderer.render(n,e,t),n.markers.forEach((e=>qS.setMap(e,null))),this.onClusterClick&&n.marker.addListener("click",(e=>{google.maps.event.trigger(this,QS.CLUSTER_CLICK,n),this.onClusterClick(e,n,t)}))),qS.setMap(n.marker,t)}))}}(0,y.memo)((function(e){var t=e.children,n=function(e){var t=function(){Dw(!!y.useContext,"useGoogleMap is React hook and requires React version 16.8+");var e=(0,y.useContext)(jw);return Dw(!!e,"useGoogleMap needs a GoogleMap available up in the tree"),e}(),n=(0,y.useState)(null),r=n[0],i=n[1];return(0,y.useEffect)((function(){if(t&&null===r){var n=new tx(Mw(Mw({},e),{map:t}));i(n)}}),[t]),r}(e.options);return null!==n?t(n):null}));var nx={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},rx={options:function(e,t){e.setOptions(t)},position:function(e,t){e.setPosition(t)},zIndex:function(e,t){e.setZIndex(t)}};(0,y.memo)((function(e){var t=e.children,n=e.anchor,r=e.options,i=e.position,o=e.zIndex,a=e.onCloseClick,s=e.onDomReady,l=e.onContentChanged,c=e.onPositionChanged,u=e.onZindexChanged,f=e.onLoad,d=e.onUnmount,p=(0,y.useContext)(jw),h=(0,y.useState)(null),m=h[0],g=h[1],v=(0,y.useState)(null),b=v[0],_=v[1],w=(0,y.useState)(null),S=w[0],x=w[1],E=(0,y.useState)(null),k=E[0],C=E[1],O=(0,y.useState)(null),T=O[0],P=O[1],A=(0,y.useState)(null),M=A[0],L=A[1],I=(0,y.useRef)(null);return(0,y.useEffect)((function(){null!==m&&(m.close(),n?m.open(p,n):m.getPosition()&&m.open(p))}),[p,m,n]),(0,y.useEffect)((function(){r&&null!==m&&m.setOptions(r)}),[m,r]),(0,y.useEffect)((function(){i&&null!==m&&m.setPosition(i)}),[i]),(0,y.useEffect)((function(){"number"==typeof o&&null!==m&&m.setZIndex(o)}),[o]),(0,y.useEffect)((function(){m&&a&&(null!==b&&google.maps.event.removeListener(b),_(google.maps.event.addListener(m,"closeclick",a)))}),[a]),(0,y.useEffect)((function(){m&&s&&(null!==S&&google.maps.event.removeListener(S),x(google.maps.event.addListener(m,"domready",s)))}),[s]),(0,y.useEffect)((function(){m&&l&&(null!==k&&google.maps.event.removeListener(k),C(google.maps.event.addListener(m,"content_changed",l)))}),[l]),(0,y.useEffect)((function(){m&&c&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(m,"position_changed",c)))}),[c]),(0,y.useEffect)((function(){m&&u&&(null!==M&&google.maps.event.removeListener(M),L(google.maps.event.addListener(m,"zindex_changed",u)))}),[u]),(0,y.useEffect)((function(){var e=new google.maps.InfoWindow(Mw({},r||{}));return g(e),I.current=document.createElement("div"),a&&_(google.maps.event.addListener(e,"closeclick",a)),s&&x(google.maps.event.addListener(e,"domready",s)),l&&C(google.maps.event.addListener(e,"content_changed",l)),c&&P(google.maps.event.addListener(e,"position_changed",c)),u&&L(google.maps.event.addListener(e,"zindex_changed",u)),e.setContent(I.current),i&&e.setPosition(i),o&&e.setZIndex(o),n?e.open(p,n):e.getPosition()?e.open(p):Dw(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),f&&f(e),function(){b&&google.maps.event.removeListener(b),k&&google.maps.event.removeListener(k),S&&google.maps.event.removeListener(S),T&&google.maps.event.removeListener(T),M&&google.maps.event.removeListener(M),d&&d(e),e.close()}}),[]),I.current?(0,Tt.createPortal)(y.Children.only(t),I.current):null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.containerElement=null,t.state={infoWindow:null},t.open=function(e,n){n?e.open(t.context,n):e.getPosition()?e.open(t.context):Dw(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},t.setInfoWindowCallback=function(){null!==t.state.infoWindow&&null!==t.containerElement&&(t.state.infoWindow.setContent(t.containerElement),t.open(t.state.infoWindow,t.props.anchor),t.props.onLoad&&t.props.onLoad(t.state.infoWindow))},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.InfoWindow(Mw({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=$w({updaterMap:rx,eventMap:nx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{infoWindow:e}}),this.setInfoWindowCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.infoWindow&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:rx,eventMap:nx,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))},t.prototype.componentWillUnmount=function(){null!==this.state.infoWindow&&(zw(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())},t.prototype.render=function(){return this.containerElement?(0,Tt.createPortal)(y.Children.only(this.props.children),this.containerElement):null},t.contextType=jw}(y.PureComponent);var ix={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ox={draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},map:function(e,t){e.setMap(t)},options:function(e,t){e.setOptions(t)},path:function(e,t){e.setPath(t)},visible:function(e,t){e.setVisible(t)}},ax={};(0,y.memo)((function(e){var t=e.options,n=e.draggable,r=e.editable,i=e.visible,o=e.path,a=e.onDblClick,s=e.onDragEnd,l=e.onDragStart,c=e.onMouseDown,u=e.onMouseMove,f=e.onMouseOut,d=e.onMouseOver,p=e.onMouseUp,h=e.onRightClick,m=e.onClick,g=e.onDrag,v=e.onLoad,b=e.onUnmount,_=(0,y.useContext)(jw),w=(0,y.useState)(null),S=w[0],x=w[1],E=(0,y.useState)(null),k=E[0],C=E[1],O=(0,y.useState)(null),T=O[0],P=O[1],A=(0,y.useState)(null),M=A[0],L=A[1],I=(0,y.useState)(null),R=I[0],D=I[1],j=(0,y.useState)(null),N=j[0],F=j[1],B=(0,y.useState)(null),z=B[0],$=B[1],U=(0,y.useState)(null),H=U[0],W=U[1],q=(0,y.useState)(null),V=q[0],K=q[1],G=(0,y.useState)(null),Y=G[0],J=G[1],Z=(0,y.useState)(null),X=Z[0],Q=Z[1],ee=(0,y.useState)(null),te=ee[0],ne=ee[1];return(0,y.useEffect)((function(){null!==S&&S.setMap(_)}),[_]),(0,y.useEffect)((function(){void 0!==t&&null!==S&&S.setOptions(t)}),[S,t]),(0,y.useEffect)((function(){void 0!==n&&null!==S&&S.setDraggable(n)}),[S,n]),(0,y.useEffect)((function(){void 0!==r&&null!==S&&S.setEditable(r)}),[S,r]),(0,y.useEffect)((function(){void 0!==i&&null!==S&&S.setVisible(i)}),[S,i]),(0,y.useEffect)((function(){void 0!==o&&null!==S&&S.setPath(o)}),[S,o]),(0,y.useEffect)((function(){S&&a&&(null!==k&&google.maps.event.removeListener(k),C(google.maps.event.addListener(S,"dblclick",a)))}),[a]),(0,y.useEffect)((function(){S&&s&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(S,"dragend",s)))}),[s]),(0,y.useEffect)((function(){S&&l&&(null!==M&&google.maps.event.removeListener(M),L(google.maps.event.addListener(S,"dragstart",l)))}),[l]),(0,y.useEffect)((function(){S&&c&&(null!==R&&google.maps.event.removeListener(R),D(google.maps.event.addListener(S,"mousedown",c)))}),[c]),(0,y.useEffect)((function(){S&&u&&(null!==N&&google.maps.event.removeListener(N),F(google.maps.event.addListener(S,"mousemove",u)))}),[u]),(0,y.useEffect)((function(){S&&f&&(null!==z&&google.maps.event.removeListener(z),$(google.maps.event.addListener(S,"mouseout",f)))}),[f]),(0,y.useEffect)((function(){S&&d&&(null!==H&&google.maps.event.removeListener(H),W(google.maps.event.addListener(S,"mouseover",d)))}),[d]),(0,y.useEffect)((function(){S&&p&&(null!==V&&google.maps.event.removeListener(V),K(google.maps.event.addListener(S,"mouseup",p)))}),[p]),(0,y.useEffect)((function(){S&&h&&(null!==Y&&google.maps.event.removeListener(Y),J(google.maps.event.addListener(S,"rightclick",h)))}),[h]),(0,y.useEffect)((function(){S&&m&&(null!==X&&google.maps.event.removeListener(X),Q(google.maps.event.addListener(S,"click",m)))}),[m]),(0,y.useEffect)((function(){S&&g&&(null!==te&&google.maps.event.removeListener(te),ne(google.maps.event.addListener(S,"drag",g)))}),[g]),(0,y.useEffect)((function(){var e=new google.maps.Polyline(Mw(Mw({},t||ax),{map:_}));return o&&e.setPath(o),void 0!==i&&e.setVisible(i),void 0!==r&&e.setEditable(r),void 0!==n&&e.setDraggable(n),a&&C(google.maps.event.addListener(e,"dblclick",a)),s&&P(google.maps.event.addListener(e,"dragend",s)),l&&L(google.maps.event.addListener(e,"dragstart",l)),c&&D(google.maps.event.addListener(e,"mousedown",c)),u&&F(google.maps.event.addListener(e,"mousemove",u)),f&&$(google.maps.event.addListener(e,"mouseout",f)),d&&W(google.maps.event.addListener(e,"mouseover",d)),p&&K(google.maps.event.addListener(e,"mouseup",p)),h&&J(google.maps.event.addListener(e,"rightclick",h)),m&&Q(google.maps.event.addListener(e,"click",m)),g&&ne(google.maps.event.addListener(e,"drag",g)),x(e),v&&v(e),function(){null!==k&&google.maps.event.removeListener(k),null!==T&&google.maps.event.removeListener(T),null!==M&&google.maps.event.removeListener(M),null!==R&&google.maps.event.removeListener(R),null!==N&&google.maps.event.removeListener(N),null!==z&&google.maps.event.removeListener(z),null!==H&&google.maps.event.removeListener(H),null!==V&&google.maps.event.removeListener(V),null!==Y&&google.maps.event.removeListener(Y),null!==X&&google.maps.event.removeListener(X),b&&b(e),e.setMap(null)}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={polyline:null},t.setPolylineCallback=function(){null!==t.state.polyline&&t.props.onLoad&&t.props.onLoad(t.state.polyline)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.Polyline(Mw(Mw({},this.props.options||{}),{map:this.context}));this.registeredEvents=$w({updaterMap:ox,eventMap:ix,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polyline:e}}),this.setPolylineCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.polyline&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:ox,eventMap:ix,prevProps:e,nextProps:this.props,instance:this.state.polyline}))},t.prototype.componentWillUnmount=function(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),zw(this.registeredEvents),this.state.polyline.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var sx={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},lx={draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},map:function(e,t){e.setMap(t)},options:function(e,t){e.setOptions(t)},path:function(e,t){e.setPath(t)},paths:function(e,t){e.setPaths(t)},visible:function(e,t){e.setVisible(t)}};(0,y.memo)((function(e){var t=e.options,n=e.draggable,r=e.editable,i=e.visible,o=e.path,a=e.paths,s=e.onDblClick,l=e.onDragEnd,c=e.onDragStart,u=e.onMouseDown,f=e.onMouseMove,d=e.onMouseOut,p=e.onMouseOver,h=e.onMouseUp,m=e.onRightClick,g=e.onClick,v=e.onDrag,b=e.onLoad,_=e.onUnmount,w=e.onEdit,S=(0,y.useContext)(jw),x=(0,y.useState)(null),E=x[0],k=x[1],C=(0,y.useState)(null),O=C[0],T=C[1],P=(0,y.useState)(null),A=P[0],M=P[1],L=(0,y.useState)(null),I=L[0],R=L[1],D=(0,y.useState)(null),j=D[0],N=D[1],F=(0,y.useState)(null),B=F[0],z=F[1],$=(0,y.useState)(null),U=$[0],H=$[1],W=(0,y.useState)(null),q=W[0],V=W[1],K=(0,y.useState)(null),G=K[0],Y=K[1],J=(0,y.useState)(null),Z=J[0],X=J[1],Q=(0,y.useState)(null),ee=Q[0],te=Q[1],ne=(0,y.useState)(null),re=ne[0],ie=ne[1];return(0,y.useEffect)((function(){null!==E&&E.setMap(S)}),[S]),(0,y.useEffect)((function(){void 0!==t&&null!==E&&E.setOptions(t)}),[E,t]),(0,y.useEffect)((function(){void 0!==n&&null!==E&&E.setDraggable(n)}),[E,n]),(0,y.useEffect)((function(){void 0!==r&&null!==E&&E.setEditable(r)}),[E,r]),(0,y.useEffect)((function(){void 0!==i&&null!==E&&E.setVisible(i)}),[E,i]),(0,y.useEffect)((function(){void 0!==o&&null!==E&&E.setPath(o)}),[E,o]),(0,y.useEffect)((function(){void 0!==a&&null!==E&&E.setPaths(a)}),[E,a]),(0,y.useEffect)((function(){E&&s&&(null!==O&&google.maps.event.removeListener(O),T(google.maps.event.addListener(E,"dblclick",s)))}),[s]),(0,y.useEffect)((function(){E&&(google.maps.event.addListener(E.getPath(),"insert_at",(function(){null==w||w(E)})),google.maps.event.addListener(E.getPath(),"set_at",(function(){null==w||w(E)})))}),[E,w]),(0,y.useEffect)((function(){E&&l&&(null!==A&&google.maps.event.removeListener(A),M(google.maps.event.addListener(E,"dragend",l)))}),[l]),(0,y.useEffect)((function(){E&&c&&(null!==I&&google.maps.event.removeListener(I),R(google.maps.event.addListener(E,"dragstart",c)))}),[c]),(0,y.useEffect)((function(){E&&u&&(null!==j&&google.maps.event.removeListener(j),N(google.maps.event.addListener(E,"mousedown",u)))}),[u]),(0,y.useEffect)((function(){E&&f&&(null!==B&&google.maps.event.removeListener(B),z(google.maps.event.addListener(E,"mousemove",f)))}),[f]),(0,y.useEffect)((function(){E&&d&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(E,"mouseout",d)))}),[d]),(0,y.useEffect)((function(){E&&p&&(null!==q&&google.maps.event.removeListener(q),V(google.maps.event.addListener(E,"mouseover",p)))}),[p]),(0,y.useEffect)((function(){E&&h&&(null!==G&&google.maps.event.removeListener(G),Y(google.maps.event.addListener(E,"mouseup",h)))}),[h]),(0,y.useEffect)((function(){E&&m&&(null!==Z&&google.maps.event.removeListener(Z),X(google.maps.event.addListener(E,"rightclick",m)))}),[m]),(0,y.useEffect)((function(){E&&g&&(null!==ee&&google.maps.event.removeListener(ee),te(google.maps.event.addListener(E,"click",g)))}),[g]),(0,y.useEffect)((function(){E&&v&&(null!==re&&google.maps.event.removeListener(re),ie(google.maps.event.addListener(E,"drag",v)))}),[v]),(0,y.useEffect)((function(){var e=new google.maps.Polygon(Mw(Mw({},t||{}),{map:S}));return o&&e.setPath(o),a&&e.setPaths(a),void 0!==i&&e.setVisible(i),void 0!==r&&e.setEditable(r),void 0!==n&&e.setDraggable(n),s&&T(google.maps.event.addListener(e,"dblclick",s)),l&&M(google.maps.event.addListener(e,"dragend",l)),c&&R(google.maps.event.addListener(e,"dragstart",c)),u&&N(google.maps.event.addListener(e,"mousedown",u)),f&&z(google.maps.event.addListener(e,"mousemove",f)),d&&H(google.maps.event.addListener(e,"mouseout",d)),p&&V(google.maps.event.addListener(e,"mouseover",p)),h&&Y(google.maps.event.addListener(e,"mouseup",h)),m&&X(google.maps.event.addListener(e,"rightclick",m)),g&&te(google.maps.event.addListener(e,"click",g)),v&&ie(google.maps.event.addListener(e,"drag",v)),k(e),b&&b(e),function(){null!==O&&google.maps.event.removeListener(O),null!==A&&google.maps.event.removeListener(A),null!==I&&google.maps.event.removeListener(I),null!==j&&google.maps.event.removeListener(j),null!==B&&google.maps.event.removeListener(B),null!==U&&google.maps.event.removeListener(U),null!==q&&google.maps.event.removeListener(q),null!==G&&google.maps.event.removeListener(G),null!==Z&&google.maps.event.removeListener(Z),null!==ee&&google.maps.event.removeListener(ee),_&&_(e),e.setMap(null)}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={polygon:null},t.setPolygonCallback=function(){null!==t.state.polygon&&t.props.onLoad&&t.props.onLoad(t.state.polygon)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.Polygon(Mw(Mw({},this.props.options||{}),{map:this.context}));this.registeredEvents=$w({updaterMap:lx,eventMap:sx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polygon:e}}),this.setPolygonCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.polygon&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:lx,eventMap:sx,prevProps:e,nextProps:this.props,instance:this.state.polygon}))},t.prototype.componentWillUnmount=function(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),zw(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var cx={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ux={bounds:function(e,t){e.setBounds(t)},draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},map:function(e,t){e.setMap(t)},options:function(e,t){e.setOptions(t)},visible:function(e,t){e.setVisible(t)}};(0,y.memo)((function(e){var t=e.options,n=e.bounds,r=e.draggable,i=e.editable,o=e.visible,a=e.onDblClick,s=e.onDragEnd,l=e.onDragStart,c=e.onMouseDown,u=e.onMouseMove,f=e.onMouseOut,d=e.onMouseOver,p=e.onMouseUp,h=e.onRightClick,m=e.onClick,g=e.onDrag,v=e.onBoundsChanged,b=e.onLoad,_=e.onUnmount,w=(0,y.useContext)(jw),S=(0,y.useState)(null),x=S[0],E=S[1],k=(0,y.useState)(null),C=k[0],O=k[1],T=(0,y.useState)(null),P=T[0],A=T[1],M=(0,y.useState)(null),L=M[0],I=M[1],R=(0,y.useState)(null),D=R[0],j=R[1],N=(0,y.useState)(null),F=N[0],B=N[1],z=(0,y.useState)(null),$=z[0],U=z[1],H=(0,y.useState)(null),W=H[0],q=H[1],V=(0,y.useState)(null),K=V[0],G=V[1],Y=(0,y.useState)(null),J=Y[0],Z=Y[1],X=(0,y.useState)(null),Q=X[0],ee=X[1],te=(0,y.useState)(null),ne=te[0],re=te[1],ie=(0,y.useState)(null),oe=ie[0],ae=ie[1];return(0,y.useEffect)((function(){null!==x&&x.setMap(w)}),[w]),(0,y.useEffect)((function(){void 0!==t&&null!==x&&x.setOptions(t)}),[x,t]),(0,y.useEffect)((function(){void 0!==r&&null!==x&&x.setDraggable(r)}),[x,r]),(0,y.useEffect)((function(){void 0!==i&&null!==x&&x.setEditable(i)}),[x,i]),(0,y.useEffect)((function(){void 0!==o&&null!==x&&x.setVisible(o)}),[x,o]),(0,y.useEffect)((function(){void 0!==n&&null!==x&&x.setBounds(n)}),[x,n]),(0,y.useEffect)((function(){x&&a&&(null!==C&&google.maps.event.removeListener(C),O(google.maps.event.addListener(x,"dblclick",a)))}),[a]),(0,y.useEffect)((function(){x&&s&&(null!==P&&google.maps.event.removeListener(P),A(google.maps.event.addListener(x,"dragend",s)))}),[s]),(0,y.useEffect)((function(){x&&l&&(null!==L&&google.maps.event.removeListener(L),I(google.maps.event.addListener(x,"dragstart",l)))}),[l]),(0,y.useEffect)((function(){x&&c&&(null!==D&&google.maps.event.removeListener(D),j(google.maps.event.addListener(x,"mousedown",c)))}),[c]),(0,y.useEffect)((function(){x&&u&&(null!==F&&google.maps.event.removeListener(F),B(google.maps.event.addListener(x,"mousemove",u)))}),[u]),(0,y.useEffect)((function(){x&&f&&(null!==$&&google.maps.event.removeListener($),U(google.maps.event.addListener(x,"mouseout",f)))}),[f]),(0,y.useEffect)((function(){x&&d&&(null!==W&&google.maps.event.removeListener(W),q(google.maps.event.addListener(x,"mouseover",d)))}),[d]),(0,y.useEffect)((function(){x&&p&&(null!==K&&google.maps.event.removeListener(K),G(google.maps.event.addListener(x,"mouseup",p)))}),[p]),(0,y.useEffect)((function(){x&&h&&(null!==J&&google.maps.event.removeListener(J),Z(google.maps.event.addListener(x,"rightclick",h)))}),[h]),(0,y.useEffect)((function(){x&&m&&(null!==Q&&google.maps.event.removeListener(Q),ee(google.maps.event.addListener(x,"click",m)))}),[m]),(0,y.useEffect)((function(){x&&g&&(null!==ne&&google.maps.event.removeListener(ne),re(google.maps.event.addListener(x,"drag",g)))}),[g]),(0,y.useEffect)((function(){x&&v&&(null!==oe&&google.maps.event.removeListener(oe),ae(google.maps.event.addListener(x,"bounds_changed",v)))}),[v]),(0,y.useEffect)((function(){var e=new google.maps.Rectangle(Mw(Mw({},t||{}),{map:w}));return void 0!==o&&e.setVisible(o),void 0!==i&&e.setEditable(i),void 0!==r&&e.setDraggable(r),void 0!==n&&e.setBounds(n),a&&O(google.maps.event.addListener(e,"dblclick",a)),s&&A(google.maps.event.addListener(e,"dragend",s)),l&&I(google.maps.event.addListener(e,"dragstart",l)),c&&j(google.maps.event.addListener(e,"mousedown",c)),u&&B(google.maps.event.addListener(e,"mousemove",u)),f&&U(google.maps.event.addListener(e,"mouseout",f)),d&&q(google.maps.event.addListener(e,"mouseover",d)),p&&G(google.maps.event.addListener(e,"mouseup",p)),h&&Z(google.maps.event.addListener(e,"rightclick",h)),m&&ee(google.maps.event.addListener(e,"click",m)),g&&re(google.maps.event.addListener(e,"drag",g)),v&&ae(google.maps.event.addListener(e,"bounds_changed",v)),E(e),b&&b(e),function(){null!==C&&google.maps.event.removeListener(C),null!==P&&google.maps.event.removeListener(P),null!==L&&google.maps.event.removeListener(L),null!==D&&google.maps.event.removeListener(D),null!==F&&google.maps.event.removeListener(F),null!==$&&google.maps.event.removeListener($),null!==W&&google.maps.event.removeListener(W),null!==K&&google.maps.event.removeListener(K),null!==J&&google.maps.event.removeListener(J),null!==Q&&google.maps.event.removeListener(Q),null!==ne&&google.maps.event.removeListener(ne),null!==oe&&google.maps.event.removeListener(oe),_&&_(e),e.setMap(null)}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={rectangle:null},t.setRectangleCallback=function(){null!==t.state.rectangle&&t.props.onLoad&&t.props.onLoad(t.state.rectangle)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.Rectangle(Mw(Mw({},this.props.options||{}),{map:this.context}));this.registeredEvents=$w({updaterMap:ux,eventMap:cx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{rectangle:e}}),this.setRectangleCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.rectangle&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:ux,eventMap:cx,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))},t.prototype.componentWillUnmount=function(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),zw(this.registeredEvents),this.state.rectangle.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var fx={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},dx={center:function(e,t){e.setCenter(t)},draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},map:function(e,t){e.setMap(t)},options:function(e,t){e.setOptions(t)},radius:function(e,t){e.setRadius(t)},visible:function(e,t){e.setVisible(t)}},px={};(0,y.memo)((function(e){var t=e.options,n=e.center,r=e.radius,i=e.draggable,o=e.editable,a=e.visible,s=e.onDblClick,l=e.onDragEnd,c=e.onDragStart,u=e.onMouseDown,f=e.onMouseMove,d=e.onMouseOut,p=e.onMouseOver,h=e.onMouseUp,m=e.onRightClick,g=e.onClick,v=e.onDrag,b=e.onCenterChanged,_=e.onRadiusChanged,w=e.onLoad,S=e.onUnmount,x=(0,y.useContext)(jw),E=(0,y.useState)(null),k=E[0],C=E[1],O=(0,y.useState)(null),T=O[0],P=O[1],A=(0,y.useState)(null),M=A[0],L=A[1],I=(0,y.useState)(null),R=I[0],D=I[1],j=(0,y.useState)(null),N=j[0],F=j[1],B=(0,y.useState)(null),z=B[0],$=B[1],U=(0,y.useState)(null),H=U[0],W=U[1],q=(0,y.useState)(null),V=q[0],K=q[1],G=(0,y.useState)(null),Y=G[0],J=G[1],Z=(0,y.useState)(null),X=Z[0],Q=Z[1],ee=(0,y.useState)(null),te=ee[0],ne=ee[1],re=(0,y.useState)(null),ie=re[0],oe=re[1],ae=(0,y.useState)(null),se=ae[0],le=ae[1],ce=(0,y.useState)(null),ue=ce[0],fe=ce[1];return(0,y.useEffect)((function(){null!==k&&k.setMap(x)}),[x]),(0,y.useEffect)((function(){void 0!==t&&null!==k&&k.setOptions(t)}),[k,t]),(0,y.useEffect)((function(){void 0!==i&&null!==k&&k.setDraggable(i)}),[k,i]),(0,y.useEffect)((function(){void 0!==o&&null!==k&&k.setEditable(o)}),[k,o]),(0,y.useEffect)((function(){void 0!==a&&null!==k&&k.setVisible(a)}),[k,a]),(0,y.useEffect)((function(){"number"==typeof r&&null!==k&&k.setRadius(r)}),[k,r]),(0,y.useEffect)((function(){void 0!==n&&null!==k&&k.setCenter(n)}),[k,n]),(0,y.useEffect)((function(){k&&s&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(k,"dblclick",s)))}),[s]),(0,y.useEffect)((function(){k&&l&&(null!==M&&google.maps.event.removeListener(M),L(google.maps.event.addListener(k,"dragend",l)))}),[l]),(0,y.useEffect)((function(){k&&c&&(null!==R&&google.maps.event.removeListener(R),D(google.maps.event.addListener(k,"dragstart",c)))}),[c]),(0,y.useEffect)((function(){k&&u&&(null!==N&&google.maps.event.removeListener(N),F(google.maps.event.addListener(k,"mousedown",u)))}),[u]),(0,y.useEffect)((function(){k&&f&&(null!==z&&google.maps.event.removeListener(z),$(google.maps.event.addListener(k,"mousemove",f)))}),[f]),(0,y.useEffect)((function(){k&&d&&(null!==H&&google.maps.event.removeListener(H),W(google.maps.event.addListener(k,"mouseout",d)))}),[d]),(0,y.useEffect)((function(){k&&p&&(null!==V&&google.maps.event.removeListener(V),K(google.maps.event.addListener(k,"mouseover",p)))}),[p]),(0,y.useEffect)((function(){k&&h&&(null!==Y&&google.maps.event.removeListener(Y),J(google.maps.event.addListener(k,"mouseup",h)))}),[h]),(0,y.useEffect)((function(){k&&m&&(null!==X&&google.maps.event.removeListener(X),Q(google.maps.event.addListener(k,"rightclick",m)))}),[m]),(0,y.useEffect)((function(){k&&g&&(null!==te&&google.maps.event.removeListener(te),ne(google.maps.event.addListener(k,"click",g)))}),[g]),(0,y.useEffect)((function(){k&&v&&(null!==ie&&google.maps.event.removeListener(ie),oe(google.maps.event.addListener(k,"drag",v)))}),[v]),(0,y.useEffect)((function(){k&&b&&(null!==se&&google.maps.event.removeListener(se),le(google.maps.event.addListener(k,"center_changed",b)))}),[g]),(0,y.useEffect)((function(){k&&_&&(null!==ue&&google.maps.event.removeListener(ue),fe(google.maps.event.addListener(k,"radius_changed",_)))}),[_]),(0,y.useEffect)((function(){var e=new google.maps.Circle(Mw(Mw({},t||px),{map:x}));return"number"==typeof r&&e.setRadius(r),void 0!==n&&e.setCenter(n),"number"==typeof r&&e.setRadius(r),void 0!==a&&e.setVisible(a),void 0!==o&&e.setEditable(o),void 0!==i&&e.setDraggable(i),s&&P(google.maps.event.addListener(e,"dblclick",s)),l&&L(google.maps.event.addListener(e,"dragend",l)),c&&D(google.maps.event.addListener(e,"dragstart",c)),u&&F(google.maps.event.addListener(e,"mousedown",u)),f&&$(google.maps.event.addListener(e,"mousemove",f)),d&&W(google.maps.event.addListener(e,"mouseout",d)),p&&K(google.maps.event.addListener(e,"mouseover",p)),h&&J(google.maps.event.addListener(e,"mouseup",h)),m&&Q(google.maps.event.addListener(e,"rightclick",m)),g&&ne(google.maps.event.addListener(e,"click",g)),v&&oe(google.maps.event.addListener(e,"drag",v)),b&&le(google.maps.event.addListener(e,"center_changed",b)),_&&fe(google.maps.event.addListener(e,"radius_changed",_)),C(e),w&&w(e),function(){null!==T&&google.maps.event.removeListener(T),null!==M&&google.maps.event.removeListener(M),null!==R&&google.maps.event.removeListener(R),null!==N&&google.maps.event.removeListener(N),null!==z&&google.maps.event.removeListener(z),null!==H&&google.maps.event.removeListener(H),null!==V&&google.maps.event.removeListener(V),null!==Y&&google.maps.event.removeListener(Y),null!==X&&google.maps.event.removeListener(X),null!==te&&google.maps.event.removeListener(te),null!==se&&google.maps.event.removeListener(se),null!==ue&&google.maps.event.removeListener(ue),S&&S(e),e.setMap(null)}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={circle:null},t.setCircleCallback=function(){null!==t.state.circle&&t.props.onLoad&&t.props.onLoad(t.state.circle)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.Circle(Mw(Mw({},this.props.options||{}),{map:this.context}));this.registeredEvents=$w({updaterMap:dx,eventMap:fx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{circle:e}}),this.setCircleCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.circle&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:dx,eventMap:fx,prevProps:e,nextProps:this.props,instance:this.state.circle}))},t.prototype.componentWillUnmount=function(){var e;null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),zw(this.registeredEvents),null===(e=this.state.circle)||void 0===e||e.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var hx={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},mx={add:function(e,t){e.add(t)},addgeojson:function(e,t,n){e.addGeoJson(t,n)},contains:function(e,t){e.contains(t)},foreach:function(e,t){e.forEach(t)},loadgeojson:function(e,t,n,r){e.loadGeoJson(t,n,r)},overridestyle:function(e,t,n){e.overrideStyle(t,n)},remove:function(e,t){e.remove(t)},revertstyle:function(e,t){e.revertStyle(t)},controlposition:function(e,t){e.setControlPosition(t)},controls:function(e,t){e.setControls(t)},drawingmode:function(e,t){e.setDrawingMode(t)},map:function(e,t){e.setMap(t)},style:function(e,t){e.setStyle(t)},togeojson:function(e,t){e.toGeoJson(t)}};(0,y.memo)((function(e){var t=e.options,n=e.onClick,r=e.onDblClick,i=e.onMouseDown,o=e.onMouseMove,a=e.onMouseOut,s=e.onMouseOver,l=e.onMouseUp,c=e.onRightClick,u=e.onAddFeature,f=e.onRemoveFeature,d=e.onRemoveProperty,p=e.onSetGeometry,h=e.onSetProperty,m=e.onLoad,g=e.onUnmount,v=(0,y.useContext)(jw),b=(0,y.useState)(null),_=b[0],w=b[1],S=(0,y.useState)(null),x=S[0],E=S[1],k=(0,y.useState)(null),C=k[0],O=k[1],T=(0,y.useState)(null),P=T[0],A=T[1],M=(0,y.useState)(null),L=M[0],I=M[1],R=(0,y.useState)(null),D=R[0],j=R[1],N=(0,y.useState)(null),F=N[0],B=N[1],z=(0,y.useState)(null),$=z[0],U=z[1],H=(0,y.useState)(null),W=H[0],q=H[1],V=(0,y.useState)(null),K=V[0],G=V[1],Y=(0,y.useState)(null),J=Y[0],Z=Y[1],X=(0,y.useState)(null),Q=X[0],ee=X[1],te=(0,y.useState)(null),ne=te[0],re=te[1],ie=(0,y.useState)(null),oe=ie[0],ae=ie[1];return(0,y.useEffect)((function(){null!==_&&_.setMap(v)}),[v]),(0,y.useEffect)((function(){_&&r&&(null!==x&&google.maps.event.removeListener(x),E(google.maps.event.addListener(_,"dblclick",r)))}),[r]),(0,y.useEffect)((function(){_&&i&&(null!==C&&google.maps.event.removeListener(C),O(google.maps.event.addListener(_,"mousedown",i)))}),[i]),(0,y.useEffect)((function(){_&&o&&(null!==P&&google.maps.event.removeListener(P),A(google.maps.event.addListener(_,"mousemove",o)))}),[o]),(0,y.useEffect)((function(){_&&a&&(null!==L&&google.maps.event.removeListener(L),I(google.maps.event.addListener(_,"mouseout",a)))}),[a]),(0,y.useEffect)((function(){_&&s&&(null!==D&&google.maps.event.removeListener(D),j(google.maps.event.addListener(_,"mouseover",s)))}),[s]),(0,y.useEffect)((function(){_&&l&&(null!==F&&google.maps.event.removeListener(F),B(google.maps.event.addListener(_,"mouseup",l)))}),[l]),(0,y.useEffect)((function(){_&&c&&(null!==$&&google.maps.event.removeListener($),U(google.maps.event.addListener(_,"rightclick",c)))}),[c]),(0,y.useEffect)((function(){_&&n&&(null!==W&&google.maps.event.removeListener(W),q(google.maps.event.addListener(_,"click",n)))}),[n]),(0,y.useEffect)((function(){_&&u&&(null!==K&&google.maps.event.removeListener(K),G(google.maps.event.addListener(_,"addfeature",u)))}),[u]),(0,y.useEffect)((function(){_&&f&&(null!==J&&google.maps.event.removeListener(J),Z(google.maps.event.addListener(_,"removefeature",f)))}),[f]),(0,y.useEffect)((function(){_&&d&&(null!==Q&&google.maps.event.removeListener(Q),ee(google.maps.event.addListener(_,"removeproperty",d)))}),[d]),(0,y.useEffect)((function(){_&&p&&(null!==ne&&google.maps.event.removeListener(ne),re(google.maps.event.addListener(_,"setgeometry",p)))}),[p]),(0,y.useEffect)((function(){_&&h&&(null!==oe&&google.maps.event.removeListener(oe),ae(google.maps.event.addListener(_,"setproperty",h)))}),[h]),(0,y.useEffect)((function(){if(null!==v){var e=new google.maps.Data(Mw(Mw({},t||{}),{map:v}));r&&E(google.maps.event.addListener(e,"dblclick",r)),i&&O(google.maps.event.addListener(e,"mousedown",i)),o&&A(google.maps.event.addListener(e,"mousemove",o)),a&&I(google.maps.event.addListener(e,"mouseout",a)),s&&j(google.maps.event.addListener(e,"mouseover",s)),l&&B(google.maps.event.addListener(e,"mouseup",l)),c&&U(google.maps.event.addListener(e,"rightclick",c)),n&&q(google.maps.event.addListener(e,"click",n)),u&&G(google.maps.event.addListener(e,"addfeature",u)),f&&Z(google.maps.event.addListener(e,"removefeature",f)),d&&ee(google.maps.event.addListener(e,"removeproperty",d)),p&&re(google.maps.event.addListener(e,"setgeometry",p)),h&&ae(google.maps.event.addListener(e,"setproperty",h)),w(e),m&&m(e)}return function(){_&&(null!==x&&google.maps.event.removeListener(x),null!==C&&google.maps.event.removeListener(C),null!==P&&google.maps.event.removeListener(P),null!==L&&google.maps.event.removeListener(L),null!==D&&google.maps.event.removeListener(D),null!==F&&google.maps.event.removeListener(F),null!==$&&google.maps.event.removeListener($),null!==W&&google.maps.event.removeListener(W),null!==K&&google.maps.event.removeListener(K),null!==J&&google.maps.event.removeListener(J),null!==Q&&google.maps.event.removeListener(Q),null!==ne&&google.maps.event.removeListener(ne),null!==oe&&google.maps.event.removeListener(oe),g&&g(_),_.setMap(null))}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={data:null},t.setDataCallback=function(){null!==t.state.data&&t.props.onLoad&&t.props.onLoad(t.state.data)},t}Aw(t,e),t.prototype.componentDidMount=function(){if(null!==this.context){var e=new google.maps.Data(Mw(Mw({},this.props.options||{}),{map:this.context}));this.registeredEvents=$w({updaterMap:mx,eventMap:hx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{data:e}}),this.setDataCallback)}},t.prototype.componentDidUpdate=function(e){null!==this.state.data&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:mx,eventMap:hx,prevProps:e,nextProps:this.props,instance:this.state.data}))},t.prototype.componentWillUnmount=function(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),zw(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var gx={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},vx={options:function(e,t){e.setOptions(t)},url:function(e,t){e.setUrl(t)},zIndex:function(e,t){e.setZIndex(t)}};function yx(e,t){return"function"==typeof t?t(e.offsetWidth,e.offsetHeight):{x:0,y:0}}function bx(e,t){return new t(e.lat,e.lng)}function _x(e,t){return new t(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng))}function wx(e,t,n,r){return void 0!==n?function(e,t,n){var r=e&&e.fromLatLngToDivPixel(n.getNorthEast()),i=e&&e.fromLatLngToDivPixel(n.getSouthWest());return r&&i?{left:"".concat(i.x+t.x,"px"),top:"".concat(r.y+t.y,"px"),width:"".concat(r.x-i.x-t.x,"px"),height:"".concat(i.y-r.y-t.y,"px")}:{left:"-9999px",top:"-9999px"}}(e,t,(i=n)instanceof(o=google.maps.LatLngBounds)?i:_x(i,o)):function(e,t,n){var r=e&&e.fromLatLngToDivPixel(n);if(r){var i=r.x,o=r.y;return{left:"".concat(i+t.x,"px"),top:"".concat(o+t.y,"px")}}return{left:"-9999px",top:"-9999px"}}(e,t,function(e,t,n){return e instanceof t?e:n(e,t)}(r,google.maps.LatLng,bx));var i,o}function Sx(e){return e?(e instanceof google.maps.LatLng?e:new google.maps.LatLng(e.lat,e.lng))+"":""}function xx(e){return e?(e instanceof google.maps.LatLngBounds?e:new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.east),new google.maps.LatLng(e.north,e.west)))+"":""}function Ex(){}!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={kmlLayer:null},t.setKmlLayerCallback=function(){null!==t.state.kmlLayer&&t.props.onLoad&&t.props.onLoad(t.state.kmlLayer)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.KmlLayer(Mw(Mw({},this.props.options),{map:this.context}));this.registeredEvents=$w({updaterMap:vx,eventMap:gx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{kmlLayer:e}}),this.setKmlLayerCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.kmlLayer&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:vx,eventMap:gx,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))},t.prototype.componentWillUnmount=function(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),zw(this.registeredEvents),this.state.kmlLayer.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent),(0,y.memo)((function(e){var t=e.position,n=e.bounds,r=e.mapPaneName,i=e.zIndex,o=e.onLoad,a=e.onUnmount,s=e.getPixelPositionOffset,l=e.children,c=(0,y.useContext)(jw),u=(0,y.useMemo)((function(){var e=document.createElement("div");return e.style.position="absolute",e}),[]),f=(0,y.useMemo)((function(){return function(e,t,n,r,i){var o=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.container=t,o.pane=n,o.position=r,o.bounds=i,o}return Aw(t,e),t.prototype.onAdd=function(){var e,t=null===(e=this.getPanes())||void 0===e?void 0:e[this.pane];null==t||t.appendChild(this.container)},t.prototype.draw=function(){for(var e=wx(this.getProjection(),Mw({},this.container?yx(this.container,i):{x:0,y:0}),this.bounds,this.position),t=0,n=Object.entries(e);t<n.length;t++){var r=n[t],o=r[0],a=r[1];this.container.style[o]=a}},t.prototype.onRemove=function(){null!==this.container.parentNode&&this.container.parentNode.removeChild(this.container)},t}(google.maps.OverlayView);return new o(e,t,n,r)}(u,r,t,n,s)}),[u,r,t,n]);return(0,y.useEffect)((function(){return null==o||o(f),null==f||f.setMap(c),function(){null==a||a(f),null==f||f.setMap(null)}}),[c,f]),(0,y.useEffect)((function(){u.style.zIndex="".concat(i)}),[i,u]),Tt.createPortal(l,u)})),function(e){function t(t){var n=e.call(this,t)||this;n.state={paneEl:null,containerStyle:{position:"absolute"}},n.updatePane=function(){var e=n.props.mapPaneName,t=n.overlayView.getPanes();Dw(!!e,"OverlayView requires props.mapPaneName but got %s",e),t?n.setState({paneEl:t[e]}):n.setState({paneEl:null})},n.onAdd=function(){var e,t;n.updatePane(),null===(t=(e=n.props).onLoad)||void 0===t||t.call(e,n.overlayView)},n.onPositionElement=function(){var e,t,r=wx(n.overlayView.getProjection(),Mw({x:0,y:0},n.containerRef.current?yx(n.containerRef.current,n.props.getPixelPositionOffset):{}),n.props.bounds,n.props.position),i=n.state.containerStyle;t={left:i.left,top:i.top,width:i.width,height:i.height},((e=r).left!==t.left||e.top!==t.top||e.width!==t.height||e.height!==t.height)&&n.setState({containerStyle:{top:r.top||0,left:r.left||0,width:r.width||0,height:r.height||0,position:"absolute"}})},n.draw=function(){n.onPositionElement()},n.onRemove=function(){var e,t;n.setState((function(){return{paneEl:null}})),null===(t=(e=n.props).onUnmount)||void 0===t||t.call(e,n.overlayView)},n.containerRef=(0,y.createRef)();var r=new google.maps.OverlayView;return r.onAdd=n.onAdd,r.draw=n.draw,r.onRemove=n.onRemove,n.overlayView=r,n}Aw(t,e),t.prototype.componentDidMount=function(){this.overlayView.setMap(this.context)},t.prototype.componentDidUpdate=function(e){var t=Sx(e.position),n=Sx(this.props.position),r=xx(e.bounds),i=xx(this.props.bounds);t===n&&r===i||this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()},t.prototype.componentWillUnmount=function(){this.overlayView.setMap(null)},t.prototype.render=function(){var e=this.state.paneEl;return e?Tt.createPortal((0,Tw.jsx)("div",{ref:this.containerRef,style:this.state.containerStyle,children:y.Children.only(this.props.children)}),e):null},t.FLOAT_PANE="floatPane",t.MAP_PANE="mapPane",t.MARKER_LAYER="markerLayer",t.OVERLAY_LAYER="overlayLayer",t.OVERLAY_MOUSE_TARGET="overlayMouseTarget",t.contextType=jw}(y.PureComponent);var kx={onDblClick:"dblclick",onClick:"click"},Cx={opacity:function(e,t){e.setOpacity(t)}};(0,y.memo)((function(e){var t=e.url,n=e.bounds,r=e.options,i=e.visible,o=(0,y.useContext)(jw),a=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),s=(0,y.useMemo)((function(){return new google.maps.GroundOverlay(t,a,Mw({},r))}),[]);return(0,y.useEffect)((function(){null!==s&&s.setMap(o)}),[o]),(0,y.useEffect)((function(){void 0!==t&&null!==s&&(s.set("url",t),s.setMap(o))}),[s,t]),(0,y.useEffect)((function(){void 0!==i&&null!==s&&s.setOpacity(i?1:0)}),[s,i]),(0,y.useEffect)((function(){var e=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east));void 0!==n&&null!==s&&(s.set("bounds",e),s.setMap(o))}),[s,n]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={groundOverlay:null},t.setGroundOverlayCallback=function(){null!==t.state.groundOverlay&&t.props.onLoad&&t.props.onLoad(t.state.groundOverlay)},t}Aw(t,e),t.prototype.componentDidMount=function(){Dw(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");var e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Mw(Mw({},this.props.options),{map:this.context}));this.registeredEvents=$w({updaterMap:Cx,eventMap:kx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{groundOverlay:e}}),this.setGroundOverlayCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.groundOverlay&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:Cx,eventMap:kx,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))},t.prototype.componentWillUnmount=function(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))},t.prototype.render=function(){return null},t.defaultProps={onLoad:Ex},t.contextType=jw}(y.PureComponent);var Ox={},Tx={data:function(e,t){e.setData(t)},map:function(e,t){e.setMap(t)},options:function(e,t){e.setOptions(t)}};(0,y.memo)((function(e){var t=e.data,n=e.onLoad,r=e.onUnmount,i=e.options,o=(0,y.useContext)(jw),a=(0,y.useState)(null),s=a[0],l=a[1];return(0,y.useEffect)((function(){google.maps.visualization||Dw(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)}),[]),(0,y.useEffect)((function(){Dw(!!t,"data property is required in HeatmapLayer %s",t)}),[t]),(0,y.useEffect)((function(){null!==s&&s.setMap(o)}),[o]),(0,y.useEffect)((function(){i&&null!==s&&s.setOptions(i)}),[s,i]),(0,y.useEffect)((function(){var e=new google.maps.visualization.HeatmapLayer(Mw(Mw({},i||{}),{data:t,map:o}));return l(e),n&&n(e),function(){null!==s&&(r&&r(s),s.setMap(null))}}),[]),null})),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={heatmapLayer:null},t.setHeatmapLayerCallback=function(){null!==t.state.heatmapLayer&&t.props.onLoad&&t.props.onLoad(t.state.heatmapLayer)},t}Aw(t,e),t.prototype.componentDidMount=function(){Dw(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),Dw(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var e=new google.maps.visualization.HeatmapLayer(Mw(Mw({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=$w({updaterMap:Tx,eventMap:Ox,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{heatmapLayer:e}}),this.setHeatmapLayerCallback)},t.prototype.componentDidUpdate=function(e){zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:Tx,eventMap:Ox,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})},t.prototype.componentWillUnmount=function(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),zw(this.registeredEvents),this.state.heatmapLayer.setMap(null))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent);var Px,Ax,Mx,Lx,Ix={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Rx={register:function(e,t,n){e.registerPanoProvider(t,n)},links:function(e,t){e.setLinks(t)},motionTracking:function(e,t){e.setMotionTracking(t)},options:function(e,t){e.setOptions(t)},pano:function(e,t){e.setPano(t)},position:function(e,t){e.setPosition(t)},pov:function(e,t){e.setPov(t)},visible:function(e,t){e.setVisible(t)},zoom:function(e,t){e.setZoom(t)}},Dx=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={streetViewPanorama:null},t.setStreetViewPanoramaCallback=function(){null!==t.state.streetViewPanorama&&t.props.onLoad&&t.props.onLoad(t.state.streetViewPanorama)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e,t,n=null!==(t=null===(e=this.context)||void 0===e?void 0:e.getStreetView())&&void 0!==t?t:null;this.registeredEvents=$w({updaterMap:Rx,eventMap:Ix,prevProps:{},nextProps:this.props,instance:n}),this.setState((function(){return{streetViewPanorama:n}}),this.setStreetViewPanoramaCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.streetViewPanorama&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:Rx,eventMap:Ix,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))},t.prototype.componentWillUnmount=function(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),zw(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={streetViewService:null},t.setStreetViewServiceCallback=function(){null!==t.state.streetViewService&&t.props.onLoad&&t.props.onLoad(t.state.streetViewService)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.StreetViewService;this.setState((function(){return{streetViewService:e}}),this.setStreetViewServiceCallback)},t.prototype.componentWillUnmount=function(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)},t.prototype.render=function(){return null},t.contextType=jw}(y.PureComponent),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={directionsService:null},t.setDirectionsServiceCallback=function(){null!==t.state.directionsService&&t.props.onLoad&&t.props.onLoad(t.state.directionsService)},t}Aw(t,e),t.prototype.componentDidMount=function(){Dw(!!this.props.options,"DirectionsService expected options object as parameter, but got %s",this.props.options);var e=new google.maps.DirectionsService;this.setState((function(){return{directionsService:e}}),this.setDirectionsServiceCallback)},t.prototype.componentDidUpdate=function(){null!==this.state.directionsService&&this.state.directionsService.route(this.props.options,this.props.callback)},t.prototype.componentWillUnmount=function(){null!==this.state.directionsService&&this.props.onUnmount&&this.props.onUnmount(this.state.directionsService)},t.prototype.render=function(){return null}}(y.PureComponent),{onDirectionsChanged:"directions_changed"}),jx={directions:function(e,t){e.setDirections(t)},map:function(e,t){e.setMap(t)},options:function(e,t){e.setOptions(t)},panel:function(e,t){e.setPanel(t)},routeIndex:function(e,t){e.setRouteIndex(t)}},Nx=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.state={directionsRenderer:null},t.setDirectionsRendererCallback=function(){null!==t.state.directionsRenderer&&(t.state.directionsRenderer.setMap(t.context),t.props.onLoad&&t.props.onLoad(t.state.directionsRenderer))},t}Aw(t,e),t.prototype.componentDidMount=function(){var e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=$w({updaterMap:jx,eventMap:Dx,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{directionsRenderer:e}}),this.setDirectionsRendererCallback)},t.prototype.componentDidUpdate=function(e){null!==this.state.directionsRenderer&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:jx,eventMap:Dx,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))},t.prototype.componentWillUnmount=function(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),zw(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},t.prototype.render=function(){return(0,Tw.jsx)(Tw.Fragment,{})},t.contextType=jw}(y.PureComponent),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={distanceMatrixService:null},t.setDistanceMatrixServiceCallback=function(){null!==t.state.distanceMatrixService&&t.props.onLoad&&t.props.onLoad(t.state.distanceMatrixService)},t}Aw(t,e),t.prototype.componentDidMount=function(){Dw(!!this.props.options,"DistanceMatrixService expected options object as parameter, but go %s",this.props.options);var e=new google.maps.DistanceMatrixService;this.setState((function(){return{distanceMatrixService:e}}),this.setDistanceMatrixServiceCallback)},t.prototype.componentDidUpdate=function(){null!==this.state.distanceMatrixService&&this.state.distanceMatrixService.getDistanceMatrix(this.props.options,this.props.callback)},t.prototype.componentWillUnmount=function(){null!==this.state.distanceMatrixService&&this.props.onUnmount&&this.props.onUnmount(this.state.distanceMatrixService)},t.prototype.render=function(){return null}}(y.PureComponent),{onPlacesChanged:"places_changed"}),Fx={bounds:function(e,t){e.setBounds(t)}},Bx=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.containerElement=(0,y.createRef)(),t.state={searchBox:null},t.setSearchBoxCallback=function(){null!==t.state.searchBox&&t.props.onLoad&&t.props.onLoad(t.state.searchBox)},t}Aw(t,e),t.prototype.componentDidMount=function(){if(Dw(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),null!==this.containerElement&&null!==this.containerElement.current){var e=this.containerElement.current.querySelector("input");if(null!==e){var t=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=$w({updaterMap:Fx,eventMap:Nx,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{searchBox:t}}),this.setSearchBoxCallback)}}},t.prototype.componentDidUpdate=function(e){null!==this.state.searchBox&&(zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:Fx,eventMap:Nx,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))},t.prototype.componentWillUnmount=function(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),zw(this.registeredEvents))},t.prototype.render=function(){return(0,Tw.jsx)("div",{ref:this.containerElement,children:y.Children.only(this.props.children)})},t.contextType=jw}(y.PureComponent),{onPlaceChanged:"place_changed"}),zx={bounds:function(e,t){e.setBounds(t)},restrictions:function(e,t){e.setComponentRestrictions(t)},fields:function(e,t){e.setFields(t)},options:function(e,t){e.setOptions(t)},types:function(e,t){e.setTypes(t)}},$x=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registeredEvents=[],t.containerElement=(0,y.createRef)(),t.state={autocomplete:null},t.setAutocompleteCallback=function(){null!==t.state.autocomplete&&t.props.onLoad&&t.props.onLoad(t.state.autocomplete)},t}Aw(t,e),t.prototype.componentDidMount=function(){var e;Dw(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);var t=null===(e=this.containerElement.current)||void 0===e?void 0:e.querySelector("input");if(t){var n=new google.maps.places.Autocomplete(t,this.props.options);this.registeredEvents=$w({updaterMap:zx,eventMap:Bx,prevProps:{},nextProps:this.props,instance:n}),this.setState((function(){return{autocomplete:n}}),this.setAutocompleteCallback)}},t.prototype.componentDidUpdate=function(e){zw(this.registeredEvents),this.registeredEvents=$w({updaterMap:zx,eventMap:Bx,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})},t.prototype.componentWillUnmount=function(){null!==this.state.autocomplete&&zw(this.registeredEvents)},t.prototype.render=function(){return(0,Tw.jsx)("div",{ref:this.containerElement,className:this.props.className,children:y.Children.only(this.props.children)})},t.defaultProps={className:""},t.contextType=jw}(y.PureComponent),{lat:47.6062,lng:-122.3321}),Ux={controlSize:32,scrollwheel:!1,disableDefaultUI:!0,zoomControl:!0,mapTypeControl:!0,mapTypeControlOptions:{mapTypeIds:["roadmap","hybrid"]},styles:[{elementType:"all",featureType:"all",stylers:[{saturation:-50}]},{elementType:"all",featureType:"administrative.country",stylers:[{gamma:2}]},{elementType:"all",featureType:"administrative.locality",stylers:[{gamma:1.5}]}]},Hx=function(e,t,n){if(n[t])return"string"==typeof n[t]?e[n[t]]:"function"==typeof n[t]?n[t](e):void 0},Wx=function(e){var t=e.className,n=e.data,r=void 0===n?[]:n,i=e.dataMap,o=e.getIcon,a=e.onItemClick,s=e.apiKey,l=e.mapClick,c=y.useMemo((function(){return r.map((function(e){var t={lng:Hx(e,"lng",i),lat:Hx(e,"lat",i),id:Hx(e,"id",i),title:Hx(e,"title",i),icon:o?o(e):void 0,click:a?function(){return a(e)}:void 0};return t.lng&&t.lat&&t.id?t:null})).filter((function(e){return!!e}))}),[r,i,o,a]);return y.createElement(er.a,{height:"100%",className:t},s&&y.createElement(tS,{googleMapsApiKey:s,version:"3",language:"en"},y.createElement(Ww,{mapContainerStyle:{height:"100%",minHeight:"300px",opacity:1},options:Ux,onLoad:function(e){return function(e,t){if(t.length){var n=function(e){var t=new google.maps.LatLngBounds;return e.forEach((function(e){t.extend(new google.maps.LatLng(isNaN(e.lat)?0:e.lat,isNaN(e.lng)?0:e.lng))})),t}(t);e.fitBounds(n)}else e.setCenter($x),e.setZoom(3);e.setOptions({zoomControlOptions:{position:google.maps.ControlPosition.TOP_RIGHT}});var r=google.maps.event.addListenerOnce(e,"idle",(function(){var t=e.getZoom();null!=t&&t>12&&e.setZoom(12),google.maps.event.removeListener(r)}))}(e,c)},onClick:l},c.map((function(e){return y.createElement(uS,{key:e.id,position:{lat:isNaN(e.lat)?0:e.lat,lng:isNaN(e.lng)?0:e.lng},clickable:c.length>1,onClick:e.click,title:e.title,icon:e.icon})})))))},qx=(0,w.default)(er.a)(Px||(Px=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\talign-self: center;\n"],["\n\tdisplay: flex;\n\talign-self: center;\n"]))),Vx=(0,w.default)(er.a)(Ax||(Ax=(0,d.__makeTemplateObject)(["\n\talign-self: center;\n\tcursor: pointer;\n"],["\n\talign-self: center;\n\tcursor: pointer;\n"]))),Kx=(0,w.default)(ti.s)(Mx||(Mx=(0,d.__makeTemplateObject)(["\n\ttext-align: center;\n\ttransition: max-height 0.4s ease-in-out;\n\talign-self: center;\n\toverflow: hidden;\n\n\ta {\n\t\twidth: 100%;\n\t\tdisplay: inline-block;\n\t}\n"],["\n\ttext-align: center;\n\ttransition: max-height 0.4s ease-in-out;\n\talign-self: center;\n\toverflow: hidden;\n\n\ta {\n\t\twidth: 100%;\n\t\tdisplay: inline-block;\n\t}\n"]))),Gx=function(e){function t(t){var n=e.call(this,t)||this;return n.state={open:!1},n}return(0,d.__extends)(t,e),t.prototype.toggle=function(){this.setState({open:!this.state.open})},t.prototype.render=function(){var e=this,t=this.props,n=t.brand,r=t.children,i=(0,d.__rest)(t,["brand","children"]);return y.createElement(er.a,(0,d.__assign)({},i),y.createElement(Ow,null,y.createElement(ti.s,{flexDirection:["column","row"]},y.createElement(ti.s,null,y.createElement(qx,{minWidth:"150px",height:"auto",p:2},n),r&&y.createElement(Vx,{onClick:function(){return e.toggle()},ml:["auto",0],p:2,display:["block","none"]},this.state.open?y.createElement(v.g,{icon:_.GR}):y.createElement(v.g,{icon:Ey.ck}))),y.createElement(Kx,{maxHeight:[this.state.open?"100vh":"0vh","none"],width:["100%","auto"],ml:[0,"auto"]},r&&y.createElement(ti.s,{width:["100%","auto"],flexDirection:["column","row"]},y.Children.map(r,(function(t,n){return y.createElement(er.a,{onClick:function(){return e.toggle()},width:["100%","auto"],p:2,key:n},t)})))))))},t}(y.Component),Yx=(0,xi.p)((function(e){return Object.assign({color:"white",bg:"gray.dark"},e)})),Jx=(0,xi.Z)(Yx)(Gx),Zx=y.createContext({}),Xx=w.default.div.withConfig({displayName:"StyledTabs__StyledTabsHeader",componentId:"sc-a4fwxl-0"})(["",";"],(function(e){return e.theme.tabs.header.extend}));Xx.defaultProps={},Object.setPrototypeOf(Xx.defaultProps,ge);var Qx=((Lx={})[!0]="1 1",Lx[!1]="0 0",Lx.grow="1 0",Lx.shrink="0 1",Lx),eE=(0,w.css)(["flex:",";"],(function(e){return Qx[e.flex]+(!0!==e.flex?" auto":"")})),tE=w.default.div.withConfig({displayName:"StyledTabs__StyledTabPanel",componentId:"sc-a4fwxl-1"})(["min-height:0;"," ",";"],(function(e){return e.flex&&eE}),(function(e){return e.theme.tabs.panel.extend}));tE.defaultProps={},Object.setPrototypeOf(tE.defaultProps,ge);var nE=w.default.div.withConfig({displayName:"StyledTabs",componentId:"sc-a4fwxl-2"})([""," ",";"],je,(function(e){return e.theme.tabs.extend}));nE.defaultProps={},Object.setPrototypeOf(nE.defaultProps,ge);var rE=["alignControls","children","flex","justify","messages","responsive"];function iE(){return iE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iE.apply(this,arguments)}var oE=(0,y.forwardRef)((function(e,t){var n=e.alignControls,r=e.children,i=e.flex,o=e.justify,a=void 0===o?"center":o,s=e.messages,l=e.responsive,c=void 0===l||l,u=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,rE),f=(0,y.useContext)(w.ThemeContext)||ge.theme,d=(0,y.useContext)(es).format,p=u.activeIndex,h=u.onActive,m=(0,y.useState)(u.activeIndex||0),g=m[0],v=m[1],b=(0,y.useState)(),_=b[0],x=b[1],E=(0,y.useState)(),k=E[0],C=E[1];g!==p&&void 0!==p&&v(p),delete u.activeIndex,delete u.onActive;var O=y.Children.map(r,(function(e,t){return y.createElement(Zx.Provider,{value:{activeIndex:g,active:g===t,onActivate:function(){return function(e){void 0===p&&v(e),h&&h(e)}(t)},setActiveContent:x,setActiveTitle:C}},e?y.cloneElement(e,{active:g===t}):e)})),T={};if(f.tabs.header&&f.tabs.header.border){var P=f.tabs.header.border.color||f.global.control.border.color;P=S(P,f),T.border={side:f.tabs.header.border.side,size:f.tabs.header.border.size,style:f.tabs.header.border.style,color:P}}var A=(k||"")+" "+d({id:"tabs.tabContents",messages:s});return y.createElement(nE,iE({ref:t,as:Ot,role:"tablist",flex:i,responsive:c},u,{background:f.tabs.background}),y.createElement(Xx,iE({as:Ot,direction:"row",justify:a,alignSelf:n,flex:!1,wrap:!0,background:f.tabs.header.background,gap:f.tabs.gap},T),O),y.createElement(tE,{flex:i,"aria-label":A,role:"tabpanel"},_))}));oE.displayName="Tabs",oE.propTypes={};var aE=(0,w.css)(["&:hover{"," "," ",";}"],(function(e){return e.theme.tab.hover.background&&(0,w.css)(["background:",";"],S(e.theme.tab.hover.background,e.theme))}),(function(e){return e.theme.tab.hover.color&&(0,w.css)(["color:",";"],S(e.theme.tab.hover.color,e.theme))}),(function(e){return e.theme.tab.hover.extend})),sE=w.default.div.withConfig({displayName:"StyledTab",componentId:"sc-1nnwnsb-0"})([""," "," "," ",""],je,(function(e){return!e.plain&&!e.disabled&&e.theme.tab.hover&&aE}),(function(e){return e.disabled&&e.theme.tab.disabled}),(function(e){return e.theme.tab.extend}));sE.defaultProps={},Object.setPrototypeOf(sE.defaultProps,ge);var lE=["active","disabled","children","icon","plain","title","onMouseOver","onMouseOut","reverse"];function cE(){return cE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cE.apply(this,arguments)}var uE=(0,y.forwardRef)((function(e,t){e.active;var n,r,i=e.disabled,o=e.children,a=e.icon,s=e.plain,l=e.title,c=e.onMouseOver,u=e.onMouseOut,f=e.reverse,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,lE),p=(0,y.useContext)(Zx),h=p.active,m=p.activeIndex,g=p.onActivate,v=p.setActiveContent,b=p.setActiveTitle,_=(0,y.useContext)(w.ThemeContext)||ge.theme,x=(0,y.useState)(void 0),E=x[0],k=x[1],C=(0,y.useState)(void 0),O=C[0],T=C[1],P=l,A={};if((0,y.useEffect)((function(){h&&(v(o),b("string"==typeof l?l:m+1))}),[h,m,o,v,b,l]),h&&i&&console.warn("Warning: Tab props 'active' and 'disabled' have both been set to TRUE on the same Tab resulting in an interesting Tab state. Is this your intent?"),!s){if(P="string"!=typeof l?l:h?y.createElement(An,_.tab.active,l):i&&_.tab.disabled?y.createElement(An,_.tab.disabled,l):y.createElement(An,{color:E?_.tab.hover.color:_.tab.color},l),_.tab.border){var M=_.tab.border.color||_.global.control.border.color;h?M=_.tab.border.active.color||M:i&&_.tab.border.disabled?M=_.tab.border.disabled.color||M:E&&(M=_.tab.border.hover.color||M),M=S(M,_),A.border={side:_.tab.border.side,size:_.tab.border.size,color:M}}A.background=h&&_.tab.active.background||_.tab.background,A.pad=_.tab.pad,A.margin=_.tab.margin}a&&(r=a,n=h?y.cloneElement(r,cE({},_.tab.active)):i?y.cloneElement(r,cE({},_.tab.disabled)):y.cloneElement(r,{color:E?_.tab.hover.color:_.tab.color}));var L,I=f?P:n,R=f?n:P;return I&&R&&(L={direction:"row",align:"center",justify:"center",gap:"small"}),y.createElement(Wn,cE({ref:t,plain:!0,role:"tab","aria-selected":h,"aria-expanded":h,disabled:i},d,{onClick:function(e){e&&e.preventDefault(),g()},onMouseOver:function(e){k(!0),c&&c(e)},onMouseOut:function(e){k(void 0),u&&u(e)},onFocus:function(){T(!0),c&&c()},onBlur:function(){T(void 0),u&&u()},style:O&&{zIndex:1}}),y.createElement(sE,cE({as:Ot,disabled:i,plain:s},L,A),I,R))}));uE.displayName="Tab",uE.defaultProps={},Object.setPrototypeOf(uE.defaultProps,ge),uE.propTypes={};var fE,dE,pE,hE,mE,gE,vE,yE,bE,_E,wE,SE,xE,EE,kE,CE,OE,TE,PE,AE,ME,LE,IE,RE,DE,jE=(0,w.default)(oE)(fE||(fE=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n\tdisplay: flex;\n\talign-items: stretch;\n\theight: 100%;\n\n\tdiv[role='tabpanel'] {\n\t\tdisplay: flex;\n\t\tflex: 1;\n\t}\n\n\t","\n"],["\n\tposition: relative;\n\tdisplay: flex;\n\talign-items: stretch;\n\theight: 100%;\n\n\tdiv[role='tabpanel'] {\n\t\tdisplay: flex;\n\t\tflex: 1;\n\t}\n\n\t","\n"])),(function(e){if(e.compact)return"\n\t\t\t\twidth: 100%;\n\n\t\t\t\t& > div {\n\t\t\t\t\tscroll-snap-type: x mandatory;\n\t\t\t\t\toverflow-x: scroll;\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tflex-wrap: nowrap;\n\t\t\t\t}\n\n\t\t\t\tdiv[role=tabpanel] {\n\t\t\t\t\toverflow-x: auto;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tdiv > button[role=tab] > div {\n\t\t\t\t\twhite-space: nowrap;\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\t\tscroll-snap-align: center;\n\t\t\t\t}\n\t\t\t"})),NE=function(e){return y.createElement(uE,(0,d.__assign)({},e))},FE=(0,b.Ay)((function(e){var t=e.children,n=e.compact,r=void 0!==n&&n,i=(0,d.__rest)(e,["children","compact"]);return y.createElement(jE,(0,d.__assign)({justify:"start",compact:r},i),t)})),BE=n(32902),zE=n(14154),$E=n(98766),UE=n(50693),HE=n.n(UE),WE=function(e){var t=Yh().t;return y.createElement(Fa,{title:e.title||t("actions_messages.confirmation"),cancel:function(){return e.onClose(!1)},done:function(){return e.onClose(!0)},primaryButtonProps:e.primaryButtonProps,action:e.action||t("actions.ok")},e.children)},qE=(0,w.default)(yi)(dE||(dE=(0,d.__makeTemplateObject)(["\n\tpadding: 8px 0 18px;\n"],["\n\tpadding: 8px 0 18px;\n"]))),VE=w.default.tr(pE||(pE=(0,d.__makeTemplateObject)(["\n\ttable > thead > & > td {\n\t\tpadding-top: 0;\n\t\tpadding-bottom: 0;\n\t}\n"],["\n\ttable > thead > & > td {\n\t\tpadding-top: 0;\n\t\tpadding-bottom: 0;\n\t}\n"]))),KE=w.default.tr(hE||(hE=(0,d.__makeTemplateObject)(["\n\ttable > thead > & > td {\n\t\theight: 30px;\n\t\tpadding-top: 5px;\n\t\tpadding-bottom: 5px;\n\t}\n"],["\n\ttable > thead > & > td {\n\t\theight: 30px;\n\t\tpadding-top: 5px;\n\t\tpadding-bottom: 5px;\n\t}\n"]))),GE="io.resin.",YE=function(e){var t=e.itemType,n=e.existingTags,r=e.overwritableTags,i=e.addTag,o=Yh().t,a=y.useState(""),s=a[0],l=a[1],c=y.useState(""),u=c[0],f=c[1],p=y.useState(!1),h=p[0],m=p[1],g=y.useState(),v=g[0],b=g[1],_=y.useState(!1),w=_[0],S=_[1],x=y.useState(),E=x[0],k=x[1],C=y.useRef(null),O=y.useRef(null),T="add-tag-form-".concat($E.v1()),P=function(e){var t=function(e,t,n){return[{test:function(){return!t||mc()(t)},message:e("fields_errors.tag_name_cannot_be_empty")},{test:function(){return/\s/.test(t)},message:e("fields_errors.tag_names_cannot_contain_whitespace")},{test:function(){return HE()(t,GE)},message:e("fields_errors.some_tag_keys_are_reserved",{namespace:GE})},{test:function(){return n.some((function(e){return"deleted"!==e.state&&e.tag_key===t}))},message:e("fields_errors.tag_with_same_name_exists")}]}(o,e,n).find((function(e){return e.test()})),r=!!t;return m(r),b(t),S(!r),r},A=zr((function(){if(!P(s))return(0,d.__awaiter)(void 0,void 0,void 0,(function(){var e,n,i;return(0,d.__generator)(this,(function(a){switch(a.label){case 0:return(e=Xs()(r||[],{tag_key:s}))?(n=e.items.length,[4,new Promise((function(e){var r={title:o("warnings.this_would_overwrite_tags",{itemType:t,count:n}),children:y.createElement(vi.Dy,null,o("warnings.tag_name_group_exists_and_will_be_overwritten",{itemType:t,count:n}),y.createElement("br",null),o("actions_confirmations.confirm_to_proceed")),action:o("actions.continue"),onClose:e};k(r)}))]):[2,!0];case 1:return i=a.sent(),k(void 0),[2,i]}}))})).then((function(e){e&&(i({tag_key:s,value:u}),l(""),f(""),m(!1),b(void 0),S(!1),C&&C.current&&C.current.blur(),O&&O.current&&O.current.blur())}))}));return y.createElement("thead",null,y.createElement(VE,{onKeyDown:function(e){return Br(e,13,A)}},y.createElement("td",null),y.createElement("td",null,y.createElement(_m,{form:T,width:"100%",ref:C,onChange:function(e){l(e.target.value),P(e.target.value)},value:s,invalid:h,placeholder:o("labels.tag_name")})),y.createElement("td",null,y.createElement(_m,{form:T,width:"100%",ref:O,onChange:function(e){return f(e.target.value)},value:u,placeholder:o("labels.value")})),y.createElement("td",null,y.createElement("form",{id:T,onSubmit:A},y.createElement(ei,{width:"120px",tertiary:!0,onClick:A,disabled:!w},o("actions.add_tag"))),E&&y.createElement(WE,(0,d.__assign)({},E)))),y.createElement(KE,null,y.createElement("td",null),y.createElement("td",{colSpan:2},v&&y.createElement(qE,{danger:!0,plaintext:!0},v.message)),y.createElement("td",null)))},JE=n(11012),ZE=n.n(JE),XE=n(68231),QE=n(85140),ek=n(61793),tk=w.default.button(mE||(mE=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tpadding: 0;\n\tborder: 0 none;\n\tfont-size: 16px;\n\tfont-weight: normal;\n\tcolor: #b3b6b9;\n\tbackground-color: transparent;\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tpadding: 0;\n\tborder: 0 none;\n\tfont-size: 16px;\n\tfont-weight: normal;\n\tcolor: #b3b6b9;\n\tbackground-color: transparent;\n"]))),nk=w.default.span(gE||(gE=(0,d.__makeTemplateObject)(["\n\tfont-size: 14px;\n"],["\n\tfont-size: 14px;\n"]))),rk=function(e){var t=e.isExpanded,n=e.onClick,r=e.children,i=e.className;return y.createElement(tk,{className:i,onClick:n},y.createElement("span",null,r),y.createElement(nk,{style:{marginLeft:r?"4px":0}},t?y.createElement(v.g,{icon:ek.S$}):y.createElement(v.g,{icon:QE.xB})))},ik=w.default.div(vE||(vE=(0,d.__makeTemplateObject)(["\n\tfont-size: 16px;\n\tfont-weight: normal;\n\tcolor: #b3b6b9;\n"],["\n\tfont-size: 16px;\n\tfont-weight: normal;\n\tcolor: #b3b6b9;\n"]))),ok=(0,w.default)(vi.Dy)(yE||(yE=(0,d.__makeTemplateObject)(["\n\tfont-size: 0.9em;\n\twhite-space: normal;\n\tcolor: ",";\n"],["\n\tfont-size: 0.9em;\n\twhite-space: normal;\n\tcolor: ",";\n"])),(function(e){return e.color||""})),ak=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isExpanded:!!n.props.initiallyExpanded},n}return(0,d.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.items,r=t.itemsType,i=t.maxVisibleItemCount,o=(0,Rr.Tv)(Xn,this.props,"main");return y.createElement(ik,null,1===n.length&&y.createElement(vi.Dy,{color:o},n[0]),n.length>1&&y.createElement("div",null,y.createElement(rk,{isExpanded:this.state.isExpanded,onClick:function(){return e.setState({isExpanded:!e.state.isExpanded})}},y.createElement("span",null,"".concat(n.length," ").concat(r))),this.state.isExpanded&&y.createElement(ok,{color:o},i&&n.length>i?"".concat(n.slice(0,i).join(", "),", ..."):n.join(", "))))},t}(y.Component),sk=n(5660),lk=n.n(sk),ck=function(e){return"\n\tfont-size: 14px;\n\tcolor: ".concat(e.theme.colors.text.main,";\n")},uk=(0,w.default)((function(e){return y.createElement(v.g,(0,d.__assign)({icon:XE.cN},e))}))(bE||(bE=(0,d.__makeTemplateObject)(["\n\t"," margin-left: 10px;\n"],["\n\t"," margin-left: 10px;\n"])),ck),fk=(0,w.default)((function(e){return y.createElement(v.g,(0,d.__assign)({icon:BE.Be},e))}))(_E||(_E=(0,d.__makeTemplateObject)(["\n\t",";\n"],["\n\t",";\n"])),ck),dk=(0,w.default)(ei)(wE||(wE=(0,d.__makeTemplateObject)(["\n\twidth: ","px;\n\ttext-align: left;\n"],["\n\twidth: ","px;\n\ttext-align: left;\n"])),100),pk=w.default.div(SE||(SE=(0,d.__makeTemplateObject)(["\n\tpadding-left: 17px;\n\tpadding-right: 17px;\n"],["\n\tpadding-left: 17px;\n\tpadding-right: 17px;\n"]))),hk=w.default.table(xE||(xE=(0,d.__makeTemplateObject)(["\n\twidth: 100%;\n\tmax-width: 100%;\n\tborder: none;\n\tborder-collapse: collapse;\n\tfont-size: 14px;\n\n\t& > thead > tr > th,\n\t& > thead > tr > td {\n\t\tpadding: 11px ","px;\n\t}\n\n\t& > thead > tr > th {\n\t\theight: 42px;\n\t\tfont-size: 16px;\n\t\tfont-weight: bold;\n\t\tbackground-color: #f2f2f2;\n\t}\n\n\t& > tbody > tr > td {\n\t\tpadding: 8px ","px;\n\t\theight: 50px;\n\t}\n\n\t& > tbody > tr:nth-of-type(even) {\n\t\tbackground-color: #f8f8f8;\n\t}\n\n\t& > thead > tr > th,\n\t& > tbody > tr > td {\n\t\tborder: none;\n\t\tvertical-align: middle;\n\t}\n"],["\n\twidth: 100%;\n\tmax-width: 100%;\n\tborder: none;\n\tborder-collapse: collapse;\n\tfont-size: 14px;\n\n\t& > thead > tr > th,\n\t& > thead > tr > td {\n\t\tpadding: 11px ","px;\n\t}\n\n\t& > thead > tr > th {\n\t\theight: 42px;\n\t\tfont-size: 16px;\n\t\tfont-weight: bold;\n\t\tbackground-color: #f2f2f2;\n\t}\n\n\t& > tbody > tr > td {\n\t\tpadding: 8px ","px;\n\t\theight: 50px;\n\t}\n\n\t& > tbody > tr:nth-of-type(even) {\n\t\tbackground-color: #f8f8f8;\n\t}\n\n\t& > thead > tr > th,\n\t& > tbody > tr > td {\n\t\tborder: none;\n\t\tvertical-align: middle;\n\t}\n"])),10,10),mk=w.default.tr(EE||(EE=(0,d.__makeTemplateObject)(["\n\t&:hover {\n\t\t",", "," {\n\t\t\topacity: 0.7;\n\t\t}\n\t}\n\n\t",", "," {\n\t\topacity: 0;\n\t\tcursor: pointer;\n\n\t\t&:hover {\n\t\t\topacity: 1;\n\t\t}\n\t}\n"],["\n\t&:hover {\n\t\t",", "," {\n\t\t\topacity: 0.7;\n\t\t}\n\t}\n\n\t",", "," {\n\t\topacity: 0;\n\t\tcursor: pointer;\n\n\t\t&:hover {\n\t\t\topacity: 1;\n\t\t}\n\t}\n"])),fk,uk,fk,uk),gk=w.default.th(kE||(kE=(0,d.__makeTemplateObject)(["\n\twidth: 36px;\n"],["\n\twidth: 36px;\n"]))),vk=(0,w.default)(gk.withComponent("td"))(CE||(CE=(0,d.__makeTemplateObject)(["\n\ttable > tbody > tr > & {\n\t\tpadding-left: 11px;\n\t\tpadding-right: 11px;\n\t}\n"],["\n\ttable > tbody > tr > & {\n\t\tpadding-left: 11px;\n\t\tpadding-right: 11px;\n\t}\n"]))),yk=w.default.th(OE||(OE=(0,d.__makeTemplateObject)(["\n\twidth: 30%;\n\tmax-width: 300px;\n\ttext-align: left;\n"],["\n\twidth: 30%;\n\tmax-width: 300px;\n\ttext-align: left;\n"]))),bk=yk.withComponent("td"),_k=(0,w.default)(bk)(TE||(TE=(0,d.__makeTemplateObject)(["\n\tfont-weight: bold;\n\tcolor: ",";\n"],["\n\tfont-weight: bold;\n\tcolor: ",";\n"])),(function(e){return"added"===e.state?e.theme.colors.warning.main:"inherit"})),wk=(0,w.default)(bk)(PE||(PE=(0,d.__makeTemplateObject)([""],[""]))),Sk=w.default.div(AE||(AE=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\tmax-width: 100%;\n\n\tcolor: ",";\n\n\t& > "," {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t}\n"],["\n\tdisplay: flex;\n\tmax-width: 100%;\n\n\tcolor: ",";\n\n\t& > "," {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t}\n"])),(function(e){return"added"===e.state||"updated"===e.state?e.theme.colors.warning.main:"deleted"===e.state?e.theme.colors.gray.main:"inherit"}),pk),xk=(0,w.default)(Sk)(ME||(ME=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\tcursor: pointer;\n\n\t& > "," {\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: flex-start;\n\t\tmax-width: 100%;\n\t}\n"],["\n\tdisplay: flex;\n\tcursor: pointer;\n\n\t& > "," {\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: flex-start;\n\t\tmax-width: 100%;\n\t}\n"])),pk),Ek=w.default.div(LE||(LE=(0,d.__makeTemplateObject)(["\n\tflex: 1;\n\toverflow: hidden;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n"],["\n\tflex: 1;\n\toverflow: hidden;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n"]))),kk=(0,w.default)(Sk)(IE||(IE=(0,d.__makeTemplateObject)(["\n\tdisplay: inline-flex;\n\twidth: 100%;\n\tmargin-bottom: ","px;\n\n\tposition: relative;\n\n\t&:after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tdisplay: block;\n\t\tbackground: ",";\n\t\theight: 2px;\n\t\ttop: 50%;\n\t}\n\n\t"," > &, "," > & {\n\t\tcolor: ",";\n\t}\n\n\t"," > &:after {\n\t\tright: ","px;\n\t}\n\n\t"," > & {\n\t\twidth: auto;\n\t\t&:after {\n\t\t\tleft: ","px;\n\t\t}\n\t}\n"],["\n\tdisplay: inline-flex;\n\twidth: 100%;\n\tmargin-bottom: ","px;\n\n\tposition: relative;\n\n\t&:after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tdisplay: block;\n\t\tbackground: ",";\n\t\theight: 2px;\n\t\ttop: 50%;\n\t}\n\n\t"," > &, "," > & {\n\t\tcolor: ",";\n\t}\n\n\t"," > &:after {\n\t\tright: ","px;\n\t}\n\n\t"," > & {\n\t\twidth: auto;\n\t\t&:after {\n\t\t\tleft: ","px;\n\t\t}\n\t}\n"])),(function(e){return"deleted"===e.state?0:6}),(function(e){return e.theme.colors.warning.main}),_k,wk,(function(e){return e.theme.colors.gray.main}),_k,-10,wk,-10),Ck=w.default.th(RE||(RE=(0,d.__makeTemplateObject)(["\n\tmin-width: ","px;\n"],["\n\tmin-width: ","px;\n"])),100),Ok=(0,w.default)(Ck.withComponent("td"))(DE||(DE=(0,d.__makeTemplateObject)(["\n\ttext-align: right;\n"],["\n\ttext-align: right;\n"]))),Tk=function(e){var t=e.items,n=e.itemType,r=e.titleField,i=e.tagField,o=e.cancel,a=e.done,s=Yh().t,l=y.useState(void 0),c=l[0],u=l[1],f=y.useState(),p=f[0],h=f[1],m=y.useState(),g=m[0],b=m[1],_=y.useMemo((function(){return function(e){var t={added:[],updated:[],deleted:[]};return e.forEach((function(e){e.state&&e.state in t&&Array.prototype.push.apply(t[e.state],e.items.map((function(t){return{resourceId:t.id,tag_key:e.tag_key,value:e.value}})))})),t}(p||[])}),[p]);if(y.useEffect((function(){var e=function(e,t){var n=Yb()(e,(function(e){return C_(e,t).map((function(t){return{tag_key_value:(n=t.tag_key,r=t.value,"".concat(n,": ").concat(r)),tag_key:t.tag_key,value:t.value,item:e};var n,r}))})),r=k_()(n,"tag_key_value");return Ai()(ud()(r).sort(),(function(e){var t=r[e],n=t[0];return{tag_key:n.tag_key,value:n.value,items:Ai()(t,"item")}}))}(t,i),n=lk()(e,(function(e){return e.items.length===t.length})),r=n[0],o=n[1];h(r),b(o)}),[t.length>0]),!p||!g)return null;var w=function(){if(c){var e=c.tag_key,t=p.map((function(t){return t.tag_key===e?c:t}));h(t)}u(void 0)};return y.createElement(Fa,{width:1e3,title:y.createElement("div",null,y.createElement(Li.D.h3,{mt:0,mb:10},t.length>1&&y.createElement("span",null,s("labels.shared")," "),s("labels.tags")),y.createElement(ak,{items:t.map((function(e){return("function"==typeof r?r(e):ZE()(e[r]))||"(".concat(s("no_data.no_name_set"),")")})).sort(),itemsType:s("resource."+n,{count:t.length}),maxVisibleItemCount:10})),cancel:o,done:zr((function(){return a(_)})),action:s("actions.apply_item_type_count",{count:t.length,itemType:s("labels."+n,{count:t.length}).toLowerCase()}),primaryButtonProps:{disabled:0===Object.values(_).filter((function(e){return e.length>0})).length}},y.createElement(ti.s,null,y.createElement(hk,null,y.createElement(YE,{itemType:n,existingTags:p,overwritableTags:g,addTag:function(e){var n=p.slice(),r=n.find((function(t){return"deleted"===t.state&&t.tag_key===e.tag_key}));if(r)r.initialValue=r.value,r.value=e.value,r.state="updated";else{var i={tag_key:e.tag_key,value:e.value,items:t.slice(),state:"added"};n.push(i),n=Nb()(n,"tag_key")}u(void 0),h(n)},t:s}),y.createElement("thead",null,y.createElement("tr",null,y.createElement(gk,null),y.createElement(yk,null,y.createElement(pk,null,s("labels.tag_name"))),y.createElement(yk,null,y.createElement(pk,null,s("labels.value"))),y.createElement(Ck,null))),y.createElement("tbody",null,p.length?Ai()(p,(function(e){var t=(null==c?void 0:c.tag_key)!==e.tag_key&&("deleted"===e.state||"updated"===e.state);return y.createElement(mk,(0,d.__assign)({key:e.tag_key},e),y.createElement(vk,null,"deleted"!==e.state&&y.createElement(ti.s,{alignItems:"center"},y.createElement(fk,{onClick:function(){return function(e){"added"!==e.state?(e.state="deleted",h(p.slice())):h(p.filter((function(t){return t!==e})))}(e)}}))),y.createElement(_k,{state:e.state},t&&y.createElement(kk,{state:e.state},y.createElement(pk,null,e.tag_key)),"deleted"!==e.state&&y.createElement(Sk,{state:e.state},y.createElement(pk,null,e.tag_key))),y.createElement(wk,null,t&&y.createElement(kk,{state:e.state},y.createElement(pk,null,e.value||" ")),(null==c?void 0:c.tag_key)!==e.tag_key&&"deleted"!==e.state&&y.createElement(xk,{state:e.state,onClick:function(){return function(e){e&&void 0===e.initialValue&&(e.initialValue=e.value||""),u(e)}(e)}},y.createElement(pk,null,y.createElement(Ek,null,e.value||" "),y.createElement(uk,null))),(null==c?void 0:c.tag_key)===e.tag_key&&y.createElement(_m,{width:"100%",autoFocus:!0,onKeyDown:function(e){return Br(e,13,w)},onFocus:function(e){var t=e.target,n=(t.value||"").length;n&&t.setSelectionRange(n,n)},onChange:function(e){return function(e){if(c){var t=(0,d.__assign)({},c);t.value=e,t.state||t.initialValue===e||(t.state="updated"),u(t)}}(e.target.value)},onBlur:function(){return w()},value:c.value,placeholder:s("labels.tag_value")})),y.createElement(Ok,null,e.state&&y.createElement(ti.s,{alignItems:"center",justifyContent:"flex-end"},y.createElement(dk,{plain:!0,primary:!0,icon:y.createElement(v.g,{icon:zE.U2}),onClick:function(){return function(e){"added"!==e.state?("updated"===e.state&&(e.value=e.initialValue||"",e.state=void 0),"deleted"===e.state&&(e.state=void 0),h(p.slice())):h(p.filter((function(t){return t!==e})))}(e)}},y.createElement("span",null,"added"===e.state?s("actions.undo_add"):"updated"===e.state?s("actions.undo_edit"):s("actions.undo_delete"))))))})):y.createElement("tr",null,y.createElement("td",null),y.createElement("td",{colSpan:3},y.createElement(pk,null,s("errors.no_tags_for_selected_itemtype",{count:t.length,itemType:n}))))))))},Pk=(0,w.default)(An).withConfig({displayName:"StyledAvatar__StyledAvatarText",componentId:"sc-1suyamb-0"})([""," ",""],(function(e){return e.theme.avatar&&e.theme.avatar.text&&e.theme.avatar.text.fontWeight&&"font-weight: "+e.theme.avatar.text.fontWeight+";"}),(function(e){return e.theme.avatar.text&&e.theme.avatar.text.extend}));Pk.defaultProps={},Object.setPrototypeOf(Pk.defaultProps,ge);var Ak=(0,w.default)(Ot).withConfig({displayName:"StyledAvatar",componentId:"sc-1suyamb-1"})(["",""],(function(e){return e.theme.avatar&&e.theme.avatar.extend}));Ak.defaultProps={},Object.setPrototypeOf(Ak.defaultProps,ge);var Mk=["align","children","height","justify","round","size","src","width"];function Lk(){return Lk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lk.apply(this,arguments)}var Ik=function(e){var t=e.align,n=void 0===t?"center":t,r=e.children,i=e.height,o=e.justify,a=void 0===o?"center":o,s=e.round,l=void 0===s?"full":s,c=e.size,u=void 0===c?"medium":c,f=e.src,d=e.width,p=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Mk),h=(0,y.useContext)(w.ThemeContext)||ge.theme,m=h.avatar.size[u]||u,g=h.avatar.text.size[u]||"large",v={align:n,height:m,justify:a,overflow:"hidden",round:l,width:m},b=function(){return y.createElement(Ak,Lk({},v,p),r)};return(i||d)&&console.warn("Avatar should use `size` instead of `height` or `width` props"),"string"==typeof f?y.createElement(Ak,Lk({},v,p,{background:"url("+f+")"})):"string"==typeof r?y.createElement(Ak,Lk({},v,p),y.createElement(Pk,{alignSelf:"center",size:g},r)):y.createElement(b,null)};Ik.propTypes={};var Rk,Dk=n(33348),jk=(0,b.Ay)((function(e){var t=e.theme,n=e.src,r=e.firstName,i=e.lastName,o=e.emphasized,a=(0,d.__rest)(e,["theme","src","firstName","lastName","emphasized"]),s=function(e,t){return"".concat((null==e?void 0:e.charAt(0).toUpperCase())||"").concat((null==t?void 0:t.charAt(0).toUpperCase())||"")}(r,i);return y.createElement(y.Fragment,null,n&&y.createElement(Ik,(0,d.__assign)({size:o?(0,Vn.px)(t.fontSizes[6]):(0,Vn.px)(t.fontSizes[5]),src:n,background:t.colors.quartenary.dark},a)),s&&!n&&y.createElement(Ik,(0,d.__assign)({background:t.colors.quartenary.dark,size:o?(0,Vn.px)(t.fontSizes[6]):(0,Vn.px)(t.fontSizes[5])},a),y.createElement(vi.Dy,{color:"white"},s)),!s&&!n&&y.createElement(Ik,(0,d.__assign)({background:t.colors.quartenary.dark,size:o?(0,Vn.px)(t.fontSizes[6]):(0,Vn.px)(t.fontSizes[5])},a),y.createElement(v.g,{style:{color:t.colors.quartenary.dark,background:"white"},size:o?"3x":"2x",icon:Dk.VF})))}));!function(e){e.DEFAULT="default",e.ESR="esr"}(Rk||(Rk={}));var Nk,Fk,Bk,zk,$k,Uk,Hk,Wk="https://dashboard.balena-cloud.com/img/unknown-device.svg",qk={dev:"Development",prod:"Production"},Vk={windows:"Windows",osx:"MacOS",linux:"Linux"},Kk=y.memo((function(e){var t,n,r,i,o=e.deviceType,a=e.templateData,s=Yh().t,l=y.useState((i=window.navigator.platform.toLowerCase()).includes("win")?"Windows":i.includes("mac")?"MacOS":i.includes("x11")||i.includes("linux")?"Linux":"Unknown"),c=l[0],u=l[1],f=y.useMemo((function(){if(null==(null==o?void 0:o.instructions)||Array.isArray(o.instructions)||"object"!=typeof o.instructions)return null==o?void 0:o.instructions;var e=o.instructions;return Object.fromEntries(Object.entries(e).map((function(e){var t=e[0],n=e[1];return[t in Vk?Vk[t]:t,n]})))}),[null==o?void 0:o.instructions]),p=null!=f&&!Array.isArray(f)&&"object"==typeof f,h="Unknown"===c?"Linux":c;if(y.useEffect((function(){if(p){var e=Object.keys(f);!e.includes(c)&&e.length>0&&u(e[0])}}),[c,u,f,p]),!o||!f)return y.createElement(vi.Dy,null,s("no_data.no_instructions_found"));var m=null===(t=p?f[h]:f)||void 0===t?void 0:t.map((function(e){return t=a,n=e.replace(/<a/,'<a target="_blank"'),Vh()(n,{interpolate:/{{([\s\S]+?)}}/g})(t);var t,n})),g="docker-image"===(null===(n=o.yocto)||void 0===n?void 0:n.deployArtifact),v=m?(0,d.__spreadArray)((0,d.__spreadArray)([s(g?"actions.use_form_to_download_configuration":"actions.use_from_to_configure_and_download")],m,!0),[s("actions_messages.appearance_device_explanation")],!1):null;return y.createElement(ti.s,{flexDirection:"column",alignItems:"flex-start"},y.createElement(Li.D.h5,{mb:3},s("labels.instructions")),p&&y.createElement(er.a,{mb:3},y.createElement(FE,{activeIndex:null!==(r=Object.keys(f).indexOf(c))&&void 0!==r?r:0,onActive:function(e){var t;return u(null!==(t=Object.keys(f)[e])&&void 0!==t?t:"Unknown")}},Object.keys(f).map((function(e){return y.createElement(NE,{key:e,title:e})})))),null!=v&&y.createElement(Yk,{instructions:v}),y.createElement(ti.s,{mt:4},y.createElement(vi.Dy,null,"For more details please refer to our"," ",y.createElement(Fi.N,{blank:!0,href:"https://www.balena.io/docs/learn/getting-started/".concat(o.slug,"/nodejs/")},"Getting Started Guide"),".")))})),Gk=function(e){var t=e.node;return y.createElement("span",{dangerouslySetInnerHTML:{__html:t}})},Yk=function(e){var t=e.instructions;return y.createElement(ch,{ordered:!0,fontSize:14},t.map((function(e,t){return y.createElement(Gk,{key:"".concat(e,"_").concat(t),node:e})})))},Jk=n(49475),Zk=n(40640),Xk=n.n(Zk),Qk=function(e){var t=e.children,n=e.collapsible,r=e.initiallyCollapsed,i=e.title,o=y.useState(r),a=o[0],s=o[1];return n?y.createElement(er.a,{mb:3},y.createElement(ei,{plain:!0,icon:a?y.createElement(v.g,{icon:Lm.QL}):y.createElement(v.g,{icon:z_.EZ}),onClick:function(){return s((function(e){return!e}))}},i),!a&&y.createElement(er.a,{mt:3},t)):y.createElement(er.a,{mb:3},t)},eC=n(1722),tC=n(18353),nC=w.default.div(Nk||(Nk=(0,d.__makeTemplateObject)(["\n\tposition: relative;\n"],["\n\tposition: relative;\n"]))),rC=(0,w.default)(ei)(Fk||(Fk=(0,d.__makeTemplateObject)(["\n\tposition: absolute;\n\tright: 16px;\n\ttop: 50%;\n\ttransform: translate(0, -50%);\n"],["\n\tposition: absolute;\n\tright: 16px;\n\ttop: 50%;\n\ttransform: translate(0, -50%);\n"]))),iC=function(e){var t=y.useState(!1),n=t[0],r=t[1];return y.createElement(nC,null,y.createElement(_m,(0,d.__assign)({},e,{mb:0,pr:5,type:n?"text":"password"})),y.createElement(rC,{plain:!0,icon:n?y.createElement(v.g,{icon:eC.pS}):y.createElement(v.g,{icon:tC.k6}),onClick:function(){return r((function(e){return!e}))}}))},oC=n(80565),aC=n(96243),sC=(0,w.default)(vi.Dy.span)(Bk||(Bk=(0,d.__makeTemplateObject)(["\n\t&:hover {\n\t\tcolor: ",";\n\t}\n"],["\n\t&:hover {\n\t\tcolor: ",";\n\t}\n"])),(function(e){return e.theme.colors.tertiary.dark})),lC=function(e){var t=e.emphasized,n=(0,d.__rest)(e,["emphasized"]);return y.createElement(sC,(0,d.__assign)({fontSize:t?3:void 0,color:"primary.main",ml:2},n),y.createElement(v.g,{icon:aC.wR}))},cC=function(e){var t,n,r,i=e.deviceType,o=e.isSelected,a=e.emphasized,s=e.isOption,l=void 0!==s&&s,c=Yh().t,u=null!==(t=null==i?void 0:i.name)&&void 0!==t?t:c("placeholders.choose_device_type"),f=null!==(n=null==i?void 0:i.logo)&&void 0!==n?n:Wk,d=null!==(r=null==i?void 0:i.name)&&void 0!==r?r:"-";return y.createElement(ti.s,{style:{height:a?46:36},py:2,pl:3,width:"100%",alignItems:"center"},y.createElement(MC,{src:f,title:d}),y.createElement(vi.Dy,{className:l?"e2e-device-type-option":"",ml:2,bold:o},u))},uC=y.memo((function(e){var t=e.deviceTypeOptions,n=e.selectedDeviceType,r=e.selectDeviceTypeOption,i=e.emphasized,o=e.id,a=y.useState(""),s=a[0],l=a[1],c=y.useState([]),u=c[0],f=c[1];return y.useEffect((function(){var e=t.filter((function(e){return e.name.toLowerCase().indexOf(s.toLowerCase())>=0}));f(e)}),[t,s]),y.useEffect((function(){0!==t.length&&(t.some((function(e){return e.slug===n.slug}))||r(null))}),[t,n,r]),y.createElement(Cs,{id:o,emphasized:i,options:u,valueKey:"slug",labelKey:"name",value:n||{},placeholder:y.createElement(cC,{emphasized:i}),valueLabel:y.createElement(cC,{emphasized:i,deviceType:n}),onChange:function(e){var t=e.option;r(t),l("")},onSearch:l},(function(e){return y.createElement(cC,{deviceType:e,isSelected:e.slug===n.slug,isOption:!0})}))})),fC=function(e){var t=e.osType,n=e.bold,r=Yh().t;return t?y.createElement(ti.s,{width:"100%",justifyContent:"space-between",alignItems:"center"},y.createElement(vi.Dy.span,{bold:n},function(e){switch(e){case Rk.DEFAULT:return"balenaOS";case Rk.ESR:return"balenaOS ESR";default:return"unknown"}}(t.slug)),y.createElement(ti.s,null,!t.supportedForDeviceType&&y.createElement(Si,{mx:2,shade:11},r("no_data.no_versions_yet")),!t.supportedForApp&&y.createElement(Si,{shade:6,mx:2},r("info.production_and_enterprise_plan_only")))):y.createElement(vi.Dy.span,null,r("placeholders.select_os_type"))},dC=function(e){var t=e.supportedOsTypes,n=e.hasEsrVersions,r=e.selectedOsTypeSlug,i=e.onSelectedOsTypeChange,o=(0,d.__rest)(e,["supportedOsTypes","hasEsrVersions","selectedOsTypeSlug","onSelectedOsTypeChange"]),a=Yh().t,s=Object.values({default:Rk.DEFAULT,ESR:Rk.ESR}).map((function(e){var r=e!==Rk.ESR||n,i=t.includes(e);return{slug:e,disabled:!i||!r,supportedForDeviceType:r,supportedForApp:i}})),l=s.find((function(e){return e.slug===r&&e.supportedForDeviceType}));return y.createElement(Cs,(0,d.__assign)({id:"newAppApplicationType",options:s,valueKey:"slug",disabledKey:"disabled",disabled:0===t.length,value:l,valueLabel:y.createElement(ti.s,{width:"100%",py:2,pl:3},y.createElement(fC,{osType:l})),onChange:function(e){var t=e.option;return!t.disabled&&i(t.slug)}},o),(function(e){return y.createElement(ti.s,{tooltip:e.supportedForDeviceType?void 0:a("info.no_esr_versions_are_available_for_device_type"),flexDirection:"column",py:2,pl:3},y.createElement(fC,{osType:e,bold:r===e.slug}))}))},pC=w.default.label(zk||(zk=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\theight: 21px;\n\tfont-size: 12px;\n\tmargin-bottom: 8px;\n\tfont-weight: normal;\n"],["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\theight: 21px;\n\tfont-size: 12px;\n\tmargin-bottom: 8px;\n\tfont-weight: normal;\n"]))),hC={next:1,current:0,sunset:12,outdated:5},mC=["dev","prod"],gC=function(e){var t=e.version,n=e.variant,r=e.onVariantChange,i=e.t,o=mC.map((function(e){var o=y.createElement(vi.Dy.span,{bold:!0},function(e){return qk[e]||e}(e));return"dev"===e&&(o=y.createElement(y.Fragment,null,o,y.createElement(yi,{ml:3,info:!0,plaintext:!0},i("info.recommended_for_new_users")))),{label:o,disabled:null==t||t.hasPrebuiltVariants&&!t.rawVersions[e],checked:e===n,onChange:function(){return r(e)}}})),a=o[0],s=o[1];return y.createElement(y.Fragment,null,y.createElement(lb,(0,d.__assign)({},a)),y.createElement(vi.Dy.p,{fontSize:1,mt:1,mb:3,color:"tertiary.main"},i("info.development_images_for_local_development_1")," ",y.createElement(Fi.N,{href:"https://balena.io/docs/development/local-mode/",blank:!0},i("info.development_images_for_local_development_2"))," ",i("info.development_images_for_local_development_3")," ",y.createElement("strong",null,i("info.development_images_for_local_development_4"))),y.createElement(lb,(0,d.__assign)({},s)),y.createElement(vi.Dy.p,{fontSize:1,mt:1,color:"tertiary.main"},i("info.production_images_not_for_local_development")))},vC=function(e){var t,n,r=e.t,i=e.option,o=e.theme;return y.createElement(ti.s,{alignItems:"center",py:2,pl:3,tooltip:null!==(t=i.knownIssueList)&&void 0!==t?t:void 0,maxWidth:"445px"},y.createElement(vi.Dy,{mr:2},i.title)," ",!!i.line&&y.createElement(Si,{ml:1,shade:null!==(n=hC[i.line])&&void 0!==n?n:0},i.line),!!i.isRecommended&&y.createElement(Si,{ml:1,shade:20},r("labels.recommended")),!!i.knownIssueList&&y.createElement(er.a,{ml:2,tooltip:i.knownIssueList,display:"contents",style:{lineHeight:"normal"}},y.createElement(v.g,{color:o.colors.warning.main,icon:m.zp}),y.createElement(vi.Dy,{ml:1,truncate:!0},i.knownIssueList)))},yC=function(e){var t=e.deviceTypeOsVersions,n=e.compatibleDeviceTypes,r=e.selectedDeviceType,i=e.osTypes,o=e.hasEsrVersions,a=e.selectedOsType,s=e.isInitialDefault,l=e.onSelectedVersionChange,c=e.onSelectedDevelopmentMode,u=e.onSelectedDeviceTypeChange,f=e.onSelectedOsTypeChange,p=e.docsIcon,h=Xv(),m=Yh().t,g=y.useState(!1),v=g[0],b=g[1],_=y.useState(),w=_[0],S=_[1],x=y.useState("prod"),E=x[0],k=x[1],C=function(e,t,n){var r,i,o=null!==(r=e[t.slug])&&void 0!==r?r:[],a=n?o.filter((function(e){return e.osType===n})):o,s=(i={},a.forEach((function(e){var t,n,r=i[e.strippedVersion],o=null!==(n="dev"===e.variant?null==r?void 0:r.title:null)&&void 0!==n?n:e.strippedVersion;i[e.strippedVersion]=(0,d.__assign)({title:o,value:e.strippedVersion,osType:e.osType,line:e.line,isRecommended:e.isRecommended,knownIssueList:e.known_issue_list},e.variant?{hasPrebuiltVariants:!0,rawVersions:(0,d.__assign)((0,d.__assign)({},null!=r&&"rawVersions"in r&&r.rawVersions),(t={},t[e.variant]=e.raw_version,t))}:{hasPrebuiltVariants:!1,rawVersion:e.raw_version})})),Object.values(i)),l=function(e){var t=lk()(e,(function(e){var t,n=null===(t=e.value.match(/\d+/))||void 0===t?void 0:t.join();return n&&parseInt(n,10)>1})),n=t[0],r=t[1],i=n.length?n:r;if(Zb()(i.map((function(e){return e.line}))).length>1){var o={};return i.forEach((function(e){e.line&&!o[e.line]&&(o[e.line]=e)})),Object.values(o)}for(var a=[],s=function(e){if(a.length>=3)return"break";var t=e.value.match(/\d+\.\d+\./);t&&!a.find((function(e){return e.value.startsWith(t[0])}))&&a.push(e)},l=0,c=i;l<c.length&&"break"!==s(c[l]);l++);return a}(s);return{selectionOpts:s,preferredSelectionOpts:l}}(t,r,a),O=C.selectionOpts,T=C.preferredSelectionOpts,P=v?O:T,A=T.length<O.length;y.useEffect((function(){if(w){var e=w.hasPrebuiltVariants?w.rawVersions[E]:w.rawVersion;e&&(l(e),c("dev"===E)),w.hasPrebuiltVariants&&!w.rawVersions[E]&&k("dev"===E?"prod":"dev")}}),[w,E]);var M=y.useCallback((function(e){if((null==r?void 0:r.slug)!==e.slug){var t=null==n?void 0:n.find((function(t){return t.slug===e.slug}));t&&u(t)}}),[n,r]);return y.useEffect((function(){var e;S(null!==(e=P.find((function(e){return e.isRecommended})))&&void 0!==e?e:P[0])}),[r,a]),y.createElement(y.Fragment,null,y.createElement(ti.s,{mb:3,mx:-2},n.length>1&&y.createElement(er.a,{flex:3,mx:2},y.createElement(pC,null,m("placeholders.select_device_type"),y.createElement(lC,{tooltip:m("info.applications_support_devices_with_same_architecture")})),y.createElement(uC,{deviceTypeOptions:n,selectedDeviceType:r,selectDeviceTypeOption:M})),(!s||!a)&&o&&y.createElement(er.a,{flex:2,mx:2},y.createElement(pC,null,m("placeholders.select_os_type_status")," ",y.createElement(bC,{href:"https://www.balena.io/docs/reference/OS/extended-support-release",docsIcon:p})),y.createElement(dC,{supportedOsTypes:i,hasEsrVersions:o,selectedOsTypeSlug:a,onSelectedOsTypeChange:f}))),(!s||!w)&&y.createElement(er.a,{mb:3},y.createElement(pC,null,m("placeholders.select_version")),y.createElement(ti.s,{alignItems:"center",mx:-2},y.createElement(er.a,{flex:3,mx:2},y.createElement(Cs,{id:"e2e-download-image-versions-list",valueKey:"value",labelKey:"title",emptySearchMessage:"No version available for this application type",value:w,valueLabel:w&&y.createElement(vC,{t:m,option:w,theme:h}),placeholder:"Choose a version...",onChange:function(e){var t=e.option;S(t)},options:P},(function(e){return y.createElement(vC,{t:m,option:e,theme:h})}))),A&&y.createElement(er.a,{flex:2,mx:2},y.createElement(xo,{checked:v,label:"Show outdated versions",onChange:function(e){var t,n=e.target.checked;if(b(n),!n&&w&&!T.some((function(e){return e.value===w.value}))){var r=null!==(t=T.find((function(e){return e.isRecommended})))&&void 0!==t?t:null==T?void 0:T[0];r&&S(r)}},className:"e2e-show-outdated-images"})))),(!s||!E)&&y.createElement(er.a,null,y.createElement(pC,null,m("placeholders.select_edition")),y.createElement(er.a,null,y.createElement(gC,{t:m,version:w,variant:E,onVariantChange:k}))))},bC=function(e){var t=e.href,n=e.docsIcon;return y.createElement(Fi.N,{blank:!0,href:t,fontSize:2,ml:2},n?y.createElement(v.g,{icon:n}):y.createElement(v.g,{icon:oC.h8}))},_C=w.default.label($k||($k=(0,d.__makeTemplateObject)(["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\theight: 21px;\n\tfont-size: 12px;\n\tmargin-bottom: 8px;\n\tfont-weight: normal;\n"],["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\theight: 21px;\n\tfont-size: 12px;\n\tmargin-bottom: 8px;\n\tfont-weight: normal;\n"]))),wC=function(e){return e.default?e.default:e.choices?e.choices[0]:"number"===e.type&&e.min?e.min:void 0},SC=function(e){var t,n,r,i,o=e.onModelChange,a=e.options,s=e.model,l=Yh().t;y.useEffect((function(){var e;s[a.name]||null!=wC(a)&&o(((e={})[a.name]=wC(a),e))}),[a,s,o]);var c=y.useMemo((function(){var e=s[a.name];if(void 0!==e&&"number"==typeof e){if(a.min&&e<a.min)return l("fields_errors.does_not_satisfy_minimum",{minimum:a.min});if(a.max&&e>a.max)return l("fields_errors.does_not_satisfy_maximum",{maximum:a.max})}}),[a,s]);return y.createElement("div",{style:a.hidden?{display:"none"}:{}},a.hidden&&y.createElement("input",{name:a.name,value:s[a.name],onChange:function(e){var t;return o(((t={})[a.name]=e.target.value,t))}}),!a.hidden&&y.createElement(y.Fragment,null,"confirm"!==a.type&&y.createElement(_C,null,a.message,!!a.docs&&y.createElement(bC,{href:a.docs})),"list"===a.type&&1===(null===(t=a.choices)||void 0===t?void 0:t.length)&&y.createElement("div",null,y.createElement("input",{type:"hidden",name:a.name,value:s[a.name],onChange:function(e){var t;return o(((t={})[a.name]=e.target.value,t))}}),y.createElement("em",null,"(",a.choices[0],")")),"list"===a.type&&2===(null===(n=a.choices)||void 0===n?void 0:n.length)&&y.createElement(y.Fragment,null,y.createElement("input",{type:"hidden",name:a.name,value:s[a.name]}),y.createElement(er.a,{mr:4},y.createElement(Lb,{options:a.choices.map((function(e){var t,n;return{disabled:!1,value:e,label:null!==(n=null===(t=a.choicesLabels)||void 0===t?void 0:t[e])&&void 0!==n?n:e}})),value:s[a.name],onChange:function(e){var t;return o(((t={})[a.name]=e.target.value,t))}}))),"list"===a.type&&(null!==(i=null===(r=a.choices)||void 0===r?void 0:r.length)&&void 0!==i?i:0)>2&&y.createElement(Cs,{name:a.name,options:a.choices,width:"100%",value:s[a.name],onChange:function(e){var t,n=e.option;return o(((t={})[a.name]=n,t))}}),"confirm"===a.type&&y.createElement(xo,{mb:2,name:a.name,label:a.message,checked:s[a.name],onChange:function(e){var t;return o(((t={})[a.name]=e.target.checked,t))}}),"number"===a.type&&y.createElement(_m,{mb:2,name:a.name,type:"number",onChange:function(e){var t,n=Xk()(e.target.value);isNaN(n)||o(((t={})[a.name]=n,t))},value:s[a.name],min:a.min,max:a.max}),"password"===a.type&&y.createElement(er.a,{mb:2},y.createElement(iC,{name:a.name,onChange:function(e){var t;return o(((t={})[a.name]=e.target.value,t))},value:s[a.name],autoComplete:"new-password"})),"datetime-local"===a.type&&y.createElement(y.Fragment,null,y.createElement("input",{type:"hidden",name:a.name,value:s[a.name]?new Date(s[a.name]).toISOString():void 0}),y.createElement(_m,{mb:2,type:"datetime-local",value:s[a.name]?s[a.name]:void 0,onChange:function(e){var t;o(((t={})[a.name]=e.currentTarget.value,t))},onKeyPress:function(e){var t;"Enter"===e.key&&s[a.name]&&o(((t={})[a.name]=void 0,t))}})),(!a.type||"text"===a.type)&&y.createElement(_m,{mb:2,type:"text",name:a.name,onChange:function(e){var t;return o(((t={})[a.name]=e.target.value,t))},value:s[a.name],autoComplete:"new-password"}),c&&y.createElement(vi.Dy,{color:"red",fontSize:10},c)))},xC=function(e){var t=e.onModelChange,n=e.model,r=e.options;return function(e,t){if(!e)return!0;for(var n in e)if(e[n]&&e[n]!==t[n])return!1;return!0}(r.when,n)?y.createElement(SC,{options:r,model:n,onModelChange:t}):null},EC=function(e){var t=e.onModelChange,n=e.model,r=e.options;return y.createElement(y.Fragment,null,y.createElement(Mi.c,{type:"dashed"}),y.createElement(Qk,{collapsible:!!r.isCollapsible,initiallyCollapsed:r.collapsed,title:r.message},y.createElement(kC,{onModelChange:t,options:r.options,model:n})))},kC=function(e){var t=e.onModelChange,n=e.model,r=e.options;return y.createElement(y.Fragment,null,r.map((function(e){return y.createElement(y.Fragment,{key:e.name},e.isGroup&&y.createElement(EC,{onModelChange:t,model:n,options:e}),!e.isGroup&&y.createElement(xC,{onModelChange:t,model:n,options:e}))})))},CC=function(e){var t=e.model,n=e.onModelChange,r=e.options;return r?y.createElement(kC,{onModelChange:function(e){return n((0,d.__assign)((0,d.__assign)({},t),e))},model:t,options:r}):null},OC=Ts()((function(e,t,n,r){return(0,d.__awaiter)(void 0,void 0,void 0,(function(){var i,o;return(0,d.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),i=r,[4,e(t,n)];case 1:return i.apply(void 0,[null!==(o=a.sent())&&void 0!==o?o:null]),[3,3];case 2:return a.sent(),r(null),[3,3];case 3:return[2]}}))}))}),200,{trailing:!0,leading:!1}),TC=function(e,t){return!t||"wifi"===e.network&&!e.wifiSsid},PC=function(e){var t,n,r=e.downloadUrl,i=e.appId,o=e.releaseId,a=e.rawVersion,s=e.developmentMode,l=e.deviceType,c=e.authToken,u=e.onDownloadStart,f=e.setIsDownloadingConfig,p=e.downloadConfig,h=e.getDownloadSize,m=e.modalActions,g=e.configurationComponent,b=e.onFieldChange,_=Yh().t,w=y.useRef(null),S=y.useState(null),x=S[0],E=S[1],k="docker-image"===(null===(t=null==l?void 0:l.yocto)||void 0===t?void 0:t.deployArtifact),C=y.useState(k),O=C[0],T=C[1],P=y.useState({}),A=P[0],M=P[1],L=y.useMemo((function(){return{appId:i,releaseId:o,deviceType:l.slug,version:null!=a?a:"",developmentMode:s}}),[i,o,l,a,s]),I=y.useMemo((function(){return(0,d.__assign)((0,d.__assign)({},L),A)}),[L,A]);y.useEffect((function(){null==b||b((0,d.__assign)({},I))}),[I]);var R=y.useMemo((function(){var e=(0,d.__spreadArray)((0,d.__spreadArray)([],null!=m?m:[],!0),[{id:"flash",plain:!0,onClick:function(e){null==u||u(O,(0,d.__assign)((0,d.__assign)({},I),{type:"flash"})),function(e,t,n,r){var i=(0,d.__assign)({},t);i.version&&(i.version=encodeURIComponent(i.version)),"ethernet"===i.network&&(i.wifiSsid=void 0,i.wifiKey=void 0);var o=Object.entries(i).map((function(e){var t=e[0],n=e[1];return n?"".concat(t,"=").concat(n):null})).filter((function(e){return!!e})).join("&"),a="".concat(n,"?").concat(o),s=(0,d.__assign)((0,d.__assign)({method:"POST",url:a},r&&{headers:{Authorization:"Bearer ".concat(r)}}),{data:wl()(i,(function(e){return!!e}))}),l=encodeURIComponent(JSON.stringify(s));window.open("".concat("https://www.balena.io/etcher/open-image-url","?imageUrl=").concat(encodeURIComponent(l)),"_blank")}(0,I,r,c)},icon:y.createElement("img",{width:"20px",alt:"etcher",src:AC}),disabled:k,tooltip:_(k?"warnings.image_deployed_to_docker":"warning.etcher_min_requirement"),label:_("actions.flash")},{id:"download_os",plain:!0,onClick:function(){var e;null==u||u(O,(0,d.__assign)((0,d.__assign)({},I),{type:"download_os"})),null===(e=null==w?void 0:w.current)||void 0===e||e.submit()},icon:y.createElement(v.g,{icon:Jk.cb}),disabled:k,tooltip:k?_("warnings.image_deployed_to_docker"):"",label:"".concat(_("actions.download_balenaos")," ").concat(a&&x?" (~".concat(x,")"):""),type:"submit"}],!1);return p&&e.push({id:"download_config_file",plain:!0,onClick:function(){return(0,d.__awaiter)(void 0,void 0,void 0,(function(){return(0,d.__generator)(this,(function(e){switch(e.label){case 0:return O&&p?(f(!0),[4,p(I)]):[3,2];case 1:e.sent(),f(!1),e.label=2;case 2:return null==u||u(!0,(0,d.__assign)((0,d.__assign)({},I),{type:"download_config_file"})),T(!0),[2]}}))}))},icon:y.createElement(v.g,{icon:Jk.cb}),label:_("actions.download_configuration_file_only")}),e}),[m,I,r,c,k,O,p,a,x]),D=y.useState(R.find((function(e){return!e.disabled}))||R[0]),j=D[0],N=D[1];y.useEffect((function(){k&&!O&&T(!0)}),[k,O]),y.useEffect((function(){l&&a&&h?OC(h,l.slug,a,E):E(null)}),[null==l?void 0:l.slug,a]),y.useEffect((function(){N((function(e){return R.find((function(t){return t.id?t.id===e.id:t.label===e.label}))}))}),[R.map((function(e){return e.label}))]);var F=y.useMemo((function(){return(null==R?void 0:R.length)?[R.map((function(e){return{disabled:e.disabled,content:y.createElement(vi.Dy,{bold:e.id?j.id===e.id:j.label===e.label,tooltip:e.tooltip},e.label),onClick:function(t){var n;e&&N(e),null===(n=e.onClick)||void 0===n||n.call(e,t,I)}}}))]:[]}),[R,I]),B=y.useMemo((function(){return function(e,t){return t.options?Po()(t.options).map((function(t){return"network"===t.name&&t.options.forEach((function(e){"network"===e.name&&(e.choicesLabels={ethernet:"Ethernet only",wifi:"Wifi + Ethernet"})})),"advanced"===t.name&&(t.options.push({message:e("labels.provisioning_key_name"),name:"provisioningKeyName",default:"",type:"text"}),t.options.push({message:e("labels.provisioning_key_expiry_date"),name:"provisioningKeyExpiryDate",default:"",type:"datetime-local"}),t.options.map((function(e){return"Check for updates every X minutes"===e.message&&(e.docs="https://www.balena.io/docs/reference/supervisor/bandwidth-reduction/#side-effects--warnings"),e}))),t})):[]}(_,l)}),[_,l]),z=y.useMemo((function(){return!B.map((function(e){return!e.options.map((function(e){var t=A[e.name];if(void 0!==t&&"number"==typeof t){if(e.min&&t<e.min)return!1;if(e.max&&t>e.max)return!1}return!0})).includes(!1)})).includes(!1)}),[B,A]);return y.createElement("form",{action:r,target:"_blank",method:"post",autoComplete:"off",style:{display:"flex",flexDirection:"column",height:"100%"},ref:w},y.createElement("input",{type:"hidden",name:"_token",value:c}),y.createElement("input",{name:"fileType",value:".zip",type:"hidden"}),Object.entries(L).map((function(e){var t=e[0],n=e[1];return void 0===n?null:y.createElement("input",{type:"hidden",name:t,key:t,value:"".concat(n)})})),g,y.createElement(ti.s,{flexDirection:"column",flex:"1"},y.createElement(CC,{model:A,onModelChange:M,options:B})),(null!==(n=l.imageDownloadAlerts)&&void 0!==n?n:[]).map((function(e){return y.createElement(yi,{key:e.message,mb:3,info:"info"===e.type,warning:"warning"===e.type,danger:"danger"===e.type,success:"success"===e.type},e.message)})),y.createElement(ti.s,null,y.createElement(qo,{mt:2,primary:!0,ml:"auto",className:"e2e-download-image-submit",type:(null==j?void 0:j.type)||"button",disabled:TC(A,a)||!z,tooltip:TC(A,a)?_("warnings.fill_wifi_credentials"):z?null==j?void 0:j.tooltip:_("warnings.some_fields_are_invalid"),onClick:function(e){I.provisioningKeyExpiryDate&&(I.provisioningKeyExpiryDate=new Date(I.provisioningKeyExpiryDate).toISOString()),(null==j?void 0:j.onClick)&&j.onClick(e,I)},icon:null==j?void 0:j.icon,label:j.label,alignRight:!0,dropUp:!0,items:F})))},AC="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIDxnPgogIDx0aXRsZT5FdGNoZXI8L3RpdGxlPgogIDxnIGlkPSJzdmdfMSIgc3Ryb2tlPSJudWxsIj4KICAgPHBhdGggaWQ9InN2Z18yIiBjbGFzcz0ic3QxIiBkPSJtNDEyLjkwMzgzLDM1OC4wNjcxM2wwLDE3MS40OTU4M2M3LjQ5MjU0LC0xLjY2NTAxIDE0LjE1MjU3LC0zLjMzMDAyIDIwLjgxMjYsLTcuNDkyNTRsMTQyLjM1ODE5LC04MS41ODUzOWMyMC44MTI2LC0xMS42NTUwNiAzMy4zMDAxNiwtMzQuMTMyNjYgMzMuMzAwMTYsLTU4LjI3NTI4bDAsLTE2Mi4zMzgyOGMwLC02LjY2MDAzIC0wLjgzMjUsLTEzLjMyMDA2IC0zLjMzMDAyLC0xOS4xNDc1OWwtMTU0LjAxMzI0LDg5LjA3NzkzYy0zMi40Njc2NiwyMi40Nzc2MSAtMzkuMTI3NjksNDMuMjkwMjEgLTM5LjEyNzY5LDY4LjI2NTMzbDAsLTAuMDAwMDF6IiBmaWxsPSIjQTVERTM3IiBzdHJva2U9Im51bGwiLz4KICAgPHBhdGggaWQ9InN2Z18zIiBjbGFzcz0ic3QyIiBkPSJtNjYyLjY1NTAzLDE2Ny40MjM3MWwtNTYuNjEwMjcsMzIuNDY3NjZjMS42NjUwMSw1LjgyNzUzIDMuMzMwMDIsMTIuNDg3NTYgMy4zMzAwMiwxOS4xNDc1OWwwLDE2My4xNzA3OWMwLDI0LjE0MjYyIC0xMy4zMjAwNiw0Ni42MjAyMiAtMzMuMzAwMTYsNTguMjc1MjhsLTE0Mi4zNTgxOSw4MS41ODUzOWMtNi42NjAwMywzLjMzMDAyIC0xMy4zMjAwNiw1LjgyNzUzIC0yMC44MTI2LDcuNDkyNTRsMCw2NC45MzUzMWM5Ljk5MDA1LC0xLjY2NTAxIDE5Ljk4MDEsLTQuOTk1MDIgMjguMzA1MTQsLTkuOTkwMDVsMTg0LjgxNTg5LC0xMDUuNzI4MDFjMjUuODA3NjIsLTE0Ljk4NTA3IDQxLjYyNTIsLTQyLjQ1NzcgNDEuNjI1MiwtNzIuNDI3ODVsMCwtMjExLjQ1NjAyYzAsLTkuMTU3NTQgLTEuNjY1MDEsLTE4LjMxNTA5IC00Ljk5NTAyLC0yNy40NzI2M2wtMC4wMDAwMSwweiIgZmlsbD0iI0M4RjE3OCIgc3Ryb2tlPSJudWxsIi8+CiAgIDxwYXRoIGlkPSJzdmdfNCIgY2xhc3M9InN0MSIgZD0ibTM5OS41ODM3NiwzMDMuOTU0MzZjOC4zMjUwNCwtMTMuMzIwMDYgMjAuODEyNiwtMjUuODA3NjIgMzkuMTI3NjksLTM2LjYzMDE4bDE1NS42NzgyNSwtODkuOTEwNDNjLTQuOTk1MDIsLTYuNjYwMDMgLTExLjY1NTA2LC0xMi40ODc1NiAtMTguMzE1MDksLTE2LjY1MDA4bC0xNDIuMzU4MTksLTgxLjU4NTM5Yy0yMC44MTI2LC0xMS42NTUwNiAtNDYuNjIwMjIsLTExLjY1NTA2IC02Ny40MzI4MiwwbC0xNDEuNTI1NjgsODEuNTg1MzljLTcuNDkyNTQsNC4xNjI1MiAtMTMuMzIwMDYsOS45OTAwNSAtMTkuMTQ3NTksMTYuNjUwMDhsMTU0Ljg0NTc1LDg5LjkxMDQzYzE4LjMxNTA5LDExLjY1NTA2IDMwLjgwMjY1LDIzLjMxMDExIDM5LjEyNzY5LDM2LjYzMDE4bC0wLjAwMDAxLDB6IiBmaWxsPSIjQTVERTM3IiBzdHJva2U9Im51bGwiLz4KICAgPHBhdGggaWQ9InN2Z181IiBjbGFzcz0ic3QyIiBkPSJtMjI0Ljc1NzkyLDE2MS41OTYxOGwxNDEuNTI1NjgsLTgxLjU4NTM5YzIwLjgxMjYsLTExLjY1NTA2IDQ2LjYyMDIyLC0xMS42NTUwNiA2Ny40MzI4MiwwbDE0Mi4zNTgxOSw4MS41ODUzOWM3LjQ5MjU0LDQuMTYyNTIgMTMuMzIwMDYsOS45OTAwNSAxOC4zMTUwOSwxNi42NTAwOGw1Ni42MTAyNywtMzIuNDY3NjZjLTYuNjYwMDMsLTkuMTU3NTQgLTE0Ljk4NTA3LC0xNi42NTAwOCAtMjQuOTc1MTIsLTIxLjY0NTFsLTE4NC44MTU4OSwtMTA3LjM5MzAyYy0yNS44MDc2MiwtMTQuOTg1MDcgLTU3LjQ0Mjc4LC0xNC45ODUwNyAtODMuMjUwNCwwbC0xODMuMTUwODgsMTA2LjU2MDUxYy05Ljk5MDA1LDUuODI3NTMgLTE4LjMxNTA5LDEzLjMyMDA2IC0yNC45NzUxMiwyMi40Nzc2MWw1Ni42MTAyNywzMi40Njc2NmM0LjE2MjUyLC02LjY2MDAzIDEwLjgyMjU1LC0xMi40ODc1NiAxOC4zMTUwOSwtMTYuNjUwMDh6IiBmaWxsPSIjQzhGMTc4IiBzdHJva2U9Im51bGwiLz4KICAgPHBhdGggaWQ9InN2Z182IiBjbGFzcz0ic3QyIiBkPSJtMzY2LjI4MzYsNTIyLjA3MDQxbC0xNDEuNTI1NjgsLTgxLjU4NTM5Yy0yMC44MTI2LC0xMS42NTUwNiAtMzMuMzAwMTYsLTM0LjEzMjY2IC0zMy4zMDAxNiwtNTguMjc1MjhsMCwtMTYzLjE3MDc5YzAsLTYuNjYwMDMgMC44MzI1LC0xMi40ODc1NiAyLjQ5NzUxLC0xOC4zMTUwOWwtNTYuNjEwMjcsLTMyLjQ2NzY2Yy0zLjMzMDAyLDkuMTU3NTQgLTQuOTk1MDIsMTcuNDgyNTggLTQuOTk1MDIsMjYuNjQwMTNsMCwyMTIuMjg4NTJjMCwyOS45NzAxNCAxNS44MTc1OCw1Ny40NDI3OCA0MS42MjUyLDcxLjU5NTM0bDE4My45ODMzOSwxMDUuNzI4MDFjOC4zMjUwNCw0Ljk5NTAyIDE4LjMxNTA5LDguMzI1MDQgMjguMzA1MTQsOS45OTAwNWwwLC02NC45MzUzMWMtNi42NjAwMywtMC44MzI1IC0xMy4zMjAwNiwtMy4zMzAwMiAtMTkuOTgwMSwtNy40OTI1NGwtMC4wMDAwMSwwLjAwMDAxeiIgZmlsbD0iI0M4RjE3OCIgc3Ryb2tlPSJudWxsIi8+CiAgIDxwYXRoIGlkPSJzdmdfNyIgY2xhc3M9InN0MSIgZD0ibTM0Ny4xMzYwMSwyODguOTY5MjlsLTE1My4xODA3NCwtODguMjQ1NDJjLTEuNjY1MDEsNS44Mjc1MyAtMi40OTc1MSwxMi40ODc1NiAtMi40OTc1MSwxOC4zMTUwOWwwLDE2My4xNzA3OWMwLDI0LjE0MjYyIDEyLjQ4NzU2LDQ2LjYyMDIyIDMzLjMwMDE2LDU4LjI3NTI4bDE0MS41MjU2OCw4MS41ODUzOWM2LjY2MDAzLDMuMzMwMDIgMTMuMzIwMDYsNS44Mjc1MyAyMC44MTI2LDcuNDkyNTRsMCwtMTcxLjQ5NTgzYy0wLjgzMjUsLTI0Ljk3NTEyIC03LjQ5MjU0LC00NS43ODc3MiAtMzkuOTYwMTksLTY5LjA5NzgzbDAsLTAuMDAwMDF6IiBmaWxsPSIjQTVERTM3IiBzdHJva2U9Im51bGwiLz4KICA8L2c+CiA8L2c+Cgo8L3N2Zz4=",MC=(0,w.default)(Xp)(Uk||(Uk=(0,d.__makeTemplateObject)(["\n\t// To prevent Save Image dialog\n\tpointer-events: none;\n\tdisplay: inline-block;\n\theight: 100%;\n\t// required so that icons in long cells show in the Table in FF\n\tmin-width: 16px;\n\tmax-height: ",";\n\tmax-width: 100%;\n\tvertical-align: middle;\n\n\t&.device-logo--disabled {\n\t\topacity: 0.4;\n\t}\n"],["\n\t// To prevent Save Image dialog\n\tpointer-events: none;\n\tdisplay: inline-block;\n\theight: 100%;\n\t// required so that icons in long cells show in the Table in FF\n\tmin-width: 16px;\n\tmax-height: ",";\n\tmax-width: 100%;\n\tvertical-align: middle;\n\n\t&.device-logo--disabled {\n\t\topacity: 0.4;\n\t}\n"])),(function(e){return e.small?"16px":"24px"})),LC=(0,w.default)(Fa)(Hk||(Hk=(0,d.__makeTemplateObject)(["\n\t& > div > div:last-child {\n\t\tdisplay: none;\n\t}\n"],["\n\t& > div > div:last-child {\n\t\tdisplay: none;\n\t}\n"]))),IC=function(e,t){return mc()(e)||!t||mc()(e[t])?[]:Zb()(e[t].map((function(e){return e.osType})))},RC=function(e){var t,n,r,i,o,a,s=e.downloadUrl,l=e.application,c=e.releaseId,u=e.compatibleDeviceTypes,f=e.initialDeviceType,p=e.initialOsVersions,h=e.isInitialDefault,m=e.onDownloadStart,g=e.getSupportedOsVersions,b=e.getSupportedOsTypes,w=e.getDockerArtifact,S=e.hasEsrVersions,x=e.downloadConfig,E=e.getDownloadSize,k=e.onClose,C=e.modalActions,O=e.authToken,T=e.docsIcon,P=e.onFieldChange,A=Yh().t,M=y.useState(f),L=M[0],I=M[1],R=y.useState(null),D=R[0],j=R[1],N=y.useState(!1),F=N[0],B=N[1],z=y.useState(null!=p?p:{}),$=z[0],U=z[1],H=y.useState(),W=H[0],q=H[1],V=y.useState(IC($,null==L?void 0:L.slug)),K=V[0],G=V[1],Y=y.useState((null==L?void 0:L.slug)?((t={})[L.slug]=K.includes(Rk.ESR),t):{}),J=Y[0],Z=Y[1],X=y.useState(!1),Q=X[0],ee=X[1],te=y.useState(mc()($)),ne=te[0],re=te[1],ie=null!==(r=null!==(n=null==L?void 0:L.logo)&&void 0!==n?n:null==L?void 0:L.logoUrl)&&void 0!==r?r:Wk,oe=null!==(i=null==L?void 0:L.name)&&void 0!==i?i:"-";return y.useEffect((function(){u&&S&&S(u.map((function(e){return e.slug}))).then(Z)}),[u]),y.useEffect((function(){if(L){var e=IC($,L.slug);e.length&&(W?e.includes(W)||q(e[0]):q(e.includes(Rk.ESR)?Rk.ESR:e[0]))}}),[null==L?void 0:L.slug,W,$]),y.useEffect((function(){u&&g&&g().then(U).catch((function(e){console.error(e)})).finally((function(){return re(!1)}))}),[u,l]),y.useEffect((function(){L&&b&&b(l.id,null==L?void 0:L.slug).then(G)}),[null==L?void 0:L.slug,l.id]),L?y.createElement(LC,{width:1400,title:y.createElement(ti.s,{style:{height:32},alignItems:"center"},y.createElement(MC,{small:!1,src:ie,title:oe}),y.createElement(vi.Dy.span,{ml:3},A("actions.add_new_device")),y.createElement(ei,{ml:"auto",icon:y.createElement(v.g,{icon:_.GR}),plain:!0,onClick:k})),cancel:k,done:Fp()},y.createElement(ti.s,{flexDirection:["column","column","column","row"]},y.createElement(er.a,{flex:2,mr:[0,0,0,3]},y.createElement(Gi,{show:Q,label:A("loading.generating_configuration_file")},y.createElement(Gi,{show:ne,label:A("loading.fetching_versions")}),!ne&&y.createElement(y.Fragment,null,mc()($)&&y.createElement(yi,{plaintext:!0,warning:!0},A("no_data.no_os_versions_available_for_download")),!!W&&!!u&&y.createElement(PC,(0,d.__assign)({onFieldChange:P,onDownloadStart:m,setIsDownloadingConfig:ee,deviceType:L,appId:l.id,releaseId:c,downloadUrl:s,rawVersion:D,developmentMode:F,modalActions:C,authToken:O},x&&{downloadConfig:function(e){e.appId,e.releaseId,e.deviceType;var t=e.version,n=(0,d.__rest)(e,["appId","releaseId","deviceType","version"]);return x(L,t,n)}},E&&{getDownloadSize:function(){return(0,d.__awaiter)(void 0,void 0,void 0,(function(){return(0,d.__generator)(this,(function(e){return[2,E(L,D)]}))}))}},{configurationComponent:y.createElement(yC,{compatibleDeviceTypes:u,selectedDeviceType:L,selectedOsType:W,deviceTypeOsVersions:$,osTypes:K,isInitialDefault:h,onSelectedDeviceTypeChange:I,onSelectedVersionChange:j,onSelectedDevelopmentMode:B,onSelectedOsTypeChange:q,hasEsrVersions:null!==(o=J[L.slug])&&void 0!==o&&o,docsIcon:T})}))))),y.createElement(er.a,{flex:1,ml:[0,0,0,3],mt:[3,0,0,0]},y.createElement(Kk,{deviceType:L,templateData:{dockerImage:D?w(L.slug,(a=D,a.replace(/(\.dev|\.prod)/,""))):""}})))):null}},13975:(e,t,n)=>{"use strict";n.d(t,{Hr:()=>g,OZ:()=>b,T4:()=>y,Tv:()=>E,UW:()=>S,a:()=>_,e$:()=>w,kD:()=>v,oU:()=>x});var r=n(18991),i=n(41942),o=n.n(i),a=n(66983),s=n.n(a),l=n(69575),c=n.n(l),u=n(20846),f=n.n(u),d=n(36982),p=n.n(d),h=new(s()),m=function(e,t){return"main"===t?e:"light"===t?_(e):w(e)},g=p()((function(e,t){void 0===t&&(t=4.5);var n=new(o())(e),r=function(e){if(e>=1)return n.darken(1).hex();var i=n.darken(e);return i.contrast(n)>=t?i.hex():r(e+.05)};return r(.1)})),v=p()((function(e){return h.hex(e.replace(/\s/g,""))})),y=function(e){return o()(e).luminosity()>.65},b=function(e,t){return new(o())((0,r.__spreadArray)((0,r.__spreadArray)([],o()(e).array(),!0),[t],!1)).string()},_=function(e){return o()(e).fade(.3).string()},w=function(e,t){return o()(e).darken(t||.2).string()},S=function(e){return c()(Object.keys(e),(function(t){return!!e[t]&&!!c()(Object.keys(e.theme.colors),(function(e){return e===t}))}))},x=function(e,t,n){if(f()(e,t))return m(f()(e,t),n);var r=S(e);if(r){var i=f()(e.theme,"colors.".concat(r));return null!=i&&"object"==typeof i?i[n]:m(i,n)}},E=function(e,t,n){void 0===n&&(n="main");var i=c()(Object.keys(t),(function(n){return!!t[n]&&!!e.colors[n]}));return i?x((0,r.__assign)((0,r.__assign)({},t),{theme:e}),i,n):""}},89239:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,p:()=>a});var r=n(18991),i=n(81794);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce((function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e(t.apply(void 0,n))}}),(function(e){return e}))}function a(e){return function(t){return function(n){return void 0===n&&(n={}),i.createElement(t,(0,r.__assign)({},n,"function"==typeof e?e(n):e))}}}},79755:(e,t,n)=>{"use strict";n.d(t,{hO:()=>c,px:()=>s,wP:()=>l});var r,i,o=n(18991),a=n(33388),s=function(e){return"number"==typeof e?e+"px":e},l=function(e){return e.monospace?(0,a.css)(r||(r=(0,o.__makeTemplateObject)(["\n\t\t\t\tfont-family: ",";\n\t\t  "],["\n\t\t\t\tfont-family: ",";\n\t\t  "])),e.theme.monospace):null},c=function(e){return(0,a.css)(i||(i=(0,o.__makeTemplateObject)(["\n\t\theight: ",";\n\t"],["\n\t\theight: ",";\n\t"])),s(e.emphasized?e.theme.space[5]:e.theme.space[4]))}},98766:(e,t,n)=>{var r=n(97625),i=n(68886),o=i;o.v1=r,o.v4=i,e.exports=o},13063:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},53670:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},97625:(e,t,n)=>{var r,i,o=n(53670),a=n(13063),s=0,l=0;e.exports=function(e,t,n){var c=t&&n||0,u=t||[],f=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:i;if(null==f||null==d){var p=o();null==f&&(f=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=i=16383&(p[6]<<8|p[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,g=h-s+(m-l)/1e4;if(g<0&&void 0===e.clockseq&&(d=d+1&16383),(g<0||h>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,l=m,i=d;var v=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;u[c++]=v>>>24&255,u[c++]=v>>>16&255,u[c++]=v>>>8&255,u[c++]=255&v;var y=h/4294967296*1e4&268435455;u[c++]=y>>>8&255,u[c++]=255&y,u[c++]=y>>>24&15|16,u[c++]=y>>>16&255,u[c++]=d>>>8|128,u[c++]=255&d;for(var b=0;b<6;++b)u[c+b]=f[b];return t||a(u)}},68886:(e,t,n)=>{var r=n(53670),i=n(13063);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},1053:(e,t)=>{"use strict";var n,r,i,o;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,f=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,g=null,v=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,w=_.port2;_.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();b=e+y;try{g(!0,e)?w.postMessage(null):(m=!1,g=null)}catch(e){throw w.postMessage(null),e}}else m=!1},n=function(e){g=e,m||(m=!0,w.postMessage(null))},r=function(e,n){v=d((function(){e(t.unstable_now())}),n)},i=function(){p(v),v=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<k(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>k(a,n))void 0!==l&&0>k(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>k(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],O=[],T=1,P=null,A=3,M=!1,L=!1,I=!1;function R(e){for(var t=x(O);null!==t;){if(null===t.callback)E(O);else{if(!(t.startTime<=e))break;E(O),t.sortIndex=t.expirationTime,S(C,t)}t=x(O)}}function D(e){if(I=!1,R(e),!L)if(null!==x(C))L=!0,n(j);else{var t=x(O);null!==t&&r(D,t.startTime-e)}}function j(e,n){L=!1,I&&(I=!1,i()),M=!0;var o=A;try{for(R(n),P=x(C);null!==P&&(!(P.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=P.callback;if("function"==typeof a){P.callback=null,A=P.priorityLevel;var s=a(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?P.callback=s:P===x(C)&&E(C),R(n)}else E(C);P=x(C)}if(null!==P)var l=!0;else{var c=x(O);null!==c&&r(D,c.startTime-n),l=!1}return l}finally{P=null,A=o,M=!1}}var N=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||M||(L=!0,n(j))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return x(C)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=N,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=A;A=e;try{return t()}finally{A=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:T++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,S(O,e),null===x(C)&&e===x(O)&&(I?i():I=!0,r(D,a-s))):(e.sortIndex=l,S(C,e),L||M||(L=!0,n(j))),e},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}},73928:(e,t,n)=>{"use strict";e.exports=n(1053)},6342:(e,t,n)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new f(e.value,t).test(this.value):""===e.operator?""===e.value||new f(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=i;const o=n(10329),{safeRe:a,t:s}=n(92964),l=n(57657),c=n(32158),u=n(58338),f=n(39689)},39689:(e,t,n)=>{class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&v(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&m))+":"+e,n=i.get(t);if(n)return n;const r=this.options.loose,o=r?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,P(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],f),s("comparator trim",e),e=e.replace(c[u.TILDETRIM],d),s("tilde trim",e),e=e.replace(c[u.CARETTRIM],p),s("caret trim",e);let l=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>T(e,this.options)));r&&(l=l.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE]))))),s("range list",l);const v=new Map,y=l.map((e=>new a(e,this.options)));for(const e of y){if(g(e))return[e];v.set(e.value,e)}v.size>1&&v.has("")&&v.delete("");const _=[...v.values()];return i.set(t,_),_}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>y(n,t)&&e.set.some((e=>y(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(A(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const i=new(n(14375))({max:1e3}),o=n(10329),a=n(6342),s=n(32158),l=n(58338),{safeRe:c,t:u,comparatorTrimReplace:f,tildeTrimReplace:d,caretTrimReplace:p}=n(92964),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:m}=n(27912),g=e=>"<0.0.0-0"===e.value,v=e=>""===e.value,y=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=x(e,t),s("caret",e),e=w(e,t),s("tildes",e),e=k(e,t),s("xrange",e),e=O(e,t),s("stars",e),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>S(e,t))).join(" "),S=(e,t)=>{const n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,((t,n,r,i,o)=>{let a;return s("tilde",e,t,n,r,i,o),_(n)?a="":_(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:_(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,s("tilde return",a),a}))},x=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,o,a)=>{let l;return s("caret",e,t,n,i,o,a),_(n)?l="":_(i)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:_(o)?l="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===n?"0"===i?`>=${n}.${i}.${o}-${a} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${a} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),s("caret return",l),l}))},k=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,((n,r,i,o,a,l)=>{s("xRange",e,n,r,i,o,a,l);const c=_(i),u=c||_(o),f=u||_(a),d=f;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),a=0,">"===r?(r=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",u?i=+i+1:o=+o+1),"<"===r&&(l="-0"),n=`${r+i}.${o}.${a}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:f&&(n=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),s("xRange return",n),n}))},O=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),T=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),P=e=>(t,n,r,i,o,a,s,l,c,u,f,d,p)=>`${n=_(r)?"":_(i)?`>=${r}.0.0${e?"-0":""}`:_(o)?`>=${r}.${i}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=_(c)?"":_(u)?`<${+c+1}.0.0-0`:_(f)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${f}-${d}`:e?`<${c}.${u}.${+f+1}-0`:`<=${l}`}`.trim(),A=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},58338:(e,t,n)=>{const r=n(32158),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=n(27912),{safeRe:a,t:s}=n(92964),l=n(10329),{compareIdentifiers:c}=n(43065);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return c(n,i)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},5036:(e,t,n)=>{const r=n(47910);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},57657:(e,t,n)=>{const r=n(37387),i=n(54761),o=n(810),a=n(68195),s=n(50205),l=n(68350);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return i(e,n,c);case">":return o(e,n,c);case">=":return a(e,n,c);case"<":return s(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},56020:(e,t,n)=>{const r=n(58338),i=n(47910),{safeRe:o,t:a}=n(92964);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];let i;for(;(i=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&i.index+i[0].length===n.index+n[0].length||(n=i),r.lastIndex=i.index+i[1].length+i[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===n)return null;const s=n[2],l=n[3]||"0",c=n[4]||"0",u=t.includePrerelease&&n[5]?`-${n[5]}`:"",f=t.includePrerelease&&n[6]?`+${n[6]}`:"";return i(`${s}.${l}.${c}${u}${f}`,t)}},72771:(e,t,n)=>{const r=n(58338);e.exports=(e,t,n)=>{const i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},38001:(e,t,n)=>{const r=n(9586);e.exports=(e,t)=>r(e,t,!0)},9586:(e,t,n)=>{const r=n(58338);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},89146:(e,t,n)=>{const r=n(47910);e.exports=(e,t)=>{const n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;const a=o>0,s=a?n:i,l=a?i:n,c=!!s.prerelease.length;if(l.prerelease.length&&!c)return l.patch||l.minor?s.patch?"patch":s.minor?"minor":"major":"major";const u=c?"pre":"";return n.major!==i.major?u+"major":n.minor!==i.minor?u+"minor":n.patch!==i.patch?u+"patch":"prerelease"}},37387:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>0===r(e,t,n)},810:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)>0},68195:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)>=0},98781:(e,t,n)=>{const r=n(58338);e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version}catch(e){return null}}},50205:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)<0},68350:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(e,t,n)<=0},83052:(e,t,n)=>{const r=n(58338);e.exports=(e,t)=>new r(e,t).major},33472:(e,t,n)=>{const r=n(58338);e.exports=(e,t)=>new r(e,t).minor},54761:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>0!==r(e,t,n)},47910:(e,t,n)=>{const r=n(58338);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},45895:(e,t,n)=>{const r=n(58338);e.exports=(e,t)=>new r(e,t).patch},14047:(e,t,n)=>{const r=n(47910);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},2276:(e,t,n)=>{const r=n(9586);e.exports=(e,t,n)=>r(t,e,n)},891:(e,t,n)=>{const r=n(72771);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},17116:(e,t,n)=>{const r=n(39689);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},95429:(e,t,n)=>{const r=n(72771);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},4523:(e,t,n)=>{const r=n(47910);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},86659:(e,t,n)=>{const r=n(92964),i=n(27912),o=n(58338),a=n(43065),s=n(47910),l=n(4523),c=n(5036),u=n(98781),f=n(89146),d=n(83052),p=n(33472),h=n(45895),m=n(14047),g=n(9586),v=n(2276),y=n(38001),b=n(72771),_=n(95429),w=n(891),S=n(810),x=n(50205),E=n(37387),k=n(54761),C=n(68195),O=n(68350),T=n(57657),P=n(56020),A=n(6342),M=n(39689),L=n(17116),I=n(88513),R=n(19214),D=n(4524),j=n(35183),N=n(66720),F=n(52029),B=n(44253),z=n(14596),$=n(38350),U=n(32627),H=n(70226);e.exports={parse:s,valid:l,clean:c,inc:u,diff:f,major:d,minor:p,patch:h,prerelease:m,compare:g,rcompare:v,compareLoose:y,compareBuild:b,sort:_,rsort:w,gt:S,lt:x,eq:E,neq:k,gte:C,lte:O,cmp:T,coerce:P,Comparator:A,Range:M,satisfies:L,toComparators:I,maxSatisfying:R,minSatisfying:D,minVersion:j,validRange:N,outside:F,gtr:B,ltr:z,intersects:$,simplifyRange:U,subset:H,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},27912:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},32158:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},43065:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},10329:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},92964:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=n(27912),a=n(32158),s=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],u=t.t={};let f=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",o],[d,i]],h=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=f++;a(e,i,t),u[e]=i,c[i]=t,s[i]=new RegExp(t,n?"g":void 0),l[i]=new RegExp(r,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h("FULL",`^${c[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h("LOOSE",`^${c[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),h("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",c[u.COERCE],!0),h("COERCERTLFULL",c[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},14375:(e,t,n)=>{"use strict";const r=n(33113),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),f=Symbol("lruList"),d=Symbol("cache"),p=Symbol("updateAgeOnGet"),h=()=>1,m=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(y(e,r),!e[s])return}else n&&(e[p]&&(r.value.now=Date.now()),e[f].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},v=e=>{if(e[o]>e[i])for(let t=e[f].tail;e[o]>e[i]&&null!==t;){const n=t.prev;y(e,t),t=n}},y=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[f].removeNode(t)}};class b{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}}const _=(e,t,n,r)=>{let i=n.value;g(e,i)&&(y(e,n),e[s]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,v(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,v(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[o]=0,this[f].forEach((e=>{e.length=this[a](e.value,e.key),this[o]+=e.length}))),v(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let n=this[f].tail;null!==n;){const r=n.prev;_(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[f].head;null!==n;){const r=n.next;_(this,e,n,t),n=r}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){this[c]&&this[f]&&this[f].length&&this[f].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[f]=new r,this[o]=0}dump(){return this[f].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[a](t,e);if(this[d].has(e)){if(s>this[i])return y(this,this[d].get(e)),!1;const a=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[o]+=s-a.length,a.length=s,this.get(e),v(this),!0}const p=new b(e,t,s,r,n);return p.length>this[i]?(this[c]&&this[c](e,t),!1):(this[o]+=p.length,this[f].unshift(p),this[d].set(e,this[f].head),v(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[f].tail;return e?(y(this,e),e.value):null}del(e){y(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{const e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>m(this,t,!1)))}}},47713:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},33113:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}function i(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&i<t;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var a=[];for(r=0;o&&r<t;r++)a.push(o.value),o=this.removeNode(o);for(null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev),r=0;r<n.length;r++)o=i(this,o,n[r]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(47713)(r)}catch(e){}},44253:(e,t,n)=>{const r=n(52029);e.exports=(e,t,n)=>r(e,t,">",n)},38350:(e,t,n)=>{const r=n(39689);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},14596:(e,t,n)=>{const r=n(52029);e.exports=(e,t,n)=>r(e,t,"<",n)},19214:(e,t,n)=>{const r=n(58338),i=n(39689);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&-1!==a.compare(e)||(o=e,a=new r(o,n)))})),o}},4524:(e,t,n)=>{const r=n(58338),i=n(39689);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(o&&1!==a.compare(e)||(o=e,a=new r(o,n)))})),o}},35183:(e,t,n)=>{const r=n(58338),i=n(39689),o=n(810);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let a=null;i.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!o(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||n&&!o(n,a)||(n=a)}return n&&e.test(n)?n:null}},52029:(e,t,n)=>{const r=n(58338),i=n(6342),{ANY:o}=i,a=n(39689),s=n(17116),l=n(810),c=n(50205),u=n(68350),f=n(68195);e.exports=(e,t,n,d)=>{let p,h,m,g,v;switch(e=new r(e,d),t=new a(t,d),n){case">":p=l,h=u,m=c,g=">",v=">=";break;case"<":p=c,h=f,m=l,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,s=null;if(r.forEach((e=>{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,p(e.semver,a.semver,d)?a=e:m(e.semver,s.semver,d)&&(s=e)})),a.operator===g||a.operator===v)return!1;if((!s.operator||s.operator===g)&&h(e,s.semver))return!1;if(s.operator===v&&m(e,s.semver))return!1}return!0}},32627:(e,t,n)=>{const r=n(17116),i=n(9586);e.exports=(e,t,n)=>{const o=[];let a=null,s=null;const l=e.sort(((e,t)=>i(e,t,n)));for(const e of l)r(e,t,n)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return u.length<f.length?u:t}},70226:(e,t,n)=>{const r=n(39689),i=n(6342),{ANY:o}=i,a=n(17116),s=n(9586),l=[new i(">=0.0.0-0")],c=[new i(">=0.0.0")],u=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?l:c}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=c}const r=new Set;let i,u,p,h,m,g,v;for(const t of e)">"===t.operator||">="===t.operator?i=f(i,t,n):"<"===t.operator||"<="===t.operator?u=d(u,t,n):r.add(t.semver);if(r.size>1)return null;if(i&&u){if(p=s(i.semver,u.semver,n),p>0)return null;if(0===p&&(">="!==i.operator||"<="!==u.operator))return null}for(const e of r){if(i&&!a(e,String(i),n))return null;if(u&&!a(e,String(u),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let y=!(!u||n.includePrerelease||!u.semver.prerelease.length)&&u.semver,b=!(!i||n.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===u.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,i)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=f(i,e,n),h===e&&h!==i)return!1}else if(">="===i.operator&&!a(i.semver,String(e),n))return!1;if(u)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(m=d(u,e,n),m===e&&m!==u)return!1}else if("<="===u.operator&&!a(u.semver,String(e),n))return!1;if(!e.operator&&(u||i)&&0!==p)return!1}return!(i&&g&&!u&&0!==p||u&&v&&!i&&0!==p||b||y)},f=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=u(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},88513:(e,t,n)=>{const r=n(39689);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},66720:(e,t,n)=>{const r=n(39689);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},66695:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],f=t[c];if(!1===(i=n?n.call(r,u,f,c):void 0)||void 0===i&&u!==f)return!1}return!0}},5610:(e,t,n)=>{"use strict";e.exports=n(31470)},74399:(e,t,n)=>{"use strict";var r,i,o,a=n(68790),s="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function l(){o=!1}function c(e){if(e){if(e!==r){if(e.length!==s.length)throw new Error("Custom alphabet for shortid must be "+s.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter((function(e,t,n){return t!==n.lastIndexOf(e)}));if(t.length)throw new Error("Custom alphabet for shortid must be "+s.length+" unique characters. These characters were not unique: "+t.join(", "));r=e,l()}}else r!==s&&(r=s,l())}function u(){return o||(o=function(){r||c(s);for(var e,t=r.split(""),n=[],i=a.nextValue();t.length>0;)i=a.nextValue(),e=Math.floor(i*t.length),n.push(t.splice(e,1)[0]);return n.join("")}())}e.exports={get:function(){return r||s},characters:function(e){return c(e),r},seed:function(e){a.seed(e),i!==e&&(l(),i=e)},lookup:function(e){return u()[e]},shuffled:u}},44414:(e,t,n)=>{"use strict";var r,i,o=n(73455);n(74399),e.exports=function(e){var t="",n=Math.floor(.001*(Date.now()-1567752802062));return n===i?r++:(r=0,i=n),t+=o(7),t+=o(e),r>0&&(t+=o(r)),t+o(n)}},73455:(e,t,n)=>{"use strict";var r=n(74399),i=n(6101),o=n(24768);e.exports=function(e){for(var t,n=0,a="";!t;)a+=o(i,r.get(),1),t=e<Math.pow(16,n+1),n++;return a}},31470:(e,t,n)=>{"use strict";var r=n(74399),i=n(44414),o=n(67435),a=n(46325)||0;function s(){return i(a)}e.exports=s,e.exports.generate=s,e.exports.seed=function(t){return r.seed(t),e.exports},e.exports.worker=function(t){return a=t,e.exports},e.exports.characters=function(e){return void 0!==e&&r.characters(e),r.shuffled()},e.exports.isValid=o},67435:(e,t,n)=>{"use strict";var r=n(74399);e.exports=function(e){return!(!e||"string"!=typeof e||e.length<6||new RegExp("[^"+r.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(e))}},6101:e=>{"use strict";var t,n="object"==typeof window&&(window.crypto||window.msCrypto);t=n&&n.getRandomValues?function(e){return n.getRandomValues(new Uint8Array(e))}:function(e){for(var t=[],n=0;n<e;n++)t.push(Math.floor(256*Math.random()));return t},e.exports=t},68790:e=>{"use strict";var t=1;e.exports={nextValue:function(){return(t=(9301*t+49297)%233280)/233280},seed:function(e){t=e}}},46325:e=>{"use strict";e.exports=0},24768:e=>{e.exports=function(e,t,n){for(var r=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*r*n/t.length),o="";;)for(var a=e(i),s=i;s--;)if((o+=t[a[s]&r]||"").length===+n)return o}},47966:(e,t,n)=>{"use strict";var r=n(54310),i=Array.prototype.concat,o=Array.prototype.slice,a=e.exports=function(e){for(var t=[],n=0,a=e.length;n<a;n++){var s=e[n];r(s)?t=i.call(t,o.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},54310:e=>{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},38832:(e,t,n)=>{const r=n(53445),i=n(68881),o=n(7525),a=n(55649),s=n(73192),{TypedError:l}=n(93693),c=n(93486),{concat:u,has:f,intersection:d,isString:p,isUndefined:h,mapValues:m,mean:g,merge:v,mergeWith:y,omit:b,union:_,uniq:w}=n(10842),S=new c,x=e=>{["formatMaximum","formatMinimum","regexp"].forEach((t=>{i(e,[t])})),e.addFormat("markdown",p),e.addFormat("mermaid",p)},E={$schema:"http://json-schema.org/draft-07/schema#",$id:"jellyfish-meta-schema",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0};t.SchemaMismatch=class extends l{},t.IncompatibleSchemas=class extends l{},t.InvalidSchema=class extends l{},t.restrictSchema=(e,n)=>{a.option({alwaysFakeOptionals:!0});const r=a.generate(e),i=a.generate(n),s=v(r,i),l=t.filter(n,s),c=(e,t)=>(e.properties&&Object.keys(e.properties).forEach((n=>{if(!t.hasOwnProperty(n))return void delete e.properties[n];const r=e.properties[n];"object"===r.type&&c(r,t[n])})),e);return c(o(e),l)},t.scoreMatch=(e,n)=>{let r=d(Object.keys(e),["additionalItems","additionalProperties","const","contains","enum","exclusiveMaximum","exclusiveMinimum","maxItems","maxLength","maxProperties","maximum","minItems","minLength","minProperties","multipleOf","pattern","patternProperties","propertyNames","type","uniqueItems"]).length;if(f(e,"required")&&(r+=e.required.length),e.properties&&Object.keys(e.properties).forEach((i=>{const o=e.properties[i];f(n,i)&&(r+=t.scoreMatch(o,n[i]))})),e.items&&Array.isArray(n)&&(r+=t.scoreMatch(e.items,n[0])),e.anyOf||e.oneOf){const i=(e.anyOf||e.oneOf).map((e=>t.scoreMatch(e,n)));r+=Math.ceil(g(i))}return r},t.match=(()=>{const e=new r({allErrors:!0,unknownFormats:"ignore",cache:S,addUsedSchema:!1});return e.addSchema(E,"schema"),x(e),(n,r,i={})=>{if(!n)return{valid:!1,errors:["no schema"],score:0};if(!e.validate("schema",n)||!n.type)return{valid:!1,errors:["invalid schema"],score:0};const o=!!i.schemaOnly||e.validate(n,r);return{valid:o,errors:o?[]:e.errorsText().split(", "),score:o?t.scoreMatch(n,r):0}}})(),t.isValid=(e,n,r={})=>t.match(e,n,r).valid,t.validate=(e,n={},r={})=>{const i=t.match(e,n,r);if(!i.valid)throw new t.SchemaMismatch(["Invalid object:",JSON.stringify(n,null,2),i.errors.map((e=>`- ${e}`)).join("\n")].join("\n\n"))},t.merge=(e,n={})=>{if(0===e.length)return{type:"object",additionalProperties:!0};if(1===e.length&&e[0].type)return e[0];try{const t=s({type:"object",additionalProperties:!0,allOf:e.filter((e=>Boolean(e))).map((e=>{if(!e.anyOf||1!==e.anyOf.length)return e;const[t]=e.anyOf;return v({},b(e,"anyOf"),t)}))},{resolvers:v({enum:e=>w(u(...e)),anyOf:e=>[{allOf:e.map((e=>({anyOf:e})))}],const:e=>e[1]},n.resolvers)});if(t.anyOf&&1===t.anyOf.length){const[e]=t.anyOf;return v(b(t,"anyOf"),e)}return t}catch(e){if(e.message.startsWith("Could not resolve values for path"))throw new t.IncompatibleSchemas("The schemas can't be merged");throw e}};const k=(e,t)=>{if("object"!==e.type)return e;const n=e=>k(e,t),r=t(e);return r.properties=m(r.properties,n),r.anyOf&&(r.anyOf=r.anyOf.map(n)),r.allOf&&(r.allOf=r.allOf.map(n)),r},C=e=>k(e,(e=>(e.additionalProperties=!0,e)));t.normaliseRequires=e=>k(e,(e=>(e.required&&e.required.forEach((t=>{e.properties[t]||(e.properties[t]={additionalProperties:!1})})),e))),t.filter=(()=>{const e=new r({removeAdditional:!0,unknownFormats:"ignore",cache:S,addUsedSchema:!1}),n=new r({allErrors:!0,unknownFormats:"ignore",cache:S,addUsedSchema:!1});return x(e),x(n),(r,i,a={})=>{if(h(i))throw new Error("Object must not be undefined");const s=Array.isArray(i),l=s?i:[i],c=r=>{const i=t.normaliseRequires(o(r)),a=e.compile(i);let u=[];const f=b(i,"anyOf");i.anyOf&&(u=i.anyOf.map((e=>{const t=A(f,e);return{match:n.compile(C(t)),fragment:e}})));const d=[];for(const t of l)if(n.compile(C(o(f)))(t)){const n=O(t,u);if(0===n.length)a(t)&&d.push(t);else{const r=T(f,n);if(r.anyOf)return c(r);e.compile(r)(t)&&d.push(t)}}return s?d:d[0]||null};try{return c(r)}catch(e){if(e.message.startsWith("schema is invalid:"))throw new t.InvalidSchema(e.message);throw e}}})();const O=(e,t)=>t.filter((t=>t.match(e))),T=(e,t)=>{const n=A(e,(e=>e.reduce(((e,t)=>P(e,t.fragment)),{}))(t));return n},P=(e,t)=>M(e,t,((e,t,n,r,i)=>Array.isArray(e)&&"enum"!==n?_(e,t):"enum"===n?w(t):"additionalProperties"===n?!(!h(t)||!h(e))||(h(t)?Boolean(e):h(e)?Boolean(t):Boolean(e)||Boolean(t)):void 0)),A=(e,t)=>M(e,t,((e,t,n,r,i)=>{if(Array.isArray(e)&&"enum"!==n)return _(e,t);if(t&&e&&t.enum&&e.enum){const{enum:n,...r}=e,{enum:i,...o}=t,a=v(o,r);return a.allOf||(a.allOf=[]),a.allOf.push({enum:n},{enum:i}),a}return"enum"===n?w(t):"additionalProperties"===n?(!h(t)||!h(e))&&(h(t)?Boolean(e):(h(e)||Boolean(e))&&Boolean(t)):"properties"===n&&t&&!1===i.additionalProperties?o(t):void 0})),M=(e,t,n)=>b(y({type:"object"},e,t,n),["$id"])},93486:(e,t,n)=>{const r=n(56319);e.exports=class{constructor(){this.lru=new r(500)}put(e,t){this.lru.set(e,t)}get(e){return this.lru.get(e)}del(e){this.lru.del(e)}clear(){this.lru.reset()}}},10842:(e,t,n)=>{const r=n(98440),i=n(17729),o=n(33378),a=n(46930),s=n(88494),l=n(76793),c=n(63965),u=n(48581);t.isString=e=>"[object String]"===Object.prototype.toString.call(e),t.has=(e,t)=>!!e&&e.hasOwnProperty(t),t.isUndefined=e=>void 0===e,t.mean=e=>{let t=0;for(const n of e)t+=n;return t/e.length},t.concat=r,t.intersection=i,t.mapValues=o,t.merge=a,t.mergeWith=s,t.omit=l,t.union=c,t.uniq=u},33388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>$e,StyleSheetConsumer:()=>oe,StyleSheetContext:()=>ie,StyleSheetManager:()=>fe,ThemeConsumer:()=>Ie,ThemeContext:()=>Le,ThemeProvider:()=>Re,__PRIVATE__:()=>We,createGlobalStyle:()=>Be,css:()=>we,default:()=>qe,isStyledComponent:()=>w,keyframes:()=>ze,useTheme:()=>He,version:()=>x,withTheme:()=>Ue});var r=n(86129),i=n(81794),o=n(66695),a=n.n(o);const s=function(e){function t(e,r,l,c,d){for(var p,h,m,g,_,S=0,x=0,E=0,k=0,C=0,L=0,R=m=p=0,j=0,N=0,F=0,B=0,z=l.length,$=z-1,U="",H="",W="",q="";j<z;){if(h=l.charCodeAt(j),j===$&&0!==x+k+E+S&&(0!==x&&(h=47===x?10:47),k=E=S=0,z++,$++),0===x+k+E+S){if(j===$&&(0<N&&(U=U.replace(f,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(j)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,B=++j;j<z;){switch(h=l.charCodeAt(j)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(j+1)){case 42:case 47:e:{for(R=j+1;R<$;++R)switch(l.charCodeAt(R)){case 47:if(42===h&&42===l.charCodeAt(R-1)&&j+2!==R){j=R+1;break e}break;case 10:if(47===h){j=R+1;break e}}j=R}}break;case 91:h++;case 40:h++;case 34:case 39:for(;j++<$&&l.charCodeAt(j)!==h;);}if(0===m)break;j++}if(m=l.substring(B,j),0===p&&(p=(U=U.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<N&&(U=U.replace(f,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:N=r;break;default:N=M}if(B=(m=t(r,N,m,h,d+1)).length,0<I&&(_=s(3,m,N=n(M,U,F),r,T,O,B,h,d,c),U=N.join(""),void 0!==_&&0===(B=(m=_.trim()).length)&&(h=0,m="")),0<B)switch(h){case 115:U=U.replace(w,a);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(v,"$1 $2"))+"{"+m+"}",m=1===A||2===A&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===c&&(H+=m,m="")}else m=""}else m=t(r,n(r,U,F),m,c,d+1);W+=m,m=F=N=R=p=0,U="",h=l.charCodeAt(++j);break;case 125:case 59:if(1<(B=(U=(0<N?U.replace(f,""):U).trim()).length))switch(0===R&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(B=(U=U.replace(" ",":")).length),0<I&&void 0!==(_=s(1,U,r,e,T,O,H.length,c,d,c))&&0===(B=(U=_.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){q+=U+l.charAt(j);break}default:58!==U.charCodeAt(B-1)&&(H+=i(U,p,h,U.charCodeAt(2)))}F=N=R=p=0,U="",h=l.charCodeAt(++j)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<U.length&&(N=1,U+="\0"),0<I*D&&s(0,U,r,e,T,O,H.length,c,d,c),O=1,T++;break;case 59:case 125:if(0===x+k+E+S){O++;break}default:switch(O++,g=l.charAt(j),h){case 9:case 32:if(0===k+S+x)switch(C){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===k+x+S&&(N=F=1,g="\f"+g);break;case 108:if(0===k+x+S+P&&0<R)switch(j-R){case 2:112===C&&58===l.charCodeAt(j-3)&&(P=C);case 8:111===L&&(P=L)}break;case 58:0===k+x+S&&(R=j);break;case 44:0===x+E+k+S&&(N=1,g+="\r");break;case 34:case 39:0===x&&(k=k===h?0:0===k?h:k);break;case 91:0===k+x+E&&S++;break;case 93:0===k+x+E&&S--;break;case 41:0===k+x+S&&E--;break;case 40:0===k+x+S&&(0===p&&(2*C+3*L==533||(p=1)),E++);break;case 64:0===x+E+k+S+R+m&&(m=1);break;case 42:case 47:if(!(0<k+S+E))switch(x){case 0:switch(2*h+3*l.charCodeAt(j+1)){case 235:x=47;break;case 220:B=j,x=42}break;case 42:47===h&&42===C&&B+2!==j&&(33===l.charCodeAt(B+2)&&(H+=l.substring(B,j+1)),g="",x=0)}}0===x&&(U+=g)}L=C,C=h,j++}if(0<(B=H.length)){if(N=r,0<I&&void 0!==(_=s(2,H,N,e,T,O,B,c,d,c))&&0===(H=_).length)return q+H+W;if(H=N.join(",")+"{"+H+"}",0!=A*P){switch(2!==A||o(H,2)||(P=0),P){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}P=0}}return q+H+W}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===A||2===A&&o(l,1)?"-webkit-"+l+l:l}if(0===A||2===A&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(_,"tb");break;case 232:l=a.replace(_,"tb-rl");break;case 220:l=a.replace(_,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),R(2!==t?r:r.replace(E,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(S," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,u){for(var f,d=0,p=t;d<I;++d)switch(f=L[d].call(c,e,p,n,r,i,o,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!=typeof e?A=1:(A=2,R=e):A=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<I){var i=s(-1,n,r,r,T,O,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(M,r,n,0,0);return 0<I&&void 0!==(i=s(-2,o,r,r,T,O,o.length,0,0,0))&&(o=i),P=0,O=T=1,o}var u=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,x=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,O=1,T=1,P=0,A=1,M=[],L=[],I=0,R=null,D=0;return c.use=function e(t){switch(t){case void 0:case null:I=L.length=0;break;default:if("function"==typeof t)L[I++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else D=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},l={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function c(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f=c((function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),d=n(94664),p=n.n(d);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var m=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,r.typeOf)(e)},v=Object.freeze([]),y=Object.freeze({});function b(e){return"function"==typeof e}function _(e){return e.displayName||e.name||"Component"}function w(e){return e&&"string"==typeof e.styledComponentId}var S="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",x="5.3.6",E="undefined"!=typeof window&&"HTMLElement"in window,k=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),C={};function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var T=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&O(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),P=new Map,A=new Map,M=1,L=function(e){if(P.has(e))return P.get(e);for(;A.has(M);)M++;var t=M++;return P.set(e,t),A.set(t,e),t},I=function(e){return A.get(e)},R=function(e,t){t>=M&&(M=t+1),P.set(e,t),A.set(t,e)},D="style["+S+'][data-styled-version="5.3.6"]',j=new RegExp("^"+S+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(j);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(R(c,l),N(e,c,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},B=function(){return n.nc},z=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(S))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(S,"active"),r.setAttribute("data-styled-version","5.3.6");var a=B();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},$=function(){function e(e){var t=this.element=z(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}O(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),U=function(){function e(e){var t=this.element=z(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),H=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),W=E,q={isServer:!E,useCSSOMInjection:!k},V=function(){function e(e,t,n){void 0===e&&(e=y),void 0===t&&(t={}),this.options=h({},q,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&E&&W&&(W=!1,function(e){for(var t=document.querySelectorAll(D),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(S)&&(F(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return L(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(h({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new H(i):r?new $(i):new U(i),new T(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(L(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(L(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(L(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=I(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var l=S+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),K=/(a)(d)/gi,G=function(e){return String.fromCharCode(e+(e>25?39:97))};function Y(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=G(t%52)+n;return(G(t%52)+n).replace(K,"$1-$2")}var J=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Z=function(e){return J(5381,e)};function X(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(b(n)&&!w(n))return!1}return!0}var Q=Z("5.3.6"),ee=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&X(e),this.componentId=t,this.baseHash=J(Q,t),this.baseStyle=n,V.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=be(this.rules,e,t,n).join(""),a=Y(J(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=J(this.baseHash,n.hash),u="",f=0;f<l;f++){var d=this.rules[f];if("string"==typeof d)u+=d;else if(d){var p=be(d,e,t,n),h=Array.isArray(p)?p.join(""):p;c=J(c,h+f),u+=h}}if(u){var m=Y(c>>>0);if(!t.hasNameForId(r,m)){var g=n(u,"."+m,void 0,r);t.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},e}(),te=/^\s*\/\/.*$/gm,ne=[":","[",".","#"];function re(e){var t,n,r,i,o=void 0===e?y:e,a=o.options,l=void 0===a?y:a,c=o.plugins,u=void 0===c?v:c,f=new s(l),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,l,c,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,r,o){return 0===r&&-1!==ne.indexOf(o[n.length])||o.match(i)?e:"."+t};function m(e,o,a,s){void 0===s&&(s="&");var l=e.replace(te,""),c=o&&a?a+" "+o+" { "+l+" }":l;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),f(a||!o?"":o,c)}return f.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||O(15),J(e,t.name)}),5381).toString():"",m}var ie=i.createContext(),oe=ie.Consumer,ae=i.createContext(),se=(ae.Consumer,new V),le=re();function ce(){return(0,i.useContext)(ie)||se}function ue(){return(0,i.useContext)(ae)||le}function fe(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=ce(),s=(0,i.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,i.useMemo)((function(){return re({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,i.useEffect)((function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),i.createElement(ie.Provider,{value:s},i.createElement(ae.Provider,{value:l},e.children))}var de=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=le);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return O(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=le),this.name+e.hash},e}(),pe=/([A-Z])/,he=/([A-Z])/g,me=/^ms-/,ge=function(e){return"-"+e.toLowerCase()};function ve(e){return pe.test(e)?e.replace(he,ge).replace(me,"-ms-"):e}var ye=function(e){return null==e||!1===e||""===e};function be(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=be(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return ye(e)?"":w(e)?"."+e.styledComponentId:b(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:be(e(t),t,n,r):e instanceof de?n?(e.inject(n,r),e.getName(r)):e:g(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!ye(t[a])&&(Array.isArray(t[a])&&t[a].isCss||b(t[a])?o.push(ve(a)+":",t[a],";"):g(t[a])?o.push.apply(o,e(t[a],a)):o.push(ve(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in l?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var c}var _e=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function we(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(e)||g(e)?_e(be(m(v,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:_e(be(m(e,n)))}new Set;var Se=function(e,t,n){return void 0===n&&(n=y),e.theme!==n.theme&&e.theme||t||n.theme},xe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ee=/(^-|-$)/g;function ke(e){return e.replace(xe,"-").replace(Ee,"")}var Ce=function(e){return Y(Z(e)>>>0)};function Oe(e){return"string"==typeof e&&!0}var Te=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Pe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ae(e,t,n){var r=e[n];Te(t)&&Te(r)?Me(r,t):e[n]=t}function Me(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Te(a))for(var s in a)Pe(s)&&Ae(e,a[s],s)}return e}var Le=i.createContext(),Ie=Le.Consumer;function Re(e){var t=(0,i.useContext)(Le),n=(0,i.useMemo)((function(){return function(e,t){return e?b(e)?e(t):Array.isArray(e)||"object"!=typeof e?O(8):t?h({},t,{},e):e:O(14)}(e.theme,t)}),[e.theme,t]);return e.children?i.createElement(Le.Provider,{value:n},e.children):null}var De={};function je(e,t,n){var r=w(e),o=!Oe(e),a=t.attrs,s=void 0===a?v:a,l=t.componentId,c=void 0===l?function(e,t){var n="string"!=typeof e?"sc":ke(e);De[n]=(De[n]||0)+1;var r=n+"-"+Ce("5.3.6"+n+De[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,u=t.displayName,d=void 0===u?function(e){return Oe(e)?"styled."+e:"Styled("+_(e)+")"}(e):u,m=t.displayName&&t.componentId?ke(t.displayName)+"-"+t.componentId:t.componentId||c,g=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,S=t.shouldForwardProp;r&&e.shouldForwardProp&&(S=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var x,E=new ee(n,m,r?e.componentStyle:void 0),k=E.isStatic&&0===s.length,C=function(e,t){return function(e,t,n,r){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.shouldForwardProp,u=e.styledComponentId,d=e.target,p=function(e,t,n){void 0===e&&(e=y);var r=h({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in b(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}(Se(t,(0,i.useContext)(Le),s)||y,t,o),m=p[0],g=p[1],v=function(e,t,n,r){var i=ce(),o=ue();return t?e.generateAndInjectStyles(y,i,o):e.generateAndInjectStyles(n,i,o)}(a,r,m),_=n,w=g.$as||t.$as||g.as||t.as||d,S=Oe(w),x=g!==t?h({},t,{},g):t,E={};for(var k in x)"$"!==k[0]&&"as"!==k&&("forwardedAs"===k?E.as=x[k]:(c?c(k,f,w):!S||f(k))&&(E[k]=x[k]));return t.style&&g.style!==t.style&&(E.style=h({},t.style,{},g.style)),E.className=Array.prototype.concat(l,u,v!==u?v:null,t.className,g.className).filter(Boolean).join(" "),E.ref=_,(0,i.createElement)(w,E)}(x,e,t,k)};return C.displayName=d,(x=i.forwardRef(C)).attrs=g,x.componentStyle=E,x.displayName=d,x.shouldForwardProp=S,x.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):v,x.styledComponentId=m,x.target=r?e.target:e,x.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(Oe(e)?e:ke(_(e)));return je(e,h({},i,{attrs:g,componentId:o}),n)},Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Me({},e.defaultProps,t):t}}),x.toString=function(){return"."+x.styledComponentId},o&&p()(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),x}var Ne=function(e){return function e(t,n,i){if(void 0===i&&(i=y),!(0,r.isValidElementType)(n))return O(1,String(n));var o=function(){return t(n,i,we.apply(void 0,arguments))};return o.withConfig=function(r){return e(t,n,h({},i,{},r))},o.attrs=function(r){return e(t,n,h({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},o}(je,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ne[e]=Ne(e)}));var Fe=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=X(e),V.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(be(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&V.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=we.apply(void 0,[e].concat(n)),a="sc-global-"+Ce(JSON.stringify(o)),s=new Fe(o,a);function l(e){var t=ce(),n=ue(),r=(0,i.useContext)(Le),o=(0,i.useRef)(t.allocateGSInstance(a)).current;return t.server&&c(o,e,t,r,n),(0,i.useLayoutEffect)((function(){if(!t.server)return c(o,e,t,r,n),function(){return s.removeStyles(o,t)}}),[o,e,t,r,n]),null}function c(e,t,n,r,i){if(s.isStatic)s.renderStyles(e,C,n,i);else{var o=h({},t,{theme:Se(t,r,l.defaultProps)});s.renderStyles(e,o,n,i)}}return i.memo(l)}function ze(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=we.apply(void 0,[e].concat(n)).join(""),o=Ce(i);return new de(o,i)}var $e=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=B();return"<style "+[n&&'nonce="'+n+'"',S+'="true"','data-styled-version="5.3.6"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?O(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return O(2);var n=((t={})[S]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=B();return r&&(n.nonce=r),[i.createElement("style",h({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new V({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?O(2):i.createElement(fe,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return O(3)},e}(),Ue=function(e){var t=i.forwardRef((function(t,n){var r=(0,i.useContext)(Le),o=e.defaultProps,a=Se(t,r,o);return i.createElement(e,h({},t,{theme:a,ref:n}))}));return p()(t,e),t.displayName="WithTheme("+_(e)+")",t},He=function(){return(0,i.useContext)(Le)},We={StyleSheet:V,masterSheet:se};const qe=Ne},37067:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{mt:()=>K,i4:()=>X,yW:()=>D,Vy:()=>$,Uu:()=>Z,D0:()=>J,aR:()=>Y,J:()=>B,uJ:()=>W,wt:()=>G,Kr:()=>q,JX:()=>U,yO:()=>V,bV:()=>H,fq:()=>Q,px:()=>p,xe:()=>R,iF:()=>y,Jh:()=>z,VL:()=>N});var i=n(17314),o=n.n(i),a=function(e,t){return e<t?-1:e>t?1:0},s=[40,52,64].map((function(e){return e+"em"})),l=o().oneOfType([o().number,o().string,o().array,o().object]),c=function(e){return function(){return e.apply(void 0,arguments)}},u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n.reduce((function(t,n){return f(t)?t:("string"==typeof n?n.split("."):[n]).reduce((function(e,t){return e&&f(e[t])?e[t]:null}),e)}),null);return f(i)?i:n[n.length-1]},f=function(e){return null!=e},d=function(e){return"number"==typeof e&&!isNaN(e)},p=function(e){return d(e)&&0!==e?e+"px":e},h=function(e){return"@media screen and (min-width: "+p(e)+")"},m=function(e,t){return u(t,e)},g=function e(t,n){var r={};for(var i in t)r[i]=t[i];for(var o in n)t[o]&&"object"==typeof t[o]?r[o]=e(t[o],n[o]):r[o]=n[o];return r},v=function(){for(var e={},t=0;t<arguments.length;t++)e=g(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},y=function(e){var t,n=e.prop,r=e.cssProperty,i=e.alias,o=e.key,d=e.transformValue,p=void 0===d?m:d,g=e.scale,y=void 0===g?{}:g,b=r||n,_=function(e){var t=u(e,n,i,null);if(!f(t))return null;var r,l=u(e.theme,o,y),c=function(e){var t;return f(e)?((t={})[b]=p(e,l),t):null};if("object"!=typeof(r=t)||null===r)return c(t);var d=u(e.theme,"breakpoints",s),m=[];if(Array.isArray(t)){m.push(c(t[0]));for(var g=1;g<t.slice(0,d.length+1).length;g++){var _=c(t[g]);if(_){var w,S=h(d[g-1]);m.push(((w={})[S]=_,w))}}}else{for(var x in t){var E,k=d[x],C=h(k),O=c(t[x]);k?m.push(((E={})[C]=O,E)):m.unshift(O)}m.sort(a)}return v.apply(void 0,m)};return(_.propTypes=((t={})[n]=c(l),t))[n].meta={prop:n,themeKey:o},i&&(_.propTypes[i]=c(l),_.propTypes[i].meta={prop:i,themeKey:o}),_},b=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=function(e){var n=t.map((function(t){return t(e)})).filter(Boolean);return v.apply(void 0,n)};return i.propTypes={},t.forEach((function(e){i.propTypes=r({},i.propTypes,e.propTypes)})),i},_=function(e){return function(t){var n=function(n){return t(e(n))};for(var r in t)n[r]=t[r];return n}},w=function(e){var t,n=e.key,r=e.prop,i=void 0===r?"variant":r,a=function(e){return u(e.theme,[n,e[i]].join("."),null)};return a.propTypes=((t={})[i]=o().oneOfType([o().number,o().string]),t),a},S=[0,4,8,16,32,64,128,256,512],x=function(e,t){if(!d(e))return p(u(t,e,e));var n=e<0,r=Math.abs(e),i=u(t,r);return d(i)?p(i*(n?-1:1)):n?"-"+i:i},E=y({prop:"margin",alias:"m",key:"space",transformValue:x,scale:S}),k=y({prop:"marginTop",alias:"mt",key:"space",transformValue:x,scale:S}),C=y({prop:"marginBottom",alias:"mb",key:"space",transformValue:x,scale:S}),O=y({prop:"marginLeft",alias:"ml",key:"space",transformValue:x,scale:S}),T=y({prop:"marginRight",alias:"mr",key:"space",transformValue:x,scale:S}),P=y({prop:"padding",alias:"p",key:"space",transformValue:x,scale:S}),A=y({prop:"paddingTop",alias:"pt",key:"space",transformValue:x,scale:S}),M=y({prop:"paddingBottom",alias:"pb",key:"space",transformValue:x,scale:S}),L=y({prop:"paddingLeft",alias:"pl",key:"space",transformValue:x,scale:S}),I=y({prop:"paddingRight",alias:"pr",key:"space",transformValue:x,scale:S}),R=_((function(e){return r({},e,{mt:f(e.my)?e.my:e.mt,mb:f(e.my)?e.my:e.mb,ml:f(e.mx)?e.mx:e.ml,mr:f(e.mx)?e.mx:e.mr,pt:f(e.py)?e.py:e.pt,pb:f(e.py)?e.py:e.pb,pl:f(e.px)?e.px:e.pl,pr:f(e.px)?e.px:e.pr})}))(b(E,k,C,O,T,P,A,M,L,I)),D=b(y({prop:"color",key:"colors"}),y({prop:"backgroundColor",alias:"bg",key:"colors"})),j=function(e,t){return!d(e)||e>1?p(e):100*e+"%"},N=y({prop:"width",key:"widths",transformValue:j}),F=function(e,t){return p(u(t,e))},B=y({prop:"fontSize",key:"fontSizes",transformValue:F,scale:[12,14,16,20,24,32,48,64,72]}),z=(y({prop:"fontFamily",key:"fonts"}),y({prop:"fontWeight",key:"fontWeights"}),y({prop:"lineHeight",key:"lineHeights"}),y({prop:"textAlign"})),$=(y({prop:"fontStyle"}),y({prop:"letterSpacing",key:"letterSpacings",transformValue:F}),y({prop:"display"})),U=y({prop:"maxWidth",key:"maxWidths",transformValue:F}),H=y({prop:"minWidth",key:"minWidths",transformValue:F}),W=y({prop:"height",key:"heights",transformValue:F}),q=y({prop:"maxHeight",key:"maxHeights",transformValue:F}),V=y({prop:"minHeight",key:"minHeights",transformValue:F}),K=(_((function(e){return r({},e,{width:e.size,height:e.size})}))(b(N,W)),y({prop:"verticalAlign"}),y({prop:"alignItems"})),G=(y({prop:"alignContent"}),y({prop:"justifyItems"}),y({prop:"justifyContent"})),Y=y({prop:"flexWrap"}),J=(y({prop:"flexBasis",transformValue:j}),y({prop:"flexDirection"})),Z=y({prop:"flex"}),X=(y({prop:"justifySelf"}),y({prop:"alignSelf"})),Q=y({prop:"order"}),ee=(y({prop:"gridGap",key:"space",transformValue:F,scale:S}),y({prop:"gridColumnGap",key:"space",transformValue:F,scale:S}),y({prop:"gridRowGap",key:"space",transformValue:F,scale:S}),y({prop:"gridColumn"}),y({prop:"gridRow"}),y({prop:"gridAutoFlow"}),y({prop:"gridAutoColumns"}),y({prop:"gridAutoRows"}),y({prop:"gridTemplateColumns"}),y({prop:"gridTemplateRows"}),y({prop:"gridTemplateAreas"}),y({prop:"gridArea"}),y({prop:"border",key:"borders"})),te=y({prop:"borderWidth",key:"borderWidths",transformValue:F}),ne=y({prop:"borderStyle",key:"borderStyles"}),re=y({prop:"borderColor",key:"colors"});b(ee,y({prop:"borderTop",key:"borders"}),y({prop:"borderRight",key:"borders"}),y({prop:"borderBottom",key:"borders"}),y({prop:"borderLeft",key:"borders"}),te,ne,re,y({prop:"borderRadius",key:"radii",transformValue:F})),y({prop:"boxShadow",key:"shadows"}),y({prop:"opacity"}),y({prop:"overflow"}),y({prop:"background"}),y({prop:"backgroundImage"}),y({prop:"backgroundSize"}),y({prop:"backgroundPosition"}),y({prop:"backgroundRepeat"}),y({prop:"position"}),y({prop:"zIndex",key:"zIndices"}),y({prop:"top",transformValue:F}),y({prop:"right",transformValue:F}),y({prop:"bottom",transformValue:F}),y({prop:"left",transformValue:F}),w({key:"buttons"}),w({key:"textStyles",prop:"textStyle"}),w({key:"colorStyles",prop:"colors"})},54432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.blinkWhite=t.rainbow=t.breatheGreen=t.sin01=t.Animator=t.RGBLed=void 0;const r=n(79896),i=n(16928),o="/sys/class/leds";class a{constructor(e){this.name=e,this.ready=this.open(),this.ready.catch((()=>{}))}async open(){this.maxBrightness=parseInt(await r.promises.readFile(i.join(o,this.name,"max_brightness"),"utf8"),10),this.handle=await r.promises.open(i.join(o,this.name,"brightness"),"w")}async close(){await this.ready,await this.handle.close()}async setIntensity(e){if(await this.ready,e<0||e>1)throw new Error("Led intensity must be between 0 and 1");const t=Math.round(e*this.maxBrightness);t!==this.lastValue&&(await this.handle.write(t.toString(),0),this.lastValue=t)}}function s(e){return(1+Math.sin(e))/2}t.RGBLed=class{constructor(e){this.leds=e.map((e=>new a(e)))}async close(){await Promise.all(this.leds.map((e=>e.close())))}async setColor(e){await Promise.all([this.leds[0].setIntensity(e[0]),this.leds[1].setIntensity(e[1]),this.leds[2].setIntensity(e[2])])}},t.Animator=class{constructor(e,t=10){this.mapping=e,this.updating=!1,this.setFrequency(t)}async setFrequency(e){if(e<0)throw new Error("frequency must be greater or equal to 0");const t=1e3/e;this.stop(),t===1/0?void 0!==this.lastUpdate&&await this.lastUpdate:this.start(t)}start(e){void 0===this.intervalId&&(this.intervalId=setInterval((()=>{this.updateOrSkip()}),e))}stop(){void 0!==this.intervalId&&(clearInterval(this.intervalId),this.intervalId=void 0)}updateOrSkip(){this.updating||(this.lastUpdate=this.update())}async update(){this.updating=!0;const e=(new Date).getTime()/1e3,t=[];for(const{animation:n,rgbLeds:r}of this.mapping){const i=n(e);t.push(...r.map((e=>e.setColor(i))))}await Promise.all(t),this.updating=!1}},t.sin01=s,t.breatheGreen=function(e){return[0,s(e),0]};const l=Math.PI/3;t.rainbow=function(e){return[s(e),s(e+2*l),s(e+4*l)]},t.blinkWhite=function(e){const t=Math.floor(e)%2;return[t,t,t]}},78891:e=>{"use strict";e.exports=2147483647},84335:(e,t,n)=>{"use strict";var r=n(1807),i=n(78891);e.exports=function(e){if((e=r(e))>i)throw new TypeError(e+" exceeds maximum possible timeout");return e}},73056:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},35058:(e,t,n)=>{"use strict";var r=n(51352);e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}},87979:(e,t,n)=>{"use strict";var r=n(23157),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(i,typeof e)}},92791:(e,t,n)=>{"use strict";var r=n(35058),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!i.test(o.call(e))}},51352:(e,t,n)=>{"use strict";var r=n(87979);e.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}},23157:e=>{"use strict";e.exports=function(e){return null!=e}},93693:(e,t)=>{"use strict";let n;if(Object.defineProperty(t,"__esModule",{value:!0}),t.TypedError=void 0,null!=Error.captureStackTrace){const e=Error.captureStackTrace;n=t=>{e(t,t.constructor)}}else n=(e,t)=>{t instanceof Error||(t=new Error(t)),null!=t.stack&&(e.stack=t.stack)};class r extends Error{constructor(e=""){super(),this.stack="",e instanceof Error?this.message=e.message:this.message=e,Object.setPrototypeOf(this,new.target.prototype),this.name=this.constructor.name,n(this,e)}}t.TypedError=r},72905:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,i=1;i<r;++i)t[i]=t[i].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function o(e){var r="[A-Za-z]",i="[0-9]",o=t(i,"[A-Fa-f]"),a=n(n("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+n("%[89A-Fa-f]"+o+"%"+o+o)+"|"+n("%"+o+o)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",u=t(r,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=n(r+t(r,i,"[\\+\\-\\.]")+"*"),d=n(n(a+"|"+t(u,s,"[\\:]"))+"*"),p=(n(n("25[0-5]")+"|"+n("2[0-4]"+i)+"|"+n("1"+i+i)+"|"+n("[1-9]"+i)+"|"+i),n(n("25[0-5]")+"|"+n("2[0-4]"+i)+"|"+n("1"+i+i)+"|"+n("0?[1-9]"+i)+"|0?0?"+i)),h=n(p+"\\."+p+"\\."+p+"\\."+p),m=n(o+"{1,4}"),g=n(n(m+"\\:"+m)+"|"+h),v=n(n(m+"\\:")+"{6}"+g),y=n("\\:\\:"+n(m+"\\:")+"{5}"+g),b=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+g),_=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+g),w=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+g),S=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),x=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),E=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),k=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),C=n([v,y,b,_,w,S,x,E,k].join("|")),O=n(n(u+"|"+a)+"+"),T=(n(C+"\\%25"+O),n(C+n("\\%25|\\%(?!"+o+"{2})")+O)),P=n("[vV]"+o+"+\\."+t(u,s,"[\\:]")+"+"),A=n("\\["+n(T+"|"+C+"|"+P)+"\\]"),M=n(n(a+"|"+t(u,s))+"*"),L=n(A+"|"+h+"(?!"+M+")|"+M),I=n(i+"*"),R=n(n(d+"@")+"?"+L+n("\\:"+I)+"?"),D=n(a+"|"+t(u,s,"[\\:\\@]")),j=n(D+"*"),N=n(D+"+"),F=n(n(a+"|"+t(u,s,"[\\@]"))+"+"),B=n(n("\\/"+j)+"*"),z=n("\\/"+n(N+B)+"?"),$=n(F+B),U=n(N+B),H="(?!"+D+")",W=(n(B+"|"+z+"|"+$+"|"+U+"|"+H),n(n(D+"|"+t("[\\/\\?]",c))+"*")),q=n(n(D+"|[\\/\\?]")+"*"),V=n(n("\\/\\/"+R+B)+"|"+z+"|"+U+"|"+H),K=n(f+"\\:"+V+n("\\?"+W)+"?"+n("\\#"+q)+"?"),G=n(n("\\/\\/"+R+B)+"|"+z+"|"+$+"|"+H),Y=n(G+n("\\?"+W)+"?"+n("\\#"+q)+"?");return n(K+"|"+Y),n(f+"\\:"+V+n("\\?"+W)+"?"),n(n("\\/\\/("+n("("+d+")@")+"?("+L+")"+n("\\:("+I+")")+"?)")+"?("+B+"|"+z+"|"+U+"|"+H+")"),n("\\?("+W+")"),n("\\#("+q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+L+")"+n("\\:("+I+")")+"?)")+"?("+B+"|"+z+"|"+$+"|"+H+")"),n("\\?("+W+")"),n("\\#("+q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+L+")"+n("\\:("+I+")")+"?)")+"?("+B+"|"+z+"|"+U+"|"+H+")"),n("\\?("+W+")"),n("\\#("+q+")"),n("("+d+")@"),n("\\:("+I+")"),{NOT_SCHEME:new RegExp(t("[^]",r,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,s),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,l),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+C+")"+n(n("\\%25|\\%(?!"+o+"{2})")+"("+O+")")+"?\\]?$")}}var a=o(!1),s=o(!0),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=2147483647,u=36,f=/^xn--/,d=/[^\0-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,g=String.fromCharCode;function v(e){throw new RangeError(h[e])}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(p,".")).split("."),t).join(".")}function b(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}var _=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},w=function(e,t,n){var r=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;r+=u)e=m(e/35);return m(r+36*e/(e+38))},S=function(e){var t,n=[],r=e.length,i=0,o=128,a=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&v("not-basic"),n.push(e.charCodeAt(l));for(var f=s>0?s+1:0;f<r;){for(var d=i,p=1,h=u;;h+=u){f>=r&&v("invalid-input");var g=(t=e.charCodeAt(f++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:u;(g>=u||g>m((c-i)/p))&&v("overflow"),i+=g*p;var y=h<=a?1:h>=a+26?26:h-a;if(g<y)break;var b=u-y;p>m(c/b)&&v("overflow"),p*=b}var _=n.length+1;a=w(i-d,_,0==d),m(i/_)>c-o&&v("overflow"),o+=m(i/_),i%=_,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},x=function(e){var t=[],n=(e=b(e)).length,r=128,i=0,o=72,a=!0,s=!1,l=void 0;try{for(var f,d=e[Symbol.iterator]();!(a=(f=d.next()).done);a=!0){var p=f.value;p<128&&t.push(g(p))}}catch(e){s=!0,l=e}finally{try{!a&&d.return&&d.return()}finally{if(s)throw l}}var h=t.length,y=h;for(h&&t.push("-");y<n;){var S=c,x=!0,E=!1,k=void 0;try{for(var C,O=e[Symbol.iterator]();!(x=(C=O.next()).done);x=!0){var T=C.value;T>=r&&T<S&&(S=T)}}catch(e){E=!0,k=e}finally{try{!x&&O.return&&O.return()}finally{if(E)throw k}}var P=y+1;S-r>m((c-i)/P)&&v("overflow"),i+=(S-r)*P,r=S;var A=!0,M=!1,L=void 0;try{for(var I,R=e[Symbol.iterator]();!(A=(I=R.next()).done);A=!0){var D=I.value;if(D<r&&++i>c&&v("overflow"),D==r){for(var j=i,N=u;;N+=u){var F=N<=o?1:N>=o+26?26:N-o;if(j<F)break;var B=j-F,z=u-F;t.push(g(_(F+B%z,0))),j=m(B/z)}t.push(g(_(j,0))),o=w(i,P,y==h),i=0,++y}}}catch(e){M=!0,L=e}finally{try{!A&&R.return&&R.return()}finally{if(M)throw L}}++i,++r}return t.join("")},E={version:"2.1.0",ucs2:{decode:b,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))}},decode:S,encode:x,toASCII:function(e){return y(e,(function(e){return d.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return y(e,(function(e){return f.test(e)?S(e.slice(4).toLowerCase()):e}))}},k={};function C(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function O(e){for(var t="",n=0,r=e.length;n<r;){var i=parseInt(e.substr(n+1,2),16);if(i<128)t+=String.fromCharCode(i),n+=3;else if(i>=194&&i<224){if(r-n>=6){var o=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(n,6);n+=6}else if(i>=224){if(r-n>=9){var a=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function T(e,t){function n(e){var n=O(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,C).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,C).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,C).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,C).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,C).replace(t.PCT_ENCODED,i)),e}function P(e){return e.replace(/^0*(.*)/,"$1")||"0"}function A(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(P).join("."):e}function M(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),i=r[1],o=r[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=l(a,2),c=s[0],u=s[1],f=u?u.split(":").map(P):[],d=c.split(":").map(P),p=t.IPV4ADDRESS.test(d[d.length-1]),h=p?7:8,m=d.length-h,g=Array(h),v=0;v<h;++v)g[v]=f[v]||d[m+v]||"";p&&(g[h-1]=A(g[h-1],t));var y=g.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var _=g.slice(0,y.index),w=g.slice(y.index+y.length);b=_.join(":")+"::"+w.join(":")}else b=g.join(":");return o&&(b+="%"+o),b}return e}var L=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,I=void 0==="".match(/(){0}/)[1];function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?s:a;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(L);if(i){I?(n.scheme=i[1],n.userinfo=i[3],n.host=i[4],n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=i[7],n.fragment=i[8],isNaN(n.port)&&(n.port=i[5])):(n.scheme=i[1]||void 0,n.userinfo=-1!==e.indexOf("@")?i[3]:void 0,n.host=-1!==e.indexOf("//")?i[4]:void 0,n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=-1!==e.indexOf("?")?i[7]:void 0,n.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),n.host&&(n.host=M(A(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var o=k[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)T(n,r);else{if(n.host&&(t.domainHost||o&&o.domainHost))try{n.host=E.toASCII(n.host.replace(r.PCT_ENCODED,O).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}T(n,a)}o&&o.parse&&o.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}var D=/^\.\.?\//,j=/^\/\.(\/|$)/,N=/^\/\.\.(\/|$)/,F=/^\/?(?:.|\n)*?(?=\/|$)/;function B(e){for(var t=[];e.length;)if(e.match(D))e=e.replace(D,"");else if(e.match(j))e=e.replace(j,"/");else if(e.match(N))e=e.replace(N,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(F);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?s:a,r=[],i=k[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?E.toUnicode(e.host):E.toASCII(e.host.replace(n.PCT_ENCODED,O).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}T(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var o=function(e,t){var n=!1!==t.iri?s:a,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(M(A(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}(e,t);if(void 0!==o&&("suffix"!==t.reference&&r.push("//"),r.push(o),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var l=e.path;t.absolutePath||i&&i.absolutePath||(l=B(l)),void 0===o&&(l=l.replace(/^\/\//,"/%2F")),r.push(l)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=R(z(e,n),n),t=R(z(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=B(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=B(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=B(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=B(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function U(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:a.PCT_ENCODED,O)}var H={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},W={scheme:"https",domainHost:H.domainHost,parse:H.parse,serialize:H.serialize};function q(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var V={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=q(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(q(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=l(n,2),i=r[0],o=r[1];e.path=i&&"/"!==i?i:void 0,e.query=o,e.resourceName=void 0}return e.fragment=void 0,e}},K={scheme:"wss",domainHost:V.domainHost,parse:V.parse,serialize:V.serialize},G={},Y="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",J="[0-9A-Fa-f]",Z=n(n("%[EFef]"+J+"%"+J+J+"%"+J+J)+"|"+n("%[89A-Fa-f]"+J+"%"+J+J)+"|"+n("%"+J+J)),X=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Q=new RegExp(Y,"g"),ee=new RegExp(Z,"g"),te=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',X),"g"),ne=new RegExp(t("[^]",Y,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),re=ne;function ie(e){var t=O(e);return t.match(Q)?t:e}var oe={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var i=!1,o={},a=n.query.split("&"),s=0,l=a.length;s<l;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var u=c[1].split(","),f=0,d=u.length;f<d;++f)r.push(u[f]);break;case"subject":n.subject=U(c[1],t);break;case"body":n.body=U(c[1],t);break;default:i=!0,o[U(c[0],t)]=U(c[1],t)}}i&&(n.headers=o)}n.query=void 0;for(var p=0,h=r.length;p<h;++p){var m=r[p].split("@");if(m[0]=U(m[0]),t.unicodeSupport)m[1]=U(m[1],t).toLowerCase();else try{m[1]=E.toASCII(U(m[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[p]=m.join("@")}return n},serialize:function(e,t){var n,r=e,o=null!=(n=e.to)?n instanceof Array?n:"number"!=typeof n.length||n.split||n.setInterval||n.call?[n]:Array.prototype.slice.call(n):[];if(o){for(var a=0,s=o.length;a<s;++a){var l=String(o[a]),c=l.lastIndexOf("@"),u=l.slice(0,c).replace(ee,ie).replace(ee,i).replace(te,C),f=l.slice(c+1);try{f=t.iri?E.toUnicode(f):E.toASCII(U(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}o[a]=u+"@"+f}r.path=o.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var p=[];for(var h in d)d[h]!==G[h]&&p.push(h.replace(ee,ie).replace(ee,i).replace(ne,C)+"="+d[h].replace(ee,ie).replace(ee,i).replace(re,C));return p.length&&(r.query=p.join("&")),r}},ae=/^([^\:]+)\:(.*)/,se={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(ae),r=e;if(n){var i=t.scheme||r.scheme||"urn",o=n[1].toLowerCase(),a=n[2],s=i+":"+(t.nid||o),l=k[s];r.nid=o,r.nss=a,r.path=void 0,l&&(r=l.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,i=n+":"+(t.nid||r),o=k[i];o&&(e=o.serialize(e,t));var a=e,s=e.nss;return a.path=(r||t.nid)+":"+s,a}},le=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ce={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(le)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};k[H.scheme]=H,k[W.scheme]=W,k[V.scheme]=V,k[K.scheme]=K,k[oe.scheme]=oe,k[se.scheme]=se,k[ce.scheme]=ce,e.SCHEMES=k,e.pctEncChar=C,e.pctDecChars=O,e.parse=R,e.removeDotSegments=B,e.serialize=z,e.resolveComponents=$,e.resolve=function(e,t,n){var r=function(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}({scheme:"null"},n);return z($(R(e,r),R(t,r),r,!0),r)},e.normalize=function(e,t){return"string"==typeof e?e=z(R(e,t),t):"object"===r(e)&&(e=R(z(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=z(R(e,n),n):"object"===r(e)&&(e=z(e,n)),"string"==typeof t?t=z(R(t,n),n):"object"===r(t)&&(t=z(t,n)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?s.ESCAPE:a.ESCAPE,C)},e.unescapeComponent=U,Object.defineProperty(e,"__esModule",{value:!0})}(t)},71542:e=>{"use strict";e.exports=function(e){const t=e.length;let n=0;for(;n<t;)if(128&e[n])if(192==(224&e[n])){if(n+1===t||128!=(192&e[n+1])||192==(254&e[n]))return!1;n+=2}else if(224==(240&e[n])){if(n+2>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||224===e[n]&&128==(224&e[n+1])||237===e[n]&&160==(224&e[n+1]))return!1;n+=3}else{if(240!=(248&e[n]))return!1;if(n+3>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||128!=(192&e[n+3])||240===e[n]&&128==(240&e[n+1])||244===e[n]&&e[n+1]>143||e[n]>244)return!1;n+=4}else n++;return!0}},95494:(e,t,n)=>{"use strict";try{e.exports=require(n.ab+"prebuilds/win32-x64/node.napi.node")}catch(t){e.exports=n(71542)}},6224:(e,t,n)=>{"use strict";let r;n.r(t),n.d(t,{NIL:()=>M,parse:()=>g,stringify:()=>u,v1:()=>m,v3:()=>k,v4:()=>O,v5:()=>A,validate:()=>s,version:()=>L});const i=new Uint8Array(16);function o(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=function(e){return"string"==typeof e&&a.test(e)},l=[];for(let e=0;e<256;++e)l.push((e+256).toString(16).slice(1));function c(e,t=0){return l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]}const u=function(e,t=0){const n=c(e,t);if(!s(n))throw TypeError("Stringified UUID is invalid");return n};let f,d,p=0,h=0;const m=function(e,t,n){let r=t&&n||0;const i=t||new Array(16);let a=(e=e||{}).node||f,s=void 0!==e.clockseq?e.clockseq:d;if(null==a||null==s){const t=e.random||(e.rng||o)();null==a&&(a=f=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==s&&(s=d=16383&(t[6]<<8|t[7]))}let l=void 0!==e.msecs?e.msecs:Date.now(),u=void 0!==e.nsecs?e.nsecs:h+1;const m=l-p+(u-h)/1e4;if(m<0&&void 0===e.clockseq&&(s=s+1&16383),(m<0||l>p)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=l,h=u,d=s,l+=122192928e5;const g=(1e4*(268435455&l)+u)%4294967296;i[r++]=g>>>24&255,i[r++]=g>>>16&255,i[r++]=g>>>8&255,i[r++]=255&g;const v=l/4294967296*1e4&268435455;i[r++]=v>>>8&255,i[r++]=255&v,i[r++]=v>>>24&15|16,i[r++]=v>>>16&255,i[r++]=s>>>8|128,i[r++]=255&s;for(let e=0;e<6;++e)i[r+e]=a[e];return t||c(i)},g=function(e){if(!s(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function v(e,t,n){function r(e,r,i,o){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=g(r)),16!==(null===(a=r)||void 0===a?void 0:a.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+e.length);if(s.set(r),s.set(e,r.length),s=n(s),s[6]=15&s[6]|t,s[8]=63&s[8]|128,i){o=o||0;for(let e=0;e<16;++e)i[o+e]=s[e];return i}return c(s)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function y(e){return 14+(e+64>>>9<<4)+1}function b(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function _(e,t,n,r,i,o){return b((a=b(b(t,e),b(r,o)))<<(s=i)|a>>>32-s,n);var a,s}function w(e,t,n,r,i,o,a){return _(t&n|~t&r,e,t,i,o,a)}function S(e,t,n,r,i,o,a){return _(t&r|n&~r,e,t,i,o,a)}function x(e,t,n,r,i,o,a){return _(t^n^r,e,t,i,o,a)}function E(e,t,n,r,i,o,a){return _(n^(t|~r),e,t,i,o,a)}const k=v("v3",48,(function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length,r="0123456789abcdef";for(let i=0;i<n;i+=8){const n=e[i>>5]>>>i%32&255,o=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[y(t)-1]=t;let n=1732584193,r=-271733879,i=-1732584194,o=271733878;for(let t=0;t<e.length;t+=16){const a=n,s=r,l=i,c=o;n=w(n,r,i,o,e[t],7,-680876936),o=w(o,n,r,i,e[t+1],12,-389564586),i=w(i,o,n,r,e[t+2],17,606105819),r=w(r,i,o,n,e[t+3],22,-1044525330),n=w(n,r,i,o,e[t+4],7,-176418897),o=w(o,n,r,i,e[t+5],12,1200080426),i=w(i,o,n,r,e[t+6],17,-1473231341),r=w(r,i,o,n,e[t+7],22,-45705983),n=w(n,r,i,o,e[t+8],7,1770035416),o=w(o,n,r,i,e[t+9],12,-1958414417),i=w(i,o,n,r,e[t+10],17,-42063),r=w(r,i,o,n,e[t+11],22,-1990404162),n=w(n,r,i,o,e[t+12],7,1804603682),o=w(o,n,r,i,e[t+13],12,-40341101),i=w(i,o,n,r,e[t+14],17,-1502002290),r=w(r,i,o,n,e[t+15],22,1236535329),n=S(n,r,i,o,e[t+1],5,-165796510),o=S(o,n,r,i,e[t+6],9,-1069501632),i=S(i,o,n,r,e[t+11],14,643717713),r=S(r,i,o,n,e[t],20,-373897302),n=S(n,r,i,o,e[t+5],5,-701558691),o=S(o,n,r,i,e[t+10],9,38016083),i=S(i,o,n,r,e[t+15],14,-660478335),r=S(r,i,o,n,e[t+4],20,-405537848),n=S(n,r,i,o,e[t+9],5,568446438),o=S(o,n,r,i,e[t+14],9,-1019803690),i=S(i,o,n,r,e[t+3],14,-187363961),r=S(r,i,o,n,e[t+8],20,1163531501),n=S(n,r,i,o,e[t+13],5,-1444681467),o=S(o,n,r,i,e[t+2],9,-51403784),i=S(i,o,n,r,e[t+7],14,1735328473),r=S(r,i,o,n,e[t+12],20,-1926607734),n=x(n,r,i,o,e[t+5],4,-378558),o=x(o,n,r,i,e[t+8],11,-2022574463),i=x(i,o,n,r,e[t+11],16,1839030562),r=x(r,i,o,n,e[t+14],23,-35309556),n=x(n,r,i,o,e[t+1],4,-1530992060),o=x(o,n,r,i,e[t+4],11,1272893353),i=x(i,o,n,r,e[t+7],16,-155497632),r=x(r,i,o,n,e[t+10],23,-1094730640),n=x(n,r,i,o,e[t+13],4,681279174),o=x(o,n,r,i,e[t],11,-358537222),i=x(i,o,n,r,e[t+3],16,-722521979),r=x(r,i,o,n,e[t+6],23,76029189),n=x(n,r,i,o,e[t+9],4,-640364487),o=x(o,n,r,i,e[t+12],11,-421815835),i=x(i,o,n,r,e[t+15],16,530742520),r=x(r,i,o,n,e[t+2],23,-995338651),n=E(n,r,i,o,e[t],6,-198630844),o=E(o,n,r,i,e[t+7],10,1126891415),i=E(i,o,n,r,e[t+14],15,-1416354905),r=E(r,i,o,n,e[t+5],21,-57434055),n=E(n,r,i,o,e[t+12],6,1700485571),o=E(o,n,r,i,e[t+3],10,-1894986606),i=E(i,o,n,r,e[t+10],15,-1051523),r=E(r,i,o,n,e[t+1],21,-2054922799),n=E(n,r,i,o,e[t+8],6,1873313359),o=E(o,n,r,i,e[t+15],10,-30611744),i=E(i,o,n,r,e[t+6],15,-1560198380),r=E(r,i,o,n,e[t+13],21,1309151649),n=E(n,r,i,o,e[t+4],6,-145523070),o=E(o,n,r,i,e[t+11],10,-1120210379),i=E(i,o,n,r,e[t+2],15,718787259),r=E(r,i,o,n,e[t+9],21,-343485551),n=b(n,a),r=b(r,s),i=b(i,l),o=b(o,c)}return[n,r,i,o]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(y(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),C={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},O=function(e,t,n){if(C.randomUUID&&!t&&!e)return C.randomUUID();const r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return c(r)};function T(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function P(e,t){return e<<t|e>>>32-t}const A=v("v5",80,(function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const r=e.length/4+2,i=Math.ceil(r/16),o=new Array(i);for(let t=0;t<i;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];o[t]=n}o[i-1][14]=8*(e.length-1)/Math.pow(2,32),o[i-1][14]=Math.floor(o[i-1][14]),o[i-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<i;++e){const r=new Uint32Array(80);for(let t=0;t<16;++t)r[t]=o[e][t];for(let e=16;e<80;++e)r[e]=P(r[e-3]^r[e-8]^r[e-14]^r[e-16],1);let i=n[0],a=n[1],s=n[2],l=n[3],c=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),o=P(i,5)+T(n,a,s,l)+c+t[n]+r[e]>>>0;c=l,l=s,s=P(a,30)>>>0,a=i,i=o}n[0]=n[0]+i>>>0,n[1]=n[1]+a>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+l>>>0,n[4]=n[4]+c>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),M="00000000-0000-0000-0000-000000000000",L=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},36773:e=>{"use strict";e.exports=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},66084:e=>{"use strict";e.exports=function(e){return"function"==typeof e}},15838:(e,t,n)=>{"use strict";var r=n(36773),i=n(45890);e.exports=function(e){var t;if(!r(e))return!1;if(!(t=e.length))return!1;for(var n=0;n<t;n++)if(!i(e[n]))return!1;return!0}},45890:(e,t,n)=>{"use strict";var r=n(5001);e.exports=function(e){return r(e)&&e%1==0}},5001:e=>{"use strict";e.exports=function(e){return("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))&&e.valueOf()==e.valueOf()}},62961:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},95464:(e,t,n)=>{"use strict";const{EMPTY_BUFFER:r}=n(7628),i=Buffer[Symbol.species];function o(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[o]^t[3&o]}function a(e,t){for(let n=0;n<e.length;n++)e[n]^=t[3&n]}if(e.exports={concat:function(e,t){if(0===e.length)return r;if(1===e.length)return e[0];const n=Buffer.allocUnsafe(t);let o=0;for(let t=0;t<e.length;t++){const r=e[t];n.set(r,o),o+=r.length}return o<t?new i(n.buffer,n.byteOffset,o):n},mask:o,toArrayBuffer:function(e){return e.length===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.length)},toBuffer:function e(t){if(e.readOnly=!0,Buffer.isBuffer(t))return t;let n;return t instanceof ArrayBuffer?n=new i(t):ArrayBuffer.isView(t)?n=new i(t.buffer,t.byteOffset,t.byteLength):(n=Buffer.from(t),e.readOnly=!1),n},unmask:a},!process.env.WS_NO_BUFFER_UTIL)try{const t=n(94581);e.exports.mask=function(e,n,r,i,a){a<48?o(e,n,r,i,a):t.mask(e,n,r,i,a)},e.exports.unmask=function(e,n){e.length<32?a(e,n):t.unmask(e,n)}}catch(e){}},7628:e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},46583:(e,t,n)=>{"use strict";const{kForOnEventAttribute:r,kListener:i}=n(7628),o=Symbol("kCode"),a=Symbol("kData"),s=Symbol("kError"),l=Symbol("kMessage"),c=Symbol("kReason"),u=Symbol("kTarget"),f=Symbol("kType"),d=Symbol("kWasClean");class p{constructor(e){this[u]=null,this[f]=e}get target(){return this[u]}get type(){return this[f]}}Object.defineProperty(p.prototype,"target",{enumerable:!0}),Object.defineProperty(p.prototype,"type",{enumerable:!0});class h extends p{constructor(e,t={}){super(e),this[o]=void 0===t.code?0:t.code,this[c]=void 0===t.reason?"":t.reason,this[d]=void 0!==t.wasClean&&t.wasClean}get code(){return this[o]}get reason(){return this[c]}get wasClean(){return this[d]}}Object.defineProperty(h.prototype,"code",{enumerable:!0}),Object.defineProperty(h.prototype,"reason",{enumerable:!0}),Object.defineProperty(h.prototype,"wasClean",{enumerable:!0});class m extends p{constructor(e,t={}){super(e),this[s]=void 0===t.error?null:t.error,this[l]=void 0===t.message?"":t.message}get error(){return this[s]}get message(){return this[l]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class g extends p{constructor(e,t={}){super(e),this[a]=void 0===t.data?null:t.data}get data(){return this[a]}}Object.defineProperty(g.prototype,"data",{enumerable:!0});const v={addEventListener(e,t,n={}){for(const o of this.listeners(e))if(!n[r]&&o[i]===t&&!o[r])return;let o;if("message"===e)o=function(e,n){const r=new g("message",{data:n?e:e.toString()});r[u]=this,y(t,this,r)};else if("close"===e)o=function(e,n){const r=new h("close",{code:e,reason:n.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});r[u]=this,y(t,this,r)};else if("error"===e)o=function(e){const n=new m("error",{error:e,message:e.message});n[u]=this,y(t,this,n)};else{if("open"!==e)return;o=function(){const e=new p("open");e[u]=this,y(t,this,e)}}o[r]=!!n[r],o[i]=t,n.once?this.once(e,o):this.on(e,o)},removeEventListener(e,t){for(const n of this.listeners(e))if(n[i]===t&&!n[r]){this.removeListener(e,n);break}}};function y(e,t,n){"object"==typeof e&&e.handleEvent?e.handleEvent.call(e,n):e.call(t,n)}e.exports={CloseEvent:h,ErrorEvent:m,Event:p,EventTarget:v,MessageEvent:g}},92604:(e,t,n)=>{"use strict";const{tokenChars:r}=n(26702);function i(e,t,n){void 0===e[t]?e[t]=[n]:e[t].push(n)}e.exports={format:function(e){return Object.keys(e).map((t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map((e=>[t].concat(Object.keys(e).map((t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map((e=>!0===e?t:`${t}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const t=Object.create(null);let n,o,a=Object.create(null),s=!1,l=!1,c=!1,u=-1,f=-1,d=-1,p=0;for(;p<e.length;p++)if(f=e.charCodeAt(p),void 0===n)if(-1===d&&1===r[f])-1===u&&(u=p);else if(0===p||32!==f&&9!==f){if(59!==f&&44!==f)throw new SyntaxError(`Unexpected character at index ${p}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${p}`);-1===d&&(d=p);const r=e.slice(u,d);44===f?(i(t,r,a),a=Object.create(null)):n=r,u=d=-1}}else-1===d&&-1!==u&&(d=p);else if(void 0===o)if(-1===d&&1===r[f])-1===u&&(u=p);else if(32===f||9===f)-1===d&&-1!==u&&(d=p);else if(59===f||44===f){if(-1===u)throw new SyntaxError(`Unexpected character at index ${p}`);-1===d&&(d=p),i(a,e.slice(u,d),!0),44===f&&(i(t,n,a),a=Object.create(null),n=void 0),u=d=-1}else{if(61!==f||-1===u||-1!==d)throw new SyntaxError(`Unexpected character at index ${p}`);o=e.slice(u,p),u=d=-1}else if(l){if(1!==r[f])throw new SyntaxError(`Unexpected character at index ${p}`);-1===u?u=p:s||(s=!0),l=!1}else if(c)if(1===r[f])-1===u&&(u=p);else if(34===f&&-1!==u)c=!1,d=p;else{if(92!==f)throw new SyntaxError(`Unexpected character at index ${p}`);l=!0}else if(34===f&&61===e.charCodeAt(p-1))c=!0;else if(-1===d&&1===r[f])-1===u&&(u=p);else if(-1===u||32!==f&&9!==f){if(59!==f&&44!==f)throw new SyntaxError(`Unexpected character at index ${p}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${p}`);-1===d&&(d=p);let r=e.slice(u,d);s&&(r=r.replace(/\\/g,""),s=!1),i(a,o,r),44===f&&(i(t,n,a),a=Object.create(null),n=void 0),o=void 0,u=d=-1}}else-1===d&&(d=p);if(-1===u||c||32===f||9===f)throw new SyntaxError("Unexpected end of input");-1===d&&(d=p);const h=e.slice(u,d);return void 0===n?i(t,h,a):(void 0===o?i(a,h,!0):i(a,o,s?h.replace(/\\/g,""):h),i(t,n,a)),t}}},17761:e=>{"use strict";const t=Symbol("kDone"),n=Symbol("kRun");e.exports=class{constructor(e){this[t]=()=>{this.pending--,this[n]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[n]()}[n](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[t])}}}},24313:(e,t,n)=>{"use strict";const r=n(43106),i=n(95464),o=n(17761),{kStatusCode:a}=n(7628),s=Buffer[Symbol.species],l=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),u=Symbol("total-length"),f=Symbol("callback"),d=Symbol("buffers"),p=Symbol("error");let h;function m(e){this[d].push(e),this[u]+=e.length}function g(e){this[u]+=e.length,this[c]._maxPayload<1||this[u]<=this[c]._maxPayload?this[d].push(e):(this[p]=new RangeError("Max payload size exceeded"),this[p].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[p][a]=1009,this.removeListener("data",g),this.reset())}function v(e){this[c]._inflate=null,e[a]=1007,this[f](e)}e.exports=class{constructor(e,t,n){if(this._maxPayload=0|n,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!h){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;h=new o(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[f];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const t=this._options,n=e.find((e=>!(!1===t.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===t.serverMaxWindowBits||"number"==typeof t.serverMaxWindowBits&&t.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof t.clientMaxWindowBits&&!e.client_max_window_bits)));if(!n)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(n.server_no_context_takeover=!0),t.clientNoContextTakeover&&(n.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(n.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?n.client_max_window_bits=t.clientMaxWindowBits:!0!==n.client_max_window_bits&&!1!==t.clientMaxWindowBits||delete n.client_max_window_bits,n}acceptAsClient(e){const t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((t=>{let n=e[t];if(n.length>1)throw new Error(`Parameter "${t}" must have only a single value`);if(n=n[0],"client_max_window_bits"===t){if(!0!==n){const e=+n;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${t}": ${n}`)}else if("server_max_window_bits"===t){const e=+n;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else{if("client_no_context_takeover"!==t&&"server_no_context_takeover"!==t)throw new Error(`Unknown parameter "${t}"`);if(!0!==n)throw new TypeError(`Invalid value for parameter "${t}": ${n}`)}e[t]=n}))})),e}decompress(e,t,n){h.add((r=>{this._decompress(e,t,((e,t)=>{r(),n(e,t)}))}))}compress(e,t,n){h.add((r=>{this._compress(e,t,((e,t)=>{r(),n(e,t)}))}))}_decompress(e,t,n){const o=this._isServer?"client":"server";if(!this._inflate){const e=`${o}_max_window_bits`,t="number"!=typeof this.params[e]?r.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=r.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[u]=0,this._inflate[d]=[],this._inflate.on("error",v),this._inflate.on("data",g)}this._inflate[f]=n,this._inflate.write(e),t&&this._inflate.write(l),this._inflate.flush((()=>{const e=this._inflate[p];if(e)return this._inflate.close(),this._inflate=null,void n(e);const r=i.concat(this._inflate[d],this._inflate[u]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[u]=0,this._inflate[d]=[],t&&this.params[`${o}_no_context_takeover`]&&this._inflate.reset()),n(null,r)}))}_compress(e,t,n){const o=this._isServer?"server":"client";if(!this._deflate){const e=`${o}_max_window_bits`,t="number"!=typeof this.params[e]?r.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=r.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[u]=0,this._deflate[d]=[],this._deflate.on("data",m)}this._deflate[f]=n,this._deflate.write(e),this._deflate.flush(r.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=i.concat(this._deflate[d],this._deflate[u]);t&&(e=new s(e.buffer,e.byteOffset,e.length-4)),this._deflate[f]=null,this._deflate[u]=0,this._deflate[d]=[],t&&this.params[`${o}_no_context_takeover`]&&this._deflate.reset(),n(null,e)}))}}},43264:(e,t,n)=>{"use strict";const{Writable:r}=n(2203),i=n(24313),{BINARY_TYPES:o,EMPTY_BUFFER:a,kStatusCode:s,kWebSocket:l}=n(7628),{concat:c,toArrayBuffer:u,unmask:f}=n(95464),{isValidStatusCode:d,isValidUTF8:p}=n(26702),h=Buffer[Symbol.species],m=Promise.resolve(),g="function"==typeof queueMicrotask?queueMicrotask:function(e){m.then(e).catch(y)};function v(e){throw e}function y(e){process.nextTick(v,e)}e.exports=class extends r{constructor(e={}){super(),this._allowSynchronousEvents=!!e.allowSynchronousEvents,this._binaryType=e.binaryType||o[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[l]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(e,t,n){if(8===this._opcode&&0==this._state)return n();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];return this._buffers[0]=new h(t.buffer,t.byteOffset+e,t.length-e),new h(t.buffer,t.byteOffset,e)}const t=Buffer.allocUnsafe(e);do{const n=this._buffers[0],r=t.length-e;e>=n.length?t.set(this._buffers.shift(),r):(t.set(new Uint8Array(n.buffer,n.byteOffset,e),r),this._buffers[0]=new h(n.buffer,n.byteOffset+e,n.length-e)),e-=n.length}while(e>0);return t}startLoop(e){this._loop=!0;do{switch(this._state){case 0:this.getInfo(e);break;case 1:this.getPayloadLength16(e);break;case 2:this.getPayloadLength64(e);break;case 3:this.getMask();break;case 4:this.getData(e);break;case 5:case 6:return void(this._loop=!1)}}while(this._loop);this._errored||e()}getInfo(e){if(this._bufferedBytes<2)return void(this._loop=!1);const t=this.consume(2);if(48&t[0])return void e(this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3"));const n=!(64&~t[0]);if(!n||this._extensions[i.extensionName]){if(this._fin=!(128&~t[0]),this._opcode=15&t[0],this._payloadLength=127&t[1],0===this._opcode){if(n)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(!this._fragmented)return void e(this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE"));this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));this._compressed=n}else{if(!(this._opcode>7&&this._opcode<11))return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));if(!this._fin)return void e(this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN"));if(n)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(this._payloadLength>125||8===this._opcode&&1===this._payloadLength)return void e(this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH"))}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=!(128&~t[1]),this._isServer){if(!this._masked)return void e(this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK"))}else if(this._masked)return void e(this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK"));126===this._payloadLength?this._state=1:127===this._payloadLength?this._state=2:this.haveLength(e)}else e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"))}getPayloadLength16(e){this._bufferedBytes<2?this._loop=!1:(this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e))}getPayloadLength64(e){if(this._bufferedBytes<8)return void(this._loop=!1);const t=this.consume(8),n=t.readUInt32BE(0);n>Math.pow(2,21)-1?e(this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=n*Math.pow(2,32)+t.readUInt32BE(4),this.haveLength(e))}haveLength(e){this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)?e(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH")):this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let t=a;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3]&&f(t,this._mask)}if(this._opcode>7)this.controlMessage(t,e);else{if(this._compressed)return this._state=5,void this.decompress(t,e);t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage(e)}}decompress(e,t){this._extensions[i.extensionName].decompress(e,this._fin,((e,n)=>{if(e)return t(e);if(n.length){if(this._messageLength+=n.length,this._messageLength>this._maxPayload&&this._maxPayload>0){const e=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");return void t(e)}this._fragments.push(n)}this.dataMessage(t),0===this._state&&this.startLoop(t)}))}dataMessage(e){if(!this._fin)return void(this._state=0);const t=this._messageLength,n=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?c(n,t):"arraybuffer"===this._binaryType?u(c(n,t)):n,5===this._state||this._allowSynchronousEvents?(this.emit("message",r,!0),this._state=0):(this._state=6,g((()=>{this.emit("message",r,!0),this._state=0,this.startLoop(e)})))}else{const r=c(n,t);if(!this._skipUTF8Validation&&!p(r)){const t=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");return void e(t)}5===this._state||this._allowSynchronousEvents?(this.emit("message",r,!1),this._state=0):(this._state=6,g((()=>{this.emit("message",r,!1),this._state=0,this.startLoop(e)})))}}controlMessage(e,t){if(8!==this._opcode)this._allowSynchronousEvents?(this.emit(9===this._opcode?"ping":"pong",e),this._state=0):(this._state=6,g((()=>{this.emit(9===this._opcode?"ping":"pong",e),this._state=0,this.startLoop(t)})));else{if(0===e.length)this._loop=!1,this.emit("conclude",1005,a),this.end();else{const n=e.readUInt16BE(0);if(!d(n)){const e=this.createError(RangeError,`invalid status code ${n}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");return void t(e)}const r=new h(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!p(r)){const e=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");return void t(e)}this._loop=!1,this.emit("conclude",n,r),this.end()}this._state=0}}createError(e,t,n,r,i){this._loop=!1,this._errored=!0;const o=new e(n?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=i,o[s]=r,o}}},31208:(e,t,n)=>{"use strict";const{Duplex:r}=n(2203),{randomFillSync:i}=n(76982),o=n(24313),{EMPTY_BUFFER:a}=n(7628),{isValidStatusCode:s}=n(26702),{mask:l,toBuffer:c}=n(95464),u=Symbol("kByteLength"),f=Buffer.alloc(4);class d{constructor(e,t,n){this._extensions=t||{},n&&(this._generateMask=n,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){let n,r,o=!1,a=2,s=!1;t.mask&&(n=t.maskBuffer||f,t.generateMask?t.generateMask(n):i(n,0,4),s=!(n[0]|n[1]|n[2]|n[3]),a=6),"string"==typeof e?r=t.mask&&!s||void 0===t[u]?(e=Buffer.from(e)).length:t[u]:(r=e.length,o=t.mask&&t.readOnly&&!s);let c=r;r>=65536?(a+=8,c=127):r>125&&(a+=2,c=126);const d=Buffer.allocUnsafe(o?r+a:a);return d[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(d[0]|=64),d[1]=c,126===c?d.writeUInt16BE(r,2):127===c&&(d[2]=d[3]=0,d.writeUIntBE(r,4,6)),t.mask?(d[1]|=128,d[a-4]=n[0],d[a-3]=n[1],d[a-2]=n[2],d[a-1]=n[3],s?[d,e]:o?(l(e,n,d,a,r),[d]):(l(e,n,e,0,r),[d,e])):[d,e]}close(e,t,n,r){let i;if(void 0===e)i=a;else{if("number"!=typeof e||!s(e))throw new TypeError("First argument must be a valid error code number");if(void 0!==t&&t.length){const n=Buffer.byteLength(t);if(n>123)throw new RangeError("The message must not be greater than 123 bytes");i=Buffer.allocUnsafe(2+n),i.writeUInt16BE(e,0),"string"==typeof t?i.write(t,2):i.set(t,2)}else i=Buffer.allocUnsafe(2),i.writeUInt16BE(e,0)}const o={[u]:i.length,fin:!0,generateMask:this._generateMask,mask:n,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._deflating?this.enqueue([this.dispatch,i,!1,o,r]):this.sendFrame(d.frame(i,o),r)}ping(e,t,n){let r,i;if("string"==typeof e?(r=Buffer.byteLength(e),i=!1):(r=(e=c(e)).length,i=c.readOnly),r>125)throw new RangeError("The data size must not be greater than 125 bytes");const o={[u]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};this._deflating?this.enqueue([this.dispatch,e,!1,o,n]):this.sendFrame(d.frame(e,o),n)}pong(e,t,n){let r,i;if("string"==typeof e?(r=Buffer.byteLength(e),i=!1):(r=(e=c(e)).length,i=c.readOnly),r>125)throw new RangeError("The data size must not be greater than 125 bytes");const o={[u]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};this._deflating?this.enqueue([this.dispatch,e,!1,o,n]):this.sendFrame(d.frame(e,o),n)}send(e,t,n){const r=this._extensions[o.extensionName];let i,a,s=t.binary?2:1,l=t.compress;if("string"==typeof e?(i=Buffer.byteLength(e),a=!1):(i=(e=c(e)).length,a=c.readOnly),this._firstFragment?(this._firstFragment=!1,l&&r&&r.params[r._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(l=i>=r._threshold),this._compress=l):(l=!1,s=0),t.fin&&(this._firstFragment=!0),r){const r={[u]:i,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:s,readOnly:a,rsv1:l};this._deflating?this.enqueue([this.dispatch,e,this._compress,r,n]):this.dispatch(e,this._compress,r,n)}else this.sendFrame(d.frame(e,{[u]:i,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:s,readOnly:a,rsv1:!1}),n)}dispatch(e,t,n,r){if(!t)return void this.sendFrame(d.frame(e,n),r);const i=this._extensions[o.extensionName];this._bufferedBytes+=n[u],this._deflating=!0,i.compress(e,n.fin,((e,t)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof r&&r(e);for(let t=0;t<this._queue.length;t++){const n=this._queue[t],r=n[n.length-1];"function"==typeof r&&r(e)}}else this._bufferedBytes-=n[u],this._deflating=!1,n.readOnly=!1,this.sendFrame(d.frame(t,n),r),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[3][u],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][u],this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}e.exports=d},48705:(e,t,n)=>{"use strict";const{Duplex:r}=n(2203);function i(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function a(e){this.removeListener("error",a),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let n=!0;const s=new r({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(t,n){const r=!n&&s._readableState.objectMode?t.toString():t;s.push(r)||e.pause()})),e.once("error",(function(e){s.destroyed||(n=!1,s.destroy(e))})),e.once("close",(function(){s.destroyed||s.push(null)})),s._destroy=function(t,r){if(e.readyState===e.CLOSED)return r(t),void process.nextTick(i,s);let o=!1;e.once("error",(function(e){o=!0,r(e)})),e.once("close",(function(){o||r(t),process.nextTick(i,s)})),n&&e.terminate()},s._final=function(t){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(t(),s._readableState.endEmitted&&s.destroy()):(e._socket.once("finish",(function(){t()})),e.close())):e.once("open",(function(){s._final(t)}))},s._read=function(){e.isPaused&&e.resume()},s._write=function(t,n,r){e.readyState!==e.CONNECTING?e.send(t,r):e.once("open",(function(){s._write(t,n,r)}))},s.on("end",o),s.on("error",a),s}},39135:(e,t,n)=>{"use strict";const{tokenChars:r}=n(26702);e.exports={parse:function(e){const t=new Set;let n=-1,i=-1,o=0;for(;o<e.length;o++){const a=e.charCodeAt(o);if(-1===i&&1===r[a])-1===n&&(n=o);else if(0===o||32!==a&&9!==a){if(44!==a)throw new SyntaxError(`Unexpected character at index ${o}`);{if(-1===n)throw new SyntaxError(`Unexpected character at index ${o}`);-1===i&&(i=o);const r=e.slice(n,i);if(t.has(r))throw new SyntaxError(`The "${r}" subprotocol is duplicated`);t.add(r),n=i=-1}}else-1===i&&-1!==n&&(i=o)}if(-1===n||-1!==i)throw new SyntaxError("Unexpected end of input");const a=e.slice(n,o);if(t.has(a))throw new SyntaxError(`The "${a}" subprotocol is duplicated`);return t.add(a),t}}},26702:(e,t,n)=>{"use strict";const{isUtf8:r}=n(20181);function i(e){const t=e.length;let n=0;for(;n<t;)if(128&e[n])if(192==(224&e[n])){if(n+1===t||128!=(192&e[n+1])||192==(254&e[n]))return!1;n+=2}else if(224==(240&e[n])){if(n+2>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||224===e[n]&&128==(224&e[n+1])||237===e[n]&&160==(224&e[n+1]))return!1;n+=3}else{if(240!=(248&e[n]))return!1;if(n+3>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||128!=(192&e[n+3])||240===e[n]&&128==(240&e[n+1])||244===e[n]&&e[n+1]>143||e[n]>244)return!1;n+=4}else n++;return!0}if(e.exports={isValidStatusCode:function(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},isValidUTF8:i,tokenChars:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0]},r)e.exports.isValidUTF8=function(e){return e.length<24?i(e):r(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{const t=n(95494);e.exports.isValidUTF8=function(e){return e.length<32?i(e):t(e)}}catch(e){}},37116:(e,t,n)=>{"use strict";const r=n(24434),i=n(58611),{Duplex:o}=n(2203),{createHash:a}=n(76982),s=n(92604),l=n(24313),c=n(39135),u=n(15530),{GUID:f,kWebSocket:d}=n(7628),p=/^[+/0-9A-Za-z]{22}==$/;function h(e){e._state=2,e.emit("close")}function m(){this.destroy()}function g(e,t,n,r){n=n||i.STATUS_CODES[t],r={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(n),...r},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${i.STATUS_CODES[t]}\r\n`+Object.keys(r).map((e=>`${e}: ${r[e]}`)).join("\r\n")+"\r\n\r\n"+n)}function v(e,t,n,r,i){if(e.listenerCount("wsClientError")){const r=new Error(i);Error.captureStackTrace(r,v),e.emit("wsClientError",r,n,t)}else g(n,r,i)}e.exports=class extends r{constructor(e,t){if(super(),null==(e={allowSynchronousEvents:!1,autoPong:!0,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:u,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=i.createServer(((e,t)=>{const n=i.STATUS_CODES[426];t.writeHead(426,{"Content-Length":n.length,"Content-Type":"text/plain"}),t.end(n)})),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(const n of Object.keys(t))e.on(n,t[n]);return function(){for(const n of Object.keys(t))e.removeListener(n,t[n])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,n,r)=>{this.handleUpgrade(t,n,r,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state)return e&&this.once("close",(()=>{e(new Error("The server is not running"))})),void process.nextTick(h,this);if(e&&this.once("close",e),1!==this._state)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(h,this);else{const e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close((()=>{h(this)}))}}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,n,r){t.on("error",m);const i=e.headers["sec-websocket-key"],o=+e.headers["sec-websocket-version"];if("GET"!==e.method)return void v(this,e,t,405,"Invalid HTTP method");if("websocket"!==e.headers.upgrade.toLowerCase())return void v(this,e,t,400,"Invalid Upgrade header");if(!i||!p.test(i))return void v(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");if(8!==o&&13!==o)return void v(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header");if(!this.shouldHandle(e))return void g(t,400);const a=e.headers["sec-websocket-protocol"];let u=new Set;if(void 0!==a)try{u=c.parse(a)}catch(n){return void v(this,e,t,400,"Invalid Sec-WebSocket-Protocol header")}const f=e.headers["sec-websocket-extensions"],d={};if(this.options.perMessageDeflate&&void 0!==f){const n=new l(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const e=s.parse(f);e[l.extensionName]&&(n.accept(e[l.extensionName]),d[l.extensionName]=n)}catch(n){return void v(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header")}}if(this.options.verifyClient){const a={origin:e.headers[8===o?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(a,((o,a,s,l)=>{if(!o)return g(t,a||401,s,l);this.completeUpgrade(d,i,u,e,t,n,r)}));if(!this.options.verifyClient(a))return g(t,401)}this.completeUpgrade(d,i,u,e,t,n,r)}completeUpgrade(e,t,n,r,i,o,c){if(!i.readable||!i.writable)return i.destroy();if(i[d])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return g(i,503);const u=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${a("sha1").update(t+f).digest("base64")}`],p=new this.options.WebSocket(null,void 0,this.options);if(n.size){const e=this.options.handleProtocols?this.options.handleProtocols(n,r):n.values().next().value;e&&(u.push(`Sec-WebSocket-Protocol: ${e}`),p._protocol=e)}if(e[l.extensionName]){const t=e[l.extensionName].params,n=s.format({[l.extensionName]:[t]});u.push(`Sec-WebSocket-Extensions: ${n}`),p._extensions=e}this.emit("headers",u,r),i.write(u.concat("\r\n").join("\r\n")),i.removeListener("error",m),p.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(p),p.on("close",(()=>{this.clients.delete(p),this._shouldEmitClose&&!this.clients.size&&process.nextTick(h,this)}))),c(p,r)}}},15530:(e,t,n)=>{"use strict";const r=n(24434),i=n(65692),o=n(58611),a=n(69278),s=n(64756),{randomBytes:l,createHash:c}=n(76982),{Duplex:u,Readable:f}=n(2203),{URL:d}=n(87016),p=n(24313),h=n(43264),m=n(31208),{BINARY_TYPES:g,EMPTY_BUFFER:v,GUID:y,kForOnEventAttribute:b,kListener:_,kStatusCode:w,kWebSocket:S,NOOP:x}=n(7628),{EventTarget:{addEventListener:E,removeEventListener:k}}=n(46583),{format:C,parse:O}=n(92604),{toBuffer:T}=n(95464),P=Symbol("kAborted"),A=[8,13],M=["CONNECTING","OPEN","CLOSING","CLOSED"],L=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class I extends r{constructor(e,t,n){super(),this._binaryType=g[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=v,this._closeTimer=null,this._extensions={},this._paused=!1,this._protocol="",this._readyState=I.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(n=t,t=[]):t=[t]),R(this,e,t,n)):(this._autoPong=n.autoPong,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){g.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,n){const r=new h({allowSynchronousEvents:n.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:n.maxPayload,skipUTF8Validation:n.skipUTF8Validation});this._sender=new m(e,this._extensions,n.generateMask),this._receiver=r,this._socket=e,r[S]=this,e[S]=this,r.on("conclude",z),r.on("drain",$),r.on("error",U),r.on("message",W),r.on("ping",q),r.on("pong",V),e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",G),e.on("data",Y),e.on("end",J),e.on("error",Z),this._readyState=I.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=I.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[p.extensionName]&&this._extensions[p.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=I.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==I.CLOSED)if(this.readyState!==I.CONNECTING)this.readyState!==I.CLOSING?(this._readyState=I.CLOSING,this._sender.close(e,t,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();else{const e="WebSocket was closed before the connection was established";F(this,this._req,e)}}pause(){this.readyState!==I.CONNECTING&&this.readyState!==I.CLOSED&&(this._paused=!0,this._socket.pause())}ping(e,t,n){if(this.readyState===I.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===I.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||v,t,n)):B(this,e,n)}pong(e,t,n){if(this.readyState===I.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===I.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||v,t,n)):B(this,e,n)}resume(){this.readyState!==I.CONNECTING&&this.readyState!==I.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,n){if(this.readyState===I.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(n=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==I.OPEN)return void B(this,e,n);const r={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[p.extensionName]||(r.compress=!1),this._sender.send(e||v,r,n)}terminate(){if(this.readyState!==I.CLOSED)if(this.readyState!==I.CONNECTING)this._socket&&(this._readyState=I.CLOSING,this._socket.destroy());else{const e="WebSocket was closed before the connection was established";F(this,this._req,e)}}}function R(e,t,n,r){const a={allowSynchronousEvents:!1,autoPong:!0,protocolVersion:A[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(e._autoPong=a.autoPong,!A.includes(a.protocolVersion))throw new RangeError(`Unsupported protocol version: ${a.protocolVersion} (supported versions: ${A.join(", ")})`);let s;if(t instanceof d)s=t;else try{s=new d(t)}catch(e){throw new SyntaxError(`Invalid URL: ${t}`)}"http:"===s.protocol?s.protocol="ws:":"https:"===s.protocol&&(s.protocol="wss:"),e._url=s.href;const u="wss:"===s.protocol,f="ws+unix:"===s.protocol;let h;if("ws:"===s.protocol||u||f?f&&!s.pathname?h="The URL's pathname is empty":s.hash&&(h="The URL contains a fragment identifier"):h='The URL\'s protocol must be one of "ws:", "wss:", "http:", "https", or "ws+unix:"',h){const t=new SyntaxError(h);if(0===e._redirects)throw t;return void D(e,t)}const m=u?443:80,g=l(16).toString("base64"),v=u?i.request:o.request,b=new Set;let _,w;if(a.createConnection=u?N:j,a.defaultPort=a.defaultPort||m,a.port=s.port||m,a.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,a.headers={...a.headers,"Sec-WebSocket-Version":a.protocolVersion,"Sec-WebSocket-Key":g,Connection:"Upgrade",Upgrade:"websocket"},a.path=s.pathname+s.search,a.timeout=a.handshakeTimeout,a.perMessageDeflate&&(_=new p(!0!==a.perMessageDeflate?a.perMessageDeflate:{},!1,a.maxPayload),a.headers["Sec-WebSocket-Extensions"]=C({[p.extensionName]:_.offer()})),n.length){for(const e of n){if("string"!=typeof e||!L.test(e)||b.has(e))throw new SyntaxError("An invalid or duplicated subprotocol was specified");b.add(e)}a.headers["Sec-WebSocket-Protocol"]=n.join(",")}if(a.origin&&(a.protocolVersion<13?a.headers["Sec-WebSocket-Origin"]=a.origin:a.headers.Origin=a.origin),(s.username||s.password)&&(a.auth=`${s.username}:${s.password}`),f){const e=a.path.split(":");a.socketPath=e[0],a.path=e[1]}if(a.followRedirects){if(0===e._redirects){e._originalIpc=f,e._originalSecure=u,e._originalHostOrSocketPath=f?a.socketPath:s.host;const t=r&&r.headers;if(r={...r,headers:{}},t)for(const[e,n]of Object.entries(t))r.headers[e.toLowerCase()]=n}else if(0===e.listenerCount("redirect")){const t=f?!!e._originalIpc&&a.socketPath===e._originalHostOrSocketPath:!e._originalIpc&&s.host===e._originalHostOrSocketPath;(!t||e._originalSecure&&!u)&&(delete a.headers.authorization,delete a.headers.cookie,t||delete a.headers.host,a.auth=void 0)}a.auth&&!r.headers.authorization&&(r.headers.authorization="Basic "+Buffer.from(a.auth).toString("base64")),w=e._req=v(a),e._redirects&&e.emit("redirect",e.url,w)}else w=e._req=v(a);a.timeout&&w.on("timeout",(()=>{F(e,w,"Opening handshake has timed out")})),w.on("error",(t=>{null===w||w[P]||(w=e._req=null,D(e,t))})),w.on("response",(i=>{const o=i.headers.location,s=i.statusCode;if(o&&a.followRedirects&&s>=300&&s<400){if(++e._redirects>a.maxRedirects)return void F(e,w,"Maximum redirects exceeded");let i;w.abort();try{i=new d(o,t)}catch(t){const n=new SyntaxError(`Invalid URL: ${o}`);return void D(e,n)}R(e,i,n,r)}else e.emit("unexpected-response",w,i)||F(e,w,`Unexpected server response: ${i.statusCode}`)})),w.on("upgrade",((t,n,r)=>{if(e.emit("upgrade",t),e.readyState!==I.CONNECTING)return;if(w=e._req=null,"websocket"!==t.headers.upgrade.toLowerCase())return void F(e,n,"Invalid Upgrade header");const i=c("sha1").update(g+y).digest("base64");if(t.headers["sec-websocket-accept"]!==i)return void F(e,n,"Invalid Sec-WebSocket-Accept header");const o=t.headers["sec-websocket-protocol"];let s;if(void 0!==o?b.size?b.has(o)||(s="Server sent an invalid subprotocol"):s="Server sent a subprotocol but none was requested":b.size&&(s="Server sent no subprotocol"),s)return void F(e,n,s);o&&(e._protocol=o);const l=t.headers["sec-websocket-extensions"];if(void 0!==l){if(!_)return void F(e,n,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let t;try{t=O(l)}catch(t){return void F(e,n,"Invalid Sec-WebSocket-Extensions header")}const r=Object.keys(t);if(1!==r.length||r[0]!==p.extensionName)return void F(e,n,"Server indicated an extension that was not requested");try{_.accept(t[p.extensionName])}catch(t){return void F(e,n,"Invalid Sec-WebSocket-Extensions header")}e._extensions[p.extensionName]=_}e.setSocket(n,r,{allowSynchronousEvents:a.allowSynchronousEvents,generateMask:a.generateMask,maxPayload:a.maxPayload,skipUTF8Validation:a.skipUTF8Validation})})),a.finishRequest?a.finishRequest(w,e):w.end()}function D(e,t){e._readyState=I.CLOSING,e.emit("error",t),e.emitClose()}function j(e){return e.path=e.socketPath,a.connect(e)}function N(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=a.isIP(e.host)?"":e.host),s.connect(e)}function F(e,t,n){e._readyState=I.CLOSING;const r=new Error(n);Error.captureStackTrace(r,F),t.setHeader?(t[P]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(D,e,r)):(t.destroy(r),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function B(e,t,n){if(t){const n=T(t).length;e._socket?e._sender._bufferedBytes+=n:e._bufferedAmount+=n}if(n){const t=new Error(`WebSocket is not open: readyState ${e.readyState} (${M[e.readyState]})`);process.nextTick(n,t)}}function z(e,t){const n=this[S];n._closeFrameReceived=!0,n._closeMessage=t,n._closeCode=e,void 0!==n._socket[S]&&(n._socket.removeListener("data",Y),process.nextTick(K,n._socket),1005===e?n.close():n.close(e,t))}function $(){const e=this[S];e.isPaused||e._socket.resume()}function U(e){const t=this[S];void 0!==t._socket[S]&&(t._socket.removeListener("data",Y),process.nextTick(K,t._socket),t.close(e[w])),t.emit("error",e)}function H(){this[S].emitClose()}function W(e,t){this[S].emit("message",e,t)}function q(e){const t=this[S];t._autoPong&&t.pong(e,!this._isServer,x),t.emit("ping",e)}function V(e){this[S].emit("pong",e)}function K(e){e.resume()}function G(){const e=this[S];let t;this.removeListener("close",G),this.removeListener("data",Y),this.removeListener("end",J),e._readyState=I.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(t=e._socket.read())||e._receiver.write(t),e._receiver.end(),this[S]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",H),e._receiver.on("finish",H))}function Y(e){this[S]._receiver.write(e)||this.pause()}function J(){const e=this[S];e._readyState=I.CLOSING,e._receiver.end(),this.end()}function Z(){const e=this[S];this.removeListener("error",Z),this.on("error",x),e&&(e._readyState=I.CLOSING,this.destroy())}Object.defineProperty(I,"CONNECTING",{enumerable:!0,value:M.indexOf("CONNECTING")}),Object.defineProperty(I.prototype,"CONNECTING",{enumerable:!0,value:M.indexOf("CONNECTING")}),Object.defineProperty(I,"OPEN",{enumerable:!0,value:M.indexOf("OPEN")}),Object.defineProperty(I.prototype,"OPEN",{enumerable:!0,value:M.indexOf("OPEN")}),Object.defineProperty(I,"CLOSING",{enumerable:!0,value:M.indexOf("CLOSING")}),Object.defineProperty(I.prototype,"CLOSING",{enumerable:!0,value:M.indexOf("CLOSING")}),Object.defineProperty(I,"CLOSED",{enumerable:!0,value:M.indexOf("CLOSED")}),Object.defineProperty(I.prototype,"CLOSED",{enumerable:!0,value:M.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((e=>{Object.defineProperty(I.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(I.prototype,`on${e}`,{enumerable:!0,get(){for(const t of this.listeners(e))if(t[b])return t[_];return null},set(t){for(const t of this.listeners(e))if(t[b]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[b]:!0})}})})),I.prototype.addEventListener=E,I.prototype.removeEventListener=k,e.exports=I},7357:e=>{self,e.exports=(()=>{"use strict";var e={775:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FitAddon=void 0;var n=function(){function e(){}return e.prototype.activate=function(e){this._terminal=e},e.prototype.dispose=function(){},e.prototype.fit=function(){var e=this.proposeDimensions();if(e&&this._terminal){var t=this._terminal._core;this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}},e.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var e=this._terminal._core;if(0!==e._renderService.dimensions.actualCellWidth&&0!==e._renderService.dimensions.actualCellHeight){var t=window.getComputedStyle(this._terminal.element.parentElement),n=parseInt(t.getPropertyValue("height")),r=Math.max(0,parseInt(t.getPropertyValue("width"))),i=window.getComputedStyle(this._terminal.element),o=n-(parseInt(i.getPropertyValue("padding-top"))+parseInt(i.getPropertyValue("padding-bottom"))),a=r-(parseInt(i.getPropertyValue("padding-right"))+parseInt(i.getPropertyValue("padding-left")))-e.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(a/e._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(o/e._renderService.dimensions.actualCellHeight))}}}},e}();t.FitAddon=n}},t={};return function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(775)})()},85305:e=>{self,e.exports=(()=>{"use strict";var e={4567:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;var o=n(9042),a=n(6114),s=n(9924),l=n(3656),c=n(844),u=n(5596),f=n(9631),d=function(e){function t(t,n){var r=e.call(this)||this;r._terminal=t,r._renderService=n,r._liveRegionLineCount=0,r._charsToConsume=[],r._charsToAnnounce="",r._accessibilityTreeRoot=document.createElement("div"),r._accessibilityTreeRoot.classList.add("xterm-accessibility"),r._accessibilityTreeRoot.tabIndex=0,r._rowContainer=document.createElement("div"),r._rowContainer.setAttribute("role","list"),r._rowContainer.classList.add("xterm-accessibility-tree"),r._rowElements=[];for(var i=0;i<r._terminal.rows;i++)r._rowElements[i]=r._createAccessibilityTreeNode(),r._rowContainer.appendChild(r._rowElements[i]);if(r._topBoundaryFocusListener=function(e){return r._onBoundaryFocus(e,0)},r._bottomBoundaryFocusListener=function(e){return r._onBoundaryFocus(e,1)},r._rowElements[0].addEventListener("focus",r._topBoundaryFocusListener),r._rowElements[r._rowElements.length-1].addEventListener("focus",r._bottomBoundaryFocusListener),r._refreshRowsDimensions(),r._accessibilityTreeRoot.appendChild(r._rowContainer),r._renderRowsDebouncer=new s.TimeBasedDebouncer(r._renderRows.bind(r)),r._refreshRows(),r._liveRegion=document.createElement("div"),r._liveRegion.classList.add("live-region"),r._liveRegion.setAttribute("aria-live","assertive"),r._accessibilityTreeRoot.appendChild(r._liveRegion),!r._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return r._terminal.element.insertAdjacentElement("afterbegin",r._accessibilityTreeRoot),r.register(r._renderRowsDebouncer),r.register(r._terminal.onResize((function(e){return r._onResize(e.rows)}))),r.register(r._terminal.onRender((function(e){return r._refreshRows(e.start,e.end)}))),r.register(r._terminal.onScroll((function(){return r._refreshRows()}))),r.register(r._terminal.onA11yChar((function(e){return r._onChar(e)}))),r.register(r._terminal.onLineFeed((function(){return r._onChar("\n")}))),r.register(r._terminal.onA11yTab((function(e){return r._onTab(e)}))),r.register(r._terminal.onKey((function(e){return r._onKey(e.key)}))),r.register(r._terminal.onBlur((function(){return r._clearLiveRegion()}))),r.register(r._renderService.onDimensionsChange((function(){return r._refreshRowsDimensions()}))),r._screenDprMonitor=new u.ScreenDprMonitor,r.register(r._screenDprMonitor),r._screenDprMonitor.setListener((function(){return r._refreshRowsDimensions()})),r.register((0,l.addDisposableDomListener)(window,"resize",(function(){return r._refreshRowsDimensions()}))),r}return i(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),(0,f.removeElementFromParent)(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(e,t){var n=e.target,r=this._rowElements[0===t?1:this._rowElements.length-2];if(n.getAttribute("aria-posinset")!==(0===t?"1":""+this._terminal.buffer.lines.length)&&e.relatedTarget===r){var i,o;if(0===t?(i=n,o=this._rowElements.pop(),this._rowContainer.removeChild(o)):(i=this._rowElements.shift(),o=n,this._rowContainer.removeChild(i)),i.removeEventListener("focus",this._topBoundaryFocusListener),o.removeEventListener("focus",this._bottomBoundaryFocusListener),0===t){var a=this._createAccessibilityTreeNode();this._rowElements.unshift(a),this._rowContainer.insertAdjacentElement("afterbegin",a)}else a=this._createAccessibilityTreeNode(),this._rowElements.push(a),this._rowContainer.appendChild(a);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===t?-1:1),this._rowElements[0===t?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}},t.prototype._onResize=function(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var t=this._rowContainer.children.length;t<this._terminal.rows;t++)this._rowElements[t]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[t]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t<e;t++)this._onChar(" ")},t.prototype._onChar=function(e){var t=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=o.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)}),0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&(0,f.removeElementFromParent)(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var n=this._terminal.buffer,r=n.lines.length.toString(),i=e;i<=t;i++){var o=n.translateBufferLineToString(n.ydisp+i,!0),a=(n.ydisp+i+1).toString(),s=this._rowElements[i];s&&(0===o.length?s.innerText=" ":s.textContent=o,s.setAttribute("aria-posinset",a),s.setAttribute("aria-setsize",r))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}},t.prototype._refreshRowDimensions=function(e){e.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(c.Disposable);t.AccessibilityManager=d},3614:(e,t)=>{function n(e){return e.replace(/\r?\n/g,"\r")}function r(e,t){return t?"[200~"+e+"[201~":e}function i(e,t,i){e=r(e=n(e),i.decPrivateModes.bracketedPasteMode),i.triggerDataEvent(e,!0),t.value=""}function o(e,t,n){var r=n.getBoundingClientRect(),i=e.clientX-r.left-10,o=e.clientY-r.top-10;t.style.width="20px",t.style.height="20px",t.style.left=i+"px",t.style.top=o+"px",t.style.zIndex="1000",t.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=n,t.bracketTextForPaste=r,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n){e.stopPropagation(),e.clipboardData&&i(e.clipboardData.getData("text/plain"),t,n)},t.paste=i,t.moveTextAreaUnderMouseCursor=o,t.rightClickHandler=function(e,t,n,r,i){o(e,t,n),i&&r.rightClickSelect(e),t.value=r.selectionText,t.select()}},7239:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;var n=function(){function e(){this._color={},this._rgba={}}return e.prototype.clear=function(){this._color={},this._rgba={}},e.prototype.setCss=function(e,t,n){this._rgba[e]||(this._rgba[e]={}),this._rgba[e][t]=n},e.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},e.prototype.setColor=function(e,t,n){this._color[e]||(this._color[e]={}),this._color[e][t]=n},e.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},e}();t.ColorContrastCache=n},5680:function(e,t,n){var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorManager=t.DEFAULT_ANSI_COLORS=void 0;var i=n(8055),o=n(7239),a=i.css.toColor("#ffffff"),s=i.css.toColor("#000000"),l=i.css.toColor("#ffffff"),c=i.css.toColor("#000000"),u={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=Object.freeze(function(){for(var e=[i.css.toColor("#2e3436"),i.css.toColor("#cc0000"),i.css.toColor("#4e9a06"),i.css.toColor("#c4a000"),i.css.toColor("#3465a4"),i.css.toColor("#75507b"),i.css.toColor("#06989a"),i.css.toColor("#d3d7cf"),i.css.toColor("#555753"),i.css.toColor("#ef2929"),i.css.toColor("#8ae234"),i.css.toColor("#fce94f"),i.css.toColor("#729fcf"),i.css.toColor("#ad7fa8"),i.css.toColor("#34e2e2"),i.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],n=0;n<216;n++){var r=t[n/36%6|0],o=t[n/6%6|0],a=t[n%6];e.push({css:i.channels.toCss(r,o,a),rgba:i.channels.toRgba(r,o,a)})}for(n=0;n<24;n++){var s=8+10*n;e.push({css:i.channels.toCss(s,s,s),rgba:i.channels.toRgba(s,s,s)})}return e}());var f=function(){function e(e,n){this.allowTransparency=n;var r=e.createElement("canvas");r.width=1,r.height=1;var f=r.getContext("2d");if(!f)throw new Error("Could not get rendering context");this._ctx=f,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new o.ColorContrastCache,this.colors={foreground:a,background:s,cursor:l,cursorAccent:c,selectionTransparent:u,selectionOpaque:i.color.blend(s,u),selectionForeground:void 0,ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache},this._updateRestoreColors()}return e.prototype.onOptionsChange=function(e){"minimumContrastRatio"===e&&this._contrastCache.clear()},e.prototype.setTheme=function(e){void 0===e&&(e={}),this.colors.foreground=this._parseColor(e.foreground,a),this.colors.background=this._parseColor(e.background,s),this.colors.cursor=this._parseColor(e.cursor,l,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,c,!0),this.colors.selectionTransparent=this._parseColor(e.selection,u,!0),this.colors.selectionOpaque=i.color.blend(this.colors.background,this.colors.selectionTransparent);var n={css:"",rgba:0};this.colors.selectionForeground=e.selectionForeground?this._parseColor(e.selectionForeground,n):void 0,this.colors.selectionForeground===n&&(this.colors.selectionForeground=void 0),i.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=i.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(e.black,t.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,t.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,t.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,t.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,t.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,t.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(e.cyan,t.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,t.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,t.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,t.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,t.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,t.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,t.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,t.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,t.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear(),this._updateRestoreColors()},e.prototype.restoreColor=function(e){if(void 0!==e)switch(e){case 256:this.colors.foreground=this._restoreColors.foreground;break;case 257:this.colors.background=this._restoreColors.background;break;case 258:this.colors.cursor=this._restoreColors.cursor;break;default:this.colors.ansi[e]=this._restoreColors.ansi[e]}else for(var t=0;t<this._restoreColors.ansi.length;++t)this.colors.ansi[t]=this._restoreColors.ansi[t]},e.prototype._updateRestoreColors=function(){this._restoreColors={foreground:this.colors.foreground,background:this.colors.background,cursor:this.colors.cursor,ansi:this.colors.ansi.slice()}},e.prototype._parseColor=function(e,t,n){if(void 0===n&&(n=this.allowTransparency),void 0===e)return t;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=e,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+e+" is invalid using fallback "+t.css),t;this._ctx.fillRect(0,0,1,1);var o=this._ctx.getImageData(0,0,1,1).data;if(255!==o[3]){if(!n)return console.warn("Color: "+e+" is using transparency, but allowTransparency is false. Using fallback "+t.css+"."),t;var a=r(this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map((function(e){return Number(e)})),4),s=a[0],l=a[1],c=a[2],u=a[3],f=Math.round(255*u);return{rgba:i.channels.toRgba(s,l,c,f),css:e}}return{css:this._ctx.fillStyle,rgba:i.channels.toRgba(o[0],o[1],o[2],o[3])}},e}();t.ColorManager=f},9631:function(e,t){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.removeElementFromParent=void 0,t.removeElementFromParent=function(){for(var e,t,r,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];try{for(var a=n(i),s=a.next();!s.done;s=a.next()){var l=s.value;null===(r=null==l?void 0:l.parentElement)||void 0===r||r.removeChild(l)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}},3656:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,n,r){e.addEventListener(t,n,r);var i=!1;return{dispose:function(){i||(i=!0,e.removeEventListener(t,n,r))}}}},3551:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZone=t.Linkifier=void 0;var o=n(8460),a=n(2585),s=function(){function e(e,t,n){this._bufferService=e,this._logService=t,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new o.EventEmitter,this._onHideLinkUnderline=new o.EventEmitter,this._onLinkTooltip=new o.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(e.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),e.prototype.attachToDom=function(e,t){this._element=e,this._mouseZoneManager=t},e.prototype.linkifyRows=function(t,n){var r=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=t,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,t),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(t,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout((function(){return r._linkifyRows()}),e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var n=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,r=Math.ceil(2e3/this._bufferService.cols),i=this._bufferService.buffer.iterator(!1,t,n,r,r);i.hasNext();)for(var o=i.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(o.range.first,o.content,this._linkMatchers[a]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},e.prototype.registerLinkMatcher=function(e,t,n){if(void 0===n&&(n={}),!t)throw new Error("handler must be defined");var r={id:this._nextLinkMatcherId++,regex:e,handler:t,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(r),r.id},e.prototype._addLinkMatcherToList=function(e){if(0!==this._linkMatchers.length){for(var t=this._linkMatchers.length-1;t>=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t<this._linkMatchers.length;t++)if(this._linkMatchers[t].id===e)return this._linkMatchers.splice(t,1),!0;return!1},e.prototype._doLinkifyRow=function(e,t,n){for(var r,i=this,o=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),a=-1,s=function(){var s=r["number"!=typeof n.matchIndex?0:n.matchIndex];if(!s)return l._logService.debug("match found without corresponding matchIndex",r,n),"break";if(a=t.indexOf(s,a+1),o.lastIndex=a+s.length,a<0)return"break";var c=l._bufferService.buffer.stringIndexToBufferIndex(e,a);if(c[0]<0)return"break";var u=l._bufferService.buffer.lines.get(c[0]);if(!u)return"break";var f=u.getFg(c[1]),d=f?f>>9&511:void 0;n.validationCallback?n.validationCallback(s,(function(e){i._rowsTimeoutId||e&&i._addLink(c[1],c[0]-i._bufferService.buffer.ydisp,s,n,d)})):l._addLink(c[1],c[0]-l._bufferService.buffer.ydisp,s,n,d)},l=this;null!==(r=o.exec(t))&&"break"!==s(););},e.prototype._addLink=function(e,t,n,r,i){var o=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(n),s=e%this._bufferService.cols,c=t+Math.floor(e/this._bufferService.cols),u=(s+a)%this._bufferService.cols,f=c+Math.floor((s+a)/this._bufferService.cols);0===u&&(u=this._bufferService.cols,f--),this._mouseZoneManager.add(new l(s+1,c+1,u+1,f+1,(function(e){if(r.handler)return r.handler(e,n);var t=window.open();t?(t.opener=null,t.location.href=n):console.warn("Opening link blocked as opener could not be cleared")}),(function(){o._onShowLinkUnderline.fire(o._createLinkHoverEvent(s,c,u,f,i)),o._element.classList.add("xterm-cursor-pointer")}),(function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(s,c,u,f,i)),r.hoverTooltipCallback&&r.hoverTooltipCallback(e,n,{start:{x:s,y:c},end:{x:u,y:f}})}),(function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(s,c,u,f,i)),o._element.classList.remove("xterm-cursor-pointer"),r.hoverLeaveCallback&&r.hoverLeaveCallback()}),(function(e){return!r.willLinkActivate||r.willLinkActivate(e,n)})))}},e.prototype._createLinkHoverEvent=function(e,t,n,r,i){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:i}},e._timeBeforeLatency=200,e=r([i(0,a.IBufferService),i(1,a.ILogService),i(2,a.IUnicodeService)],e)}();t.Linkifier=s;var l=function(e,t,n,r,i,o,a,s,l){this.x1=e,this.y1=t,this.x2=n,this.y2=r,this.clickCallback=i,this.hoverCallback=o,this.tooltipCallback=a,this.leaveCallback=s,this.willLinkActivate=l};t.MouseZone=l},6465:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;var c=n(2585),u=n(8460),f=n(844),d=n(3656),p=function(e){function t(t){var n=e.call(this)||this;return n._bufferService=t,n._linkProviders=[],n._linkCacheDisposables=[],n._isMouseOut=!0,n._activeLine=-1,n._onShowLinkUnderline=n.register(new u.EventEmitter),n._onHideLinkUnderline=n.register(new u.EventEmitter),n.register((0,f.getDisposeArrayDisposable)(n._linkCacheDisposables)),n}return i(t,e),Object.defineProperty(t.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),t.prototype.registerLinkProvider=function(e){var t=this;return this._linkProviders.push(e),{dispose:function(){var n=t._linkProviders.indexOf(e);-1!==n&&t._linkProviders.splice(n,1)}}},t.prototype.attachToDom=function(e,t,n){var r=this;this._element=e,this._mouseService=t,this._renderService=n,this.register((0,d.addDisposableDomListener)(this._element,"mouseleave",(function(){r._isMouseOut=!0,r._clearCurrentLink()}))),this.register((0,d.addDisposableDomListener)(this._element,"mousemove",this._onMouseMove.bind(this))),this.register((0,d.addDisposableDomListener)(this._element,"mousedown",this._handleMouseDown.bind(this))),this.register((0,d.addDisposableDomListener)(this._element,"mouseup",this._handleMouseUp.bind(this)))},t.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(t){this._isMouseOut=!1;for(var n=e.composedPath(),r=0;r<n.length;r++){var i=n[r];if(i.classList.contains("xterm"))break;if(i.classList.contains("xterm-hover"))return}this._lastBufferCell&&t.x===this._lastBufferCell.x&&t.y===this._lastBufferCell.y||(this._onHover(t),this._lastBufferCell=t)}}},t.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},t.prototype._askForLink=function(e,t){var n,r,i,o,a=this;this._activeProviderReplies&&t||(null===(i=this._activeProviderReplies)||void 0===i||i.forEach((function(e){null==e||e.forEach((function(e){e.link.dispose&&e.link.dispose()}))})),this._activeProviderReplies=new Map,this._activeLine=e.y);var c=!1,u=function(n,r){t?(null===(o=f._activeProviderReplies)||void 0===o?void 0:o.get(n))&&(c=f._checkLinkProviderResult(n,e,c)):r.provideLinks(e.y,(function(t){var r,i;if(!a._isMouseOut){var o=null==t?void 0:t.map((function(e){return{link:e}}));null===(r=a._activeProviderReplies)||void 0===r||r.set(n,o),c=a._checkLinkProviderResult(n,e,c),(null===(i=a._activeProviderReplies)||void 0===i?void 0:i.size)===a._linkProviders.length&&a._removeIntersectingLinks(e.y,a._activeProviderReplies)}}))},f=this;try{for(var d=s(this._linkProviders.entries()),p=d.next();!p.done;p=d.next()){var h=l(p.value,2);u(h[0],h[1])}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}},t.prototype._removeIntersectingLinks=function(e,t){for(var n=new Set,r=0;r<t.size;r++){var i=t.get(r);if(i)for(var o=0;o<i.length;o++)for(var a=i[o],s=a.link.range.start.y<e?0:a.link.range.start.x,l=a.link.range.end.y>e?this._bufferService.cols:a.link.range.end.x,c=s;c<=l;c++){if(n.has(c)){i.splice(o--,1);break}n.add(c)}}},t.prototype._checkLinkProviderResult=function(e,t,n){var r,i=this;if(!this._activeProviderReplies)return n;for(var o=this._activeProviderReplies.get(e),a=!1,s=0;s<e;s++)this._activeProviderReplies.has(s)&&!this._activeProviderReplies.get(s)||(a=!0);if(!a&&o){var l=o.find((function(e){return i._linkAtPosition(e.link,t)}));l&&(n=!0,this._handleNewLink(l))}if(this._activeProviderReplies.size===this._linkProviders.length&&!n)for(s=0;s<this._activeProviderReplies.size;s++){var c=null===(r=this._activeProviderReplies.get(s))||void 0===r?void 0:r.find((function(e){return i._linkAtPosition(e.link,t)}));if(c){n=!0,this._handleNewLink(c);break}}return n},t.prototype._handleMouseDown=function(){this._mouseDownLink=this._currentLink},t.prototype._handleMouseUp=function(e){if(this._element&&this._mouseService&&this._currentLink){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);t&&this._mouseDownLink===this._currentLink&&this._linkAtPosition(this._currentLink.link,t)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},t.prototype._clearCurrentLink=function(e,t){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!t||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,f.disposeArray)(this._linkCacheDisposables))},t.prototype._handleNewLink=function(e){var t=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var n=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);n&&this._linkAtPosition(e.link,n)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.pointerCursor},set:function(e){var n,r;(null===(n=t._currentLink)||void 0===n?void 0:n.state)&&t._currentLink.state.decorations.pointerCursor!==e&&(t._currentLink.state.decorations.pointerCursor=e,t._currentLink.state.isHovered&&(null===(r=t._element)||void 0===r||r.classList.toggle("xterm-cursor-pointer",e)))}},underline:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.underline},set:function(n){var r,i,o;(null===(r=t._currentLink)||void 0===r?void 0:r.state)&&(null===(o=null===(i=t._currentLink)||void 0===i?void 0:i.state)||void 0===o?void 0:o.decorations.underline)!==n&&(t._currentLink.state.decorations.underline=n,t._currentLink.state.isHovered&&t._fireUnderlineEvent(e.link,n))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange((function(e){var n=0===e.start?0:e.start+1+t._bufferService.buffer.ydisp;t._clearCurrentLink(n,e.end+1+t._bufferService.buffer.ydisp)}))))}},t.prototype._linkHover=function(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(n,t.text)},t.prototype._fireUnderlineEvent=function(e,t){var n=e.range,r=this._bufferService.buffer.ydisp,i=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-r-1,n.end.x,n.end.y-r-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(i)},t.prototype._linkLeave=function(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(n,t.text)},t.prototype._linkAtPosition=function(e,t){var n=e.range.start.y===e.range.end.y,r=e.range.start.y<t.y,i=e.range.end.y>t.y;return(n&&e.range.start.x<=t.x&&e.range.end.x>=t.x||r&&e.range.end.x>=t.x||i&&e.range.start.x<=t.x||r&&i)&&e.range.start.y<=t.y&&e.range.end.y>=t.y},t.prototype._positionFromMouseEvent=function(e,t,n){var r=n.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(r)return{x:r[0],y:r[1]+this._bufferService.buffer.ydisp}},t.prototype._createLinkUnderlineEvent=function(e,t,n,r,i){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:i}},o([a(0,c.IBufferService)],t)}(f.Disposable);t.Linkifier2=p},9042:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZoneManager=void 0;var s=n(844),l=n(3656),c=n(4725),u=n(2585),f=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;return s._element=t,s._screenElement=n,s._bufferService=r,s._mouseService=i,s._selectionService=o,s._optionsService=a,s._zones=[],s._areZonesActive=!1,s._lastHoverCoords=[void 0,void 0],s._initialSelectionLength=0,s.register((0,l.addDisposableDomListener)(s._element,"mousedown",(function(e){return s._onMouseDown(e)}))),s._mouseMoveListener=function(e){return s._onMouseMove(e)},s._mouseLeaveListener=function(e){return s._onMouseLeave(e)},s._clickListener=function(e){return s._onClick(e)},s}return i(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var n=0;n<this._zones.length;n++){var r=this._zones[n];(r.y1>e&&r.y1<=t+1||r.y2>e&&r.y2<=t+1||r.y1<e&&r.y2>t+1)&&(this._currentZone&&this._currentZone===r&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(n--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,n=this._findZoneEventAt(e);n!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),n&&(this._currentZone=n,n.hoverCallback&&n.hoverCallback(e),this._tooltipTimeout=window.setTimeout((function(){return t._onTooltip(e)}),this._optionsService.rawOptions.linkTooltipHoverDuration)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);null==t||t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var t=this._findZoneEventAt(e);(null==t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),n=this._getSelectionLength();t&&n===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var n=t[0],r=t[1],i=0;i<this._zones.length;i++){var o=this._zones[i];if(o.y1===o.y2){if(r===o.y1&&n>=o.x1&&n<o.x2)return o}else if(r===o.y1&&n>=o.x1||r===o.y2&&n<o.x2||r>o.y1&&r<o.y2)return o}},o([a(2,u.IBufferService),a(3,c.IMouseService),a(4,c.ISelectionService),a(5,u.IOptionsService)],t)}(s.Disposable);t.MouseZoneManager=f},6193:function(e,t){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0;var r=function(){function e(e){this._renderCallback=e,this._refreshCallbacks=[]}return e.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.addRefreshCallback=function(e){var t=this;return this._refreshCallbacks.push(e),this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){return t._innerRefresh()}))),this._animationFrame},e.prototype.refresh=function(e,t,n){var r=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){return r._innerRefresh()})))},e.prototype._innerRefresh=function(){if(this._animationFrame=void 0,void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t),this._runRefreshCallbacks()}else this._runRefreshCallbacks()},e.prototype._runRefreshCallbacks=function(){var e,t;try{for(var r=n(this._refreshCallbacks),i=r.next();!i.done;i=r.next())(0,i.value)(0)}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this._refreshCallbacks=[]},e}();t.RenderDebouncer=r},5596:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentDevicePixelRatio=window.devicePixelRatio,t}return i(t,e),t.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearListener()},t.prototype._updateDpr=function(){var e;this._outerListener&&(null===(e=this._resolutionMediaMatchList)||void 0===e||e.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},t.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},t}(n(844).Disposable);t.ScreenDprMonitor=o},3236:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},s=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var l=n(2950),c=n(1680),u=n(3614),f=n(2584),d=n(5435),p=n(3525),h=n(3551),m=n(9312),g=n(6114),v=n(3656),y=n(9042),b=n(357),_=n(6954),w=n(4567),S=n(1296),x=n(7399),E=n(8460),k=n(8437),C=n(5680),O=n(3230),T=n(4725),P=n(428),A=n(8934),M=n(6465),L=n(5114),I=n(8969),R=n(8055),D=n(4269),j=n(5941),N=n(3107),F=n(5744),B=n(9074),z=n(2585),$="undefined"!=typeof window?window.document:null,U=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.browser=g,n._keyDownHandled=!1,n._keyDownSeen=!1,n._keyPressHandled=!1,n._unprocessedDeadKey=!1,n._onCursorMove=new E.EventEmitter,n._onKey=new E.EventEmitter,n._onRender=new E.EventEmitter,n._onSelectionChange=new E.EventEmitter,n._onTitleChange=new E.EventEmitter,n._onBell=new E.EventEmitter,n._onFocus=new E.EventEmitter,n._onBlur=new E.EventEmitter,n._onA11yCharEmitter=new E.EventEmitter,n._onA11yTabEmitter=new E.EventEmitter,n._setup(),n.linkifier=n._instantiationService.createInstance(h.Linkifier),n.linkifier2=n.register(n._instantiationService.createInstance(M.Linkifier2)),n._decorationService=n._instantiationService.createInstance(B.DecorationService),n._instantiationService.setService(z.IDecorationService,n._decorationService),n.register(n._inputHandler.onRequestBell((function(){return n.bell()}))),n.register(n._inputHandler.onRequestRefreshRows((function(e,t){return n.refresh(e,t)}))),n.register(n._inputHandler.onRequestSendFocus((function(){return n._reportFocus()}))),n.register(n._inputHandler.onRequestReset((function(){return n.reset()}))),n.register(n._inputHandler.onRequestWindowsOptionsReport((function(e){return n._reportWindowsOptions(e)}))),n.register(n._inputHandler.onColor((function(e){return n._handleColorEvent(e)}))),n.register((0,E.forwardEvent)(n._inputHandler.onCursorMove,n._onCursorMove)),n.register((0,E.forwardEvent)(n._inputHandler.onTitleChange,n._onTitleChange)),n.register((0,E.forwardEvent)(n._inputHandler.onA11yChar,n._onA11yCharEmitter)),n.register((0,E.forwardEvent)(n._inputHandler.onA11yTab,n._onA11yTabEmitter)),n.register(n._bufferService.onResize((function(e){return n._afterResize(e.cols,e.rows)}))),n}return i(t,e),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBell",{get:function(){return this._onBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),t.prototype._handleColorEvent=function(e){var t,n,r,i;if(this._colorManager){try{for(var l=o(e),c=l.next();!c.done;c=l.next()){var u=c.value,d=void 0,p="";switch(u.index){case 256:d="foreground",p="10";break;case 257:d="background",p="11";break;case 258:d="cursor",p="12";break;default:d="ansi",p="4;"+u.index}if(d)switch(u.type){case 0:var h=R.color.toColorRGB("ansi"===d?this._colorManager.colors.ansi[u.index]:this._colorManager.colors[d]);this.coreService.triggerDataEvent(f.C0.ESC+"]"+p+";"+(0,j.toRgbString)(h)+f.C1_ESCAPED.ST);break;case 1:"ansi"===d?this._colorManager.colors.ansi[u.index]=R.rgba.toColor.apply(R.rgba,s([],a(u.color),!1)):this._colorManager.colors[d]=R.rgba.toColor.apply(R.rgba,s([],a(u.color),!1));break;case 2:this._colorManager.restoreColor(u.index)}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}null===(r=this._renderService)||void 0===r||r.setColors(this._colorManager.colors),null===(i=this.viewport)||void 0===i||i.onThemeChange(this._colorManager.colors)}},t.prototype.dispose=function(){var t,n,r;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._renderService)||void 0===t||t.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},null===(r=null===(n=this.element)||void 0===n?void 0:n.parentNode)||void 0===r||r.removeChild(this.element))},t.prototype._setup=function(){e.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(t.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},t.prototype._updateOptions=function(t){var n,r,i,o;switch(e.prototype._updateOptions.call(this,t),t){case"fontFamily":case"fontSize":null===(n=this._renderService)||void 0===n||n.clear(),null===(r=this._charSizeService)||void 0===r||r.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"customGlyphs":case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":null===(i=this.viewport)||void 0===i||i.syncScrollArea();break;case"screenReaderMode":this.optionsService.rawOptions.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)):(null===(o=this._accessibilityManager)||void 0===o||o.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.rawOptions.theme)}},t.prototype._onTextAreaFocus=function(e){this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(f.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},t.prototype.blur=function(){var e;return null===(e=this.textarea)||void 0===e?void 0:e.blur()},t.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(f.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},t.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing&&this._renderService){var e=this.buffer.ybase+this.buffer.y,t=this.buffer.lines.get(e);if(t){var n=Math.min(this.buffer.x,this.cols-1),r=this._renderService.dimensions.actualCellHeight,i=t.getWidth(n),o=this._renderService.dimensions.actualCellWidth*i,a=this.buffer.y*this._renderService.dimensions.actualCellHeight,s=n*this._renderService.dimensions.actualCellWidth;this.textarea.style.left=s+"px",this.textarea.style.top=a+"px",this.textarea.style.width=o+"px",this.textarea.style.height=r+"px",this.textarea.style.lineHeight=r+"px",this.textarea.style.zIndex="-5"}}},t.prototype._initGlobal=function(){var e=this;this._bindKeys(),this.register((0,v.addDisposableDomListener)(this.element,"copy",(function(t){e.hasSelection()&&(0,u.copyHandler)(t,e._selectionService)})));var t=function(t){return(0,u.handlePasteEvent)(t,e.textarea,e.coreService)};this.register((0,v.addDisposableDomListener)(this.textarea,"paste",t)),this.register((0,v.addDisposableDomListener)(this.element,"paste",t)),g.isFirefox?this.register((0,v.addDisposableDomListener)(this.element,"mousedown",(function(t){2===t.button&&(0,u.rightClickHandler)(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))):this.register((0,v.addDisposableDomListener)(this.element,"contextmenu",(function(t){(0,u.rightClickHandler)(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),g.isLinux&&this.register((0,v.addDisposableDomListener)(this.element,"auxclick",(function(t){1===t.button&&(0,u.moveTextAreaUnderMouseCursor)(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register((0,v.addDisposableDomListener)(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register((0,v.addDisposableDomListener)(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register((0,v.addDisposableDomListener)(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register((0,v.addDisposableDomListener)(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register((0,v.addDisposableDomListener)(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register((0,v.addDisposableDomListener)(this.textarea,"compositionend",(function(){return e._compositionHelper.compositionend()}))),this.register((0,v.addDisposableDomListener)(this.textarea,"input",(function(t){return e._inputEvent(t)}),!0)),this.register(this.onRender((function(){return e._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(t){return e._queueLinkification(t.start,t.end)})))},t.prototype.open=function(e){var t=this;if(!e)throw new Error("Terminal requires a parent element.");e.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var n=$.createDocumentFragment();this._viewportElement=$.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),n.appendChild(this._viewportElement),this._viewportScrollArea=$.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=$.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=$.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),n.appendChild(this.screenElement),this.textarea=$.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",y.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register((0,v.addDisposableDomListener)(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register((0,v.addDisposableDomListener)(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var r=this._instantiationService.createInstance(L.CoreBrowserService,this.textarea);this._instantiationService.setService(T.ICoreBrowserService,r),this._charSizeService=this._instantiationService.createInstance(P.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(T.ICharSizeService,this._charSizeService),this._theme=this.options.theme||this._theme,this._colorManager=new C.ColorManager($,this.options.allowTransparency),this.register(this.optionsService.onOptionChange((function(e){return t._colorManager.onOptionsChange(e)}))),this._colorManager.setTheme(this._theme),this._characterJoinerService=this._instantiationService.createInstance(D.CharacterJoinerService),this._instantiationService.setService(T.ICharacterJoinerService,this._characterJoinerService);var i=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(O.RenderService,i,this.rows,this.screenElement)),this._instantiationService.setService(T.IRenderService,this._renderService),this.register(this._renderService.onRenderedViewportChange((function(e){return t._onRender.fire(e)}))),this.onResize((function(e){return t._renderService.resize(e.cols,e.rows)})),this._compositionView=$.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(l.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(n),this._soundService=this._instantiationService.createInstance(b.SoundService),this._instantiationService.setService(T.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(A.MouseService),this._instantiationService.setService(T.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,(function(e){return t.scrollLines(e,!0,1)}),this._viewportElement,this._viewportScrollArea,this.element),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar((function(){return t.viewport.syncScrollArea()}))),this.register(this.viewport),this.register(this.onCursorMove((function(){t._renderService.onCursorMove(),t._syncTextArea()}))),this.register(this.onResize((function(){return t._renderService.onResize(t.cols,t.rows)}))),this.register(this.onBlur((function(){return t._renderService.onBlur()}))),this.register(this.onFocus((function(){return t._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return t.viewport.syncScrollArea()}))),this._selectionService=this.register(this._instantiationService.createInstance(m.SelectionService,this.element,this.screenElement,this.linkifier2)),this._instantiationService.setService(T.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines((function(e){return t.scrollLines(e.amount,e.suppressScrollEvent)}))),this.register(this._selectionService.onSelectionChange((function(){return t._onSelectionChange.fire()}))),this.register(this._selectionService.onRequestRedraw((function(e){return t._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(e){t.textarea.value=e,t.textarea.focus(),t.textarea.select()}))),this.register(this._onScroll.event((function(e){t.viewport.syncScrollArea(),t._selectionService.refresh()}))),this.register((0,v.addDisposableDomListener)(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(_.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return t._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.screenElement,this._mouseService,this._renderService),this.register(this._instantiationService.createInstance(N.BufferDecorationRenderer,this.screenElement)),this.register((0,v.addDisposableDomListener)(this.element,"mousedown",(function(e){return t._selectionService.onMouseDown(e)}))),this.coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)),this.options.overviewRulerWidth&&(this._overviewRulerRenderer=this._instantiationService.createInstance(F.OverviewRulerRenderer,this._viewportElement,this.screenElement)),this.optionsService.onOptionChange((function(){!t._overviewRulerRenderer&&t.options.overviewRulerWidth&&t._viewportElement&&t.screenElement&&(t._overviewRulerRenderer=t._instantiationService.createInstance(F.OverviewRulerRenderer,t._viewportElement,t.screenElement))})),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},t.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(p.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(S.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},t.prototype._setTheme=function(e){var t,n,r;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(n=this._renderService)||void 0===n||n.setColors(this._colorManager.colors),null===(r=this.viewport)||void 0===r||r.onThemeChange(this._colorManager.colors)},t.prototype.bindMouse=function(){var e=this,t=this,n=this.element;function r(e){var n,r,i=t._mouseService.getRawByteCoords(e,t.screenElement,t.cols,t.rows);if(!i)return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(n=3,void 0!==e.button&&(n=e.button<3?e.button:3)):n=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,n=e.button<3?e.button:3;break;case"mousedown":r=1,n=e.button<3?e.button:3;break;case"wheel":if(0===t.viewport.getLinesScrolled(e))return!1;r=e.deltaY<0?0:1,n=4;break;default:return!1}return!(void 0===r||void 0===n||n>4)&&t.coreMouseService.triggerMouseEvent({col:i.x-33,row:i.y-33,button:n,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var i={mouseup:null,wheel:null,mousedrag:null,mousemove:null},o=function(t){return r(t),t.buttons||(e._document.removeEventListener("mouseup",i.mouseup),i.mousedrag&&e._document.removeEventListener("mousemove",i.mousedrag)),e.cancel(t)},a=function(t){return r(t),e.cancel(t,!0)},s=function(e){e.buttons&&r(e)},l=function(e){e.buttons||r(e)};this.register(this.coreMouseService.onProtocolChange((function(t){t?("debug"===e.optionsService.rawOptions.logLevel&&e._logService.debug("Binding to mouse events:",e.coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?i.mousemove||(n.addEventListener("mousemove",l),i.mousemove=l):(n.removeEventListener("mousemove",i.mousemove),i.mousemove=null),16&t?i.wheel||(n.addEventListener("wheel",a,{passive:!1}),i.wheel=a):(n.removeEventListener("wheel",i.wheel),i.wheel=null),2&t?i.mouseup||(i.mouseup=o):(e._document.removeEventListener("mouseup",i.mouseup),i.mouseup=null),4&t?i.mousedrag||(i.mousedrag=s):(e._document.removeEventListener("mousemove",i.mousedrag),i.mousedrag=null)}))),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,v.addDisposableDomListener)(n,"mousedown",(function(t){if(t.preventDefault(),e.focus(),e.coreMouseService.areMouseEventsActive&&!e._selectionService.shouldForceSelection(t))return r(t),i.mouseup&&e._document.addEventListener("mouseup",i.mouseup),i.mousedrag&&e._document.addEventListener("mousemove",i.mousedrag),e.cancel(t)}))),this.register((0,v.addDisposableDomListener)(n,"wheel",(function(t){if(!i.wheel){if(!e.buffer.hasScrollback){var n=e.viewport.getLinesScrolled(t);if(0===n)return;for(var r=f.C0.ESC+(e.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),o="",a=0;a<Math.abs(n);a++)o+=r;return e.coreService.triggerDataEvent(o,!0),e.cancel(t,!0)}return e.viewport.onWheel(t)?e.cancel(t):void 0}}),{passive:!1})),this.register((0,v.addDisposableDomListener)(n,"touchstart",(function(t){if(!e.coreMouseService.areMouseEventsActive)return e.viewport.onTouchStart(t),e.cancel(t)}),{passive:!0})),this.register((0,v.addDisposableDomListener)(n,"touchmove",(function(t){if(!e.coreMouseService.areMouseEventsActive)return e.viewport.onTouchMove(t)?void 0:e.cancel(t)}),{passive:!1}))},t.prototype.refresh=function(e,t){var n;null===(n=this._renderService)||void 0===n||n.refreshRows(e,t)},t.prototype._queueLinkification=function(e,t){var n;null===(n=this.linkifier)||void 0===n||n.linkifyRows(e,t)},t.prototype.updateCursorStyle=function(e){var t;(null===(t=this._selectionService)||void 0===t?void 0:t.shouldColumnSelect(e))?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},t.prototype._showCursor=function(){this.coreService.isCursorInitialized||(this.coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},t.prototype.scrollLines=function(t,n,r){void 0===r&&(r=0),e.prototype.scrollLines.call(this,t,n,r),this.refresh(0,this.rows-1)},t.prototype.paste=function(e){(0,u.paste)(e,this.textarea,this.coreService)},t.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},t.prototype.registerLinkMatcher=function(e,t,n){var r=this.linkifier.registerLinkMatcher(e,t,n);return this.refresh(0,this.rows-1),r},t.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},t.prototype.registerLinkProvider=function(e){return this.linkifier2.registerLinkProvider(e)},t.prototype.registerCharacterJoiner=function(e){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");var t=this._characterJoinerService.register(e);return this.refresh(0,this.rows-1),t},t.prototype.deregisterCharacterJoiner=function(e){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");this._characterJoinerService.deregister(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(t.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),t.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},t.prototype.registerDecoration=function(e){return this._decorationService.registerDecoration(e)},t.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},t.prototype.select=function(e,t,n){this._selectionService.setSelection(e,t,n)},t.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},t.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},t.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},t.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},t.prototype.selectLines=function(e,t){var n;null===(n=this._selectionService)||void 0===n||n.selectLines(e,t)},t.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._keyDownSeen=!0,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;var t=this.browser.isMac&&this.options.macOptionIsMeta&&e.altKey;if(!t&&!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this._bufferService.scrollToBottom(),!1;t||"Dead"!==e.key&&"AltGraph"!==e.key||(this._unprocessedDeadKey=!0);var n=(0,x.evaluateKeyboardEvent)(e,this.coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===n.type||2===n.type){var r=this.rows-1;return this.scrollLines(2===n.type?-r:r),this.cancel(e,!0)}return 1===n.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(n.cancel&&this.cancel(e,!0),!n.key||!!(e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&1===e.key.length&&e.key.charCodeAt(0)>=65&&e.key.charCodeAt(0)<=90)||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(n.key!==f.C0.ETX&&n.key!==f.C0.CR||(this.textarea.value=""),this._onKey.fire({key:n.key,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(n.key,!0),this.optionsService.rawOptions.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0))))},t.prototype._isThirdLevelShift=function(e,t){var n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey||e.isWindows&&t.getModifierState("AltGraph");return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._keyDownSeen=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e),this._keyPressHandled=!1)},t.prototype._keyPress=function(e){var t;if(this._keyPressHandled=!1,this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this._showCursor(),this.coreService.triggerDataEvent(t,!0),this._keyPressHandled=!0,this._unprocessedDeadKey=!1,0))},t.prototype._inputEvent=function(e){if(e.data&&"insertText"===e.inputType&&(!e.composed||!this._keyDownSeen)&&!this.optionsService.rawOptions.screenReaderMode){if(this._keyPressHandled)return!1;this._unprocessedDeadKey=!1;var t=e.data;return this.coreService.triggerDataEvent(t,!0),this.cancel(e),!0}return!1},t.prototype.bell=function(){var e;this._soundBell()&&(null===(e=this._soundService)||void 0===e||e.playBellSound()),this._onBell.fire()},t.prototype.resize=function(t,n){t!==this.cols||n!==this.rows?e.prototype.resize.call(this,t,n):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},t.prototype._afterResize=function(e,t){var n,r;null===(n=this._charSizeService)||void 0===n||n.measure(),null===(r=this.viewport)||void 0===r||r.syncScrollArea(!0)},t.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.clearAllMarkers(),this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(k.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire({position:this.buffer.ydisp,source:0})}},t.prototype.reset=function(){var t,n;this.options.rows=this.rows,this.options.cols=this.cols;var r=this._customKeyEventHandler;this._setup(),e.prototype.reset.call(this),null===(t=this._selectionService)||void 0===t||t.reset(),this._decorationService.reset(),this._customKeyEventHandler=r,this.refresh(0,this.rows-1),null===(n=this.viewport)||void 0===n||n.syncScrollArea()},t.prototype.clearTextureAtlas=function(){var e;null===(e=this._renderService)||void 0===e||e.clearTextureAtlas()},t.prototype._reportFocus=function(){var e;(null===(e=this.element)||void 0===e?void 0:e.classList.contains("focus"))?this.coreService.triggerDataEvent(f.C0.ESC+"[I"):this.coreService.triggerDataEvent(f.C0.ESC+"[O")},t.prototype._reportWindowsOptions=function(e){if(this._renderService)switch(e){case d.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var t=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),n=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this.coreService.triggerDataEvent(f.C0.ESC+"[4;"+n+";"+t+"t");break;case d.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var r=this._renderService.dimensions.scaledCellWidth.toFixed(0),i=this._renderService.dimensions.scaledCellHeight.toFixed(0);this.coreService.triggerDataEvent(f.C0.ESC+"[6;"+i+";"+r+"t")}},t.prototype.cancel=function(e,t){if(this.options.cancelEvents||t)return e.preventDefault(),e.stopPropagation(),!1},t.prototype._visualBell=function(){return!1},t.prototype._soundBell=function(){return"sound"===this.options.bellStyle},t}(I.CoreTerminal);t.Terminal=U},9924:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TimeBasedDebouncer=void 0;var n=function(){function e(e,t){void 0===t&&(t=1e3),this._renderCallback=e,this._debounceThresholdMS=t,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}return e.prototype.dispose=function(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)},e.prototype.refresh=function(e,t,n){var r=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t;var i=Date.now();if(i-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=i,this._innerRefresh();else if(!this._additionalRefreshRequested){var o=i-this._lastRefreshMs,a=this._debounceThresholdMS-o;this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout((function(){r._lastRefreshMs=Date.now(),r._innerRefresh(),r._additionalRefreshRequested=!1,r._refreshTimeoutID=void 0}),a)}},e.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(e,t)}},e}();t.TimeBasedDebouncer=n},1680:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;var s=n(844),l=n(3656),c=n(4725),u=n(2585),f=function(e){function t(t,n,r,i,o,a,s,c){var u=e.call(this)||this;return u._scrollLines=t,u._viewportElement=n,u._scrollArea=r,u._element=i,u._bufferService=o,u._optionsService=a,u._charSizeService=s,u._renderService=c,u.scrollBarWidth=0,u._currentRowHeight=0,u._currentScaledCellHeight=0,u._lastRecordedBufferLength=0,u._lastRecordedViewportHeight=0,u._lastRecordedBufferHeight=0,u._lastTouchY=0,u._lastScrollTop=0,u._wheelPartialScroll=0,u._refreshAnimationFrame=null,u._ignoreNextScrollEvent=!1,u.scrollBarWidth=u._viewportElement.offsetWidth-u._scrollArea.offsetWidth||15,u.register((0,l.addDisposableDomListener)(u._viewportElement,"scroll",u._onScroll.bind(u))),u._activeBuffer=u._bufferService.buffer,u.register(u._bufferService.buffers.onBufferActivate((function(e){return u._activeBuffer=e.activeBuffer}))),u._renderDimensions=u._renderService.dimensions,u.register(u._renderService.onDimensionsChange((function(e){return u._renderDimensions=e}))),setTimeout((function(){return u.syncScrollArea()}),0),u}return i(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return t._innerRefresh()})))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._currentScaledCellHeight=this._renderService.dimensions.scaledCellHeight,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.scaledCellHeight===this._currentScaledCellHeight||this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent){if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._scrollLines(0);var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t)}},t.prototype._bubbleScroll=function(e,t){var n=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&n<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},t.prototype.onWheel=function(e){var t=this._getPixelsScrolled(e);return 0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},t.prototype._getPixelsScrolled=function(e){if(0===e.deltaY||e.shiftKey)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._currentRowHeight*this._bufferService.rows),t},t.prototype.getLinesScrolled=function(e){if(0===e.deltaY||e.shiftKey)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(t/=this._currentRowHeight+0,this._wheelPartialScroll+=t,t=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var n=this._optionsService.rawOptions.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.rawOptions.fastScrollSensitivity*this._optionsService.rawOptions.scrollSensitivity:e*this._optionsService.rawOptions.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},o([a(4,u.IBufferService),a(5,u.IOptionsService),a(6,c.ICharSizeService),a(7,c.IRenderService)],t)}(s.Disposable);t.Viewport=f},3107:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferDecorationRenderer=void 0;var l=n(3656),c=n(4725),u=n(844),f=n(2585),d=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._screenElement=t,o._bufferService=n,o._decorationService=r,o._renderService=i,o._decorationElements=new Map,o._altBufferIsActive=!1,o._dimensionsChanged=!1,o._container=document.createElement("div"),o._container.classList.add("xterm-decoration-container"),o._screenElement.appendChild(o._container),o.register(o._renderService.onRenderedViewportChange((function(){return o._queueRefresh()}))),o.register(o._renderService.onDimensionsChange((function(){o._dimensionsChanged=!0,o._queueRefresh()}))),o.register((0,l.addDisposableDomListener)(window,"resize",(function(){return o._queueRefresh()}))),o.register(o._bufferService.buffers.onBufferActivate((function(){o._altBufferIsActive=o._bufferService.buffer===o._bufferService.buffers.alt}))),o.register(o._decorationService.onDecorationRegistered((function(){return o._queueRefresh()}))),o.register(o._decorationService.onDecorationRemoved((function(e){return o._removeDecoration(e)}))),o}return i(t,e),t.prototype.dispose=function(){this._container.remove(),this._decorationElements.clear(),e.prototype.dispose.call(this)},t.prototype._queueRefresh=function(){var e=this;void 0===this._animationFrame&&(this._animationFrame=this._renderService.addRefreshCallback((function(){e.refreshDecorations(),e._animationFrame=void 0})))},t.prototype.refreshDecorations=function(){var e,t;try{for(var n=s(this._decorationService.decorations),r=n.next();!r.done;r=n.next()){var i=r.value;this._renderDecoration(i)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._dimensionsChanged=!1},t.prototype._renderDecoration=function(e){this._refreshStyle(e),this._dimensionsChanged&&this._refreshXPosition(e)},t.prototype._createElement=function(e){var t,n=document.createElement("div");n.classList.add("xterm-decoration"),n.style.width=Math.round((e.options.width||1)*this._renderService.dimensions.actualCellWidth)+"px",n.style.height=(e.options.height||1)*this._renderService.dimensions.actualCellHeight+"px",n.style.top=(e.marker.line-this._bufferService.buffers.active.ydisp)*this._renderService.dimensions.actualCellHeight+"px",n.style.lineHeight=this._renderService.dimensions.actualCellHeight+"px";var r=null!==(t=e.options.x)&&void 0!==t?t:0;return r&&r>this._bufferService.cols&&(n.style.display="none"),this._refreshXPosition(e,n),n},t.prototype._refreshStyle=function(e){var t=this,n=e.marker.line-this._bufferService.buffers.active.ydisp;if(n<0||n>=this._bufferService.rows)e.element&&(e.element.style.display="none",e.onRenderEmitter.fire(e.element));else{var r=this._decorationElements.get(e);r||(e.onDispose((function(){return t._removeDecoration(e)})),r=this._createElement(e),e.element=r,this._decorationElements.set(e,r),this._container.appendChild(r)),r.style.top=n*this._renderService.dimensions.actualCellHeight+"px",r.style.display=this._altBufferIsActive?"none":"block",e.onRenderEmitter.fire(r)}},t.prototype._refreshXPosition=function(e,t){var n;if(void 0===t&&(t=e.element),t){var r=null!==(n=e.options.x)&&void 0!==n?n:0;"right"===(e.options.anchor||"left")?t.style.right=r?r*this._renderService.dimensions.actualCellWidth+"px":"":t.style.left=r?r*this._renderService.dimensions.actualCellWidth+"px":""}},t.prototype._removeDecoration=function(e){var t;null===(t=this._decorationElements.get(e))||void 0===t||t.remove(),this._decorationElements.delete(e)},o([a(1,f.IBufferService),a(2,f.IDecorationService),a(3,c.IRenderService)],t)}(u.Disposable);t.BufferDecorationRenderer=d},5871:function(e,t){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorZoneStore=void 0;var r=function(){function e(){this._zones=[],this._zonePool=[],this._zonePoolIndex=0,this._linePadding={full:0,left:0,center:0,right:0}}return Object.defineProperty(e.prototype,"zones",{get:function(){return this._zonePool.length=Math.min(this._zonePool.length,this._zones.length),this._zones},enumerable:!1,configurable:!0}),e.prototype.clear=function(){this._zones.length=0,this._zonePoolIndex=0},e.prototype.addDecoration=function(e){var t,r;if(e.options.overviewRulerOptions){try{for(var i=n(this._zones),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.color===e.options.overviewRulerOptions.color&&a.position===e.options.overviewRulerOptions.position){if(this._lineIntersectsZone(a,e.marker.line))return;if(this._lineAdjacentToZone(a,e.marker.line,e.options.overviewRulerOptions.position))return void this._addLineToZone(a,e.marker.line)}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(this._zonePoolIndex<this._zonePool.length)return this._zonePool[this._zonePoolIndex].color=e.options.overviewRulerOptions.color,this._zonePool[this._zonePoolIndex].position=e.options.overviewRulerOptions.position,this._zonePool[this._zonePoolIndex].startBufferLine=e.marker.line,this._zonePool[this._zonePoolIndex].endBufferLine=e.marker.line,void this._zones.push(this._zonePool[this._zonePoolIndex++]);this._zones.push({color:e.options.overviewRulerOptions.color,position:e.options.overviewRulerOptions.position,startBufferLine:e.marker.line,endBufferLine:e.marker.line}),this._zonePool.push(this._zones[this._zones.length-1]),this._zonePoolIndex++}},e.prototype.setPadding=function(e){this._linePadding=e},e.prototype._lineIntersectsZone=function(e,t){return t>=e.startBufferLine&&t<=e.endBufferLine},e.prototype._lineAdjacentToZone=function(e,t,n){return t>=e.startBufferLine-this._linePadding[n||"full"]&&t<=e.endBufferLine+this._linePadding[n||"full"]},e.prototype._addLineToZone=function(e,t){e.startBufferLine=Math.min(e.startBufferLine,t),e.endBufferLine=Math.max(e.endBufferLine,t)},e}();t.ColorZoneStore=r},5744:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.OverviewRulerRenderer=void 0;var l=n(5871),c=n(3656),u=n(4725),f=n(844),d=n(2585),p={full:0,left:0,center:0,right:0},h={full:0,left:0,center:0,right:0},m={full:0,left:0,center:0,right:0},g=function(e){function t(t,n,r,i,o,a){var s,c=e.call(this)||this;c._viewportElement=t,c._screenElement=n,c._bufferService=r,c._decorationService=i,c._renderService=o,c._optionsService=a,c._colorZoneStore=new l.ColorZoneStore,c._shouldUpdateDimensions=!0,c._shouldUpdateAnchor=!0,c._lastKnownBufferLength=0,c._canvas=document.createElement("canvas"),c._canvas.classList.add("xterm-decoration-overview-ruler"),c._refreshCanvasDimensions(),null===(s=c._viewportElement.parentElement)||void 0===s||s.insertBefore(c._canvas,c._viewportElement);var u=c._canvas.getContext("2d");if(!u)throw new Error("Ctx cannot be null");return c._ctx=u,c._registerDecorationListeners(),c._registerBufferChangeListeners(),c._registerDimensionChangeListeners(),c}return i(t,e),Object.defineProperty(t.prototype,"_width",{get:function(){return this._optionsService.options.overviewRulerWidth||0},enumerable:!1,configurable:!0}),t.prototype._registerDecorationListeners=function(){var e=this;this.register(this._decorationService.onDecorationRegistered((function(){return e._queueRefresh(void 0,!0)}))),this.register(this._decorationService.onDecorationRemoved((function(){return e._queueRefresh(void 0,!0)})))},t.prototype._registerBufferChangeListeners=function(){var e=this;this.register(this._renderService.onRenderedViewportChange((function(){return e._queueRefresh()}))),this.register(this._bufferService.buffers.onBufferActivate((function(){e._canvas.style.display=e._bufferService.buffer===e._bufferService.buffers.alt?"none":"block"}))),this.register(this._bufferService.onScroll((function(){e._lastKnownBufferLength!==e._bufferService.buffers.normal.lines.length&&(e._refreshDrawHeightConstants(),e._refreshColorZonePadding())})))},t.prototype._registerDimensionChangeListeners=function(){var e=this;this.register(this._renderService.onRender((function(){e._containerHeight&&e._containerHeight===e._screenElement.clientHeight||(e._queueRefresh(!0),e._containerHeight=e._screenElement.clientHeight)}))),this.register(this._optionsService.onOptionChange((function(t){"overviewRulerWidth"===t&&e._queueRefresh(!0)}))),this.register((0,c.addDisposableDomListener)(window,"resize",(function(){e._queueRefresh(!0)}))),this._queueRefresh(!0)},t.prototype.dispose=function(){var t;null===(t=this._canvas)||void 0===t||t.remove(),e.prototype.dispose.call(this)},t.prototype._refreshDrawConstants=function(){var e=Math.floor(this._canvas.width/3),t=Math.ceil(this._canvas.width/3);h.full=this._canvas.width,h.left=e,h.center=t,h.right=e,this._refreshDrawHeightConstants(),m.full=0,m.left=0,m.center=h.left,m.right=h.left+h.center},t.prototype._refreshDrawHeightConstants=function(){p.full=Math.round(2*window.devicePixelRatio);var e=this._canvas.height/this._bufferService.buffer.lines.length,t=Math.round(Math.max(Math.min(e,12),6)*window.devicePixelRatio);p.left=t,p.center=t,p.right=t},t.prototype._refreshColorZonePadding=function(){this._colorZoneStore.setPadding({full:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.full),left:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.left),center:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.center),right:Math.floor(this._bufferService.buffers.active.lines.length/(this._canvas.height-1)*p.right)}),this._lastKnownBufferLength=this._bufferService.buffers.normal.lines.length},t.prototype._refreshCanvasDimensions=function(){this._canvas.style.width=this._width+"px",this._canvas.width=Math.round(this._width*window.devicePixelRatio),this._canvas.style.height=this._screenElement.clientHeight+"px",this._canvas.height=Math.round(this._screenElement.clientHeight*window.devicePixelRatio),this._refreshDrawConstants(),this._refreshColorZonePadding()},t.prototype._refreshDecorations=function(){var e,t,n,r,i,o;this._shouldUpdateDimensions&&this._refreshCanvasDimensions(),this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height),this._colorZoneStore.clear();try{for(var a=s(this._decorationService.decorations),l=a.next();!l.done;l=a.next()){var c=l.value;this._colorZoneStore.addDecoration(c)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}this._ctx.lineWidth=1;var u=this._colorZoneStore.zones;try{for(var f=s(u),d=f.next();!d.done;d=f.next())"full"!==(m=d.value).position&&this._renderColorZone(m)}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}try{for(var p=s(u),h=p.next();!h.done;h=p.next()){var m;"full"===(m=h.value).position&&this._renderColorZone(m)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}this._shouldUpdateDimensions=!1,this._shouldUpdateAnchor=!1},t.prototype._renderColorZone=function(e){this._ctx.fillStyle=e.color,this._ctx.fillRect(m[e.position||"full"],Math.round((this._canvas.height-1)*(e.startBufferLine/this._bufferService.buffers.active.lines.length)-p[e.position||"full"]/2),h[e.position||"full"],Math.round((this._canvas.height-1)*((e.endBufferLine-e.startBufferLine)/this._bufferService.buffers.active.lines.length)+p[e.position||"full"]))},t.prototype._queueRefresh=function(e,t){var n=this;this._shouldUpdateDimensions=e||this._shouldUpdateDimensions,this._shouldUpdateAnchor=t||this._shouldUpdateAnchor,void 0===this._animationFrame&&(this._animationFrame=window.requestAnimationFrame((function(){n._refreshDecorations(),n._animationFrame=void 0})))},o([a(2,d.IBufferService),a(3,d.IDecorationService),a(4,u.IRenderService),a(5,d.IOptionsService)],t)}(f.Disposable);t.OverviewRulerRenderer=g},2950:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;var o=n(4725),a=n(2585),s=function(){function e(e,t,n,r,i,o){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=r,this._coreService=i,this._renderService=o,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}return Object.defineProperty(e.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((function(){t._compositionPosition.end=t._textarea.value.length}),0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,n.start+=t._dataAlreadySent.length,(e=t._isComposing?t._textarea.value.substring(n.start,n.end):t._textarea.value.substring(n.start)).length>0&&t._coreService.triggerDataEvent(e,!0))}),0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout((function(){if(!e._isComposing){var n=e._textarea.value.replace(t,"");n.length>0&&(e._dataAlreadySent=n,e._coreService.triggerDataEvent(n,!0))}}),0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),r=this._renderService.dimensions.actualCellHeight,i=this._bufferService.buffer.y*this._renderService.dimensions.actualCellHeight,o=n*this._renderService.dimensions.actualCellWidth;this._compositionView.style.left=o+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=r+"px",this._compositionView.style.lineHeight=r+"px",this._compositionView.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._compositionView.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var a=this._compositionView.getBoundingClientRect();this._textarea.style.left=o+"px",this._textarea.style.top=i+"px",this._textarea.style.width=Math.max(a.width,1)+"px",this._textarea.style.height=Math.max(a.height,1)+"px",this._textarea.style.lineHeight=a.height+"px"}e||setTimeout((function(){return t.updateCompositionElements(!0)}),0)}},r([i(2,a.IBufferService),i(3,a.IOptionsService),i(4,a.ICoreService),i(5,o.IRenderService)],e)}();t.CompositionHelper=s},9806:(e,t)=>{function n(e,t,n){var r=n.getBoundingClientRect(),i=e.getComputedStyle(n),o=parseInt(i.getPropertyValue("padding-left")),a=parseInt(i.getPropertyValue("padding-top"));return[t.clientX-r.left-o,t.clientY-r.top-a]}Object.defineProperty(t,"__esModule",{value:!0}),t.getRawByteCoords=t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=n,t.getCoords=function(e,t,r,i,o,a,s,l,c){if(a){var u=n(e,t,r);if(u)return u[0]=Math.ceil((u[0]+(c?s/2:0))/s),u[1]=Math.ceil(u[1]/l),u[0]=Math.min(Math.max(u[0],1),i+(c?1:0)),u[1]=Math.min(Math.max(u[1],1),o),u}},t.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},9504:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;var r=n(2584);function i(e,t,n,r){var i=e-o(n,e),s=t-o(n,t),u=Math.abs(i-s)-function(e,t,n){for(var r=0,i=e-o(n,e),s=t-o(n,t),l=0;l<Math.abs(i-s);l++){var c="A"===a(e,t)?-1:1,u=n.buffer.lines.get(i+c*l);(null==u?void 0:u.isWrapped)&&r++}return r}(e,t,n);return c(u,l(a(e,t),r))}function o(e,t){for(var n=0,r=e.buffer.lines.get(t),i=null==r?void 0:r.isWrapped;i&&t>=0&&t<e.rows;)n++,i=null==(r=e.buffer.lines.get(--t))?void 0:r.isWrapped;return n}function a(e,t){return e>t?"A":"B"}function s(e,t,n,r,i,o){for(var a=e,s=t,l="";a!==n||s!==r;)a+=i?1:-1,i&&a>o.cols-1?(l+=o.buffer.translateBufferLineToString(s,!1,e,a),a=0,e=0,s++):!i&&a<0&&(l+=o.buffer.translateBufferLineToString(s,!1,0,e+1),e=a=o.cols-1,s--);return l+o.buffer.translateBufferLineToString(s,!1,e,a)}function l(e,t){var n=t?"O":"[";return r.C0.ESC+n+e}function c(e,t){e=Math.floor(e);for(var n="",r=0;r<e;r++)n+=t;return n}t.moveToCellSequence=function(e,t,n,r){var a,u=n.buffer.x,f=n.buffer.y;if(!n.buffer.hasScrollback)return function(e,t,n,r,a,u){return 0===i(t,r,a,u).length?"":c(s(e,t,e,t-o(a,t),!1,a).length,l("D",u))}(u,f,0,t,n,r)+i(f,t,n,r)+function(e,t,n,r,a,u){var f;f=i(t,r,a,u).length>0?r-o(a,r):t;var d=r,p=function(e,t,n,r,a,s){var l;return l=i(n,r,a,s).length>0?r-o(a,r):t,e<n&&l<=r||e>=n&&l<r?"C":"D"}(e,t,n,r,a,u);return c(s(e,f,n,d,"C"===p,a).length,l(p,u))}(u,f,e,t,n,r);if(f===t)return a=u>e?"D":"C",c(Math.abs(u-e),l(a,r));a=f>t?"D":"C";var d=Math.abs(f-t);return c(function(e,t){return t.cols-e}(f>t?e:u,n)+(d-1)*n.cols+1+((f>t?u:e)-1),l(a,r))}},4389:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var o=n(3236),a=n(9042),s=n(7975),l=n(7090),c=n(5741),u=n(8285),f=["cols","rows"],d=function(){function e(e){var t=this;this._core=new o.Terminal(e),this._addonManager=new c.AddonManager,this._publicOptions=r({},this._core.options);var n=function(e){return t._core.options[e]},i=function(e,n){t._checkReadonlyOptions(e),t._core.options[e]=n};for(var a in this._core.options){var s={get:n.bind(this,a),set:i.bind(this,a)};Object.defineProperty(this._publicOptions,a,s)}}return e.prototype._checkReadonlyOptions=function(e){if(f.includes(e))throw new Error('Option "'+e+'" can only be set in the constructor')},e.prototype._checkProposedApi=function(){if(!this._core.optionsService.rawOptions.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(e.prototype,"onBell",{get:function(){return this._core.onBell},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onWriteParsed",{get:function(){return this._core.onWriteParsed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new s.ParserApi(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l.UnicodeApi(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),this._buffer||(this._buffer=new u.BufferNamespaceApi(this._core)),this._buffer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modes",{get:function(){var e=this._core.coreService.decPrivateModes,t="none";switch(this._core.coreMouseService.activeProtocol){case"X10":t="x10";break;case"VT200":t="vt200";break;case"DRAG":t="drag";break;case"ANY":t="any"}return{applicationCursorKeysMode:e.applicationCursorKeys,applicationKeypadMode:e.applicationKeypad,bracketedPasteMode:e.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:t,originMode:e.origin,reverseWraparoundMode:e.reverseWraparound,sendFocusMode:e.sendFocus,wraparoundMode:e.wraparound}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._publicOptions},set:function(e){for(var t in e)this._publicOptions[t]=e[t]},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)},e.prototype.open=function(e){this._core.open(e)},e.prototype.attachCustomKeyEventHandler=function(e){this._core.attachCustomKeyEventHandler(e)},e.prototype.registerLinkMatcher=function(e,t,n){return this._checkProposedApi(),this._core.registerLinkMatcher(e,t,n)},e.prototype.deregisterLinkMatcher=function(e){this._checkProposedApi(),this._core.deregisterLinkMatcher(e)},e.prototype.registerLinkProvider=function(e){return this._checkProposedApi(),this._core.registerLinkProvider(e)},e.prototype.registerCharacterJoiner=function(e){return this._checkProposedApi(),this._core.registerCharacterJoiner(e)},e.prototype.deregisterCharacterJoiner=function(e){this._checkProposedApi(),this._core.deregisterCharacterJoiner(e)},e.prototype.registerMarker=function(e){return void 0===e&&(e=0),this._checkProposedApi(),this._verifyIntegers(e),this._core.addMarker(e)},e.prototype.registerDecoration=function(e){var t,n,r;return this._checkProposedApi(),this._verifyPositiveIntegers(null!==(t=e.x)&&void 0!==t?t:0,null!==(n=e.width)&&void 0!==n?n:0,null!==(r=e.height)&&void 0!==r?r:0),this._core.registerDecoration(e)},e.prototype.addMarker=function(e){return this.registerMarker(e)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(e,t,n){this._verifyIntegers(e,t,n),this._core.select(e,t,n)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(e){this._verifyIntegers(e),this._core.scrollLines(e)},e.prototype.scrollPages=function(e){this._verifyIntegers(e),this._core.scrollPages(e)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(e){this._verifyIntegers(e),this._core.scrollToLine(e)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(e,t){this._core.write(e,t)},e.prototype.writeUtf8=function(e,t){this._core.write(e,t)},e.prototype.writeln=function(e,t){this._core.write(e),this._core.write("\r\n",t)},e.prototype.paste=function(e){this._core.paste(e)},e.prototype.getOption=function(e){return this._core.optionsService.getOption(e)},e.prototype.setOption=function(e,t){this._checkReadonlyOptions(e),this._core.optionsService.setOption(e,t)},e.prototype.refresh=function(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)},e.prototype.reset=function(){this._core.reset()},e.prototype.clearTextureAtlas=function(){this._core.clearTextureAtlas()},e.prototype.loadAddon=function(e){return this._addonManager.loadAddon(this,e)},Object.defineProperty(e,"strings",{get:function(){return a},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{for(var o=i(n),a=o.next();!a.done;a=o.next()){var s=a.value;if(s===1/0||isNaN(s)||s%1!=0)throw new Error("This API only accepts integers")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},e.prototype._verifyPositiveIntegers=function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{for(var o=i(n),a=o.next();!a.done;a=o.next()){var s=a.value;if(s&&(s===1/0||isNaN(s)||s%1!=0||s<0))throw new Error("This API only accepts positive integers")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},e}();t.Terminal=d},1546:function(e,t,n){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;var i=n(643),o=n(8803),a=n(1420),s=n(3734),l=n(1752),c=n(8055),u=n(9631),f=n(8978),d=function(){function e(e,t,n,r,i,o,a,s,l){this._container=e,this._alpha=r,this._colors=i,this._rendererId=o,this._bufferService=a,this._optionsService=s,this._decorationService=l,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._columnSelectMode=!1,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;(0,u.removeElementFromParent)(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=(0,l.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._selectionStart=e,this._selectionEnd=t,this._columnSelectMode=n},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=(0,a.acquireCharAtlas)(this._optionsService.rawOptions,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype.clearTextureAtlas=function(){var e;null===(e=this._charAtlas)||void 0===e||e.clear()},e.prototype._fillCells=function(e,t,n,r){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight)},e.prototype._fillMiddleLineAtCells=function(e,t,n){void 0===n&&(n=1);var r=Math.ceil(.5*this._scaledCellHeight);this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-r-window.devicePixelRatio,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillBottomLineAtCells=function(e,t,n){void 0===n&&(n=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*n,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,n,r){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,n*this._scaledCellWidth-window.devicePixelRatio,r*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,n,r){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,n){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline=o.TEXT_BASELINE,this._clipRow(n);var r=!1;!1!==this._optionsService.rawOptions.customGlyphs&&(r=(0,f.tryDrawCustomChar)(this._ctx,e.getChars(),t*this._scaledCellWidth,n*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),r||this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight)},e.prototype._drawChars=function(e,t,n){var a,s,l,c=this._getContrastColor(e,t,n);if(c||e.isFgRGB()||e.isBgRGB())this._drawUncachedChars(e,t,n,c);else{var u,f;e.isInverse()?(u=e.isBgDefault()?o.INVERTED_DEFAULT_COLOR:e.getBgColor(),f=e.isFgDefault()?o.INVERTED_DEFAULT_COLOR:e.getFgColor()):(f=e.isBgDefault()?i.DEFAULT_COLOR:e.getBgColor(),u=e.isFgDefault()?i.DEFAULT_COLOR:e.getFgColor()),u+=this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&u<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||i.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||i.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=f,this._currentGlyphIdentifier.fg=u,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic();var d=!1;try{for(var p=r(this._decorationService.getDecorationsAtCell(t,n)),h=p.next();!h.done;h=p.next()){var m=h.value;if(m.backgroundColorRGB||m.foregroundColorRGB){d=!0;break}}}catch(e){a={error:e}}finally{try{h&&!h.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}!d&&(null===(l=this._charAtlas)||void 0===l?void 0:l.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop))||this._drawUncachedChars(e,t,n)}},e.prototype._drawUncachedChars=function(e,t,n,r){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline=o.TEXT_BASELINE,e.isInverse())if(r)this._ctx.fillStyle=r.css;else if(e.isBgDefault())this._ctx.fillStyle=c.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var i=e.getBgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&i<8&&(i+=8),this._ctx.fillStyle=this._colors.ansi[i].css}else if(r)this._ctx.fillStyle=r.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var a=e.getFgColor();this._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}this._clipRow(n),e.isDim()&&(this._ctx.globalAlpha=o.DIM_OPACITY);var l=!1;!1!==this._optionsService.rawOptions.customGlyphs&&(l=(0,f.tryDrawCustomChar)(this._ctx,e.getChars(),t*this._scaledCellWidth,n*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),l||this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.rawOptions.fontWeightBold:this._optionsService.rawOptions.fontWeight)+" "+this._optionsService.rawOptions.fontSize*window.devicePixelRatio+"px "+this._optionsService.rawOptions.fontFamily},e.prototype._getContrastColor=function(e,t,n){var i,o,a,s,u=!1;try{for(var f=r(this._decorationService.getDecorationsAtCell(t,n)),d=f.next();!d.done;d=f.next()){var p=d.value;"top"!==p.options.layer&&u||(p.backgroundColorRGB&&(a=p.backgroundColorRGB.rgba),p.foregroundColorRGB&&(s=p.foregroundColorRGB.rgba),u="top"===p.options.layer)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}if(u||this._colors.selectionForeground&&this._isCellInSelection(t,n)&&(s=this._colors.selectionForeground.rgba),a||s||1!==this._optionsService.rawOptions.minimumContrastRatio&&!(0,l.excludeFromContrastRatioDemands)(e.getCode())){if(!a&&!s){var h=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==h)return h||void 0}var m=e.getFgColor(),g=e.getFgColorMode(),v=e.getBgColor(),y=e.getBgColorMode(),b=!!e.isInverse(),_=!!e.isInverse();if(b){var w=m;m=v,v=w;var S=g;g=y,y=S}var x=this._resolveBackgroundRgba(void 0!==a?50331648:y,null!=a?a:v,b),E=this._resolveForegroundRgba(g,m,b,_),k=c.rgba.ensureContrastRatio(null!=a?a:x,null!=s?s:E,this._optionsService.rawOptions.minimumContrastRatio);if(!k){if(!s)return void this._colors.contrastCache.setColor(e.bg,e.fg,null);k=s}var C={css:c.channels.toCss(k>>24&255,k>>16&255,k>>8&255),rgba:k};return a||s||this._colors.contrastCache.setColor(e.bg,e.fg,C),C}},e.prototype._resolveBackgroundRgba=function(e,t,n){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;default:return n?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,n,r){switch(e){case 16777216:case 33554432:return this._optionsService.rawOptions.drawBoldTextInBrightColors&&r&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;default:return n?this._colors.background.rgba:this._colors.foreground.rgba}},e.prototype._isCellInSelection=function(e,t){var n=this._selectionStart,r=this._selectionEnd;return!(!n||!r)&&(this._columnSelectMode?e>=n[0]&&t>=n[1]&&e<r[0]&&t<r[1]:t>n[1]&&t<r[1]||n[1]===r[1]&&t===n[1]&&e>=n[0]&&e<r[0]||n[1]<r[1]&&t===r[1]&&e<r[0]||n[1]<r[1]&&t===n[1]&&e>=n[0])},e}();t.BaseRenderLayer=d},2512:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CursorRenderLayer=void 0;var s=n(1546),l=n(511),c=n(2585),u=n(4725),f=600,d=function(e){function t(t,n,r,i,o,a,s,c,u,f){var d=e.call(this,t,"cursor",n,!0,r,i,a,s,f)||this;return d._onRequestRedraw=o,d._coreService=c,d._coreBrowserService=u,d._cell=new l.CellData,d._state={x:0,y:0,isFocused:!1,style:"",width:0},d._cursorRenderers={bar:d._renderBarCursor.bind(d),block:d._renderBlockCursor.bind(d),underline:d._renderUnderlineCursor.bind(d)},d}return i(t,e),t.prototype.dispose=function(){this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0),e.prototype.dispose.call(this)},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){var e;this._clearCursor(),null===(e=this._cursorBlinkStateManager)||void 0===e||e.restartBlinkAnimation(),this.onOptionsChanged()},t.prototype.onBlur=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.resume(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.rawOptions.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new p(this._coreBrowserService.isFocused,(function(){t._render(!0)}))):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=t-this._bufferService.buffer.ydisp;if(n<0||n>=this._bufferService.rows)this._clearCursor();else{var r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(t).loadCell(r,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var i=this._optionsService.rawOptions.cursorStyle;return i&&"block"!==i?this._cursorRenderers[i](r,n,this._cell):this._renderBlurCursor(r,n,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=n,this._state.isFocused=!1,this._state.style=i,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&this._state.y===n&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.rawOptions.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.rawOptions.cursorStyle||"block"](r,n,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=n,this._state.isFocused=!1,this._state.style=this._optionsService.rawOptions.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(window.devicePixelRatio<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.rawOptions.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,n.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(n,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,n){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,n.getWidth(),1),this._ctx.restore()},o([a(5,c.IBufferService),a(6,c.IOptionsService),a(7,c.ICoreService),a(8,u.ICoreBrowserService),a(9,c.IDecorationService)],t)}(s.BaseRenderLayer);t.CursorRenderLayer=d;var p=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=f),this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=window.setTimeout((function(){if(t._animationTimeRestarted){var e=f-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0})),t._blinkInterval=window.setInterval((function(){if(t._animationTimeRestarted){var e=f-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0}))}),f)}),e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},8978:function(e,t,n){var r,i,o,a,s,l,c,u,f,d,p,h,m,g,v,y,b,_,w,S,x,E,k,C,O,T,P,A,M,L,I,R,D,j,N,F,B,z,$,U,H,W,q,V,K,G,Y,J,Z,X,Q,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,fe,de,pe,he,me,ge,ve,ye,be,_e,we,Se,xe,Ee,ke,Ce,Oe,Te,Pe,Ae,Me,Le,Ie,Re,De,je,Ne,Fe,Be,ze,$e,Ue,He,We,qe,Ve,Ke,Ge,Ye,Je,Ze,Xe,Qe,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,ft,dt,pt,ht,mt,gt,vt,yt,bt,_t,wt,St,xt=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Et=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.tryDrawCustomChar=t.powerlineDefinitions=t.boxDrawingDefinitions=t.blockElementDefinitions=void 0;var kt=n(1752);t.blockElementDefinitions={"▀":[{x:0,y:0,w:8,h:4}],"▁":[{x:0,y:7,w:8,h:1}],"▂":[{x:0,y:6,w:8,h:2}],"▃":[{x:0,y:5,w:8,h:3}],"▄":[{x:0,y:4,w:8,h:4}],"▅":[{x:0,y:3,w:8,h:5}],"▆":[{x:0,y:2,w:8,h:6}],"▇":[{x:0,y:1,w:8,h:7}],"█":[{x:0,y:0,w:8,h:8}],"▉":[{x:0,y:0,w:7,h:8}],"▊":[{x:0,y:0,w:6,h:8}],"▋":[{x:0,y:0,w:5,h:8}],"▌":[{x:0,y:0,w:4,h:8}],"▍":[{x:0,y:0,w:3,h:8}],"▎":[{x:0,y:0,w:2,h:8}],"▏":[{x:0,y:0,w:1,h:8}],"▐":[{x:4,y:0,w:4,h:8}],"▔":[{x:0,y:0,w:9,h:1}],"▕":[{x:7,y:0,w:1,h:8}],"▖":[{x:0,y:4,w:4,h:4}],"▗":[{x:4,y:4,w:4,h:4}],"▘":[{x:0,y:0,w:4,h:4}],"▙":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"▚":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"▛":[{x:0,y:0,w:4,h:8},{x:0,y:0,w:4,h:8}],"▜":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"▝":[{x:4,y:0,w:4,h:4}],"▞":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"▟":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"🭰":[{x:1,y:0,w:1,h:8}],"🭱":[{x:2,y:0,w:1,h:8}],"🭲":[{x:3,y:0,w:1,h:8}],"🭳":[{x:4,y:0,w:1,h:8}],"🭴":[{x:5,y:0,w:1,h:8}],"🭵":[{x:6,y:0,w:1,h:8}],"🭶":[{x:0,y:1,w:8,h:1}],"🭷":[{x:0,y:2,w:8,h:1}],"🭸":[{x:0,y:3,w:8,h:1}],"🭹":[{x:0,y:4,w:8,h:1}],"🭺":[{x:0,y:5,w:8,h:1}],"🭻":[{x:0,y:6,w:8,h:1}],"🭼":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🭽":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭾":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭿":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🮀":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮁":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮂":[{x:0,y:0,w:8,h:2}],"🮃":[{x:0,y:0,w:8,h:3}],"🮄":[{x:0,y:0,w:8,h:5}],"🮅":[{x:0,y:0,w:8,h:6}],"🮆":[{x:0,y:0,w:8,h:7}],"🮇":[{x:6,y:0,w:2,h:8}],"🮈":[{x:5,y:0,w:3,h:8}],"🮉":[{x:3,y:0,w:5,h:8}],"🮊":[{x:2,y:0,w:6,h:8}],"🮋":[{x:1,y:0,w:7,h:8}],"🮕":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"🮖":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"🮗":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};var Ct={"░":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"▒":[[1,0],[0,0],[0,1],[0,0]],"▓":[[0,1],[1,1],[1,0],[1,1]]};t.boxDrawingDefinitions={"─":(r={},r[1]="M0,.5 L1,.5",r),"━":(i={},i[3]="M0,.5 L1,.5",i),"│":(o={},o[1]="M.5,0 L.5,1",o),"┃":(a={},a[3]="M.5,0 L.5,1",a),"┌":(s={},s[1]="M0.5,1 L.5,.5 L1,.5",s),"┏":(l={},l[3]="M0.5,1 L.5,.5 L1,.5",l),"┐":(c={},c[1]="M0,.5 L.5,.5 L.5,1",c),"┓":(u={},u[3]="M0,.5 L.5,.5 L.5,1",u),"└":(f={},f[1]="M.5,0 L.5,.5 L1,.5",f),"┗":(d={},d[3]="M.5,0 L.5,.5 L1,.5",d),"┘":(p={},p[1]="M.5,0 L.5,.5 L0,.5",p),"┛":(h={},h[3]="M.5,0 L.5,.5 L0,.5",h),"├":(m={},m[1]="M.5,0 L.5,1 M.5,.5 L1,.5",m),"┣":(g={},g[3]="M.5,0 L.5,1 M.5,.5 L1,.5",g),"┤":(v={},v[1]="M.5,0 L.5,1 M.5,.5 L0,.5",v),"┫":(y={},y[3]="M.5,0 L.5,1 M.5,.5 L0,.5",y),"┬":(b={},b[1]="M0,.5 L1,.5 M.5,.5 L.5,1",b),"┳":(_={},_[3]="M0,.5 L1,.5 M.5,.5 L.5,1",_),"┴":(w={},w[1]="M0,.5 L1,.5 M.5,.5 L.5,0",w),"┻":(S={},S[3]="M0,.5 L1,.5 M.5,.5 L.5,0",S),"┼":(x={},x[1]="M0,.5 L1,.5 M.5,0 L.5,1",x),"╋":(E={},E[3]="M0,.5 L1,.5 M.5,0 L.5,1",E),"╴":(k={},k[1]="M.5,.5 L0,.5",k),"╸":(C={},C[3]="M.5,.5 L0,.5",C),"╵":(O={},O[1]="M.5,.5 L.5,0",O),"╹":(T={},T[3]="M.5,.5 L.5,0",T),"╶":(P={},P[1]="M.5,.5 L1,.5",P),"╺":(A={},A[3]="M.5,.5 L1,.5",A),"╷":(M={},M[1]="M.5,.5 L.5,1",M),"╻":(L={},L[3]="M.5,.5 L.5,1",L),"═":(I={},I[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},I),"║":(R={},R[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},R),"╒":(D={},D[1]=function(e,t){return"M.5,1 L.5,"+(.5-t)+" L1,"+(.5-t)+" M.5,"+(.5+t)+" L1,"+(.5+t)},D),"╓":(j={},j[1]=function(e,t){return"M"+(.5-e)+",1 L"+(.5-e)+",.5 L1,.5 M"+(.5+e)+",.5 L"+(.5+e)+",1"},j),"╔":(N={},N[1]=function(e,t){return"M1,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1"},N),"╕":(F={},F[1]=function(e,t){return"M0,"+(.5-t)+" L.5,"+(.5-t)+" L.5,1 M0,"+(.5+t)+" L.5,"+(.5+t)},F),"╖":(B={},B[1]=function(e,t){return"M"+(.5+e)+",1 L"+(.5+e)+",.5 L0,.5 M"+(.5-e)+",.5 L"+(.5-e)+",1"},B),"╗":(z={},z[1]=function(e,t){return"M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M0,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",1"},z),"╘":($={},$[1]=function(e,t){return"M.5,0 L.5,"+(.5+t)+" L1,"+(.5+t)+" M.5,"+(.5-t)+" L1,"+(.5-t)},$),"╙":(U={},U[1]=function(e,t){return"M1,.5 L"+(.5-e)+",.5 L"+(.5-e)+",0 M"+(.5+e)+",.5 L"+(.5+e)+",0"},U),"╚":(H={},H[1]=function(e,t){return"M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0 M1,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",0"},H),"╛":(W={},W[1]=function(e,t){return"M0,"+(.5+t)+" L.5,"+(.5+t)+" L.5,0 M0,"+(.5-t)+" L.5,"+(.5-t)},W),"╜":(q={},q[1]=function(e,t){return"M0,.5 L"+(.5+e)+",.5 L"+(.5+e)+",0 M"+(.5-e)+",.5 L"+(.5-e)+",0"},q),"╝":(V={},V[1]=function(e,t){return"M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M0,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",0"},V),"╞":(K={},K[1]=function(e,t){return"M.5,0 L.5,1 M.5,"+(.5-t)+" L1,"+(.5-t)+" M.5,"+(.5+t)+" L1,"+(.5+t)},K),"╟":(G={},G[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1 M"+(.5+e)+",.5 L1,.5"},G),"╠":(Y={},Y[1]=function(e,t){return"M"+(.5-e)+",0 L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},Y),"╡":(J={},J[1]=function(e,t){return"M.5,0 L.5,1 M0,"+(.5-t)+" L.5,"+(.5-t)+" M0,"+(.5+t)+" L.5,"+(.5+t)},J),"╢":(Z={},Z[1]=function(e,t){return"M0,.5 L"+(.5-e)+",.5 M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},Z),"╣":(X={},X[1]=function(e,t){return"M"+(.5+e)+",0 L"+(.5+e)+",1 M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0"},X),"╤":(Q={},Q[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)+" M.5,"+(.5+t)+" L.5,1"},Q),"╥":(ee={},ee[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",.5 L"+(.5-e)+",1 M"+(.5+e)+",.5 L"+(.5+e)+",1"},ee),"╦":(te={},te[1]=function(e,t){return"M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1"},te),"╧":(ne={},ne[1]=function(e,t){return"M.5,0 L.5,"+(.5-t)+" M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},ne),"╨":(re={},re[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",.5 L"+(.5-e)+",0 M"+(.5+e)+",.5 L"+(.5+e)+",0"},re),"╩":(ie={},ie[1]=function(e,t){return"M0,"+(.5+t)+" L1,"+(.5+t)+" M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},ie),"╪":(oe={},oe[1]=function(e,t){return"M.5,0 L.5,1 M0,"+(.5-t)+" L1,"+(.5-t)+" M0,"+(.5+t)+" L1,"+(.5+t)},oe),"╫":(ae={},ae[1]=function(e,t){return"M0,.5 L1,.5 M"+(.5-e)+",0 L"+(.5-e)+",1 M"+(.5+e)+",0 L"+(.5+e)+",1"},ae),"╬":(se={},se[1]=function(e,t){return"M0,"+(.5+t)+" L"+(.5-e)+","+(.5+t)+" L"+(.5-e)+",1 M1,"+(.5+t)+" L"+(.5+e)+","+(.5+t)+" L"+(.5+e)+",1 M0,"+(.5-t)+" L"+(.5-e)+","+(.5-t)+" L"+(.5-e)+",0 M1,"+(.5-t)+" L"+(.5+e)+","+(.5-t)+" L"+(.5+e)+",0"},se),"╱":(le={},le[1]="M1,0 L0,1",le),"╲":(ce={},ce[1]="M0,0 L1,1",ce),"╳":(ue={},ue[1]="M1,0 L0,1 M0,0 L1,1",ue),"╼":(fe={},fe[1]="M.5,.5 L0,.5",fe[3]="M.5,.5 L1,.5",fe),"╽":(de={},de[1]="M.5,.5 L.5,0",de[3]="M.5,.5 L.5,1",de),"╾":(pe={},pe[1]="M.5,.5 L1,.5",pe[3]="M.5,.5 L0,.5",pe),"╿":(he={},he[1]="M.5,.5 L.5,1",he[3]="M.5,.5 L.5,0",he),"┍":(me={},me[1]="M.5,.5 L.5,1",me[3]="M.5,.5 L1,.5",me),"┎":(ge={},ge[1]="M.5,.5 L1,.5",ge[3]="M.5,.5 L.5,1",ge),"┑":(ve={},ve[1]="M.5,.5 L.5,1",ve[3]="M.5,.5 L0,.5",ve),"┒":(ye={},ye[1]="M.5,.5 L0,.5",ye[3]="M.5,.5 L.5,1",ye),"┕":(be={},be[1]="M.5,.5 L.5,0",be[3]="M.5,.5 L1,.5",be),"┖":(_e={},_e[1]="M.5,.5 L1,.5",_e[3]="M.5,.5 L.5,0",_e),"┙":(we={},we[1]="M.5,.5 L.5,0",we[3]="M.5,.5 L0,.5",we),"┚":(Se={},Se[1]="M.5,.5 L0,.5",Se[3]="M.5,.5 L.5,0",Se),"┝":(xe={},xe[1]="M.5,0 L.5,1",xe[3]="M.5,.5 L1,.5",xe),"┞":(Ee={},Ee[1]="M0.5,1 L.5,.5 L1,.5",Ee[3]="M.5,.5 L.5,0",Ee),"┟":(ke={},ke[1]="M.5,0 L.5,.5 L1,.5",ke[3]="M.5,.5 L.5,1",ke),"┠":(Ce={},Ce[1]="M.5,.5 L1,.5",Ce[3]="M.5,0 L.5,1",Ce),"┡":(Oe={},Oe[1]="M.5,.5 L.5,1",Oe[3]="M.5,0 L.5,.5 L1,.5",Oe),"┢":(Te={},Te[1]="M.5,.5 L.5,0",Te[3]="M0.5,1 L.5,.5 L1,.5",Te),"┥":(Pe={},Pe[1]="M.5,0 L.5,1",Pe[3]="M.5,.5 L0,.5",Pe),"┦":(Ae={},Ae[1]="M0,.5 L.5,.5 L.5,1",Ae[3]="M.5,.5 L.5,0",Ae),"┧":(Me={},Me[1]="M.5,0 L.5,.5 L0,.5",Me[3]="M.5,.5 L.5,1",Me),"┨":(Le={},Le[1]="M.5,.5 L0,.5",Le[3]="M.5,0 L.5,1",Le),"┩":(Ie={},Ie[1]="M.5,.5 L.5,1",Ie[3]="M.5,0 L.5,.5 L0,.5",Ie),"┪":(Re={},Re[1]="M.5,.5 L.5,0",Re[3]="M0,.5 L.5,.5 L.5,1",Re),"┭":(De={},De[1]="M0.5,1 L.5,.5 L1,.5",De[3]="M.5,.5 L0,.5",De),"┮":(je={},je[1]="M0,.5 L.5,.5 L.5,1",je[3]="M.5,.5 L1,.5",je),"┯":(Ne={},Ne[1]="M.5,.5 L.5,1",Ne[3]="M0,.5 L1,.5",Ne),"┰":(Fe={},Fe[1]="M0,.5 L1,.5",Fe[3]="M.5,.5 L.5,1",Fe),"┱":(Be={},Be[1]="M.5,.5 L1,.5",Be[3]="M0,.5 L.5,.5 L.5,1",Be),"┲":(ze={},ze[1]="M.5,.5 L0,.5",ze[3]="M0.5,1 L.5,.5 L1,.5",ze),"┵":($e={},$e[1]="M.5,0 L.5,.5 L1,.5",$e[3]="M.5,.5 L0,.5",$e),"┶":(Ue={},Ue[1]="M.5,0 L.5,.5 L0,.5",Ue[3]="M.5,.5 L1,.5",Ue),"┷":(He={},He[1]="M.5,.5 L.5,0",He[3]="M0,.5 L1,.5",He),"┸":(We={},We[1]="M0,.5 L1,.5",We[3]="M.5,.5 L.5,0",We),"┹":(qe={},qe[1]="M.5,.5 L1,.5",qe[3]="M.5,0 L.5,.5 L0,.5",qe),"┺":(Ve={},Ve[1]="M.5,.5 L0,.5",Ve[3]="M.5,0 L.5,.5 L1,.5",Ve),"┽":(Ke={},Ke[1]="M.5,0 L.5,1 M.5,.5 L1,.5",Ke[3]="M.5,.5 L0,.5",Ke),"┾":(Ge={},Ge[1]="M.5,0 L.5,1 M.5,.5 L0,.5",Ge[3]="M.5,.5 L1,.5",Ge),"┿":(Ye={},Ye[1]="M.5,0 L.5,1",Ye[3]="M0,.5 L1,.5",Ye),"╀":(Je={},Je[1]="M0,.5 L1,.5 M.5,.5 L.5,1",Je[3]="M.5,.5 L.5,0",Je),"╁":(Ze={},Ze[1]="M.5,.5 L.5,0 M0,.5 L1,.5",Ze[3]="M.5,.5 L.5,1",Ze),"╂":(Xe={},Xe[1]="M0,.5 L1,.5",Xe[3]="M.5,0 L.5,1",Xe),"╃":(Qe={},Qe[1]="M0.5,1 L.5,.5 L1,.5",Qe[3]="M.5,0 L.5,.5 L0,.5",Qe),"╄":(et={},et[1]="M0,.5 L.5,.5 L.5,1",et[3]="M.5,0 L.5,.5 L1,.5",et),"╅":(tt={},tt[1]="M.5,0 L.5,.5 L1,.5",tt[3]="M0,.5 L.5,.5 L.5,1",tt),"╆":(nt={},nt[1]="M.5,0 L.5,.5 L0,.5",nt[3]="M0.5,1 L.5,.5 L1,.5",nt),"╇":(rt={},rt[1]="M.5,.5 L.5,1",rt[3]="M.5,.5 L.5,0 M0,.5 L1,.5",rt),"╈":(it={},it[1]="M.5,.5 L.5,0",it[3]="M0,.5 L1,.5 M.5,.5 L.5,1",it),"╉":(ot={},ot[1]="M.5,.5 L1,.5",ot[3]="M.5,0 L.5,1 M.5,.5 L0,.5",ot),"╊":(at={},at[1]="M.5,.5 L0,.5",at[3]="M.5,0 L.5,1 M.5,.5 L1,.5",at),"╌":(st={},st[1]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",st),"╍":(lt={},lt[3]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",lt),"┄":(ct={},ct[1]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",ct),"┅":(ut={},ut[3]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",ut),"┈":(ft={},ft[1]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",ft),"┉":(dt={},dt[3]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",dt),"╎":(pt={},pt[1]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",pt),"╏":(ht={},ht[3]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",ht),"┆":(mt={},mt[1]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",mt),"┇":(gt={},gt[3]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",gt),"┊":(vt={},vt[1]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",vt),"┋":(yt={},yt[3]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",yt),"╭":(bt={},bt[1]="C.5,1,.5,.5,1,.5",bt),"╮":(_t={},_t[1]="C.5,1,.5,.5,0,.5",_t),"╯":(wt={},wt[1]="C.5,0,.5,.5,0,.5",wt),"╰":(St={},St[1]="C.5,0,.5,.5,1,.5",St)},t.powerlineDefinitions={"":{d:"M0,0 L1,.5 L0,1",type:0},"":{d:"M0,0 L1,.5 L0,1",type:1,horizontalPadding:.5},"":{d:"M1,0 L0,.5 L1,1",type:0},"":{d:"M1,0 L0,.5 L1,1",type:1,horizontalPadding:.5}},t.tryDrawCustomChar=function(e,n,r,i,o,a){var s=t.blockElementDefinitions[n];if(s)return function(e,t,n,r,i,o){for(var a=0;a<t.length;a++){var s=t[a],l=i/8,c=o/8;e.fillRect(n+s.x*l,r+s.y*c,s.w*l,s.h*c)}}(e,s,r,i,o,a),!0;var l=Ct[n];if(l)return function(e,t,n,r,i,o){var a,s=Ot.get(t);s||(s=new Map,Ot.set(t,s));var l=e.fillStyle;if("string"!=typeof l)throw new Error('Unexpected fillStyle type "'+l+'"');var c=s.get(l);if(!c){var u=t[0].length,f=t.length,d=document.createElement("canvas");d.width=u,d.height=f;var p=(0,kt.throwIfFalsy)(d.getContext("2d")),h=new ImageData(u,f),m=void 0,g=void 0,v=void 0,y=void 0;if(l.startsWith("#"))m=parseInt(l.slice(1,3),16),g=parseInt(l.slice(3,5),16),v=parseInt(l.slice(5,7),16),y=l.length>7&&parseInt(l.slice(7,9),16)||1;else{if(!l.startsWith("rgba"))throw new Error('Unexpected fillStyle color format "'+l+'" when drawing pattern glyph');m=(a=xt(l.substring(5,l.length-1).split(",").map((function(e){return parseFloat(e)})),4))[0],g=a[1],v=a[2],y=a[3]}for(var b=0;b<f;b++)for(var _=0;_<u;_++)h.data[4*(b*u+_)]=m,h.data[4*(b*u+_)+1]=g,h.data[4*(b*u+_)+2]=v,h.data[4*(b*u+_)+3]=t[b][_]*(255*y);p.putImageData(h,0,0),c=(0,kt.throwIfFalsy)(e.createPattern(d,null)),s.set(l,c)}e.fillStyle=c,e.fillRect(n,r,i,o)}(e,l,r,i,o,a),!0;var c=t.boxDrawingDefinitions[n];if(c)return function(e,t,n,r,i,o){var a,s,l,c;e.strokeStyle=e.fillStyle;try{for(var u=Et(Object.entries(t)),f=u.next();!f.done;f=u.next()){var d=xt(f.value,2),p=d[0],h=d[1];e.beginPath(),e.lineWidth=window.devicePixelRatio*Number.parseInt(p);var m=void 0;m="function"==typeof h?h(.15,.15/o*i):h;try{for(var g=(l=void 0,Et(m.split(" "))),v=g.next();!v.done;v=g.next()){var y=v.value,b=y[0],_=Pt[b];if(_){var w=y.substring(1).split(",");w[0]&&w[1]&&_(e,At(w,i,o,n,r))}else console.error('Could not find drawing instructions for "'+b+'"')}}catch(e){l={error:e}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(l)throw l.error}}e.stroke(),e.closePath()}}catch(e){a={error:e}}finally{try{f&&!f.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}}(e,c,r,i,o,a),!0;var u=t.powerlineDefinitions[n];return!!u&&(function(e,t,n,r,i,o){var a,s;e.beginPath(),e.lineWidth=window.devicePixelRatio;try{for(var l=Et(t.d.split(" ")),c=l.next();!c.done;c=l.next()){var u=c.value,f=u[0],d=Pt[f];if(d){var p=u.substring(1).split(",");p[0]&&p[1]&&d(e,At(p,i,o,n,r,t.horizontalPadding))}else console.error('Could not find drawing instructions for "'+f+'"')}}catch(e){a={error:e}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(a)throw a.error}}1===t.type?(e.strokeStyle=e.fillStyle,e.stroke()):e.fill(),e.closePath()}(e,u,r,i,o,a),!0)};var Ot=new Map;function Tt(e,t,n){return void 0===n&&(n=0),Math.max(Math.min(e,t),n)}var Pt={C:function(e,t){return e.bezierCurveTo(t[0],t[1],t[2],t[3],t[4],t[5])},L:function(e,t){return e.lineTo(t[0],t[1])},M:function(e,t){return e.moveTo(t[0],t[1])}};function At(e,t,n,r,i,o){void 0===o&&(o=0);var a=e.map((function(e){return parseFloat(e)||parseInt(e)}));if(a.length<2)throw new Error("Too few arguments for instruction");for(var s=0;s<a.length;s+=2)a[s]*=t-2*o*window.devicePixelRatio,0!==a[s]&&(a[s]=Tt(Math.round(a[s]+.5)-.5,t,0)),a[s]+=r+o*window.devicePixelRatio;for(var l=1;l<a.length;l+=2)a[l]*=n,0!==a[l]&&(a[l]=Tt(Math.round(a[l]+.5)-.5,n,0)),a[l]+=i;return a}},3700:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GridCache=void 0;var n=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var n=0;n<e;n++){this.cache.length<=n&&this.cache.push([]);for(var r=this.cache[n].length;r<t;r++)this.cache[n].push(void 0);this.cache[n].length=t}this.cache.length=e},e.prototype.clear=function(){for(var e=0;e<this.cache.length;e++)for(var t=0;t<this.cache[e].length;t++)this.cache[e][t]=void 0},e}();t.GridCache=n},5098:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;var s=n(1546),l=n(8803),c=n(2040),u=n(2585),f=function(e){function t(t,n,r,i,o,a,s,l,c){var u=e.call(this,t,"link",n,!0,r,i,s,l,c)||this;return o.onShowLinkUnderline((function(e){return u._onShowLinkUnderline(e)})),o.onHideLinkUnderline((function(e){return u._onHideLinkUnderline(e)})),a.onShowLinkUnderline((function(e){return u._onShowLinkUnderline(e)})),a.onHideLinkUnderline((function(e){return u._onHideLinkUnderline(e)})),u}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onShowLinkUnderline=function(e){if(e.fg===l.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:e.fg&&(0,c.is256Color)(e.fg)?this._ctx.fillStyle=this._colors.ansi[e.fg].css:this._ctx.fillStyle=this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t<e.y2;t++)this._fillBottomLineAtCells(0,t,e.cols);this._fillBottomLineAtCells(0,e.y2,e.x2)}this._state=e},t.prototype._onHideLinkUnderline=function(e){this._clearCurrentLink()},o([a(6,u.IBufferService),a(7,u.IOptionsService),a(8,u.IDecorationService)],t)}(s.BaseRenderLayer);t.LinkRenderLayer=f},3525:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var l=n(9596),c=n(4149),u=n(2512),f=n(5098),d=n(844),p=n(4725),h=n(2585),m=n(1420),g=n(8460),v=1,y=function(e){function t(t,n,r,i,o,a,s,d){var p=e.call(this)||this;p._colors=t,p._screenElement=n,p._bufferService=a,p._charSizeService=s,p._optionsService=d,p._id=v++,p._onRequestRedraw=new g.EventEmitter;var h=p._optionsService.rawOptions.allowTransparency;return p._renderLayers=[o.createInstance(l.TextRenderLayer,p._screenElement,0,p._colors,h,p._id),o.createInstance(c.SelectionRenderLayer,p._screenElement,1,p._colors,p._id),o.createInstance(f.LinkRenderLayer,p._screenElement,2,p._colors,p._id,r,i),o.createInstance(u.CursorRenderLayer,p._screenElement,3,p._colors,p._id,p._onRequestRedraw)],p.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},p._devicePixelRatio=window.devicePixelRatio,p._updateDimensions(),p.onOptionsChanged(),p}return i(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t,n;try{for(var r=s(this._renderLayers),i=r.next();!i.done;i=r.next())i.value.dispose()}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}e.prototype.dispose.call(this),(0,m.removeTerminalFromCache)(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){var t,n;this._colors=e;try{for(var r=s(this._renderLayers),i=r.next();!i.done;i=r.next()){var o=i.value;o.setColors(this._colors),o.reset()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},t.prototype.onResize=function(e,t){var n,r;this._updateDimensions();try{for(var i=s(this._renderLayers),o=i.next();!o.done;o=i.next())o.value.resize(this.dimensions)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation((function(e){return e.onBlur()}))},t.prototype.onFocus=function(){this._runOperation((function(e){return e.onFocus()}))},t.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._runOperation((function(r){return r.onSelectionChanged(e,t,n)})),this._colors.selectionForeground&&this._onRequestRedraw.fire({start:0,end:this._bufferService.rows-1})},t.prototype.onCursorMove=function(){this._runOperation((function(e){return e.onCursorMove()}))},t.prototype.onOptionsChanged=function(){this._runOperation((function(e){return e.onOptionsChanged()}))},t.prototype.clear=function(){this._runOperation((function(e){return e.reset()}))},t.prototype._runOperation=function(e){var t,n;try{for(var r=s(this._renderLayers),i=r.next();!i.done;i=r.next())e(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},t.prototype.renderRows=function(e,t){var n,r;try{for(var i=s(this._renderLayers),o=i.next();!o.done;o=i.next())o.value.onGridChanged(e,t)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.clearTextureAtlas=function(){var e,t;try{for(var n=s(this._renderLayers),r=n.next();!r.done;r=n.next())r.value.clearTextureAtlas()}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.rawOptions.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.rawOptions.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},o([a(4,h.IInstantiationService),a(5,h.IBufferService),a(6,p.ICharSizeService),a(7,h.IOptionsService)],t)}(d.Disposable);t.Renderer=y},1752:(e,t)=>{function n(e){return 57508<=e&&e<=57558}Object.defineProperty(t,"__esModule",{value:!0}),t.excludeFromContrastRatioDemands=t.isPowerlineGlyph=t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e},t.isPowerlineGlyph=n,t.excludeFromContrastRatioDemands=function(e){return n(e)||function(e){return 9472<=e&&e<=9631}(e)}},4149:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRenderLayer=void 0;var s=n(1546),l=n(2585),c=function(e){function t(t,n,r,i,o,a,s){var l=e.call(this,t,"selection",n,!0,r,i,o,a,s)||this;return l._clearState(),l}return i(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(t,n,r){if(e.prototype.onSelectionChanged.call(this,t,n,r),this._didStateChange(t,n,r,this._bufferService.buffer.ydisp))if(this._clearAll(),t&&n){var i=t[1]-this._bufferService.buffer.ydisp,o=n[1]-this._bufferService.buffer.ydisp,a=Math.max(i,0),s=Math.min(o,this._bufferService.rows-1);if(a>=this._bufferService.rows||s<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,r){var l=t[0],c=n[0]-l,u=s-a+1;this._fillCells(l,a,c,u)}else{l=i===a?t[0]:0;var f=a===o?n[0]:this._bufferService.cols;this._fillCells(l,a,f-l,1);var d=Math.max(s-a-1,0);if(this._fillCells(0,a+1,this._bufferService.cols,d),a!==s){var p=o===s?n[0]:this._bufferService.cols;this._fillCells(0,s,p,1)}}this._state.start=[t[0],t[1]],this._state.end=[n[0],n[1]],this._state.columnSelectMode=r,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,n,r){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||n!==this._state.columnSelectMode||r!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},o([a(4,l.IBufferService),a(5,l.IOptionsService),a(6,l.IDecorationService)],t)}(s.BaseRenderLayer);t.SelectionRenderLayer=c},9596:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderLayer=void 0;var l=n(3700),c=n(1546),u=n(3734),f=n(643),d=n(511),p=n(2585),h=n(4725),m=n(4269),g=function(e){function t(t,n,r,i,o,a,s,c,u){var f=e.call(this,t,"text",n,i,r,o,a,s,u)||this;return f._characterJoinerService=c,f._characterWidth=0,f._characterFont="",f._characterOverlapCache={},f._workCell=new d.CellData,f._state=new l.GridCache,f}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,n){for(var r=e;r<=t;r++)for(var i=r+this._bufferService.buffer.ydisp,o=this._bufferService.buffer.lines.get(i),a=this._characterJoinerService.getJoinedCharacters(i),s=0;s<this._bufferService.cols;s++){o.loadCell(s,this._workCell);var l=this._workCell,c=!1,u=s;if(0!==l.getWidth()){if(a.length>0&&s===a[0][0]){c=!0;var d=a.shift();l=new m.JoinedCellData(this._workCell,o.translateToString(!0,d[0],d[1]),d[1]-d[0]),u=d[1]-1}!c&&this._isOverlapping(l)&&u<o.length-1&&o.getCodePoint(u+1)===f.NULL_CELL_CODE&&(l.content&=-12582913,l.content|=2<<22),n(l,s,r),s=u}}},t.prototype._drawBackground=function(e,t){var n=this,r=this._ctx,i=this._bufferService.cols,o=0,a=0,l=null;r.save(),this._forEachCell(e,t,(function(e,t,c){var f,d,p=null;e.isInverse()?p=e.isFgDefault()?n._colors.foreground.css:e.isFgRGB()?"rgb("+u.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":n._colors.ansi[e.getFgColor()].css:e.isBgRGB()?p="rgb("+u.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":e.isBgPalette()&&(p=n._colors.ansi[e.getBgColor()].css);var h=!1;try{for(var m=s(n._decorationService.getDecorationsAtCell(t,n._bufferService.buffer.ydisp+c)),g=m.next();!g.done;g=m.next()){var v=g.value;"top"!==v.options.layer&&h||(v.backgroundColorRGB&&(p=v.backgroundColorRGB.css),h="top"===v.options.layer)}}catch(e){f={error:e}}finally{try{g&&!g.done&&(d=m.return)&&d.call(m)}finally{if(f)throw f.error}}null===l&&(o=t,a=c),c!==a?(r.fillStyle=l||"",n._fillCells(o,a,i-o,1),o=t,a=c):l!==p&&(r.fillStyle=l||"",n._fillCells(o,a,t-o,1),o=t,a=c),l=p})),null!==l&&(r.fillStyle=l,this._fillCells(o,a,i-o,1)),r.restore()},t.prototype._drawForeground=function(e,t){var n=this;this._forEachCell(e,t,(function(e,t,r){if(!e.isInvisible()&&(n._drawChars(e,t,r),e.isUnderline()||e.isStrikethrough())){if(n._ctx.save(),e.isInverse())if(e.isBgDefault())n._ctx.fillStyle=n._colors.background.css;else if(e.isBgRGB())n._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var i=e.getBgColor();n._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&i<8&&(i+=8),n._ctx.fillStyle=n._colors.ansi[i].css}else if(e.isFgDefault())n._ctx.fillStyle=n._colors.foreground.css;else if(e.isFgRGB())n._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var o=e.getFgColor();n._optionsService.rawOptions.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),n._ctx.fillStyle=n._colors.ansi[o].css}e.isStrikethrough()&&n._fillMiddleLineAtCells(t,r,e.getWidth()),e.isUnderline()&&n._fillBottomLineAtCells(t,r,e.getWidth()),n._ctx.restore()}}))},t.prototype.onGridChanged=function(e,t){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,t-e+1),this._drawBackground(e,t),this._drawForeground(e,t))},t.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.rawOptions.allowTransparency)},t.prototype._isOverlapping=function(e){if(1!==e.getWidth())return!1;if(e.getCode()<256)return!1;var t=e.getChars();if(this._characterOverlapCache.hasOwnProperty(t))return this._characterOverlapCache[t];this._ctx.save(),this._ctx.font=this._characterFont;var n=Math.floor(this._ctx.measureText(t).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=n,n},o([a(5,p.IBufferService),a(6,p.IOptionsService),a(7,h.ICharacterJoinerService),a(8,p.IDecorationService)],t)}(c.BaseRenderLayer);t.TextRenderLayer=g},9616:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseCharAtlas=void 0;var n=function(){function e(){this._didWarmUp=!1}return e.prototype.dispose=function(){},e.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},e.prototype._doWarmUp=function(){},e.prototype.clear=function(){},e.prototype.beginFrame=function(){},e}();t.BaseCharAtlas=n},1420:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireCharAtlas=void 0;var r=n(2040),i=n(1906),o=[];t.acquireCharAtlas=function(e,t,n,a,s){for(var l=(0,r.generateConfig)(a,s,e,n),c=0;c<o.length;c++){var u=(f=o[c]).ownedBy.indexOf(t);if(u>=0){if((0,r.configEquals)(f.config,l))return f.atlas;1===f.ownedBy.length?(f.atlas.dispose(),o.splice(c,1)):f.ownedBy.splice(u,1);break}}for(c=0;c<o.length;c++){var f=o[c];if((0,r.configEquals)(f.config,l))return f.ownedBy.push(t),f.atlas}var d={atlas:new i.DynamicCharAtlas(document,l),config:l,ownedBy:[t]};return o.push(d),d.atlas},t.removeTerminalFromCache=function(e){for(var t=0;t<o.length;t++){var n=o[t].ownedBy.indexOf(e);if(-1!==n){1===o[t].ownedBy.length?(o[t].atlas.dispose(),o.splice(t,1)):o[t].ownedBy.splice(n,1);break}}}},2040:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.is256Color=t.configEquals=t.generateConfig=void 0;var r=n(643);t.generateConfig=function(e,t,n,r){var i={foreground:r.foreground,background:r.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:r.ansi.slice()};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:e,scaledCharHeight:t,fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:n.fontWeight,fontWeightBold:n.fontWeightBold,allowTransparency:n.allowTransparency,colors:i}},t.configEquals=function(e,t){for(var n=0;n<e.colors.ansi.length;n++)if(e.colors.ansi[n].rgba!==t.colors.ansi[n].rgba)return!1;return e.devicePixelRatio===t.devicePixelRatio&&e.fontFamily===t.fontFamily&&e.fontSize===t.fontSize&&e.fontWeight===t.fontWeight&&e.fontWeightBold===t.fontWeightBold&&e.allowTransparency===t.allowTransparency&&e.scaledCharWidth===t.scaledCharWidth&&e.scaledCharHeight===t.scaledCharHeight&&e.colors.foreground===t.colors.foreground&&e.colors.background===t.colors.background},t.is256Color=function(e){return e<r.DEFAULT_COLOR}},8803:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR_ATLAS_CELL_SPACING=t.TEXT_BASELINE=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0;var r=n(6114);t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.TEXT_BASELINE=r.isFirefox||r.isLegacyEdge?"bottom":"ideographic",t.CHAR_ATLAS_CELL_SPACING=1},1906:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.NoneCharAtlas=t.DynamicCharAtlas=t.getGlyphCacheKey=void 0;var o=n(8803),a=n(9616),s=n(5680),l=n(7001),c=n(6114),u=n(1752),f=n(8055),d=1024,p=1024,h={css:"rgba(0, 0, 0, 0)",rgba:0};function m(e){return e.code<<21|e.bg<<12|e.fg<<3|(e.bold?0:4)+(e.dim?0:2)+(e.italic?0:1)}t.getGlyphCacheKey=m;var g=function(e){function t(t,n){var r=e.call(this)||this;r._config=n,r._drawToCacheCount=0,r._glyphsWaitingOnBitmap=[],r._bitmapCommitTimeout=null,r._bitmap=null,r._cacheCanvas=t.createElement("canvas"),r._cacheCanvas.width=d,r._cacheCanvas.height=p,r._cacheCtx=(0,u.throwIfFalsy)(r._cacheCanvas.getContext("2d",{alpha:!0}));var i=t.createElement("canvas");i.width=r._config.scaledCharWidth,i.height=r._config.scaledCharHeight,r._tmpCtx=(0,u.throwIfFalsy)(i.getContext("2d",{alpha:r._config.allowTransparency})),r._width=Math.floor(d/r._config.scaledCharWidth),r._height=Math.floor(p/r._config.scaledCharHeight);var o=r._width*r._height;return r._cacheMap=new l.LRUMap(o),r._cacheMap.prealloc(o),r}return i(t,e),t.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},t.prototype.beginFrame=function(){this._drawToCacheCount=0},t.prototype.clear=function(){if(this._cacheMap.size>0){var e=this._width*this._height;this._cacheMap=new l.LRUMap(e),this._cacheMap.prealloc(e)}this._cacheCtx.clearRect(0,0,d,p),this._tmpCtx.clearRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight)},t.prototype.draw=function(e,t,n,r){if(32===t.code)return!0;if(!this._canCache(t))return!1;var i=m(t),o=this._cacheMap.get(i);if(null!=o)return this._drawFromCache(e,o,n,r),!0;if(this._drawToCacheCount<100){var a;a=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var s=this._drawToCache(t,a);return this._cacheMap.set(i,s),this._drawFromCache(e,s,n,r),!0}return!1},t.prototype._canCache=function(e){return e.code<256},t.prototype._toCoordinateX=function(e){return e%this._width*this._config.scaledCharWidth},t.prototype._toCoordinateY=function(e){return Math.floor(e/this._width)*this._config.scaledCharHeight},t.prototype._drawFromCache=function(e,t,n,r){if(!t.isEmpty){var i=this._toCoordinateX(t.index),o=this._toCoordinateY(t.index);e.drawImage(t.inBitmap?this._bitmap:this._cacheCanvas,i,o,this._config.scaledCharWidth,this._config.scaledCharHeight,n,r,this._config.scaledCharWidth,this._config.scaledCharHeight)}},t.prototype._getColorFromAnsiIndex=function(e){return e<this._config.colors.ansi.length?this._config.colors.ansi[e]:s.DEFAULT_ANSI_COLORS[e]},t.prototype._getBackgroundColor=function(e){return this._config.allowTransparency?h:e.bg===o.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:e.bg<256?this._getColorFromAnsiIndex(e.bg):this._config.colors.background},t.prototype._getForegroundColor=function(e){return e.fg===o.INVERTED_DEFAULT_COLOR?f.color.opaque(this._config.colors.background):e.fg<256?this._getColorFromAnsiIndex(e.fg):this._config.colors.foreground},t.prototype._drawToCache=function(e,t){this._drawToCacheCount++,this._tmpCtx.save();var n=this._getBackgroundColor(e);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=n.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var r=e.bold?this._config.fontWeightBold:this._config.fontWeight,i=e.italic?"italic":"";this._tmpCtx.font=i+" "+r+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline=o.TEXT_BASELINE,this._tmpCtx.fillStyle=this._getForegroundColor(e).css,e.dim&&(this._tmpCtx.globalAlpha=o.DIM_OPACITY),this._tmpCtx.fillText(e.chars,0,this._config.scaledCharHeight);var a=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),s=!1;if(this._config.allowTransparency||(s=y(a,n)),s&&"_"===e.chars&&!this._config.allowTransparency)for(var l=1;l<=5&&(this._tmpCtx.fillText(e.chars,0,this._config.scaledCharHeight-l),s=y(a=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),n));l++);this._tmpCtx.restore();var c=this._toCoordinateX(t),u=this._toCoordinateY(t);this._cacheCtx.putImageData(a,c,u);var f={index:t,isEmpty:s,inBitmap:!1};return this._addGlyphToBitmap(f),f},t.prototype._addGlyphToBitmap=function(e){var t=this;!("createImageBitmap"in window)||c.isFirefox||c.isSafari||(this._glyphsWaitingOnBitmap.push(e),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout((function(){return t._generateBitmap()}),100)))},t.prototype._generateBitmap=function(){var e=this,t=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then((function(n){e._bitmap=n;for(var r=0;r<t.length;r++)t[r].inBitmap=!0})),this._bitmapCommitTimeout=null},t}(a.BaseCharAtlas);t.DynamicCharAtlas=g;var v=function(e){function t(t,n){return e.call(this)||this}return i(t,e),t.prototype.draw=function(e,t,n,r){return!1},t}(a.BaseCharAtlas);function y(e,t){for(var n=!0,r=t.rgba>>>24,i=t.rgba>>>16&255,o=t.rgba>>>8&255,a=0;a<e.data.length;a+=4)e.data[a]===r&&e.data[a+1]===i&&e.data[a+2]===o?e.data[a+3]=0:n=!1;return n}t.NoneCharAtlas=v},7001:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LRUMap=void 0;var n=function(){function e(e){this.capacity=e,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return e.prototype._unlinkNode=function(e){var t=e.prev,n=e.next;e===this._head&&(this._head=n),e===this._tail&&(this._tail=t),null!==t&&(t.next=n),null!==n&&(n.prev=t)},e.prototype._appendNode=function(e){var t=this._tail;null!==t&&(t.next=e),e.prev=t,e.next=null,this._tail=e,null===this._head&&(this._head=e)},e.prototype.prealloc=function(e){for(var t=this._nodePool,n=0;n<e;n++)t.push({prev:null,next:null,key:null,value:null})},e.prototype.get=function(e){var t=this._map[e];return void 0!==t?(this._unlinkNode(t),this._appendNode(t),t.value):null},e.prototype.peekValue=function(e){var t=this._map[e];return void 0!==t?t.value:null},e.prototype.peek=function(){var e=this._head;return null===e?null:e.value},e.prototype.set=function(e,t){var n=this._map[e];if(void 0!==n)n=this._map[e],this._unlinkNode(n),n.value=t;else if(this.size>=this.capacity)n=this._head,this._unlinkNode(n),delete this._map[n.key],n.key=e,n.value=t,this._map[e]=n;else{var r=this._nodePool;r.length>0?((n=r.pop()).key=e,n.value=t):n={prev:null,next:null,key:e,value:t},this._map[e]=n,this.size++}this._appendNode(n)},e}();t.LRUMap=n},1296:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;var l=n(3787),c=n(8803),u=n(844),f=n(4725),d=n(2585),p=n(8460),h=n(8055),m=n(9631),g="xterm-dom-renderer-owner-",v="xterm-fg-",y="xterm-bg-",b="xterm-focus",_=1,w=function(e){function t(t,n,r,i,o,a,s,c,u,f){var d=e.call(this)||this;return d._colors=t,d._element=n,d._screenElement=r,d._viewportElement=i,d._linkifier=o,d._linkifier2=a,d._charSizeService=c,d._optionsService=u,d._bufferService=f,d._terminalClass=_++,d._rowElements=[],d._rowContainer=document.createElement("div"),d._rowContainer.classList.add("xterm-rows"),d._rowContainer.style.lineHeight="normal",d._rowContainer.setAttribute("aria-hidden","true"),d._refreshRowElements(d._bufferService.cols,d._bufferService.rows),d._selectionContainer=document.createElement("div"),d._selectionContainer.classList.add("xterm-selection"),d._selectionContainer.setAttribute("aria-hidden","true"),d.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},d._updateDimensions(),d._injectCss(),d._rowFactory=s.createInstance(l.DomRendererRowFactory,document,d._colors),d._element.classList.add(g+d._terminalClass),d._screenElement.appendChild(d._rowContainer),d._screenElement.appendChild(d._selectionContainer),d.register(d._linkifier.onShowLinkUnderline((function(e){return d._onLinkHover(e)}))),d.register(d._linkifier.onHideLinkUnderline((function(e){return d._onLinkLeave(e)}))),d.register(d._linkifier2.onShowLinkUnderline((function(e){return d._onLinkHover(e)}))),d.register(d._linkifier2.onHideLinkUnderline((function(e){return d._onLinkLeave(e)}))),d}return i(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return(new p.EventEmitter).event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove(g+this._terminalClass),(0,m.removeElementFromParent)(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){var e,t;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.rawOptions.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;try{for(var n=s(this._rowElements),r=n.next();!r.done;r=n.next()){var i=r.value;i.style.width=this.dimensions.canvasWidth+"px",i.style.height=this.dimensions.actualCellHeight+"px",i.style.lineHeight=this.dimensions.actualCellHeight+"px",i.style.overflow="hidden"}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var o=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.textContent=o,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.rawOptions.fontFamily+"; font-size: "+this._optionsService.rawOptions.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+l.BOLD_CLASS+") { font-weight: "+this._optionsService.rawOptions.fontWeight+";}"+this._terminalSelector+" span."+l.BOLD_CLASS+" { font-weight: "+this._optionsService.rawOptions.fontWeightBold+";}"+this._terminalSelector+" span."+l.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% {  box-shadow: none; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% {  background-color: "+this._colors.cursor.css+";  color: "+this._colors.cursorAccent.css+"; } 50% {  background-color: "+this._colors.cursorAccent.css+";  color: "+this._colors.cursor.css+"; }}",t+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_BLINK_CLASS+":not(."+l.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_BLINK_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.rawOptions.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionOpaque.css+";}",this._colors.ansi.forEach((function(n,r){t+=e._terminalSelector+" ."+v+r+" { color: "+n.css+"; }"+e._terminalSelector+" ."+y+r+" { background-color: "+n.css+"; }"})),t+=this._terminalSelector+" ."+v+c.INVERTED_DEFAULT_COLOR+" { color: "+h.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" ."+y+c.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.textContent=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var n=this._rowElements.length;n<=t;n++){var r=document.createElement("div");this._rowContainer.appendChild(r),this._rowElements.push(r)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove(b)},t.prototype.onFocus=function(){this._rowContainer.classList.add(b)},t.prototype.onSelectionChanged=function(e,t,n){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(this._rowFactory.onSelectionChanged(e,t,n),this.renderRows(0,this._bufferService.rows-1),e&&t){var r=e[1]-this._bufferService.buffer.ydisp,i=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),a=Math.min(i,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||a<0)){var s=document.createDocumentFragment();if(n){var l=e[0]>t[0];s.appendChild(this._createSelectionElement(o,l?t[0]:e[0],l?e[0]:t[0],a-o+1))}else{var c=r===o?e[0]:0,u=o===i?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(o,c,u));var f=a-o-1;if(s.appendChild(this._createSelectionElement(o+1,0,this._bufferService.cols,f)),o!==a){var d=i===a?t[0]:this._bufferService.cols;s.appendChild(this._createSelectionElement(a,0,d))}}this._selectionContainer.appendChild(s)}}},t.prototype._createSelectionElement=function(e,t,n,r){void 0===r&&(r=1);var i=document.createElement("div");return i.style.height=r*this.dimensions.actualCellHeight+"px",i.style.top=e*this.dimensions.actualCellHeight+"px",i.style.left=t*this.dimensions.actualCellWidth+"px",i.style.width=this.dimensions.actualCellWidth*(n-t)+"px",i},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){var e,t;try{for(var n=s(this._rowElements),r=n.next();!r.done;r=n.next())r.value.innerText=""}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.renderRows=function(e,t){for(var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),i=this._optionsService.rawOptions.cursorBlink,o=e;o<=t;o++){var a=this._rowElements[o];a.innerText="";var s=o+this._bufferService.buffer.ydisp,l=this._bufferService.buffer.lines.get(s),c=this._optionsService.rawOptions.cursorStyle;a.appendChild(this._rowFactory.createRow(l,s,s===n,c,r,i,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return"."+g+this._terminalClass},enumerable:!1,configurable:!0}),t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,n,r,i,o){for(;e!==t||n!==r;){var a=this._rowElements[n];if(!a)return;var s=a.children[e];s&&(s.style.textDecoration=o?"underline":"none"),++e>=i&&(e=0,n++)}},o([a(6,d.IInstantiationService),a(7,f.ICharSizeService),a(8,d.IOptionsService),a(9,d.IBufferService)],t)}(u.Disposable);t.DomRenderer=w},3787:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=t.CURSOR_STYLE_UNDERLINE_CLASS=t.CURSOR_STYLE_BAR_CLASS=t.CURSOR_STYLE_BLOCK_CLASS=t.CURSOR_BLINK_CLASS=t.CURSOR_CLASS=t.STRIKETHROUGH_CLASS=t.UNDERLINE_CLASS=t.ITALIC_CLASS=t.DIM_CLASS=t.BOLD_CLASS=void 0;var a=n(8803),s=n(643),l=n(511),c=n(2585),u=n(8055),f=n(4725),d=n(4269),p=n(1752);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.STRIKETHROUGH_CLASS="xterm-strikethrough",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var h=function(){function e(e,t,n,r,i,o){this._document=e,this._colors=t,this._characterJoinerService=n,this._optionsService=r,this._coreService=i,this._decorationService=o,this._workCell=new l.CellData,this._columnSelectMode=!1}return e.prototype.setColors=function(e){this._colors=e},e.prototype.onSelectionChanged=function(e,t,n){this._selectionStart=e,this._selectionEnd=t,this._columnSelectMode=n},e.prototype.createRow=function(e,n,r,i,l,c,f,p){for(var h,g,v=this._document.createDocumentFragment(),y=this._characterJoinerService.getJoinedCharacters(n),b=0,_=Math.min(e.length,p)-1;_>=0;_--)if(e.loadCell(_,this._workCell).getCode()!==s.NULL_CELL_CODE||r&&_===l){b=_+1;break}for(_=0;_<b;_++){e.loadCell(_,this._workCell);var w=this._workCell.getWidth();if(0!==w){var S=!1,x=_,E=this._workCell;if(y.length>0&&_===y[0][0]){S=!0;var k=y.shift();E=new d.JoinedCellData(this._workCell,e.translateToString(!0,k[0],k[1]),k[1]-k[0]),x=k[1]-1,w=E.getWidth()}var C=this._document.createElement("span");if(w>1&&(C.style.width=f*w+"px"),S&&(C.style.display="inline",l>=_&&l<=x&&(l=_)),!this._coreService.isCursorHidden&&r&&_===l)switch(C.classList.add(t.CURSOR_CLASS),c&&C.classList.add(t.CURSOR_BLINK_CLASS),i){case"bar":C.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":C.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:C.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}E.isBold()&&C.classList.add(t.BOLD_CLASS),E.isItalic()&&C.classList.add(t.ITALIC_CLASS),E.isDim()&&C.classList.add(t.DIM_CLASS),E.isUnderline()&&C.classList.add(t.UNDERLINE_CLASS),E.isInvisible()?C.textContent=s.WHITESPACE_CELL_CHAR:C.textContent=E.getChars()||s.WHITESPACE_CELL_CHAR,E.isStrikethrough()&&C.classList.add(t.STRIKETHROUGH_CLASS);var O=E.getFgColor(),T=E.getFgColorMode(),P=E.getBgColor(),A=E.getBgColorMode(),M=!!E.isInverse();if(M){var L=O;O=P,P=L;var I=T;T=A,A=I}var R=void 0,D=void 0,j=!1;try{for(var N=(h=void 0,o(this._decorationService.getDecorationsAtCell(_,n))),F=N.next();!F.done;F=N.next()){var B=F.value;"top"!==B.options.layer&&j||(B.backgroundColorRGB&&(A=50331648,P=B.backgroundColorRGB.rgba>>8&16777215,R=B.backgroundColorRGB),B.foregroundColorRGB&&(T=50331648,O=B.foregroundColorRGB.rgba>>8&16777215,D=B.foregroundColorRGB),j="top"===B.options.layer)}}catch(e){h={error:e}}finally{try{F&&!F.done&&(g=N.return)&&g.call(N)}finally{if(h)throw h.error}}var z=this._isCellInSelection(_,n);j||this._colors.selectionForeground&&z&&(T=50331648,O=this._colors.selectionForeground.rgba>>8&16777215,D=this._colors.selectionForeground),z&&(R=this._colors.selectionOpaque,j=!0),j&&C.classList.add("xterm-decoration-top");var $=void 0;switch(A){case 16777216:case 33554432:$=this._colors.ansi[P],C.classList.add("xterm-bg-"+P);break;case 50331648:$=u.rgba.toColor(P>>16,P>>8&255,255&P),this._addStyle(C,"background-color:#"+m((P>>>0).toString(16),"0",6));break;default:M?($=this._colors.foreground,C.classList.add("xterm-bg-"+a.INVERTED_DEFAULT_COLOR)):$=this._colors.background}switch(T){case 16777216:case 33554432:E.isBold()&&O<8&&this._optionsService.rawOptions.drawBoldTextInBrightColors&&(O+=8),this._applyMinimumContrast(C,$,this._colors.ansi[O],E,R,void 0)||C.classList.add("xterm-fg-"+O);break;case 50331648:var U=u.rgba.toColor(O>>16&255,O>>8&255,255&O);this._applyMinimumContrast(C,$,U,E,R,D)||this._addStyle(C,"color:#"+m(O.toString(16),"0",6));break;default:this._applyMinimumContrast(C,$,this._colors.foreground,E,R,void 0)||M&&C.classList.add("xterm-fg-"+a.INVERTED_DEFAULT_COLOR)}v.appendChild(C),_=x}}return v},e.prototype._applyMinimumContrast=function(e,t,n,r,i,o){if(1===this._optionsService.rawOptions.minimumContrastRatio||(0,p.excludeFromContrastRatioDemands)(r.getCode()))return!1;var a=void 0;return i||o||(a=this._colors.contrastCache.getColor(t.rgba,n.rgba)),void 0===a&&(a=u.color.ensureContrastRatio(i||t,o||n,this._optionsService.rawOptions.minimumContrastRatio),this._colors.contrastCache.setColor((i||t).rgba,(o||n).rgba,null!=a?a:null)),!!a&&(this._addStyle(e,"color:"+a.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e.prototype._isCellInSelection=function(e,t){var n=this._selectionStart,r=this._selectionEnd;return!(!n||!r)&&(this._columnSelectMode?n[0]<=r[0]?e>=n[0]&&t>=n[1]&&e<r[0]&&t<=r[1]:e<n[0]&&t>=n[1]&&e>=r[0]&&t<=r[1]:t>n[1]&&t<r[1]||n[1]===r[1]&&t===n[1]&&e>=n[0]&&e<r[0]||n[1]<r[1]&&t===r[1]&&e<r[0]||n[1]<r[1]&&t===n[1]&&e>=n[0])},r([i(2,f.ICharacterJoinerService),i(3,c.IOptionsService),i(4,c.ICoreService),i(5,c.IDecorationService)],e)}();function m(e,t,n){for(;e.length<n;)e=t+e;return e}t.DomRendererRowFactory=h},456:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0;var n=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){return this.isSelectAllActive?[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1]:this.selectionStart?!this.selectionEnd||this.areSelectionValuesReversed()?(e=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?e%this._bufferService.cols==0?[this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)-1]:[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]:this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?(e=this.selectionStart[0]+this.selectionStartLength)>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[Math.max(e,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd:void 0;var e},enumerable:!1,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=n},428:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;var o=n(2585),a=n(8460),s=function(){function e(e,t,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new a.EventEmitter,this._measureStrategy=new l(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},r([i(2,o.IOptionsService)],e)}();t.CharSizeService=s;var l=function(){function e(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.rawOptions.fontFamily,this._measureElement.style.fontSize=this._optionsService.rawOptions.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},4269:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerService=t.JoinedCellData=void 0;var s=n(3734),l=n(643),c=n(511),u=n(2585),f=function(e){function t(t,n,r){var i=e.call(this)||this;return i.content=0,i.combinedData="",i.fg=t.fg,i.bg=t.bg,i.combinedData=n,i._width=r,i}return i(t,e),t.prototype.isCombined=function(){return 2097152},t.prototype.getWidth=function(){return this._width},t.prototype.getChars=function(){return this.combinedData},t.prototype.getCode=function(){return 2097151},t.prototype.setFromCharData=function(e){throw new Error("not implemented")},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(s.AttributeData);t.JoinedCellData=f;var d=function(){function e(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new c.CellData}return e.prototype.register=function(e){var t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id},e.prototype.deregister=function(e){for(var t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===e)return this._characterJoiners.splice(t,1),!0;return!1},e.prototype.getJoinedCharacters=function(e){if(0===this._characterJoiners.length)return[];var t=this._bufferService.buffer.lines.get(e);if(!t||0===t.length)return[];for(var n=[],r=t.translateToString(!0),i=0,o=0,a=0,s=t.getFg(0),c=t.getBg(0),u=0;u<t.getTrimmedLength();u++)if(t.loadCell(u,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==s||this._workCell.bg!==c){if(u-i>1)for(var f=this._getJoinedRanges(r,a,o,t,i),d=0;d<f.length;d++)n.push(f[d]);i=u,a=o,s=this._workCell.fg,c=this._workCell.bg}o+=this._workCell.getChars().length||l.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-i>1)for(f=this._getJoinedRanges(r,a,o,t,i),d=0;d<f.length;d++)n.push(f[d]);return n},e.prototype._getJoinedRanges=function(t,n,r,i,o){var a=t.substring(n,r),s=[];try{s=this._characterJoiners[0].handler(a)}catch(e){console.error(e)}for(var l=1;l<this._characterJoiners.length;l++)try{for(var c=this._characterJoiners[l].handler(a),u=0;u<c.length;u++)e._mergeRanges(s,c[u])}catch(e){console.error(e)}return this._stringRangesToCellRanges(s,i,o),s},e.prototype._stringRangesToCellRanges=function(e,t,n){var r=0,i=!1,o=0,a=e[r];if(a){for(var s=n;s<this._bufferService.cols;s++){var c=t.getWidth(s),u=t.getString(s).length||l.WHITESPACE_CELL_CHAR.length;if(0!==c){if(!i&&a[0]<=o&&(a[0]=s,i=!0),a[1]<=o){if(a[1]=s,!(a=e[++r]))break;a[0]<=o?(a[0]=s,i=!0):i=!1}o+=u}}a&&(a[1]=this._bufferService.cols)}},e._mergeRanges=function(e,t){for(var n=!1,r=0;r<e.length;r++){var i=e[r];if(n){if(t[1]<=i[0])return e[r-1][1]=t[1],e;if(t[1]<=i[1])return e[r-1][1]=Math.max(t[1],i[1]),e.splice(r,1),e;e.splice(r,1),r--}else{if(t[1]<=i[0])return e.splice(r,0,t),e;if(t[1]<=i[1])return i[0]=Math.min(t[0],i[0]),e;t[0]<i[1]&&(i[0]=Math.min(t[0],i[0]),n=!0)}}return n?e[e.length-1][1]=t[1]:e.push(t),e},e=o([a(0,u.IBufferService)],e)}();t.CharacterJoinerService=d},5114:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0;var n=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return(this._textarea.getRootNode?this._textarea.getRootNode():document).activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),e}();t.CoreBrowserService=n},8934:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;var o=n(4725),a=n(9806),s=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,r,i){return(0,a.getCoords)(window,e,t,n,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,i)},e.prototype.getRawByteCoords=function(e,t,n,r){var i=this.getCoords(e,t,n,r);return(0,a.getRawByteCoords)(i)},r([i(0,o.IRenderService),i(1,o.ICharSizeService)],e)}();t.MouseService=s},3230:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;var s=n(6193),l=n(8460),c=n(844),u=n(5596),f=n(3656),d=n(2585),p=n(4725),h=function(e){function t(t,n,r,i,o,a,c){var d=e.call(this)||this;if(d._renderer=t,d._rowCount=n,d._charSizeService=o,d._isPaused=!1,d._needsFullRefresh=!1,d._isNextRenderRedrawOnly=!0,d._needsSelectionRefresh=!1,d._canvasWidth=0,d._canvasHeight=0,d._selectionState={start:void 0,end:void 0,columnSelectMode:!1},d._onDimensionsChange=new l.EventEmitter,d._onRenderedViewportChange=new l.EventEmitter,d._onRender=new l.EventEmitter,d._onRefreshRequest=new l.EventEmitter,d.register({dispose:function(){return d._renderer.dispose()}}),d._renderDebouncer=new s.RenderDebouncer((function(e,t){return d._renderRows(e,t)})),d.register(d._renderDebouncer),d._screenDprMonitor=new u.ScreenDprMonitor,d._screenDprMonitor.setListener((function(){return d.onDevicePixelRatioChange()})),d.register(d._screenDprMonitor),d.register(c.onResize((function(){return d._fullRefresh()}))),d.register(c.buffers.onBufferActivate((function(){var e;return null===(e=d._renderer)||void 0===e?void 0:e.clear()}))),d.register(i.onOptionChange((function(){return d._handleOptionsChanged()}))),d.register(d._charSizeService.onCharSizeChange((function(){return d.onCharSizeChanged()}))),d.register(a.onDecorationRegistered((function(){return d._fullRefresh()}))),d.register(a.onDecorationRemoved((function(){return d._fullRefresh()}))),d._renderer.onRequestRedraw((function(e){return d.refreshRows(e.start,e.end,!0)})),d.register((0,f.addDisposableDomListener)(window,"resize",(function(){return d.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var p=new IntersectionObserver((function(e){return d._onIntersectionChange(e[e.length-1])}),{threshold:0});p.observe(r),d.register({dispose:function(){return p.disconnect()}})}return d}return i(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRenderedViewportChange",{get:function(){return this._onRenderedViewportChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=void 0===e.isIntersecting?0===e.intersectionRatio:!e.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t,n){void 0===n&&(n=!1),this._isPaused?this._needsFullRefresh=!0:(n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(e,t,this._rowCount))},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRenderedViewportChange.fire({start:e,end:t}),this._onRender.fire({start:e,end:t}),this._isNextRenderRedrawOnly=!0},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype._handleOptionsChanged=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRedraw((function(e){return t.refreshRows(e.start,e.end,!0)})),this._needsSelectionRefresh=!0,this._fullRefresh()},t.prototype.addRefreshCallback=function(e){return this._renderDebouncer.addRefreshCallback(e)},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.clearTextureAtlas=function(){var e,t;null===(t=null===(e=this._renderer)||void 0===e?void 0:e.clearTextureAtlas)||void 0===t||t.call(e),this._fullRefresh()},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._charSizeService.measure(),this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,n){this._selectionState.start=e,this._selectionState.end=t,this._selectionState.columnSelectMode=n,this._renderer.onSelectionChanged(e,t,n)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},o([a(3,d.IOptionsService),a(4,p.ICharSizeService),a(5,d.IDecorationService),a(6,d.IBufferService)],t)}(c.Disposable);t.RenderService=h},9312:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;var s=n(6114),l=n(456),c=n(511),u=n(8460),f=n(4725),d=n(2585),p=n(9806),h=n(9504),m=n(844),g=n(4841),v=String.fromCharCode(160),y=new RegExp(v,"g"),b=function(e){function t(t,n,r,i,o,a,s,f){var d=e.call(this)||this;return d._element=t,d._screenElement=n,d._linkifier=r,d._bufferService=i,d._coreService=o,d._mouseService=a,d._optionsService=s,d._renderService=f,d._dragScrollAmount=0,d._enabled=!0,d._workCell=new c.CellData,d._mouseDownTimeStamp=0,d._oldHasSelection=!1,d._oldSelectionStart=void 0,d._oldSelectionEnd=void 0,d._onLinuxMouseSelection=d.register(new u.EventEmitter),d._onRedrawRequest=d.register(new u.EventEmitter),d._onSelectionChange=d.register(new u.EventEmitter),d._onRequestScrollLines=d.register(new u.EventEmitter),d._mouseMoveListener=function(e){return d._onMouseMove(e)},d._mouseUpListener=function(e){return d._onMouseUp(e)},d._coreService.onUserInput((function(){d.hasSelection&&d.clearSelection()})),d._trimListener=d._bufferService.buffer.lines.onTrim((function(e){return d._onTrim(e)})),d.register(d._bufferService.buffers.onBufferActivate((function(e){return d._onBufferActivate(e)}))),d.enable(),d._model=new l.SelectionModel(d._bufferService),d._activeSelectionMode=0,d}return i(t,e),Object.defineProperty(t.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._removeMouseDownListeners()},t.prototype.reset=function(){this.clearSelection()},t.prototype.disable=function(){this.clearSelection(),this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var n=this._bufferService.buffer,r=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var i=e[0]<t[0]?e[0]:t[0],o=e[0]<t[0]?t[0]:e[0],a=e[1];a<=t[1];a++){var l=n.translateBufferLineToString(a,!0,i,o);r.push(l)}}else{var c=e[1]===t[1]?t[0]:void 0;for(r.push(n.translateBufferLineToString(e[1],!0,e[0],c)),a=e[1]+1;a<=t[1]-1;a++){var u=n.lines.get(a);l=n.translateBufferLineToString(a,!0),(null==u?void 0:u.isWrapped)?r[r.length-1]+=l:r.push(l)}e[1]!==t[1]&&(u=n.lines.get(t[1]),l=n.translateBufferLineToString(t[1],!0,0,t[0]),u&&u.isWrapped?r[r.length-1]+=l:r.push(l))}return r.map((function(e){return e.replace(y," ")})).join(s.isWindows?"\r\n":"\n")},enumerable:!1,configurable:!0}),t.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},t.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return t._refresh()}))),s.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},t.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},t.prototype._isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!!(n&&r&&t)&&this._areCoordsInSelection(t,n,r)},t.prototype.isCellInSelection=function(e,t){var n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!(!n||!r)&&this._areCoordsInSelection([e,t],n,r)},t.prototype._areCoordsInSelection=function(e,t,n){return e[1]>t[1]&&e[1]<n[1]||t[1]===n[1]&&e[1]===t[1]&&e[0]>=t[0]&&e[0]<n[0]||t[1]<n[1]&&e[1]===n[1]&&e[0]<n[0]||t[1]<n[1]&&e[1]===t[1]&&e[0]>=t[0]},t.prototype._selectWordAtCursor=function(e,t){var n,r,i=null===(r=null===(n=this._linkifier.currentLink)||void 0===n?void 0:n.link)||void 0===r?void 0:r.range;if(i)return this._model.selectionStart=[i.start.x-1,i.start.y-1],this._model.selectionStartLength=(0,g.getRangeLength)(i,this._bufferService.cols),this._model.selectionEnd=void 0,!0;var o=this._getMouseBufferCoords(e);return!!o&&(this._selectWordAt(o,t),this._model.selectionEnd=void 0,!0)},t.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},t.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},t.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},t.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},t.prototype._getMouseEventScrollAmount=function(e){var t=(0,p.getCoordsRelativeToElement)(window,e,this._screenElement)[1],n=this._renderService.dimensions.canvasHeight;return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},t.prototype.shouldForceSelection=function(e){return s.isMac?e.altKey&&this._optionsService.rawOptions.macOptionClickForcesSelection:e.shiftKey},t.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},t.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return e._dragScroll()}),50)},t.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},t.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},t.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},t.prototype._onDoubleClick=function(e){this._selectWordAtCursor(e,!0)&&(this._activeSelectionMode=1)},t.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},t.prototype.shouldColumnSelect=function(e){return e.altKey&&!(s.isMac&&this._optionsService.rawOptions.macOptionClickForcesSelection)},t.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(e),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var n=this._bufferService.buffer;if(this._model.selectionEnd[1]<n.lines.length){var r=n.lines.get(this._model.selectionEnd[1]);r&&0===r.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}t&&t[0]===this._model.selectionEnd[0]&&t[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},t.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var e=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},t.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500&&e.altKey&&this._optionsService.getOption("altClickMovesCursor")){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var n=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&void 0!==n[0]&&void 0!==n[1]){var r=(0,h.moveToCellSequence)(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(r,!0)}}}else this._fireEventIfSelectionChanged()},t.prototype._fireEventIfSelectionChanged=function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd,n=!(!e||!t||e[0]===t[0]&&e[1]===t[1]);n?e&&t&&(this._oldSelectionStart&&this._oldSelectionEnd&&e[0]===this._oldSelectionStart[0]&&e[1]===this._oldSelectionStart[1]&&t[0]===this._oldSelectionEnd[0]&&t[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(e,t,n)):this._oldHasSelection&&this._fireOnSelectionChange(e,t,n)},t.prototype._fireOnSelectionChange=function(e,t,n){this._oldSelectionStart=e,this._oldSelectionEnd=t,this._oldHasSelection=n,this._onSelectionChange.fire()},t.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((function(e){return t._onTrim(e)}))},t.prototype._convertViewportColToCharacterIndex=function(e,t){for(var n=t[0],r=0;t[0]>=r;r++){var i=e.loadCell(r,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:i>1&&t[0]!==r&&(n+=i-1)}return n},t.prototype.setSelection=function(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh(),this._fireEventIfSelectionChanged()},t.prototype.rightClickSelect=function(e){this._isClickInSelection(e)||(this._selectWordAtCursor(e,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())},t.prototype._getWordAt=function(e,t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!0),!(e[0]>=this._bufferService.cols)){var i=this._bufferService.buffer,o=i.lines.get(e[1]);if(o){var a=i.translateBufferLineToString(e[1],!1),s=this._convertViewportColToCharacterIndex(o,e),l=s,c=e[0]-s,u=0,f=0,d=0,p=0;if(" "===a.charAt(s)){for(;s>0&&" "===a.charAt(s-1);)s--;for(;l<a.length&&" "===a.charAt(l+1);)l++}else{var h=e[0],m=e[0];0===o.getWidth(h)&&(u++,h--),2===o.getWidth(m)&&(f++,m++);var g=o.getString(m).length;for(g>1&&(p+=g-1,l+=g-1);h>0&&s>0&&!this._isCharWordSeparator(o.loadCell(h-1,this._workCell));){o.loadCell(h-1,this._workCell);var v=this._workCell.getChars().length;0===this._workCell.getWidth()?(u++,h--):v>1&&(d+=v-1,s-=v-1),s--,h--}for(;m<o.length&&l+1<a.length&&!this._isCharWordSeparator(o.loadCell(m+1,this._workCell));){o.loadCell(m+1,this._workCell);var y=this._workCell.getChars().length;2===this._workCell.getWidth()?(f++,m++):y>1&&(p+=y-1,l+=y-1),l++,m++}}l++;var b=s+c-u+d,_=Math.min(this._bufferService.cols,l-s+u+f-d-p);if(t||""!==a.slice(s,l).trim()){if(n&&0===b&&32!==o.getCodePoint(0)){var w=i.lines.get(e[1]-1);if(w&&o.isWrapped&&32!==w.getCodePoint(this._bufferService.cols-1)){var S=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(S){var x=this._bufferService.cols-S.start;b-=x,_+=x}}}if(r&&b+_===this._bufferService.cols&&32!==o.getCodePoint(this._bufferService.cols-1)){var E=i.lines.get(e[1]+1);if((null==E?void 0:E.isWrapped)&&32!==E.getCodePoint(0)){var k=this._getWordAt([0,e[1]+1],!1,!1,!0);k&&(_+=k.length)}}return{start:b,length:_}}}}},t.prototype._selectWordAt=function(e,t){var n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}},t.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var n=e[1];t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}},t.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.rawOptions.wordSeparator.indexOf(e.getChars())>=0},t.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e),n={start:{x:0,y:t.first},end:{x:this._bufferService.cols-1,y:t.last}};this._model.selectionStart=[0,t.first],this._model.selectionEnd=void 0,this._model.selectionStartLength=(0,g.getRangeLength)(n,this._bufferService.cols)},o([a(3,d.IBufferService),a(4,d.ICoreService),a(5,f.IMouseService),a(6,d.IOptionsService),a(7,f.IRenderService)],t)}(m.Disposable);t.SelectionService=b},4725:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ICharacterJoinerService=t.ISoundService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;var r=n(8343);t.ICharSizeService=(0,r.createDecorator)("CharSizeService"),t.ICoreBrowserService=(0,r.createDecorator)("CoreBrowserService"),t.IMouseService=(0,r.createDecorator)("MouseService"),t.IRenderService=(0,r.createDecorator)("RenderService"),t.ISelectionService=(0,r.createDecorator)("SelectionService"),t.ISoundService=(0,r.createDecorator)("SoundService"),t.ICharacterJoinerService=(0,r.createDecorator)("CharacterJoinerService")},357:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SoundService=void 0;var o=n(2585),a=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!1,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var n=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.rawOptions.bellSound)),(function(e){n.buffer=e,n.connect(t.destination),n.start(0)}))}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,r=new Uint8Array(n),i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer},e.prototype._removeMimeType=function(e){return e.split(",")[1]},e=r([i(0,o.IOptionsService)],e)}();t.SoundService=a},6349:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;var r=n(8460),i=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new r.EventEmitter,this.onInsertEmitter=new r.EventEmitter,this.onTrimEmitter=new r.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),n=0;n<Math.min(e,this.length);n++)t[n]=this._array[this._getCyclicIndex(n)];this._array=t,this._maxLength=e,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._length},set:function(e){if(e>this._length)for(var t=this._length;t<e;t++)this._array[t]=void 0;this._length=e},enumerable:!1,configurable:!0}),e.prototype.get=function(e){return this._array[this._getCyclicIndex(e)]},e.prototype.set=function(e,t){this._array[this._getCyclicIndex(e)]=t},e.prototype.push=function(e){this._array[this._getCyclicIndex(this._length)]=e,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},e.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(e.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),e.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},e.prototype.splice=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(t){for(var i=e;i<this._length-t;i++)this._array[this._getCyclicIndex(i)]=this._array[this._getCyclicIndex(i+t)];this._length-=t,this.onDeleteEmitter.fire({index:e,amount:t})}for(i=this._length-1;i>=e;i--)this._array[this._getCyclicIndex(i+n.length)]=this._array[this._getCyclicIndex(i)];for(i=0;i<n.length;i++)this._array[this._getCyclicIndex(e+i)]=n[i];if(n.length&&this.onInsertEmitter.fire({index:e,amount:n.length}),this._length+n.length>this._maxLength){var o=this._length+n.length-this._maxLength;this._startIndex+=o,this._length=this._maxLength,this.onTrimEmitter.fire(o)}else this._length+=n.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var r=t-1;r>=0;r--)this.set(e+r+n,this.get(e+r));var i=e+t+n-this._length;if(i>0)for(this._length+=i;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<t;r++)this.set(e+r+n,this.get(e+r))}},e.prototype._getCyclicIndex=function(e){return(this._startIndex+e)%this._maxLength},e}();t.CircularList=i},1439:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t,n){if(void 0===n&&(n=5),"object"!=typeof t)return t;var r=Array.isArray(t)?[]:{};for(var i in t)r[i]=n<=1?t[i]:t[i]&&e(t[i],n-1);return r}},8055:function(e,t){var n,r,i,o,a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function s(e){var t=e.toString(16);return t.length<2?"0"+t:t}function l(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=void 0,function(e){e.toCss=function(e,t,n,r){return void 0!==r?"#"+s(e)+s(t)+s(n)+s(r):"#"+s(e)+s(t)+s(n)},e.toRgba=function(e,t,n,r){return void 0===r&&(r=255),(e<<24|t<<16|n<<8|r)>>>0}}(n=t.channels||(t.channels={})),(r=t.color||(t.color={})).blend=function(e,t){var r=(255&t.rgba)/255;if(1===r)return{css:t.css,rgba:t.rgba};var i=t.rgba>>24&255,o=t.rgba>>16&255,a=t.rgba>>8&255,s=e.rgba>>24&255,l=e.rgba>>16&255,c=e.rgba>>8&255,u=s+Math.round((i-s)*r),f=l+Math.round((o-l)*r),d=c+Math.round((a-c)*r);return{css:n.toCss(u,f,d),rgba:n.toRgba(u,f,d)}},r.isOpaque=function(e){return!(255&~e.rgba)},r.ensureContrastRatio=function(e,t,n){var r=o.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return o.toColor(r>>24&255,r>>16&255,r>>8&255)},r.opaque=function(e){var t=(255|e.rgba)>>>0,r=a(o.toChannels(t),3),i=r[0],s=r[1],l=r[2];return{css:n.toCss(i,s,l),rgba:t}},r.opacity=function(e,t){var r=Math.round(255*t),i=a(o.toChannels(e.rgba),3),s=i[0],l=i[1],c=i[2];return{css:n.toCss(s,l,c,r),rgba:n.toRgba(s,l,c,r)}},r.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]},(t.css||(t.css={})).toColor=function(e){if(e.match(/#[0-9a-f]{3,8}/i))switch(e.length){case 4:var t=parseInt(e.slice(1,2).repeat(2),16),n=parseInt(e.slice(2,3).repeat(2),16),r=parseInt(e.slice(3,4).repeat(2),16);return o.toColor(t,n,r);case 5:t=parseInt(e.slice(1,2).repeat(2),16),n=parseInt(e.slice(2,3).repeat(2),16),r=parseInt(e.slice(3,4).repeat(2),16);var i=parseInt(e.slice(4,5).repeat(2),16);return o.toColor(t,n,r,i);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}var a=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(a)return t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),i=Math.round(255*(void 0===a[5]?1:parseFloat(a[5]))),o.toColor(t,n,r,i);throw new Error("css.toColor: Unsupported css format")},function(e){function t(e,t,n){var r=e/255,i=t/255,o=n/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(i=t.rgb||(t.rgb={})),function(e){function t(e,t,n){for(var r=e>>24&255,o=e>>16&255,a=e>>8&255,s=t>>24&255,c=t>>16&255,u=t>>8&255,f=l(i.relativeLuminance2(s,c,u),i.relativeLuminance2(r,o,a));f<n&&(s>0||c>0||u>0);)s-=Math.max(0,Math.ceil(.1*s)),c-=Math.max(0,Math.ceil(.1*c)),u-=Math.max(0,Math.ceil(.1*u)),f=l(i.relativeLuminance2(s,c,u),i.relativeLuminance2(r,o,a));return(s<<24|c<<16|u<<8|255)>>>0}function r(e,t,n){for(var r=e>>24&255,o=e>>16&255,a=e>>8&255,s=t>>24&255,c=t>>16&255,u=t>>8&255,f=l(i.relativeLuminance2(s,c,u),i.relativeLuminance2(r,o,a));f<n&&(s<255||c<255||u<255);)s=Math.min(255,s+Math.ceil(.1*(255-s))),c=Math.min(255,c+Math.ceil(.1*(255-c))),u=Math.min(255,u+Math.ceil(.1*(255-u))),f=l(i.relativeLuminance2(s,c,u),i.relativeLuminance2(r,o,a));return(s<<24|c<<16|u<<8|255)>>>0}e.ensureContrastRatio=function(e,n,o){var a=i.relativeLuminance(e>>8),s=i.relativeLuminance(n>>8);if(l(a,s)<o){if(s<a){var c=t(e,n,o),u=l(a,i.relativeLuminance(c>>8));if(u<o){var f=r(e,e,o);return u>l(a,i.relativeLuminance(f>>8))?c:f}return c}var d=r(e,n,o),p=l(a,i.relativeLuminance(d>>8));return p<o?(f=t(e,e,o),p>l(a,i.relativeLuminance(f>>8))?d:f):d}},e.reduceLuminance=t,e.increaseLuminance=r,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,r,i){return{css:n.toCss(e,t,r,i),rgba:n.toRgba(e,t,r,i)}}}(o=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=l},8969:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;var a=n(844),s=n(2585),l=n(4348),c=n(7866),u=n(744),f=n(7302),d=n(6975),p=n(8460),h=n(1753),m=n(3730),g=n(1480),v=n(7994),y=n(9282),b=n(5435),_=n(5981),w=!1,S=function(e){function t(t){var n=e.call(this)||this;return n._onBinary=new p.EventEmitter,n._onData=new p.EventEmitter,n._onLineFeed=new p.EventEmitter,n._onResize=new p.EventEmitter,n._onScroll=new p.EventEmitter,n._onWriteParsed=new p.EventEmitter,n._instantiationService=new l.InstantiationService,n.optionsService=new f.OptionsService(t),n._instantiationService.setService(s.IOptionsService,n.optionsService),n._bufferService=n.register(n._instantiationService.createInstance(u.BufferService)),n._instantiationService.setService(s.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(c.LogService),n._instantiationService.setService(s.ILogService,n._logService),n.coreService=n.register(n._instantiationService.createInstance(d.CoreService,(function(){return n.scrollToBottom()}))),n._instantiationService.setService(s.ICoreService,n.coreService),n.coreMouseService=n._instantiationService.createInstance(h.CoreMouseService),n._instantiationService.setService(s.ICoreMouseService,n.coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(m.DirtyRowService),n._instantiationService.setService(s.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(g.UnicodeService),n._instantiationService.setService(s.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(v.CharsetService),n._instantiationService.setService(s.ICharsetService,n._charsetService),n._inputHandler=new b.InputHandler(n._bufferService,n._charsetService,n.coreService,n._dirtyRowService,n._logService,n.optionsService,n.coreMouseService,n.unicodeService),n.register((0,p.forwardEvent)(n._inputHandler.onLineFeed,n._onLineFeed)),n.register(n._inputHandler),n.register((0,p.forwardEvent)(n._bufferService.onResize,n._onResize)),n.register((0,p.forwardEvent)(n.coreService.onData,n._onData)),n.register((0,p.forwardEvent)(n.coreService.onBinary,n._onBinary)),n.register(n.optionsService.onOptionChange((function(e){return n._updateOptions(e)}))),n.register(n._bufferService.onScroll((function(e){n._onScroll.fire({position:n._bufferService.buffer.ydisp,source:0}),n._dirtyRowService.markRangeDirty(n._bufferService.buffer.scrollTop,n._bufferService.buffer.scrollBottom)}))),n.register(n._inputHandler.onScroll((function(e){n._onScroll.fire({position:n._bufferService.buffer.ydisp,source:0}),n._dirtyRowService.markRangeDirty(n._bufferService.buffer.scrollTop,n._bufferService.buffer.scrollBottom)}))),n._writeBuffer=new _.WriteBuffer((function(e,t){return n._inputHandler.parse(e,t)})),n.register((0,p.forwardEvent)(n._writeBuffer.onWriteParsed,n._onWriteParsed)),n}return i(t,e),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){var e=this;return this._onScrollApi||(this._onScrollApi=new p.EventEmitter,this.register(this._onScroll.event((function(t){var n;null===(n=e._onScrollApi)||void 0===n||n.fire(t.position)})))),this._onScrollApi.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},set:function(e){for(var t in e)this.optionsService.options[t]=e[t]},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)},t.prototype.write=function(e,t){this._writeBuffer.write(e,t)},t.prototype.writeSync=function(e,t){this._logService.logLevel<=s.LogLevelEnum.WARN&&!w&&(this._logService.warn("writeSync is unreliable and will be removed soon."),w=!0),this._writeBuffer.writeSync(e,t)},t.prototype.resize=function(e,t){isNaN(e)||isNaN(t)||(e=Math.max(e,u.MINIMUM_COLS),t=Math.max(t,u.MINIMUM_ROWS),this._bufferService.resize(e,t))},t.prototype.scroll=function(e,t){void 0===t&&(t=!1),this._bufferService.scroll(e,t)},t.prototype.scrollLines=function(e,t,n){this._bufferService.scrollLines(e,t,n)},t.prototype.scrollPages=function(e){this._bufferService.scrollPages(e)},t.prototype.scrollToTop=function(){this._bufferService.scrollToTop()},t.prototype.scrollToBottom=function(){this._bufferService.scrollToBottom()},t.prototype.scrollToLine=function(e){this._bufferService.scrollToLine(e)},t.prototype.registerEscHandler=function(e,t){return this._inputHandler.registerEscHandler(e,t)},t.prototype.registerDcsHandler=function(e,t){return this._inputHandler.registerDcsHandler(e,t)},t.prototype.registerCsiHandler=function(e,t){return this._inputHandler.registerCsiHandler(e,t)},t.prototype.registerOscHandler=function(e,t){return this._inputHandler.registerOscHandler(e,t)},t.prototype._setup=function(){this.optionsService.rawOptions.windowsMode&&this._enableWindowsMode()},t.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()},t.prototype._updateOptions=function(e){var t;switch(e){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.rawOptions.windowsMode?this._enableWindowsMode():(null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)}},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.registerCsiHandler({final:"H"},(function(){return(0,y.updateWindowsModeWrappedState)(e._bufferService),!1}))),this._windowsMode={dispose:function(){var e,n;try{for(var r=o(t),i=r.next();!i.done;i=r.next())i.value.dispose()}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}}}}},t}(a.Disposable);t.CoreTerminal=S},8460:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0;var n=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var n=0;n<e._listeners.length;n++)if(e._listeners[n]===t)return void e._listeners.splice(n,1)}}}),this._event},enumerable:!1,configurable:!0}),e.prototype.fire=function(e,t){for(var n=[],r=0;r<this._listeners.length;r++)n.push(this._listeners[r]);for(r=0;r<n.length;r++)n[r].call(void 0,e,t)},e.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},e}();t.EventEmitter=n,t.forwardEvent=function(e,t){return e((function(e){return t.fire(e)}))}},5435:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.InputHandler=t.WindowsOptionsReportType=void 0;var o,a=n(2584),s=n(7116),l=n(2015),c=n(844),u=n(8273),f=n(482),d=n(8437),p=n(8460),h=n(643),m=n(511),g=n(3734),v=n(2585),y=n(6242),b=n(6351),_=n(5941),w={"(":0,")":1,"*":2,"+":3,"-":1,".":2},S=131072;function x(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}!function(e){e[e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",e[e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(o=t.WindowsOptionsReportType||(t.WindowsOptionsReportType={}));var E=function(){function e(e,t,n,r){this._bufferService=e,this._coreService=t,this._logService=n,this._optionsService=r,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,n){this._data=(0,u.concat)(this._data,e.subarray(t,n))},e.prototype.unhook=function(e){if(!e)return this._data=new Uint32Array(0),!0;var t=(0,f.utf32ToString)(this._data);switch(this._data=new Uint32Array(0),t){case'"q':this._coreService.triggerDataEvent(a.C0.ESC+'P1$r0"q'+a.C0.ESC+"\\");break;case'"p':this._coreService.triggerDataEvent(a.C0.ESC+'P1$r61;1"p'+a.C0.ESC+"\\");break;case"r":var n=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+n+a.C0.ESC+"\\");break;case"m":this._coreService.triggerDataEvent(a.C0.ESC+"P1$r0m"+a.C0.ESC+"\\");break;case" q":var r={block:2,underline:4,bar:6}[this._optionsService.rawOptions.cursorStyle];r-=this._optionsService.rawOptions.cursorBlink?1:0,this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+r+" q"+a.C0.ESC+"\\");break;default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(a.C0.ESC+"P0$r"+a.C0.ESC+"\\")}return!0},e}(),k=function(e){function t(t,n,r,i,o,c,u,h,g){void 0===g&&(g=new l.EscapeSequenceParser);var v=e.call(this)||this;v._bufferService=t,v._charsetService=n,v._coreService=r,v._dirtyRowService=i,v._logService=o,v._optionsService=c,v._coreMouseService=u,v._unicodeService=h,v._parser=g,v._parseBuffer=new Uint32Array(4096),v._stringDecoder=new f.StringToUtf32,v._utf8Decoder=new f.Utf8ToUtf32,v._workCell=new m.CellData,v._windowTitle="",v._iconName="",v._windowTitleStack=[],v._iconNameStack=[],v._curAttrData=d.DEFAULT_ATTR_DATA.clone(),v._eraseAttrDataInternal=d.DEFAULT_ATTR_DATA.clone(),v._onRequestBell=new p.EventEmitter,v._onRequestRefreshRows=new p.EventEmitter,v._onRequestReset=new p.EventEmitter,v._onRequestSendFocus=new p.EventEmitter,v._onRequestSyncScrollBar=new p.EventEmitter,v._onRequestWindowsOptionsReport=new p.EventEmitter,v._onA11yChar=new p.EventEmitter,v._onA11yTab=new p.EventEmitter,v._onCursorMove=new p.EventEmitter,v._onLineFeed=new p.EventEmitter,v._onScroll=new p.EventEmitter,v._onTitleChange=new p.EventEmitter,v._onColor=new p.EventEmitter,v._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},v._specialColors=[256,257,258],v.register(v._parser),v._activeBuffer=v._bufferService.buffer,v.register(v._bufferService.buffers.onBufferActivate((function(e){return v._activeBuffer=e.activeBuffer}))),v._parser.setCsiHandlerFallback((function(e,t){v._logService.debug("Unknown CSI code: ",{identifier:v._parser.identToString(e),params:t.toArray()})})),v._parser.setEscHandlerFallback((function(e){v._logService.debug("Unknown ESC code: ",{identifier:v._parser.identToString(e)})})),v._parser.setExecuteHandlerFallback((function(e){v._logService.debug("Unknown EXECUTE code: ",{code:e})})),v._parser.setOscHandlerFallback((function(e,t,n){v._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),v._parser.setDcsHandlerFallback((function(e,t,n){"HOOK"===t&&(n=n.toArray()),v._logService.debug("Unknown DCS code: ",{identifier:v._parser.identToString(e),action:t,payload:n})})),v._parser.setPrintHandler((function(e,t,n){return v.print(e,t,n)})),v._parser.registerCsiHandler({final:"@"},(function(e){return v.insertChars(e)})),v._parser.registerCsiHandler({intermediates:" ",final:"@"},(function(e){return v.scrollLeft(e)})),v._parser.registerCsiHandler({final:"A"},(function(e){return v.cursorUp(e)})),v._parser.registerCsiHandler({intermediates:" ",final:"A"},(function(e){return v.scrollRight(e)})),v._parser.registerCsiHandler({final:"B"},(function(e){return v.cursorDown(e)})),v._parser.registerCsiHandler({final:"C"},(function(e){return v.cursorForward(e)})),v._parser.registerCsiHandler({final:"D"},(function(e){return v.cursorBackward(e)})),v._parser.registerCsiHandler({final:"E"},(function(e){return v.cursorNextLine(e)})),v._parser.registerCsiHandler({final:"F"},(function(e){return v.cursorPrecedingLine(e)})),v._parser.registerCsiHandler({final:"G"},(function(e){return v.cursorCharAbsolute(e)})),v._parser.registerCsiHandler({final:"H"},(function(e){return v.cursorPosition(e)})),v._parser.registerCsiHandler({final:"I"},(function(e){return v.cursorForwardTab(e)})),v._parser.registerCsiHandler({final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.registerCsiHandler({prefix:"?",final:"J"},(function(e){return v.eraseInDisplay(e)})),v._parser.registerCsiHandler({final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.registerCsiHandler({prefix:"?",final:"K"},(function(e){return v.eraseInLine(e)})),v._parser.registerCsiHandler({final:"L"},(function(e){return v.insertLines(e)})),v._parser.registerCsiHandler({final:"M"},(function(e){return v.deleteLines(e)})),v._parser.registerCsiHandler({final:"P"},(function(e){return v.deleteChars(e)})),v._parser.registerCsiHandler({final:"S"},(function(e){return v.scrollUp(e)})),v._parser.registerCsiHandler({final:"T"},(function(e){return v.scrollDown(e)})),v._parser.registerCsiHandler({final:"X"},(function(e){return v.eraseChars(e)})),v._parser.registerCsiHandler({final:"Z"},(function(e){return v.cursorBackwardTab(e)})),v._parser.registerCsiHandler({final:"`"},(function(e){return v.charPosAbsolute(e)})),v._parser.registerCsiHandler({final:"a"},(function(e){return v.hPositionRelative(e)})),v._parser.registerCsiHandler({final:"b"},(function(e){return v.repeatPrecedingCharacter(e)})),v._parser.registerCsiHandler({final:"c"},(function(e){return v.sendDeviceAttributesPrimary(e)})),v._parser.registerCsiHandler({prefix:">",final:"c"},(function(e){return v.sendDeviceAttributesSecondary(e)})),v._parser.registerCsiHandler({final:"d"},(function(e){return v.linePosAbsolute(e)})),v._parser.registerCsiHandler({final:"e"},(function(e){return v.vPositionRelative(e)})),v._parser.registerCsiHandler({final:"f"},(function(e){return v.hVPosition(e)})),v._parser.registerCsiHandler({final:"g"},(function(e){return v.tabClear(e)})),v._parser.registerCsiHandler({final:"h"},(function(e){return v.setMode(e)})),v._parser.registerCsiHandler({prefix:"?",final:"h"},(function(e){return v.setModePrivate(e)})),v._parser.registerCsiHandler({final:"l"},(function(e){return v.resetMode(e)})),v._parser.registerCsiHandler({prefix:"?",final:"l"},(function(e){return v.resetModePrivate(e)})),v._parser.registerCsiHandler({final:"m"},(function(e){return v.charAttributes(e)})),v._parser.registerCsiHandler({final:"n"},(function(e){return v.deviceStatus(e)})),v._parser.registerCsiHandler({prefix:"?",final:"n"},(function(e){return v.deviceStatusPrivate(e)})),v._parser.registerCsiHandler({intermediates:"!",final:"p"},(function(e){return v.softReset(e)})),v._parser.registerCsiHandler({intermediates:" ",final:"q"},(function(e){return v.setCursorStyle(e)})),v._parser.registerCsiHandler({final:"r"},(function(e){return v.setScrollRegion(e)})),v._parser.registerCsiHandler({final:"s"},(function(e){return v.saveCursor(e)})),v._parser.registerCsiHandler({final:"t"},(function(e){return v.windowOptions(e)})),v._parser.registerCsiHandler({final:"u"},(function(e){return v.restoreCursor(e)})),v._parser.registerCsiHandler({intermediates:"'",final:"}"},(function(e){return v.insertColumns(e)})),v._parser.registerCsiHandler({intermediates:"'",final:"~"},(function(e){return v.deleteColumns(e)})),v._parser.setExecuteHandler(a.C0.BEL,(function(){return v.bell()})),v._parser.setExecuteHandler(a.C0.LF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(a.C0.VT,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(a.C0.FF,(function(){return v.lineFeed()})),v._parser.setExecuteHandler(a.C0.CR,(function(){return v.carriageReturn()})),v._parser.setExecuteHandler(a.C0.BS,(function(){return v.backspace()})),v._parser.setExecuteHandler(a.C0.HT,(function(){return v.tab()})),v._parser.setExecuteHandler(a.C0.SO,(function(){return v.shiftOut()})),v._parser.setExecuteHandler(a.C0.SI,(function(){return v.shiftIn()})),v._parser.setExecuteHandler(a.C1.IND,(function(){return v.index()})),v._parser.setExecuteHandler(a.C1.NEL,(function(){return v.nextLine()})),v._parser.setExecuteHandler(a.C1.HTS,(function(){return v.tabSet()})),v._parser.registerOscHandler(0,new y.OscHandler((function(e){return v.setTitle(e),v.setIconName(e),!0}))),v._parser.registerOscHandler(1,new y.OscHandler((function(e){return v.setIconName(e)}))),v._parser.registerOscHandler(2,new y.OscHandler((function(e){return v.setTitle(e)}))),v._parser.registerOscHandler(4,new y.OscHandler((function(e){return v.setOrReportIndexedColor(e)}))),v._parser.registerOscHandler(10,new y.OscHandler((function(e){return v.setOrReportFgColor(e)}))),v._parser.registerOscHandler(11,new y.OscHandler((function(e){return v.setOrReportBgColor(e)}))),v._parser.registerOscHandler(12,new y.OscHandler((function(e){return v.setOrReportCursorColor(e)}))),v._parser.registerOscHandler(104,new y.OscHandler((function(e){return v.restoreIndexedColor(e)}))),v._parser.registerOscHandler(110,new y.OscHandler((function(e){return v.restoreFgColor(e)}))),v._parser.registerOscHandler(111,new y.OscHandler((function(e){return v.restoreBgColor(e)}))),v._parser.registerOscHandler(112,new y.OscHandler((function(e){return v.restoreCursorColor(e)}))),v._parser.registerEscHandler({final:"7"},(function(){return v.saveCursor()})),v._parser.registerEscHandler({final:"8"},(function(){return v.restoreCursor()})),v._parser.registerEscHandler({final:"D"},(function(){return v.index()})),v._parser.registerEscHandler({final:"E"},(function(){return v.nextLine()})),v._parser.registerEscHandler({final:"H"},(function(){return v.tabSet()})),v._parser.registerEscHandler({final:"M"},(function(){return v.reverseIndex()})),v._parser.registerEscHandler({final:"="},(function(){return v.keypadApplicationMode()})),v._parser.registerEscHandler({final:">"},(function(){return v.keypadNumericMode()})),v._parser.registerEscHandler({final:"c"},(function(){return v.fullReset()})),v._parser.registerEscHandler({final:"n"},(function(){return v.setgLevel(2)})),v._parser.registerEscHandler({final:"o"},(function(){return v.setgLevel(3)})),v._parser.registerEscHandler({final:"|"},(function(){return v.setgLevel(3)})),v._parser.registerEscHandler({final:"}"},(function(){return v.setgLevel(2)})),v._parser.registerEscHandler({final:"~"},(function(){return v.setgLevel(1)})),v._parser.registerEscHandler({intermediates:"%",final:"@"},(function(){return v.selectDefaultCharset()})),v._parser.registerEscHandler({intermediates:"%",final:"G"},(function(){return v.selectDefaultCharset()}));var b=function(e){_._parser.registerEscHandler({intermediates:"(",final:e},(function(){return v.selectCharset("("+e)})),_._parser.registerEscHandler({intermediates:")",final:e},(function(){return v.selectCharset(")"+e)})),_._parser.registerEscHandler({intermediates:"*",final:e},(function(){return v.selectCharset("*"+e)})),_._parser.registerEscHandler({intermediates:"+",final:e},(function(){return v.selectCharset("+"+e)})),_._parser.registerEscHandler({intermediates:"-",final:e},(function(){return v.selectCharset("-"+e)})),_._parser.registerEscHandler({intermediates:".",final:e},(function(){return v.selectCharset("."+e)})),_._parser.registerEscHandler({intermediates:"/",final:e},(function(){return v.selectCharset("/"+e)}))},_=this;for(var w in s.CHARSETS)b(w);return v._parser.registerEscHandler({intermediates:"#",final:"8"},(function(){return v.screenAlignmentPattern()})),v._parser.setErrorHandler((function(e){return v._logService.error("Parsing error: ",e),e})),v._parser.registerDcsHandler({intermediates:"$",final:"q"},new E(v._bufferService,v._coreService,v._logService,v._optionsService)),v}return i(t,e),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestSendFocus",{get:function(){return this._onRequestSendFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onColor",{get:function(){return this._onColor.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._preserveStack=function(e,t,n,r){this._parseStack.paused=!0,this._parseStack.cursorStartX=e,this._parseStack.cursorStartY=t,this._parseStack.decodedLength=n,this._parseStack.position=r},t.prototype._logSlowResolvingAsync=function(e){this._logService.logLevel<=v.LogLevelEnum.WARN&&Promise.race([e,new Promise((function(e,t){return setTimeout((function(){return t("#SLOW_TIMEOUT")}),5e3)}))]).catch((function(e){if("#SLOW_TIMEOUT"!==e)throw e;console.warn("async parser handler taking longer than 5000 ms")}))},t.prototype.parse=function(e,t){var n,r=this._activeBuffer.x,i=this._activeBuffer.y,o=0,a=this._parseStack.paused;if(a){if(n=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,t))return this._logSlowResolvingAsync(n),n;r=this._parseStack.cursorStartX,i=this._parseStack.cursorStartY,this._parseStack.paused=!1,e.length>S&&(o=this._parseStack.position+S)}if(this._logService.logLevel<=v.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+("string"==typeof e?' "'+e+'"':' "'+Array.prototype.map.call(e,(function(e){return String.fromCharCode(e)})).join("")+'"'),"string"==typeof e?e.split("").map((function(e){return e.charCodeAt(0)})):e),this._parseBuffer.length<e.length&&this._parseBuffer.length<S&&(this._parseBuffer=new Uint32Array(Math.min(e.length,S))),a||this._dirtyRowService.clearRange(),e.length>S)for(var s=o;s<e.length;s+=S){var l=s+S<e.length?s+S:e.length,c="string"==typeof e?this._stringDecoder.decode(e.substring(s,l),this._parseBuffer):this._utf8Decoder.decode(e.subarray(s,l),this._parseBuffer);if(n=this._parser.parse(this._parseBuffer,c))return this._preserveStack(r,i,c,s),this._logSlowResolvingAsync(n),n}else if(!a&&(c="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer),n=this._parser.parse(this._parseBuffer,c)))return this._preserveStack(r,i,c,0),this._logSlowResolvingAsync(n),n;this._activeBuffer.x===r&&this._activeBuffer.y===i||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},t.prototype.print=function(e,t,n){var r,i,o=this._charsetService.charset,a=this._optionsService.rawOptions.screenReaderMode,s=this._bufferService.cols,l=this._coreService.decPrivateModes.wraparound,c=this._coreService.modes.insertMode,u=this._curAttrData,d=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);this._dirtyRowService.markDirty(this._activeBuffer.y),this._activeBuffer.x&&n-t>0&&2===d.getWidth(this._activeBuffer.x-1)&&d.setCellFromCodePoint(this._activeBuffer.x-1,0,1,u.fg,u.bg,u.extended);for(var p=t;p<n;++p){if(r=e[p],i=this._unicodeService.wcwidth(r),r<127&&o){var m=o[String.fromCharCode(r)];m&&(r=m.charCodeAt(0))}if(a&&this._onA11yChar.fire((0,f.stringFromCodePoint)(r)),i||!this._activeBuffer.x){if(this._activeBuffer.x+i-1>=s)if(l){for(;this._activeBuffer.x<s;)d.setCellFromCodePoint(this._activeBuffer.x++,0,1,u.fg,u.bg,u.extended);this._activeBuffer.x=0,this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData(),!0)):(this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),d=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=s-1,2===i)continue;if(c&&(d.insertCells(this._activeBuffer.x,i,this._activeBuffer.getNullCell(u),u),2===d.getWidth(s-1)&&d.setCellFromCodePoint(s-1,h.NULL_CELL_CODE,h.NULL_CELL_WIDTH,u.fg,u.bg,u.extended)),d.setCellFromCodePoint(this._activeBuffer.x++,r,i,u.fg,u.bg,u.extended),i>0)for(;--i;)d.setCellFromCodePoint(this._activeBuffer.x++,0,0,u.fg,u.bg,u.extended)}else d.getWidth(this._activeBuffer.x-1)?d.addCodepointToCell(this._activeBuffer.x-1,r):d.addCodepointToCell(this._activeBuffer.x-2,r)}n-t>0&&(d.loadCell(this._activeBuffer.x-1,this._workCell),2===this._workCell.getWidth()||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),this._activeBuffer.x<s&&n-t>0&&0===d.getWidth(this._activeBuffer.x)&&!d.hasContent(this._activeBuffer.x)&&d.setCellFromCodePoint(this._activeBuffer.x,0,1,u.fg,u.bg,u.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype.registerCsiHandler=function(e,t){var n=this;return"t"!==e.final||e.prefix||e.intermediates?this._parser.registerCsiHandler(e,t):this._parser.registerCsiHandler(e,(function(e){return!x(e.params[0],n._optionsService.rawOptions.windowOptions)||t(e)}))},t.prototype.registerDcsHandler=function(e,t){return this._parser.registerDcsHandler(e,new b.DcsHandler(t))},t.prototype.registerEscHandler=function(e,t){return this._parser.registerEscHandler(e,t)},t.prototype.registerOscHandler=function(e,t){return this._parser.registerOscHandler(e,new y.OscHandler(t))},t.prototype.bell=function(){return this._onRequestBell.fire(),!0},t.prototype.lineFeed=function(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0},t.prototype.carriageReturn=function(){return this._activeBuffer.x=0,!0},t.prototype.backspace=function(){var e;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&(null===(e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))||void 0===e?void 0:e.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);t.hasWidth(this._activeBuffer.x)&&!t.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0},t.prototype.tab=function(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;var e=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-e),!0},t.prototype.shiftOut=function(){return this._charsetService.setgLevel(1),!0},t.prototype.shiftIn=function(){return this._charsetService.setgLevel(0),!0},t.prototype._restrictCursor=function(e){void 0===e&&(e=this._bufferService.cols-1),this._activeBuffer.x=Math.min(e,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=e,this._activeBuffer.y=this._activeBuffer.scrollTop+t):(this._activeBuffer.x=e,this._activeBuffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._activeBuffer.x+e,this._activeBuffer.y+t)},t.prototype.cursorUp=function(e){var t=this._activeBuffer.y-this._activeBuffer.scrollTop;return t>=0?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1)),!0},t.prototype.cursorDown=function(e){var t=this._activeBuffer.scrollBottom-this._activeBuffer.y;return t>=0?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1),!0},t.prototype.cursorForward=function(e){return this._moveCursor(e.params[0]||1,0),!0},t.prototype.cursorBackward=function(e){return this._moveCursor(-(e.params[0]||1),0),!0},t.prototype.cursorNextLine=function(e){return this.cursorDown(e),this._activeBuffer.x=0,!0},t.prototype.cursorPrecedingLine=function(e){return this.cursorUp(e),this._activeBuffer.x=0,!0},t.prototype.cursorCharAbsolute=function(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0},t.prototype.cursorPosition=function(e){return this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1),!0},t.prototype.charPosAbsolute=function(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0},t.prototype.hPositionRelative=function(e){return this._moveCursor(e.params[0]||1,0),!0},t.prototype.linePosAbsolute=function(e){return this._setCursor(this._activeBuffer.x,(e.params[0]||1)-1),!0},t.prototype.vPositionRelative=function(e){return this._moveCursor(0,e.params[0]||1),!0},t.prototype.hVPosition=function(e){return this.cursorPosition(e),!0},t.prototype.tabClear=function(e){var t=e.params[0];return 0===t?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===t&&(this._activeBuffer.tabs={}),!0},t.prototype.cursorForwardTab=function(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var t=e.params[0]||1;t--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0},t.prototype.cursorBackwardTab=function(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var t=e.params[0]||1;t--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0},t.prototype._eraseInBufferLine=function(e,t,n,r){void 0===r&&(r=!1);var i=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);i.replaceCells(t,n,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r&&(i.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+e);t.fill(this._activeBuffer.getNullCell(this._eraseAttrData())),this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase+e),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:for(t=this._activeBuffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t++,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);t<this._bufferService.rows;t++)this._resetBufferLine(t);this._dirtyRowService.markDirty(t);break;case 1:for(t=this._activeBuffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t,0,this._activeBuffer.x+1,!0),this._activeBuffer.x+1>=this._bufferService.cols&&(this._activeBuffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(t=this._bufferService.rows,this._dirtyRowService.markDirty(t-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var n=this._activeBuffer.lines.length-this._bufferService.rows;n>0&&(this._activeBuffer.lines.trimStart(n),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-n,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-n,0),this._onScroll.fire(0))}return!0},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(this._bufferService.cols),e.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1,!1);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols,!0)}return this._dirtyRowService.markDirty(this._activeBuffer.y),!0},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var n=this._activeBuffer.ybase+this._activeBuffer.y,r=this._bufferService.rows-1-this._activeBuffer.scrollBottom,i=this._bufferService.rows-1+this._activeBuffer.ybase-r+1;t--;)this._activeBuffer.lines.splice(i-1,1),this._activeBuffer.lines.splice(n,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0},t.prototype.deleteLines=function(e){this._restrictCursor();var t=e.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;var n,r=this._activeBuffer.ybase+this._activeBuffer.y;for(n=this._bufferService.rows-1-this._activeBuffer.scrollBottom,n=this._bufferService.rows-1+this._activeBuffer.ybase-n;t--;)this._activeBuffer.lines.splice(r,1),this._activeBuffer.lines.splice(n,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0},t.prototype.insertChars=function(e){this._restrictCursor();var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.insertCells(this._activeBuffer.x,e.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},t.prototype.deleteChars=function(e){this._restrictCursor();var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.deleteCells(this._activeBuffer.x,e.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},t.prototype.scrollUp=function(e){for(var t=e.params[0]||1;t--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},t.prototype.scrollDown=function(e){for(var t=e.params[0]||1;t--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,0,this._activeBuffer.getBlankLine(d.DEFAULT_ATTR_DATA));return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},t.prototype.scrollLeft=function(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var t=e.params[0]||1,n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){var r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.deleteCells(0,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},t.prototype.scrollRight=function(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var t=e.params[0]||1,n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){var r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.insertCells(0,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},t.prototype.insertColumns=function(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var t=e.params[0]||1,n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){var r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.insertCells(this._activeBuffer.x,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},t.prototype.deleteColumns=function(e){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var t=e.params[0]||1,n=this._activeBuffer.scrollTop;n<=this._activeBuffer.scrollBottom;++n){var r=this._activeBuffer.lines.get(this._activeBuffer.ybase+n);r.deleteCells(this._activeBuffer.x,t,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},t.prototype.eraseChars=function(e){this._restrictCursor();var t=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return t&&(t.replaceCells(this._activeBuffer.x,this._activeBuffer.x+(e.params[0]||1),this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},t.prototype.repeatPrecedingCharacter=function(e){if(!this._parser.precedingCodepoint)return!0;for(var t=e.params[0]||1,n=new Uint32Array(t),r=0;r<t;++r)n[r]=this._parser.precedingCodepoint;return this.print(n,0,n.length),!0},t.prototype.sendDeviceAttributesPrimary=function(e){return e.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(a.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(a.C0.ESC+"[?6c")),!0},t.prototype.sendDeviceAttributesSecondary=function(e){return e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(a.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(a.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(a.C0.ESC+"[>83;40003;0c")),!0},t.prototype._is=function(e){return 0===(this._optionsService.rawOptions.termName+"").indexOf(e)},t.prototype.setMode=function(e){for(var t=0;t<e.length;t++)4===e.params[t]&&(this._coreService.modes.insertMode=!0);return!0},t.prototype.setModePrivate=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,s.DEFAULT_CHARSET),this._charsetService.setgCharset(1,s.DEFAULT_CHARSET),this._charsetService.setgCharset(2,s.DEFAULT_CHARSET),this._charsetService.setgCharset(3,s.DEFAULT_CHARSET);break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0,this._onRequestSendFocus.fire();break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}return!0},t.prototype.resetMode=function(e){for(var t=0;t<e.length;t++)4===e.params[t]&&(this._coreService.modes.insertMode=!1);return!0},t.prototype.resetModePrivate=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.rawOptions.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===e.params[t]&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}return!0},t.prototype._updateAttrColor=function(e,t,n,r,i){return 2===t?(e|=50331648,e&=-16777216,e|=g.AttributeData.fromColorRGB([n,r,i])):5===t&&(e&=-50331904,e|=33554432|255&n),e},t.prototype._extractColor=function(e,t,n){var r=[0,0,-1,0,0,0],i=0,o=0;do{if(r[o+i]=e.params[t+o],e.hasSubParams(t+o)){var a=e.getSubParams(t+o),s=0;do{5===r[1]&&(i=1),r[o+s+1+i]=a[s]}while(++s<a.length&&s+o+1+i<r.length);break}if(5===r[1]&&o+i>=2||2===r[1]&&o+i>=5)break;r[1]&&(i=1)}while(++o+t<e.length&&o+i<r.length);for(s=2;s<r.length;++s)-1===r[s]&&(r[s]=0);switch(r[0]){case 38:n.fg=this._updateAttrColor(n.fg,r[1],r[3],r[4],r[5]);break;case 48:n.bg=this._updateAttrColor(n.bg,r[1],r[3],r[4],r[5]);break;case 58:n.extended=n.extended.clone(),n.extended.underlineColor=this._updateAttrColor(n.extended.underlineColor,r[1],r[3],r[4],r[5])}return o},t.prototype._processUnderline=function(e,t){t.extended=t.extended.clone(),(!~e||e>5)&&(e=1),t.extended.underlineStyle=e,t.fg|=268435456,0===e&&(t.fg&=-268435457),t.updateExtended()},t.prototype.charAttributes=function(e){if(1===e.length&&0===e.params[0])return this._curAttrData.fg=d.DEFAULT_ATTR_DATA.fg,this._curAttrData.bg=d.DEFAULT_ATTR_DATA.bg,!0;for(var t,n=e.length,r=this._curAttrData,i=0;i<n;i++)(t=e.params[i])>=30&&t<=37?(r.fg&=-50331904,r.fg|=16777216|t-30):t>=40&&t<=47?(r.bg&=-50331904,r.bg|=16777216|t-40):t>=90&&t<=97?(r.fg&=-50331904,r.fg|=16777224|t-90):t>=100&&t<=107?(r.bg&=-50331904,r.bg|=16777224|t-100):0===t?(r.fg=d.DEFAULT_ATTR_DATA.fg,r.bg=d.DEFAULT_ATTR_DATA.bg):1===t?r.fg|=134217728:3===t?r.bg|=67108864:4===t?(r.fg|=268435456,this._processUnderline(e.hasSubParams(i)?e.getSubParams(i)[0]:1,r)):5===t?r.fg|=536870912:7===t?r.fg|=67108864:8===t?r.fg|=1073741824:9===t?r.fg|=2147483648:2===t?r.bg|=134217728:21===t?this._processUnderline(2,r):22===t?(r.fg&=-134217729,r.bg&=-134217729):23===t?r.bg&=-67108865:24===t?r.fg&=-268435457:25===t?r.fg&=-536870913:27===t?r.fg&=-67108865:28===t?r.fg&=-1073741825:29===t?r.fg&=2147483647:39===t?(r.fg&=-67108864,r.fg|=16777215&d.DEFAULT_ATTR_DATA.fg):49===t?(r.bg&=-67108864,r.bg|=16777215&d.DEFAULT_ATTR_DATA.bg):38===t||48===t||58===t?i+=this._extractColor(e,i,r):59===t?(r.extended=r.extended.clone(),r.extended.underlineColor=-1,r.updateExtended()):100===t?(r.fg&=-67108864,r.fg|=16777215&d.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&d.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t);return!0},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(a.C0.ESC+"[0n");break;case 6:var t=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(a.C0.ESC+"["+t+";"+n+"R")}return!0},t.prototype.deviceStatusPrivate=function(e){if(6===e.params[0]){var t=this._activeBuffer.y+1,n=this._activeBuffer.x+1;this._coreService.triggerDataEvent(a.C0.ESC+"[?"+t+";"+n+"R")}return!0},t.prototype.softReset=function(e){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=d.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var n=t%2==1;return this._optionsService.options.cursorBlink=n,!0},t.prototype.setScrollRegion=function(e){var t,n=e.params[0]||1;return(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>n&&(this._activeBuffer.scrollTop=n-1,this._activeBuffer.scrollBottom=t-1,this._setCursor(0,0)),!0},t.prototype.windowOptions=function(e){if(!x(e.params[0],this._optionsService.rawOptions.windowOptions))return!0;var t=e.length>1?e.params[1]:0;switch(e.params[0]){case 14:2!==t&&this._onRequestWindowsOptionsReport.fire(o.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(o.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(a.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0},t.prototype.saveCursor=function(e){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0},t.prototype.restoreCursor=function(e){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0},t.prototype.setTitle=function(e){return this._windowTitle=e,this._onTitleChange.fire(e),!0},t.prototype.setIconName=function(e){return this._iconName=e,!0},t.prototype.setOrReportIndexedColor=function(e){for(var t=[],n=e.split(";");n.length>1;){var r=n.shift(),i=n.shift();if(/^\d+$/.exec(r)){var o=parseInt(r);if(0<=o&&o<256)if("?"===i)t.push({type:0,index:o});else{var a=(0,_.parseColor)(i);a&&t.push({type:1,index:o,color:a})}}}return t.length&&this._onColor.fire(t),!0},t.prototype._setOrReportSpecialColor=function(e,t){for(var n=e.split(";"),r=0;r<n.length&&!(t>=this._specialColors.length);++r,++t)if("?"===n[r])this._onColor.fire([{type:0,index:this._specialColors[t]}]);else{var i=(0,_.parseColor)(n[r]);i&&this._onColor.fire([{type:1,index:this._specialColors[t],color:i}])}return!0},t.prototype.setOrReportFgColor=function(e){return this._setOrReportSpecialColor(e,0)},t.prototype.setOrReportBgColor=function(e){return this._setOrReportSpecialColor(e,1)},t.prototype.setOrReportCursorColor=function(e){return this._setOrReportSpecialColor(e,2)},t.prototype.restoreIndexedColor=function(e){if(!e)return this._onColor.fire([{type:2}]),!0;for(var t=[],n=e.split(";"),r=0;r<n.length;++r)if(/^\d+$/.exec(n[r])){var i=parseInt(n[r]);0<=i&&i<256&&t.push({type:2,index:i})}return t.length&&this._onColor.fire(t),!0},t.prototype.restoreFgColor=function(e){return this._onColor.fire([{type:2,index:256}]),!0},t.prototype.restoreBgColor=function(e){return this._onColor.fire([{type:2,index:257}]),!0},t.prototype.restoreCursorColor=function(e){return this._onColor.fire([{type:2,index:258}]),!0},t.prototype.nextLine=function(){return this._activeBuffer.x=0,this.index(),!0},t.prototype.keypadApplicationMode=function(){return this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire(),!0},t.prototype.keypadNumericMode=function(){return this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire(),!0},t.prototype.selectDefaultCharset=function(){return this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,s.DEFAULT_CHARSET),!0},t.prototype.selectCharset=function(e){return 2!==e.length?(this.selectDefaultCharset(),!0):("/"===e[0]||this._charsetService.setgCharset(w[e[0]],s.CHARSETS[e[1]]||s.DEFAULT_CHARSET),!0)},t.prototype.index=function(){return this._restrictCursor(),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0},t.prototype.tabSet=function(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0},t.prototype.reverseIndex=function(){if(this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop){var e=this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop;this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,e,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)}else this._activeBuffer.y--,this._restrictCursor();return!0},t.prototype.fullReset=function(){return this._parser.reset(),this._onRequestReset.fire(),!0},t.prototype.reset=function(){this._curAttrData=d.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=d.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){return this._charsetService.setgLevel(e),!0},t.prototype.screenAlignmentPattern=function(){var e=new m.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg,this._setCursor(0,0);for(var t=0;t<this._bufferService.rows;++t){var n=this._activeBuffer.ybase+this._activeBuffer.y+t,r=this._activeBuffer.lines.get(n);r&&(r.fill(e),r.isWrapped=!1)}return this._dirtyRowService.markAllDirty(),this._setCursor(0,0),!0},t}(c.Disposable);t.InputHandler=k},844:function(e,t){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.Disposable=void 0;var r=function(){function e(){this._disposables=[],this._isDisposed=!1}return e.prototype.dispose=function(){var e,t;this._isDisposed=!0;try{for(var r=n(this._disposables),i=r.next();!i.done;i=r.next())i.value.dispose()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this._disposables.length=0},e.prototype.register=function(e){return this._disposables.push(e),e},e.prototype.unregister=function(e){var t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)},e}();function i(e){var t,r;try{for(var i=n(e),o=i.next();!o.done;o=i.next())o.value.dispose()}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}e.length=0}t.Disposable=r,t.disposeArray=i,t.getDisposeArrayDisposable=function(e){return{dispose:function(){return i(e)}}}},6114:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.isSafari=t.isLegacyEdge=t.isFirefox=void 0;var n="undefined"==typeof navigator,r=n?"node":navigator.userAgent,i=n?"node":navigator.platform;t.isFirefox=r.includes("Firefox"),t.isLegacyEdge=r.includes("Edge"),t.isSafari=/^((?!chrome|android).)*safari/i.test(r),t.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(i),t.isIpad="iPad"===i,t.isIphone="iPhone"===i,t.isWindows=["Windows","Win16","Win32","WinCE"].includes(i),t.isLinux=i.indexOf("Linux")>=0},6106:function(e,t){var n=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SortedList=void 0;var r=function(){function e(e){this._getKey=e,this._array=[]}return e.prototype.clear=function(){this._array.length=0},e.prototype.insert=function(e){if(0!==this._array.length){var t=this._search(this._getKey(e),0,this._array.length-1);this._array.splice(t,0,e)}else this._array.push(e)},e.prototype.delete=function(e){if(0===this._array.length)return!1;var t=this._getKey(e),n=this._search(t,0,this._array.length-1);if(this._getKey(this._array[n])!==t)return!1;do{if(this._array[n]===e)return this._array.splice(n,1),!0}while(++n<this._array.length&&this._getKey(this._array[n])===t);return!1},e.prototype.getKeyIterator=function(e){var t;return n(this,(function(n){switch(n.label){case 0:if(0===this._array.length)return[2];if((t=this._search(e,0,this._array.length-1))<0||t>=this._array.length)return[2];if(this._getKey(this._array[t])!==e)return[2];n.label=1;case 1:return[4,this._array[t]];case 2:n.sent(),n.label=3;case 3:if(++t<this._array.length&&this._getKey(this._array[t])===e)return[3,1];n.label=4;case 4:return[2]}}))},e.prototype.values=function(){return this._array.values()},e.prototype._search=function(e,t,n){if(n<t)return t;var r=Math.floor((t+n)/2);if(this._getKey(this._array[r])>e)return this._search(e,t,r-1);if(this._getKey(this._array[r])<e)return this._search(e,r+1,n);for(;r>0&&this._getKey(this._array[r-1])===e;)r--;return r},e}();t.SortedList=r},8273:(e,t)=>{function n(e,t,n,r){if(void 0===n&&(n=0),void 0===r&&(r=e.length),n>=e.length)return e;n=(e.length+n)%e.length,r=r>=e.length?e.length:(e.length+r)%e.length;for(var i=n;i<r;++i)e[i]=t;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.concat=t.fillFallback=t.fill=void 0,t.fill=function(e,t,r,i){return e.fill?e.fill(t,r,i):n(e,t,r,i)},t.fillFallback=n,t.concat=function(e,t){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}},9282:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;var r=n(643);t.updateWindowsModeWrappedState=function(e){var t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),n=null==t?void 0:t.get(e.cols-1),i=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);i&&n&&(i.isWrapped=n[r.CHAR_DATA_CODE_INDEX]!==r.NULL_CELL_CODE&&n[r.CHAR_DATA_CODE_INDEX]!==r.WHITESPACE_CELL_CODE)}},3734:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;var n=function(){function e(){this.fg=0,this.bg=0,this.extended=new r}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.isStrikethrough=function(){return 2147483648&this.fg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return!(50331648&~this.fg)},e.prototype.isBgRGB=function(){return!(50331648&~this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return!(50331648&this.fg)},e.prototype.isBgDefault=function(){return!(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},e.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},e.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},e.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},e.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?!(50331648&~this.extended.underlineColor):this.isFgRGB()},e.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()},e.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?!(50331648&this.extended.underlineColor):this.isFgDefault()},e.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},e}();t.AttributeData=n;var r=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=-1),this.underlineStyle=e,this.underlineColor=t}return e.prototype.clone=function(){return new e(this.underlineStyle,this.underlineColor)},e.prototype.isEmpty=function(){return 0===this.underlineStyle},e}();t.ExtendedAttrs=r},9092:function(e,t,n){var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferStringIterator=t.Buffer=t.MAX_BUFFER_SIZE=void 0;var o=n(6349),a=n(8437),s=n(511),l=n(643),c=n(4634),u=n(4863),f=n(7116),d=n(3734);t.MAX_BUFFER_SIZE=4294967295;var p=function(){function e(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=a.DEFAULT_ATTR_DATA.clone(),this.savedCharset=f.DEFAULT_CHARSET,this.markers=[],this._nullCell=s.CellData.fromCharData([0,l.NULL_CELL_CHAR,l.NULL_CELL_WIDTH,l.NULL_CELL_CODE]),this._whitespaceCell=s.CellData.fromCharData([0,l.WHITESPACE_CELL_CHAR,l.WHITESPACE_CELL_WIDTH,l.WHITESPACE_CELL_CODE]),this._isClearing=!1,this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new o.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new d.ExtendedAttrs),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new d.ExtendedAttrs),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new a.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&e<this._rows},enumerable:!1,configurable:!0}),e.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var n=e+this._optionsService.rawOptions.scrollback;return n>t.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=a.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new o.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var n=this.getNullCell(a.DEFAULT_ATTR_DATA),r=this._getCorrectBufferLength(t);if(r>this.lines.maxLength&&(this.lines.maxLength=r),this.lines.length>0){if(this._cols<e)for(var i=0;i<this.lines.length;i++)this.lines.get(i).resize(e,n);var o=0;if(this._rows<t)for(var s=this._rows;s<t;s++)this.lines.length<t+this.ybase&&(this._optionsService.rawOptions.windowsMode?this.lines.push(new a.BufferLine(e,n)):this.ybase>0&&this.lines.length<=this.ybase+this.y+o+1?(this.ybase--,o++,this.ydisp>0&&this.ydisp--):this.lines.push(new a.BufferLine(e,n)));else for(s=this._rows;s>t;s--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(r<this.lines.maxLength){var l=this.lines.length-r;l>0&&(this.lines.trimStart(l),this.ybase=Math.max(this.ybase-l,0),this.ydisp=Math.max(this.ydisp-l,0),this.savedY=Math.max(this.savedY-l,0)),this.lines.maxLength=r}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),o&&(this.y+=o),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(i=0;i<this.lines.length;i++)this.lines.get(i).resize(e,n);this._cols=e,this._rows=t},Object.defineProperty(e.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.rawOptions.windowsMode},enumerable:!1,configurable:!0}),e.prototype._reflow=function(e,t){this._cols!==e&&(e>this._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var n=(0,c.reflowLargerGetLinesToRemove)(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(a.DEFAULT_ATTR_DATA));if(n.length>0){var r=(0,c.reflowLargerCreateNewLayout)(this.lines,n);(0,c.reflowLargerApplyNewLayout)(this.lines,r.layout),this._reflowLargerAdjustViewport(e,t,r.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,n){for(var r=this.getNullCell(a.DEFAULT_ATTR_DATA),i=n;i-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<t&&this.lines.push(new a.BufferLine(e,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-n,0)},e.prototype._reflowSmaller=function(e,t){for(var n=this.getNullCell(a.DEFAULT_ATTR_DATA),o=[],s=0,l=this.lines.length-1;l>=0;l--){var u=this.lines.get(l);if(!(!u||!u.isWrapped&&u.getTrimmedLength()<=e)){for(var f=[u];u.isWrapped&&l>0;)u=this.lines.get(--l),f.unshift(u);var d=this.ybase+this.y;if(!(d>=l&&d<l+f.length)){var p,h=f[f.length-1].getTrimmedLength(),m=(0,c.reflowSmallerGetNewLineLengths)(f,this._cols,e),g=m.length-f.length;p=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+g):Math.max(0,this.lines.length-this.lines.maxLength+g);for(var v=[],y=0;y<g;y++){var b=this.getBlankLine(a.DEFAULT_ATTR_DATA,!0);v.push(b)}v.length>0&&(o.push({start:l+f.length+s,newLines:v}),s+=v.length),f.push.apply(f,i([],r(v),!1));var _=m.length-1,w=m[_];0===w&&(w=m[--_]);for(var S=f.length-g-1,x=h;S>=0;){var E=Math.min(x,w);if(void 0===f[_])break;if(f[_].copyCellsFrom(f[S],x-E,w-E,E,!0),0==(w-=E)&&(w=m[--_]),0==(x-=E)){S--;var k=Math.max(S,0);x=(0,c.getWrappedLineTrimmedLength)(f,k,this._cols)}}for(y=0;y<f.length;y++)m[y]<e&&f[y].setCell(m[y],n);for(var C=g-p;C-- >0;)0===this.ybase?this.y<t-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+s)-t&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+g,this.ybase+t-1)}}}if(o.length>0){var O=[],T=[];for(y=0;y<this.lines.length;y++)T.push(this.lines.get(y));var P=this.lines.length,A=P-1,M=0,L=o[M];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+s);var I=0;for(y=Math.min(this.lines.maxLength-1,P+s-1);y>=0;y--)if(L&&L.start>A+I){for(var R=L.newLines.length-1;R>=0;R--)this.lines.set(y--,L.newLines[R]);y++,O.push({index:A+1,amount:L.newLines.length}),I+=L.newLines.length,L=o[++M]}else this.lines.set(y,T[A--]);var D=0;for(y=O.length-1;y>=0;y--)O[y].index+=D,this.lines.onInsertEmitter.fire(O[y]),D+=O[y].amount;var j=Math.max(0,P+s-this.lines.maxLength);j>0&&this.lines.onTrimEmitter.fire(j)}},e.prototype.stringIndexToBufferIndex=function(e,t,n){for(void 0===n&&(n=!1);t;){var r=this.lines.get(e);if(!r)return[-1,-1];for(var i=n?r.getTrimmedLength():r.length,o=0;o<i;++o)if(r.get(o)[l.CHAR_DATA_WIDTH_INDEX]&&(t-=r.get(o)[l.CHAR_DATA_CHAR_INDEX].length||1),t<0)return[e,o];e++}return[e,0]},e.prototype.translateBufferLineToString=function(e,t,n,r){void 0===n&&(n=0);var i=this.lines.get(e);return i?i.translateToString(t,n,r):""},e.prototype.getWrappedRangeForLine=function(e){for(var t=e,n=e;t>0&&this.lines.get(t).isWrapped;)t--;for(;n+1<this.lines.length&&this.lines.get(n+1).isWrapped;)n++;return{first:t,last:n}},e.prototype.setupTabStops=function(e){for(null!=e?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.rawOptions.tabStopWidth)this.tabs[e]=!0},e.prototype.prevStop=function(e){for(null==e&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.clearMarkers=function(e){this._isClearing=!0;for(var t=0;t<this.markers.length;t++)this.markers[t].line===e&&(this.markers[t].dispose(),this.markers.splice(t--,1));this._isClearing=!1},e.prototype.clearAllMarkers=function(){this._isClearing=!0;for(var e=0;e<this.markers.length;e++)this.markers[e].dispose(),this.markers.splice(e--,1);this._isClearing=!1},e.prototype.addMarker=function(e){var t=this,n=new u.Marker(e);return this.markers.push(n),n.register(this.lines.onTrim((function(e){n.line-=e,n.line<0&&n.dispose()}))),n.register(this.lines.onInsert((function(e){n.line>=e.index&&(n.line+=e.amount)}))),n.register(this.lines.onDelete((function(e){n.line>=e.index&&n.line<e.index+e.amount&&n.dispose(),n.line>e.index&&(n.line-=e.amount)}))),n.register(n.onDispose((function(){return t._removeMarker(n)}))),n},e.prototype._removeMarker=function(e){this._isClearing||this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,n,r,i){return new h(this,e,t,n,r,i)},e}();t.Buffer=p;var h=function(){function e(e,t,n,r,i,o){void 0===n&&(n=0),void 0===r&&(r=e.lines.length),void 0===i&&(i=0),void 0===o&&(o=0),this._buffer=e,this._trimRight=t,this._startIndex=n,this._endIndex=r,this._startOverscan=i,this._endOverscan=o,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._current<this._endIndex},e.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",n=e.first;n<=e.last;++n)t+=this._buffer.translateBufferLineToString(n,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=h},8437:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;var r=n(482),i=n(643),o=n(511),a=n(3734);t.DEFAULT_ATTR_DATA=Object.freeze(new a.AttributeData);var s=function(){function e(e,t,n){void 0===n&&(n=!1),this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var r=t||o.CellData.fromCharData([0,i.NULL_CELL_CHAR,i.NULL_CELL_WIDTH,i.NULL_CELL_CODE]),a=0;a<e;++a)this.setCell(a,r);this.length=e}return e.prototype.get=function(e){var t=this._data[3*e+0],n=2097151&t;return[this._data[3*e+1],2097152&t?this._combined[e]:n?(0,r.stringFromCodePoint)(n):"",t>>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]},e.prototype.set=function(e,t){this._data[3*e+1]=t[i.CHAR_DATA_ATTR_INDEX],t[i.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[i.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[i.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[i.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?(0,r.stringFromCodePoint)(2097151&t):""},e.prototype.loadCell=function(e,t){var n=3*e;return t.content=this._data[n+0],t.fg=this._data[n+1],t.bg=this._data[n+2],2097152&t.content&&(t.combinedData=this._combined[e]),268435456&t.bg&&(t.extended=this._extendedAttrs[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[e]=t.extended),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,n,r,i,o){268435456&i&&(this._extendedAttrs[e]=o),this._data[3*e+0]=t|n<<22,this._data[3*e+1]=r,this._data[3*e+2]=i},e.prototype.addCodepointToCell=function(e,t){var n=this._data[3*e+0];2097152&n?this._combined[e]+=(0,r.stringFromCodePoint)(t):(2097151&n?(this._combined[e]=(0,r.stringFromCodePoint)(2097151&n)+(0,r.stringFromCodePoint)(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)},e.prototype.insertCells=function(e,t,n,r){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),t<this.length-e){for(var i=new o.CellData,s=this.length-e-t-1;s>=0;--s)this.setCell(e+t+s,this.loadCell(e+s,i));for(s=0;s<t;++s)this.setCell(e+s,n)}else for(s=e;s<this.length;++s)this.setCell(s,n);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs)},e.prototype.deleteCells=function(e,t,n,r){if(e%=this.length,t<this.length-e){for(var i=new o.CellData,s=0;s<this.length-e-t;++s)this.setCell(e+s,this.loadCell(e+t+s,i));for(s=this.length-t;s<this.length;++s)this.setCell(s,n)}else for(s=e;s<this.length;++s)this.setCell(s,n);e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),0!==this.getWidth(e)||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs)},e.prototype.replaceCells=function(e,t,n,r){for(e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),t<this.length&&2===this.getWidth(t-1)&&this.setCellFromCodePoint(t,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs);e<t&&e<this.length;)this.setCell(e++,n)},e.prototype.resize=function(e,t){if(e!==this.length){if(e>this.length){var n=new Uint32Array(3*e);this.length&&(3*e<this._data.length?n.set(this._data.subarray(0,3*e)):n.set(this._data)),this._data=n;for(var r=this.length;r<e;++r)this.setCell(r,t)}else if(e){(n=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=n;var i=Object.keys(this._combined);for(r=0;r<i.length;r++){var o=parseInt(i[r],10);o>=e&&delete this._combined[o]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var t=0;t<this.length;++t)this.setCell(t,e)},e.prototype.copyFrom=function(e){for(var t in this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={},e._combined)this._combined[t]=e._combined[t];for(var t in this._extendedAttrs={},e._extendedAttrs)this._extendedAttrs[t]=e._extendedAttrs[t];this.isWrapped=e.isWrapped},e.prototype.clone=function(){var t=new e(0);for(var n in t._data=new Uint32Array(this._data),t.length=this.length,this._combined)t._combined[n]=this._combined[n];for(var n in this._extendedAttrs)t._extendedAttrs[n]=this._extendedAttrs[n];return t.isWrapped=this.isWrapped,t},e.prototype.getTrimmedLength=function(){for(var e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,n,r,i){var o=e._data;if(i)for(var a=r-1;a>=0;a--)for(var s=0;s<3;s++)this._data[3*(n+a)+s]=o[3*(t+a)+s];else for(a=0;a<r;a++)for(s=0;s<3;s++)this._data[3*(n+a)+s]=o[3*(t+a)+s];var l=Object.keys(e._combined);for(s=0;s<l.length;s++){var c=parseInt(l[s],10);c>=t&&(this._combined[c-t+n]=e._combined[c])}},e.prototype.translateToString=function(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===n&&(n=this.length),e&&(n=Math.min(n,this.getTrimmedLength()));for(var o="";t<n;){var a=this._data[3*t+0],s=2097151&a;o+=2097152&a?this._combined[t]:s?(0,r.stringFromCodePoint)(s):i.WHITESPACE_CELL_CHAR,t+=a>>22||1}return o},e}();t.BufferLine=s},4841:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getRangeLength=void 0,t.getRangeLength=function(e,t){if(e.start.y>e.end.y)throw new Error("Buffer range end ("+e.end.x+", "+e.end.y+") cannot be before start ("+e.start.x+", "+e.start.y+")");return t*(e.end.y-e.start.y)+(e.end.x-e.start.x+1)}},4634:(e,t)=>{function n(e,t,n){if(t===e.length-1)return e[t].getTrimmedLength();var r=!e[t].hasContent(n-1)&&1===e[t].getWidth(n-1),i=2===e[t+1].getWidth(0);return r&&i?n-1:n}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(e,t,r,i,o){for(var a=[],s=0;s<e.length-1;s++){var l=s,c=e.get(++l);if(c.isWrapped){for(var u=[e.get(s)];l<e.length&&c.isWrapped;)u.push(c),c=e.get(++l);if(i>=s&&i<l)s+=u.length-1;else{for(var f=0,d=n(u,f,t),p=1,h=0;p<u.length;){var m=n(u,p,t),g=m-h,v=r-d,y=Math.min(g,v);u[f].copyCellsFrom(u[p],h,d,y,!1),(d+=y)===r&&(f++,d=0),(h+=y)===m&&(p++,h=0),0===d&&0!==f&&2===u[f-1].getWidth(r-1)&&(u[f].copyCellsFrom(u[f-1],r-1,d++,1,!1),u[f-1].setCell(r-1,o))}u[f].replaceCells(d,r,o);for(var b=0,_=u.length-1;_>0&&(_>f||0===u[_].getTrimmedLength());_--)b++;b>0&&(a.push(s+u.length-b),a.push(b)),s+=u.length-1}}}return a},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],r=0,i=t[r],o=0,a=0;a<e.length;a++)if(i===a){var s=t[++r];e.onDeleteEmitter.fire({index:a-o,amount:s}),a+=s-1,o+=s,i=t[++r]}else n.push(a);return{layout:n,countRemoved:o}},t.reflowLargerApplyNewLayout=function(e,t){for(var n=[],r=0;r<t.length;r++)n.push(e.get(t[r]));for(r=0;r<n.length;r++)e.set(r,n[r]);e.length=t.length},t.reflowSmallerGetNewLineLengths=function(e,t,r){for(var i=[],o=e.map((function(r,i){return n(e,i,t)})).reduce((function(e,t){return e+t})),a=0,s=0,l=0;l<o;){if(o-l<r){i.push(o-l);break}a+=r;var c=n(e,s,t);a>c&&(a-=c,s++);var u=2===e[s].getWidth(a-1);u&&a--;var f=u?r-1:r;i.push(f),l+=f}return i},t.getWrappedLineTrimmedLength=n},5295:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;var o=n(9092),a=n(8460),s=function(e){function t(t,n){var r=e.call(this)||this;return r._optionsService=t,r._bufferService=n,r._onBufferActivate=r.register(new a.EventEmitter),r.reset(),r}return i(t,e),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this._normal=new o.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new o.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()},Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},t.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},t.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},t.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},t}(n(844).Disposable);t.BufferSet=s},511:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;var o=n(482),a=n(643),s=n(3734),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.content=0,t.fg=0,t.bg=0,t.extended=new s.ExtendedAttrs,t.combinedData="",t}return i(t,e),t.fromCharData=function(e){var n=new t;return n.setFromCharData(e),n},t.prototype.isCombined=function(){return 2097152&this.content},t.prototype.getWidth=function(){return this.content>>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,o.stringFromCodePoint)(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[a.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[a.CHAR_DATA_CHAR_INDEX].length){var n=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var r=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(n-55296)+r-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(s.AttributeData);t.CellData=l},643:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},4863:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var o=n(8460),a=function(e){function t(n){var r=e.call(this)||this;return r.line=n,r._id=t._nextId++,r.isDisposed=!1,r._onDispose=new o.EventEmitter,r}return i(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),e.prototype.dispose.call(this))},t._nextId=1,t}(n(844).Disposable);t.Marker=a},7116:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"␤",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},2584:(e,t)=>{var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.C1_ESCAPED=t.C1=t.C0=void 0,function(e){e.NUL="\0",e.SOH="",e.STX="",e.ETX="",e.EOT="",e.ENQ="",e.ACK="",e.BEL="",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="",e.SI="",e.DLE="",e.DC1="",e.DC2="",e.DC3="",e.DC4="",e.NAK="",e.SYN="",e.ETB="",e.CAN="",e.EM="",e.SUB="",e.ESC="",e.FS="",e.GS="",e.RS="",e.US="",e.SP=" ",e.DEL=""}(n=t.C0||(t.C0={})),(r=t.C1||(t.C1={})).PAD="",r.HOP="",r.BPH="",r.NBH="",r.IND="",r.NEL="",r.SSA="",r.ESA="",r.HTS="",r.HTJ="",r.VTS="",r.PLD="",r.PLU="",r.RI="",r.SS2="",r.SS3="",r.DCS="",r.PU1="",r.PU2="",r.STS="",r.CCH="",r.MW="",r.SPA="",r.EPA="",r.SOS="",r.SGCI="",r.SCI="",r.CSI="",r.ST="",r.OSC="",r.PM="",r.APC="",(t.C1_ESCAPED||(t.C1_ESCAPED={})).ST=n.ESC+"\\"},7399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;var r=n(2584),i={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,o){var a={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B");break;case 8:if(e.shiftKey){a.key=r.C0.BS;break}if(e.altKey){a.key=r.C0.ESC+r.C0.DEL;break}a.key=r.C0.DEL;break;case 9:if(e.shiftKey){a.key=r.C0.ESC+"[Z";break}a.key=r.C0.HT,a.cancel=!0;break;case 13:a.key=e.altKey?r.C0.ESC+r.C0.CR:r.C0.CR,a.cancel=!0;break;case 27:a.key=r.C0.ESC,e.altKey&&(a.key=r.C0.ESC+r.C0.ESC),a.cancel=!0;break;case 37:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"D",a.key===r.C0.ESC+"[1;3D"&&(a.key=r.C0.ESC+(n?"b":"[1;5D"))):a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"C",a.key===r.C0.ESC+"[1;3C"&&(a.key=r.C0.ESC+(n?"f":"[1;5C"))):a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"A",n||a.key!==r.C0.ESC+"[1;3A"||(a.key=r.C0.ESC+"[1;5A")):a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"B",n||a.key!==r.C0.ESC+"[1;3B"||(a.key=r.C0.ESC+"[1;5B")):a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=r.C0.ESC+"[2~");break;case 46:a.key=s?r.C0.ESC+"[3;"+(s+1)+"~":r.C0.ESC+"[3~";break;case 36:a.key=s?r.C0.ESC+"[1;"+(s+1)+"H":t?r.C0.ESC+"OH":r.C0.ESC+"[H";break;case 35:a.key=s?r.C0.ESC+"[1;"+(s+1)+"F":t?r.C0.ESC+"OF":r.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:e.ctrlKey?a.key=r.C0.ESC+"[5;"+(s+1)+"~":a.key=r.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:e.ctrlKey?a.key=r.C0.ESC+"[6;"+(s+1)+"~":a.key=r.C0.ESC+"[6~";break;case 112:a.key=s?r.C0.ESC+"[1;"+(s+1)+"P":r.C0.ESC+"OP";break;case 113:a.key=s?r.C0.ESC+"[1;"+(s+1)+"Q":r.C0.ESC+"OQ";break;case 114:a.key=s?r.C0.ESC+"[1;"+(s+1)+"R":r.C0.ESC+"OR";break;case 115:a.key=s?r.C0.ESC+"[1;"+(s+1)+"S":r.C0.ESC+"OS";break;case 116:a.key=s?r.C0.ESC+"[15;"+(s+1)+"~":r.C0.ESC+"[15~";break;case 117:a.key=s?r.C0.ESC+"[17;"+(s+1)+"~":r.C0.ESC+"[17~";break;case 118:a.key=s?r.C0.ESC+"[18;"+(s+1)+"~":r.C0.ESC+"[18~";break;case 119:a.key=s?r.C0.ESC+"[19;"+(s+1)+"~":r.C0.ESC+"[19~";break;case 120:a.key=s?r.C0.ESC+"[20;"+(s+1)+"~":r.C0.ESC+"[20~";break;case 121:a.key=s?r.C0.ESC+"[21;"+(s+1)+"~":r.C0.ESC+"[21~";break;case 122:a.key=s?r.C0.ESC+"[23;"+(s+1)+"~":r.C0.ESC+"[23~";break;case 123:a.key=s?r.C0.ESC+"[24;"+(s+1)+"~":r.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!o||!e.altKey||e.metaKey)!n||e.altKey||e.ctrlKey||e.shiftKey||!e.metaKey?e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&("_"===e.key&&(a.key=r.C0.US),"@"===e.key&&(a.key=r.C0.NUL)):65===e.keyCode&&(a.type=1);else{var l=i[e.keyCode],c=null==l?void 0:l[e.shiftKey?1:0];if(c)a.key=r.C0.ESC+c;else if(e.keyCode>=65&&e.keyCode<=90){var u=e.ctrlKey?e.keyCode-64:e.keyCode+32,f=String.fromCharCode(u);e.shiftKey&&(f=f.toUpperCase()),a.key=r.C0.ESC+f}else"Dead"===e.key&&e.code.startsWith("Key")&&(f=e.code.slice(3,4),e.shiftKey||(f=f.toLowerCase()),a.key=r.C0.ESC+f,a.cancel=!0)}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=r.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=r.C0.DEL:219===e.keyCode?a.key=r.C0.ESC:220===e.keyCode?a.key=r.C0.FS:221===e.keyCode&&(a.key=r.C0.GS)}return a}},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r="",i=t;i<n;++i){var o=e[i];o>65535?(o-=65536,r+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):r+=String.fromCharCode(o)}return r};var n=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var r=0,i=0;this._interim&&(56320<=(s=e.charCodeAt(i++))&&s<=57343?t[r++]=1024*(this._interim-55296)+s-56320+65536:(t[r++]=this._interim,t[r++]=s),this._interim=0);for(var o=i;o<n;++o){var a=e.charCodeAt(o);if(55296<=a&&a<=56319){if(++o>=n)return this._interim=a,r;var s;56320<=(s=e.charCodeAt(o))&&s<=57343?t[r++]=1024*(a-55296)+s-56320+65536:(t[r++]=a,t[r++]=s)}else 65279!==a&&(t[r++]=a)}return r},e}();t.StringToUtf32=n;var r=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var r,i,o,a,s=0,l=0,c=0;if(this.interim[0]){var u=!1,f=this.interim[0];f&=192==(224&f)?31:224==(240&f)?15:7;for(var d=0,p=void 0;(p=63&this.interim[++d])&&d<4;)f<<=6,f|=p;for(var h=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=h-d;c<m;){if(c>=n)return 0;if(128!=(192&(p=e[c++]))){c--,u=!0;break}this.interim[d++]=p,f<<=6,f|=63&p}u||(2===h?f<128?c--:t[s++]=f:3===h?f<2048||f>=55296&&f<=57343||65279===f||(t[s++]=f):f<65536||f>1114111||(t[s++]=f)),this.interim.fill(0)}for(var g=n-4,v=c;v<n;){for(;!(!(v<g)||128&(r=e[v])||128&(i=e[v+1])||128&(o=e[v+2])||128&(a=e[v+3]));)t[s++]=r,t[s++]=i,t[s++]=o,t[s++]=a,v+=4;if((r=e[v++])<128)t[s++]=r;else if(192==(224&r)){if(v>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[v++]))){v--;continue}if((l=(31&r)<<6|63&i)<128){v--;continue}t[s++]=l}else if(224==(240&r)){if(v>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=r,this.interim[1]=i,s;if(128!=(192&(o=e[v++]))){v--;continue}if((l=(15&r)<<12|(63&i)<<6|63&o)<2048||l>=55296&&l<=57343||65279===l)continue;t[s++]=l}else if(240==(248&r)){if(v>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=r,this.interim[1]=i,s;if(128!=(192&(o=e[v++]))){v--;continue}if(v>=n)return this.interim[0]=r,this.interim[1]=i,this.interim[2]=o,s;if(128!=(192&(a=e[v++]))){v--;continue}if((l=(7&r)<<18|(63&i)<<12|(63&o)<<6|63&a)<65536||l>1114111)continue;t[s++]=l}}return s},e}();t.Utf8ToUtf32=r},225:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;var r,i=n(8273),o=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],a=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],s=function(){function e(){if(this.version="6",!r){r=new Uint8Array(65536),(0,i.fill)(r,1),r[0]=0,(0,i.fill)(r,0,1,32),(0,i.fill)(r,0,127,160),(0,i.fill)(r,2,4352,4448),r[9001]=2,r[9002]=2,(0,i.fill)(r,2,11904,42192),r[12351]=1,(0,i.fill)(r,2,44032,55204),(0,i.fill)(r,2,63744,64256),(0,i.fill)(r,2,65040,65050),(0,i.fill)(r,2,65072,65136),(0,i.fill)(r,2,65280,65377),(0,i.fill)(r,2,65504,65511);for(var e=0;e<o.length;++e)(0,i.fill)(r,0,o[e][0],o[e][1]+1)}}return e.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?r[e]:function(e,t){var n,r=0,i=t.length-1;if(e<t[0][0]||e>t[i][1])return!1;for(;i>=r;)if(e>t[n=r+i>>1][1])r=n+1;else{if(!(e<t[n][0]))return!0;i=n-1}return!1}(e,a)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=s},5981:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;var r=n(8460),i="undefined"==typeof queueMicrotask?function(e){Promise.resolve().then(e)}:queueMicrotask,o=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0,this._onWriteParsed=new r.EventEmitter}return Object.defineProperty(e.prototype,"onWriteParsed",{get:function(){return this._onWriteParsed.event},enumerable:!1,configurable:!0}),e.prototype.writeSync=function(e,t){if(void 0!==t&&this._syncCalls>t)this._syncCalls=0;else if(this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var n;for(this._isSyncWriting=!0;n=this._writeBuffer.shift();){this._action(n);var r=this._callbacks.shift();r&&r()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}},e.prototype.write=function(e,t){var n=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return n._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(e,t){var n=this;void 0===e&&(e=0),void 0===t&&(t=!0);for(var r=e||Date.now();this._writeBuffer.length>this._bufferOffset;){var o=this._writeBuffer[this._bufferOffset],a=this._action(o,t);if(a)return void a.catch((function(e){return i((function(){throw e})),Promise.resolve(!1)})).then((function(e){return Date.now()-r>=12?setTimeout((function(){return n._innerWrite(0,e)})):n._innerWrite(r,e)}));var s=this._callbacks[this._bufferOffset];if(s&&s(),this._bufferOffset++,this._pendingData-=o.length,Date.now()-r>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return n._innerWrite()}))):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0),this._onWriteParsed.fire()},e}();t.WriteBuffer=o},5941:function(e,t){var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.toRgbString=t.parseColor=void 0;var r=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,i=/^[\da-f]+$/;function o(e,t){var n=e.toString(16),r=n.length<2?"0"+n:n;switch(t){case 4:return n[0];case 8:return r;case 12:return(r+r).slice(0,3);default:return r+r}}t.parseColor=function(e){if(e){var t=e.toLowerCase();if(0===t.indexOf("rgb:")){t=t.slice(4);var n=r.exec(t);if(n){var o=n[1]?15:n[4]?255:n[7]?4095:65535;return[Math.round(parseInt(n[1]||n[4]||n[7]||n[10],16)/o*255),Math.round(parseInt(n[2]||n[5]||n[8]||n[11],16)/o*255),Math.round(parseInt(n[3]||n[6]||n[9]||n[12],16)/o*255)]}}else if(0===t.indexOf("#")&&(t=t.slice(1),i.exec(t)&&[3,6,9,12].includes(t.length))){for(var a=t.length/3,s=[0,0,0],l=0;l<3;++l){var c=parseInt(t.slice(a*l,a*l+a),16);s[l]=1===a?c<<4:2===a?c:3===a?c>>4:c>>8}return s}}},t.toRgbString=function(e,t){void 0===t&&(t=16);var r=n(e,3),i=r[0],a=r[1],s=r[2];return"rgb:"+o(i,t)+"/"+o(a,t)+"/"+o(s,t)}},5770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},6351:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;var r=n(482),i=n(8742),o=n(5770),a=[],s=function(){function e(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=a},e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){if(this._active.length)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].unhook(!1);this._stack.paused=!1,this._active=a,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,n){if(this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].put(e,t,n);else this._handlerFb(this._ident,"PUT",(0,r.utf32ToString)(e,t,n))},e.prototype.unhook=function(e,t){if(void 0===t&&(t=!0),this._active.length){var n=!1,r=this._active.length-1,i=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=t,i=this._stack.fallThrough,this._stack.paused=!1),!i&&!1===n){for(;r>=0&&!0!==(n=this._active[r].unhook(e));r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if((n=this._active[r].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0},e}();t.DcsParser=s;var l=new i.Params;l.addParam(0);var c=function(){function e(e){this._handler=e,this._data="",this._params=l,this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.length>1||e.params[0]?e.clone():l,this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=(0,r.utf32ToString)(e,t,n),this._data.length>o.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t=this,n=!1;if(this._hitLimit)n=!1;else if(e&&(n=this._handler(this._data,this._params))instanceof Promise)return n.then((function(e){return t._params=l,t._data="",t._hitLimit=!1,e}));return this._params=l,this._data="",this._hitLimit=!1,n},e}();t.DcsHandler=c},2015:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;var o=n(844),a=n(8273),s=n(8742),l=n(6242),c=n(6351),u=function(){function e(e){this.table=new Uint8Array(e)}return e.prototype.setDefault=function(e,t){(0,a.fill)(this.table,e<<4|t)},e.prototype.add=function(e,t,n,r){this.table[t<<8|e]=n<<4|r},e.prototype.addMany=function(e,t,n,r){for(var i=0;i<e.length;i++)this.table[t<<8|e[i]]=n<<4|r},e}();t.TransitionTable=u;var f=160;t.VT500_TRANSITION_TABLE=function(){var e=new u(4095),t=Array.apply(null,Array(256)).map((function(e,t){return t})),n=function(e,n){return t.slice(e,n)},r=n(32,127),i=n(0,24);i.push(25),i.push.apply(i,n(28,32));var o,a=n(0,14);for(o in e.setDefault(1,0),e.addMany(r,0,2,0),a)e.addMany([24,26,153,154],o,3,0),e.addMany(n(128,144),o,3,0),e.addMany(n(144,152),o,3,0),e.add(156,o,0,0),e.add(27,o,11,1),e.add(157,o,4,8),e.addMany([152,158,159],o,0,7),e.add(155,o,11,3),e.add(144,o,11,9);return e.addMany(i,0,3,0),e.addMany(i,1,3,1),e.add(127,1,0,1),e.addMany(i,8,0,8),e.addMany(i,3,3,3),e.add(127,3,0,3),e.addMany(i,4,3,4),e.add(127,4,0,4),e.addMany(i,6,3,6),e.addMany(i,5,3,5),e.add(127,5,0,5),e.addMany(i,2,3,2),e.add(127,2,0,2),e.add(93,1,4,8),e.addMany(r,8,5,8),e.add(127,8,5,8),e.addMany([156,27,24,26,7],8,6,0),e.addMany(n(28,32),8,0,8),e.addMany([88,94,95],1,0,7),e.addMany(r,7,0,7),e.addMany(i,7,0,7),e.add(156,7,0,0),e.add(127,7,0,7),e.add(91,1,11,3),e.addMany(n(64,127),3,7,0),e.addMany(n(48,60),3,8,4),e.addMany([60,61,62,63],3,9,4),e.addMany(n(48,60),4,8,4),e.addMany(n(64,127),4,7,0),e.addMany([60,61,62,63],4,0,6),e.addMany(n(32,64),6,0,6),e.add(127,6,0,6),e.addMany(n(64,127),6,0,0),e.addMany(n(32,48),3,9,5),e.addMany(n(32,48),5,9,5),e.addMany(n(48,64),5,0,6),e.addMany(n(64,127),5,7,0),e.addMany(n(32,48),4,9,5),e.addMany(n(32,48),1,9,2),e.addMany(n(32,48),2,9,2),e.addMany(n(48,127),2,10,0),e.addMany(n(48,80),1,10,0),e.addMany(n(81,88),1,10,0),e.addMany([89,90,92],1,10,0),e.addMany(n(96,127),1,10,0),e.add(80,1,11,9),e.addMany(i,9,0,9),e.add(127,9,0,9),e.addMany(n(28,32),9,0,9),e.addMany(n(32,48),9,9,12),e.addMany(n(48,60),9,8,10),e.addMany([60,61,62,63],9,9,10),e.addMany(i,11,0,11),e.addMany(n(32,128),11,0,11),e.addMany(n(28,32),11,0,11),e.addMany(i,10,0,10),e.add(127,10,0,10),e.addMany(n(28,32),10,0,10),e.addMany(n(48,60),10,8,10),e.addMany([60,61,62,63],10,0,11),e.addMany(n(32,48),10,9,12),e.addMany(i,12,0,12),e.add(127,12,0,12),e.addMany(n(28,32),12,0,12),e.addMany(n(32,48),12,9,12),e.addMany(n(48,64),12,0,11),e.addMany(n(64,127),12,12,13),e.addMany(n(64,127),10,12,13),e.addMany(n(64,127),9,12,13),e.addMany(i,13,13,13),e.addMany(r,13,13,13),e.add(127,13,0,13),e.addMany([27,156,24,26],13,14,0),e.add(f,0,2,0),e.add(f,8,5,8),e.add(f,6,0,6),e.add(f,11,0,11),e.add(f,13,13,13),e}();var d=function(e){function n(n){void 0===n&&(n=t.VT500_TRANSITION_TABLE);var r=e.call(this)||this;return r._transitions=n,r._parseStack={state:0,handlers:[],handlerPos:0,transition:0,chunkPos:0},r.initialState=0,r.currentState=r.initialState,r._params=new s.Params,r._params.addParam(0),r._collect=0,r.precedingCodepoint=0,r._printHandlerFb=function(e,t,n){},r._executeHandlerFb=function(e){},r._csiHandlerFb=function(e,t){},r._escHandlerFb=function(e){},r._errorHandlerFb=function(e){return e},r._printHandler=r._printHandlerFb,r._executeHandlers=Object.create(null),r._csiHandlers=Object.create(null),r._escHandlers=Object.create(null),r._oscParser=new l.OscParser,r._dcsParser=new c.DcsParser,r._errorHandler=r._errorHandlerFb,r.registerEscHandler({final:"\\"},(function(){return!0})),r}return i(n,e),n.prototype._identifier=function(e,t){void 0===t&&(t=[64,126]);var n=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((n=e.prefix.charCodeAt(0))&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var r=0;r<e.intermediates.length;++r){var i=e.intermediates.charCodeAt(r);if(32>i||i>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=i}}if(1!==e.final.length)throw new Error("final must be a single byte");var o=e.final.charCodeAt(0);if(t[0]>o||o>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(n<<=8)|o},n.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},n.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},n.prototype.setPrintHandler=function(e){this._printHandler=e},n.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},n.prototype.registerEscHandler=function(e,t){var n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);var r=this._escHandlers[n];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},n.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},n.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},n.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},n.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},n.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},n.prototype.registerCsiHandler=function(e,t){var n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);var r=this._csiHandlers[n];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},n.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},n.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},n.prototype.registerDcsHandler=function(e,t){return this._dcsParser.registerHandler(this._identifier(e),t)},n.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},n.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},n.prototype.registerOscHandler=function(e,t){return this._oscParser.registerHandler(e,t)},n.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},n.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},n.prototype.setErrorHandler=function(e){this._errorHandler=e},n.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},n.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])},n.prototype._preserveStack=function(e,t,n,r,i){this._parseStack.state=e,this._parseStack.handlers=t,this._parseStack.handlerPos=n,this._parseStack.transition=r,this._parseStack.chunkPos=i},n.prototype.parse=function(e,t,n){var r,i=0,o=0,a=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,a=this._parseStack.chunkPos+1;else{if(void 0===n||1===this._parseStack.state)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var s=this._parseStack.handlers,l=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===n&&l>-1)for(;l>=0&&!0!==(r=s[l](this._params));l--)if(r instanceof Promise)return this._parseStack.handlerPos=l,r;this._parseStack.handlers=[];break;case 4:if(!1===n&&l>-1)for(;l>=0&&!0!==(r=s[l]());l--)if(r instanceof Promise)return this._parseStack.handlerPos=l,r;this._parseStack.handlers=[];break;case 6:if(i=e[this._parseStack.chunkPos],r=this._dcsParser.unhook(24!==i&&26!==i,n))return r;27===i&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(i=e[this._parseStack.chunkPos],r=this._oscParser.end(24!==i&&26!==i,n))return r;27===i&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,a=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(var c=a;c<t;++c){switch(i=e[c],(o=this._transitions.table[this.currentState<<8|(i<160?i:f)])>>4){case 2:for(var u=c+1;;++u){if(u>=t||(i=e[u])<32||i>126&&i<f){this._printHandler(e,c,u),c=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<f){this._printHandler(e,c,u),c=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<f){this._printHandler(e,c,u),c=u-1;break}if(++u>=t||(i=e[u])<32||i>126&&i<f){this._printHandler(e,c,u),c=u-1;break}}break;case 3:this._executeHandlers[i]?this._executeHandlers[i]():this._executeHandlerFb(i),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:c,code:i,currentState:this.currentState,collect:this._collect,params:this._params,abort:!1}).abort)return;break;case 7:for(var d=(s=this._csiHandlers[this._collect<<8|i])?s.length-1:-1;d>=0&&!0!==(r=s[d](this._params));d--)if(r instanceof Promise)return this._preserveStack(3,s,d,o,c),r;d<0&&this._csiHandlerFb(this._collect<<8|i,this._params),this.precedingCodepoint=0;break;case 8:do{switch(i){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(i-48)}}while(++c<t&&(i=e[c])>47&&i<60);c--;break;case 9:this._collect<<=8,this._collect|=i;break;case 10:for(var p=this._escHandlers[this._collect<<8|i],h=p?p.length-1:-1;h>=0&&!0!==(r=p[h]());h--)if(r instanceof Promise)return this._preserveStack(4,p,h,o,c),r;h<0&&this._escHandlerFb(this._collect<<8|i),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|i,this._params);break;case 13:for(var m=c+1;;++m)if(m>=t||24===(i=e[m])||26===i||27===i||i>127&&i<f){this._dcsParser.put(e,c,m),c=m-1;break}break;case 14:if(r=this._dcsParser.unhook(24!==i&&26!==i))return this._preserveStack(6,[],0,o,c),r;27===i&&(o|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0;break;case 4:this._oscParser.start();break;case 5:for(var g=c+1;;g++)if(g>=t||(i=e[g])<32||i>127&&i<f){this._oscParser.put(e,c,g),c=g-1;break}break;case 6:if(r=this._oscParser.end(24!==i&&26!==i))return this._preserveStack(5,[],0,o,c),r;27===i&&(o|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0}this.currentState=15&o}},n}(o.Disposable);t.EscapeSequenceParser=d},6242:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;var r=n(5770),i=n(482),o=[],a=function(){function e(){this._state=0,this._active=o,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=o},e.prototype.reset=function(){if(2===this._state)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].end(!1);this._stack.paused=!1,this._active=o,this._id=-1,this._state=0},e.prototype._start=function(){if(this._active=this._handlers[this._id]||o,this._active.length)for(var e=this._active.length-1;e>=0;e--)this._active[e].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,n){if(this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,n);else this._handlerFb(this._id,"PUT",(0,i.utf32ToString)(e,t,n))},e.prototype.start=function(){this.reset(),this._state=1},e.prototype.put=function(e,t,n){if(3!==this._state){if(1===this._state)for(;t<n;){var r=e[t++];if(59===r){this._state=2,this._start();break}if(r<48||57<r)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+r-48}2===this._state&&n-t>0&&this._put(e,t,n)}},e.prototype.end=function(e,t){if(void 0===t&&(t=!0),0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){var n=!1,r=this._active.length-1,i=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,n=t,i=this._stack.fallThrough,this._stack.paused=!1),!i&&!1===n){for(;r>=0&&!0!==(n=this._active[r].end(e));r--)if(n instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,n;r--}for(;r>=0;r--)if((n=this._active[r].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,n}else this._handlerFb(this._id,"END",e);this._active=o,this._id=-1,this._state=0}},e}();t.OscParser=a;var s=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=(0,i.utf32ToString)(e,t,n),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t=this,n=!1;if(this._hitLimit)n=!1;else if(e&&(n=this._handler(this._data))instanceof Promise)return n.then((function(e){return t._data="",t._hitLimit=!1,e}));return this._data="",this._hitLimit=!1,n},e}();t.OscHandler=s},8742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;var n=2147483647,r=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var n=new e;if(!t.length)return n;for(var r=Array.isArray(t[0])?1:0;r<t.length;++r){var i=t[r];if(Array.isArray(i))for(var o=0;o<i.length;++o)n.addSubParam(i[o]);else n.addParam(i)}return n},e.prototype.clone=function(){var t=new e(this.maxLength,this.maxSubParamsLength);return t.params.set(this.params),t.length=this.length,t._subParams.set(this._subParams),t._subParamsLength=this._subParamsLength,t._subParamsIdx.set(this._subParamsIdx),t._rejectDigits=this._rejectDigits,t._rejectSubDigits=this._rejectSubDigits,t._digitIsSub=this._digitIsSub,t},e.prototype.toArray=function(){for(var e=[],t=0;t<this.length;++t){e.push(this.params[t]);var n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,r))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>n?n:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>n?n:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t<this.length;++t){var n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&(e[t]=this._subParams.slice(n,r))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var r=this._digitIsSub?this._subParams:this.params,i=r[t-1];r[t-1]=~i?Math.min(10*i+e,n):e}},e}();t.Params=r},5741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0;var n=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var n=this,r={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(r),t.dispose=function(){return n._wrappedAddonDispose(r)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,n=0;n<this._addons.length;n++)if(this._addons[n]===e){t=n;break}if(-1===t)throw new Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(t,1)}},e}();t.AddonManager=n},8771:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferApiView=void 0;var r=n(3785),i=n(511),o=function(){function e(e,t){this._buffer=e,this.type=t}return e.prototype.init=function(e){return this._buffer=e,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new r.BufferLineApiView(t)},e.prototype.getNullCell=function(){return new i.CellData},e}();t.BufferApiView=o},3785:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLineApiView=void 0;var r=n(511),i=function(){function e(e){this._line=e}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new r.CellData)},e.prototype.translateToString=function(e,t,n){return this._line.translateToString(e,t,n)},e}();t.BufferLineApiView=i},8285:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferNamespaceApi=void 0;var r=n(8771),i=n(8460),o=function(){function e(e){var t=this;this._core=e,this._onBufferChange=new i.EventEmitter,this._normal=new r.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new r.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate((function(){return t._onBufferChange.fire(t.active)}))}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),e}();t.BufferNamespaceApi=o},7975:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ParserApi=void 0;var n=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.registerCsiHandler(e,(function(e){return t(e.toArray())}))},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.registerDcsHandler(e,(function(e,n){return t(e,n.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.registerEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.registerOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}();t.ParserApi=n},7090:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeApi=void 0;var n=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!1,configurable:!0}),e}();t.UnicodeApi=n},744:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;var s=n(2585),l=n(5295),c=n(8460),u=n(844);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var f=function(e){function n(n){var r=e.call(this)||this;return r._optionsService=n,r.isUserScrolling=!1,r._onResize=new c.EventEmitter,r._onScroll=new c.EventEmitter,r.cols=Math.max(n.rawOptions.cols||0,t.MINIMUM_COLS),r.rows=Math.max(n.rawOptions.rows||0,t.MINIMUM_ROWS),r.buffers=new l.BufferSet(n,r),r}return i(n,e),Object.defineProperty(n.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},n.prototype.resize=function(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:t})},n.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},n.prototype.scroll=function(e,t){void 0===t&&(t=!1);var n,r=this.buffer;(n=this._cachedBlankLine)&&n.length===this.cols&&n.getFg(0)===e.fg&&n.getBg(0)===e.bg||(n=r.getBlankLine(e,t),this._cachedBlankLine=n),n.isWrapped=t;var i=r.ybase+r.scrollTop,o=r.ybase+r.scrollBottom;if(0===r.scrollTop){var a=r.lines.isFull;o===r.lines.length-1?a?r.lines.recycle().copyFrom(n):r.lines.push(n.clone()):r.lines.splice(o+1,0,n.clone()),a?this.isUserScrolling&&(r.ydisp=Math.max(r.ydisp-1,0)):(r.ybase++,this.isUserScrolling||r.ydisp++)}else{var s=o-i+1;r.lines.shiftElements(i+1,s-1,-1),r.lines.set(o,n.clone())}this.isUserScrolling||(r.ydisp=r.ybase),this._onScroll.fire(r.ydisp)},n.prototype.scrollLines=function(e,t,n){var r=this.buffer;if(e<0){if(0===r.ydisp)return;this.isUserScrolling=!0}else e+r.ydisp>=r.ybase&&(this.isUserScrolling=!1);var i=r.ydisp;r.ydisp=Math.max(Math.min(r.ydisp+e,r.ybase),0),i!==r.ydisp&&(t||this._onScroll.fire(r.ydisp))},n.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},n.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},n.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},n.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},o([a(0,s.IOptionsService)],n)}(u.Disposable);t.BufferService=f},7994:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0;var n=function(){function e(){this.glevel=0,this._charsets=[]}return e.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},e.prototype.setgCharset=function(e,t){this._charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=n},1753:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;var a=n(2585),s=n(8460),l={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}var u=String.fromCharCode,f={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"[M"+u(t[0])+u(t[1])+u(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"[<"+c(e,!0)+";"+e.col+";"+e.row+t}},d=function(){function e(e,t){var n,r,i,a;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new s.EventEmitter,this._lastEvent=null;try{for(var c=o(Object.keys(l)),u=c.next();!u.done;u=c.next()){var d=u.value;this.addProtocol(d,l[d])}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}try{for(var p=o(Object.keys(f)),h=p.next();!h.done;h=p.next()){var m=h.value;this.addEncoding(m,f[m])}}catch(e){i={error:e}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"areMouseEventsActive",{get:function(){return 0!==this._protocols[this._activeProtocol].events},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!1,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},r([i(0,a.IBufferService),i(1,a.ICoreService)],e)}();t.CoreMouseService=d},6975:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;var s=n(2585),l=n(8460),c=n(1439),u=n(844),f=Object.freeze({insertMode:!1}),d=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),p=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._bufferService=n,o._logService=r,o._optionsService=i,o.isCursorInitialized=!1,o.isCursorHidden=!1,o._onData=o.register(new l.EventEmitter),o._onUserInput=o.register(new l.EventEmitter),o._onBinary=o.register(new l.EventEmitter),o._scrollToBottom=t,o.register({dispose:function(){return o._scrollToBottom=void 0}}),o.modes=(0,c.clone)(f),o.decPrivateModes=(0,c.clone)(d),o}return i(t,e),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.modes=(0,c.clone)(f),this.decPrivateModes=(0,c.clone)(d)},t.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.rawOptions.disableStdin){var n=this._bufferService.buffer;n.ybase!==n.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},t.prototype.triggerBinaryEvent=function(e){this._optionsService.rawOptions.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},o([a(1,s.IBufferService),a(2,s.ILogService),a(3,s.IOptionsService)],t)}(u.Disposable);t.CoreService=p},9074:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DecorationService=void 0;var s=n(8055),l=n(8460),c=n(844),u=n(6106),f=function(e){function t(){var t=e.call(this)||this;return t._decorations=new u.SortedList((function(e){return e.marker.line})),t._onDecorationRegistered=t.register(new l.EventEmitter),t._onDecorationRemoved=t.register(new l.EventEmitter),t}return i(t,e),Object.defineProperty(t.prototype,"onDecorationRegistered",{get:function(){return this._onDecorationRegistered.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onDecorationRemoved",{get:function(){return this._onDecorationRemoved.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"decorations",{get:function(){return this._decorations.values()},enumerable:!1,configurable:!0}),t.prototype.registerDecoration=function(e){var t=this;if(!e.marker.isDisposed){var n=new d(e);if(n){var r=n.marker.onDispose((function(){return n.dispose()}));n.onDispose((function(){n&&(t._decorations.delete(n)&&t._onDecorationRemoved.fire(n),r.dispose())})),this._decorations.insert(n),this._onDecorationRegistered.fire(n)}return n}},t.prototype.reset=function(){var e,t;try{for(var n=a(this._decorations.values()),r=n.next();!r.done;r=n.next())r.value.dispose()}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._decorations.clear()},t.prototype.getDecorationsAtLine=function(e){return o(this,(function(t){return[2,this._decorations.getKeyIterator(e)]}))},t.prototype.getDecorationsAtCell=function(e,t,n){var r,i,s,l,c,u,f,d,p,h,m;return o(this,(function(o){switch(o.label){case 0:r=0,i=0,o.label=1;case 1:o.trys.push([1,6,7,8]),s=a(this._decorations.getKeyIterator(t)),l=s.next(),o.label=2;case 2:return l.done?[3,5]:(c=l.value,r=null!==(p=c.options.x)&&void 0!==p?p:0,i=r+(null!==(h=c.options.width)&&void 0!==h?h:1),!(e>=r&&e<i)||n&&(null!==(m=c.options.layer)&&void 0!==m?m:"bottom")!==n?[3,4]:[4,c]);case 3:o.sent(),o.label=4;case 4:return l=s.next(),[3,2];case 5:return[3,8];case 6:return u=o.sent(),f={error:u},[3,8];case 7:try{l&&!l.done&&(d=s.return)&&d.call(s)}finally{if(f)throw f.error}return[7];case 8:return[2]}}))},t.prototype.dispose=function(){var e,t;try{for(var n=a(this._decorations.values()),r=n.next();!r.done;r=n.next()){var i=r.value;this._onDecorationRemoved.fire(i)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.reset()},t}(c.Disposable);t.DecorationService=f;var d=function(e){function t(t){var n=e.call(this)||this;return n.options=t,n.isDisposed=!1,n.onRenderEmitter=n.register(new l.EventEmitter),n.onRender=n.onRenderEmitter.event,n._onDispose=n.register(new l.EventEmitter),n.onDispose=n._onDispose.event,n._cachedBg=null,n._cachedFg=null,n.marker=t.marker,n.options.overviewRulerOptions&&!n.options.overviewRulerOptions.position&&(n.options.overviewRulerOptions.position="full"),n}return i(t,e),Object.defineProperty(t.prototype,"backgroundColorRGB",{get:function(){return null===this._cachedBg&&(this.options.backgroundColor?this._cachedBg=s.css.toColor(this.options.backgroundColor):this._cachedBg=void 0),this._cachedBg},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"foregroundColorRGB",{get:function(){return null===this._cachedFg&&(this.options.foregroundColor?this._cachedFg=s.css.toColor(this.options.foregroundColor):this._cachedFg=void 0),this._cachedFg},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this._onDispose.fire(),e.prototype.dispose.call(this))},t}(c.Disposable)},3730:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DirtyRowService=void 0;var o=n(2585),a=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){e<this._start?this._start=e:e>this._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var n=e;e=t,t=n}e<this._start&&(this._start=e),t>this._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},r([i(0,o.IBufferService)],e)}();t.DirtyRowService=a},4348:function(e,t,n){var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.InstantiationService=t.ServiceCollection=void 0;var a=n(2585),s=n(8343),l=function(){function e(){for(var e,t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];this._entries=new Map;try{for(var a=r(n),s=a.next();!s.done;s=a.next()){var l=i(s.value,2),c=l[0],u=l[1];this.set(c,u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}return e.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},e.prototype.forEach=function(e){this._entries.forEach((function(t,n){return e(n,t)}))},e.prototype.has=function(e){return this._entries.has(e)},e.prototype.get=function(e){return this._entries.get(e)},e}();t.ServiceCollection=l;var c=function(){function e(){this._services=new l,this._services.set(a.IInstantiationService,this)}return e.prototype.setService=function(e,t){this._services.set(e,t)},e.prototype.getService=function(e){return this._services.get(e)},e.prototype.createInstance=function(e){for(var t,n,a=[],l=1;l<arguments.length;l++)a[l-1]=arguments[l];var c=(0,s.getServiceDependencies)(e).sort((function(e,t){return e.index-t.index})),u=[];try{for(var f=r(c),d=f.next();!d.done;d=f.next()){var p=d.value,h=this._services.get(p.id);if(!h)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+p.id+".");u.push(h)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}var m=c.length>0?c[0].index:a.length;if(a.length!==m)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(m+1)+" conflicts with "+a.length+" static arguments");return new(e.bind.apply(e,o([void 0],i(o(o([],i(a),!1),i(u),!1)),!1)))},e}();t.InstantiationService=c},7866:function(e,t,n){var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.LogService=void 0;var s=n(2585),l={debug:s.LogLevelEnum.DEBUG,info:s.LogLevelEnum.INFO,warn:s.LogLevelEnum.WARN,error:s.LogLevelEnum.ERROR,off:s.LogLevelEnum.OFF},c=function(){function e(e){var t=this;this._optionsService=e,this.logLevel=s.LogLevelEnum.OFF,this._updateLogLevel(),this._optionsService.onOptionChange((function(e){"logLevel"===e&&t._updateLogLevel()}))}return e.prototype._updateLogLevel=function(){this.logLevel=l[this._optionsService.rawOptions.logLevel]},e.prototype._evalLazyOptionalParams=function(e){for(var t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())},e.prototype._log=function(e,t,n){this._evalLazyOptionalParams(n),e.call.apply(e,a([console,"xterm.js: "+t],o(n),!1))},e.prototype.debug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logLevel<=s.LogLevelEnum.DEBUG&&this._log(console.log,e,t)},e.prototype.info=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logLevel<=s.LogLevelEnum.INFO&&this._log(console.info,e,t)},e.prototype.warn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logLevel<=s.LogLevelEnum.WARN&&this._log(console.warn,e,t)},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logLevel<=s.LogLevelEnum.ERROR&&this._log(console.error,e,t)},r([i(0,s.IOptionsService)],e)}();t.LogService=c},7302:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsService=t.DEFAULT_OPTIONS=t.DEFAULT_BELL_SOUND=void 0;var i=n(8460),o=n(6114);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS={cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,customGlyphs:!0,bellSound:t.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:o.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",altClickMovesCursor:!0,convertEol:!1,termName:"xterm",cancelEvents:!1,overviewRulerWidth:void 0};var a=["normal","bold","100","200","300","400","500","600","700","800","900"],s=function(){function e(e){this._onOptionChange=new i.EventEmitter;var n=r({},t.DEFAULT_OPTIONS);for(var o in e)if(o in n)try{var a=e[o];n[o]=this._sanitizeAndValidateOption(o,a)}catch(e){console.error(e)}this.rawOptions=n,this.options=r({},n),this._setupOptions()}return Object.defineProperty(e.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),e.prototype._setupOptions=function(){var e=this,n=function(n){if(!(n in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');return e.rawOptions[n]},r=function(n,r){if(!(n in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');r=e._sanitizeAndValidateOption(n,r),e.rawOptions[n]!==r&&(e.rawOptions[n]=r,e._onOptionChange.fire(n))};for(var i in this.rawOptions){var o={get:n.bind(this,i),set:r.bind(this,i)};Object.defineProperty(this.options,i,o)}},e.prototype.setOption=function(e,t){this.options[e]=t},e.prototype._sanitizeAndValidateOption=function(e,n){switch(e){case"bellStyle":case"cursorStyle":case"rendererType":case"wordSeparator":n||(n=t.DEFAULT_OPTIONS[e]);break;case"fontWeight":case"fontWeightBold":if("number"==typeof n&&1<=n&&n<=1e3)break;n=a.includes(n)?n:t.DEFAULT_OPTIONS[e];break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(e+" cannot be less than 1, value: "+n);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+n);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+n);case"rows":case"cols":if(!n&&0!==n)throw new Error(e+" must be numeric, value: "+n)}return n},e.prototype.getOption=function(e){return this.options[e]},e}();t.OptionsService=s},8343:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0,t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e.di$dependencies||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var n=function(e,t,r){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,n){t.di$target===t?t.di$dependencies.push({id:e,index:n}):(t.di$dependencies=[{id:e,index:n}],t.di$target=t)}(n,e,r)};return n.toString=function(){return e},t.serviceRegistry.set(e,n),n}},2585:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IDecorationService=t.IUnicodeService=t.IOptionsService=t.ILogService=t.LogLevelEnum=t.IInstantiationService=t.IDirtyRowService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;var r,i=n(8343);t.IBufferService=(0,i.createDecorator)("BufferService"),t.ICoreMouseService=(0,i.createDecorator)("CoreMouseService"),t.ICoreService=(0,i.createDecorator)("CoreService"),t.ICharsetService=(0,i.createDecorator)("CharsetService"),t.IDirtyRowService=(0,i.createDecorator)("DirtyRowService"),t.IInstantiationService=(0,i.createDecorator)("InstantiationService"),(r=t.LogLevelEnum||(t.LogLevelEnum={}))[r.DEBUG=0]="DEBUG",r[r.INFO=1]="INFO",r[r.WARN=2]="WARN",r[r.ERROR=3]="ERROR",r[r.OFF=4]="OFF",t.ILogService=(0,i.createDecorator)("LogService"),t.IOptionsService=(0,i.createDecorator)("OptionsService"),t.IUnicodeService=(0,i.createDecorator)("UnicodeService"),t.IDecorationService=(0,i.createDecorator)("DecorationService")},1480:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;var r=n(8460),i=n(225),o=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new r.EventEmitter;var e=new i.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!1,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,n=e.length,r=0;r<n;++r){var i=e.charCodeAt(r);if(55296<=i&&i<=56319){if(++r>=n)return t+this.wcwidth(i);var o=e.charCodeAt(r);56320<=o&&o<=57343?i=1024*(i-55296)+o-56320+65536:t+=this.wcwidth(o)}t+=this.wcwidth(i)}return t},e}();t.UnicodeService=o}},t={};return function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}(4389)})()},99209:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},76625:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}function i(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&i<t;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,r=this.head;null!==r&&n<e;n++)r=r.next;var o=[];for(n=0;r&&n<t;n++)o.push(r.value),r=this.removeNode(r);for(null===r&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev),n=2;n<arguments.length;n++)r=i(this,r,arguments[n]);return o},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(99209)(r)}catch(e){}},96313:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(13649),i=n.n(r),o=n(37060),a=n.n(o),s=n(56271),l=n.n(s),c=n(89375),u=n(65134),f=a()(i()),d=l()(c.A),p=l()(u.A);f.push([e.id,'/*\n * Copyright 2016 balena.io\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *    http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@font-face {\n\tfont-family: \'SourceSansPro\';\n\tsrc: url('+d+") format('truetype');\n\tfont-weight: 500;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: 'SourceSansPro';\n\tsrc: url("+p+") format('truetype');\n\tfont-weight: 600;\n\tfont-style: normal;\n}\n\nhtml,\nbody {\n\tmargin: 0;\n\toverflow: hidden;\n\n\t/* Prevent white flash when running application */\n\tbackground-color: #4d5057;\n\n\t/* Prevent WebView bounce effect in OS X */\n\theight: 100%;\n\twidth: 100%;\n}\n\n/* Prevent text selection */\nbody {\n\t-webkit-user-select: none;\n\t-webkit-overflow-scrolling: touch;\n}\n\n/* Prevent blue outline */\na:focus,\ninput:focus,\nbutton:focus,\n[tabindex]:focus,\ninput[type='checkbox'] + div {\n\toutline: none !important;\n\tbox-shadow: none !important;\n}\n\n.disabled {\n\topacity: 0.4;\n}\n\n#rendition-tooltip-root > div {\n\tfont-family: 'SourceSansPro', sans-serif;\n}\n","",{version:3,sources:["webpack://./lib/gui/app/css/main.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;EAcE;;AAEF;CACC,4BAA4B;CAC5B,+DAAgE;CAChE,gBAAgB;CAChB,kBAAkB;AACnB;;AAEA;CACC,4BAA4B;CAC5B,+DAAiE;CACjE,gBAAgB;CAChB,kBAAkB;AACnB;;AAEA;;CAEC,SAAS;CACT,gBAAgB;;CAEhB,iDAAiD;CACjD,yBAAyB;;CAEzB,0CAA0C;CAC1C,YAAY;CACZ,WAAW;AACZ;;AAEA,2BAA2B;AAC3B;CACC,yBAAyB;CACzB,iCAAiC;AAClC;;AAEA,yBAAyB;AACzB;;;;;CAKC,wBAAwB;CACxB,2BAA2B;AAC5B;;AAEA;CACC,YAAY;AACb;;AAEA;CACC,wCAAwC;AACzC",sourcesContent:["/*\n * Copyright 2016 balena.io\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *    http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@font-face {\n\tfont-family: 'SourceSansPro';\n\tsrc: url('./fonts/SourceSansPro-Regular.ttf') format('truetype');\n\tfont-weight: 500;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: 'SourceSansPro';\n\tsrc: url('./fonts/SourceSansPro-SemiBold.ttf') format('truetype');\n\tfont-weight: 600;\n\tfont-style: normal;\n}\n\nhtml,\nbody {\n\tmargin: 0;\n\toverflow: hidden;\n\n\t/* Prevent white flash when running application */\n\tbackground-color: #4d5057;\n\n\t/* Prevent WebView bounce effect in OS X */\n\theight: 100%;\n\twidth: 100%;\n}\n\n/* Prevent text selection */\nbody {\n\t-webkit-user-select: none;\n\t-webkit-overflow-scrolling: touch;\n}\n\n/* Prevent blue outline */\na:focus,\ninput:focus,\nbutton:focus,\n[tabindex]:focus,\ninput[type='checkbox'] + div {\n\toutline: none !important;\n\tbox-shadow: none !important;\n}\n\n.disabled {\n\topacity: 0.4;\n}\n\n#rendition-tooltip-root > div {\n\tfont-family: 'SourceSansPro', sans-serif;\n}\n"],sourceRoot:""}]);const h=f},89375:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n.p+"efa76f8326aa5cee3bdd07d37e2a63d2.ttf"},65134:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n.p+"43cc81b496222dc9ce3ce7d6970a95a6.ttf"},6876:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(85072),i=n.n(r),o=n(97825),a=n.n(o),s=n(77659),l=n.n(s),c=n(55056),u=n.n(c),f=n(10540),d=n.n(f),p=n(41113),h=n.n(p),m=n(96313),g={};g.styleTagTransform=h(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=d(),i()(m.A,g);const v=m.A&&m.A.locals?m.A.locals:void 0},85072:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,f="".concat(c," ").concat(u);o[c]=u+1;var d=n(f),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var h=i(p,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:h,references:1})}a.push(f)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},77659:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},10540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},55056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},97825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},41113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},85133:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.main=t.requestMetadata=void 0;const r=n(84157),i=n(53260),o=n(60193),a=n(99443),s=n(81794),l=n(32451),c=n(6224),u=n(8330),f=n(40675),d=n(82380),p=n(35570),h=n(64547),m=n(99400),g=n(79380),v=n(88404),y=n(32508),b=n(42371),_=n(40233),w=n(29589),S=n(15303);n(6876);const x=n(14685);window.addEventListener("unhandledrejection",(e=>{const t=e.reason||e;v.logException(t),e.preventDefault()})),g.store.dispatch({type:g.Actions.SET_APPLICATION_SESSION_UUID,data:(0,c.v4)()}),g.store.dispatch({type:g.Actions.SET_FLASHING_WORKFLOW_UUID,data:(0,c.v4)()}),console.log(a.default`
	${a.default}
	 _____ _       _
	|  ___| |     | |
	| |__ | |_ ___| |__   ___ _ __
	|  __|| __/ __| '_ \\ / _ \\ '__|
	| |___| || (__| | | |  __/ |
	\\____/ \\__\\___|_| |_|\\___|_|

	Interested in joining the Etcher team?
	Drop us a line at join+etcher@balena.io

	Version = ${u.version}, Type = ${u.packageType}
`);const E=(0,o.debounce)(console.log,1e3,{maxWait:1e3});function k(e,t){return`${t} ${e}${1===t?"":"s"}`}(0,g.observe)((()=>{if(!h.isFlashing())return;const e=h.getFlashState();w.set(e);let t="";void 0!==e.eta&&(t=`eta in ${e.eta.toFixed(0)}s`);let n="";"decompressing"!==e.type&&(n=k("device",e.active)),E((0,a.default)({newline:" "})`
		${(0,o.capitalize)(e.type)}
		${n},
		${e.percentage}%
		at
		${(e.speed||0).toFixed(2)}
		MB/s
		(total ${(e.speed*e.active).toFixed(2)} MB/s)
		${t}
		with
		${k("failed device",e.failed)}
	`)})),(0,y.spawnChildAndConnect)({withPrivileges:!1}).then((({emit:e,registerHandler:n})=>{e("scan",{}),t.requestMetadata=async t=>(e("sourceMetadata",JSON.stringify(t)),new Promise((e=>n("sourceMetadata",(t=>{e(JSON.parse(t))}))))),n("drives",(e=>{var t;t=JSON.parse(e),h.isFlashing()||p.setDrives((0,o.values)(t))}))})).catch((e=>{throw new Error(`Failed to start the flasher process. error: ${e}`)}));let C=!1;v.initAnalytics(),window.addEventListener("beforeunload",(async e=>{if(h.isFlashing()&&!C){e.returnValue=!1,C=!0;try{await _.showWarning({confirmationLabel:x.t("yesExit"),rejectionLabel:x.t("cancel"),title:x.t("reallyExit"),description:d.warning.exitWhileFlashing()})&&i.process.exit(f.SUCCESS),C=!1}catch(e){b.report(e)}}})),t.main=async function(){try{const{init:e}=n(73887);await e()}catch(e){b.report(e)}l.render(s.createElement(S.default),document.getElementById("main"),(async()=>{const e=await m.get("fullscreen")?window.screen.width:window.outerWidth;try{r.webFrame.setZoomFactor(e/m.DEFAULT_WIDTH)}catch(e){}}))}},87238:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DriveSelector=void 0;const r=n(98994),i=n(54300),o=n(81794),a=n(12965),s=n(33388),l=n(71371),c=n(82380),u=n(20810),f=n(35570),d=n(62263),p=n(79380),h=n(88404),m=n(171),g=n(23652),v=n(26487),y=n(14685);function b(e){return void 0!==e.progress}function _(e){return void 0!==e.link}function w(e){return"number"==typeof e.size}const S=(0,s.default)((e=>o.createElement(g.Table,{...e})))`
	[data-display='table-head'],
	[data-display='table-body'] {
		> [data-display='table-row'] > [data-display='table-cell'] {
			&:nth-child(2) {
				width: 32%;
			}

			&:nth-child(3) {
				width: 15%;
			}

			&:nth-child(4) {
				width: 15%;
			}

			&:nth-child(5) {
				width: 32%;
			}
		}
	}
`,x=(0,s.default)((({value:e,...t})=>o.createElement("progress",{max:"100",value:e,...t})))`
	/* Reset the default appearance */
	appearance: none;

	::-webkit-progress-bar {
		width: 130px;
		height: 4px;
		background-color: #dde1f0;
		border-radius: 14px;
	}

	::-webkit-progress-value {
		background-color: #1496e1;
		border-radius: 14px;
	}
`;function E(e){return w(e)&&e.isSystem}class k extends o.Component{constructor(e){super(e);const t=this.props.selectedList||[];this.originalList=[...this.props.selectedList||[]],this.state={drives:(0,f.getDrives)(),image:(0,d.getImage)(),missingDriversModal:{},selectedList:t,showSystemDrives:!1},this.tableColumns=[{field:"description",label:y.t("drives.name"),render:(e,t)=>{if(w(t)){const n=(0,l.isDriveSizeLarge)(t),i=this.props.showWarnings&&(n||t.isSystem);return o.createElement(a.Flex,{alignItems:"center"},i&&o.createElement(r.default,{height:"1em",fill:t.isSystem?"#fca321":"#8f9297"}),o.createElement(a.Txt,{ml:i?8:0},(0,v.middleEllipsis)(e,32)))}return o.createElement(a.Txt,null,e)}},{field:"description",key:"size",label:y.t("drives.size"),render:(e,t)=>{if(w(t)&&null!==t.size)return(0,u.default)(t.size)}},{field:"description",key:"link",label:y.t("drives.location"),render:(e,t)=>o.createElement(a.Txt,null,t.displayName,_(t)&&o.createElement(o.Fragment,null," ","-"," ",o.createElement("b",null,o.createElement("a",{onClick:()=>this.installMissingDrivers(t)},t.linkCTA))))},{field:"description",key:"extra",label:o.createElement(o.Fragment,null),render:(e,t)=>b(t)?this.renderProgress(t.progress):w(t)?this.renderStatuses(t):void 0}]}driveShouldBeDisabled(e,t){return b(e)||_(e)||!(0,l.isDriveValid)(e,t,this.props.write)||this.props.write&&e.isReadOnly}getDisplayedDrives(e){return e.filter((e=>b(e)||_(e)||(0,d.isDriveSelected)(e.device)||this.state.showSystemDrives||!e.isSystem))}getDisabledDrives(e,t){return e.filter((e=>this.driveShouldBeDisabled(e,t))).map((e=>e.displayName))}renderProgress(e){return o.createElement(a.Flex,{flexDirection:"column"},o.createElement(a.Txt,{fontSize:12},"Initializing device"),o.createElement(x,{value:e}))}warningFromStatus(e,t){var n,r;switch(e){case c.compatibility.containsImage():return c.warning.sourceDrive();case c.compatibility.largeDrive():return c.warning.largeDriveSize();case c.compatibility.system():return c.warning.systemDrive();case c.compatibility.tooSmall():return c.warning.tooSmall({size:(null===(n=this.state.image)||void 0===n?void 0:n.recommendedDriveSize)||(null===(r=this.state.image)||void 0===r?void 0:r.size)||0},t);default:return""}}renderStatuses(e){const t=(0,l.getDriveImageCompatibilityStatuses)(e,this.state.image,this.props.write).slice(0,2);return o.createElement(o.Fragment,null,t.map((t=>{const n=function(e){switch(e){case c.compatibility.containsImage():return 16;case c.compatibility.system():case c.compatibility.tooSmall():return 5;default:return 14}}(t.message),r=this.warningFromStatus(t.message,{device:e.device,size:e.size||0});return o.createElement(a.Badge,{key:t.message,shade:n,mr:"8px",tooltip:this.props.showWarnings?r:""},t.message)})))}installMissingDrivers(e){e.link&&this.setState({missingDriversModal:{drive:e}})}componentDidMount(){this.unsubscribe=p.store.subscribe((()=>{const e=(0,f.getDrives)(),t=(0,d.getImage)();this.setState({drives:e,image:t,selectedList:this.props.updateSelectedList&&this.props.updateSelectedList()||[]})}))}componentWillUnmount(){var e;null===(e=this.unsubscribe)||void 0===e||e.call(this)}render(){const{cancel:e,done:t,...n}=this.props,{selectedList:r,drives:s,image:l,missingDriversModal:c}=this.state,u=this.getDisplayedDrives(s),d=this.getDisabledDrives(s,l),p=s.filter(E).length-u.filter(E).length,v=r.filter(E).length,b=this.props.showWarnings&&v;return o.createElement(g.Modal,{titleElement:o.createElement(a.Flex,{alignItems:"baseline",mb:18},o.createElement(a.Txt,{fontSize:24,align:"left"},this.props.titleLabel),o.createElement(a.Txt,{fontSize:11,ml:12,color:"#5b82a7",style:{fontWeight:600}},y.t("drives.find",{length:s.length}))),titleDetails:o.createElement(a.Txt,{fontSize:11},(0,f.getDrives)().length," found"),cancel:()=>e(this.originalList),done:()=>t(r),action:y.t("drives.select",{select:r.length}),primaryButtonProps:{primary:!b,warning:b,disabled:!(0,f.hasAvailableDrives)()},...n},(0,f.hasAvailableDrives)()?o.createElement(o.Fragment,null,o.createElement(S,{refFn:()=>{},checkedItems:r,checkedRowsNumber:r.length,multipleSelection:this.props.multipleSelection,columns:this.tableColumns,data:u,disabledRows:d,getRowClass:e=>w(e)&&e.isSystem?["system"]:[],rowKey:"displayName",onCheck:e=>{null==e&&(e=[]);let t=e.filter(w);if(this.props.multipleSelection){0===e.length&&(t=[]);const n=r.filter((e=>0===t.filter((t=>t.device===e.device)).length)),i=t.filter((e=>0===r.filter((t=>e.device===t.device)).length));return n.concat(i).forEach((e=>{this.props.onSelect&&this.props.onSelect(e)})),void this.setState({selectedList:t})}this.props.onSelect&&this.props.onSelect(t[t.length-1]),this.setState({selectedList:t.slice(t.length-1)})},onRowClick:e=>{if(!w(e)||this.driveShouldBeDisabled(e,l))return;this.props.onSelect&&this.props.onSelect(e);const t=r.findIndex((t=>t.device===e.device)),n=this.props.multipleSelection?[...r]:[];-1===t?n.push(e):n.splice(t,1),this.setState({selectedList:n})}}),p>0&&o.createElement(a.Link,{mt:15,mb:15,fontSize:"14px",onClick:()=>this.setState({showSystemDrives:!0})},o.createElement(a.Flex,{alignItems:"center"},o.createElement(i.default,{height:"1em",fill:"currentColor"}),o.createElement(a.Txt,{ml:8},y.t("drives.showHidden",{num:p}))))):o.createElement(a.Flex,{flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%"},this.props.emptyListIcon,o.createElement("b",null,this.props.emptyListLabel)),this.props.showWarnings&&v?o.createElement(g.Alert,{className:"system-drive-alert",style:{width:"67%"}},y.t("drives.systemDriveDanger")):null,void 0!==c.drive&&o.createElement(g.Modal,{width:400,title:c.drive.linkTitle,cancel:()=>this.setState({missingDriversModal:{}}),done:()=>{try{void 0!==c.drive&&(0,m.open)(c.drive.link)}catch(e){(0,h.logException)(e)}finally{this.setState({missingDriversModal:{}})}},action:y.t("yesContinue"),cancelButtonProps:{children:y.t("cancel")},children:c.drive.linkMessage||y.t("drives.openInBrowser",{link:c.drive.link})}))}}t.DriveSelector=k},95658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(98994),i=n(81794),o=n(12965),a=n(23652),s=n(26487),l=n(20810),c=n(14685);t.default=({done:e,cancel:t,isSystem:n,drivesWithWarnings:u})=>{let f=c.t("drives.largeDriveWarning"),d=c.t("drives.largeDriveWarningMsg");return n&&(f=c.t("drives.systemDriveWarning"),d=c.t("drives.systemDriveWarningMsg")),i.createElement(a.Modal,{footerShadow:!1,reverseFooterButtons:!0,done:e,cancel:t,cancelButtonProps:{primary:!1,warning:!0,children:c.t("drives.changeTarget")},action:c.t("sure"),primaryButtonProps:{primary:!1,outline:!0}},i.createElement(o.Flex,{flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%"},i.createElement(o.Flex,{flexDirection:"column"},i.createElement(r.default,{height:"2em",fill:"#fca321"}),i.createElement(o.Txt,{fontSize:"24px",color:"#fca321"},c.t("warning"))),i.createElement(o.Txt,{fontSize:"24px"},f),i.createElement(a.ScrollableFlex,{flexDirection:"column",backgroundColor:"#fff5e6",m:"2em 0",p:"1em 2em",width:"420px",maxHeight:"100px"},u.map(((e,t,n)=>i.createElement(i.Fragment,null,i.createElement(o.Flex,{justifyContent:"space-between",alignItems:"baseline"},i.createElement("strong",null,(0,s.middleEllipsis)(e.description,28))," ",e.size&&(0,l.default)(e.size)+" ",i.createElement(o.Badge,{shade:5},e.statuses[0].message)),t!==n.length-1?i.createElement("hr",{style:{width:"100%"}}):null)))),i.createElement(o.Txt,{style:{fontWeight:600}},d)))}},76080:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(81794),i=n(12965),o=n(6224),a=n(64547),s=n(62263),l=n(99400),c=n(79380),u=n(18604),f=n(78204),d=n(11864);t.default=function({goToMain:e}){var t;const[n,p]=r.useState(!1),[h,m]=r.useState("");(async()=>{m(await async function(){var e;return null!==(e=await l.get("successBannerURL"))&&void 0!==e?e:"https://efp.balena.io/success-banner?borderTop=false&darkBackground=true"}())})();const g=a.getFlashResults(),v=(c.store.getState().toJS().failedDeviceErrors||[]).map((([,e])=>({...e}))),{averageSpeed:y,blockmappedSize:b,bytesWritten:_,failed:w,size:S}=a.getFlashState(),{skip:x,results:E={bytesWritten:_,sourceMetadata:{size:S,blockmappedSize:b},averageFlashingSpeed:y,devices:{failed:w,successful:0}}}=g;return r.createElement(i.Flex,{height:"100%",justifyContent:"space-between"},r.createElement(i.Flex,{width:n?"36.2vw":"100vw",height:"100vh",alignItems:"center",justifyContent:"center",flexDirection:"column",style:{position:"absolute",top:0,zIndex:1,boxShadow:"0 2px 15px 0 rgba(0, 0, 0, 0.2)"}},r.createElement(f.FlashResults,{image:null===(t=s.getImage())||void 0===t?void 0:t.name,results:E,skip:x,errors:v,mb:"32px",goToMain:e}),r.createElement(u.FlashAnother,{onClick:()=>{!function(e){s.deselectAllDrives(),c.store.dispatch({type:c.Actions.SET_FLASHING_WORKFLOW_UUID,data:(0,o.v4)()}),e()}(e)}})),h.length&&r.createElement(d.SafeWebview,{src:h,onWebviewShow:p,style:{display:n?"flex":"none",position:"absolute",right:0,bottom:0,width:"63.8vw",height:"100vh"}}))}},18604:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlashAnother=void 0;const r=n(81794),i=n(23652),o=n(14685);t.FlashAnother=e=>r.createElement(i.BaseButton,{primary:!0,onClick:e.onClick},o.t("flash.another"))},78204:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlashResults=void 0;const r=n(93142),i=n(485),o=n(93214),a=n(81794),s=n(12965),l=n(33388),c=n(82380),u=n(10445),f=n(87064),d=n(35570),p=n(64547),h=n(62263),m=n(26487),g=n(23652),v=n(14685),y=(0,l.default)((e=>a.createElement(g.Table,{...e})))`
	&&& [data-display='table-head'],
	&&& [data-display='table-body'] {
		> [data-display='table-row'] {
			> [data-display='table-cell'] {
				&:first-child {
					width: 30%;
				}

				&:nth-child(2) {
					width: 20%;
				}

				&:last-child {
					width: 50%;
				}
			}
		}
	}
`,b=e=>{const t={width:"28px",fill:e.color,style:{marginTop:"-25px",marginLeft:"13px",zIndex:1}};return e.allFailed&&!e.skipped?a.createElement(o.default,{...t}):a.createElement(i.default,{...t})};function _(e){return e.map((e=>`${e.device}: ${e.message||e.code}`)).join("\n")}const w=[{field:"description",label:v.t("flash.target")},{field:"device",label:v.t("flash.location")},{field:"message",label:v.t("flash.error"),render:(e,{code:t})=>null!=e?e:t}];t.FlashResults=function({goToMain:e,image:t="",errors:n,results:i,skip:o,...l}){var S,x;const[E,k]=a.useState(!1),C=!o&&0===(null===(S=null==i?void 0:i.devices)||void 0===S?void 0:S.successful),O=0!==(null===(x=null==i?void 0:i.devices)||void 0===x?void 0:x.failed)||0!==(null==n?void 0:n.length),T=(0,u.bytesToMegabytes)(function(e){var t;const n=(null!==(t=e.sourceMetadata.blockmappedSize)&&void 0!==t?t:e.sourceMetadata.size)/e.averageFlashingSpeed;return e.sourceMetadata.size/n}(i)).toFixed(1);return a.createElement(s.Flex,{flexDirection:"column",...l},a.createElement(s.Flex,{alignItems:"center",flexDirection:"column"},a.createElement(s.Flex,{alignItems:"center",mt:"50px",mb:"32px",color:"#7e8085",flexDirection:"column"},a.createElement(f.default,{width:"40px",height:"40px",className:"disabled"}),a.createElement(b,{skipped:o,allFailed:C,color:C||O?"#c6c8c9":"#1ac135"}),a.createElement(s.Txt,null,(0,m.middleEllipsis)(t,24))),a.createElement(s.Txt,{fontSize:24,color:"#fff",mb:"17px"},C?v.t("flash.flashFailed"):v.t("flash.flashCompleted")),o?a.createElement(s.Txt,{color:"#7e8085"},v.t("flash.skip")):null),a.createElement(s.Flex,{flexDirection:"column",color:"#7e8085"},0!==i.devices.successful?a.createElement(s.Flex,{alignItems:"center"},a.createElement(r.default,{width:"14px",fill:"#1ac135"}),a.createElement(s.Txt,{ml:"10px",color:"#fff"},i.devices.successful),a.createElement(s.Txt,{ml:"10px"},c.progress.successful(i.devices.successful))):null,0!==n.length?a.createElement(s.Flex,{alignItems:"center"},a.createElement(r.default,{width:"14px",fill:"#ff4444"}),a.createElement(s.Txt,{ml:"10px",color:"#fff"},n.length),a.createElement(s.Txt,{ml:"10px",tooltip:_(n)},c.progress.failed(n.length)),a.createElement(s.Link,{ml:"10px",onClick:()=>k(!0)},v.t("flash.moreInfo"))):null,!C&&a.createElement(s.Txt,{fontSize:"10px",style:{fontWeight:500,textAlign:"center"},tooltip:v.t("flash.speedTip")},v.t("flash.speed",{speed:T}))),E&&a.createElement(g.Modal,{titleElement:a.createElement(s.Flex,{alignItems:"baseline",mb:18},a.createElement(s.Txt,{fontSize:24,align:"left"},v.t("failedTarget"))),action:v.t("failedRetry"),cancel:()=>k(!1),done:()=>{k(!1),(0,p.resetState)(),(0,d.getDrives)().map((e=>(h.deselectDrive(e.device),e.device))).filter((e=>n.some((t=>t.device===e)))).forEach((e=>h.selectDrive(e))),e()}},a.createElement(y,{columns:w,data:n})))}},62464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressButton=void 0;const r=n(81794),i=n(12965),o=n(33388),a=n(63576),s=n(23652),l=n(14685),c=(0,o.default)(i.ProgressBar)`
	> div {
		width: 100%;
		height: 12px;
		color: white !important;
		text-shadow: none !important;
		transition-duration: 0s;

		> div {
			transition-duration: 0s;
		}
	}

	width: 100%;
	height: 12px;
	margin-bottom: 6px;
	border-radius: 14px;
	font-size: 16px;
	line-height: 48px;

	background: #2f3033;
`,u={decompressing:"#00aeef",flashing:"#da60ff",verifying:"#1ac135"},f=(0,o.default)((({type:e,onClick:t,...n})=>{const o="verifying"===e?l.t("skip"):l.t("cancel");return r.createElement(i.Button,{plain:!0,onClick:()=>t(o),...n},o)}))`
	font-weight: 600;

	&&& {
		width: auto;
		height: auto;
		font-size: 14px;
	}
`;class d extends r.PureComponent{render(){const e=this.props.percentage,t=this.props.warning,{status:n,position:o}=(0,a.fromFlashState)({type:this.props.type,percentage:e,position:this.props.position}),d=this.props.type||"default";return this.props.active?r.createElement(r.Fragment,null,r.createElement(i.Flex,{alignItems:"baseline",justifyContent:"space-between",width:"100%",style:{marginTop:42,marginBottom:"6px",fontSize:16,fontWeight:600}},r.createElement(i.Flex,null,r.createElement(i.Txt,{color:"#fff"},n," "),r.createElement(i.Txt,{color:u[d]},o)),d&&r.createElement(f,{type:d,onClick:this.props.cancel,color:"#00aeef"})),r.createElement(c,{background:u[d],value:e})):r.createElement(s.StepButton,{primary:!t,warning:t,onClick:this.props.callback,disabled:this.props.disabled,style:{marginTop:30}},l.t("flash.flashNow"))}}t.ProgressButton=d},90256:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReducedFlashingInfos=void 0;const r=n(81794),i=n(12965),o=n(578),a=n(60149),s=n(97814),l=n(26487);class c extends r.Component{constructor(e){super(e),this.state={}}render(){const{imageName:e=""}=this.props;return r.createElement(i.Flex,{flexDirection:"column",style:this.props.style?this.props.style:void 0},r.createElement(i.Flex,{mb:16},r.createElement(s.SVGIcon,{disabled:!0,width:"21px",height:"21px",contents:this.props.imageLogo,fallback:a.default,style:{marginRight:"9px"}}),r.createElement(i.Txt,{style:{marginRight:"9px"},tooltip:{text:e,placement:"right"}},(0,l.middleEllipsis)(e,16)),r.createElement(i.Txt,{color:"#7e8085"},this.props.imageSize)),r.createElement(i.Flex,null,r.createElement(o.default,{width:"21px",height:"21px",style:{marginRight:"9px"}}),r.createElement(i.Txt,{tooltip:{text:this.props.driveLabel,placement:"right"}},(0,l.middleEllipsis)(this.props.driveTitle,16))))}}t.ReducedFlashingInfos=c},11864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SafeWebview=void 0;const r=n(84157),i=n(53260),o=n(60193),a=n(81794),s=n(8330),l=n(99400),c="persist:success-banner";class u extends a.PureComponent{constructor(e){super(e),this.webviewRef=a.createRef(),this.state={shouldShow:!0};const t=new window.URL(this.props.src);t.searchParams.set("etcher-version",s.version),t.searchParams.set("api-version","2"),t.searchParams.set("optOutAnalytics",(!l.getSync("errorReporting")).toString()),this.entryHref=t.href,this.handleDomReady=o.bind(this.handleDomReady,this),this.didFailLoad=o.bind(this.didFailLoad,this),this.didGetResponseDetails=o.bind(this.didGetResponseDetails,this),this.session=i.session.fromPartition(c,{cache:!1})}static logWebViewMessage(e){console.log("Message from SafeWebview:",e.message)}render(){const{style:e={flex:this.state.shouldShow?void 0:"0 1",width:this.state.shouldShow?void 0:"0",height:this.state.shouldShow?void 0:"0"}}=this.props;return a.createElement("webview",{ref:this.webviewRef,partition:c,style:e,allowpopups:"true"})}componentDidMount(){null!==this.webviewRef.current&&(this.webviewRef.current.addEventListener("did-fail-load",this.didFailLoad),this.webviewRef.current.addEventListener("dom-ready",this.handleDomReady),this.webviewRef.current.addEventListener("console-message",u.logWebViewMessage),this.session.webRequest.onCompleted(this.didGetResponseDetails),this.webviewRef.current.src=this.entryHref)}componentWillUnmount(){null!==this.webviewRef.current&&(this.webviewRef.current.removeEventListener("did-fail-load",this.didFailLoad),this.webviewRef.current.removeEventListener("dom-ready",this.handleDomReady),this.webviewRef.current.removeEventListener("console-message",u.logWebViewMessage)),this.session.webRequest.onCompleted(null)}handleDomReady(){const e=this.webviewRef.current;if(null==e)return;const t=e.getWebContentsId();r.ipcRenderer.send("webview-dom-ready",t)}didFailLoad(){this.setState({shouldShow:!1}),this.props.onWebviewShow&&this.props.onWebviewShow(!1)}didGetResponseDetails(e){if("mainFrame"===e.resourceType){const t=200;this.setState({shouldShow:e.statusCode===t}),this.props.onWebviewShow&&this.props.onWebviewShow(e.statusCode===t)}}}t.SafeWebview=u},47628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsModal=void 0;const r=n(28814),i=n(60193),o=n(81794),a=n(12965),s=n(8330),l=n(99400),c=n(171),u=n(23652),f=n(14685),d=(0,n(84858).etcherProInfo)(),p=e=>o.createElement(a.Box,{fontSize:14},o.createElement(a.Txt,null,e.label),o.createElement(a.Txt,{code:!0,copy:e.value},e.value," "));t.SettingsModal=function({toggleModal:e}){const[t,n]=o.useState([]);o.useEffect((()=>{(async()=>{0===t.length&&n(await async function(){const e=[{name:"errorReporting",label:f.t("settings.errorReporting")},{name:"autoBlockmapping",label:f.t("settings.trimExtPartitions")}];return["appimage","nsis","dmg"].includes(s.packageType)&&e.push({name:"updatesEnabled",label:f.t("settings.autoUpdate")}),e}())})()}));const[h,m]=o.useState({});return o.useEffect((()=>{(async()=>{i.isEmpty(h)&&m(await l.getAll())})()})),o.createElement(u.Modal,{titleElement:o.createElement(a.Txt,{fontSize:24,mb:24},f.t("settings.settings")),done:()=>e(!1)},o.createElement(a.Flex,{flexDirection:"column"},t.map(((e,t)=>o.createElement(a.Flex,{key:e.name,mb:14},o.createElement(a.Checkbox,{toggle:!0,tabIndex:6+t,label:e.label,checked:h[e.name],onChange:()=>(async e=>{const t=h[e];await l.set(e,!t),m({...h,[e]:!t})})(e.name)})))),void 0!==d&&o.createElement(a.Flex,{flexDirection:"column"},o.createElement(a.Txt,{fontSize:24},f.t("settings.systemInformation")),void 0===d.get_serial()?o.createElement(p,{label:"UUID",value:d.uuid}):o.createElement(p,{label:"Serial",value:d.get_serial()})),o.createElement(a.Flex,{mt:18,alignItems:"center",color:"#00aeef",style:{width:"fit-content",cursor:"pointer",fontSize:14},onClick:()=>(0,c.open)("https://github.com/balena-io/etcher/blob/master/CHANGELOG.md")},o.createElement(r.default,{height:"1em",fill:"currentColor",style:{marginRight:8}}),o.createElement(a.Txt,{style:{borderBottom:"1px solid #00aeef"}},s.version))))}},57072:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceSelector=void 0;const r=n(45565),i=n(7716),o=n(65974),a=n(98994),s=n(54300),l=n(84014),c=n(84157),u=n(60193),f=n(16928),d=n(20810),p=n(81794),h=n(85133),m=n(12965),g=n(33388),v=n(20447),y=n(82380),b=n(54245),_=n(62263),w=n(79380),S=n(88404),x=n(42371),E=n(40233),k=n(23652),C=n(8235),O=n(26487),T=n(97814),P=n(60149),A=n(5408),M=n(87238),L=n(88535),I=n(14685),R="recentUrlImages";function D(e){return Array.isArray(e)||(e=[]),e=e.map((e=>{try{return new URL(e)}catch(e){}})).filter((e=>void 0!==e)),(e=(0,u.uniqBy)(e,(e=>e.href))).slice(e.length-5)}const j=e=>e.startsWith("https://")||e.startsWith("http://"),N=(0,g.default)(m.Card)`
	hr {
		margin: 5px 0;
	}
`,F=g.default.p`
	a {
		color: rgb(0, 174, 239);

		&:hover {
			color: rgb(0, 139, 191);
		}
	}
`;function B(){const e=_.getImage();return{hasImage:_.hasImage(),imageName:null==e?void 0:e.name,imageSize:null==e?void 0:e.size}}function z(e){return"string"==typeof e}const $=({done:e,cancel:t})=>{const[n,r]=p.useState(""),[i,o]=p.useState([]),[a,c]=p.useState(!1),[u,f]=p.useState(!1),[d,h]=p.useState(""),[g,v]=p.useState("");return p.useEffect((()=>{(async()=>{const e=await function(){let e=[];try{e=JSON.parse(localStorage.getItem(R)||"[]")}catch{}return D(e)}();o(e)})()}),[]),p.createElement(k.Modal,{cancel:t,primaryButtonProps:{disabled:a||!n},action:a?p.createElement(m.Spinner,null):I.t("ok"),done:async()=>{c(!0),function(e){const t=D(e.map((e=>e.href)));localStorage.setItem(R,JSON.stringify(t))}(D([...i.map((e=>e.href)),n]));const t=d?{username:d,password:g}:void 0;await e(n,t)}},p.createElement(m.Flex,{flexDirection:"column"},p.createElement(m.Flex,{mb:15,style:{width:"100%"},flexDirection:"column"},p.createElement(m.Txt,{mb:"10px",fontSize:"24px"},I.t("source.useSourceURL")),p.createElement(m.Input,{value:n,placeholder:I.t("source.enterValidURL"),type:"text",onChange:e=>r(e.target.value)}),p.createElement(m.Link,{mt:15,mb:15,fontSize:"14px",onClick:()=>{u&&(h(""),v("")),f(!u)}},p.createElement(m.Flex,{alignItems:"center"},u&&p.createElement(s.default,{height:"1em",fill:"currentColor"}),!u&&p.createElement(l.default,{height:"1em",fill:"currentColor"}),p.createElement(m.Txt,{ml:8},I.t("source.auth")))),u&&p.createElement(p.Fragment,null,p.createElement(m.Input,{mb:15,value:d,placeholder:I.t("source.username"),type:"text",onChange:e=>h(e.target.value)}),p.createElement(m.Input,{value:g,placeholder:I.t("source.password"),type:"password",onChange:e=>v(e.target.value)}))),i.length>0&&p.createElement(m.Flex,{flexDirection:"column",height:"78.6%"},p.createElement(m.Txt,{fontSize:18},"Recent"),p.createElement(k.ScrollableFlex,{flexDirection:"column"},p.createElement(N,{p:"10px 15px",rows:i.map((e=>p.createElement(m.Txt,{key:e.href,onClick:()=>{r(e.href)},style:{overflowWrap:"break-word"}},e.pathname.split("/").pop()," - ",e.href))).reverse()})))))},U=(0,g.default)((({flow:e,...t})=>p.createElement(k.StepButton,{plain:!t.primary,primary:t.primary,onClick:t=>e.onClick(t),icon:e.icon,...t},e.label)))`
	border-radius: 24px;
	color: rgba(255, 255, 255, 0.7);

	:enabled:focus,
	:enabled:focus svg {
		color: ${C.colors.primary.foreground} !important;
	}

	:enabled:hover {
		background-color: ${C.colors.primary.background};
		color: ${C.colors.primary.foreground};
		font-weight: 600;

		svg {
			color: ${C.colors.primary.foreground} !important;
		}
	}
`;class H extends p.Component{constructor(e){super(e),this.state={...B(),warning:null,showImageDetails:!1,showURLSelector:!1,showDriveSelector:!1,defaultFlowActive:!0,imageSelectorOpen:!1,imageLoading:!1},this.onSelectImage=this.onSelectImage.bind(this)}componentDidMount(){this.unsubscribe=(0,w.observe)((()=>{this.setState(B())})),c.ipcRenderer.on("select-image",this.onSelectImage),c.ipcRenderer.send("source-selector-ready")}componentWillUnmount(){var e;null===(e=this.unsubscribe)||void 0===e||e.call(this),c.ipcRenderer.removeListener("select-image",this.onSelectImage)}componentDidUpdate(e,t){(!t.showDriveSelector&&this.state.showDriveSelector||!t.showURLSelector&&this.state.showURLSelector||!t.showImageDetails&&this.state.showImageDetails||!t.imageSelectorOpen&&this.state.imageSelectorOpen)&&this.props.hideAnalyticsAlert()}async onSelectImage(e,t){this.setState({imageLoading:!0}),await this.selectSource(t,j(this.normalizeImagePath(t))?"Http":"File").promise,this.setState({imageLoading:!1})}normalizeImagePath(e){var t;const n=decodeURIComponent(e);return(0,L.isJson)(n)&&null!==(t=JSON.parse(n).url)&&void 0!==t?t:n}reselectSource(){_.deselectImage(),this.props.hideAnalyticsAlert()}selectSource(e,t,n){return{cancel:()=>{},promise:(async()=>{const r=z(e)?e:e.device;let i;if(z(e)){if("Http"===t&&!j(this.normalizeImagePath(e)))return void this.handleError(I.t("source.unsupportedProtocol"),e,y.error.unsupportedProtocol());b.looksLikeWindowsImage(e)&&this.setState({warning:{message:y.warning.looksLikeWindowsImage(),title:I.t("source.windowsImage")}});try{let r=10;for(;void 0===h.requestMetadata&&r>0;)await new Promise((e=>setTimeout(e,1050))),r--;i=await(0,h.requestMetadata)({selected:e,SourceType:t,auth:n}),(null==i?void 0:i.hasMBR)||null!==this.state.warning||this.setState({warning:{message:y.warning.missingPartitionTable(),title:I.t("source.partitionTable")}})}catch(e){this.handleError(I.t("source.errorOpen"),r,y.error.openSource(r,e.message),e)}}else null===e.partitionTableType&&this.setState({warning:{message:y.warning.driveMissingPartitionTable(),title:I.t("source.partitionTable")}}),i={path:e.device,displayName:e.displayName,description:e.displayName,size:e.size,SourceType:"BlockDevice",drive:e};void 0!==i&&(i.auth=n,i.SourceType=t,_.selectSource(i))})()}}handleError(e,t,n,r){const i=v.createUserError({title:e,description:n});E.showError(i),r&&S.logException(r)}async openImageSelector(){this.setState({imageSelectorOpen:!0});try{const e=await E.selectImage();if(!e)return;await this.selectSource(e,"File").promise}catch(e){x.report(e)}finally{this.setState({imageSelectorOpen:!1})}}async onDrop(e){const t=e.dataTransfer.files.item(0);null!=t&&await this.selectSource(t.path,"File").promise}openURLSelector(){this.setState({showURLSelector:!0})}openDriveSelector(){this.setState({showDriveSelector:!0})}onDragOver(e){e.preventDefault()}onDragEnter(e){e.preventDefault()}showSelectedImageDetails(){this.setState({showImageDetails:!0})}setDefaultFlowActive(e){this.setState({defaultFlowActive:e})}closeModal(){this.setState({showDriveSelector:!1})}render(){var e;const{flashing:t}=this.props,{showImageDetails:n,showURLSelector:s,showDriveSelector:l,imageLoading:c}=this.state,h=_.getImage();let g=void 0!==h?h:{};g=null!==(e=g.drive)&&void 0!==e?e:g;let v=()=>{};g.name=g.description||g.name;const y=g.path||g.displayName||"",b=f.basename(y),w=g.name||"",S=g.size,x=g.logo||"";return p.createElement(p.Fragment,null,p.createElement(m.Flex,{flexDirection:"column",alignItems:"center",onDrop:e=>this.onDrop(e),onDragEnter:e=>this.onDragEnter(e),onDragOver:e=>this.onDragOver(e)},p.createElement(T.SVGIcon,{contents:x,fallback:P.default,style:{marginBottom:30}}),void 0!==h||c?p.createElement(p.Fragment,null,p.createElement(k.StepNameButton,{plain:!0,onClick:()=>this.showSelectedImageDetails(),tooltip:w||b},p.createElement(m.Spinner,{show:c},(0,O.middleEllipsis)(w||b,20))),!t&&!c&&p.createElement(k.ChangeButton,{plain:!0,mb:14,onClick:()=>this.reselectSource()},I.t("cancel")),!(0,u.isNil)(S)&&!c&&p.createElement(k.DetailsText,null,(0,d.default)(S))):p.createElement(p.Fragment,null,p.createElement(U,{disabled:this.state.imageSelectorOpen,primary:this.state.defaultFlowActive,key:"Flash from file",flow:{onClick:()=>this.openImageSelector(),label:I.t("source.fromFile"),icon:p.createElement(i.default,{height:"1em",fill:"currentColor"})},onMouseEnter:()=>this.setDefaultFlowActive(!1),onMouseLeave:()=>this.setDefaultFlowActive(!0)}),p.createElement(U,{key:"Flash from URL",flow:{onClick:()=>this.openURLSelector(),label:I.t("source.fromURL"),icon:p.createElement(o.default,{height:"1em",fill:"currentColor"})},onMouseEnter:()=>this.setDefaultFlowActive(!1),onMouseLeave:()=>this.setDefaultFlowActive(!0)}),p.createElement(U,{key:"Clone drive",flow:{onClick:()=>this.openDriveSelector(),label:I.t("source.clone"),icon:p.createElement(r.default,{height:"1em",fill:"currentColor"})},onMouseEnter:()=>this.setDefaultFlowActive(!1),onMouseLeave:()=>this.setDefaultFlowActive(!0)}))),null!=this.state.warning&&p.createElement(m.Modal,{style:{boxShadow:"0 3px 7px rgba(0, 0, 0, 0.3)"},title:p.createElement("span",null,p.createElement(a.default,{fill:"#fca321",height:"1em"})," ",p.createElement("span",null,this.state.warning.title)),action:I.t("continue"),cancel:()=>{this.setState({warning:null}),this.reselectSource()},done:()=>{this.setState({warning:null})},primaryButtonProps:{warning:!0,primary:!1}},p.createElement(F,{dangerouslySetInnerHTML:{__html:this.state.warning.message}})),n&&p.createElement(m.Modal,{title:I.t("source.image"),done:()=>{this.setState({showImageDetails:!1})}},p.createElement(m.Txt.p,null,p.createElement(m.Txt.span,{bold:!0},I.t("source.name")),p.createElement(m.Txt.span,null,w||b)),p.createElement(m.Txt.p,null,p.createElement(m.Txt.span,{bold:!0},I.t("source.path")),p.createElement(m.Txt.span,null,y))),s&&p.createElement($,{cancel:()=>{v(),this.setState({showURLSelector:!1})},done:async(e,t)=>{if(e){let n;({promise:n,cancel:v}=this.selectSource(e,"Http",t)),await n}this.setState({showURLSelector:!1})}}),l&&p.createElement(M.DriveSelector,{write:!1,multipleSelection:!1,titleLabel:I.t("source.selectSource"),emptyListLabel:I.t("source.plugSource"),emptyListIcon:p.createElement(A.default,{width:"40px"}),cancel:e=>{var t;if(e.length){const n=e[0];(null===(t=null==h?void 0:h.drive)||void 0===t?void 0:t.device)!==n.device&&this.selectSource(n,"BlockDevice")}else _.deselectImage();this.closeModal()},done:()=>this.closeModal(),onSelect:e=>{var t,n;if(e){if((null===(n=null===(t=_.getImage())||void 0===t?void 0:t.drive)||void 0===n?void 0:n.device)===(null==e?void 0:e.device))return _.deselectImage();this.selectSource(e,"BlockDevice")}}}))}}t.SourceSelector=H},97814:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGIcon=void 0;const r=n(81794),i=new window.DOMParser,o="40px";class a extends r.PureComponent{render(){const e=function(e){if(void 0===e)return;const t=i.parseFromString(e,"image/svg+xml"),n=t.querySelector("parsererror"),r=t.querySelector("svg");return!n&&r?`data:image/svg+xml,${encodeURIComponent(r.outerHTML)}`:void 0}(this.props.contents),{width:t,height:n,style:a={}}=this.props;if(a.width=t||o,a.height=n||o,void 0!==e)return r.createElement("img",{className:this.props.disabled?"disabled":"",style:a,src:e});const{fallback:s}=this.props;return r.createElement(s,{style:a})}}t.SVGIcon=a},62963:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TargetSelectorButton=void 0;const r=n(98994),i=n(81794),o=n(12965),a=n(71371),s=n(82380),l=n(20810),c=n(62263),u=n(23652),f=n(26487),d=n(14685);function p(e){switch(e.message){case s.compatibility.containsImage():return s.warning.sourceDrive();case s.compatibility.largeDrive():return s.warning.largeDriveSize();case s.compatibility.system():return s.warning.systemDrive();default:return""}}const h=({warnings:e,...t})=>{const n=e.find((e=>e===s.warning.systemDrive()));return i.createElement(o.Flex,{tooltip:e.join(", "),...t},i.createElement(r.default,{fill:n?"#fca321":"#8f9297",height:"1em"}))};t.TargetSelectorButton=function(e){const t=(0,c.getSelectedDrives)();if(1===t.length){const n=t[0],r=(0,a.getDriveImageCompatibilityStatuses)(n,(0,c.getImage)(),!0).map(p);return i.createElement(i.Fragment,null,i.createElement(u.StepNameButton,{plain:!0,tooltip:e.tooltip},r.length>0&&i.createElement(h,{warnings:r,mr:2}),(0,f.middleEllipsis)(n.description,20)),!e.flashing&&i.createElement(u.ChangeButton,{plain:!0,mb:14,onClick:e.reselectDrive},d.t("target.change")),null!=n.size&&i.createElement(u.DetailsText,null,(0,l.default)(n.size)))}if(t.length>1){const n=[];for(const e of t){const t=(0,a.getDriveImageCompatibilityStatuses)(e,(0,c.getImage)(),!0).map(p);n.push(i.createElement(u.DetailsText,{key:e.device,tooltip:`${e.description} ${e.displayName} ${null!=e.size?(0,l.default)(e.size):""}`,px:21},t.length>0?i.createElement(h,{warnings:t,mr:2}):null,i.createElement(o.Txt,{mr:2},(0,f.middleEllipsis)(e.description,14)),null!=e.size&&i.createElement(o.Txt,null,(0,l.default)(e.size))))}return i.createElement(i.Fragment,null,i.createElement(u.StepNameButton,{plain:!0,tooltip:e.tooltip},t.length," ",d.t("target.targets")),!e.flashing&&i.createElement(u.ChangeButton,{plain:!0,onClick:e.reselectDrive,mb:14},d.t("target.change")),n)}return i.createElement(u.StepButton,{primary:!0,tabIndex:t.length>0?-1:2,disabled:e.disabled,onClick:e.openDriveSelector},d.t("target.selectTarget"))}},70776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TargetSelector=t.selectAllTargets=t.TargetSelectorModal=t.getDriveListLabel=void 0;const r=n(81794),i=n(12965),o=n(87238),a=n(62263),s=n(79380),l=n(62963),c=n(29131),u=n(578),f=n(82380),d=n(14685);t.getDriveListLabel=()=>(0,a.getSelectedDrives)().map((e=>`${e.description} (${e.displayName})`)).join("\n");const p=()=>({driveListLabel:(0,t.getDriveListLabel)(),targets:(0,a.getSelectedDrives)(),image:(0,a.getImage)()});t.TargetSelectorModal=e=>r.createElement(o.DriveSelector,{multipleSelection:!0,titleLabel:d.t("target.selectTarget"),emptyListLabel:d.t("target.plugTarget"),emptyListIcon:r.createElement(c.default,{width:"40px"}),showWarnings:!0,selectedList:(0,a.getSelectedDrives)(),updateSelectedList:a.getSelectedDrives,...e}),t.selectAllTargets=e=>{(0,a.getSelectedDrives)().filter((t=>!e.find((e=>e.device===t.device)))).forEach((e=>{(0,a.deselectDrive)(e.device)})),e.forEach((e=>{(0,a.selectDrive)(e.device)}))},t.TargetSelector=({disabled:e,hasDrive:n,flashing:o,hideAnalyticsAlert:c})=>{const[{driveListLabel:d,targets:h},m]=r.useState(p()),[g,v]=r.useState(!1);r.useEffect((()=>(0,s.observe)((()=>{m(p())}))),[]);const y=h.some((e=>e.isSystem));return r.createElement(i.Flex,{flexDirection:"column",alignItems:"center"},r.createElement(u.default,{className:e?"disabled":"",width:"40px",style:{marginBottom:30}}),r.createElement(l.TargetSelectorButton,{disabled:e,show:!n,tooltip:d,openDriveSelector:()=>{v(!0),c()},reselectDrive:()=>{v(!0)},flashing:o,targets:h}),y?r.createElement(i.Txt,{color:"#fca321",style:{position:"absolute",bottom:"25px"}},"Warning: ",f.warning.systemDrive()):null,g&&r.createElement(t.TargetSelectorModal,{write:!0,cancel:e=>{e.length?(0,t.selectAllTargets)(e):(0,a.deselectAllDrives)(),v(!1)},done:e=>{0===e.length&&(0,a.deselectAllDrives)(),v(!1)},onSelect:e=>{if((0,a.getSelectedDrives)().find((t=>t.device===e.device)))return(0,a.deselectDrive)(e.device);(0,a.selectDrive)(e.device)}}))}},80440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedLocales=t.langParser=void 0;const r=n(14685),i=n(43937),o=n(93159),a=n(70571),s=n(63504);function l(){if(void 0!==process.env.LANG)return"en";const e=Intl.DateTimeFormat().resolvedOptions().locale;return"zh"===e.substr(0,2)?"zh-CN"===e||"zh-SG"===e?"zh-CN":"zh-TW":e.substr(0,2)}t.langParser=l,r.use(i.initReactI18next).init({lng:l(),fallbackLng:"en",nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},resources:{"zh-CN":o.default,"zh-TW":a.default,en:s.default}}),t.supportedLocales=["en","zh"],t.default=r},63504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={translation:{continue:"Continue",ok:"OK",cancel:"Cancel",skip:"Skip",sure:"Yes, I'm sure",warning:"WARNING! ",attention:"Attention",failed:"Failed",completed:"Completed",yesContinue:"Yes, continue",reallyExit:"Are you sure you want to close Etcher?",yesExit:"Yes, quit",progress:{starting:"Starting...",decompressing:"Decompressing...",flashing:"Flashing...",finishing:"Finishing...",verifying:"Validating...",failing:"Failed"},message:{sizeNotRecommended:"Not recommended",tooSmall:"Too small",locked:"Locked",system:"System drive",containsImage:"Source drive",largeDrive:"Large drive",sourceLarger:"The selected source is {{byte}} larger than this drive.",flashSucceed_one:"Successful target",flashSucceed_other:"Successful targets",flashFail_one:"Failed target",flashFail_other:"Failed targets",toDrive:"to {{description}} ({{name}})",toTarget_one:"to {{num}} target",toTarget_other:"to {{num}} targets",andFailTarget_one:"and failed to be flashed to {{num}} target",andFailTarget_other:"and failed to be flashed to {{num}} targets",succeedTo:"{{name}} was successfully flashed {{target}}",exitWhileFlashing:"You are currently flashing a drive. Closing Etcher may leave your drive in an unusable state.",looksLikeWindowsImage:'It looks like you are trying to burn a Windows image.\n\nUnlike other images, Windows images require special processing to be made bootable. We suggest you use a tool specially designed for this purpose, such as <a href="https://rufus.akeo.ie">Rufus</a> (Windows), <a href="https://github.com/slacka/WoeUSB">WoeUSB</a> (Linux), or Boot Camp Assistant (macOS).',image:"image",drive:"drive",missingPartitionTable:"It looks like this is not a bootable {{type}}.\n\nThe {{type}} does not appear to contain a partition table, and might not be recognized or bootable by your device.",largeDriveSize:"This is a large drive! Make sure it doesn't contain files that you want to keep.",systemDrive:"Selecting your system drive is dangerous and will erase your drive!",sourceDrive:"Contains the image you chose to flash",noSpace:"Not enough space on the drive. Please insert larger one and try again.",genericFlashError:"Something went wrong. If it is a compressed image, please check that the archive is not corrupted.\n{{error}}",validation:"The write has been completed successfully but Etcher detected potential corruption issues when reading the image back from the drive. \n\nPlease consider writing the image to a different drive.",openError:"Something went wrong while opening {{source}}.\n\nError: {{error}}",flashError:"Something went wrong while writing {{image}} {{targets}}.",unplug:"Looks like Etcher lost access to the drive. Did it get unplugged accidentally?\n\nSometimes this error is caused by faulty readers that don't provide stable access to the drive.",cannotWrite:"Looks like Etcher is not able to write to this location of the drive. This error is usually caused by a faulty drive, reader, or port. \n\nPlease try again with another drive, reader, or port.",childWriterDied:"The writer process ended unexpectedly. Please try again, and contact the Etcher team if the problem persists.",badProtocol:"Only http:// and https:// URLs are supported."},target:{selectTarget:"Select target",plugTarget:"Plug a target drive",targets:"Targets",change:"Change"},source:{useSourceURL:"Use Image URL",auth:"Authentication",username:"Enter username",password:"Enter password",unsupportedProtocol:"Unsupported protocol",windowsImage:"Possible Windows image detected",partitionTable:"Missing partition table",errorOpen:"Error opening source",fromFile:"Flash from file",fromURL:"Flash from URL",clone:"Clone drive",image:"Image",name:"Name: ",path:"Path: ",selectSource:"Select source",plugSource:"Plug a source drive",osImages:"OS Images",allFiles:"All",enterValidURL:"Enter a valid URL"},drives:{name:"Name",size:"Size",location:"Location",find:"{{length}} found",select:"Select {{select}}",showHidden:"Show {{num}} hidden",systemDriveDanger:"Selecting your system drive is dangerous and will erase your drive!",openInBrowser:"`Etcher will open {{link}} in your browser`",changeTarget:"Change target",largeDriveWarning:"You are about to erase an unusually large drive",largeDriveWarningMsg:"Are you sure the selected drive is not a storage drive?",systemDriveWarning:"You are about to erase your computer's drives",systemDriveWarningMsg:"Are you sure you want to flash your system drive?"},flash:{another:"Flash another",target:"Target",location:"Location",error:"Error",flash:"Flash",flashNow:"Flash!",skip:"Validation has been skipped",moreInfo:"more info",speedTip:"The speed is calculated by dividing the image size by the flashing time.\nDisk images with ext partitions flash faster as we are able to skip unused parts.",speed:"Effective speed: {{speed}} MB/s",speedShort:"{{speed}} MB/s",eta:"ETA: {{eta}}",failedTarget:"Failed targets",failedRetry:"Retry failed targets",flashFailed:"Flash Failed.",flashCompleted:"Flash Completed!"},settings:{errorReporting:"Anonymously report errors to balena.io",autoUpdate:"Auto-updates enabled",settings:"Settings",systemInformation:"System Information",trimExtPartitions:"Trim unallocated space on raw images (in ext-type partitions)"},menu:{edit:"Edit",view:"View",devTool:"Toggle Developer Tools",window:"Window",help:"Help",pro:"Etcher Pro",website:"Etcher Website",issue:"Report an issue",about:"About Etcher",hide:"Hide Etcher",hideOthers:"Hide Others",unhide:"Unhide All",quit:"Quit Etcher"}}}},93159:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={translation:{ok:"好",cancel:"取消",continue:"继续",skip:"跳过",sure:"我确定",warning:"请注意！",attention:"请注意",failed:"失败",completed:"完毕",yesExit:"是的，可以退出",reallyExit:"真的要现在退出 Etcher 吗？",yesContinue:"是的，继续",progress:{starting:"正在启动……",decompressing:"正在解压……",flashing:"正在烧录……",finishing:"正在结束……",verifying:"正在验证……",failing:"失败……"},message:{sizeNotRecommended:"大小不推荐",tooSmall:"空间太小",locked:"被锁定",system:"系统盘",containsImage:"存放源镜像",largeDrive:"很大的磁盘",sourceLarger:"所选的镜像比目标盘大了 {{byte}} 比特。",flashSucceed_one:"烧录成功",flashSucceed_other:"烧录成功",flashFail_one:"烧录失败",flashFail_other:"烧录失败",toDrive:"到 {{description}} ({{name}})",toTarget_one:"到 {{num}} 个目标",toTarget_other:"到 {{num}} 个目标",andFailTarget_one:"并烧录失败了 {{num}} 个目标",andFailTarget_other:"并烧录失败了 {{num}} 个目标",succeedTo:"{{name}} 被成功烧录 {{target}}",exitWhileFlashing:"您当前正在刷机。 关闭 Etcher 可能会导致您的磁盘无法使用。",looksLikeWindowsImage:'看起来您正在尝试刻录 Windows 镜像。\n\n与其他镜像不同，Windows 镜像需要特殊处理才能使其可启动。 我们建议您使用专门为此目的设计的工具，例如 <a href="https://rufus.akeo.ie">Rufus</a> (Windows)、<a href="https://github. com/slacka/WoeUSB">WoeUSB</a> (Linux) 或 Boot Camp 助理 (macOS)。',image:"镜像",drive:"磁盘",missingPartitionTable:"看起来这不是一个可启动的{{type}}。\n\n这个{{type}}似乎不包含分区表，因此您的设备可能无法识别或无法正确启动。",largeDriveSize:"这是个很大的磁盘！请检查并确认它不包含对您很重要的信息",systemDrive:"选择系统盘很危险，因为这将会删除你的系统",sourceDrive:"源镜像位于这个分区中",noSpace:"磁盘空间不足。 请插入另一个较大的磁盘并重试。",genericFlashError:"出了点问题。如果源镜像曾被压缩过，请检查它是否已损坏。\n{{error}}",validation:"写入已成功完成，但 Etcher 在从磁盘读取镜像时检测到潜在的损坏问题。 \n\n请考虑将镜像写入其他磁盘。",openError:"打开 {{source}} 时出错。\n\n错误信息： {{error}}",flashError:"烧录 {{image}} {{targets}} 失败。",unplug:"看起来 Etcher 失去了对磁盘的连接。 它是不是被意外拔掉了？\n\n有时这个错误是因为读卡器出了故障。",cannotWrite:"看起来 Etcher 无法写入磁盘的这个位置。 此错误通常是由故障的磁盘、读取器或端口引起的。 \n\n请使用其他磁盘、读卡器或端口重试。",childWriterDied:"写入进程意外崩溃。请再试一次，如果问题仍然存在，请联系 Etcher 团队。",badProtocol:"仅支持 http:// 和 https:// 开头的网址。"},target:{selectTarget:"选择目标磁盘",plugTarget:"请插入目标磁盘",targets:"个目标",change:"更改"},menu:{edit:"编辑",view:"视图",devTool:"打开开发者工具",window:"窗口",help:"帮助",pro:"Etcher 专业版",website:"Etcher 的官网",issue:"提交一个 issue",about:"关于 Etcher",hide:"隐藏 Etcher",hideOthers:"隐藏其它窗口",unhide:"取消隐藏",quit:"退出 Etcher"},source:{useSourceURL:"使用镜像网络地址",auth:"验证",username:"输入用户名",password:"输入密码",unsupportedProtocol:"不支持的协议",windowsImage:"这可能是 Windows 系统镜像",partitionTable:"找不到分区表",errorOpen:"打开源镜像时出错",fromFile:"从文件烧录",fromURL:"从在线地址烧录",clone:"克隆磁盘",image:"镜像信息",name:"名称：",path:"路径：",selectSource:"选择源",plugSource:"请插入源磁盘",osImages:"系统镜像格式",allFiles:"任何文件格式",enterValidURL:"请输入一个正确的地址"},drives:{name:"名称",size:"大小",location:"位置",find:"找到 {{length}} 个",select:"选定 {{select}}",showHidden:"显示 {{num}} 个隐藏的磁盘",systemDriveDanger:"选择系统盘很危险，因为这将会删除你的系统！",openInBrowser:"Etcher 会在浏览器中打开 {{link}}",changeTarget:"改变目标",largeDriveWarning:"您即将擦除一个非常大的磁盘",largeDriveWarningMsg:"您确定所选磁盘不是存储磁盘吗？",systemDriveWarning:"您将要擦除系统盘",systemDriveWarningMsg:"您确定要烧录到系统盘吗？"},flash:{another:"烧录另一目标",target:"目标",location:"位置",error:"错误",flash:"烧录",flashNow:"现在烧录！",skip:"跳过了验证",moreInfo:"更多信息",speedTip:"通过将镜像大小除以烧录时间来计算速度。\n由于我们能够跳过未使用的部分，因此具有EXT分区的磁盘镜像烧录速度更快。",speed:"速度：{{speed}} MB/秒",speedShort:"{{speed}} MB/秒",eta:"预计还需要：{{eta}}",failedTarget:"失败的烧录目标",failedRetry:"重试烧录失败目标",flashFailed:"烧录失败。",flashCompleted:"烧录成功！"},settings:{errorReporting:"匿名地向 balena.io 报告运行错误和使用统计",autoUpdate:"自动更新",settings:"软件设置",systemInformation:"系统信息"}}}},70571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={translation:{continue:"繼續",ok:"好",cancel:"取消",skip:"跳過",sure:"我確定",warning:"請注意！",attention:"請注意",failed:"失敗",completed:"完成",yesContinue:"是的，繼續",reallyExit:"真的要現在結束 Etcher 嗎？",yesExit:"是的，可以結束",progress:{starting:"正在啟動……",decompressing:"正在解壓縮……",flashing:"正在燒錄……",finishing:"正在結束……",verifying:"正在驗證……",failing:"失敗……"},message:{sizeNotRecommended:"大小不建議",tooSmall:"空間太小",locked:"被鎖定",system:"系統",containsImage:"存放來源映像檔",largeDrive:"很大的磁碟",sourceLarger:"所選的映像檔比目標磁碟大了 {{byte}} 位元組。",flashSucceed_one:"燒錄成功",flashSucceed_other:"燒錄成功",flashFail_one:"燒錄失敗",flashFail_other:"燒錄失敗",toDrive:"到 {{description}} ({{name}})",toTarget_one:"到 {{num}} 個目標",toTarget_other:"到 {{num}} 個目標",andFailTarget_one:"並燒錄失敗了 {{num}} 個目標",andFailTarget_other:"並燒錄失敗了 {{num}} 個目標",succeedTo:"{{name}} 被成功燒錄 {{target}}",exitWhileFlashing:"您目前正在刷寫。關閉 Etcher 可能會導致您的磁碟無法使用。",looksLikeWindowsImage:'看起來您正在嘗試燒錄 Windows 映像檔。\n\n與其他映像檔不同，Windows 映像檔需要特殊處理才能使其可啟動。我們建議您使用專門為此目的設計的工具，例如 <a href="https://rufus.akeo.ie">Rufus</a> (Windows)、<a href="https://github. com/slacka/WoeUSB">WoeUSB</a> (Linux) 或 Boot Camp 助理 (macOS)。',image:"映像檔",drive:"磁碟",missingPartitionTable:"看起來這不是一個可啟動的{{type}}。\n\n這個{{type}}似乎不包含分割表，因此您的設備可能無法識別或無法正確啟動。",largeDriveSize:"這是個很大容量的磁碟！請檢查並確認它不包含對您來說存放很重要的資料",systemDrive:"選擇系統分割區很危險，因為這將會刪除你的系統",sourceDrive:"來源映像檔位於這個分割區中",noSpace:"磁碟空間不足。請插入另一個較大的磁碟並重試。",genericFlashError:"出了點問題。如果來源映像檔曾被壓縮過，請檢查它是否已損壞。\n{{error}}",validation:"寫入已成功完成，但 Etcher 在從磁碟讀取映像檔時檢測到潛在的損壞問題。\n\n請考慮將映像檔寫入其他磁碟。",openError:"打開 {{source}} 時發生錯誤。\n\n錯誤訊息： {{error}}",flashError:"燒錄 {{image}} {{targets}} 失敗。",unplug:"看起來 Etcher 失去了對磁碟的連接。是不是被意外拔掉了？\n\n有時這個錯誤是因為讀卡器出了故障。",cannotWrite:"看起來 Etcher 無法寫入磁碟的這個位置。此錯誤通常是由故障的磁碟、讀取器或連接埠引起的。\n\n請使用其他磁碟、讀卡器或連接埠重試。",childWriterDied:"寫入處理程序意外崩潰。請再試一次，如果問題仍然存在，請聯絡 Etcher 團隊。",badProtocol:"僅支援 http:// 和 https:// 開頭的網址。"},target:{selectTarget:"選擇目標磁碟",plugTarget:"請插入目標磁碟",targets:"個目標",change:"更改"},source:{useSourceURL:"使用映像檔網址",auth:"驗證",username:"輸入使用者名稱",password:"輸入密碼",unsupportedProtocol:"不支持的通訊協定",windowsImage:"這可能是 Windows 系統映像檔",partitionTable:"找不到分割表",errorOpen:"打開來源映像檔時出錯",fromFile:"從檔案燒錄",fromURL:"從網址燒錄",clone:"再製磁碟",image:"映像檔訊息",name:"名稱：",path:"路徑：",selectSource:"選擇來源",plugSource:"請插入來源磁碟",osImages:"系統映像檔格式",allFiles:"任何檔案格式",enterValidURL:"請輸入正確的網址"},drives:{name:"名稱",size:"大小",location:"位置",find:"找到 {{length}} 個",select:"選取 {{select}}",showHidden:"顯示 {{num}} 個隱藏的磁碟",systemDriveDanger:"選擇系統分割區很危險，因為這將會刪除你的系統！",openInBrowser:"Etcher 會在瀏覽器中打開 {{link}}",changeTarget:"更改目標",largeDriveWarning:"您即將格式化一個非常大的磁碟",largeDriveWarningMsg:"您確定所選磁碟不是儲存資料的磁碟嗎？",systemDriveWarning:"您將要格式化系統分割區",systemDriveWarningMsg:"您確定要燒錄到系統分割區嗎？"},flash:{another:"燒錄另一目標",target:"目標",location:"位置",error:"錯誤",flash:"燒錄",flashNow:"現在燒錄！",skip:"跳過了驗證",moreInfo:"更多資訊",speedTip:"透過將映像檔大小除以燒錄時間來計算速度。\n由於我們能夠跳過未使用的部分，因此具有 ext 分割區的磁碟映像檔燒錄速度更快。",speed:"速度：{{speed}} MB/秒",speedShort:"{{speed}} MB/秒",eta:"預計還需要：{{eta}}",failedTarget:"目標燒錄失敗",failedRetry:"重試燒錄失敗的目標",flashFailed:"燒錄失敗。",flashCompleted:"燒錄成功！"},settings:{errorReporting:"匿名向 balena.io 回報程式錯誤和使用統計資料",autoUpdate:"自動更新",settings:"軟體設定",systemInformation:"系統資訊",trimExtPartitions:"修改原始映像檔上未分配的空間（在 ext 類型分割區中）"},menu:{edit:"編輯",view:"預覽",devTool:"打開開發者工具",window:"視窗",help:"協助",pro:"Etcher 專業版",website:"Etcher 的官網",issue:"提交 issue",about:"關於 Etcher",hide:"隱藏 Etcher",hideOthers:"隱藏其它視窗",unhide:"取消隱藏",quit:"結束 Etcher"}}}},35570:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDrives=t.setDrives=t.hasAvailableDrives=void 0;const r=n(79380);function i(){return r.store.getState().toJS().availableDrives}t.hasAvailableDrives=function(){return i().length>0},t.setDrives=function(e){r.store.dispatch({type:r.Actions.SET_AVAILABLE_TARGETS,data:e})},t.getDrives=i},64547:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFlashUuid=t.getLastFlashErrorCode=t.getLastFlashSourceChecksum=t.wasLastFlashCancelled=t.getFlashState=t.getFlashResults=t.setProgressState=t.addFailedDeviceError=t.setDevicePaths=t.unsetFlashingFlag=t.setFlashingFlag=t.isFlashing=t.resetState=void 0;const r=n(84157),i=n(60193),o=n(10445),a=n(79380);function s(){return a.store.getState().toJS().flashResults}t.resetState=function(){a.store.dispatch({type:a.Actions.RESET_FLASH_STATE,data:{}})},t.isFlashing=function(){return a.store.getState().toJS().isFlashing},t.setFlashingFlag=function(){r.ipcRenderer.send("disable-screensaver"),a.store.dispatch({type:a.Actions.SET_FLASHING_FLAG,data:{}})},t.unsetFlashingFlag=function(e){a.store.dispatch({type:a.Actions.UNSET_FLASHING_FLAG,data:e}),r.ipcRenderer.send("enable-screensaver")},t.setDevicePaths=function(e){a.store.dispatch({type:a.Actions.SET_DEVICE_PATHS,data:e})},t.addFailedDeviceError=function({device:e,error:t}){const n=new Map(a.store.getState().toJS().failedDeviceErrors);n.has(e.device)||(n.set(e.device,{description:e.description,device:e.device,devicePath:e.devicePath,...t}),a.store.dispatch({type:a.Actions.SET_FAILED_DEVICE_ERRORS,data:Array.from(n)}))},t.setProgressState=function(e){const t={...e,percentage:void 0!==e.percentage&&i.isFinite(e.percentage)?Math.floor(e.percentage):void 0,speed:i.attempt((()=>i.isFinite(e.speed)?i.round((0,o.bytesToMegabytes)(e.speed),1):null))};a.store.dispatch({type:a.Actions.SET_FLASH_STATE,data:t})},t.getFlashResults=s,t.getFlashState=function(){return a.store.getState().get("flashState").toJS()},t.wasLastFlashCancelled=function(){return i.get(s(),["cancelled"],!1)},t.getLastFlashSourceChecksum=function(){return s().sourceChecksum},t.getLastFlashErrorCode=function(){return s().errorCode},t.getFlashUuid=function(){return a.store.getState().toJS().flashUuid}},73887:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=t.updateLeds=void 0;const r=n(60193),i=n(54432),o=n(71371),a=n(35570),s=n(62263),l=n(99400),c=n(79380),u=new Map,f=new i.Animator([],10);function d(e,t){return n=>{const r=e(n);return t.map((e=>e*r))}}function p(e){return Math.floor(e)%2}function h(){return 1}let m,g,v;function y(e,t){const n=[];for(const e of t){const t=u.get(e);t&&n.push(t)}return{animation:e,rgbLeds:n}}function b({step:e,sourceDrive:t,availableDrives:n,selectedDrives:r,failedDrives:i}){const o=new Set(u.keys()),a=new Set(n),s=new Set(r),l=new Set(i);for(const e of s)a.delete(e),o.delete(e);for(const e of a)o.delete(e);for(const e of l)s.delete(e);const c=[];void 0!==t&&a.has(t)&&(a.delete(t),c.push(y(g.staticBlue,new Set([t])))),"main"===e?c.push(y(g.staticBlack,new Set([...o,...a])),y(g.staticWhite,new Set([...s,...l]))):"flashing"===e?c.push(y(g.staticBlack,new Set([...o,...a])),y(g.blinkPurple,s),y(g.staticRed,l)):"verifying"===e?c.push(y(g.staticBlack,new Set([...o,...a])),y(g.blinkGreen,s),y(g.staticRed,l)):"finish"===e&&c.push(y(g.staticBlack,new Set([...o,...a])),y(g.staticGreen,s),y(g.staticRed,l)),f.mapping=c}function _(){var e;const t=c.store.getState().toJS();let n;n=t.isFlashing?t.flashState.type:null==t.lastAverageFlashingSpeed?"main":"finish";const i=(0,a.getDrives)().filter((e=>e.devicePath)),l=null===(e=i.filter((e=>(0,o.isSourceDrive)(e,t.selection.image)))[0])||void 0===e?void 0:e.devicePath,u=i.map((e=>e.devicePath));let f;f="main"===n?(0,s.getSelectedDrives)().filter((e=>null!==e.devicePath)).map((e=>e.devicePath)):t.devicePaths;const d={step:n,sourceDrive:l,availableDrives:u,selectedDrives:f,failedDrives:t.failedDeviceErrors.map((([,{devicePath:e}])=>e))};r.isEqual(d,v)||(b(d),v=d)}t.updateLeds=b,t.init=async function(){const e=await l.get("ledsMapping")||{};if(!r.isEmpty(e)){for(const[t,n]of Object.entries(e))u.set("/dev/disk/by-path/"+t,new i.RGBLed(n));m=await l.get("ledColors")||{},g={blinkGreen:d(p,m.green),blinkPurple:d(p,m.purple),staticRed:d(h,m.red),staticGreen:d(h,m.green),staticBlue:d(h,m.blue),staticWhite:d(h,m.white),staticBlack:d(h,m.black)},(0,c.observe)(r.debounce(_,1e3,{maxWait:1e3}))}}},62263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDriveSelected=t.clear=t.deselectAllDrives=t.deselectImage=t.deselectDrive=t.hasImage=t.hasDrive=t.getImage=t.getSelectedDrives=t.getSelectedDevices=t.selectSource=t.toggleDrive=t.selectDrive=void 0;const r=n(35570),i=n(79380);function o(e){i.store.dispatch({type:i.Actions.SELECT_TARGET,data:e})}function a(){return i.store.getState().getIn(["selection","devices"]).toJS()}function s(){return i.store.getState().toJS().selection.image}function l(e){i.store.dispatch({type:i.Actions.DESELECT_TARGET,data:e})}function c(){i.store.dispatch({type:i.Actions.DESELECT_SOURCE,data:{}})}function u(){a().forEach(l)}function f(e){return!!e&&a().includes(e)}t.selectDrive=o,t.toggleDrive=function(e){f(e)?l(e):o(e)},t.selectSource=function(e){i.store.dispatch({type:i.Actions.SELECT_SOURCE,data:e})},t.getSelectedDevices=a,t.getSelectedDrives=function(){const e=a();return r.getDrives().filter((t=>e.includes(t.device)))},t.getImage=s,t.hasDrive=function(){return Boolean(a().length)},t.hasImage=function(){return void 0!==s()},t.deselectDrive=l,t.deselectImage=c,t.deselectAllDrives=u,t.clear=function(){c(),u()},t.isDriveSelected=f},99400:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAll=t.getSync=t.get=t.set=t.writeConfigFile=t.readAll=t.DEFAULT_HEIGHT=t.DEFAULT_WIDTH=void 0;const r=n(99163),i=n(84157),o=n(60193),a=n(79896),s=n(16928),l=n(8330),c=r("etcher:models:settings");function u(){const e=i.app||n(53260).app;return(0,s.join)(e.getPath("userData"),"config.json")}async function f(){return await async function(e){let t="{}";try{t=await a.promises.readFile(e,{encoding:"utf8"})}catch(e){}try{return JSON.parse(t)}catch(e){return console.error(e),{}}}(u())}async function d(e,t){await a.promises.writeFile(e,JSON.stringify(t,null,2))}t.DEFAULT_WIDTH=800,t.DEFAULT_HEIGHT=480,t.readAll=f,t.writeConfigFile=d;const p={errorReporting:!0,updatesEnabled:["appimage","nsis","dmg"].includes(l.packageType),desktopNotifications:!0,autoBlockmapping:!0,decompressFirst:!0},h=o.cloneDeep(p),m=async function(){c("load");const e=await f();o.assign(h,e)}();function g(e){return o.cloneDeep(h[e])}t.set=async function(e,t,n=d){c("set",e,t),await m;const r=h[e];h[e]=t;try{await n(u(),h)}catch(t){throw h[e]=r,t}},t.get=async function(e){return await m,g(e)},t.getSync=g,t.getAll=async function(){return c("getAll"),await m,o.cloneDeep(h)}},79380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observe=t.store=t.Actions=t.DEFAULT_STATE=void 0;const r=n(45842),i=n(60193),o=n(16928),a=n(59968),s=n(6224),l=n(71371),c=n(20447),u=n(88535),f=n(99400);function d(e,t,n){const r=i.filter(t,(t=>i.isNil(i.get(e,t))));if(r.length)throw new Error(`Missing ${n} fields: ${r.join(", ")}`)}const p=["speed"],h=["path","extension"];var m;function g(e){return e.get("availableDrives").toJS()}t.DEFAULT_STATE=r.fromJS({applicationSessionUuid:"",flashingWorkflowUuid:"",availableDrives:[],selection:{devices:r.OrderedSet()},isFlashing:!1,devicePaths:[],failedDeviceErrors:[],flashResults:{},flashState:{active:0,failed:0,percentage:0,speed:null,averageSpeed:null},lastAverageFlashingSpeed:null}),function(e){e[e.SET_DEVICE_PATHS=0]="SET_DEVICE_PATHS",e[e.SET_FAILED_DEVICE_ERRORS=1]="SET_FAILED_DEVICE_ERRORS",e[e.SET_AVAILABLE_TARGETS=2]="SET_AVAILABLE_TARGETS",e[e.SET_FLASH_STATE=3]="SET_FLASH_STATE",e[e.RESET_FLASH_STATE=4]="RESET_FLASH_STATE",e[e.SET_FLASHING_FLAG=5]="SET_FLASHING_FLAG",e[e.UNSET_FLASHING_FLAG=6]="UNSET_FLASHING_FLAG",e[e.SELECT_TARGET=7]="SELECT_TARGET",e[e.SELECT_SOURCE=8]="SELECT_SOURCE",e[e.DESELECT_TARGET=9]="DESELECT_TARGET",e[e.DESELECT_SOURCE=10]="DESELECT_SOURCE",e[e.SET_APPLICATION_SESSION_UUID=11]="SET_APPLICATION_SESSION_UUID",e[e.SET_FLASHING_WORKFLOW_UUID=12]="SET_FLASHING_WORKFLOW_UUID"}(m||(t.Actions=m={})),t.store=a.createStore((function e(n=t.DEFAULT_STATE,a){var v;switch(a.type){case m.SET_AVAILABLE_TARGETS:{if(!a.data)throw c.createError({title:"Missing drives"});let t=a.data;if(!i.isArray(t)||!i.every(t,i.isObject))throw c.createError({title:`Invalid drives: ${t}`});const s=null!==(v=f.getSync("drivesOrder"))&&void 0!==v?v:[];t=i.sortBy(t,[e=>!!e.isSystem,e=>!!e.devicePath,e=>s.indexOf((0,o.basename)(e.devicePath||"")),e=>e.devicePath||e.device]);const u=n.set("availableDrives",r.fromJS(t)),d=u.getIn(["selection","devices"]).toJS(),p=i.reduce(d,((n,r)=>r&&!i.find(t,{device:r})?e(n,{type:m.DESELECT_TARGET,data:r}):n),u),h=Boolean(f.getSync("autoSelectAllDrives")),g=1,y=p.getIn(["selection","devices"]).toJS().length>=g;if(t.length===g&&!y||h){const o=n.getIn(["selection","image"],r.fromJS({})).toJS();return i.reduce(t,((t,n)=>!l.isDriveValid(n,o)||n.isReadOnly||!l.isDriveSizeRecommended(n,o)||l.isDriveSizeLarge(n)&&!h||l.isSystemDrive(n)?e(t,{type:m.DESELECT_TARGET,data:n.device}):e(t,{type:m.SELECT_TARGET,data:n.device})),p)}return p}case m.SET_FLASH_STATE:{if(!n.get("isFlashing"))throw c.createError({title:"Can't set the flashing state when not flashing"});if(d(a.data,p,"flash"),!i.every(i.pick(a.data,["active","failed"]),i.isFinite))throw c.createError({title:"State quantity field(s) not finite number"});if(!i.isUndefined(a.data.percentage)&&!u.isValidPercentage(a.data.percentage))throw c.createError({title:`Invalid state percentage: ${a.data.percentage}`});if(!i.isUndefined(a.data.eta)&&!i.isNumber(a.data.eta))throw c.createError({title:`Invalid state eta: ${a.data.eta}`});let e=n.set("flashState",r.fromJS(a.data));return"flashing"===a.data.type&&(e=e.set("lastAverageFlashingSpeed",a.data.averageSpeed)),e}case m.RESET_FLASH_STATE:return n.set("isFlashing",!1).set("flashState",t.DEFAULT_STATE.get("flashState")).set("flashResults",t.DEFAULT_STATE.get("flashResults")).set("devicePaths",t.DEFAULT_STATE.get("devicePaths")).set("failedDeviceErrors",t.DEFAULT_STATE.get("failedDeviceErrors")).set("lastAverageFlashingSpeed",t.DEFAULT_STATE.get("lastAverageFlashingSpeed")).delete("flashUuid");case m.SET_FLASHING_FLAG:return n.set("isFlashing",!0).set("flashUuid",(0,s.v4)()).set("flashResults",t.DEFAULT_STATE.get("flashResults"));case m.UNSET_FLASHING_FLAG:if(!a.data)throw c.createError({title:"Missing results"});if(i.defaults(a.data,{cancelled:!1,skip:!1}),!i.isBoolean(a.data.cancelled))throw c.createError({title:`Invalid results cancelled: ${a.data.cancelled}`});if(a.data.cancelled&&a.data.sourceChecksum)throw c.createError({title:"The sourceChecksum value can't exist if the flashing was cancelled"});if(a.data.sourceChecksum&&!i.isString(a.data.sourceChecksum))throw c.createError({title:`Invalid results sourceChecksum: ${a.data.sourceChecksum}`});if(a.data.errorCode&&!i.isString(a.data.errorCode)&&!i.isNumber(a.data.errorCode))throw c.createError({title:`Invalid results errorCode: ${a.data.errorCode}`});return a.data.results&&(a.data.results.averageFlashingSpeed=n.get("lastAverageFlashingSpeed")),a.data.skip?n.set("isFlashing",!1).set("flashResults",r.fromJS(a.data)):n.set("isFlashing",!1).set("flashResults",r.fromJS(a.data)).set("flashState",t.DEFAULT_STATE.get("flashState"));case m.SELECT_TARGET:{const e=a.data;if(!e)throw c.createError({title:"Missing drive"});if(!i.isString(e))throw c.createError({title:`Invalid drive: ${e}`});const t=i.find(g(n),{device:e});if(!t)throw c.createError({title:`The drive is not available: ${e}`});if(t.isReadOnly)throw c.createError({title:"The drive is write-protected"});const r=n.getIn(["selection","image"]);if(r&&!l.isDriveLargeEnough(t,r.toJS()))throw c.createError({title:"The drive is not large enough"});const o=n.getIn(["selection","devices"]);return n.setIn(["selection","devices"],o.add(e))}case m.SELECT_SOURCE:{if(a.data.drive||d(a.data,h,"image"),!i.isString(a.data.path))throw c.createError({title:`Invalid image path: ${a.data.path}`});const t=0;if(void 0!==a.data.size&&(a.data.size<t||!i.isInteger(a.data.size)))throw c.createError({title:`Invalid image size: ${a.data.size}`});if(!i.isUndefined(a.data.compressedSize)&&(a.data.compressedSize<t||!i.isInteger(a.data.compressedSize)))throw c.createError({title:`Invalid image compressed size: ${a.data.compressedSize}`});if(a.data.url&&!i.isString(a.data.url))throw c.createError({title:`Invalid image url: ${a.data.url}`});if(a.data.name&&!i.isString(a.data.name))throw c.createError({title:`Invalid image name: ${a.data.name}`});if(a.data.logo&&!i.isString(a.data.logo))throw c.createError({title:`Invalid image logo: ${a.data.logo}`});const o=n.getIn(["selection","devices"]);return i.reduce(o.toJS(),((t,r)=>{const o=i.find(g(n),{device:r});return l.isDriveValid(o,a.data)&&l.isDriveSizeRecommended(o,a.data)?t:e(t,{type:m.DESELECT_TARGET,data:r})}),n).setIn(["selection","image"],r.fromJS(a.data))}case m.DESELECT_TARGET:{if(!a.data)throw c.createError({title:"Missing drive"});if(!i.isString(a.data))throw c.createError({title:`Invalid drive: ${a.data}`});const e=n.getIn(["selection","devices"]);return n.setIn(["selection","devices"],e.delete(a.data))}case m.DESELECT_SOURCE:return n.deleteIn(["selection","image"]);case m.SET_APPLICATION_SESSION_UUID:return n.set("applicationSessionUuid",a.data);case m.SET_FLASHING_WORKFLOW_UUID:return n.set("flashingWorkflowUuid",a.data);case m.SET_DEVICE_PATHS:return n.set("devicePaths",a.data);case m.SET_FAILED_DEVICE_ERRORS:return n.set("failedDeviceErrors",a.data);default:return n}}),t.DEFAULT_STATE),t.observe=function(e){let n=null;const r=()=>{const r=t.store.getState();i.isEqual(r,n)||(n=r,e(n))};return r(),t.store.subscribe(r)}},88404:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logException=t.initAnalytics=t.anonymizeAnalyticsPayload=t.anonymizePath=t.anonymizeSentryData=void 0;const r=n(60193),i=n(65401),o=n(99400),a=e=>{const t=e.split("generated").reverse()[0];return t!==e?`generated${t}`:e};t.anonymizeSentryData=e=>{var t,n,r,i;return null===(n=null===(t=e.exception)||void 0===t?void 0:t.values)||void 0===n||n.forEach((e=>{var t,n;null===(n=null===(t=e.stacktrace)||void 0===t?void 0:t.frames)||void 0===n||n.forEach((e=>{e.filename&&(e.filename=a(e.filename))}))})),null===(r=e.breadcrumbs)||void 0===r||r.forEach((e=>{var t;(null===(t=e.data)||void 0===t?void 0:t.url)&&(e.data.url=a(e.data.url))})),(null===(i=e.request)||void 0===i?void 0:i.url)&&(e.request.url=a(e.request.url)),e};const s=/(.*)(^|\s)(file:\/\/)?(\w:)?([\\/].+)/,l=["app.asar","Resources"];t.anonymizePath=e=>{const t=s.exec(e);if(null===t)return e;const n=t[5],i=t[2],o=t[1],a=t[3]||"",c=n[0],u=n.split(c),f=(0,r.findLastIndex)(u,(e=>l.includes(e)));return o+i+a+"[PERSONAL PATH]"+c+u.splice(f).join(c)};const c=e=>{try{return(0,t.anonymizePath)(e)}catch(e){return"[ANONYMIZE PATH FAILED]"}},u=["error.description","error.message","error.stack","image","image.path","path"];t.anonymizeAnalyticsPayload=e=>{for(const t of u){const n=e[t];null!=n&&(e[t]=c(n.toString()))}return e},t.initAnalytics=(0,r.once)((()=>{const e=o.getSync("analyticsSentryToken")||"https://739bbcfc0ba4481481138d3fc831136d@o95242.ingest.sentry.io/4504451487301632";i.init({dsn:e,beforeSend:t.anonymizeSentryData,debug:"true"===process.env.ETCHER_SENTRY_DEBUG})})),t.logException=function(e){const n=o.getSync("errorReporting");console.error(e),n&&((0,t.initAnalytics)(),i.captureException(e))}},32508:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spawnChildAndConnect=void 0;const r=n(55444),i=n(35317),o=n(70857),a=n(8330),s=n(28842),l=n(20447);async function c(e,t,n){return new Promise(((i,o)=>{console.log(n);const a=`ws://${e}:${t}`,s=new r.default(a);let c;const u=()=>{console.log("stop heartbeat"),clearInterval(c)};s.on("error",(e=>{"ECONNREFUSED"===e.code?i({failed:!0}):(u(),o({failed:!0}))})),s.on("open",(()=>{const e=(e,t)=>{s.send(JSON.stringify({type:e,payload:t}))};e("ready",{});const t={log:e=>{console.log(`CHILD LOG: ${e}`)},error:e=>{const t=l.fromJSON(e);console.error("CHILD ERROR",t),u()},ready:()=>{console.log("CHILD READY"),(e=>{console.log("start heartbeat"),c=setInterval((()=>{e("heartbeat",{})}),1e3)})(e),i({failed:!1,emit:e,registerHandler:n})}};s.on("message",(e=>{const n=JSON.parse(e),r=t[n.type];if(!r)throw new Error(`Unknown message type: ${n.type}`);r(n.payload)}));const n=(e,n)=>{t[e]=n}}))}))}t.spawnChildAndConnect=async function({withPrivileges:e}){var t,n,r;const l=null!==(t=process.env.ETCHER_SERVER_ADDRESS)&&void 0!==t?t:"127.0.0.1",u=(null!==(n=process.env.ETCHER_SERVER_PORT)&&void 0!==n?n:e)?"3435":"3434",f=null!==(r=process.env.ETCHER_SERVER_ID)&&void 0!==r?r:`etcher-${Math.random().toString(36).substring(7)}`;if(console.log(`Spawning ${e?"priviledged":"unpriviledged"} sidecar on port ${u}`),!process.env.ETCHER_NO_SPAWN_UTIL)try{if((await async function(e,t,n,r){const l=await async function(){let e=await window.etcher.getEtcherUtilPath();return"linux"===o.platform()&&process.env.APPIMAGE&&process.env.APPDIR?(e=e.replace(process.env.APPDIR,""),[process.env.APPIMAGE,"-e",`require(\`\${process.env.APPDIR}${e}\`)`]):[e]}(),c={ETCHER_SERVER_ADDRESS:n,ETCHER_SERVER_ID:t,ETCHER_SERVER_PORT:r,UV_THREADPOOL_SIZE:(16*o.cpus().length).toString(),SKIP:"1",..."win32"===process.platform?{}:process.env};if(e)return console.log("... with privileges ..."),s.elevateCommand(l,{applicationName:a.displayName,env:c});if("win32"===process.platform){const e=[];for(const t in c)Object.prototype.hasOwnProperty.call(c,t)&&e.push(`set ${t}=${c[t]}`);await(0,i.exec)(e.join(" && "))}return{cancelled:!1,spawned:await(0,i.spawn)(l[0],l.slice(1),{env:c})}}(e,f,l,u)).cancelled)throw new Error("Spwaning the child process was cancelled")}catch(e){throw console.error("Error spawning child process",e),new Error("Error spawning the child process")}try{let e=0;for(;e<10;){const{emit:t,registerHandler:n,failed:r}=await c(l,u,f);if(!r)return{failed:r,emit:t,registerHandler:n};e++,console.log(`Retrying to connect to child process in 1000... ${e} / 10`),await new Promise((e=>setTimeout(e,1e3)))}throw new Error("Connection to etcher-util timed out")}catch(e){throw console.error("Error connecting to child process",e),new Error("Connection to etcher-util failed")}}},42371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.report=void 0;const r=n(88404),i=n(40233);t.report=function(e){void 0!==e&&((0,i.showError)(e),(0,r.logException)(e))}},78325:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancel=t.flash=void 0;const r=n(20447),i=n(64547),o=n(99400),a=n(29589),s=n(32508);let l;async function c(e,t,n){const{autoBlockmapping:a,decompressFirst:c}=await o.getAll(),{emit:u,registerHandler:f}=await(0,s.spawnChildAndConnect)({withPrivileges:!0});return await new Promise(((o,s)=>{const d={},p=()=>{console.log("Flash results",d),d.cancelled||d.skip||void 0!==d.results||(console.log(d),s(r.createUserError({title:"The writer process ended unexpectedly",description:"Please try again, and contact the Etcher team if the problem persists"}))),o(d)};f("state",n),f("fail",(({device:e,error:t})=>{console.log("fail event"),console.log(e),console.log(t),e.devicePath&&i.addFailedDeviceError({device:e,error:t}),p()})),f("done",(e=>{console.log("CHILD: flash done",e),e.results.errors=e.results.errors.map((e=>r.fromJSON(e))),d.results=e.results,p()})),f("abort",(()=>{console.log("CHILD: flash aborted"),d.cancelled=!0,p()})),f("skip",(()=>{console.log("CHILD: validation skipped"),d.skip=!0,p()})),l=e=>u("cancel",e);const h={image:e,destinations:t,SourceType:e.SourceType,autoBlockmapping:a,decompressFirst:c};console.log("params",h),u("write",h)}))}t.flash=async function(e,t,n=c){if(i.isFlashing())throw new Error("There is already a flash in progress");await i.setFlashingFlag(),i.setDevicePaths(t.map((e=>e.devicePath)).filter((e=>null!=e)));try{const r=await n(e,t,i.setProgressState);console.log("got results",r),await i.unsetFlashingFlag(r),console.log("removed flashing flag")}catch(e){throw await i.unsetFlashingFlag({cancelled:!1,errorCode:e.code}),a.clear(),e}a.clear()},t.cancel=async function(e){const t=e.toLowerCase();l&&l(t)}},63576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.titleFromFlashState=t.fromFlashState=void 0;const r=n(20810),i=n(14685);function o({type:e,percentage:t,position:n}){return console.log(i.t("progress.starting")),void 0===e?{status:i.t("progress.starting")}:"decompressing"===e?null==t?{status:i.t("progress.decompressing")}:{position:`${t}%`,status:i.t("progress.decompressing")}:"flashing"===e?null!=t?t<100?{position:`${t}%`,status:i.t("progress.flashing")}:{status:i.t("progress.finishing")}:{status:i.t("progress.flashing"),position:`${n?(0,r.default)(n):""}`}:"verifying"===e?null==t?{status:i.t("progress.verifying")}:t<100?{position:`${t}%`,status:i.t("progress.verifying")}:{status:i.t("progress.finishing")}:{status:i.t("progress.failing")}}t.fromFlashState=o,t.titleFromFlashState=function(e){const{status:t,position:n}=o(e);return void 0!==n?`${n} ${t}`:t}},40233:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showError=t.showWarning=t.selectImage=void 0;const r=n(84157),i=n(53260),o=n(60193),a=n(20447),s=n(99400),l=n(54245),c=n(14685);t.selectImage=async function(){await async function(){const e=await s.get("automountOnFileSelect");if(e)try{await r.ipcRenderer.invoke("mount-drive",e)}catch(e){}}();const e={defaultPath:process.env.OWD,properties:["openFile","treatPackageAsDirectory"],filters:[{name:c.t("source.osImages"),extensions:l.SUPPORTED_EXTENSIONS},{name:c.t("source.allFiles"),extensions:["*"]}]},t=i.getCurrentWindow(),[n]=(await i.dialog.showOpenDialog(t,e)).filePaths;return n},t.showWarning=async function(e){o.defaults(e,{confirmationLabel:c.t("ok"),rejectionLabel:c.t("cancel")});const t=[e.confirmationLabel,e.rejectionLabel],n=o.indexOf(t,e.confirmationLabel),r=o.indexOf(t,e.rejectionLabel),{response:a}=await i.dialog.showMessageBox(i.getCurrentWindow(),{type:"warning",buttons:t,defaultId:r,cancelId:r,title:c.t("attention"),message:e.title,detail:e.description});return a===n},t.showError=function(e){const t=a.getTitle(e),n=a.getDescription(e);i.dialog.showErrorBox(t,n)}},63710:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.send=void 0;const r=n(53260),i=n(99400);t.send=async function(e,t,n){if(await i.get("desktopNotifications"))return r.app.dock&&r.app.dock.bounce(),new window.Notification(e,{body:t,icon:n})}},171:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=void 0;const r=n(84157),i=n(99400);t.open=async function(e){await i.get("disableExternalLinks")||e&&r.shell.openExternal(e)}},29589:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=t.set=t.currentWindow=void 0;const r=n(53260),i=n(88535),o=n(63576),a=document.title;function s(e){return e?`${a} – ${(0,o.titleFromFlashState)(e)}`:a}t.currentWindow=r.getCurrentWindow(),t.set=function(e){null!=e.percentage&&t.currentWindow.setProgressBar((0,i.percentageToFloat)(e.percentage)),t.currentWindow.setTitle(s(e))},t.clear=function(){t.currentWindow.setProgressBar(-1),t.currentWindow.setTitle(s(void 0))}},49815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlashStep=void 0;const r=n(93142),i=n(60193),o=n(16928),a=n(81794),s=n(12965),l=n(71371),c=n(82380),u=n(62464),f=n(35570),d=n(64547),p=n(62263),h=n(88404),m=n(78325),g=n(63710),v=n(70776),y=n(87064),b=n(95658),_=n(14685);function w(e,t,n){g.send("Oops! Looks like the flash failed.",c.error.flashFailure(t,n),e)}async function S(e,t){var n;const r=p.getSelectedDevices(),i=p.getImage(),a=f.getDrives().filter((e=>r.includes(e.device)));if(0===a.length||e)return"";const s=o.join("media","icon.png"),l=o.basename(i.path);try{if(await m.flash(i,a),!d.wasLastFlashCancelled()){const{results:e={devices:{successful:0,failed:0}},skip:r,cancelled:i}=d.getFlashResults();r||i||((null===(n=null==e?void 0:e.devices)||void 0===n?void 0:n.successful)>0?function(e,t,n,r){g.send("Flash complete!",c.info.flashComplete(t,n,r),e)}(s,l,a,e.devices):w(s,l,a)),t()}}catch(e){w(s,l,a);let t="EVALIDATION"===(u=e.code)?c.error.validation():"EUNPLUGGED"===u?c.error.driveUnplugged():"EIO"===u?c.error.inputOutput():"ENOSPC"===u?c.error.notEnoughSpaceInDrive():"ECHILDDIED"===u?c.error.childWriterDied():"";return t||(e.image=l,h.logException(e),t=c.error.genericFlashError(e)),t}finally{f.setDrives([])}var u;return""}const x=e=>{if("number"!=typeof e||!Number.isFinite(e))return"";const t=Math.floor(e/60);return`${t}m${Math.floor(e-60*t)}s`};class E extends a.PureComponent{constructor(e){super(e),this.state={warningMessage:!1,errorMessage:"",showDriveSelectorModal:!1,systemDrives:!1,drivesWithWarnings:[]}}async handleWarningResponse(e){this.setState({warningMessage:!1}),e?this.setState({errorMessage:await S(this.props.isFlashing,this.props.goToSuccess)}):this.setState({showDriveSelectorModal:!0})}handleFlashErrorResponse(e){this.setState({errorMessage:""}),d.resetState(),e||p.clear()}hasListWarnings(e){if(0!==e.length&&!d.isFlashing())return e.filter((e=>e.isSystem)).length>0}async tryFlash(){const e=p.getSelectedDrives().map((e=>({...e,statuses:l.getDriveImageCompatibilityStatuses(e,void 0,!0)})));if(0!==e.length&&!this.props.isFlashing)if(e.some((e=>e.statuses.length>0))){const t=e.some((e=>e.statuses.includes(l.statuses.system)));this.setState({systemDrives:t,drivesWithWarnings:e.filter((e=>e.isSystem||!t&&e.statuses.includes(l.statuses.large))),warningMessage:!0})}else this.setState({errorMessage:await S(this.props.isFlashing,this.props.goToSuccess)})}render(){return a.createElement(a.Fragment,null,a.createElement(s.Flex,{flexDirection:"column",alignItems:"start",width:this.props.width,style:this.props.style},a.createElement(y.default,{width:"40px",className:this.props.shouldFlashStepBeDisabled?"disabled":"",style:{margin:"0 auto"}}),a.createElement(u.ProgressButton,{type:this.props.step,active:this.props.isFlashing,percentage:this.props.percentage,position:this.props.position,disabled:this.props.shouldFlashStepBeDisabled,cancel:m.cancel,warning:this.hasListWarnings(p.getSelectedDrives()),callback:()=>this.tryFlash()}),!i.isNil(this.props.speed)&&100!==this.props.percentage&&a.createElement(s.Flex,{justifyContent:"space-between",fontSize:"14px",color:"#7e8085",width:"100%"},a.createElement(s.Txt,null,_.t("flash.speedShort",{speed:this.props.speed.toFixed(2)})),!i.isNil(this.props.eta)&&a.createElement(s.Txt,null,_.t("flash.eta",{eta:x(this.props.eta)}))),Boolean(this.props.failed)&&a.createElement(s.Flex,{color:"#fff",alignItems:"center",mt:35},a.createElement(r.default,{height:"1em",fill:"#ff4444"}),a.createElement(s.Txt,{ml:10},this.props.failed),a.createElement(s.Txt,{ml:10},c.progress.failed(this.props.failed)))),this.state.warningMessage&&a.createElement(b.default,{done:()=>this.handleWarningResponse(!0),cancel:()=>this.handleWarningResponse(!1),isSystem:this.state.systemDrives,drivesWithWarnings:this.state.drivesWithWarnings}),this.state.errorMessage&&a.createElement(s.Modal,{width:400,titleElement:"Attention",cancel:()=>this.handleFlashErrorResponse(!1),done:()=>this.handleFlashErrorResponse(!0),action:"Retry"},a.createElement(s.Txt,null,this.state.errorMessage.split("\n").map(((e,t)=>a.createElement("p",{key:t},e))))),this.state.showDriveSelectorModal&&a.createElement(v.TargetSelectorModal,{write:!0,cancel:()=>this.setState({showDriveSelectorModal:!1}),done:e=>{(0,v.selectAllTargets)(e),this.setState({showDriveSelectorModal:!1})}}))}}t.FlashStep=E},15303:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainPage=void 0;const r=n(82775),i=n(85098),o=n(89327),a=n(16928),s=n(20810),l=n(81794),c=n(12965),u=n(33388),f=n(76080),d=n(90256),p=n(47628),h=n(57072),m=n(64547),g=n(62263),v=n(99400),y=n(79380),b=n(171),_=n(23652),w=n(70776),S=n(49815),x=n(60829),E=n(11864),k=n(8235),C=(0,u.default)(_.IconButton)`
	margin-right: 20px;
`;function O(){const e=g.getSelectedDrives();return 1===e.length?e[0].description||"Untitled Device":0===e.length?"No targets found":`${e.length} Targets`}function T(e){if(void 0===e)return"";if(e.drive)return e.drive.description;const t=a.basename(e.path);return e.name||t}const P=u.default.div`
	position: relative;
	height: 2px;
	background-color: ${e=>e.disabled?e.theme.colors.dark.disabled.foreground:e.theme.colors.dark.foreground};
	width: 120px;
	top: 19px;

	left: ${e=>e.left?"-67px":void 0};
	margin-right: ${e=>e.left?"-120px":void 0};
	right: ${e=>e.right?"-67px":void 0};
	margin-left: ${e=>e.right?"-120px":void 0};
`,A="analytics_alert_visible";class M extends l.Component{constructor(e){super(e),this.hideAnalyticsAlert=()=>{this.state.analyticsAlertIsVisible&&(localStorage.setItem(A,"false"),this.setState({analyticsAlertIsVisible:!1}))},this.state={current:"main",isWebviewShowing:!1,hideSettings:!0,analyticsAlertIsVisible:"false"!==localStorage.getItem(A),...this.stateHelper()}}stateHelper(){const e=g.getImage();return{isFlashing:m.isFlashing(),hasImage:g.hasImage(),hasDrive:g.hasDrive(),imageLogo:null==e?void 0:e.logo,imageSize:null==e?void 0:e.size,imageName:T(g.getImage()),driveTitle:O(),driveLabel:(0,w.getDriveListLabel)()}}async getFeaturedProjectURL(){const e=new URL(await v.get("featuredProjectEndpoint")||"https://efp.balena.io/index.html");return e.searchParams.append("borderRight","false"),e.searchParams.append("darkBackground","true"),e.toString()}async componentDidMount(){(0,y.observe)((()=>{this.setState(this.stateHelper())})),this.setState({featuredProjectURL:await this.getFeaturedProjectURL()})}componentDidUpdate(e,t){this.state.analyticsAlertIsVisible&&t.hideSettings!==this.state.hideSettings&&this.setState({analyticsAlertIsVisible:!1})}renderMain(){const e=m.getFlashState(),t=!this.state.hasImage,n=!this.state.hasImage||!this.state.hasDrive,r=!this.state.isFlashing||!this.state.isWebviewShowing;return l.createElement(c.Flex,{m:`110px ${this.state.isWebviewShowing?35:55}px 18px ${this.state.isWebviewShowing?35:55}px`,flexDirection:"column"},l.createElement(c.Flex,{justifyContent:"space-between",mb:this.state.analyticsAlertIsVisible?"0px":"92px"},r&&l.createElement(l.Fragment,null,l.createElement(h.SourceSelector,{flashing:this.state.isFlashing,hideAnalyticsAlert:this.hideAnalyticsAlert}),l.createElement(c.Flex,null,l.createElement(P,{disabled:t,left:!0})),l.createElement(w.TargetSelector,{disabled:t,hasDrive:this.state.hasDrive,flashing:this.state.isFlashing,hideAnalyticsAlert:this.hideAnalyticsAlert}),l.createElement(c.Flex,null,l.createElement(P,{disabled:n,right:!0}))),this.state.isFlashing&&this.state.isWebviewShowing&&l.createElement(c.Flex,{style:{position:"absolute",top:0,left:0,width:"36.2vw",height:"100vh",zIndex:1,boxShadow:"0 2px 15px 0 rgba(0, 0, 0, 0.2)"}},l.createElement(d.ReducedFlashingInfos,{imageLogo:this.state.imageLogo,imageName:this.state.imageName,imageSize:"number"==typeof this.state.imageSize?(0,s.default)(this.state.imageSize):"",driveTitle:this.state.driveTitle,driveLabel:this.state.driveLabel,style:{position:"absolute",color:"#fff",left:35,top:72}})),this.state.isFlashing&&this.state.featuredProjectURL&&l.createElement(E.SafeWebview,{src:this.state.featuredProjectURL,onWebviewShow:e=>{this.setState({isWebviewShowing:e})},style:{position:"absolute",right:0,bottom:0,width:"63.8vw",height:"100vh"}}),l.createElement(S.FlashStep,{width:this.state.isWebviewShowing?"220px":"200px",goToSuccess:()=>this.setState({current:"success"}),shouldFlashStepBeDisabled:n,isFlashing:this.state.isFlashing,step:e.type,percentage:e.percentage,position:e.position,failed:e.failed,speed:e.speed,eta:e.eta,style:{zIndex:1}})),this.state.analyticsAlertIsVisible&&l.createElement(c.Alert,{mt:"18px",style:{boxShadow:"none",fontSize:"12px"}},l.createElement(c.Flex,{alignItems:"center",justifyContent:"space-between"},l.createElement(c.Flex,{flexDirection:"column"},l.createElement("div",null,"Etcher collects a limited amount of anonymous data to help us improve user experience. You can opt out in the"," ",l.createElement(c.Link,{onClick:()=>this.setState({hideSettings:!1})},"settings"),"."),l.createElement("div",null,"For more information about how we use this data, see our"," ",l.createElement(c.Link,{onClick:e=>{e.stopPropagation(),(0,b.open)("https://www.balena.io/privacy-policy")}},"privacy policy"),".")),l.createElement(_.IconButton,{onClick:this.hideAnalyticsAlert},l.createElement(i.default,{height:"0.75rem",fill:k.theme.colors.text.main})))))}renderSuccess(){return l.createElement(f.default,{goToMain:()=>{m.resetState(),this.setState({current:"main"})}})}render(){return l.createElement(_.ThemedProvider,{style:{height:"100%",width:"100%"}},l.createElement(c.Flex,{justifyContent:"space-between",alignItems:"center",paddingTop:"14px",style:{WebkitAppRegion:"drag",position:"relative",zIndex:2}},l.createElement(c.Flex,{width:"100%"}),l.createElement(c.Flex,{width:"100%",alignItems:"center",justifyContent:"center"},l.createElement(x.default,{width:"123px",height:"22px",style:{cursor:"pointer"},onClick:()=>(0,b.open)("https://www.balena.io/etcher?ref=etcher_footer"),tabIndex:100})),l.createElement(c.Flex,{width:"100%",alignItems:"center",justifyContent:"flex-end"},l.createElement(C,{icon:l.createElement(r.default,{height:"1em",fill:"currentColor"}),plain:!0,tabIndex:5,onClick:()=>this.setState({hideSettings:!1}),style:{WebkitAppRegion:"no-drag"}}),!v.getSync("disableExternalLinks")&&l.createElement(C,{icon:l.createElement(o.default,{height:"1em",fill:"currentColor"}),onClick:()=>{var e;return(0,b.open)((null===(e=g.getImage())||void 0===e?void 0:e.supportUrl)||"https://github.com/balena-io/etcher/blob/master/docs/SUPPORT.md")},tabIndex:6,style:{WebkitAppRegion:"no-drag"}}))),this.state.hideSettings?null:l.createElement(p.SettingsModal,{toggleModal:e=>{this.setState({hideSettings:!e})}}),"main"===this.state.current?this.renderMain():this.renderSuccess())}}t.MainPage=M,t.default=M},23652:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Table=t.Alert=t.ScrollableFlex=t.Modal=t.DetailsText=t.Footer=t.StepNameButton=t.ChangeButton=t.StepButton=t.IconButton=t.BaseButton=t.ThemedProvider=void 0;const r=n(81794),i=n(12965),o=n(33388),a=n(8235);t.ThemedProvider=e=>r.createElement(i.Provider,{theme:a.theme,...e}),t.BaseButton=(0,o.default)(i.Button)`
	width: 200px;
	height: 48px;
	font-size: 16px;
`,t.IconButton=(0,o.default)((e=>r.createElement(i.Button,{plain:!0,...e})))`
	&&& {
		width: 24px;
		height: 24px;
		font-size: 24px;
		color: #fff;

		> svg {
			font-size: 1em;
		}
	}
`,t.StepButton=(0,o.default)((e=>r.createElement(t.BaseButton,{...e})))`
	color: #ffffff;
	font-size: 14px;
`,t.ChangeButton=(0,o.default)(i.Button)`
	&& {
		border-radius: 24px;
		color: ${a.colors.primary.background};
		padding: 0;
		height: 18px;
		font-size: 14px;

		&:enabled {
			&:hover,
			&:focus,
			&:active {
				color: #8f9297;
			}
		}
	}
`,t.StepNameButton=(0,o.default)(t.BaseButton)`
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	font-weight: normal;
	color: ${a.colors.dark.foreground};

	&:enabled {
		&:hover,
		&:focus,
		&:active {
			color: #8f9297;
		}
	}
`,t.Footer=(0,o.default)(i.Txt)`
	margin-top: 10px;
	color: ${a.colors.dark.disabled.foreground};
	font-size: 10px;
`,t.DetailsText=e=>r.createElement(i.Flex,{alignItems:"center",color:a.colors.dark.disabled.foreground,...e});const s=o.css`
	overflow: auto;
	background:
		0,
		linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%,
		0,
		linear-gradient(rgba(255, 255, 255, 0), rgba(221, 225, 240, 0.5) 70%) 0 100%;
	background-repeat: no-repeat;
	background-size:
		100% 40px,
		100% 40px,
		100% 8px,
		100% 8px;

	background-repeat: no-repeat;
	background-color: white;
	background-size:
		100% 40px,
		100% 40px,
		100% 8px,
		100% 8px;
	background-attachment: local, local, scroll, scroll;
`;function l(e){return r.createElement("div",null,r.createElement(i.Table,{ref:e.refFn,...e}))}t.Modal=(0,o.default)((({style:e,children:n,...o})=>r.createElement(i.Modal,{position:"top",width:"97vw",cancelButtonProps:{style:{marginRight:"20px",border:"solid 1px #2a506f"}},style:{height:"87.5vh",...e},...o},r.createElement(t.ScrollableFlex,{flexDirection:"column",width:"100%",height:"90%"},n.length?n.map((e=>r.createElement(r.Fragment,null,e))):n))))`
	> div {
		padding: 0;
		height: 99%;

		> div:first-child {
			height: 81%;
			padding: 24px 30px 0;
		}

		> h3 {
			margin: 0;
			padding: 24px 30px 0;
			height: 14.3%;
		}

		> div:first-child {
			height: 81%;
			padding: 24px 30px 0;
		}

		> div:nth-child(2) {
			height: 61%;
			padding: 0 30px;
			${s}
		}

		> div:last-child {
			margin: 0;
			flex-direction: ${e=>e.reverseFooterButtons?"row-reverse":"row"};
			border-radius: 0 0 7px 7px;
			height: 80px;
			background-color: #fff;
			justify-content: center;
			width: 100%;
		}

		::-webkit-scrollbar {
			display: none;
		}
	}
`,t.ScrollableFlex=(0,o.default)(i.Flex)`
	overflow: auto;

	::-webkit-scrollbar {
		display: none;
	}

	> div > div {
		/* This is required for the sticky table header in TargetsTable */
		overflow-x: visible;
	}
`,t.Alert=(0,o.default)((e=>r.createElement(i.Alert,{warning:!0,emphasized:!0,...e})))`
	position: fixed;
	top: -40px;
	left: 50%;
	transform: translate(-50%, 0px);
	height: 30px;
	min-width: 50%;
	padding: 0px;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	background-color: #fca321;
	text-align: center;

	* {
		color: #ffffff;
	}

	> div:first-child {
		display: none;
	}
`,t.Table=e=>{const t=(0,o.default)((e=>r.createElement(l,{...e})))`
		[data-display='table-head']
			> [data-display='table-row']
			> [data-display='table-cell'] {
			position: sticky;
			background-color: #f8f9fd;
			top: 0;
			z-index: 1;

			input[type='checkbox'] + div {
				display: ${e=>e.multipleSelection?"flex":"none"};

				${e=>e.multipleSelection&&0!==e.checkedRowsNumber&&e.checkedRowsNumber!==e.data.length?`\n\t\t\t\t\t\tfont-weight: 600;\n\t\t\t\t\t\tcolor: ${a.colors.primary.foreground};\n\t\t\t\t\t\tbackground: ${a.colors.primary.background};\n\n\t\t\t\t\t\t::after {\n\t\t\t\t\t\t\tcontent: '–';\n\t\t\t\t\t\t}\n\t\t\t\t\t\t`:""}
				}
			}
		}

		[data-display='table-head'] > [data-display='table-row'],
		[data-display='table-body'] > [data-display='table-row'] {
			> [data-display='table-cell']:first-child {
				padding-left: 15px;
			}

			> [data-display='table-cell']:last-child {
				padding-right: 0;
			}
		}

		[data-display='table-body'] > [data-display='table-row'] {
			&:nth-of-type(2n) {
				background: transparent;
			}

			&[data-highlight='true'] {
				&.system {
					background-color: ${e=>e.showWarnings?"#fff5e6":"#e8f5fc"};
				}

				> [data-display='table-cell']:first-child {
					box-shadow: none;
				}
			}
		}

		&& [data-display='table-row'] > [data-display='table-cell'] {
			padding: 6px 8px;
			color: #2a506f;
		}

		input[type='checkbox'] + div {
			border-radius: ${e=>e.multipleSelection?"4px":"50%"};
		}
	`;return r.createElement(t,{...e})}},8235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.theme=t.colors=void 0;const r=n(60193),i=n(12965);t.colors={dark:{foreground:"#fff",background:"#4d5057",soft:{foreground:"#ddd",background:"#64686a"},disabled:{foreground:"#787c7f",background:"#3a3c41"}},light:{foreground:"#666",background:"#fff",soft:{foreground:"#b3b3b3"},disabled:{foreground:"#787c7f",background:"#d5d5d5"}},default:{foreground:"#b3b3b3",background:"#ececec"},primary:{foreground:"#fff",background:"#00aeef"},secondary:{foreground:"#000",background:"#ddd",main:"#fff"},warning:{foreground:"#fff",background:"#fca321"},danger:{foreground:"#fff",background:"#d9534f"},success:{foreground:"#fff",background:"#5fb835"}};const o="SourceSansPro";t.theme=r.merge({},i.Theme,{colors:t.colors,font:o,header:{height:"40px"},global:{font:{family:o,size:16},text:{medium:{size:16}}},button:{border:{width:"0",radius:"24px"},disabled:{opacity:1},extend:()=>`\n\t\t\twidth: 200px;\n\t\t\tfont-size: 16px;\n\n\t\t\t&& {\n\t\t\t\twidth: 200px;\n\t\t\t\theight: 48px;\n\t\t\t}\n\n\t\t\t:disabled {\n\t\t\t\tbackground-color: ${t.colors.dark.disabled.background};\n\t\t\t\tcolor: ${t.colors.dark.disabled.foreground};\n\t\t\t\topacity: 1;\n\n\t\t\t\t:hover {\n\t\t\t\t\tbackground-color: ${t.colors.dark.disabled.background};\n\t\t\t\t\tcolor: ${t.colors.dark.disabled.foreground};\n\t\t\t\t}\n\t\t\t}\n\t\t`},layer:{extend:()=>"\n\t\t\t> div:first-child {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t"}})},84858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.etcherProInfo=t.EtcherPro=void 0;class n{constructor(e,t){var n;this.supervisorAddr=e,this.supervisorKey=t,this.uuid=(null!==(n=process.env.BALENA_DEVICE_UUID)&&void 0!==n?n:"NO-UUID").substring(0,7),this.tags=void 0,this.get_tags().then((e=>this.tags=e))}async get_tags(){const e=await fetch(this.supervisorAddr+"/v2/device/tags?apikey="+this.supervisorKey),t=await e.json();return"success"===t.status?Object.assign({},...t.tags.map((e=>({[e.name]:e.value})))):{}}get_serial(){return this.tags?this.tags.Serial:void 0}}t.EtcherPro=n,t.etcherProInfo=function(){const e=process.env.BALENA_SUPERVISOR_ADDRESS,t=process.env.BALENA_SUPERVISOR_API_KEY;if(e&&t)return new n(e,t)}},26487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.middleEllipsis=void 0,t.middleEllipsis=function(e,t){if(t<3)throw new Error("middleEllipsis: Limit should be at least 3");if(e.length<=t)return e;const n=Math.floor((t-1)/2);return e.slice(0,n)+"…"+e.slice(e.length-n)}},71371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasDriveImageCompatibilityStatus=t.getListDriveImageCompatibilityStatuses=t.getDriveImageCompatibilityStatuses=t.statuses=t.COMPATIBILITY_STATUS_TYPES=t.isDriveSizeLarge=t.LARGE_DRIVE_SIZE=t.isDriveSizeRecommended=t.isDriveValid=t.isDriveLargeEnough=t.isSourceDrive=t.isSystemDrive=void 0;const r=n(60193),i=n(36445),o=n(82380),a=0;function s(e){return Boolean(e.isSystem)}function l(e,t){if(t){if(t.drive)return t.drive.device===e.device;if(t.path)return function(e,t){for(const n of t.mountpoints||[])if(i(e,n.path))return!0;return!1}(t.path,e)}return!1}function c(e,t){const n=e.size||a;return void 0===t||(t.isSizeEstimated?!(n<(t.compressedSize||a)):n>=(t.size||a))}function u(e,t){return(e.size||a)>=((null==t?void 0:t.recommendedDriveSize)||a)}function f(e){return(e.size||a)>t.LARGE_DRIVE_SIZE}function d(e,n,i){const a=[];return e.isReadOnly&&i&&a.push({type:t.COMPATIBILITY_STATUS_TYPES.ERROR,message:o.compatibility.locked()}),(0,r.isNil)(e)||(0,r.isNil)(e.size)||c(e,n)?(s(e)?a.push(t.statuses.system):f(e)&&a.push(t.statuses.large),l(e,n)&&a.push(t.statuses.containsImage),void 0===n||(0,r.isNil)(e)||u(e,n)||a.push(t.statuses.sizeNotRecommended)):a.push(t.statuses.small),a}t.isSystemDrive=s,t.isSourceDrive=l,t.isDriveLargeEnough=c,t.isDriveValid=function(e,t,n=!0){return!n||!e.disabled&&c(e,t)&&!l(e,t)},t.isDriveSizeRecommended=u,t.LARGE_DRIVE_SIZE=128e9,t.isDriveSizeLarge=f,t.COMPATIBILITY_STATUS_TYPES={WARNING:1,ERROR:2},t.statuses={locked:{type:t.COMPATIBILITY_STATUS_TYPES.ERROR,message:o.compatibility.locked()},system:{type:t.COMPATIBILITY_STATUS_TYPES.WARNING,message:o.compatibility.system()},containsImage:{type:t.COMPATIBILITY_STATUS_TYPES.ERROR,message:o.compatibility.containsImage()},large:{type:t.COMPATIBILITY_STATUS_TYPES.WARNING,message:o.compatibility.largeDrive()},small:{type:t.COMPATIBILITY_STATUS_TYPES.ERROR,message:o.compatibility.tooSmall()},sizeNotRecommended:{type:t.COMPATIBILITY_STATUS_TYPES.WARNING,message:o.compatibility.sizeNotRecommended()}},t.getDriveImageCompatibilityStatuses=d,t.getListDriveImageCompatibilityStatuses=function(e,t,n){return e.flatMap((e=>d(e,t,n)))},t.hasDriveImageCompatibilityStatus=function(e,t,n){return Boolean(d(e,t,n).length)}},20447:(e,t)=>{"use strict";function n(e,n){var r,i;if("string"==typeof e.code)return null===(i=null===(r=t.HUMAN_FRIENDLY[e.code])||void 0===r?void 0:r[n])||void 0===i?void 0:i.call(r,e)}function r(e){return"number"==typeof e&&(e=e.toString()),""===(null!=e?e:"").trim()}function i(e){if(r(e.title))throw new Error(`Invalid error title: ${e.title}`);const t=new Error(e.title);return t.description=e.description,!1===e.report&&(t.report=!1),void 0!==e.code&&(t.code=e.code),t}Object.defineProperty(t,"__esModule",{value:!0}),t.fromJSON=t.toJSON=t.createUserError=t.createError=t.getDescription=t.getTitle=t.HUMAN_FRIENDLY=void 0,t.HUMAN_FRIENDLY={ENOENT:{title:e=>`No such file or directory: ${e.path}`,description:()=>"The file you're trying to access doesn't exist"},EPERM:{title:()=>"You're not authorized to perform this operation",description:()=>"Please ensure you have necessary permissions for this task"},EACCES:{title:()=>"You don't have access to this resource",description:()=>"Please ensure you have necessary permissions to access this resource"},ENOMEM:{title:()=>"Your system ran out of memory",description:()=>"Please make sure your system has enough available memory for this task"}},t.getTitle=function(e){const t=n(e,"title");if(void 0!==t)return t;const i=e.message;if(!r(i))return i;const o=e.code;return r(o)?"An error ocurred":`Error code: ${o}`},t.getDescription=function(e){if(!r(e.description))return e.description;const t=n(e,"description");return void 0!==t?t:e.stack?e.stack:JSON.stringify(e,null,2)},t.createError=i,t.createUserError=function(e){return i({title:e.title,description:e.description,report:!1,code:e.code})},t.toJSON=function(e){return{name:e.name,message:e.message,description:e.description,stack:e.stack,report:e.report,code:e.code,syscall:e.syscall,errno:e.errno,stdout:e.stdout,stderr:e.stderr,device:e.device}},t.fromJSON=function(e){return Object.assign(new Error(e.message),e)}},40675:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CANCELLED=t.VALIDATION_ERROR=t.GENERAL_ERROR=t.SUCCESS=void 0,t.SUCCESS=0,t.GENERAL_ERROR=1,t.VALIDATION_ERROR=2,t.CANCELLED=3},82380:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.error=t.warning=t.compatibility=t.info=t.progress=void 0;const r=n(99443),i=n(20810);n(80440);const o=n(14685);t.progress={successful:e=>o.t("message.flashSucceed",{count:e}),failed:e=>o.t("message.flashFail",{count:e})},t.info={flashComplete:(e,[t],{failed:n,successful:r})=>{const i=[];return n+r===1?i.push(o.t("message.toDrive",{description:t.description,name:t.displayName})):(r&&i.push(o.t("message.toTarget",{count:r,num:r})),n&&i.push(o.t("message.andFailTarget",{count:n,num:n}))),o.t("message.succeedTo",{name:e,target:i.join(" ")})}},t.compatibility={sizeNotRecommended:()=>o.t("message.sizeNotRecommended"),tooSmall:()=>o.t("message.tooSmall"),locked:()=>o.t("message.locked"),system:()=>o.t("message.system"),containsImage:()=>o.t("message.containsImage"),largeDrive:()=>o.t("message.largeDrive")},t.warning={tooSmall:(e,t)=>(0,r.outdent)({newline:" "})`
			 ${o.t("message.sourceLarger",{byte:(0,i.default)(e.size-t.size)})}
		`,exitWhileFlashing:()=>o.t("message.exitWhileFlashing"),looksLikeWindowsImage:()=>o.t("message.looksLikeWindowsImage"),missingPartitionTable:()=>o.t("message.missingPartitionTable",{type:o.t("message.image")}),driveMissingPartitionTable:()=>o.t("message.missingPartitionTable",{type:o.t("message.drive")}),largeDriveSize:()=>o.t("message.largeDriveSize"),systemDrive:()=>o.t("message.systemDrive"),sourceDrive:()=>o.t("message.sourceDrive")},t.error={notEnoughSpaceInDrive:()=>o.t("message.noSpace"),genericFlashError:e=>o.t("message.genericFlashError",{error:e.message}),validation:()=>o.t("message.validation"),openSource:(e,t)=>o.t("message.openError",{source:e,error:t}),flashFailure:(e,t)=>{const n=1===t.length?o.t("message.toDrive",{description:t[0].description,name:t[0].displayName}):o.t("message.toTarget",{count:t.length,num:t.length});return o.t("message.flashError",{image:e,targets:n})},driveUnplugged:()=>o.t("message.unplug"),inputOutput:()=>o.t("message.cannotWrite"),childWriterDied:()=>o.t("message.childWriterDied"),unsupportedProtocol:()=>o.t("message.badProtocol")}},28842:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elevateCommand=t.createLaunchScript=t.isElevatedUnixSync=t.isElevated=void 0;const r=n(35317),i=n(58821),o=n(79896),a=n(39023),s=n(60193),l=n(70857),c=n(86659),u=n(97791),f=n(63632),d=n(51839),p=n(20447),h=(0,a.promisify)(r.exec);async function m(){if("win32"===l.platform()){try{await h("fltmc")}catch(e){if(e.code===l.constants.errno.EPERM)return!1;throw e}return!0}return 0===process.geteuid()}function g(e){return`'${String(e).replace(/'/g,"'\\''")}'`}function v(e){return`"${String(e).replace(/"/g,'\\"')}"`}function y(e,t){return`export ${t}=${g(e)}`}function b(e,t){return`set "${t}=${String(e)}"`}function _(e,t,n){const r="win32"===l.platform(),i=[];r&&i.push("chcp 65001");const[o,a]=r?[b,v]:[y,g];return i.push(...s.map(n,o)),i.push([e,...t].map(a).join(" ")),i.join(l.EOL)}t.isElevated=m,t.isElevatedUnixSync=function(){return 0===process.geteuid()},t.createLaunchScript=_,t.elevateCommand=async function(e,t){if(await m())return(0,r.spawn)(e[0],e.slice(1),{env:t.env}),{cancelled:!1};const n="win32"===l.platform(),a=_(e[0],e.slice(1),t.env);return await(0,i.withTmpFile)({keepOpen:!1,prefix:"balena-etcher-electron-",postfix:".cmd"},(async({path:e})=>{if(await o.promises.writeFile(e,a),n)return async function(e,t,n){const r=["cmd","/c",v(e).replace(/&/g,"^&")].join(" ");return await(0,d.sudo)(r,t,n),{cancelled:!1}}(e,t.applicationName,t.env);if("darwin"===l.platform()&&c.compare(l.release(),"19.0.0")>=0)return async function(e){const t=["bash",g(e)].join(" ");try{const{cancelled:e}=await(0,u.sudo)(t);return{cancelled:e}}catch(e){throw p.createError({title:e.stderr})}}(e);try{return async function(e,t){const n=["bash",g(e)].join(" ");return await(0,f.sudo)(n,{name:t}),{cancelled:!1}}(e,t.applicationName)}catch(e){if(console.log("error",e),s.includes(e.message,"is not in the sudoers file"))throw p.createUserError({title:"Your user doesn't have enough privileges to proceed",description:"This application requires sudo privileges to be able to write to drives"});if(s.startsWith(e.message,"Command failed:"))throw p.createUserError({title:"The elevated process died unexpectedly",description:`The process error code was ${e.code}`});if("User did not grant permission."===e.message)return{cancelled:!0};if("No polkit authentication agent found."===e.message)throw p.createUserError({title:"No polkit authentication agent found",description:"Please install a polkit authentication agent for your desktop environment of choice to continue"});throw e}}))}},97791:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sudo=void 0;const r=n(35317),i=n(16928),o=n(932),a=n(80440),s="AUTHENTICATION SUCCEEDED",l=`${s}\n`;function c(e){return(0,i.join)(process.resourcesPath,`sudo-askpass.osascript-${e}.js`)}t.sudo=async function(e){try{let t=Intl.DateTimeFormat().resolvedOptions().locale;t=t.substr(0,2),a.supportedLocales.indexOf(t)>-1||(t="en");const n=(0,r.spawn)("sudo",["--askpass","sh","-c",`echo ${s} && ${e}`],{env:{PATH:o.env.PATH,SUDO_ASKPASS:c(t)}});let i="pending";return n.stdout.on("data",(e=>{i=e.toString().includes(s)?"granted":"rejected"})),new Promise(((e,t)=>{const n=setInterval((()=>{"granted"===i?(clearInterval(n),e({cancelled:!1})):"rejected"===i&&(clearInterval(n),e({cancelled:!0}))}),300);setTimeout((()=>{clearInterval(n),t(new Error("Elevation timeout"))}),3e4)}))}catch(e){if(1===e.code){if(!e.stdout.startsWith(l))return{cancelled:!0};e.stdout=e.stdout.slice(l.length)}throw e}}},63632:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sudo=void 0;const r=n(35317),i=n(91943),o=n(932),a="AUTHENTICATION SUCCEEDED";t.sudo=async function(e,{name:t}){const n=await new Promise((async(e,t)=>{const n=["/usr/bin/kdesudo","/usr/bin/pkexec"];for(const t of n)try{await(0,i.access)(t,i.constants.X_OK),e(t)}catch(e){continue}t("Unable to find pkexec or kdesudo.")}));if(!n)throw new Error("Unable to find pkexec or kdesudo.");const s=[];var l;/kdesudo/i.test(n)?(s.push("--comment",`"${t} wants to make changes.\n\t\t\tEnter your password to allow this."`),s.push("-d"),s.push("--")):/pkexec/i.test(n)&&s.push("--disable-internal-agent"),s.push("/bin/bash"),s.push("-c"),s.push(`echo ${a} && ${l=e,l.replace(/"/g,'\\"')}`);const c=(0,r.spawn)(n,s,{env:{PATH:o.env.PATH}});let u="";return c.stdout.on("data",(e=>{u=e.toString().includes(a)?"granted":"refused"})),new Promise(((e,t)=>{const n=setInterval((()=>{"granted"===u?(clearInterval(n),e({cancelled:!1})):"refused"===u&&(clearInterval(n),e({cancelled:!0}))}),300);setTimeout((()=>{clearInterval(n),t(new Error("Elevation timeout"))}),3e4)}))}},51839:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sudo=void 0;const r=n(35317),i=n(70857),o=n(6224),a=n(16928),s=n(91943);function l(e){const t=["&","`","'",'"',"<",">","|","^"];for(const n of t)if(e.includes(n))return!0;return!1}t.sudo=async function(e,t,n){const c=(0,o.v4)(),u=(0,i.tmpdir)();if(!u)throw new Error("os.tmpdir() not defined.");const f=(0,a.join)(u,c);if(/"/.test(f))throw new Error("instance.path cannot contain double-quotes.");const d=(0,a.join)(f,"execute.bat"),p=(0,a.join)(f,"command.bat"),h=(0,a.join)(f,"stdout"),m=(0,a.join)(f,"stderr"),g=(0,a.join)(f,"status"),v="AUTHENTICATION SUCCEEDED";try{await(0,s.mkdir)(f);const t=`\n      @echo off\r\n\n      call "${p}" > "${h}" 2> "${m}"\r\n\n      (echo %ERRORLEVEL%) > "${g}"\n    `;await(0,s.writeFile)(d,t,"utf-8");const i=process.cwd();if(/"/.test(i))throw new Error("process.cwd() cannot contain double-quotes.");const o=[];o.push("@echo off"),o.push("chcp 65001>nul"),o.push(`cd /d "${i}"`);for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)){const t=n[e];o.push(`set ${e}=${t.replace(/([<>\\|&^])/g,"^$1")}`)}o.push(`echo ${v}`),o.push(e),await(0,s.writeFile)(p,o.join("\r\n"),"utf-8"),l(f)&&await(0,s.copyFile)((0,a.join)(process.env.SystemRoot,"System32","cmd.exe"),(0,a.join)(f,"cmd.exe"));const c=[];c.push("Start-Process"),c.push("-FilePath");const u={encoding:"utf8"};return l(f)?(c.push([".","cmd.exe"].join(a.sep)),c.push("-ArgumentList"),c.push('"/C","execute.bat"'),u.cwd=f):c.push(`'${d.replace(/'/g,"`'")}'`),c.push("-WindowStyle hidden"),c.push("-Verb runAs"),(0,r.spawn)("powershell.exe",c),new Promise(((e,t)=>{const n=setInterval((async()=>{try{const t=await(0,s.readFile)(h,"utf-8"),r=await(0,s.readFile)(m,"utf-8");if(r&&""!==r)throw new Error(r);t.includes(v)&&(clearInterval(n),e({cancelled:!1}))}catch(e){console.log("Error while reading flasher elevation script output",e)}}),1e3);setTimeout((()=>{clearInterval(n),t(new Error("Elevation timeout"))}),3e4)}))}catch(e){throw new Error(`Can't elevate process ${e}`)}}},54245:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.looksLikeWindowsImage=t.SUPPORTED_EXTENSIONS=void 0;const r=n(16928);t.SUPPORTED_EXTENSIONS=["bin","bz2","dmg","dsk","etch","gz","hddimg","img","iso","raw","rpi-sdimg","sdcard","vhd","wic","xz","zip"],t.looksLikeWindowsImage=function(e){return/windows|win7|win8|win10|winxp/i.test((0,r.basename)(e))}},10445:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesToMegabytes=void 0,t.bytesToMegabytes=function(e){return e/1e6}},88535:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJson=t.delay=t.percentageToFloat=t.isValidPercentage=void 0;const r=n(20447);function i(e){return"number"==typeof e&&e>=0&&e<=100}t.isValidPercentage=i,t.percentageToFloat=function(e){if(!i(e))throw r.createError({title:`Invalid percentage: ${e}`});return e/100},t.delay=async function(e){await new Promise((t=>{setTimeout(t,e)}))},t.isJson=function(e){try{JSON.parse(e)}catch(e){return!1}return!0}},20181:e=>{"use strict";e.exports=require("buffer")},35317:e=>{"use strict";e.exports=require("child_process")},76982:e=>{"use strict";e.exports=require("crypto")},84157:e=>{"use strict";e.exports=require("electron")},24434:e=>{"use strict";e.exports=require("events")},79896:e=>{"use strict";e.exports=require("fs")},91943:e=>{"use strict";e.exports=require("fs/promises")},58611:e=>{"use strict";e.exports=require("http")},65692:e=>{"use strict";e.exports=require("https")},69278:e=>{"use strict";e.exports=require("net")},31421:e=>{"use strict";e.exports=require("node:child_process")},51455:e=>{"use strict";e.exports=require("node:fs/promises")},48161:e=>{"use strict";e.exports=require("node:os")},76760:e=>{"use strict";e.exports=require("node:path")},1708:e=>{"use strict";e.exports=require("node:process")},57975:e=>{"use strict";e.exports=require("node:util")},70857:e=>{"use strict";e.exports=require("os")},16928:e=>{"use strict";e.exports=require("path")},932:e=>{"use strict";e.exports=require("process")},2203:e=>{"use strict";e.exports=require("stream")},64756:e=>{"use strict";e.exports=require("tls")},87016:e=>{"use strict";e.exports=require("url")},39023:e=>{"use strict";e.exports=require("util")},43106:e=>{"use strict";e.exports=require("zlib")},24180:(e,t,n)=>{e.exports=n(67179)},60812:(e,t,n)=>{e.exports=n(63855)},38619:(e,t,n)=>{e.exports=n(87376)},36518:(e,t,n)=>{e.exports=n(59145)},19270:(e,t,n)=>{e.exports=n(84439)},69868:(e,t,n)=>{e.exports=n(91153)},59435:(e,t,n)=>{e.exports=n(19346)},45685:(e,t,n)=>{e.exports=n(2784)},80976:(e,t,n)=>{e.exports=n(97845)},81456:(e,t,n)=>{e.exports=n(11953)},56246:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},28276:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31421),i=n(51455),o=n(48161),a=n(76760),s=n(1708),l=n(57975);class c extends Error{constructor(e){super(e),this.name="InvalidPathError",Object.setPrototypeOf(this,c.prototype)}}class u extends Error{constructor(e){super(e),this.name="NoMatchError",Object.setPrototypeOf(this,u.prototype)}}async function f(e,t){try{return await t.fsAccess(e),Promise.resolve(!0)}catch(e){return Promise.resolve(!1)}}async function d(e,t){let n=e,r=await f(n,t);for(;!r;)n=t.pathNormalize(n+"/.."),r=await f(n,t);return n}t.InvalidPathError=c,t.NoMatchError=u,t.default=function(e,t={platform:s.platform,release:o.release(),fsAccess:i.access,pathNormalize:a.normalize,pathSep:a.sep,cpExecFile:l.promisify(r.execFile)}){async function n(e,n,r,i=1){const[o,...a]=e;if(void 0===o)return Promise.reject(new Error("cmd must contain at least one item"));try{const{stdout:e}=await t.cpExecFile(o,a,{windowsHide:!0});return function(e,t,n,r){const i=e.split("\n").map((e=>e.trim())).filter((e=>0!==e.length)).slice(1).map((e=>e.split(/\s+(?=[\d/])/))).filter(t);if(0===i.length)throw new u;const o=i[0];return{diskPath:o[n.diskPath],free:parseInt(o[n.free],10)*r,size:parseInt(o[n.size],10)*r}}(e,n,r,i)}catch(e){return Promise.reject(e)}}return"win32"===t.platform?async function(e){if(":"!==e.charAt(1))return Promise.reject(new c(`The following path is invalid (should be X:\\...): ${e}`));const r=await async function(e){if(parseInt(e.release.split(".")[0],10)<=6)return!1;try{return await e.cpExecFile("where",["powershell"],{windowsHide:!0}),!0}catch(e){return!1}}(t)?["powershell","Get-CimInstance -ClassName Win32_LogicalDisk | Select-Object Caption, FreeSpace, Size"]:["wmic","logicaldisk","get","size,freespace,caption"];return n(r,(t=>{const n=t[0];return e.toUpperCase().startsWith(n.toUpperCase())}),{diskPath:0,free:1,size:2})}(e):async function(e){return t.pathNormalize(e).startsWith(t.pathSep)?n(["df","-Pk","--",await d(e,t)],(()=>!0),{diskPath:5,free:3,size:1},1024):Promise.reject(new c(`The following path is invalid (should start by ${t.pathSep}): ${e}`))}(e)},t.getFirstExistingParentPath=d},55649:(e,t,n)=>{var r,i,o,a,s,l,c,u,f,d=Object.create,p=Object.defineProperty,h=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,g=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,y=(e,t)=>function(){return e&&(t=(0,e[m(e)[0]])(e=0)),t},b=(e,t)=>function(){return t||(0,e[m(e)[0]])((t={exports:{}}).exports,t),t.exports},_=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of m(t))v.call(e,i)||i===n||p(e,i,{get:()=>t[i],enumerable:!(r=h(t,i))||r.enumerable});return e},w=(e,t,n)=>(n=null!=e?d(g(e)):{},_(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)),S=y({"src/lib/vendor.mjs"(){r={},i=()=>r,o=e=>{Object.assign(r,e)}}}),x=y({"src/lib/class/Registry.mjs"(){a=class{constructor(){this.data={}}unregister(e){e?delete this.data[e]:this.data={}}register(e,t){this.data[e]=t}registerMany(e){Object.keys(e).forEach((t=>{this.data[t]=e[t]}))}get(e){return this.data[e]}list(){return this.data}}}}),E=y({"src/lib/api/defaults.mjs"(){l=s={},s.defaultInvalidTypeProduct=void 0,s.defaultRandExpMax=10,s.pruneProperties=[],s.ignoreProperties=[],s.ignoreMissingRefs=!1,s.failOnInvalidTypes=!0,s.failOnInvalidFormat=!0,s.alwaysFakeOptionals=!1,s.optionalsProbability=null,s.fixedProbabilities=!1,s.useExamplesValue=!1,s.useDefaultValue=!1,s.requiredOnly=!1,s.omitNulls=!1,s.minItems=0,s.maxItems=null,s.minLength=0,s.maxLength=null,s.resolveJsonPath=!1,s.reuseProperties=!1,s.fillProperties=!0,s.sortProperties=!1,s.replaceEmptyByRandomValue=!1,s.random=Math.random,s.minDateTime=new Date("1889-12-31T00:00:00.000Z"),s.maxDateTime=new Date("1970-01-01T00:00:01.000Z"),s.renderTitle=!0,s.renderDescription=!0,s.renderComment=!1}}),k=y({"src/lib/class/OptionRegistry.mjs"(){x(),E(),c=class extends a{constructor(){super(),this.data={...l},this._defaults=l}get defaults(){return{...this._defaults}}}}});function C(e,t){return"string"==typeof e?void 0!==t?u.register(e,t):u.get(e):u.registerMany(e)}var O,T,P,A,M,L,I=y({"src/lib/api/option.mjs"(){k(),u=new c,C.getDefaults=()=>u.defaults,f=C}}),R=y({"src/lib/core/constants.mjs"(){T=(O=["integer","number","string","boolean"]).concat(["null"]),P=["array","object"].concat(T),A={ALLOWED_TYPES:O,SCALAR_TYPES:T,ALL_TYPES:P,MIN_NUMBER:-100,MAX_NUMBER:100,MIN_INTEGER:-1e8,MAX_INTEGER:1e8,MOST_NEAR_DATETIME:2524608e6}}}),D=b({"node_modules/ret/lib/types.js"(e,t){t.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}}}),j=b({"node_modules/ret/lib/sets.js"(e){var t=D(),n=()=>[{type:t.RANGE,from:48,to:57}],r=()=>[{type:t.CHAR,value:95},{type:t.RANGE,from:97,to:122},{type:t.RANGE,from:65,to:90}].concat(n()),i=()=>[{type:t.CHAR,value:9},{type:t.CHAR,value:10},{type:t.CHAR,value:11},{type:t.CHAR,value:12},{type:t.CHAR,value:13},{type:t.CHAR,value:32},{type:t.CHAR,value:160},{type:t.CHAR,value:5760},{type:t.RANGE,from:8192,to:8202},{type:t.CHAR,value:8232},{type:t.CHAR,value:8233},{type:t.CHAR,value:8239},{type:t.CHAR,value:8287},{type:t.CHAR,value:12288},{type:t.CHAR,value:65279}];e.words=()=>({type:t.SET,set:r(),not:!1}),e.notWords=()=>({type:t.SET,set:r(),not:!0}),e.ints=()=>({type:t.SET,set:n(),not:!1}),e.notInts=()=>({type:t.SET,set:n(),not:!0}),e.whitespace=()=>({type:t.SET,set:i(),not:!1}),e.notWhitespace=()=>({type:t.SET,set:i(),not:!0}),e.anyChar=()=>({type:t.SET,set:[{type:t.CHAR,value:10},{type:t.CHAR,value:13},{type:t.CHAR,value:8232},{type:t.CHAR,value:8233}],not:!0})}}),N=b({"node_modules/ret/lib/util.js"(e){var t=D(),n=j(),r={0:0,t:9,n:10,v:11,f:12,r:13};e.strToChars=function(e){return e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,(function(e,t,n,i,o,a,s,l){if(n)return e;var c=t?8:i?parseInt(i,16):o?parseInt(o,16):a?parseInt(a,8):s?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(s):r[l],u=String.fromCharCode(c);return/[[\]{}^$.|?*+()]/.test(u)&&(u="\\"+u),u}))},e.tokenizeClass=(r,i)=>{for(var o,a,s=[],l=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;null!=(o=l.exec(r));)if(o[1])s.push(n.words());else if(o[2])s.push(n.ints());else if(o[3])s.push(n.whitespace());else if(o[4])s.push(n.notWords());else if(o[5])s.push(n.notInts());else if(o[6])s.push(n.notWhitespace());else if(o[7])s.push({type:t.RANGE,from:(o[8]||o[9]).charCodeAt(0),to:o[10].charCodeAt(0)});else{if(!(a=o[12]))return[s,l.lastIndex];s.push({type:t.CHAR,value:a.charCodeAt(0)})}e.error(i,"Unterminated character class")},e.error=(e,t)=>{throw new SyntaxError("Invalid regular expression: /"+e+"/: "+t)}}}),F=b({"node_modules/ret/lib/positions.js"(e){var t=D();e.wordBoundary=()=>({type:t.POSITION,value:"b"}),e.nonWordBoundary=()=>({type:t.POSITION,value:"B"}),e.begin=()=>({type:t.POSITION,value:"^"}),e.end=()=>({type:t.POSITION,value:"$"})}}),B=b({"node_modules/ret/lib/index.js"(e,t){var n=N(),r=D(),i=j(),o=F();t.exports=e=>{var t,a,s=0,l={type:r.ROOT,stack:[]},c=l,u=l.stack,f=[],d=t=>{n.error(e,"Nothing to repeat at column "+(t-1))},p=n.strToChars(e);for(t=p.length;s<t;)switch(a=p[s++]){case"\\":switch(a=p[s++]){case"b":u.push(o.wordBoundary());break;case"B":u.push(o.nonWordBoundary());break;case"w":u.push(i.words());break;case"W":u.push(i.notWords());break;case"d":u.push(i.ints());break;case"D":u.push(i.notInts());break;case"s":u.push(i.whitespace());break;case"S":u.push(i.notWhitespace());break;default:/\d/.test(a)?u.push({type:r.REFERENCE,value:parseInt(a,10)}):u.push({type:r.CHAR,value:a.charCodeAt(0)})}break;case"^":u.push(o.begin());break;case"$":u.push(o.end());break;case"[":var h;"^"===p[s]?(h=!0,s++):h=!1;var m=n.tokenizeClass(p.slice(s),e);s+=m[1],u.push({type:r.SET,set:m[0],not:h});break;case".":u.push(i.anyChar());break;case"(":var g={type:r.GROUP,stack:[],remember:!0};"?"===(a=p[s])&&(a=p[s+1],s+=2,"="===a?g.followedBy=!0:"!"===a?g.notFollowedBy=!0:":"!==a&&n.error(e,`Invalid group, character '${a}' after '?' at column ${s-1}`),g.remember=!1),u.push(g),f.push(c),c=g,u=g.stack;break;case")":0===f.length&&n.error(e,"Unmatched ) at column "+(s-1)),u=(c=f.pop()).options?c.options[c.options.length-1]:c.stack;break;case"|":c.options||(c.options=[c.stack],delete c.stack);var v=[];c.options.push(v),u=v;break;case"{":var y,b,_=/^(\d+)(,(\d+)?)?\}/.exec(p.slice(s));null!==_?(0===u.length&&d(s),y=parseInt(_[1],10),b=_[2]?_[3]?parseInt(_[3],10):1/0:y,s+=_[0].length,u.push({type:r.REPETITION,min:y,max:b,value:u.pop()})):u.push({type:r.CHAR,value:123});break;case"?":0===u.length&&d(s),u.push({type:r.REPETITION,min:0,max:1,value:u.pop()});break;case"+":0===u.length&&d(s),u.push({type:r.REPETITION,min:1,max:1/0,value:u.pop()});break;case"*":0===u.length&&d(s),u.push({type:r.REPETITION,min:0,max:1/0,value:u.pop()});break;default:u.push({type:r.CHAR,value:a.charCodeAt(0)})}return 0!==f.length&&n.error(e,"Unterminated group"),l},t.exports.types=r}}),z=b({"node_modules/drange/lib/index.js"(e,t){"use strict";var n=class e{constructor(e,t){this.low=e,this.high=t,this.length=1+t-e}overlaps(e){return!(this.high<e.low||this.low>e.high)}touches(e){return!(this.high+1<e.low||this.low-1>e.high)}add(t){return new e(Math.min(this.low,t.low),Math.max(this.high,t.high))}subtract(t){return t.low<=this.low&&t.high>=this.high?[]:t.low>this.low&&t.high<this.high?[new e(this.low,t.low-1),new e(t.high+1,this.high)]:t.low<=this.low?[new e(t.high+1,this.high)]:[new e(this.low,t.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}};t.exports=class e{constructor(e,t){this.ranges=[],this.length=0,null!=e&&this.add(e,t)}_update_length(){this.length=this.ranges.reduce(((e,t)=>e+t.length),0)}add(t,r){var i=e=>{for(var t=0;t<this.ranges.length&&!e.touches(this.ranges[t]);)t++;for(var n=this.ranges.slice(0,t);t<this.ranges.length&&e.touches(this.ranges[t]);)e=e.add(this.ranges[t]),t++;n.push(e),this.ranges=n.concat(this.ranges.slice(t)),this._update_length()};return t instanceof e?t.ranges.forEach(i):(null==r&&(r=t),i(new n(t,r))),this}subtract(t,r){var i=e=>{for(var t=0;t<this.ranges.length&&!e.overlaps(this.ranges[t]);)t++;for(var n=this.ranges.slice(0,t);t<this.ranges.length&&e.overlaps(this.ranges[t]);)n=n.concat(this.ranges[t].subtract(e)),t++;this.ranges=n.concat(this.ranges.slice(t)),this._update_length()};return t instanceof e?t.ranges.forEach(i):(null==r&&(r=t),i(new n(t,r))),this}intersect(t,r){var i=[],o=e=>{for(var t=0;t<this.ranges.length&&!e.overlaps(this.ranges[t]);)t++;for(;t<this.ranges.length&&e.overlaps(this.ranges[t]);){var r=Math.max(this.ranges[t].low,e.low),o=Math.min(this.ranges[t].high,e.high);i.push(new n(r,o)),t++}};return t instanceof e?t.ranges.forEach(o):(null==r&&(r=t),o(new n(t,r))),this.ranges=i,this._update_length(),this}index(e){for(var t=0;t<this.ranges.length&&this.ranges[t].length<=e;)e-=this.ranges[t].length,t++;return this.ranges[t].low+e}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new e(this)}numbers(){return this.ranges.reduce(((e,t)=>{for(var n=t.low;n<=t.high;)e.push(n),n++;return e}),[])}subranges(){return this.ranges.map((e=>({low:e.low,high:e.high,length:1+e.high-e.low})))}}}}),$=b({"node_modules/randexp/lib/randexp.js"(e,t){var n=B(),r=z(),i=n.types;t.exports=class e{constructor(e,t){if(this._setDefaults(e),e instanceof RegExp)this.ignoreCase=e.ignoreCase,this.multiline=e.multiline,e=e.source;else{if("string"!=typeof e)throw new Error("Expected a regexp or string");this.ignoreCase=t&&-1!==t.indexOf("i"),this.multiline=t&&-1!==t.indexOf("m")}this.tokens=n(e)}_setDefaults(t){this.max=null!=t.max?t.max:null!=e.prototype.max?e.prototype.max:100,this.defaultRange=t.defaultRange?t.defaultRange:this.defaultRange.clone(),t.randInt&&(this.randInt=t.randInt)}gen(){return this._gen(this.tokens,[])}_gen(e,t){var n,r,o,a,s;switch(e.type){case i.ROOT:case i.GROUP:if(e.followedBy||e.notFollowedBy)return"";for(e.remember&&void 0===e.groupNumber&&(e.groupNumber=t.push(null)-1),r="",a=0,s=(n=e.options?this._randSelect(e.options):e.stack).length;a<s;a++)r+=this._gen(n[a],t);return e.remember&&(t[e.groupNumber]=r),r;case i.POSITION:return"";case i.SET:var l=this._expand(e);return l.length?String.fromCharCode(this._randSelect(l)):"";case i.REPETITION:for(o=this.randInt(e.min,e.max===1/0?e.min+this.max:e.max),r="",a=0;a<o;a++)r+=this._gen(e.value,t);return r;case i.REFERENCE:return t[e.value-1]||"";case i.CHAR:var c=this.ignoreCase&&this._randBool()?this._toOtherCase(e.value):e.value;return String.fromCharCode(c)}}_toOtherCase(e){return e+(97<=e&&e<=122?-32:65<=e&&e<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(e){return e instanceof r?e.index(this.randInt(0,e.length-1)):e[this.randInt(0,e.length-1)]}_expand(e){if(e.type===n.types.CHAR)return new r(e.value);if(e.type===n.types.RANGE)return new r(e.from,e.to);{let t=new r;for(let n=0;n<e.set.length;n++){let r=this._expand(e.set[n]);if(t.add(r),this.ignoreCase)for(let e=0;e<r.length;e++){let n=r.index(e),i=this._toOtherCase(n);n!==i&&t.add(i)}}return e.not?this.defaultRange.clone().subtract(t):this.defaultRange.clone().intersect(t)}}randInt(e,t){return e+Math.floor(Math.random()*(1+t-e))}get defaultRange(){return this._range=this._range||new r(32,126)}set defaultRange(e){this._range=e}static randexp(t,n){var r;return"string"==typeof t&&(t=new RegExp(t,n)),void 0===t._randexp?(r=new e(t,n),t._randexp=r):(r=t._randexp)._setDefaults(t),r.gen()}static sugar(){RegExp.prototype.gen=function(){return e.randexp(this)}}}}});function U(e){return M.default.prototype.max=f("defaultRandExpMax"),M.default.prototype.randInt=(e,t)=>e+Math.floor(f("random")()*(t-e+1)),new M.default(e).gen()}function H(e){return e[Math.floor(f("random")()*e.length)]}function W(e){let t,n,r=e.length;const i=e.slice();for(;r>0;)n=Math.floor(f("random")()*r),r-=1,t=i[r],i[r]=i[n],i[n]=t;return i}function q(e,t){return f("random")()*(t-e)+e}function V(e,t,n,r,i=!1){return n=void 0===n?A.MIN_NUMBER:n,r=void 0===r?A.MAX_NUMBER:r,(t=void 0===t?r:t)<(e=void 0===e?n:e)&&(t+=e),i?q(e,t):function(e,t){return e=void 0===e?A.MIN_INTEGER:e,t=void 0===t?A.MAX_INTEGER:t,Math.floor(f("random")()*(t-e+1))+e}(e,t)}function K(e){if(e)return function(e){switch(e){case"seconds":return 60*V(0,60);case"minutes":return 612*V(15,50);case"hours":return 36123*V(12,72);case"days":return 86412345*V(7,30);case"weeks":return 604812345*V(4,52);case"months":return 2592012345*V(2,13);case"years":return 31104012345*V(1,20)}}(e);let t=f("minDateTime"),n=f("maxDateTime");"string"==typeof t&&(t=new Date(t)),"string"==typeof n&&(n=new Date(n));const r=(new Date).getTime();return"number"==typeof t&&(t=new Date(r+t)),"number"==typeof n&&(n=new Date(r+n)),new Date(q(t.getTime(),n.getTime()))}var G,Y,J=y({"src/lib/core/random.mjs"(){M=w($(),1),I(),R(),L={pick:H,date:K,shuffle:W,number:V,randexp:U}}});function Z(e,t,n){if(t=decodeURIComponent(t),n&&n[t])return re(n[t]);const r=t.replace("#/","/").split("/");let i=e.$ref&&n&&n[e.$ref]||e;for(i||r[0]||(r[0]=e.$ref.split("#/")[0]),n&&t.includes("#/")&&n[r[0]]&&(i=n[r.shift()]),r[0]||r.shift();i&&r.length>0;){const e=r.shift();if(!i[e])throw new Error(`Prop not found: ${e} (${t})`);i=i[e]}return i}function X(e){return"string"==typeof e&&G.test(e)}function Q(e,...t){return t.filter((t=>void 0!==e[t])).length>0}function ee(e){if(e.includes(" "))return new Date(e).toISOString().substr(0,10);let[t,n,r]=e.split("T")[0].split("-");return n=`0${Math.max(1,Math.min(12,n))}`.slice(-2),r=`0${Math.max(1,Math.min(31,r))}`.slice(-2),`${t}-${n}-${r}`}function te(e,t,n){const r={};switch(e||t.type){case"integer":case"number":if(void 0!==t.minimum&&(r.minimum=t.minimum),void 0!==t.maximum&&(r.maximum=t.maximum),t.enum){let e=Math.max(r.minimum||0,0),n=Math.min(r.maximum||1/0,1/0);t.exclusiveMinimum&&e===t.minimum&&(e+=t.multipleOf||1),t.exclusiveMaximum&&n===t.maximum&&(n-=t.multipleOf||1),(e||n!==1/0)&&(t.enum=t.enum.filter((t=>t>=e&&t<=n)))}break;case"string":r.minLength=f("minLength")||0,r.maxLength=f("maxLength")||Number.MAX_SAFE_INTEGER,void 0!==t.minLength&&(r.minLength=Math.max(r.minLength,t.minLength)),void 0!==t.maxLength&&(r.maxLength=Math.min(r.maxLength,t.maxLength))}let i=n(r);if(null==i)return null;switch(e||t.type){case"number":i=X(i)?parseFloat(i):i;break;case"integer":i=X(i)?parseInt(i,10):i;break;case"boolean":i=!!i;break;case"string":{if(function(e){return["number","boolean"].includes(typeof e)}(i))return i;i=String(i);const e=Math.max(r.minLength||0,0),n=Math.min(r.maxLength||1/0,1/0);let o,a=0;for(;i.length<e;)if(o=i,t.pattern?i+=L.randexp(t.pattern):i+=`${L.pick([" ","/","_","-","+","=","@","^"])}${i}`,i===o){if(a+=1,3===a)break}else a=0;switch(i.length>n&&(i=i.substr(0,n)),t.format){case"date-time":case"datetime":i=new Date(function(e){if(e.includes(" "))return new Date(e).toISOString().substr(0,10);const[t,n]=e.split("T");let[r,i,o]=t.split("-"),[a,s,l]=n.substr(0,8).split(":");return i=`0${Math.max(1,Math.min(12,i))}`.slice(-2),o=`0${Math.max(1,Math.min(31,o))}`.slice(-2),a=`0${Math.max(1,Math.min(23,a))}`.slice(-2),s=`0${Math.max(1,Math.min(59,s))}`.slice(-2),l=`0${Math.max(1,Math.min(59,l))}`.slice(-2),`${r}-${i}-${o}T${a}:${s}:${l}.000Z`}(i)).toISOString().replace(/([0-9])0+Z$/,"$1Z");break;case"full-date":case"date":i=new Date(ee(i)).toISOString().substr(0,10);break;case"time":i=new Date(`1969-01-01 ${i}`).toISOString().substr(11)}break}}return i}function ne(e,t){return Object.keys(t).forEach((n=>{"object"!=typeof t[n]||null===t[n]?e[n]=t[n]:Array.isArray(t[n])?(e[n]=e[n]||[],t[n].forEach(((r,i)=>{"array"===e.type&&"array"===t.type?e[n][i]=ne(e[n][i]||{},r):Array.isArray(e[n])&&-1===e[n].indexOf(r)&&e[n].push(r)}))):"object"!=typeof e[n]||null===e[n]||Array.isArray(e[n])?e[n]=ne({},t[n]):e[n]=ne(e[n],t[n])})),e}function re(e,t=new Map){if(!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){const n=[];return t.set(e,n),n.push(...e.map((e=>re(e,t)))),n}const n={};return t.set(e,n),Object.keys(e).reduce(((n,r)=>(n[r]=re(e[r],t),n)),n)}function ie(e){const t=JSON.stringify(e),n=JSON.stringify(e,null,2);return t.length>400?`${n.substr(0,400)}...`:n}function oe(){return L.pick([!1,!0,null,-1,NaN,Math.PI,1/0,void 0,[],{},Math.random(),Math.random().toString(36).substr(2)])}function ae(e,t){return e.enum?e.enum.includes(t):e.const?e.const===t:void 0}function se(e,t){const n=ne({},t);if(void 0!==e.minimum&&(n.maximum=e.minimum,n.exclusiveMaximum=!0),void 0!==e.maximum&&(n.minimum=e.maximum>n.maximum?0:e.maximum,n.exclusiveMinimum=!0),void 0!==e.minLength&&(n.maxLength=e.minLength),void 0!==e.maxLength&&(n.minLength=e.maxLength>n.maxLength?0:e.maxLength),e.type)n.type=L.pick(A.SCALAR_TYPES.filter((t=>(Array.isArray(e.type)?e.type:[e.type]).every((e=>"number"===t||"integer"===t?"number"!==e&&"integer"!==e:t!==e)))));else if(e.enum){let t;do{t=oe()}while(-1!==e.enum.indexOf(t));n.enum=[t]}return e.required&&n.properties&&e.required.forEach((e=>{delete n.properties[e]})),n}function le(e,t){const n=void 0!==t.minimum,r=void 0!==t.maximum;return(n||r)&&(!n||e>=t.minimum)&&(!r||e<=t.maximum)}function ce(e,t){return!t.every((t=>le(e,t)))}function ue(e,t){return 1===t.reduce(((t,n)=>t+(le(e,n)?1:0)),0)}function fe(e){return["enum","const","default","examples","required","definitions","items","properties"].includes(e)}function de(e,t){return Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,n)=>(Array.isArray(e[n])?t[n]=e[n].slice():t[n]=e[n]instanceof Object?ne({},e[n]):e[n],t)),{})}function pe(e,t){return Array.isArray(e)?e.map((e=>pe(e,t))):("string"==typeof e&&(e=e.replace(/#\{([\w.-]+)\}/g,((e,n)=>t[n]))),e)}function he(e){return"[object Object]"===Object.prototype.toString.call(e)&&!Object.keys(e).length}function me(e,t){t=t.items||t;const n=f("alwaysFakeOptionals"),r=Array.isArray(t.required)&&t.required.includes(e)||n,i="function"==typeof t.thunk||t.additionalProperties&&"function"==typeof t.additionalProperties.thunk;return!r&&!i}function ge(e,t,n=!1){return e&&"object"==typeof e?Array.isArray(e)?e.map((e=>ge(e,t,!0))).filter((e=>void 0!==e)):(Object.keys(e).forEach((n=>{if(he(e[n]))me(n,t)&&delete e[n];else{let r=t;t&&t.properties&&t.properties[n]&&(r=t.properties[n]);const i=ge(e[n],r);he(i)||(e[n]=i)}void 0===e[n]&&delete e[n]})),Object.keys(e).length||!n?e:void 0):e}var ve,ye,be,_e=y({"src/lib/core/utils.mjs"(){I(),R(),J(),G=/^(0|[1-9][0-9]*)$/,Y={hasProperties:Q,getLocalRef:Z,omitProps:de,typecast:te,merge:ne,clone:re,short:ie,hasValue:ae,notValue:se,anyValue:oe,validate:ce,validateValueForSchema:le,validateValueForOneOf:ue,isKey:fe,template:pe,shouldClean:me,clean:ge,isEmpty:he,clampDate:ee}}}),we=y({"src/lib/class/Container.mjs"(){_e(),ve=class{constructor(){this.registry={},this.support={}}reset(e){e?(delete this.registry[e],delete this.support[e]):(this.registry={},this.support={})}extend(e,t){var n;this.registry[e]=t(this.registry[e]),this.support[e]||(this.support[e]=(n=()=>this.registry[e],(e,t,r,i)=>{let o=e,a=[];"object"==typeof e&&(o=Object.keys(e)[0],Array.isArray(e[o])?a=e[o]:a.push(e[o]));const s=o.split(".");let l=n();for(;s.length>1;)l=l[s.shift()];return"function"==typeof(e="object"==typeof l?l[s[0]]:l)&&(e=e.apply(l,a.map((e=>Y.template(e,i))))),"[object Object]"===Object.prototype.toString.call(e)&&Object.keys(e).forEach((t=>{if("function"==typeof e[t])throw new Error(`Cannot resolve value for '${r}: ${o}', given: ${e}`)})),e}))}define(e,t){this.support[e]=t}get(e){if(void 0===this.registry[e])throw new ReferenceError(`'${e}' dependency doesn't exist.`);return this.registry[e]}wrap(e){if(!("generate"in e)){const t=Object.keys(e),n={};let r=t.length;for(;r--;){const i=t[r].replace(/^x-/,""),o=this.support[i];if("function"==typeof o){Object.defineProperty(e,"generate",{configurable:!1,enumerable:!1,writable:!1,value:(i,a)=>o.call(n,e[t[r]],e,t[r],i,a.slice())});break}}}return e}}}});function Se(e,t){if(void 0===e)return ye.list();if("string"==typeof e)if("function"==typeof t)ye.register(e,t);else{if(null!==t&&!1!==t)return ye.get(e);ye.unregister(e)}else ye.registerMany(e)}var xe,Ee,ke,Ce,Oe,Te=y({"src/lib/api/format.mjs"(){x(),ye=new a,be=Se}}),Pe=y({"src/lib/core/error.mjs"(){xe=class extends Error{constructor(e,t){super(),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="ParseError",this.message=e,this.path=t}},Ee=xe}});function Ae(e,t,n){return Object.keys(e).filter((e=>{const r=Ce.indexOf(t)>-1;return!(!(n.indexOf(e)>-1)||r)})).length>0}function Me(e,t){const n=Object.keys(ke);for(let r=0;r<n.length;r+=1){const i=n[r];if(Ae(e,t[t.length-1],ke[i]))return i}}var Le,Ie=y({"src/lib/core/infer.mjs"(){(ke={array:["additionalItems","items","maxItems","minItems","uniqueItems"],integer:["exclusiveMaximum","exclusiveMinimum","maximum","minimum","multipleOf"],object:["additionalProperties","dependencies","maxProperties","minProperties","patternProperties","properties","required"],string:["maxLength","minLength","pattern","format"]}).number=ke.integer,Ce=["additionalItems","items","additionalProperties","dependencies","patternProperties","properties"],Oe=Me}});function Re(){return f("random")()>.5}var De,je,Ne=y({"src/lib/generators/boolean.mjs"(){I(),Le=Re}}),Fe=y({"src/lib/types/boolean.mjs"(){Ne(),De=Le}});function Be(){return null}var ze,$e,Ue=y({"src/lib/generators/null.mjs"(){je=Be}}),He=y({"src/lib/types/null.mjs"(){Ue(),ze=je}});function We(e,t,n,r){const i=[];if(!e.items&&!e.additionalItems){if(Y.hasProperties(e,"minItems","maxItems","uniqueItems")&&(0!==e.minItems||0!==e.maxItems))throw new Ee(`missing items for ${Y.short(e)}`,t);return i}if(Array.isArray(e.items))return e.items.map(((e,i)=>{const o=t.concat(["items",i]);return r(e,o,n)}));let o=e.minItems,a=e.maxItems;const s=f("minItems"),l=f("maxItems");s&&(o=void 0===o?s:Math.min(s,o)),l&&(a=void 0===a?l:Math.min(l,a),a&&a>l&&(a=l),o&&o>l&&(o=a));const c=!0===f("alwaysFakeOptionals")?1:f("optionalsProbability"),u=f("alwaysFakeOptionals")||f("fixedProbabilities")||!1;let d=L.number(o,a,1,5);null!==c&&(d=Math.max(u?Math.round((a||d)*c):Math.abs(L.number(o,a)*c),o||0));const p="object"==typeof e.additionalItems?e.additionalItems:{};for(let o=i.length;o<d;o+=1){const a=t.concat(["items",o]),s=r(e.items||p,a,n);i.push(s)}if(e.contains&&d>0){const o=L.number(0,d-1);i[o]=r(e.contains,t.concat(["items",o]),n)}return e.uniqueItems?function(e,t,n,r,i,o){const a=[],s=[];function l(e){const t=JSON.stringify(e.value);return-1===s.indexOf(t)&&(s.push(t),a.push(e),!0)}t.forEach(l);let c=100;for(;a.length!==t.length&&(l(o(n.items||r,e,i))||(c-=1),c););return a}(t.concat(["items"]),i,e,p,n,r):i}var qe,Ve=y({"src/lib/types/array.mjs"(){J(),_e(),Pe(),I(),$e=We}});function Ke(e){let t=void 0===e.minimum||e.minimum===-Number.MAX_VALUE?A.MIN_INTEGER:e.minimum,n=void 0===e.maximum||e.maximum===Number.MAX_VALUE?A.MAX_INTEGER:e.maximum;const r=e.multipleOf,i=r&&String(r).match(/e-(\d)|\.(\d+)$/);if(i){const e=(Math.random()*L.number(0,10)+1)*r,o=i[1]||i[2].length,a=parseFloat(e.toFixed(o)),s=L.number(t,n-1);return String(a).includes(".")?s+a:(s+a).toExponential()}if(r&&(n=Math.floor(n/r)*r,t=Math.ceil(t/r)*r),e.exclusiveMinimum&&t===e.minimum&&(t+=r||1),e.exclusiveMaximum&&n===e.maximum&&(n-=r||1),t>n)return NaN;if(r){let e=L.number(Math.floor(t/r),Math.floor(n/r))*r;for(;e<t;)e+=r;return e}return L.number(t,n,void 0,void 0,"integer"!==e.type)}var Ge,Ye=y({"src/lib/types/number.mjs"(){J(),R(),qe=Ke}});function Je(e){return Math.floor(qe({...e}))}var Ze,Xe,Qe=y({"src/lib/types/integer.mjs"(){Ye(),Ge=Je}});function et(e){return L.shuffle(Ze).slice(0,e)}var tt,nt,rt=y({"src/lib/generators/words.mjs"(){J(),Ze="Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore\net dolore magna aliqua Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea\ncommodo consequat Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\npariatur Excepteur sint occaecat cupidatat non proident sunt in culpa qui officia deserunt mollit anim id est\nlaborum".split(/\W/),Xe=et}});function it(e,t,n,r){const i={},o=e.properties||{},a=e.patternProperties||{},s="boolean"==typeof e.required?[]:(e.required||[]).slice(),l=!1!==e.additionalProperties,c=Object.keys(o),u=Object.keys(a),d=c.concat(u).reduce(((e,t)=>(-1===s.indexOf(t)&&e.push(t),e)),[]),p=s.concat(d),h=l&&!0===e.additionalProperties?tt:e.additionalProperties;if(!l&&0===c.length&&0===u.length&&Y.hasProperties(e,"minProperties","maxProperties","dependencies","required"))return null;if(!0===f("requiredOnly"))return s.forEach((e=>{o[e]&&(i[e]=o[e])})),r(i,t.concat(["properties"]),n,e);const m=!0===f("alwaysFakeOptionals")?1:f("optionalsProbability"),g=f("alwaysFakeOptionals")||f("fixedProbabilities")||!1,v=f("ignoreProperties")||[],y=f("reuseProperties"),b=f("fillProperties"),_=e.maxProperties||p.length+(l?L.number(1,5):0);let w=Math.max(e.minProperties||0,s.length),S=Math.max(0,p.length-w);1!==p.length||s.length||(w=Math.max(L.number(b?1:0,_),w)),null!==m&&(S=!0===g?Math.round(w-s.length+m*(p.length-w)):L.number(w-s.length,m*(p.length-w)));const x=L.shuffle(d).slice(0,S),E=d.filter((e=>-1!==x.indexOf(e))),k=null!==m||s.length===_?_:L.number(0,_),C=s.concat(L.shuffle(E).slice(0,k)).slice(0,_),O=[],T=[];if(e.dependencies&&(Object.keys(e.dependencies).forEach((t=>{const n=e.dependencies[t];if(-1!==C.indexOf(t))if(Array.isArray(n))n.forEach((e=>{-1===C.indexOf(e)&&C.push(e)}));else if(Array.isArray(n.oneOf||n.anyOf)){const e=n.oneOf||n.anyOf;T.push({prop:t,values:e})}else O.push(n)})),O.length))return delete e.dependencies,r({allOf:O.concat(e)},t.concat(["properties"]),n,e);const P=[],A=[];C.forEach((e=>{if(o[e]&&["{}","true"].includes(JSON.stringify(o[e].not)))return;for(let t=0;t<v.length;t+=1)if(v[t]instanceof RegExp&&v[t].test(e)||"string"==typeof v[t]&&v[t]===e||"function"==typeof v[t]&&v[t](o[e],e))return void P.push(e);let t;if(!1===h&&-1!==s.indexOf(e)&&(i[e]=o[e]),o[e]&&(i[e]=o[e]),u.forEach((n=>{e.match(new RegExp(n))&&(t=!0,i[e]?Y.merge(i[e],a[n]):i[L.randexp(e)]=a[n])})),!t){const t=a[e]||h;t&&!1!==h?i[a[e]?L.randexp(e):e]=o[e]||t:A.push(e)}}));let M=Object.keys(i).length+(b?0:P.length);const I=e=>L.randexp("_?[_a-f\\d]{1,3}"+(e?"\\$?":""));function R(e){let t;do{if(!e.length)break;t=e.shift()}while(i[t]);return t}let D=w;if(l&&!s.length&&(D=Math.max(null===m||h?L.number(b?1:0,_):0,w)),!E.length&&!S&&l&&!0===g&&b){const e=L.number(0,_);for(let t=0;t<e;t+=1)i[Xe(1)+I(e[t])]=h||tt}for(;b&&(u.length||l)&&!(M>=D);){if(l)if(y&&c.length-M>D){let e,t=0;do{if(t+=1,t>1e3)break;e=R(s)||L.pick(c)}while(void 0!==i[e]);void 0===i[e]&&(i[e]=o[e],M+=1)}else if(u.length&&!h){const e=L.pick(u),t=L.randexp(e);i[t]||(i[t]=a[e],M+=1)}else{const e=R(s)||Xe(1)+I();i[e]||(i[e]=h||tt,M+=1)}for(let e=0;M<w&&e<u.length;e+=1){const t=u[e],n=L.randexp(t);i[n]||(i[n]=a[t],M+=1)}}if(0===s.length&&(!l||!1===m)){const e=L.number(w,_);for(;M<e;){const e=R(c);e&&(i[e]=o[e]),M+=1}}let j=i;if(null!==f("sortProperties")){const e=Object.keys(o);j=Object.keys(i).sort(((t,n)=>f("sortProperties")?t.localeCompare(n):e.indexOf(t)-e.indexOf(n))).reduce(((e,t)=>(e[t]=i[t],e)),{})}const N=r(j,t.concat(["properties"]),n,e);return T.forEach((i=>{for(const o of i.values)if(Y.hasValue(o.properties[i.prop],N.value[i.prop])){Object.keys(o.properties).forEach((a=>{a!==i.prop&&Y.merge(N.value,r(o.properties,t.concat(["properties"]),n,e).value)}));break}})),N}var ot,at=y({"src/lib/types/object.mjs"(){R(),J(),rt(),_e(),I(),tt={type:A.ALLOWED_TYPES},nt=it}});function st(){const e=L.number(1,5);return Xe(e).join(" ")}function lt(e=0,t=140){const n=Math.max(0,e),r=L.number(n,t);let i=st();for(;i.length<n;)i+=st();return i.length>r&&(i=i.substr(0,r)),i}var ct,ut=y({"src/lib/generators/thunk.mjs"(){rt(),J(),ot=lt}});function ft(){return[0,0,0,0].map((()=>L.number(0,255))).join(".")}var dt,pt=y({"src/lib/generators/ipv4.mjs"(){J(),ct=ft}});function ht(){return L.date().toISOString()}var mt,gt=y({"src/lib/generators/dateTime.mjs"(){J(),dt=ht}});function vt(){return dt().slice(0,10)}var yt,bt=y({"src/lib/generators/date.mjs"(){gt(),mt=vt}});function _t(){return dt().slice(11)}var wt,St,xt,Et,kt=y({"src/lib/generators/time.mjs"(){gt(),yt=_t}});function Ct(e){return L.randexp(St[e]).replace(xt,((e,t)=>L.randexp(St[t])))}var Ot,Tt=y({"src/lib/generators/coreFormat.mjs"(){J(),wt=`https?://{hostname}(?:${"[a-zA-Z][a-zA-Z0-9+-.]*"})+`,(St={email:"[a-zA-Z\\d][a-zA-Z\\d-]{1,13}[a-zA-Z\\d]@{hostname}",hostname:"[a-zA-Z]{1,33}\\.[a-z]{2,4}",ipv6:"[a-f\\d]{4}(:[a-f\\d]{4}){7}",uri:wt,slug:"[a-zA-Z\\d_-]+","uri-reference":`${wt}(?:\\?([a-z]{1,7}(=\\w{1,5})?&){0,3})?`,"uri-template":wt.replace("(?:","(?:/\\{[a-z][:a-zA-Z0-9-]*\\}|"),"json-pointer":`(/(?:${"[a-zA-Z][a-zA-Z0-9+-.]*".replace("]*","/]*")}|~[01]))+`,uuid:"^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$",duration:"^P(?!$)((\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?|(\\d+W)?)$"}).iri=St["uri-reference"],St["iri-reference"]=St["uri-reference"],St["idn-email"]=St.email,St["idn-hostname"]=St.hostname,xt=new RegExp(`\\{(${Object.keys(St).join("|")})\\}`),Et=Ct}});function Pt(e){return Y.typecast("string",e,(t=>e.format?function(e,n){const r=be(e.format);if("function"==typeof r)return r(e);switch(e.format){case"date-time":case"datetime":return dt();case"date":return mt();case"time":return yt();case"ipv4":return ct();case"regex":return".+?";case"email":case"hostname":case"ipv6":case"uri":case"uri-reference":case"iri":case"iri-reference":case"idn-email":case"idn-hostname":case"json-pointer":case"slug":case"uri-template":case"uuid":case"duration":return Et(e.format);default:if(void 0===r){if(f("failOnInvalidFormat"))throw new Error(`unknown registry key ${Y.short(e.format)}`);return ot(t.minLength,t.maxLength)}throw new Error(`unsupported format '${e.format}'`)}}(e):e.pattern?L.randexp(e.pattern):ot(t.minLength,t.maxLength)))}var At,Mt,Lt=y({"src/lib/types/string.mjs"(){ut(),pt(),gt(),bt(),kt(),Tt(),I(),Te(),J(),_e(),Ot=Pt}}),It=y({"src/lib/types/index.mjs"(){Fe(),He(),Ve(),Qe(),Ye(),at(),Lt(),At={boolean:De,null:ze,array:$e,integer:Ge,number:qe,object:nt,string:Ot}}});function Rt({$comment:e,title:t,description:n}){return Object.entries({comment:e,title:t,description:n}).filter((([,e])=>e)).reduce(((e,[t,n])=>(e[t]=n,e)),{})}function Dt(e,t,n,r){if((e=n(e,null,t))&&(e.oneOf||e.anyOf||e.allOf)&&(e=n(e,null,t)),!e)throw new Error(`Cannot traverse at '${t.join(".")}', given '${JSON.stringify(r)}'`);const i={...Rt(e),schemaPath:t};if("properties"!==t[t.length-1]){if(f("useExamplesValue")&&Array.isArray(e.examples)){const t=e.examples.concat("default"in e?[e.default]:[]);return{value:Y.typecast(null,e,(()=>L.pick(t))),context:i}}if(f("useExamplesValue")&&void 0!==e.example)return{value:Y.typecast(null,e,(()=>e.example)),context:i};if(f("useDefaultValue")&&"default"in e&&(""!==e.default||!f("replaceEmptyByRandomValue")))return{value:e.default,context:i};if("template"in e)return{value:Y.template(e.template,r),context:i};if("const"in e)return{value:e.const,context:i}}if(e.not&&"object"==typeof e.not&&(e=Y.notValue(e.not,Y.omitProps(e,["not"]))).type&&"object"===e.type){const{value:o,context:a}=Dt(e,t.concat(["not"]),n,r);return{value:Y.clean(o,e,!1),context:{...i,items:a}}}if("function"==typeof e.thunk){const{value:o,context:a}=Dt(e.thunk(r),t,n);return{value:o,context:{...i,items:a}}}if(e.jsonPath)return{value:e,context:i};let o=e.type;if(Array.isArray(o)?o=L.pick(o):void 0===o&&(o=Oe(e,t)||o,o&&(e.type=o)),"function"==typeof e.generate){const n=Y.typecast(null,e,(()=>e.generate(r,t))),a=null===n?"null":typeof n;if(a===o||"number"===a&&"integer"===o||Array.isArray(n)&&"array"===o)return{value:n,context:i}}if("string"==typeof e.pattern)return{value:Y.typecast("string",e,(()=>L.randexp(e.pattern))),context:i};if(Array.isArray(e.enum))return{value:Y.typecast(null,e,(()=>L.pick(e.enum))),context:i};if("string"==typeof o){if(!At[o]){if(f("failOnInvalidTypes"))throw new Ee(`unknown primitive ${Y.short(o)}`,t.concat(["type"]));{const r=f("defaultInvalidTypeProduct");return"string"==typeof r&&At[r]?{value:At[r](e,t,n,Dt),context:i}:{value:r,context:i}}}try{const r=At[o](e,t,n,Dt);return"array"===o?{value:r.map((({value:e})=>e)),context:{...i,items:r.map(Array.isArray(e.items)?({context:e})=>e:({context:e})=>({...e,schemaPath:e.schemaPath.slice(0,-1)}))}}:"object"===o?null!==r?{value:r.value,context:{...i,items:r.context}}:{value:{},context:i}:{value:r,context:i}}catch(e){if(void 0===e.path)throw new Ee(e.stack,t);throw e}}let a={},s={...i};Array.isArray(e)&&(a=[]);const l=f("pruneProperties")||[];return Object.keys(e).forEach((r=>{if(!l.includes(r)&&null!==e[r])if("object"==typeof e[r]&&"definitions"!==r){const{value:i,context:o}=Dt(e[r],t.concat([r]),n,a);a[r]=Y.clean(i,e[r],!1),s[r]=o,null===a[r]&&f("omitNulls")&&(delete a[r],delete s[r])}else a[r]=e[r]})),{value:a,context:s}}var jt,Nt,Ft=y({"src/lib/core/traverse.mjs"(){_e(),J(),Pe(),Ie(),It(),I(),Mt=Dt}}),Bt=y({"src/lib/core/buildResolveSchema.mjs"(){I(),J(),_e(),jt=({refs:e,schema:t,container:n,synchronous:r,refDepthMax:i,refDepthMin:o})=>{const a={},s={};let l,c,u=0;return a.resolveSchema=(d,p,h)=>{if(null==d)return null;if("function"==typeof d.generate)return d;if("string"==typeof(d.$id||d.id)&&(delete d.id,delete d.$id,delete d.$schema),"string"==typeof d.$ref){const n=Math.max(o,i)-1;if("#"===d.$ref||s[d.$ref]<0||l===d.$ref&&++u>n)return"#"!==d.$ref&&c&&c.length===h.length?Y.getLocalRef(t,d.$ref,r&&e):(delete d.$ref,d);let a,p;if(void 0===s[d.$ref]&&(s[d.$ref]=L.number(o,i)-1),c=h,l=d.$ref,a=-1===d.$ref.indexOf("#/")?e[d.$ref]||null:Y.getLocalRef(t,d.$ref,r&&e)||null,void 0!==a){if(!a&&!0!==f("ignoreMissingRefs"))throw new Error(`Reference not found: ${d.$ref}`);s[d.$ref]-=1,Y.merge(d,a||{}),p=r&&a&&a.$ref}return p||delete d.$ref,d}if(Array.isArray(d.allOf)){const e=d.allOf;delete d.allOf,e.forEach((e=>{const t=a.resolveSchema(e,null,h);Y.merge(d,"function"==typeof t.thunk?t.thunk(d):t),Array.isArray(d.allOf)&&a.resolveSchema(d,p,h)}))}if(Array.isArray(d.oneOf||d.anyOf)&&"dependencies"!==h[h.length-2]){const e=d.oneOf||d.anyOf;return d.enum&&d.oneOf&&(d.enum=d.enum.filter((t=>Y.validate(t,e)))),{thunk(t){const n=Y.omitProps(d,["anyOf","oneOf"]),r=L.pick(e);return Y.merge(n,r),e.forEach((e=>{e.required&&e!==r&&e.required.forEach((e=>{if(r.required&&r.required.includes(e))return;const i=n.required&&n.required.includes(e);n.properties&&!i&&delete n.properties[e],t&&t.properties&&delete t.properties[e]}))})),n}}}if(Object.keys(d).forEach((e=>{!Array.isArray(d[e])&&"object"!=typeof d[e]||Y.isKey(e)||(d[e]=a.resolveSchema(d[e],e,h.concat(e)))})),h){const e=h[h.length-1];if("properties"===e||"items"===e)return d}return n.wrap(d)},a}}});function zt(e,t,n,r){if(!e||"object"!=typeof e)return e;if(n||(n={}),t||(t=e),Array.isArray(e))return e.map((e=>zt(e,t,n,r)));if(e.jsonPath){const{JSONPath:o}=i(),a="object"!=typeof e.jsonPath?{path:e.jsonPath}:e.jsonPath;a.group=e.group||a.group||r,a.cycle=e.cycle||a.cycle||!1,a.reverse=e.reverse||a.reverse||!1,a.count=e.count||a.count||1;const s=`${a.group}__${a.path}`;return n[s]||(a.count>1?n[s]=o(a.path,t).slice(0,a.count):n[s]=o(a.path,t)),a.cycle||a.reverse?function(e,t){if(!Array.isArray(e))return e;const n=t?e.pop():e.shift();return t?e.unshift(n):e.push(n),n}(n[s],a.reverse):function(e){return Array.isArray(e)?L.pick(e):e}(n[s])}return Object.keys(e).forEach((r=>{e[r]=zt(e[r],t,n,r)})),e}function $t(e,t,n,r){if("[object Object]"!==Object.prototype.toString.call(t))throw new Error("Invalid input, expecting object but given "+typeof t);const i=f("refDepthMin")||0,o=f("refDepthMax")||3;try{const{resolveSchema:a}=jt({refs:e,schema:t,container:n,synchronous:r,refDepthMin:i,refDepthMax:o}),s=Mt(Y.clone(t),[],a);return f("resolveJsonPath")?{value:zt(s.value),context:s.context}:s}catch(e){throw e.path?new Error(`${e.message} in /${e.path.join("/")}`):e}}var Ut,Ht=y({"src/lib/core/run.mjs"(){S(),I(),Ft(),J(),_e(),Bt(),Nt=$t}});function Wt(e){return e.value}var qt,Vt,Kt,Gt,Yt=y({"src/lib/renderers/js.mjs"(){Ut=Wt}}),Jt=b({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(e){"use strict";var t={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};function r(e){const t=[0];let n=e.indexOf("\n");for(;-1!==n;)n+=1,t.push(n),n=e.indexOf("\n",n);return t}function i(e){let t,n;return"string"==typeof e?(t=r(e),n=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=r(e.context.src)),t=e.lineStarts,n=e.context.src)),{lineStarts:t,src:n}}function o(e,t){if("number"!=typeof e||e<0)return null;const{lineStarts:n,src:r}=i(t);if(!n||!r||e>r.length)return null;for(let t=0;t<n.length;++t){const r=n[t];if(e<r)return{line:t,col:e-n[t-1]+1};if(e===r)return{line:t+1,col:1}}const o=n.length;return{line:o,col:e-n[o-1]+1}}var a=class e{static copy(t){return new e(t.start,t.end)}constructor(e,t){this.start=e,this.end=t||e}isEmpty(){return"number"!=typeof this.start||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:n,end:r}=this;if(0===e.length||r<=e[0])return this.origStart=n,this.origEnd=r,t;let i=t;for(;i<e.length&&!(e[i]>n);)++i;this.origStart=n+i;const o=i;for(;i<e.length&&!(e[i]>=r);)++i;return this.origEnd=r+i,o}},s=class e{static addStringTerminator(t,n,r){if("\n"===r[r.length-1])return r;const i=e.endOfWhiteSpace(t,n);return i>=t.length||"\n"===t[i]?r+"\n":r}static atDocumentBoundary(e,n,r){const i=e[n];if(!i)return!0;const o=e[n-1];if(o&&"\n"!==o)return!1;if(r){if(i!==r)return!1}else if(i!==t.DIRECTIVES_END&&i!==t.DOCUMENT_END)return!1;const a=e[n+1],s=e[n+2];if(a!==i||s!==i)return!1;const l=e[n+3];return!l||"\n"===l||"\t"===l||" "===l}static endOfIdentifier(e,t){let n=e[t];const r="<"===n,i=r?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];for(;n&&-1===i.indexOf(n);)n=e[t+=1];return r&&">"===n&&(t+=1),t}static endOfIndent(e,t){let n=e[t];for(;" "===n;)n=e[t+=1];return t}static endOfLine(e,t){let n=e[t];for(;n&&"\n"!==n;)n=e[t+=1];return t}static endOfWhiteSpace(e,t){let n=e[t];for(;"\t"===n||" "===n;)n=e[t+=1];return t}static startOfLine(e,t){let n=e[t-1];if("\n"===n)return t;for(;n&&"\n"!==n;)n=e[t-=1];return t+1}static endOfBlockIndent(t,n,r){const i=e.endOfIndent(t,r);if(i>r+n)return i;{const n=e.endOfWhiteSpace(t,i),r=t[n];if(!r||"\n"===r)return n}return null}static atBlank(e,t,n){const r=e[t];return"\n"===r||"\t"===r||" "===r||n&&!r}static nextNodeIsIndented(e,t,n){return!(!e||t<0)&&(t>0||n&&"-"===e)}static normalizeOffset(t,n){const r=t[n];return r?"\n"!==r&&"\n"===t[n-1]?n-1:e.endOfWhiteSpace(t,n):n}static foldNewline(t,n,r){let i=0,o=!1,a="",s=t[n+1];for(;" "===s||"\t"===s||"\n"===s;){switch(s){case"\n":i=0,n+=1,a+="\n";break;case"\t":i<=r&&(o=!0),n=e.endOfWhiteSpace(t,n+2)-1;break;case" ":i+=1,n+=1}s=t[n+1]}return a||(a=" "),s&&i<=r&&(o=!0),{fold:a,offset:n,error:o}}constructor(e,t,n){Object.defineProperty(this,"context",{value:n||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=t||[],this.type=e,this.value=null}getPropValue(e,t,n){if(!this.context)return null;const{src:r}=this.context,i=this.props[e];return i&&r[i.start]===t?r.slice(i.start+(n?1:0),i.end):null}get anchor(){for(let e=0;e<this.props.length;++e){const n=this.getPropValue(e,t.ANCHOR,!0);if(null!=n)return n}return null}get comment(){const e=[];for(let n=0;n<this.props.length;++n){const r=this.getPropValue(n,t.COMMENT,!0);null!=r&&e.push(r)}return e.length>0?e.join("\n"):null}commentHasRequiredWhitespace(t){const{src:n}=this.context;if(this.header&&t===this.header.end)return!1;if(!this.valueRange)return!1;const{end:r}=this.valueRange;return t!==r||e.atBlank(n,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let n=0;n<this.props.length;++n)if(e[this.props[n].start]===t.COMMENT)return!0}return!1}get hasProps(){if(this.context){const{src:e}=this.context;for(let n=0;n<this.props.length;++n)if(e[this.props[n].start]!==t.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return-1!==[n.FLOW_MAP,n.FLOW_SEQ,n.QUOTE_DOUBLE,n.QUOTE_SINGLE].indexOf(this.type)}get rangeAsLinePos(){if(!this.range||!this.context)return;const e=o(this.range.start,this.context.root);return e?{start:e,end:o(this.range.end,this.context.root)}:void 0}get rawValue(){if(!this.valueRange||!this.context)return null;const{start:e,end:t}=this.valueRange;return this.context.src.slice(e,t)}get tag(){for(let e=0;e<this.props.length;++e){const n=this.getPropValue(e,t.TAG,!1);if(null!=n){if("<"===n[1])return{verbatim:n.slice(2,-1)};{const[e,t,r]=n.match(/^(.*!)([^!]*)$/);return{handle:t,suffix:r}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;const{start:e,end:t}=this.valueRange,{src:n}=this.context;for(let r=e;r<t;++r)if("\n"===n[r])return!0;return!1}parseComment(n){const{src:r}=this.context;if(r[n]===t.COMMENT){const t=e.endOfLine(r,n+1),i=new a(n,t);return this.props.push(i),t}return n}setOrigRanges(e,t){return this.range&&(t=this.range.setOrigRange(e,t)),this.valueRange&&this.valueRange.setOrigRange(e,t),this.props.forEach((n=>n.setOrigRange(e,t))),t}toString(){const{context:{src:t},range:n,value:r}=this;if(null!=r)return r;const i=t.slice(n.start,n.end);return e.addStringTerminator(t,n.end,i)}},l=class extends Error{constructor(e,t,n){if(!(n&&t instanceof s))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=n,this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if("number"==typeof this.offset){this.range=new a(this.offset,this.offset+1);const t=e&&o(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){const{line:t,col:n}=this.linePos.start;this.message+=` at line ${t}, column ${n}`;const r=e&&function({start:e,end:t},n,r=80){let o=function(e,t){const{lineStarts:n,src:r}=i(t);if(!n||!(e>=1)||e>n.length)return null;const o=n[e-1];let a=n[e];for(;a&&a>o&&"\n"===r[a-1];)--a;return r.slice(o,a)}(e.line,n);if(!o)return null;let{col:a}=e;if(o.length>r)if(a<=r-10)o=o.substr(0,r-1)+"…";else{const e=Math.round(r/2);o.length>a+e&&(o=o.substr(0,a+e-1)+"…"),a-=o.length-r,o="…"+o.substr(1-r)}let s=1,l="";return t&&(t.line===e.line&&a+(t.col-e.col)<=r+1?s=t.col-e.col:(s=Math.min(o.length+1,r)-a,l="…")),`${o}\n${a>1?" ".repeat(a-1):""}${"^".repeat(s)}${l}`}(this.linePos,e);r&&(this.message+=`:\n\n${r}\n`)}delete this.source}},c=class extends l{constructor(e,t){super("YAMLSemanticError",e,t)}};e.Char=t,e.Node=s,e.PlainValue=class e extends s{static endOfLine(e,t,n){let r=e[t],i=t;for(;r&&"\n"!==r&&(!n||"["!==r&&"]"!==r&&"{"!==r&&"}"!==r&&","!==r);){const t=e[i+1];if(":"===r&&(!t||"\n"===t||"\t"===t||" "===t||n&&","===t))break;if((" "===r||"\t"===r)&&"#"===t)break;i+=1,r=t}return i}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:n}=this.context;let r=n[t-1];for(;e<t&&("\n"===r||"\t"===r||" "===r);)r=n[--t-1];let i="";for(let r=e;r<t;++r){const e=n[r];if("\n"===e){const{fold:e,offset:t}=s.foldNewline(n,r,-1);i+=e,r=t}else if(" "===e||"\t"===e){const o=r;let a=n[r+1];for(;r<t&&(" "===a||"\t"===a);)r+=1,a=n[r+1];"\n"!==a&&(i+=r>o?n.slice(o,r+1):e)}else i+=e}const o=n[e];switch(o){case"\t":return{errors:[new c(this,"Plain value cannot start with a tab character")],str:i};case"@":case"`":return{errors:[new c(this,`Plain value cannot start with reserved character ${o}`)],str:i};default:return i}}parseBlockValue(t){const{indent:n,inFlow:r,src:i}=this.context;let o=t,a=t;for(let t=i[o];"\n"===t&&!s.atDocumentBoundary(i,o+1);t=i[o]){const t=s.endOfBlockIndent(i,n,o+1);if(null===t||"#"===i[t])break;"\n"===i[t]?o=t:(a=e.endOfLine(i,t,r),o=a)}return this.valueRange.isEmpty()&&(this.valueRange.start=t),this.valueRange.end=a,a}parse(t,n){this.context=t;const{inFlow:r,src:i}=t;let o=n;const l=i[o];return l&&"#"!==l&&"\n"!==l&&(o=e.endOfLine(i,n,r)),this.valueRange=new a(n,o),o=s.endOfWhiteSpace(i,o),o=this.parseComment(o),this.hasComment&&!this.valueRange.isEmpty()||(o=this.parseBlockValue(o)),o}},e.Range=a,e.Type=n,e.YAMLError=l,e.YAMLReferenceError=class extends l{constructor(e,t){super("YAMLReferenceError",e,t)}},e.YAMLSemanticError=c,e.YAMLSyntaxError=class extends l{constructor(e,t){super("YAMLSyntaxError",e,t)}},e.YAMLWarning=class extends l{constructor(e,t){super("YAMLWarning",e,t)}},e._defineProperty=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.defaultTagPrefix="tag:yaml.org,2002:",e.defaultTags={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"}}}),Zt=b({"node_modules/yaml/dist/resolveSeq-d03cb037.js"(e){"use strict";var t=Jt();function n(e,t,n){return n?-1===n.indexOf("\n")?`${e} #${n}`:`${e}\n`+n.replace(/^/gm,`${t||""}#`):e}var r=class{};function i(e,t,n){if(Array.isArray(e))return e.map(((e,t)=>i(e,String(t),n)));if(e&&"function"==typeof e.toJSON){const r=n&&n.anchors&&n.anchors.get(e);r&&(n.onCreate=e=>{r.res=e,delete n.onCreate});const i=e.toJSON(t,n);return r&&n.onCreate&&n.onCreate(i),i}return n&&n.keep||"bigint"!=typeof e?e:Number(e)}var o=class extends r{constructor(e){super(),this.value=e}toJSON(e,t){return t&&t.keep?this.value:i(this.value,e,t)}toString(){return String(this.value)}};function a(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if(Number.isInteger(n)&&n>=0){const e=[];e[n]=r,r=e}else{const e={};Object.defineProperty(e,n,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=e}}return e.createNode(r,!1)}var s=e=>null==e||"object"==typeof e&&e[Symbol.iterator]().next().done,l=class e extends r{constructor(e){super(),t._defineProperty(this,"items",[]),this.schema=e}addIn(t,n){if(s(t))this.add(n);else{const[r,...i]=t,o=this.get(r,!0);if(o instanceof e)o.addIn(i,n);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`);this.set(r,a(this.schema,i,n))}}}deleteIn([t,...n]){if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(r instanceof e)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn([t,...n],r){const i=this.get(t,!0);return 0===n.length?!r&&i instanceof o?i.value:i:i instanceof e?i.getIn(n,r):void 0}hasAllNullValues(){return this.items.every((e=>{if(!e||"PAIR"!==e.type)return!1;const t=e.value;return null==t||t instanceof o&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn([t,...n]){if(0===n.length)return this.has(t);const r=this.get(t,!0);return r instanceof e&&r.hasIn(n)}setIn([t,...n],r){if(0===n.length)this.set(t,r);else{const i=this.get(t,!0);if(i instanceof e)i.setIn(n,r);else{if(void 0!==i||!this.schema)throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`);this.set(t,a(this.schema,n,r))}}}toJSON(){return null}toString(r,{blockItem:i,flowChars:o,isMap:a,itemIndent:s},l,c){const{indent:u,indentStep:f,stringify:d}=r,p=this.type===t.Type.FLOW_MAP||this.type===t.Type.FLOW_SEQ||r.inFlow;p&&(s+=f);const h=a&&this.hasAllNullValues();r=Object.assign({},r,{allNullValues:h,indent:s,inFlow:p,type:null});let m=!1,g=!1;const v=this.items.reduce(((e,t,i)=>{let o;t&&(!m&&t.spaceBefore&&e.push({type:"comment",str:""}),t.commentBefore&&t.commentBefore.match(/^.*$/gm).forEach((t=>{e.push({type:"comment",str:`#${t}`})})),t.comment&&(o=t.comment),p&&(!m&&t.spaceBefore||t.commentBefore||t.comment||t.key&&(t.key.commentBefore||t.key.comment)||t.value&&(t.value.commentBefore||t.value.comment))&&(g=!0)),m=!1;let a=d(t,r,(()=>o=null),(()=>m=!0));return p&&!g&&a.includes("\n")&&(g=!0),p&&i<this.items.length-1&&(a+=","),a=n(a,s,o),m&&(o||p)&&(m=!1),e.push({type:"item",str:a}),e}),[]);let y;if(0===v.length)y=o.start+o.end;else if(p){const{start:t,end:n}=o,r=v.map((e=>e.str));if(g||r.reduce(((e,t)=>e+t.length+2),2)>e.maxFlowStringSingleLineLength){y=t;for(const e of r)y+=e?`\n${f}${u}${e}`:"\n";y+=`\n${u}${n}`}else y=`${t} ${r.join(" ")} ${n}`}else{const e=v.map(i);y=e.shift();for(const t of e)y+=t?`\n${u}${t}`:"\n"}return this.comment?(y+="\n"+this.comment.replace(/^/gm,`${u}#`),l&&l()):m&&c&&c(),y}};function c(e){let t=e instanceof o?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}t._defineProperty(l,"maxFlowStringSingleLineLength",60);var u=class extends l{add(e){this.items.push(e)}delete(e){const t=c(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const n=c(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&r instanceof o?r.value:r}has(e){const t=c(e);return"number"==typeof t&&t<this.items.length}set(e,t){const n=c(e);if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`);this.items[n]=t}toJSON(e,t){const n=[];t&&t.onCreate&&t.onCreate(n);let r=0;for(const e of this.items)n.push(i(e,String(r++),t));return n}toString(e,t,n){return e?super.toString(e,{blockItem:e=>"comment"===e.type?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+"  "},t,n):JSON.stringify(this)}},f=class e extends r{constructor(t,n=null){super(),this.key=t,this.value=n,this.type=e.Type.PAIR}get commentBefore(){return this.key instanceof r?this.key.commentBefore:void 0}set commentBefore(e){if(null==this.key&&(this.key=new o(null)),!(this.key instanceof r))throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.");this.key.commentBefore=e}addToJSMap(e,t){const n=i(this.key,"",e);if(t instanceof Map){const r=i(this.value,n,e);t.set(n,r)}else if(t instanceof Set)t.add(n);else{const o=((e,t,n)=>null===t?"":"object"!=typeof t?String(t):e instanceof r&&n&&n.doc?e.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(t))(this.key,n,e),a=i(this.value,o,e);o in t?Object.defineProperty(t,o,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[o]=a}return t}toJSON(e,t){const n=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,n)}toString(e,i,a){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:c,simpleKeys:f}=e.doc.options;let{key:d,value:p}=this,h=d instanceof r&&d.comment;if(f){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(d instanceof l)throw new Error("With simple keys, collection cannot be used as a key value")}let m=!f&&(!d||h||(d instanceof r?d instanceof l||d.type===t.Type.BLOCK_FOLDED||d.type===t.Type.BLOCK_LITERAL:"object"==typeof d));const{doc:g,indent:v,indentStep:y,stringify:b}=e;e=Object.assign({},e,{implicitKey:!m,indent:v+y});let _=!1,w=b(d,e,(()=>h=null),(()=>_=!0));if(w=n(w,e.indent,h),!m&&w.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");m=!0}if(e.allNullValues&&!f)return this.comment?(w=n(w,e.indent,this.comment),i&&i()):_&&!h&&a&&a(),e.inFlow&&!m?w:`? ${w}`;w=m?`? ${w}\n${v}:`:`${w}:`,this.comment&&(w=n(w,e.indent,this.comment),i&&i());let S="",x=null;p instanceof r?(p.spaceBefore&&(S="\n"),p.commentBefore&&(S+=`\n${p.commentBefore.replace(/^/gm,`${e.indent}#`)}`),x=p.comment):p&&"object"==typeof p&&(p=g.schema.createNode(p,!0)),e.implicitKey=!1,!m&&!this.comment&&p instanceof o&&(e.indentAtStart=w.length+1),_=!1,!c&&s>=2&&!e.inFlow&&!m&&p instanceof u&&p.type!==t.Type.FLOW_SEQ&&!p.tag&&!g.anchors.getName(p)&&(e.indent=e.indent.substr(2));const E=b(p,e,(()=>x=null),(()=>_=!0));let k=" ";return S||this.comment?k=`${S}\n${e.indent}`:!m&&p instanceof l?("["===E[0]||"{"===E[0])&&!E.includes("\n")||(k=`\n${e.indent}`):"\n"===E[0]&&(k=""),_&&!x&&a&&a(),n(w+k+E,e.indent,x)}};t._defineProperty(f,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var d=(e,t)=>{if(e instanceof p){const n=t.get(e.source);return n.count*n.aliasCount}if(e instanceof l){let n=0;for(const r of e.items){const e=d(r,t);e>n&&(n=e)}return n}if(e instanceof f){const n=d(e.key,t),r=d(e.value,t);return Math.max(n,r)}return 1},p=class e extends r{static stringify({range:e,source:t},{anchors:n,doc:r,implicitKey:i,inStringifyKey:o}){let a=Object.keys(n).find((e=>n[e]===t));if(!a&&o&&(a=r.anchors.getName(t)||r.anchors.newName()),a)return`*${a}${i?" ":""}`;const s=r.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${s} [${e}]`)}constructor(e){super(),this.source=e,this.type=t.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,n){if(!n)return i(this.source,e,n);const{anchors:r,maxAliasCount:o}=n,a=r.get(this.source);if(!a||void 0===a.res){const e="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new t.YAMLReferenceError(this.cstNode,e):new ReferenceError(e)}if(o>=0&&(a.count+=1,0===a.aliasCount&&(a.aliasCount=d(this.source,r)),a.count*a.aliasCount>o)){const e="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new t.YAMLReferenceError(this.cstNode,e):new ReferenceError(e)}return a.res}toString(t){return e.stringify(this,t)}};function h(e,t){const n=t instanceof o?t.value:t;for(const r of e)if(r instanceof f){if(r.key===t||r.key===n)return r;if(r.key&&r.key.value===n)return r}}t._defineProperty(p,"default",!0);var m=class extends l{add(e,t){e?e instanceof f||(e=new f(e.key||e,e.value)):e=new f(e);const n=h(this.items,e.key),r=this.schema&&this.schema.sortMapEntries;if(n){if(!t)throw new Error(`Key ${e.key} already set`);n.value=e.value}else if(r){const t=this.items.findIndex((t=>r(e,t)<0));-1===t?this.items.push(e):this.items.splice(t,0,e)}else this.items.push(e)}delete(e){const t=h(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=h(this.items,e),r=n&&n.value;return!t&&r instanceof o?r.value:r}has(e){return!!h(this.items,e)}set(e,t){this.add(new f(e,t),!0)}toJSON(e,t,n){const r=n?new n:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(r);for(const e of this.items)e.addToJSMap(t,r);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!(e instanceof f))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,n)}},g=class extends f{constructor(e){if(e instanceof f){let t=e.value;t instanceof u||(t=new u,t.items.push(e.value),t.range=e.value.range),super(e.key,t),this.range=e.range}else super(new o("<<"),new u);this.type=f.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:n}of this.value.items){if(!(n instanceof m))throw new Error("Merge sources must be maps");const r=n.toJSON(null,e,Map);for(const[e,n]of r)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}return t}toString(e,t){const n=this.value;if(n.items.length>1)return super.toString(e,t);this.value=n.items[0];const r=super.toString(e,t);return this.value=n,r}},v={defaultType:t.Type.BLOCK_LITERAL,lineWidth:76},y={defaultType:t.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function b(e,t,n){for(const{format:n,test:r,resolve:i}of t)if(r){const t=e.match(r);if(t){let e=i.apply(null,t);return e instanceof o||(e=new o(e)),n&&(e.format=n),e}}return n&&(e=n(e)),new o(e)}var _="flow",w="block",S="quoted",x=(e,t)=>{let n=e[t+1];for(;" "===n||"\t"===n;){do{n=e[t+=1]}while(n&&"\n"!==n);n=e[t+1]}return t};function E(e,t,n,{indentAtStart:r,lineWidth:i=80,minContentWidth:o=20,onFold:a,onOverflow:s}){if(!i||i<0)return e;const l=Math.max(1+o,1+i-t.length);if(e.length<=l)return e;const c=[],u={};let f,d,p=i-t.length;"number"==typeof r&&(r>i-Math.max(2,o)?c.push(0):p=i-r);let h=!1,m=-1,g=-1,v=-1;n===w&&(m=x(e,m),-1!==m&&(p=m+l));for(let t;t=e[m+=1];){if(n===S&&"\\"===t){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}v=m}if("\n"===t)n===w&&(m=x(e,m)),p=m+l,f=void 0;else{if(" "===t&&d&&" "!==d&&"\n"!==d&&"\t"!==d){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=m)}if(m>=p)if(f)c.push(f),p=f+l,f=void 0;else if(n===S){for(;" "===d||"\t"===d;)d=t,t=e[m+=1],h=!0;const n=m>v+1?m-2:g-1;if(u[n])return e;c.push(n),u[n]=!0,p=n+l,f=void 0}else h=!0}d=t}if(h&&s&&s(),0===c.length)return e;a&&a();let y=e.slice(0,c[0]);for(let r=0;r<c.length;++r){const i=c[r],o=c[r+1]||e.length;0===i?y=`\n${t}${e.slice(0,o)}`:(n===S&&u[i]&&(y+=`${e[i]}\\`),y+=`\n${t}${e.slice(i+1,o)}`)}return y}var k=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},y.fold):y.fold,C=e=>/^(%|---|\.\.\.)/m.test(e);function O(e,t){const{implicitKey:n}=t,{jsonEncoding:r,minMultiLineLength:i}=y.doubleQuoted,o=JSON.stringify(e);if(r)return o;const a=t.indent||(C(e)?"  ":"");let s="",l=0;for(let e=0,t=o[e];t;t=o[++e])if(" "===t&&"\\"===o[e+1]&&"n"===o[e+2]&&(s+=o.slice(l,e)+"\\ ",e+=1,l=e,t="\\"),"\\"===t)switch(o[e+1]){case"u":{s+=o.slice(l,e);const t=o.substr(e+2,4);switch(t){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:"00"===t.substr(0,2)?s+="\\x"+t.substr(2):s+=o.substr(e,6)}e+=5,l=e+1}break;case"n":if(n||'"'===o[e+2]||o.length<i)e+=1;else{for(s+=o.slice(l,e)+"\n\n";"\\"===o[e+2]&&"n"===o[e+3]&&'"'!==o[e+4];)s+="\n",e+=2;s+=a," "===o[e+2]&&(s+="\\"),e+=1,l=e+1}break;default:e+=1}return s=l?s+o.slice(l):o,n?s:E(s,a,S,k(t))}function T(e,t){if(t.implicitKey){if(/\n/.test(e))return O(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return O(e,t);const n=t.indent||(C(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?r:E(r,n,_,k(t))}function P({comment:e,type:n,value:r},i,o,a){if(/\n[\t ]+$/.test(r)||/^\s*$/.test(r))return O(r,i);const s=i.indent||(i.forceBlockIndent||C(r)?"  ":""),l=s?"2":"1",c=n!==t.Type.BLOCK_FOLDED&&(n===t.Type.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t<i;++t)if("\n"===e[t]){if(t-n>r)return!0;if(n=t+1,i-n<=r)return!1}return!0}(r,y.fold.lineWidth,s.length));let u=c?"|":">";if(!r)return u+"\n";let f="",d="";if(r=r.replace(/[\n\t ]*$/,(e=>{const t=e.indexOf("\n");return-1===t?u+="-":r!==e&&t===e.length-1||(u+="+",a&&a()),d=e.replace(/\n$/,""),""})).replace(/^[\n ]*/,(e=>{-1!==e.indexOf(" ")&&(u+=l);const t=e.match(/ +$/);return t?(f=e.slice(0,-t[0].length),t[0]):(f=e,"")})),d&&(d=d.replace(/\n+(?!\n|$)/g,`$&${s}`)),f&&(f=f.replace(/\n+/g,`$&${s}`)),e&&(u+=" #"+e.replace(/ ?[\r\n]+/g," "),o&&o()),!r)return`${u}${l}\n${s}${d}`;if(c)return r=r.replace(/\n+/g,`$&${s}`),`${u}\n${s}${f}${r}${d}`;r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);const p=E(`${f}${r}${d}`,s,w,y.fold);return`${u}\n${s}${p}`}function A(e,n){let r,i,o;switch(n.type){case t.Type.FLOW_MAP:r="}",i="flow map";break;case t.Type.FLOW_SEQ:r="]",i="flow sequence";break;default:return void e.push(new t.YAMLSemanticError(n,"Not a flow collection!?"))}for(let e=n.items.length-1;e>=0;--e){const r=n.items[e];if(!r||r.type!==t.Type.COMMENT){o=r;break}}if(o&&o.char!==r){const a=`Expected ${i} to end with ${r}`;let s;"number"==typeof o.offset?(s=new t.YAMLSemanticError(n,a),s.offset=o.offset+1):(s=new t.YAMLSemanticError(o,a),o.range&&o.range.end&&(s.offset=o.range.end-o.range.start)),e.push(s)}}function M(e,n){const r=n.context.src[n.range.start-1];if("\n"!==r&&"\t"!==r&&" "!==r){const r="Comments must be separated from other tokens by white space characters";e.push(new t.YAMLSemanticError(n,r))}}function L(e,n){const r=String(n),i=r.substr(0,8)+"..."+r.substr(-8);return new t.YAMLSemanticError(e,`The "${i}" key is too long`)}function I(e,t){for(const{afterKey:n,before:r,comment:i}of t){let t=e.items[r];t?(n&&t.value&&(t=t.value),void 0===i?!n&&t.commentBefore||(t.spaceBefore=!0):t.commentBefore?t.commentBefore+="\n"+i:t.commentBefore=i):void 0!==i&&(e.comment?e.comment+="\n"+i:e.comment=i)}}function R(e,t){const n=t.strValue;return n?"string"==typeof n?n:(n.errors.forEach((n=>{n.source||(n.source=t),e.errors.push(n)})),n.str):""}function D(e,t,n){const{tags:r}=e.schema,i=[];for(const a of r)if(a.tag===n){if(!a.test){const n=a.resolve(e,t);return n instanceof l?n:new o(n)}i.push(a)}const a=R(e,t);return"string"==typeof a&&i.length>0?b(a,i,r.scalarFallback):null}function j(e,n){if(!n)return null;n.error&&e.errors.push(n.error);const{comments:r,hasAnchor:i,hasTag:o}=function(e,n){const r={before:[],after:[]};let i=!1,o=!1;const a=(e=>{if(!e)return!1;const{type:n}=e;return n===t.Type.MAP_KEY||n===t.Type.MAP_VALUE||n===t.Type.SEQ_ITEM})(n.context.parent)?n.context.parent.props.concat(n.props):n.props;for(const{start:s,end:l}of a)switch(n.context.src[s]){case t.Char.COMMENT:{if(!n.commentHasRequiredWhitespace(s)){const r="Comments must be separated from other tokens by white space characters";e.push(new t.YAMLSemanticError(n,r))}const{header:i,valueRange:o}=n;(o&&(s>o.start||i&&s>i.start)?r.after:r.before).push(n.context.src.slice(s+1,l));break}case t.Char.ANCHOR:if(i){const r="A node can have at most one anchor";e.push(new t.YAMLSemanticError(n,r))}i=!0;break;case t.Char.TAG:if(o){const r="A node can have at most one tag";e.push(new t.YAMLSemanticError(n,r))}o=!0}return{comments:r,hasAnchor:i,hasTag:o}}(e.errors,n);if(i){const{anchors:t}=e,r=n.anchor,i=t.getNode(r);i&&(t.map[t.newName(r)]=i),t.map[r]=n}if(n.type===t.Type.ALIAS&&(i||o)){const r="An alias node must not specify any properties";e.errors.push(new t.YAMLSemanticError(n,r))}const a=function(e,n){const{anchors:r,errors:i,schema:o}=e;if(n.type===t.Type.ALIAS){const e=n.rawValue,o=r.getNode(e);if(!o){const r=`Aliased anchor not found: ${e}`;return i.push(new t.YAMLReferenceError(n,r)),null}const a=new p(o);return r._cstAliases.push(a),a}const a=function(e,n){const{tag:r,type:i}=n;let o=!1;if(r){const{handle:i,suffix:a,verbatim:s}=r;if(s){if("!"!==s&&"!!"!==s)return s;const r=`Verbatim tags aren't resolved, so ${s} is invalid.`;e.errors.push(new t.YAMLSemanticError(n,r))}else if("!"!==i||a)try{return function(e,n){const{handle:r,suffix:i}=n.tag;let o=e.tagPrefixes.find((e=>e.handle===r));if(!o){const i=e.getDefaults().tagPrefixes;if(i&&(o=i.find((e=>e.handle===r))),!o)throw new t.YAMLSemanticError(n,`The ${r} tag handle is non-default and was not declared.`)}if(!i)throw new t.YAMLSemanticError(n,`The ${r} tag has no suffix.`);if("!"===r&&"1.0"===(e.version||e.options.version)){if("^"===i[0])return e.warnings.push(new t.YAMLWarning(n,"YAML 1.0 ^ tag expansion is not supported")),i;if(/[:/]/.test(i)){const e=i.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${i}`}}return o.prefix+decodeURIComponent(i)}(e,n)}catch(t){e.errors.push(t)}else o=!0}switch(i){case t.Type.BLOCK_FOLDED:case t.Type.BLOCK_LITERAL:case t.Type.QUOTE_DOUBLE:case t.Type.QUOTE_SINGLE:return t.defaultTags.STR;case t.Type.FLOW_MAP:case t.Type.MAP:return t.defaultTags.MAP;case t.Type.FLOW_SEQ:case t.Type.SEQ:return t.defaultTags.SEQ;case t.Type.PLAIN:return o?t.defaultTags.STR:null;default:return null}}(e,n);if(a)return function(e,n,r){try{const t=D(e,n,r);if(t)return r&&n.tag&&(t.tag=r),t}catch(t){return t.source||(t.source=n),e.errors.push(t),null}try{const i=function({type:e}){switch(e){case t.Type.FLOW_MAP:case t.Type.MAP:return t.defaultTags.MAP;case t.Type.FLOW_SEQ:case t.Type.SEQ:return t.defaultTags.SEQ;default:return t.defaultTags.STR}}(n);if(!i)throw new Error(`The tag ${r} is unavailable`);const o=`The tag ${r} is unavailable, falling back to ${i}`;e.warnings.push(new t.YAMLWarning(n,o));const a=D(e,n,i);return a.tag=r,a}catch(r){const i=new t.YAMLReferenceError(n,r.message);return i.stack=r.stack,e.errors.push(i),null}}(e,n,a);if(n.type!==t.Type.PLAIN){const e=`Failed to resolve ${n.type} node here`;return i.push(new t.YAMLSyntaxError(n,e)),null}try{return b(R(e,n),o.tags,o.tags.scalarFallback)}catch(e){return e.source||(e.source=n),i.push(e),null}}(e,n);if(a){a.range=[n.range.start,n.range.end],e.options.keepCstNodes&&(a.cstNode=n),e.options.keepNodeTypes&&(a.type=n.type);const t=r.before.join("\n");t&&(a.commentBefore=a.commentBefore?`${a.commentBefore}\n${t}`:t);const i=r.after.join("\n");i&&(a.comment=a.comment?`${a.comment}\n${i}`:i)}return n.resolved=a}function N(e,n){if(!(({context:{lineStart:e,node:n,src:r},props:i})=>{if(0===i.length)return!1;const{start:o}=i[0];if(n&&o>n.valueRange.start)return!1;if(r[o]!==t.Char.COMMENT)return!1;for(let t=e;t<o;++t)if("\n"===r[t])return!1;return!0})(e))return;const r=e.getPropValue(0,t.Char.COMMENT,!0);let i=!1;const o=n.value.commentBefore;if(o&&o.startsWith(r))n.value.commentBefore=o.substr(r.length+1),i=!0;else{const t=n.value.comment;!e.node&&t&&t.startsWith(r)&&(n.value.comment=t.substr(r.length+1),i=!0)}i&&(n.comment=r)}e.Alias=p,e.Collection=l,e.Merge=g,e.Node=r,e.Pair=f,e.Scalar=o,e.YAMLMap=m,e.YAMLSeq=u,e.addComment=n,e.binaryOptions=v,e.boolOptions={trueStr:"true",falseStr:"false"},e.findPair=h,e.intOptions={asBigInt:!1},e.isEmptyPath=s,e.nullOptions={nullStr:"null"},e.resolveMap=function(e,n){if(n.type!==t.Type.MAP&&n.type!==t.Type.FLOW_MAP){const r=`A ${n.type} node cannot be resolved as a mapping`;return e.errors.push(new t.YAMLSyntaxError(n,r)),null}const{comments:r,items:i}=n.type===t.Type.FLOW_MAP?function(e,n){const r=[],i=[];let o,a=!1,s="{";for(let l=0;l<n.items.length;++l){const c=n.items[l];if("string"==typeof c.char){const{char:r,offset:u}=c;if("?"===r&&void 0===o&&!a){a=!0,s=":";continue}if(":"===r){if(void 0===o&&(o=null),":"===s){s=",";continue}}else if(a&&(void 0===o&&","!==r&&(o=null),a=!1),void 0!==o&&(i.push(new f(o)),o=void 0,","===r)){s=":";continue}if("}"===r){if(l===n.items.length-1)continue}else if(r===s){s=":";continue}const d=`Flow map contains an unexpected ${r}`,p=new t.YAMLSyntaxError(n,d);p.offset=u,e.errors.push(p)}else c.type===t.Type.BLANK_LINE?r.push({afterKey:!!o,before:i.length}):c.type===t.Type.COMMENT?(M(e.errors,c),r.push({afterKey:!!o,before:i.length,comment:c.comment})):void 0===o?(","===s&&e.errors.push(new t.YAMLSemanticError(c,"Separator , missing in flow map")),o=j(e,c)):(","!==s&&e.errors.push(new t.YAMLSemanticError(c,"Indicator : missing in flow map entry")),i.push(new f(o,j(e,c))),o=void 0,a=!1)}return A(e.errors,n),void 0!==o&&i.push(new f(o)),{comments:r,items:i}}(e,n):function(e,n){const r=[],i=[];let o,a=null;for(let s=0;s<n.items.length;++s){const l=n.items[s];switch(l.type){case t.Type.BLANK_LINE:r.push({afterKey:!!o,before:i.length});break;case t.Type.COMMENT:r.push({afterKey:!!o,before:i.length,comment:l.comment});break;case t.Type.MAP_KEY:void 0!==o&&i.push(new f(o)),l.error&&e.errors.push(l.error),o=j(e,l.node),a=null;break;case t.Type.MAP_VALUE:{if(void 0===o&&(o=null),l.error&&e.errors.push(l.error),!l.context.atLineStart&&l.node&&l.node.type===t.Type.MAP&&!l.node.context.atLineStart){const n="Nested mappings are not allowed in compact mappings";e.errors.push(new t.YAMLSemanticError(l.node,n))}let r=l.node;if(!r&&l.props.length>0){r=new t.PlainValue(t.Type.PLAIN,[]),r.context={parent:l,src:l.context.src};const e=l.range.start+1;if(r.range={start:e,end:e},r.valueRange={start:e,end:e},"number"==typeof l.range.origStart){const e=l.range.origStart+1;r.range.origStart=r.range.origEnd=e,r.valueRange.origStart=r.valueRange.origEnd=e}}const s=new f(o,j(e,r));N(l,s),i.push(s),o&&"number"==typeof a&&l.range.start>a+1024&&e.errors.push(L(n,o)),o=void 0,a=null}break;default:void 0!==o&&i.push(new f(o)),o=j(e,l),a=l.range.start,l.error&&e.errors.push(l.error);e:for(let r=s+1;;++r){const i=n.items[r];switch(i&&i.type){case t.Type.BLANK_LINE:case t.Type.COMMENT:continue e;case t.Type.MAP_VALUE:break e;default:{const n="Implicit map keys need to be followed by map values";e.errors.push(new t.YAMLSemanticError(l,n));break e}}}if(l.valueRangeContainsNewline){const n="Implicit map keys need to be on a single line";e.errors.push(new t.YAMLSemanticError(l,n))}}}return void 0!==o&&i.push(new f(o)),{comments:r,items:i}}(e,n),o=new m;o.items=i,I(o,r);let a=!1;for(let r=0;r<i.length;++r){const{key:o}=i[r];if(o instanceof l&&(a=!0),e.schema.merge&&o&&"<<"===o.value){i[r]=new g(i[r]);const o=i[r].value.items;let a=null;o.some((e=>{if(e instanceof p){const{type:n}=e.source;return n!==t.Type.MAP&&n!==t.Type.FLOW_MAP&&(a="Merge nodes aliases can only point to maps")}return a="Merge nodes can only have Alias nodes as values"})),a&&e.errors.push(new t.YAMLSemanticError(n,a))}else for(let a=r+1;a<i.length;++a){const{key:r}=i[a];if(o===r||o&&r&&Object.prototype.hasOwnProperty.call(o,"value")&&o.value===r.value){const r=`Map keys must be unique; "${o}" is repeated`;e.errors.push(new t.YAMLSemanticError(n,r));break}}}if(a&&!e.options.mapAsMap){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new t.YAMLWarning(n,r))}return n.resolved=o,o},e.resolveNode=j,e.resolveSeq=function(e,n){if(n.type!==t.Type.SEQ&&n.type!==t.Type.FLOW_SEQ){const r=`A ${n.type} node cannot be resolved as a sequence`;return e.errors.push(new t.YAMLSyntaxError(n,r)),null}const{comments:r,items:i}=n.type===t.Type.FLOW_SEQ?function(e,n){const r=[],i=[];let o,a=!1,s=null,l="[",c=null;for(let u=0;u<n.items.length;++u){const d=n.items[u];if("string"==typeof d.char){const{char:r,offset:p}=d;if(":"===r||!a&&void 0===o||(a&&void 0===o&&(o=l?i.pop():null),i.push(new f(o)),a=!1,o=void 0,s=null),r===l)l=null;else if(l||"?"!==r){if("["!==l&&":"===r&&void 0===o){if(","===l){if(o=i.pop(),o instanceof f){const r="Chaining flow sequence pairs is invalid",i=new t.YAMLSemanticError(n,r);i.offset=p,e.errors.push(i)}if(!a&&"number"==typeof s){const r=d.range?d.range.start:d.offset;r>s+1024&&e.errors.push(L(n,o));const{src:i}=c.context;for(let n=s;n<r;++n)if("\n"===i[n]){const n="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new t.YAMLSemanticError(c,n));break}}}else o=null;s=null,a=!1,l=null}else if("["===l||"]"!==r||u<n.items.length-1){const i=`Flow sequence contains an unexpected ${r}`,o=new t.YAMLSyntaxError(n,i);o.offset=p,e.errors.push(o)}}else a=!0}else if(d.type===t.Type.BLANK_LINE)r.push({before:i.length});else if(d.type===t.Type.COMMENT)M(e.errors,d),r.push({comment:d.comment,before:i.length});else{if(l){const n=`Expected a ${l} in flow sequence`;e.errors.push(new t.YAMLSemanticError(d,n))}const n=j(e,d);void 0===o?(i.push(n),c=d):(i.push(new f(o,n)),o=void 0),s=d.range.start,l=","}}return A(e.errors,n),void 0!==o&&i.push(new f(o)),{comments:r,items:i}}(e,n):function(e,n){const r=[],i=[];for(let o=0;o<n.items.length;++o){const a=n.items[o];switch(a.type){case t.Type.BLANK_LINE:r.push({before:i.length});break;case t.Type.COMMENT:r.push({comment:a.comment,before:i.length});break;case t.Type.SEQ_ITEM:if(a.error&&e.errors.push(a.error),i.push(j(e,a.node)),a.hasProps){const n="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new t.YAMLSemanticError(a,n))}break;default:a.error&&e.errors.push(a.error),e.errors.push(new t.YAMLSyntaxError(a,`Unexpected ${a.type} node in sequence`))}}return{comments:r,items:i}}(e,n),o=new u;if(o.items=i,I(o,r),!e.options.mapAsMap&&i.some((e=>e instanceof f&&e.key instanceof l))){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new t.YAMLWarning(n,r))}return n.resolved=o,o},e.resolveString=R,e.strOptions=y,e.stringifyNumber=function({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i},e.stringifyString=function(e,n,r,i){const{defaultType:o}=y,{implicitKey:a,inFlow:s}=n;let{type:l,value:c}=e;"string"!=typeof c&&(c=String(c),e=Object.assign({},e,{value:c}));const u=o=>{switch(o){case t.Type.BLOCK_FOLDED:case t.Type.BLOCK_LITERAL:return P(e,n,r,i);case t.Type.QUOTE_DOUBLE:return O(c,n);case t.Type.QUOTE_SINGLE:return T(c,n);case t.Type.PLAIN:return function(e,n,r,i){const{comment:o,type:a,value:s}=e,{actualString:l,implicitKey:c,indent:u,inFlow:f}=n;if(c&&/[\n[\]{},]/.test(s)||f&&/[[\]{},]/.test(s))return O(s,n);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return c||f||-1===s.indexOf("\n")?-1!==s.indexOf('"')&&-1===s.indexOf("'")?T(s,n):O(s,n):P(e,n,r,i);if(!c&&!f&&a!==t.Type.PLAIN&&-1!==s.indexOf("\n"))return P(e,n,r,i);if(""===u&&C(s))return n.forceBlockIndent=!0,P(e,n,r,i);const d=s.replace(/\n+/g,`$&\n${u}`);if(l){const{tags:e}=n.doc.schema;if("string"!=typeof b(d,e,e.scalarFallback).value)return O(s,n)}const p=c?d:E(d,u,_,k(n));return!o||f||-1===p.indexOf("\n")&&-1===o.indexOf("\n")?p:(r&&r(),function(e,t,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${t}#`)}\n${t}${e}`:e}(p,u,o))}(e,n,r,i);default:return null}};l!==t.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)?l=t.Type.QUOTE_DOUBLE:!a&&!s||l!==t.Type.BLOCK_FOLDED&&l!==t.Type.BLOCK_LITERAL||(l=t.Type.QUOTE_DOUBLE);let f=u(l);if(null===f&&(f=u(o),null===f))throw new Error(`Unsupported default string type ${o}`);return f},e.toJSON=i}}),Xt=b({"node_modules/yaml/dist/warnings-1000a372.js"(e){"use strict";var t=Jt(),n=Zt(),r={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,r)=>{const i=n.resolveString(e,r);if("function"==typeof Buffer)return Buffer.from(i,"base64");if("function"==typeof atob){const e=atob(i.replace(/[\n\r]/g,"")),t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=e.charCodeAt(n);return t}{const n="This environment does not support reading binary tags; either Buffer or atob is required";return e.errors.push(new t.YAMLReferenceError(r,n)),null}},options:n.binaryOptions,stringify:({comment:e,type:r,value:i},o,a,s)=>{let l;if("function"==typeof Buffer)l=i instanceof Buffer?i.toString("base64"):Buffer.from(i.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<i.length;++t)e+=String.fromCharCode(i[t]);l=btoa(e)}}if(r||(r=n.binaryOptions.defaultType),r===t.Type.QUOTE_DOUBLE)i=l;else{const{lineWidth:e}=n.binaryOptions,o=Math.ceil(l.length/e),a=new Array(o);for(let t=0,n=0;t<o;++t,n+=e)a[t]=l.substr(n,e);i=a.join(r===t.Type.BLOCK_LITERAL?"\n":" ")}return n.stringifyString({comment:e,type:r,value:i},o,a,s)}};function i(e,r){const i=n.resolveSeq(e,r);for(let e=0;e<i.items.length;++e){let o=i.items[e];if(!(o instanceof n.Pair)){if(o instanceof n.YAMLMap){if(o.items.length>1){const e="Each pair must have its own sequence indicator";throw new t.YAMLSemanticError(r,e)}const e=o.items[0]||new n.Pair;o.commentBefore&&(e.commentBefore=e.commentBefore?`${o.commentBefore}\n${e.commentBefore}`:o.commentBefore),o.comment&&(e.comment=e.comment?`${o.comment}\n${e.comment}`:o.comment),o=e}i.items[e]=o instanceof n.Pair?o:new n.Pair(o)}}return i}function o(e,t,r){const i=new n.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";for(const n of t){let t,o;if(Array.isArray(n)){if(2!==n.length)throw new TypeError(`Expected [key, value] tuple: ${n}`);t=n[0],o=n[1]}else if(n&&n instanceof Object){const e=Object.keys(n);if(1!==e.length)throw new TypeError(`Expected { key: value } tuple: ${n}`);t=e[0],o=n[t]}else t=n;const a=e.createPair(t,o,r);i.items.push(a)}return i}var a={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:i,createNode:o},s=class e extends n.YAMLSeq{constructor(){super(),t._defineProperty(this,"add",n.YAMLMap.prototype.add.bind(this)),t._defineProperty(this,"delete",n.YAMLMap.prototype.delete.bind(this)),t._defineProperty(this,"get",n.YAMLMap.prototype.get.bind(this)),t._defineProperty(this,"has",n.YAMLMap.prototype.has.bind(this)),t._defineProperty(this,"set",n.YAMLMap.prototype.set.bind(this)),this.tag=e.tag}toJSON(e,t){const r=new Map;t&&t.onCreate&&t.onCreate(r);for(const e of this.items){let i,o;if(e instanceof n.Pair?(i=n.toJSON(e.key,"",t),o=n.toJSON(e.value,i,t)):i=n.toJSON(e,"",t),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}};t._defineProperty(s,"tag","tag:yaml.org,2002:omap");var l={identify:e=>e instanceof Map,nodeClass:s,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,r){const o=i(e,r),a=[];for(const{key:e}of o.items)if(e instanceof n.Scalar){if(a.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new t.YAMLSemanticError(r,e)}a.push(e.value)}return Object.assign(new s,o)},createNode:function(e,t,n){const r=o(e,t,n),i=new s;return i.items=r.items,i}},c=class e extends n.YAMLMap{constructor(){super(),this.tag=e.tag}add(e){const t=e instanceof n.Pair?e:new n.Pair(e);n.findPair(this.items,t.key)||this.items.push(t)}get(e,t){const r=n.findPair(this.items,e);return!t&&r instanceof n.Pair?r.key instanceof n.Scalar?r.key.value:r.key:r}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const r=n.findPair(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new n.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,n);throw new Error("Set items must all have null values")}};t._defineProperty(c,"tag","tag:yaml.org,2002:set");var u={identify:e=>e instanceof Set,nodeClass:c,default:!1,tag:"tag:yaml.org,2002:set",resolve:function(e,r){const i=n.resolveMap(e,r);if(!i.hasAllNullValues())throw new t.YAMLSemanticError(r,"Set items must all have null values");return Object.assign(new c,i)},createNode:function(e,t,n){const r=new c;for(const i of t)r.items.push(e.createPair(i,null,n));return r}},f=(e,t)=>{const n=t.split(":").reduce(((e,t)=>60*e+Number(t)),0);return"-"===e?-n:n},d=({value:e})=>{if(isNaN(e)||!isFinite(e))return n.stringifyNumber(e);let t="";e<0&&(t="-",e=Math.abs(e));const r=[e%60];return e<60?r.unshift(0):(e=Math.round((e-r[0])/60),r.unshift(e%60),e>=60&&(e=Math.round((e-r[0])/60),r.unshift(e))),t+r.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")},p={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,n)=>f(t,n.replace(/_/g,"")),stringify:d},h={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,n)=>f(t,n.replace(/_/g,"")),stringify:d},m={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(e,t,n,r,i,o,a,s,l)=>{s&&(s=(s+"00").substr(1,3));let c=Date.UTC(t,n-1,r,i||0,o||0,a||0,s||0);if(l&&"Z"!==l){let e=f(l[0],l.slice(1));Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function g(e){const t="undefined"!=typeof process&&process.env||{};return e?"undefined"!=typeof YAML_SILENCE_DEPRECATION_WARNINGS?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:"undefined"!=typeof YAML_SILENCE_WARNINGS?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function v(e,t){if(g(!1)){const n="undefined"!=typeof process&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}var y={};e.binary=r,e.floatTime=h,e.intTime=p,e.omap=l,e.pairs=a,e.set=u,e.timestamp=m,e.warn=v,e.warnFileDeprecation=function(e){g(!0)&&v(`The endpoint 'yaml/${e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/")}' will be removed in a future release.`,"DeprecationWarning")},e.warnOptionDeprecation=function(e,t){if(!y[e]&&g(!0)){y[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",v(n,"DeprecationWarning")}}}}),Qt=b({"node_modules/yaml/dist/Schema-88e323a7.js"(e){"use strict";var t=Jt(),n=Zt(),r=Xt(),i={createNode:function(e,t,r){const i=new n.YAMLMap(e);if(t instanceof Map)for(const[n,o]of t)i.items.push(e.createPair(n,o,r));else if(t&&"object"==typeof t)for(const n of Object.keys(t))i.items.push(e.createPair(n,t[n],r));return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i},default:!0,nodeClass:n.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:n.resolveMap},o={createNode:function(e,t,r){const i=new n.YAMLSeq(e);if(t&&t[Symbol.iterator])for(const n of t){const t=e.createNode(n,r.wrapScalars,null,r);i.items.push(t)}return i},default:!0,nodeClass:n.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:n.resolveSeq},a={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:n.resolveString,stringify:(e,t,r,i)=>(t=Object.assign({actualString:!0},t),n.stringifyString(e,t,r,i)),options:n.strOptions},s=[i,o,a],l=e=>"bigint"==typeof e||Number.isInteger(e),c=(e,t,r)=>n.intOptions.asBigInt?BigInt(e):parseInt(t,r);function u(e,t,r){const{value:i}=e;return l(i)&&i>=0?r+i.toString(t):n.stringifyNumber(e)}var f={identify:e=>null==e,createNode:(e,t,r)=>r.wrapScalars?new n.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:n.nullOptions,stringify:()=>n.nullOptions.nullStr},d={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>"t"===e[0]||"T"===e[0],options:n.boolOptions,stringify:({value:e})=>e?n.boolOptions.trueStr:n.boolOptions.falseStr},p={identify:e=>l(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>c(e,t,8),options:n.intOptions,stringify:e=>u(e,8,"0o")},h={identify:l,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>c(e,e,10),options:n.intOptions,stringify:n.stringifyNumber},m={identify:e=>l(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>c(e,t,16),options:n.intOptions,stringify:e=>u(e,16,"0x")},g={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:n.stringifyNumber},v={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()},y={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const i=t||r,o=new n.Scalar(parseFloat(e));return i&&"0"===i[i.length-1]&&(o.minFractionDigits=i.length),o},stringify:n.stringifyNumber},b=s.concat([f,d,p,h,m,g,v,y]),_=e=>"bigint"==typeof e||Number.isInteger(e),w=({value:e})=>JSON.stringify(e),S=[i,o,{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:n.resolveString,stringify:w},{identify:e=>null==e,createNode:(e,t,r)=>r.wrapScalars?new n.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:w},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:w},{identify:_,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>n.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>_(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:w}];S.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var x=({value:e})=>e?n.boolOptions.trueStr:n.boolOptions.falseStr,E=e=>"bigint"==typeof e||Number.isInteger(e);function k(e,t,r){let i=t.replace(/_/g,"");if(n.intOptions.asBigInt){switch(r){case 2:i=`0b${i}`;break;case 8:i=`0o${i}`;break;case 16:i=`0x${i}`}const t=BigInt(i);return"-"===e?BigInt(-1)*t:t}const o=parseInt(i,r);return"-"===e?-1*o:o}function C(e,t,r){const{value:i}=e;if(E(i)){const e=i.toString(t);return i<0?"-"+r+e.substr(1):r+e}return n.stringifyNumber(e)}var O=s.concat([{identify:e=>null==e,createNode:(e,t,r)=>r.wrapScalars?new n.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:n.nullOptions,stringify:()=>n.nullOptions.nullStr},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:n.boolOptions,stringify:x},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:n.boolOptions,stringify:x},{identify:E,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>k(t,n,2),stringify:e=>C(e,2,"0b")},{identify:E,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>k(t,n,8),stringify:e=>C(e,8,"0")},{identify:E,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>k(t,n,10),stringify:n.stringifyNumber},{identify:E,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>k(t,n,16),stringify:e=>C(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:n.stringifyNumber},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new n.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");"0"===e[e.length-1]&&(r.minFractionDigits=e.length)}return r},stringify:n.stringifyNumber}],r.binary,r.omap,r.pairs,r.set,r.intTime,r.floatTime,r.timestamp),T={core:b,failsafe:s,json:S,yaml11:O},P={binary:r.binary,bool:d,float:y,floatExp:v,floatNaN:g,floatTime:r.floatTime,int:h,intHex:m,intOct:p,intTime:r.intTime,map:i,null:f,omap:r.omap,pairs:r.pairs,seq:o,set:r.set,timestamp:r.timestamp};var A=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,M=class e{constructor({customTags:e,merge:t,schema:n,sortMapEntries:i,tags:o}){this.merge=!!t,this.name=n,this.sortMapEntries=!0===i?A:i||null,!e&&o&&r.warnOptionDeprecation("tags","customTags"),this.tags=function(e,t,n,r){let i=e[r.replace(/\W/g,"")];if(!i){const t=Object.keys(e).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${t}`)}if(Array.isArray(n))for(const e of n)i=i.concat(e);else"function"==typeof n&&(i=n(i.slice()));for(let e=0;e<i.length;++e){const n=i[e];if("string"==typeof n){const r=t[n];if(!r){const e=Object.keys(t).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${n}"; use one of ${e}`)}i[e]=r}}return i}(T,P,e||o,n)}createNode(t,r,a,s){const l={defaultPrefix:e.defaultPrefix,schema:this,wrapScalars:r};return function(e,t,r){if(e instanceof n.Node)return e;const{defaultPrefix:a,onTagObj:s,prevObjects:l,schema:c,wrapScalars:u}=r;t&&t.startsWith("!!")&&(t=a+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))||e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format))}(e,t,c.tags);if(!f){if("function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e)return u?new n.Scalar(e):e;f=e instanceof Map?i:e[Symbol.iterator]?o:i}s&&(s(f),delete r.onTagObj);const d={value:void 0,node:void 0};if(e&&"object"==typeof e&&l){const t=l.get(e);if(t){const e=new n.Alias(t);return r.aliasNodes.push(e),e}d.value=e,l.set(e,d)}return d.node=f.createNode?f.createNode(r.schema,e,r):u?new n.Scalar(e):e,t&&d.node instanceof n.Node&&(d.node.tag=t),d.node}(t,a,s?Object.assign(s,l):l)}createPair(e,t,r){r||(r={wrapScalars:!0});const i=this.createNode(e,r.wrapScalars,null,r),o=this.createNode(t,r.wrapScalars,null,r);return new n.Pair(i,o)}};t._defineProperty(M,"defaultPrefix",t.defaultTagPrefix),t._defineProperty(M,"defaultTags",t.defaultTags),e.Schema=M}}),en=b({"node_modules/yaml/dist/types.js"(e){"use strict";var t=Zt(),n=Qt();Jt(),Xt(),e.Alias=t.Alias,e.Collection=t.Collection,e.Merge=t.Merge,e.Node=t.Node,e.Pair=t.Pair,e.Scalar=t.Scalar,e.YAMLMap=t.YAMLMap,e.YAMLSeq=t.YAMLSeq,e.binaryOptions=t.binaryOptions,e.boolOptions=t.boolOptions,e.intOptions=t.intOptions,e.nullOptions=t.nullOptions,e.strOptions=t.strOptions,e.Schema=n.Schema}}),tn=y({"node_modules/yaml/types.mjs"(){(qt=w(en(),1)).default.binaryOptions,qt.default.boolOptions,qt.default.intOptions,qt.default.nullOptions,qt.default.strOptions,qt.default.Schema,qt.default.Alias,qt.default.Collection,qt.default.Merge,qt.default.Node,qt.default.Pair,qt.default.Scalar,Vt=qt.default.YAMLMap,Kt=qt.default.YAMLSeq}});function nn(e,t,n,r=n){const{title:i,description:o,comment:a}=function(e,t){return t.reduce(((e,t)=>t in e?e[t]:{}),e)}(e,t),s=[];f("renderTitle")&&i&&s.push(` ${i}`,""),f("renderDescription")&&o&&s.push(` ${o}`),f("renderComment")&&a&&s.push(` ${a}`),n.commentBefore=s.join("\n"),r instanceof Vt?r.items.forEach((n=>{nn(e,[...t,"items",n.key.value],n.key,n.value)})):r instanceof Kt&&r.items.forEach(((n,r)=>{nn(e,[...t,"items",r],n)}))}function rn({value:e,context:t}){const n=Gt.createNode(e);nn(t,[],n);const r=new Gt.Document;return r.contents=n,r.toString()}var on,an,sn,ln,cn=y({"src/lib/renderers/yaml.mjs"(){cn(),tn(),I(),Gt=rn}}),un=y({"src/lib/renderers/index.mjs"(){Yt(),cn()}});function fn(){on.define("autoIncrement",(function(e,t){if(!this.offset){const n=t.minimum||1,r=n+A.MAX_NUMBER,i=e.initialOffset||t.initialOffset;this.offset=i||L.number(n,r)}return e?this.offset++:t})),on.define("sequentialDate",(function(e,t){if(this.now||(this.now=L.date()),e){if(t=this.now.toISOString(),-1===["seconds","minutes","hours","days","weeks","months","years"].indexOf(e=!0===e?"days":e))throw new Error(`Unsupported increment by ${Y.short(e)}`);this.now.setTime(this.now.getTime()+L.date(e))}return t}))}function dn(e,t){let n={};function r(e){if(!e||"object"!=typeof e)return;if(Array.isArray(e))return e.forEach(r);const t=e.$id||e.id;"string"!=typeof t||n[t]||(n[t]=e),Object.keys(e).forEach((t=>{r(e[t])}))}return Array.isArray(e)?e.forEach((e=>{n[e.$id||e.id]=e})):n=e||{},r(e),r(t),n}var pn,hn,mn=y({"src/lib/index.mjs"(){S(),we(),Te(),I(),R(),J(),_e(),Ht(),un(),on=new ve,(an=(e,t,n)=>(console.debug("[json-schema-faker] calling JSONSchemaFaker() is deprecated, call either .generate() or .resolve()"),n&&console.debug("[json-schema-faker] local references are only supported by calling .resolve()"),an.generate(e,t))).generateWithContext=(e,t)=>{const n=dn(t,e);return Nt(n,e,on,!0)},an.generate=(e,t)=>Ut(an.generateWithContext(e,t)),an.generateYAML=(e,t)=>Gt(an.generateWithContext(e,t)),an.resolveWithContext=(e,t,n)=>{"string"==typeof t&&(n=t,t={}),n=`${(n=n||("undefined"!=typeof process&&"function"==typeof process.cwd?process.cwd():"")).replace(/\/+$/,"")}/`;const r=dn(t,e),o={order:1,canRead(e){const t=e.url.replace("/:",":");return r[t]||r[t.split("/").pop()]},read(e,t){try{t(null,this.canRead(e))}catch(e){t(e)}}},{$RefParser:a}=i();return a.bundle(n,e,{resolve:{file:{order:100},http:{order:200},fixedRefs:o},dereference:{circular:"ignore"}}).then((e=>Nt(r,e,on))).catch((e=>{throw new Error(`Error while resolving schema (${e.message})`)}))},an.resolve=(e,t,n)=>an.resolveWithContext(e,t,n).then(Ut),an.resolveYAML=(e,t,n)=>an.resolveWithContext(e,t,n).then(Gt),fn(),an.format=be,an.option=f,an.random=L,an.extend=(e,t)=>(on.extend(e,t),an),an.define=(e,t)=>(on.define(e,t),an),an.reset=e=>(on.reset(e),fn(),an),an.locate=e=>on.get(e),an.VERSION="0.5.5",sn={...an},ln=an}}),gn={};((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})(gn,{JSONSchemaFaker:()=>sn,default:()=>ln});var vn,yn=(y({"src/lib/main.mjs"(){pn=w(n(63729),1),hn=n(77110),S(),mn(),o({$RefParser:pn.default,JSONPath:hn.JSONPath})}})(),vn=gn,_(p({},"__esModule",{value:!0}),vn)).default;e.exports=yn,e.exports.JSONSchemaFaker={...yn}},77110:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return u=c()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&l(i,n.prototype),i},u.apply(null,arguments)}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)},f(e)}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.r(t),n.d(t,{JSONPath:()=>y});var h=Object.prototype.hasOwnProperty;function m(e,t){return(e=e.slice()).push(t),e}function g(e,t){return(t=t.slice()).unshift(e),t}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(o,e);var t,n,r=(t=o,n=c(),function(){var e,r=s(t);if(n){var i=s(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function o(e){var t;return i(this,o),(t=r.call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)')).avoidNew=!0,t.value=e,t.name="NewError",t}return a(o)}(f(Error));function y(e,t,n,i,o){if(!(this instanceof y))try{return new y(e,t,n,i,o)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(o=i,i=n,n=t,t=e,e=null);var a=e&&"object"===r(e);if(e=e||{},this.json=e.json||n,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!h.call(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.preventEval=e.preventEval||!1,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||i||null,this.otherTypeCallback=e.otherTypeCallback||o||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){var s={path:a?e.path:t};a?"json"in e&&(s.json=e.json):s.json=n;var l=this.evaluate(s);if(!l||"object"!==r(l))throw new v(l);return l}}y.prototype.evaluate=function(e,t,n,i){var o=this,a=this.parent,s=this.parentProperty,l=this.flatten,c=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,n=n||this.callback,this.currOtherTypeCallback=i||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"===r(e)&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!h.call(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');t=e.json,l=h.call(e,"flatten")?e.flatten:l,this.currResultType=h.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=h.call(e,"sandbox")?e.sandbox:this.currSandbox,c=h.call(e,"wrap")?e.wrap:c,this.currPreventEval=h.call(e,"preventEval")?e.preventEval:this.currPreventEval,n=h.call(e,"callback")?e.callback:n,this.currOtherTypeCallback=h.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,a=h.call(e,"parent")?e.parent:a,s=h.call(e,"parentProperty")?e.parentProperty:s,e=e.path}if(a=a||null,s=s||null,Array.isArray(e)&&(e=y.toPathString(e)),(e||""===e)&&t){var u=y.toPathArray(e);"$"===u[0]&&u.length>1&&u.shift(),this._hasParentSelector=null;var f=this._trace(u,t,["$"],a,s,n).filter((function(e){return e&&!e.isParentSelector}));return f.length?c||1!==f.length||f[0].hasArrExpr?f.reduce((function(e,t){var n=o._getPreferredOutput(t);return l&&Array.isArray(n)?e=e.concat(n):e.push(n),e}),[]):this._getPreferredOutput(f[0]):c?[]:void 0}},y.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var n=Array.isArray(e.path)?e.path:y.toPathArray(e.path);return e.pointer=y.toPointer(n),e.path="string"==typeof e.path?e.path:y.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return y.toPathString(e[t]);case"pointer":return y.toPointer(e.path);default:throw new TypeError("Unknown result type")}},y.prototype._handleCallback=function(e,t,n){if(t){var r=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:y.toPathString(e.path),t(r,n,e)}},y.prototype._trace=function(e,t,n,i,o,a,s,l){var c,u=this;if(!e.length)return c={path:n,value:t,parent:i,parentProperty:o,hasArrExpr:s},this._handleCallback(c,a,"value"),c;var f=e[0],p=e.slice(1),v=[];function y(e){Array.isArray(e)?e.forEach((function(e){v.push(e)})):v.push(e)}if(("string"!=typeof f||l)&&t&&h.call(t,f))y(this._trace(p,t[f],m(n,f),t,f,a,s));else if("*"===f)this._walk(t,(function(e){y(u._trace(p,t[e],m(n,e),t,e,a,!0,!0))}));else if(".."===f)y(this._trace(p,t,n,i,o,a,s)),this._walk(t,(function(i){"object"===r(t[i])&&y(u._trace(e.slice(),t[i],m(n,i),t,i,a,!0))}));else{if("^"===f)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:p,isParentSelector:!0};if("~"===f)return c={path:m(n,f),value:o,parent:i,parentProperty:null},this._handleCallback(c,a,"property"),c;if("$"===f)y(this._trace(p,t,n,null,null,a,s));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(f))y(this._slice(f,p,t,n,i,o,a));else if(0===f.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");var b=f.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1");this._walk(t,(function(e){u._eval(b,t[e],e,n,i,o)&&y(u._trace(p,t[e],m(n,e),t,e,a,!0))}))}else if("("===f[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");y(this._trace(g(this._eval(f,t,n[n.length-1],n.slice(0,-1),i,o),p),t,n,i,o,a,s))}else if("@"===f[0]){var _=!1,w=f.slice(1,-2);switch(w){case"scalar":t&&["object","function"].includes(r(t))||(_=!0);break;case"boolean":case"string":case"undefined":case"function":r(t)===w&&(_=!0);break;case"integer":!Number.isFinite(t)||t%1||(_=!0);break;case"number":Number.isFinite(t)&&(_=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(_=!0);break;case"object":t&&r(t)===w&&(_=!0);break;case"array":Array.isArray(t)&&(_=!0);break;case"other":_=this.currOtherTypeCallback(t,n,i,o);break;case"null":null===t&&(_=!0);break;default:throw new TypeError("Unknown value type "+w)}if(_)return c={path:n,value:t,parent:i,parentProperty:o},this._handleCallback(c,a,"value"),c}else if("`"===f[0]&&t&&h.call(t,f.slice(1))){var S=f.slice(1);y(this._trace(p,t[S],m(n,S),t,S,a,s,!0))}else if(f.includes(",")){var x,E=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(f.split(","));try{for(E.s();!(x=E.n()).done;){var k=x.value;y(this._trace(g(k,p),t,n,i,o,a,!0))}}catch(e){E.e(e)}finally{E.f()}}else!l&&t&&h.call(t,f)&&y(this._trace(p,t[f],m(n,f),t,f,a,s,!0))}if(this._hasParentSelector)for(var C=0;C<v.length;C++){var O=v[C];if(O&&O.isParentSelector){var T=this._trace(O.expr,t,O.path,i,o,a,s);if(Array.isArray(T)){v[C]=T[0];for(var P=T.length,A=1;A<P;A++)C++,v.splice(C,0,T[A])}else v[C]=T}}return v},y.prototype._walk=function(e,t){if(Array.isArray(e))for(var n=e.length,i=0;i<n;i++)t(i);else e&&"object"===r(e)&&Object.keys(e).forEach((function(e){t(e)}))},y.prototype._slice=function(e,t,n,r,i,o,a){if(Array.isArray(n)){var s=n.length,l=e.split(":"),c=l[2]&&Number.parseInt(l[2])||1,u=l[0]&&Number.parseInt(l[0])||0,f=l[1]&&Number.parseInt(l[1])||s;u=u<0?Math.max(0,u+s):Math.min(s,u),f=f<0?Math.max(0,f+s):Math.min(s,f);for(var d=[],p=u;p<f;p+=c)this._trace(g(p,t),n,r,i,o,a,!0).forEach((function(e){d.push(e)}));return d}},y.prototype._eval=function(e,t,n,r,i,o){this.currSandbox._$_parentProperty=o,this.currSandbox._$_parent=i,this.currSandbox._$_property=n,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;var a=e.includes("@path");a&&(this.currSandbox._$_path=y.toPathString(r.concat([n])));var s="script:"+e;if(!y.cache[s]){var l=e.replace(/@parentProperty/g,"_$_parentProperty").replace(/@parent/g,"_$_parent").replace(/@property/g,"_$_property").replace(/@root/g,"_$_root").replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1");a&&(l=l.replace(/@path/g,"_$_path")),y.cache[s]=new this.vm.Script(l)}try{return y.cache[s].runInNewContext(this.currSandbox)}catch(t){throw new Error("jsonPath: "+t.message+": "+e)}},y.cache={},y.toPathString=function(e){for(var t=e,n=t.length,r="$",i=1;i<n;i++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[i])||(r+=/^[\*0-9]+$/.test(t[i])?"["+t[i]+"]":"['"+t[i]+"']");return r},y.toPointer=function(e){for(var t=e,n=t.length,r="",i=1;i<n;i++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[i])||(r+="/"+t[i].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return r},y.toPathArray=function(e){var t=y.cache;if(t[e])return t[e].concat();var n=[],r=e.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]]/g,(function(e,t){return"[#"+(n.push(t)-1)+"]"})).replace(/\[["']((?:(?!['\]])[\s\S])*)["']\]/g,(function(e,t){return"['"+t.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"})).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:(?!\[)[\s\S])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,(function(e,t){return";"+t.split("").join(";")+";"})).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,"").split(";").map((function(e){var t=e.match(/#([0-9]+)/);return t&&t[1]?n[t[1]]:e}));return t[e]=r,t[e].concat()};var b=function(){function e(t){i(this,e),this.code=t}return a(e,[{key:"runInNewContext",value:function(e){var t=this.code,n=Object.keys(e),r=[];!function(t,n,r){for(var i=t.length,o=0;o<i;o++)a=t[o],"function"==typeof e[a]&&n.push(t.splice(o--,1)[0]);var a}(n,r);var i=n.map((function(t,n){return e[t]})),o=r.reduce((function(t,n){var r=e[n].toString();return/function/.test(r)||(r="function "+r),"var "+n+"="+r+";"+t}),"");/(["'])use strict\1/.test(t=o+t)||n.includes("arguments")||(t="var arguments = undefined;"+t);var a,s=(t=t.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"")).lastIndexOf(";"),l=s>-1?t.slice(0,s+1)+" return "+t.slice(s+1):" return "+t;return u(Function,n.concat([l])).apply(void 0,function(e){if(Array.isArray(e))return p(e)}(a=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||d(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}]),e}();y.prototype.vm={Script:b}},20810:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});const r=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],i=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],o=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],a=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],s=(e,t,n)=>{let r=e;return"string"==typeof t||Array.isArray(t)?r=e.toLocaleString(t,n):!0!==t&&void 0===n||(r=e.toLocaleString(void 0,n)),r};function l(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);const n=(t={bits:!1,binary:!1,space:!0,...t}).bits?t.binary?a:o:t.binary?i:r,l=t.space?" ":"";if(t.signed&&0===e)return` 0${l}${n[0]}`;const c=e<0,u=c?"-":t.signed?"+":"";let f;if(c&&(e=-e),void 0!==t.minimumFractionDigits&&(f={minimumFractionDigits:t.minimumFractionDigits}),void 0!==t.maximumFractionDigits&&(f={maximumFractionDigits:t.maximumFractionDigits,...f}),e<1)return u+s(e,t.locale,f)+l+n[0];const d=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);return e/=(t.binary?1024:1e3)**d,f||(e=e.toPrecision(3)),u+s(Number(e),t.locale,f)+l+n[d]}},43937:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>N,I18nextProvider:()=>V,Trans:()=>$,TransWithoutContext:()=>D,Translation:()=>q,composeInitialProps:()=>B,date:()=>Y,getDefaults:()=>T,getI18n:()=>A,getInitialProps:()=>z,initReactI18next:()=>j,number:()=>Z,plural:()=>Q,select:()=>X,selectOrdinal:()=>ee,setDefaults:()=>O,setI18n:()=>P,time:()=>J,useSSR:()=>K,useTranslation:()=>H,withSSR:()=>G,withTranslation:()=>W});var r=n(81794),i=n(56246),o=n(62961),a=n.n(o),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(a()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var i=new RegExp(s),o=null;null!==(o=i.exec(e));)if(o[0].trim())if(o[1]){var l=o[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var c=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,f=Object.create(null);function d(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(d,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var p={parse:function(e,t){t||(t={}),t.components||(t.components=f);var n,r=[],i=[],o=-1,a=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");r.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(c,(function(s,c){if(a){if(s!=="</"+n.name+">")return;a=!1}var f,d="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),h=c+s.length,m=e.charAt(h);if(p){var g=l(s);return o<0?(r.push(g),r):((f=i[o]).children.push(g),r)}if(d&&(o++,"tag"===(n=l(s)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!m||"<"===m||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===o&&r.push(n),(f=i[o-1])&&f.children.push(n),i[o]=n),(!d||n.voidElement)&&(o>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(o--,n=-1===o?r:i[o]),!a&&"<"!==m&&m)){f=-1===o?r:i[o].children;var v=e.indexOf("<",h),y=e.slice(h,-1===v?void 0:v);u.test(y)&&(y=" "),(v>-1&&o+f.length>=0||" "!==y)&&f.push({type:"text",content:y})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+d("",t)}),"")}};const h=p;function m(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const g={};function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&g[t[0]]||("string"==typeof t[0]&&(g[t[0]]=new Date),m(...t))}const y=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}};function b(e,t,n){e.loadNamespaces(t,y(e,n))}function _(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,y(e,r))}function w(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}const S=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,x={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},E=e=>x[e];let k,C={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(S,E)};function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C={...C,...e}}function T(){return C}function P(e){k=e}function A(){return k}function M(e,t){if(!e)return!1;const n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function L(e){if(!e)return[];const t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?I(t):t}function I(e){return Array.isArray(e)?e:[e]}function R(e,t){if(!e)return"";let n="";const i=I(e),o=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return i.forEach(((e,i)=>{if("string"==typeof e)n+=`${e}`;else if((0,r.isValidElement)(e)){const r=Object.keys(e.props).length,a=o.indexOf(e.type)>-1,s=e.props.children;if(!s&&a&&0===r)n+=`<${e.type}/>`;else if(s||a&&0===r)if(e.props.i18nIsDynamicList)n+=`<${i}></${i}>`;else if(a&&1===r&&"string"==typeof s)n+=`<${e.type}>${s}</${e.type}>`;else{const e=R(s,t);n+=`<${i}>${e}</${i}>`}else n+=`<${i}></${i}>`}else if(null===e)m("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"==typeof e){const{format:t,...r}=e,i=Object.keys(r);if(1===i.length){const e=t?`${i[0]}, ${t}`:i[0];n+=`{{${e}}}`}else m("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else m("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function D(e){let{children:t,count:n,parent:o,i18nKey:a,context:s,tOptions:l={},values:c,defaults:u,components:f,ns:d,i18n:p,t:m,shouldUnescape:g,...y}=e;const b=p||A();if(!b)return v("You will need to pass in an i18next instance by using i18nextReactModule"),t;const _=m||b.t.bind(b)||(e=>e);s&&(l.context=s);const w={...T(),...b.options&&b.options.react};let S=d||_.ns||b.options&&b.options.defaultNS;S="string"==typeof S?[S]:S||["translation"];const x=R(t,w),E=u||x||w.transEmptyNodeValue||a,{hashTransKey:k}=w,C=a||(k?k(x||E):x||E);b.options&&b.options.interpolation&&b.options.interpolation.defaultVariables&&(c=c&&Object.keys(c).length>0?{...c,...b.options.interpolation.defaultVariables}:{...b.options.interpolation.defaultVariables});const O=c?l.interpolation:{interpolation:{...l.interpolation,prefix:"#$?",suffix:"?$#"}},P={...l,count:n,...c,...O,defaultValue:E,ns:S},D=C?_(C,P):E;f&&Object.keys(f).forEach((e=>{const t=f[e];"function"==typeof t.type||!t.props||!t.props.children||D.indexOf(`${e}/>`)<0&&D.indexOf(`${e} />`)<0||(f[e]=r.createElement((function(){return r.createElement(r.Fragment,null,t)}),null))}));const j=function(e,t,n,o,a,s){if(""===t)return[];const l=o.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(l.map((e=>`<${e}`)).join("|")).test(t);if(!e&&!c&&!s)return[t];const u={};!function e(t){I(t).forEach((t=>{"string"!=typeof t&&(M(t)?e(L(t)):"object"!=typeof t||(0,r.isValidElement)(t)||Object.assign(u,t))}))}(e);const f=h.parse(`<0>${t}</0>`),d={...u,...a};function p(e,t,n){const i=L(e),o=g(i,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((e=>(0,r.isValidElement)(e)))}(i)&&0===o.length||e.props&&e.props.i18nIsDynamicList?i:o}function m(e,t,n,o,a){e.dummy?(e.children=t,n.push((0,r.cloneElement)(e,{key:o},a?void 0:t))):n.push(...r.Children.map([e],(e=>{const n={...e.props};return delete n.i18nIsDynamicList,r.createElement(e.type,i({},n,{key:o,ref:e.ref},a?{}:{children:t}))})))}function g(t,i,a){const u=I(t);return I(i).reduce(((t,i,f)=>{const h=i.children&&i.children[0]&&i.children[0].content&&n.services.interpolator.interpolate(i.children[0].content,d,n.language);if("tag"===i.type){let s=u[parseInt(i.name,10)];1!==a.length||s||(s=a[0][i.name]),s||(s={});const v=0!==Object.keys(i.attrs).length?function(e,t){const n={...t};return n.props=Object.assign(e.props,t.props),n}({props:i.attrs},s):s,y=(0,r.isValidElement)(v),b=y&&M(i,!0)&&!i.voidElement,_=c&&"object"==typeof v&&v.dummy&&!y,w="object"==typeof e&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof v){const e=n.services.interpolator.interpolate(v,d,n.language);t.push(e)}else if(M(v)||b)m(v,p(v,i,a),t,f);else if(_)m(v,g(u,i.children,a),t,f);else if(Number.isNaN(parseFloat(i.name)))if(w)m(v,p(v,i,a),t,f,i.voidElement);else if(o.transSupportBasicHtmlNodes&&l.indexOf(i.name)>-1)if(i.voidElement)t.push((0,r.createElement)(i.name,{key:`${i.name}-${f}`}));else{const e=g(u,i.children,a);t.push((0,r.createElement)(i.name,{key:`${i.name}-${f}`},e))}else if(i.voidElement)t.push(`<${i.name} />`);else{const e=g(u,i.children,a);t.push(`<${i.name}>${e}</${i.name}>`)}else if("object"!=typeof v||y)m(v,h,t,f,1!==i.children.length||!h);else{const e=i.children[0]?h:null;e&&t.push(e)}}else if("text"===i.type){const e=o.transWrapTextNodes,a=s?o.unescape(n.services.interpolator.interpolate(i.content,d,n.language)):n.services.interpolator.interpolate(i.content,d,n.language);e?t.push((0,r.createElement)(e,{key:`${i.name}-${f}`},a)):t.push(a)}return t}),[])}return L(g([{dummy:!0,children:e||[]}],f,I(e||[]))[0])}(f||t,D,b,w,P,g),N=void 0!==o?o:w.defaultTransParent;return N?(0,r.createElement)(N,y,j):j}const j={type:"3rdParty",init(e){O(e.options.react),P(e)}},N=(0,r.createContext)();class F{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function B(e){return t=>new Promise((n=>{const r=z();e.getInitialProps?e.getInitialProps(t).then((e=>{n({...e,...r})})):n(r)}))}function z(){const e=A(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((n=>{r[n]={},t.forEach((t=>{r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}function $(e){let{children:t,count:n,parent:i,i18nKey:o,context:a,tOptions:s={},values:l,defaults:c,components:u,ns:f,i18n:d,t:p,shouldUnescape:h,...m}=e;const{i18n:g,defaultNS:v}=(0,r.useContext)(N)||{},y=d||g||A(),b=p||y&&y.t.bind(y);return D({children:t,count:n,parent:i,i18nKey:o,context:a,tOptions:s,values:l,defaults:c,components:u,ns:f||b&&b.ns||v||y&&y.options&&y.options.defaultNS,i18n:y,t:p,shouldUnescape:h,...m})}const U=(e,t)=>{const n=(0,r.useRef)();return(0,r.useEffect)((()=>{n.current=t?n.current:e}),[e,t]),n.current};function H(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:n}=t,{i18n:i,defaultNS:o}=(0,r.useContext)(N)||{},a=n||i||A();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new F),!a){v("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react&&void 0!==a.options.react.wait&&v("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...T(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=s;let u=e||o||a.options&&a.options.defaultNS;u="string"==typeof u?[u]:u||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(u);const f=(a.isInitialized||a.initializedStoreOnce)&&u.every((e=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.languages[0],i=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;const a=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${n}`];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}(e,t,n):(v("i18n.languages were undefined or empty",t.languages),!0)}(e,a,s)));function d(){return a.getFixedT(t.lng||null,"fallback"===s.nsMode?u:u[0],c)}const[p,h]=(0,r.useState)(d);let m=u.join();t.lng&&(m=`${t.lng}${m}`);const g=U(m),y=(0,r.useRef)(!0);(0,r.useEffect)((()=>{const{bindI18n:e,bindI18nStore:n}=s;function r(){y.current&&h(d)}return y.current=!0,f||l||(t.lng?_(a,t.lng,u,(()=>{y.current&&h(d)})):b(a,u,(()=>{y.current&&h(d)}))),f&&g&&g!==m&&y.current&&h(d),e&&a&&a.on(e,r),n&&a&&a.store.on(n,r),()=>{y.current=!1,e&&a&&e.split(" ").forEach((e=>a.off(e,r))),n&&a&&n.split(" ").forEach((e=>a.store.off(e,r)))}}),[a,m]);const w=(0,r.useRef)(!0);(0,r.useEffect)((()=>{y.current&&!w.current&&h(d),w.current=!1}),[a,c]);const S=[p,a,f];if(S.t=p,S.i18n=a,S.ready=f,f)return S;if(!f&&!l)return S;throw new Promise((e=>{t.lng?_(a,t.lng,u,(()=>e())):b(a,u,(()=>e()))}))}function W(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function i(i){let{forwardedRef:o,...a}=i;const[s,l,c]=H(e,{...a,keyPrefix:t.keyPrefix}),u={...a,t:s,i18n:l,tReady:c};return t.withRef&&o?u.ref=o:!t.withRef&&o&&(u.forwardedRef=o),(0,r.createElement)(n,u)}return i.displayName=`withI18nextTranslation(${w(n)})`,i.WrappedComponent=n,t.withRef?(0,r.forwardRef)(((e,t)=>(0,r.createElement)(i,Object.assign({},e,{forwardedRef:t})))):i}}function q(e){const{ns:t,children:n,...r}=e,[i,o,a]=H(t,r);return n(i,{i18n:o,lng:o.language},a)}function V(e){let{i18n:t,defaultNS:n,children:i}=e;const o=(0,r.useMemo)((()=>({i18n:t,defaultNS:n})),[t,n]);return(0,r.createElement)(N.Provider,{value:o},i)}function K(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{i18n:i}=n,{i18n:o}=(0,r.useContext)(N)||{},a=i||o||A();a.options&&a.options.isClone||(e&&!a.initializedStoreOnce&&(a.services.resourceStore.data=e,a.options.ns=Object.values(e).reduce(((e,t)=>(Object.keys(t).forEach((t=>{e.indexOf(t)<0&&e.push(t)})),e)),a.options.ns),a.initializedStoreOnce=!0,a.isInitialized=!0),t&&!a.initializedLanguageOnce&&(a.changeLanguage(t),a.initializedLanguageOnce=!0))}function G(){return function(e){function t(t){let{initialI18nStore:n,initialLanguage:i,...o}=t;return K(n,i),(0,r.createElement)(e,{...o})}return t.getInitialProps=B(e),t.displayName=`withI18nextSSR(${w(e)})`,t.WrappedComponent=e,t}}const Y=()=>"",J=()=>"",Z=()=>"",X=()=>"",Q=()=>"",ee=()=>""},18991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>R,__assign:()=>o,__asyncDelegator:()=>k,__asyncGenerator:()=>E,__asyncValues:()=>C,__await:()=>x,__awaiter:()=>h,__classPrivateFieldGet:()=>M,__classPrivateFieldIn:()=>I,__classPrivateFieldSet:()=>L,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>j,__esDecorate:()=>c,__exportStar:()=>v,__extends:()=>i,__generator:()=>m,__importDefault:()=>A,__importStar:()=>P,__makeTemplateObject:()=>O,__metadata:()=>p,__param:()=>l,__propKey:()=>f,__read:()=>b,__rest:()=>a,__runInitializers:()=>u,__setFunctionName:()=>d,__spread:()=>_,__spreadArray:()=>S,__spreadArrays:()=>w,__values:()=>y,default:()=>N});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,f=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[p])("accessor"===l?{get:f.get,set:f.set}:f[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(f.get=s),(s=a(g.set))&&(f.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):f[c]=s)}u&&Object.defineProperty(u,r.name,f),d=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof x?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function k(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:i?i(t):t}:i}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,i,(t=e[n](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return T(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function M(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var D="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function j(e){function t(t){e.error=e.hasError?new D(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const N={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:p,__awaiter:h,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:_,__spreadArrays:w,__spreadArray:S,__await:x,__asyncGenerator:E,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:O,__importStar:P,__importDefault:A,__classPrivateFieldGet:M,__classPrivateFieldSet:L,__classPrivateFieldIn:I,__addDisposableResource:R,__disposeResources:j}},55444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Receiver:()=>i,Sender:()=>o,WebSocket:()=>a,WebSocketServer:()=>s,createWebSocketStream:()=>r,default:()=>l});var r=n(48705),i=n(43264),o=n(31208),a=n(15530),s=n(37116);const l=a},53420:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},8198:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"balena-etcher","private":true,"displayName":"balenaEtcher","productName":"balenaEtcher","version":"2.1.2","packageType":"local","main":".webpack/main","description":"Flash OS images to SD cards and USB drives, safely and easily.","productDescription":"Etcher is a powerful OS image flasher built with web technologies to ensure flashing an SDCard or USB drive is a pleasant and safe experience. It protects you from accidentally writing to your hard-drives, ensures every byte of data was written correctly and much more.","homepage":"https://github.com/balena-io/etcher","repository":{"type":"git","url":"git@github.com:balena-io/etcher.git"},"scripts":{"prettify":"prettier --write lib/**/*.css && balena-lint --fix --typescript typings lib tests forge.config.ts forge.sidecar.ts webpack.config.ts","lint":"npm run prettify && catch-uncommitted","test":"echo \'Only use custom tests; if you want to test locally, use `npm run wdio`\' && exit 0","package":"electron-forge package","start":"electron-forge start","make":"electron-forge make","wdio":"xvfb-maybe wdio run ./wdio.conf.ts"},"husky":{"hooks":{"pre-commit":"npm run prettify"}},"author":"Balena Ltd. <hello@balena.io>","license":"Apache-2.0","dependencies":{"@electron/remote":"^2.1.2","@fortawesome/fontawesome-free":"^6.5.2","@ronomon/direct-io":"^3.0.1","@sentry/electron":"^4.24.0","axios":"^1.6.8","debug":"4.3.4","drivelist":"^12.0.2","electron-squirrel-startup":"^1.0.0","electron-updater":"6.1.8","etcher-sdk":"9.1.2","i18next":"23.11.2","immutable":"3.8.2","lodash":"4.17.21","outdent":"0.8.0","path-is-inside":"1.0.2","pretty-bytes":"6.1.1","react":"17.0.2","react-dom":"17.0.2","react-i18next":"13.5.0","redux":"4.2.1","rendition":"35.2.0","semver":"7.6.0","styled-components":"5.3.6","sys-class-rgb-led":"3.0.1","uuid":"9.0.1","ws":"^8.16.0"},"devDependencies":{"@balena/lint":"8.0.2","@electron-forge/cli":"7.4.0","@electron-forge/maker-deb":"7.4.0","@electron-forge/maker-dmg":"7.4.0","@electron-forge/maker-rpm":"7.4.0","@electron-forge/maker-squirrel":"7.4.0","@electron-forge/maker-zip":"7.4.0","@electron-forge/plugin-auto-unpack-natives":"7.4.0","@electron-forge/plugin-webpack":"7.4.0","@reforged/maker-appimage":"3.3.2","@svgr/webpack":"8.1.0","@types/chai":"4.3.14","@types/debug":"^4.1.12","@types/mime-types":"2.1.4","@types/node":"^20.11.6","@types/react":"17.0.2","@types/react-dom":"17.0.2","@types/semver":"7.5.8","@types/sinon":"17.0.3","@types/tmp":"0.2.6","@vercel/webpack-asset-relocator-loader":"1.7.3","@wdio/cli":"^8.36.1","@wdio/local-runner":"^8.36.1","@wdio/mocha-framework":"^8.36.1","@wdio/spec-reporter":"^8.36.1","@yao-pkg/pkg":"^5.11.5","catch-uncommitted":"^2.0.0","chai":"4.3.10","css-loader":"5.2.7","electron":"30.0.1","file-loader":"6.2.0","husky":"8.0.3","native-addon-loader":"2.0.1","node-loader":"^2.0.0","sinon":"^17.0.1","string-replace-loader":"3.1.0","style-loader":"3.3.3","ts-loader":"^9.5.1","ts-node":"^10.9.2","tslib":"2.6.2","typescript":"^5.3.3","url-loader":"4.1.1","wdio-electron-service":"^6.4.1","winusb-driver-generator":"^2.1.5","xvfb-maybe":"^0.2.1"},"hostDependencies":{"debian":["libasound2","libatk1.0-0","libc6","libcairo2","libcups2","libdbus-1-3","libexpat1","libfontconfig1","libfreetype6","libgbm1","libgcc1","libgdk-pixbuf2.0-0","libglib2.0-0","libgtk-3-0","liblzma5","libnotify4","libnspr4","libnss3","libpango1.0-0 | libpango-1.0-0","libstdc++6","libx11-6","libxcomposite1","libxcursor1","libxdamage1","libxext6","libxfixes3","libxi6","libxrandr2","libxrender1","libxss1","libxtst6","polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1"]},"engines":{"node":">=20 <21"},"versionist":{"publishedAt":"2025-05-07T12:59:43.267Z"},"optionalDependencies":{"bufferutil":"^4.0.8","utf-8-validate":"^5.0.10","winusb-driver-generator":"2.1.2"}}')}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>e+"/index.js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="balena-etcher:",i.l=(n,r,o,a)=>{if(e[n])e[n].push(r);else{var s,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var f=c[u];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+o){s=f;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+o),s.src=n),e[n]=[r];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(p);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(r))),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e+"../"})(),void 0!==i&&(i.ab=require("path").resolve(__dirname,"..")+"/native_modules/"),(()=>{var e={175:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,i)=>r=e[t]=[n,i]));n.push(r[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,s,l]=n,c=0;if(a.some((t=>0!==e[t]))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);l&&l(i)}for(t&&t(n);c<a.length;c++)o=a[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunkbalena_etcher=self.webpackChunkbalena_etcher||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0,(()=>{"use strict";const e=i(85133);i(80440);const t=i(80440);i(84157).ipcRenderer.send("change-lng",(0,t.langParser)()),(0,e.main)()})()})();
//# sourceMappingURL=index.js.map/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */

/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
__REACT_DEVTOOLS_GLOBAL_HOOK__={isDisabled:!0},(()=>{"use strict";var e={558:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getEtcherUtilPath=void 0;const o=r(157);t.getEtcherUtilPath=async function(){const e=await o.ipcRenderer.invoke("get-util-path");return console.log(e),e}},157:e=>{e.exports=require("electron")}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}(()=>{const e=r(558);window.etcher=e})()})();
//# sourceMappingURL=preload.js.mapMZ                @                                      	!L!This program cannot be run in DOS mode.
$       Ru3&3&3&K'3&K'?3&K'3&4H'3&4H'3&4H'3&K'3&3&3&:H'3&:H'3&:H\&3&:H'3&Rich3&                        PE  d Nc         " ! j                                                 `                                    ' X   x' (        P               
 p                            @              & @                   .text   h     j                   `.rdata  ܯ        n             @  @.data      0                  @  .pdata     P     *             @  @_RDATA  \   p     @             @  @.rsrc           B             @  @.reloc          D             @  B                                                                                                                                                                                                                H(Hu!HHH D  u3H(H%o 3H(H\$WHP3HD$x   H\$(LL$0LD$xH\$ Hv* tDCHo H L  HT$0LL$8LD$@HS* tA   H: H JL  HT$8HA  LL$@IHCH;wNuH  B< |fHH;  B< }B$<u2HCH;   BD$<      H   $<uPHCH;   FDA$<   BD$<   AuD:	uAtkH\$<u\HCH;sSFDA$<uCBD$<u7BD$<u+u
A"<tuAw:wHH;H;LD$pH( tA^   H H J  HD$pH\$`HP_H8HD$PE3HD$(L3HD$     ( tAh   HV H fJ  HD$PH8Hy' H%B( HC(     HL$HT$LD$LL$ HhfD$ fL$0fT$@f\$PHH +Y foD$ foL$0foT$@fo\$PHL$pHT$xL$   L$   Hh H' {H' oH' cHz' Wff     H;q uHfuH  H(t9t(tt
   H(  S  H(IH(   MH(  H\$Ht$H|$ AVH HL3     y  ؈D$@@=,     q,      tO
    %  Hn H[n I  u)a  t H:n H#n ~I  ,    @2  @u?	  HH8 t$H#  tLƺ   IHLm A=&    3H\$0Ht$8H|$HH A^ù     H\$WH0@% 3H\$@H0_ȉ% _  ؈D$ =j+ u7s    
  %R+    3@)  ۃu  뢹   K  HHX L@PHHVWAVH@ILu9`% 3   BwEH`m Hu
D$0   l ؉D$0   LƋI؉D$0   LƋI-  ؉D$0u6u2L3I  HHl HtL3I$l tu@LƋI.؉D$0t)Hl Hu	X\$0LƋIk ؉D$03ۉ\$0H\$xH@A^_^H\$Ht$WH IHu  LǋHH\$0Ht$8H _@SH H3i Hh i HȺ	 H [H%h HL$H8   h t   )Hf$   HD$8HM% HD$8HH$ H6% H# HD$@H$ # 	 {#    #       Hk H}# H      Hk H HL    HkH  HL H<k H8H(      H(̉L$H(   	h tD$0)H~# q   HD$(He$ HD$(HH# HN$ H" " 	 "    "       Hk H" T$0HHj MH(H\$ WH@H5g H   HT$PHE3%g Ht2Hd$8 HL$XHT$PLHL$0LHL$`HL$(3H\$ f H\$hH@_@SVWH@Hf H   3E3HT$`Hf Ht9Hd$8 HL$hHT$`LHL$0LHL$pHL$(3H\$ f ǃ|H@_^[H\$ UHH HH H2-+  H;utHe HMf HEHEtf H1E`f HM H1EHf E HMH H3E H3EH3H  H#H3-+  H;HDH H\$HHH H ]ø   H9& H%f H)& 	  H-& H-& H(H$HH(H(  t!eH%0   HHH;t3H% u2H(ðH(k  t  [ J  t2M  H(H(3=  H(H(  u2P  u  H(H(P    H(H\$Hl$Ht$WH IIH  uuL3HHf HT$XL$PH\$0Hl$8Ht$@H _B  H(  tH$ H(gN  G  uF  H(H(3UP  H(  @SH $ ɻ   DÈ$ v    u2O  u	3  H [@SH =d$  ugwj  t(u$HN$ 	N  uHV$ M  t.23fof H$ H&$ &$ H/$ # H [ù      HLMZ  f9uxHc4HHʁ9PE  u_  f9AuTL+QHHAHLH$I;tJL;r
BL;rH(3Hu2z$ }2
22H@SH   3҅tuH&# H [@SH =#  tufN  C  H [H-/ Ã%%#  H\$UH$@H  ٹ   Bb t)   3HMA    HMa H   H  HE3a Ht<Hd$8 H  H  LHL$0LH  HL$(HMHL$ 3a H  HL$PH   3H  A   HH     H  HD$`D$P  @D$T   a HD$PHD$@HEHD$H3-a HL$@a uuHH$  H  ]H\$WH H H= HHt8c HH;rH\$0H _H\$WH H H=| HHtb HH;rH\$0H _  H\$Ht$WH33DE3DAntelAineIDˋ3ACEAGenu$Eщ\$L$T$u[H %?H    = t(=` t!=p t w$H     HsD  AD  D     DH;|&3$Dۉ\$L$T$	s
EDr  t    Dq    D\    U syss3H HHT$ HD$ ":uW'      A t8        D#D;uHD$ $<u @ H\$(3Ht$0H_39+ H\$Hl$Ht$WATAUAVAWH@HMIIL  MgM7I_8M+EfAH   Hl$0Ht$8;;v  HDL;   DL;   |    |tDHL$0IIЅx}~t} csmu(H=Ia  tH@a +M t   H)a LA   II  IG@LŋTIDM IHD$(IG(HD$ ^   53   Iw I+   HɋDL;   DL;syDUA tDE3Ʌt8EMBDH;r BDH;sDB9DuDB9DtAD;rD;u7DtH;uEu%GIAGHDDMAǋ;`   L\$@I[0Ik8Is@IA_A^A]A\_H;tH	HA	H+Њ:u
Hu3@SH \ HtHHH  HHuH [H(  u26  u  H(H([  HH(H(3  H(H(u
7    H(H(  H(HtgT$HH9csmuSyuMA - w@HA0Ht7HcPtHQ8HI(*     tHA(HHtHH@] HHH@SH Hr  HPX	H9tHRHuBH [3HcHz |LcJHcRI	Lc
MIH\$WH H9Hف?RCCt?MOCt
?csmt"  x0 ~  H0H\$03H _  Hx H[  HX(G  H(F  ff     WHII_ff     HLLCILfInI    IG p MALYDYfDYDYLYDYfDYfffffff     LYDYDY LYDYLYfDYDYLYDYLYfDYLYÐflI wBDÃ=	   L;	 vL;	 wp }LII I+I+MI   veL;\	    ffffff     A A@A`            H   I   I   sMHIMIG@p MAġ~	 ġ~	 ġ~	@ġ~	`ġ~D	ġ~D	ġ~D	ġ~D wfffff     A A@A`灀   灠         H   I   I   sMHIMIGdp MAġ}	 ġ}	 ġ}	@ġ}	`ġ}D	ġ}D	ġ}D	ġ~D wff     L; v LIII+I+MI   vKfffff     ffAfA fA0fA@fAPfA`fApH   I   I   sMHIMIGp MABD	BD	BD	BD	BD	BD	BD	BD ff     HL$HT$DD$I ff     HX HH;t#eH%0   H   H;HrH;Hv   )H(HtH H;tB  H(@SH HًE t3HuN  0 H3  HtHj H;tHyB  H [H(   HtH(B  H\$Ht$WH = u3   3V    H3H;tgHtH]   tN   JEv   HHt$H  tHCxHHS 3  HA  U HH\$0Ht$8H _H(H   t%HV _  t    2H(H( t   H(@SH 3H} E3HHʺ  L  t ÃrӰ
   2H [@SH ` H/ HHT A u߰H [HLH L@HPHHSHpHك` HHL@HT$XH@_V D$@     D$@Hp[H\$Hl$Ht$WH yHt+_HH@`HHcEH;p~;p~3H\$0Hl$8Ht$@H _@SH HHH$  H~HH [H\$Ht$WH LL$HIHE   HHH  H9HuADHLHH   H\$0Ht$8H _H\$Hl$VWATAVAWH ApLIIMLz  M$LtwIcFNHHI_;k~;kIHT$PE3qR LcC3LD$PDKDEtIPHcI;tHA;rA;sI$HIcLHHH\$XHHl$`H A_A^A\_^H\$Hl$Ht$WATAUAVAWH@H$   LHIHIEDs  E3ҋE   L_Hc[DDADBKI;t~;t~AEuEtBHHIIIAHtB9~#B9AD;9|D;yE;AEAEDAHE;rE;Ld$ ALd$0AEL\$@I[0Is@D$(AED$ DEHDT$8L$0E MIk8IA_A^A]A\_=  @UHl$H   H  H3HELUwHa  LHL$0H@ IH0A @@I0HPA@@`IP   A`@pH   Ap   H   Hd  IHEHEOHEHcE_HEHEWHEEHEIB@HD$(IB(LME3LELD$0HUIHD$ HE ZP HMH3NH   ]@SH HHH;XXsHHX3HKHXXHH [H\$WH HH;xXu5HPXHt'HZH;t
HHtfHXXH\$0H _><  H(GH@`H(H(3H@hH(@SH HHX`H [@SH HHXhH [HHXHhHp WH@IYIIHPHHX`H]8HXhHO8LLƋHHP`3D$8HD$0D$(HT$ HT$Pw  H\$XHl$`Ht$hH@_ff     WVHHI^_ff     HLI  ffff     Gp MAÐLJDJDRL HfDHDPLJDJ
L fHDH

fÐ
DBDJfD@DHLJDJL HfDH
DBfD@ÐLJDJL HDHLJL fHLJL HLJL HË
DBfD@Ë
DBD@H
H
Ë
ÐI wo
BoT	BTH;sNI;A  =   I    vI   w doġ~olI      LII I+I+MI      I   >  ffffff     o
oR oZ@ob`	Q Y@a`o   o   o   o               H   H   I   I   xMHIMIGp MAġ~o
 ġ~	 ġ~o
 ġ~	 ġ~o
@ġ~	@ġ~o
`ġ~	`ġ~oL
ġ~L	ġ~oL
ġ~L	ġ~oL
ġ~L	ġ~l wfo
oR oZ@ob`	Q Y@a`o   o   o   o   牀   瑠         H   H   I   I   xMHIMIGq MAġ~o
 ġ}	 ġ~o
 ġ}	 ġ~o
@ġ}	@ġ~o
`ġ}	`ġ~oL
ġ}L	ġ~oL
ġ}L	ġ~oL
ġ}L	ġ~l wfffffff     I   v
 oBolI      LIII+I+MI   vqD  o
oRoZ ob0f	fQfY fa0oJ@oRPoZ`obpfI@fQPfY`fapH   H   I   I   sMHIMIG8q MABoL
BL	BoL
BL	BoL
BL	BoL
BL	BoL
BL	BoL
BL	BoL
BL	Bl f     LLH+IDHItHHLM+MIto)fffff     )A)	DLH   )Ap)I`DPL@I)AP)I@D0L )A0)I Du)AI(MItff     HIuItA
AIH\$Hl$Ht$WATAUAVAWH L=sIMILIHB I;   H   M;   u I0B HtI;   kM 3IA   H HHuVG Wu-DCIHY g  tE33IG HHuIL=I0B HI;gHL=I0B Ht	HG IH{G HtHIHB 
MHB 3H\$PHl$XHt$`H A_A^A]A\_@SH HLX 3LX HX HtHH [H%H H [H%F @SH LX    LX HX AHtH [H%VH H [H%F @SH LX    L}X H~X HtH [H%H H [H%JF H\$WH HL\X HSX    L?X HӋHtG 
F H\$0H _H\$Ht$WH ALX L
X HHX    NHHtDcG E H\$0Ht$8H _H(McHMHAuLI   H(@SH LL$@IHHcCHL$@DH [HcRHDH\$WH AILL$@zHHcCHL$@;|~|H\$0H _L    @SH IHtRLcYLRKHtADAE3Et0KJcIH;rAE;rEtAIIBDH [Ã0  H\$Ht$H|$AUAVAWH0MIHL3A9xtMcxRIHDHw  Et3HHcCHH@8yT  9{u9;G  9;|
HcCHHt2At,H! Ht E H/  H&  HH_tIM(H  H  H?AtJIU(H   H   McFHA~   H9>   HIV`H   A9~tIc^]HHϋHu4I9}(   H   Ic^IVIM(HLH;I9}(tiHtdtHIcFHHHtGA$L$ 3H\$PHt$XH|$`H0A_A^A].  .  .  .  .  .  H\$Ht$H|$AVH IL3A9}HIcpH2t<ugHWIN(>L9_tEHc_HA   MHH  0HWIN(L9_tHc_HMHHU  H\$0Ht$8H|$@H A^.  HHXL@UVWATAUAVAWH`L$   MLLHHMIIL$   LH$   MtLHHH$   Y9SHcNML$   H$   HՈL$PIL|$HHt$@\$8|$0Ll$(HD$ {H$   H`A_A^A]A\_^]@USVWATAUAVAWHl$H(  H  H3HEH   LL   MLD$hHHT$xLILmID$` I  Da  ;GX  ;csm   {   C -    H{0    Hx    HX }HK8D$`Lx(L|$hV;csmu{uC - wH{0   ;Hx8 t</Lx8&IHH`8   uI  j  A  L|$hHFHEH};csm  {  C -   E3D9     HUD$(HMLH|$ ErEEfsf~;E  LMDmLMHEH HcPAHIALA IcL Mf~EA;6  HEH D;%  EHHVL}I HUE   AHEDEHK0HHcQHHD$pHK0HcQL$d~<HL$pLC0Hc	HHMHHEL  u%D$dHD$pȉD$dAE;toHUl   LLd$xHLD$hIԈD$XD$`D$PHEHD$H   D$@HEHD$8HEHD$0HEHD$(H|$ Ld$x	Ld$xLME3AD;m%=!   D9 tHcO Hu!G$   HH5   G$  D9 tDHHcG HIH%     LMLHIs   LLD$hHӈL$PHt$HL|$@L$8L$0IH|$(L|$ C= v7          LLl$8MǉD$0IDt$(HH|$ |   Hx8 ugHMH34H(  A_A^A]A\_^[]òHHM  H HM  '  HX HL$hHH('  \(  HHX L@HPUVWATAUAVAWHhH   9  IMLtn1DeoH}gHx tu3; HH9Xt_A>MOCtVA>RCCDmwtMHELHUOMDd$8IHD$0Dl$(H|$ tH$  H   A_A^A]A\_^]DmwHFHEH} :  Dl$(HULH|$ EHMREEfsf~;EsLMD}LMGHEH HcPAHIALA IcT Uf~EA;   HEH D;   HEH^H HHHHڃ{ t-LckItEtHcKH3x uMDmw@uDHELLEWIHUOD$X D$PHD$HHEDl$@HD$8Hd$0 H\$(H|$ [DmwALMGD;}@&  HHXHhHpHx AVH 3MHH9Y   HcqLL   tHcwHHˋ8Y   t
E    tHHcGHHHHcEHH;tK9_tXHHcGHHXLcEILHFL+B +uHut39E tt$AttAttAtt      H\$0Hl$8Ht$@H|$HH A^HHXHhHpHx AVHPHIIMH;H$   )  &  x@ u8?csmt09uuH` t9t%="r
C$  Gf   { {  $    m  G t]9u7LF HHk  ;Cb  DHHL  ,  9uDO8A:  D;K0  HO(LHH   { uB%=!r{  tHcK Hu %="   C$   ?csmunrh "v_HG0x tULHO0LHcQLt@$   L΋$   MƉL$8HH$   HL$0HωD$(IH\$ 8 >H$   LHD$8MƋ$   HՉD$0Hϊ$   D$(H\$    H\$`Hl$hHt$pH|$xHPA^"  @SH HHHH WHHSHH  HH HHH [Ha HH HAHH HH@SH HHH}H WHHSHH  HH [HUH HH!  H\$WH H7H HHH  t   HX% H\$0HH _@SVWATAUAVAWHpHE3D|$ D!$   L!|$(L!$   Lh(Ll$@H@ H$   HwPH$   HGHHD$0H_@HG0HD$HLw(Lt$PHiHp `HX(WHP HR(HL$`eLHD$8L9XtǄ$      'HHpH$   A   IHL$Hl  HHD$(H$   xD$    `@ H$   $    t!HH$   LH D@PLN DFV4 D|$ H\$(Ll$@H$   Lt$PLd$8IEu2>csmu*~u$F - wHN(t
HK:Hx 1Lh(HD$0HcHIHHHpA_A^A]A\_^[H\$WH L	IA  AcsmE9uZAy   A uAA A+wHB(I9A(DωE9u(Ayu!AI A+ʃwIy0 ux@ǉ;3H\$0H _DL$ LD$HL$SVWATAUAVAWH0EIHLLHD$(LHIS0@0   A;     ;~  LcHcNJ<|$ HcNJ| tHcNJHc\wH3HtYDHIXHcNJ| tDHcNJHc\2H3A  IH  I:D$   H$   L|$pLl$(|$ |$$4x0 ~)H0tA;$DHI~H0A_A^A]A\_^[    H\$Hl$Ht$WH HIIHLL$HLHH͋LHH;~#DHL$HHDLHHLHHHl$8H\$0Ht$@H _H\$Hl$Ht$ WATAUAVAWH HLH   E2392   HIE0Lc`ILHIE0HcHD4
E~THcHHD$XI]0HIc$H|HT$XLHcMHHHauAIEA;u qH\$PAHl$`Ht$hH A_A^A]A\_X  H\$Hl$Ht$WH 3H9)~P3HcOHƃ| tHcOHHc\H3HHHb Et!H;/|2H\$0Hl$8Ht$@H _ðHIHILHEIHy HA HEAff     H(HL$0HT$8DD$@HHHHT$8HA   H(ff     H(HL$0HT$8DD$@HHR{H(H(HL$0HT$8HT$8HA   H(@ H(HL$0HT$8LD$@DL$HEHHL$@HHT$8A   H(H\$Ht$H|$AVH y LHtLHHtDHHǀ<8 uHO  HHtLHWH  HAFI3H  
HHB H\$0Ht$8H|$@H A^@SH y HtH	m  H# C H [H\$Ht$ WHPHH HttH	HHHX0H@@/ HT$ H- HD$ HtuHu @   H|$(LL$(Ht$0csmH\$8HD$@DB@- H\$pHt$xHP_H\$Ht$WH A HHqHt=  u NU  HHH   HH   HOHX  HHW>Y  H  u  GH\$0HHt$8H _LLEIAA@EH BEGȍJ IÃAG+uEuH(=-  u-HuQ      O  H(HtH(E3H(   H\$WH@HHHuP      O  QHtIHL$ HD$(L  HB HB +uu|$8 tHL$   H\$PH@_H\$UVWH  Hj H3H$  AHH3A  HL$0ILHl$(Lǉ\$ @  HL$0g   A  H= HL$0^  t0tu;H$  H3rH$  H  _^]ù   ug         @SUVWATAUAVAWHh  H H3H$P  H$  ML= MHHJZ  E3  L? HHY  u  L= HHY  [  
  HL$@D3LD$0Lt$0HAN<*   HT$@DHH#L$0HL$0* uL? HL$@Y    HHL$@HHD$@HfD94PuHBH@vBHUH+HL$@HuhN      4  H  > > fALHHX  r  Lg> HHX  X  L< HH~X  >  HHfE94GuHH@  HHfE94wuADwA   f\t#IOHqf/tL;sHIf\uLM+I&vnI   A5   MM+HHX  E3  L= HHW    Og   L3 /M   "   K  g  sVIA5   M+MHHcX  @  L0= HHiW  &  I+HHMwOW  E3   A#   MHHX  E3  L< HHW    OgHENHW    L< HHV    MGMpMHHV    Lv< HHV  g  L: HHV  M  HHfD94CuHHfD94KuHKLǋ$  L+A
   U    L< HH5V     Lb: HHV     HHfD94CuH   HfE9tm uHMHHH;v$LL+IV     L; HHU  uLx; HHU  uiL9 HHU  uSLL; HHyU  u=L: HHcU  u'H$P  H3{Hh  A_A^A]A\_^][E3E3Lt$ E333I  DD$HT$HL$HH      Z  HHL$h   H}  u   Z  E3H3EAF`  3O     HD$hZ  HD$0LL$XHD$`LD$PHD$ HT$hHL$0      ^Z  Hf^  )  HD$(M	M HDH	DT$(r  HHH\$ UVWH  H H3H$  HAH$ HHHHwkH$ u]l$(L7 LHt$ @  HL$@:  3x5HL$@HHf9<AuLL$0|$0DH|$ HT$@H$ u#H$  H3軶H$  H  _^]+  H6 HH  H\$Hl$Ht$WH Hl$(H   AHR  t3u
^Q  t%LDHHH\$0Hl$8Ht$@H _DHHHHPL@LH SVWH0HHpH׼E3Ht$ LHH%?  H0_^[LD$LL$ SUVWH8IHl$xHH蓼Hl$(LHd$  LHH?  HH8_^][H;t;H\$WH HHHHtIpHV>S$ HH;uH\$0H _H\$WH HHH;t%HHtIp0R^G'$ uHH;3H\$0H _̸csm;t3Ë   H\$Hl$Ht$WH HbL  E3HHtHHL   I;t98t HI;u3H\$0Hl$8Ht$@H _HtL@MtIu
LHA@IuHkHsx   H0H   LIHH;u8  {tz8  tk8  t\8  tM8  t>8  t/8  t 8 t8 u@   6   /   (   !               SIp30O   I" {LHIpsPIƋHIh" HkH\$LL$ WH II
`  H   _`  H\$0H _@SH0Hـ=         Hu>Hc H H;t"ȃ?H3HIp(xE.E333! H uH g	  H8 uH" H! H" H	" HC8 u\ HC H0[2  DD$T$UHHPHEH\$`EuJ3 Ht=MZ  f9u3HcH<Hȁ9PE  u$  f9Au   v    t   E( HEHEHE HEHE(HE   EԉELMLEHUHMQ}  tH\$`HP]Ë   @SH '   t Hȋ /    H(_  t^  2H(@SH0HD$ Hd$H LD$HH5 3 HL$Ht)H5 W HtIp{Z^ HL$HHt( H0[H 33DB[E3APL~ H\$Hl$Ht$WATAUAVAWH Ld$pMILHI$$ I   HtHI@2?"Lu@@"@H:I$HtH7Hǋu  tI$HtHI@t@u@ t@	uHt	C H@2   < t<	uHǊ   MtIIIE    3H\t"u1u@t
8OuH	3@@Ht\HI$utF@u< t=<	t9t-HtH,t  tI$HHtHI$HeHt HI$ MtI& IE H\$PHl$XHt$`H A_A^A]A\_@SH HLH;s=3HIL;s/HMHHI;vIɺ   \  3HX]  H3H [H\$UVWAVAWHH03DS  Av@  _M?  5  uo  H" A  H3M  H5; H Ht@8>uHHEHH}@LM@HD$ E3H}H3HAL}@A   HUHIHHu@     3ɉ\  jNHHEHHLM@HD$ AuE@H  3iHU8H}8Hf  tHM8$\  HH}8\  ?HU8HHH9:tH@HH98u/ 3H}8H* [  HH}8[  H\$`H0A_A^_^]H\$WH 3H9= t3On  is  HHu3[  1H5   HuH H 3b[  HZ[  H\$0H _HHXHhHpHx AVH0H3LƊ%=HAHDHHHA<  uILAuH   yZ  HHu3Z  3rLt_HHŀ<. uH<=t5   H<Z  HHt%LHH  3ɅuGI>IZ  HHC   3xZ  3oZ  HH\$@Hl$HHt$PH|$XH0A^Hd$  E3E33<  Ht;H\$WH HHHHZ  HHHuHZ  H\$0H _H(H	H;. tH(H(H	H;
 tH(H8HD$ H H H QH H8AH\$LL$ WH II
`W  H   W  H\$0H _H\$Hl$Ht$WAVAWH HHHHu   L AIH3:?HIH3ZHHGH   AM?LHHH;r_HI;tI3L3HIpHV> L8 HAȃ?MHIL3
H3BIHM;uH;tMIHHHtHWX  L HHLHHLAHHLA3H\$@Hl$HHt$PH A_A^_LIKH8ICICIC   D$PD$XMKMCIS IKgH8HuHAH9uHW HHAHA3H H* H(H H H(̰H(H(@SH H H8  H{  H_R  Hc|  HH [3鹸@SH H/ uH He H;tV  H H [H(H V  H H%  V  H H%  V  H H%  V  H%  H(H- H, z  H(+?  HH(H([=  H(H(tH=  t	N  H(H, H+ H(Wz  H(@  H(H(G=  H@HtIpHV>     D$    D$U  |  @SH 3HtHtMu9     7  H [LL+CAItHuHuو8  "   H(?P  Ht
   P  	 t*    t   )A     @AHy4     {H\$LL$ WH IIH
#I  H  HI  H\$0H _H\$Hl$Ht$WH HHH;vA@02A@,   \3H4H9  u	H   v	H;   w7H {  HHtH  DT  H  @H   3,T  @H\$0Hl$8Ht$@H _H\$Hl$Ht$WH H?HH;vA@02A@,   `3H4    H9  u	H   v	H;   w7Htz  HHtH  S  H  @H   3S  @H\$0Hl$8Ht$@H _EAt2At)A	t#AtA  fcfAtHð2H\$HL$UVWATAUAVAWH   L"E3L$   EHMuf6      5  2EtEA@"v<HL$(E3A0E3A,   33LT$ 4  HOH;  HH0  A$IL$AEH
  f-ECfu
HAHǄ$   	  	  D$0f
  0   D$4p
    D$8
  A`  D$<
  DXD$@f  A  D$Dp  D$Hf  D$Lp  D$P  D$T  D$Xf  D$\p  D$`P  D$dZ  D$h  D$l  D$p   D$t*  D$x@  D$|J  Ǆ$     Ǆ$     Ǆ$     Ǆ$     Ǆ$      A]  f;  f:s
+  f;  fA;  j  f;sA+  fA;~    f;sA+d  fA;_  p	  f;sA+E  f;A  f;$   s-	  %  L$0f;  f;\$4XL$8f;  f;\$<@L$@f;   f;\$D(L$Hf;   f;\$LL$Pf;   f;\$TL$Xf;   f;\$\L$`f;   f;\$dL$hf;ryf;\$lL$pf;ref;\$tL$xf;rQf;\$|$   f;r:f;$   r$   f+f	wZf;$   s
+u"$   ˍA;Av;wm;wAɅu_HA  LALBfAt1EH   AEDft;f9t62      W1  E3!AI@H   
   EAED3҃AAa   `  DA  EkfA;  f:sA+  fA;u  f;  j  f;s
+h    f;_  H
f;s
+H  f	  f;?  H
f;rAvf;+  f;$   rʋD$0f;  f;\$4rD$8f;   f;\$<rD$@f;   f;\$DrD$Hf;   f;\$LvD$Pf;   f;\$T^D$Xf;   f;\$\FD$`f;   f;\$d.D$hf;r|f;\$lD$pf;rhf;\$tD$xf;rTf;\$|$   f;r=f;$   $   f+f	w+f;$   sA+̃u4˃ArZvA;rfzwfA+f;$   wLA;s8AAAǍA;AE;DI@HL$   I@L$      Hftf9t/      .  @uHGL'HtL 3   A   EH@t	   @tY@tE;vTE;vP   #AE0AE,"   uA0HWtHtHH
A*HtHH
A@tAHWHtHH
AH$   HĠ   A_A^A]A\_^]HHXHhHpHx AVH0DA4@HA   A   t-E  A   At]A   A   Q(IHIHAHCH1tHy	Hރ@S({0    C0      Q(   HIHAHCtH11뫋Q(   HI@HAHCtH11A\ARAH/HAE3E33@0@,   HA3HD$(Hd$  +  2   Q(   HIHAHCtHc11LCHKPS(HcS0Huc(CLDHI;u
HR  e  C(t#{H 0   t	HC@f9tHC@HK@fCHH\$@Hl$HHt$PH|$XH0A^HHXHhHpHx AVH0DA4@HA   A   t-E  A   At]A   A   Q(IHIHAHCH1tHy	Hރ@S({0    C0      Q(   HIHAHCtH11뫋Q(   HI@HAHCtH11A\ARAH/HAE3E33@0@,   HA3HD$(Hd$  )  2   Q(   HIHAHCtHc11LCHKPS(HcS0Huc(CLDHI;u
H    C(t#{H 0   t	HC@f9tHC@HK@fCHH\$@Hl$HHt$PH|$XH0A^HHXHhHpHx AVH0DA4@HA   A   t-E  A   At]A   A   Q(IHIHAHCH1tHy	Hރ@S({0    C0      Q(   HIHAHCtH11뫋Q(   HI@HAHCtH11A\ARAH/HAE3E33@0@,   HA3HD$(Hd$  '  2   Q(   HIHAHCtHc11LCHKPS(HcS0Huc(CLDHI;u
H    C(t#{H 0   t	HC@f9tHC@HK@fCHH\$@Hl$HHt$PH|$XH0A^HX  LHPHu   HIP  HHAHIH@HLEP0DEt'fAABfA0A@0fEI@@I@@LH+HHAHHI@@H\$HX  LHPADHu   HIP  HH@LAMA@IMAI0EtSAAA0AfffD+AJ0Df9v4fAIA@IA@LH\$L+IHEAHIA@LIPEI  DHu   LHP  HH@IAHQ@HLDA0EEtCA@EfAAfA0A0fA9vA4ADfEHA@HA@LH+HHQHHA@HX  LHPHu   HIP  HHAHIH@HLEP0LEHt(fAHABfA0A@0fEI@@I@@LH+HHAHHI@@H\$HX  LHPALHu   HIP  HH@LAMA@IMAI0MtYAAA0HIHfffD+AJ0Lf9v4fAIA@IA@LH\$L+IHEAHIA@LIPEI  LHu   LHP  HH@IAHQ@HLDA0EMtCA@EfAIfA0A0fA9vA4ADfEHA@HA@LH+HHQHHA@H\$Ht$UWATAVAWH$`H  H0 H3H  HHLqL8I5g  HKE3LWHS @LM	H:HKLHKHL$(HL$ Dd$@Dd$DLd$HDd$PDd$XfDd$ZDd$hDd$lfp  L  LT$ L\$0H|$8D    Hx  @  MLx  I@Ug  H  H3L$  I[8Is@IA_A^A\_]HH   HDtЊA:tHЄuHt8	,Et	HuLHɊ<0tA:HQHEL+AHu@WH H9 HuIH\$8F   D$0u3GHWHWHL$0)  L$0HH  HH\$8t	HH _rLI[IkIs WH0HiHHAHIKHIKISH],AA
   ICHICM3HF8H0tx,"tHD$@H;FrHFHt$XH],H\$HHl$PH0_HHXHhHpHx AVH0HA3HH9`  u@0@,   t  HIHu.@0E3@,   E3HC3HD$(Ht$ 7     h  h        L5@ sH@s$D	H  9s   Af+fZwAH+ŃALF@C$HȃAVC$<  Ȅ        tctVt"t  H  nHi  dfA*tHS0HOHKHAHCHωK03s0   fA*tHS,HKHAHCC,y	K(؉C,     fD;t3fA#t'fA+tfA-tfA0u{K(uK(oK(i	k(dK(^Hs(@s8{0s4@sLJLCCLH`  PtH`  H9ptH`  A[w    f;tC { HCDHHHKfDK:fE>h  h  C H\$@Hl$HHt$PH|$XH0A^HC@0@,   HCHD$(E3E3Ht$ 33  HHXHhHpHx AVH0HA3HH9`  u@0@,   {  HIHu.@0E3@,   E3HC3HD$(Ht$ g    h  h        L5p sH@s$DH  DK E  Af+fZwAH+ŃALF@C$HȃAVC$<  Ȅ        tctVt"t  H	  nHE  dfA*tHS0HHOHKHAHCHωK03s0   fA*tHS,HKHAHCC,y	K(؉C,!     fD;t3fA#t'fA+tfA-tfA0u~K(xK(rK(l	k(gK(aHs(@s8{0s4@sLMCLH`  HAH9Au@8qt	AAC ){ $AAC HAH`  HfDH`  H HCD HHHKfDC:fE7h  h  C H\$@Hl$HHt$PH|$XH0A^HC@0@,   HCHD$(E3E3Ht$ 33  H8A:fFu  A$H8<  fNuAs  A$HAE3E33@0@,   HA3HD$(Hd$    2=  y4 ufI   fL   fT   fhtxfjtfflt:ftt(fwtfz   A4      A4      A4      HAf8luHHA      A4   A4      HAf8huHHA   Ӹ   A4   pA4   gLAA f3ufAx2uI@A4
   HA@f6ufAx4u2I@A4   HA!fXf wH    HsA4	   H8H8A:fFu  A$H8P  fNuAs  A$HAE3E33@0@,   HA3HD$(Hd$    2=  y4 ufI   fL   fT   fhtxfjtfflt:ftt(fwtfz   A4      A4      A4      HAf8luHHA      A4   A4      HAf8huHHA   Ӹ   A4   pA4   gLAA f3ufAx2uI@A4
   HA@f6ufAx4u2I@A4   HA!fXf wH    HsA4	   H8H\$Hl$Ht$ WATAUAVAWHPH H3HD$@Q:x   HٍoDgDwɃdwi   Sw-   A+tt8tA+t	A;   .	     ;   Ztatc   3o     }     owOt-etA+tA+ttuo  aI(3TI(AtK(3Hz4ptstut;u(3l  A0   A4   A\E3u2R  D8k8E  K(3D$4IfD$8A    At3AtABfD$4At+   At	fDT$4IS:A  f+fAuEAuEfA+fAA0   EutfDLt4f;tfA;uf|t6Hk,A  +kH+udLsA~YH`  HAtH`  L9htH`  AM<n  fA;tA    K AC tA;|K HSL`  IH{ HAtIL9hu7HT$ LHT$4DI  K(At]AuUL{A~JIHAt	IL9htI0   Mm    f;tAtA;|D8kL  D9kH  HsD8n(uHR  ELc@D9kHtwHFHL$0LKIfDl$0Lc@^k  Lc   ILCL$0Pt
IHx tIl    f;tMAA    D;{HuA   D9/   C(A   HsA݅   IHAt	IL9htI    Lil    f;taAtXA;|OE3IHSDCHLS@HAtIL9huD^HT$ LII3  FAHL$@H3諂L\$PI[8Ik@IsHIA_A^A]A\_H\$Hl$Ht$ WATAUAVAWHPH H3HD$@x   HI:oɍwdwq   Sw/   +tt;tt	   Hm     ;   Ztatc   3H     H     owTt3ettttuyH5  hK(3HXK(tK(3H9ptstut;u-3H  C0   C4   HE3u2  D8k8  K(3D$4IfD$8A    t4tAD$fD$4t+   tfDd$4   DC:A  Af+fAuAuEAA0   f+fAEutfD|T4fD;tfD;uf|T6Hs,++sHugEͅ~`DC H`  HAH9AuD8itAADC $A@C HAH`  HfD!H`  H DC AtAD;|HCH{ DHD$ L`  LIHT$4  K(tXuPEŅ~IIHAH9AuD8itBHAIHfD9IH tAD;|D8kL   D9kH   HkD8m(uH  ELc@D9kHtkHEHL$0LKIfDl$0Lc@f  HcЅ~yIDD$0HAH9AuD8itHAIHfDIH LAD;{HuA    x{C(tqEŅ~jIHBH9Bu4D8jt'&HCLDCHIHS@HD$ O  믃AHBIHfD!IH tAD;|HL$@H3F~L\$PI[8Ik@IsHIA_A^A]A\_H\$Ht$WH HQHHBHAH:Ht.HwHt%DA4Q:H	]Hs@tCLH]    HK@CL CHH\$0Ht$8H _H\$Hl$VWATHPI(HًA0A  yA:fAfA#fA0ufy:gtfy:GuA0      LAHyP]  HHcRA   u$HX   uA
HP  H荐S0S0H  HHDHC@3HKHD$pHAHCLX  L[H3k:D$pMuL   I$L   IHP  LP  IMHIL\$HD$@   Ht$8T$0H׉l$(HL$ HL$pO_  C(t|{0 uvH{( uH  HK@LODI  A<etIHDB@uA<xuDAI   HQHEHHADHDuC:fGfAu)C(uH{( uH  HK@HWHK@<-uK(@HHK@,I<%wH!   !   Hsc(s   fC:HH< uL\$PSHI[(Ik0IA\_^H\$Ht$WH ALHHQHBHA2Q:DA4H	uK@t$0HsD$18F(uH=  HFH{PH  HT$0HLLc@HDNb  yC8H{PH  HHDf1H  Ht$@HCH   HDHK@H\$8H _H\$WH0HQHHBHAH:c  u1HCE3E333@0@,   HCHD$(Hd$  v
  2NK4 t7tKtuC f'C  ttt
tuHcC HC8H\$@H0_ËC H\$Ht$WH HQHHBHAq0H:DA4DQ:Hy@H	t!HuH=  H{@HcHCLbO  HH  HEE3HK@H   CHH\$0Ht$8H _H\$Ht$WH HYH{( uHR   LO@E3҅~/A9 t)AHCHDQIIAICALID;|H\$0AHt$8H _H\$Ht$WH HIHWHHL   LL   LG LG5  LGHW H    u  G(H\$0Ht$8H _E   H\$Hl$Ht$WAVAWH LIcH	IHAH9Auy tA1JA	DH+ALH	H;LBK6L3IHILpIx t7L;tD7H\$@Hl$HHt$PH A_A^_H\$Hl$Ht$WAVAWH Ht$`IIcLLH^,H,BH;   IAPt
IHx tSILn`  I  f;u;~0 tH~,*uBAt
IHx tI?   L0`    f;tIL;wHl$HH^,H\$@Ht$PH A_A^_@USWHl$H   He E E E E MtA=٦  u EEHEHEwLEoHU_HMgHu.HEEHD$(E3Hd$  E33E   3q  LMtHE_HUHELMHEHUHELEHEgHEHUHEoHE'HMHEwHE/}uHM  } t]HMaX } t]HMLX$Hİ   _[]@USVWATAVAWH$H  H H3H   Hp  E3Ld$PIDd$`HDd$xLDeDeHt D9% uE D$xD$hMu2HD$PEHD$(E3E3Ld$ 3D$|   3/  E  HtHtMDd$IfDd$MDd$OHt$0H\$8Ld$@Au
Dd$HHuD$HHD$PDeHEHMHD$0DeH  WHx  HELeDeDefDeDeDef  L}LMD  HcH   At/HutH  "  'HD$@H;uYxZH;vUMt!HtIyfD&?HD$@H;u0fDd^-HtHD$@H;uH  fDd^"  fD$FH  r"  |$xuHD$P  D8et\$|HL$PX D8et]HL$P	X$H   H3EsH  A_A^A\_^[]ff     H+Mtj   t:
u]HItRtNH   uII
%  =  wHH;
uHIvMHI#It3HH   Mu3ftf;uHHIu
+H\$Ht$WH H13HHu;Z  D$0@8{u
H{CH{HHL$0
  L$0HH-  H\$8HHt$@H _H\$Ht$WH 3HH8Zu  H_G  HZHH\$0Ht$8H _H\$Ht$UWAVH$H  H H3H  Aكt{3HL$pA   胃3HMA  rHD$pHD$HHMHEHD$P  L  HT$@IE3  Ht6Hd$8 HL$XHT$@LHL$0MHL$`HL$(HMHL$ 3r  H  H  H  Ht$pH   H  HE|$t  3ɋ?  HL$H,  uutzH  H3qpL$  I[(Is0IA^_]H H\$UHHpHe =  E E E E uF EEHEHD$(HE0HD$ J   }uHE  } t]HMX } t]HMvX$H$   Hp]H\$Hl$Ht$WH0HAHL$hIHHtGH  Ht;Ip*W4HHL$`HHL$ LHD[  H\$@Hl$HHt$PH0_HT$hH -LH L3؋ȃ?IMtIp*W4HIHD$`DLHD$ HH!   H8Hd$  E3E333H8H(   q  t   )A    AH<  HȺ H(H%1  3L  ID@;
t+IЃ-rAw   ÁD   AFAD@SH   Hu	H H$ˉ  H HtHH H [@SH HB8J4[C,C0H [H(k  Hu	H{ H$H(H(K  Hu	HW H H(H\$LL$ WH II
T  HHH      H\$0H _H\$LL$ WH II
  H3H	  R  H\$0H _H\$LL$ WH II
  HGHHHH	^  
  H\$0H _H\$LL$ WH II
  HHH   HtuHҋ H;tT    H\$0H _@UHHPHMHEHELM    LE   E E(HEHEHEHE   EЉEH} HEQ(H  HEHHI HE؉  HEH   JBHEHU(f   HEf  HMHEH   &LMLEHUHMHP]HtSH H   HV  H [@UHH@HEHMHEH8     E E(HEHE   EEHH;tH  HMHIp  HMHIX  HMHI`  HMHIh  HMHIH  HMHIP  HMHIx  HMH     HMH    LM LEHU(HMLMLEHUHM9H@]H\$WH HHH   Ht,W  H   H; tH H;ty uU  H   HtHU  H\$0H _@SH І t*f5  HHt 3Y5  HmH  H [H\$Ht$WH   } 3؃t5  HHt
HHDrW H4  uHZ       0 HHu34  3.  H4  u 34  HH3  3  HtH\$0HHt$8H _@SH  tN4  HHtHtxm H74  tc       v HHu34  3t  6H3  uL 33  HH3E  HH [H\$Ht$WH S   3؃t3  HHt
HHDr߄ H~3  uHZ     Z   HHu3Q3  3  H@3  u 3/3  HHN3    H\$0HHt$8H _H\$Ht$WH C 3Ht2  HHtHtym H2  td        HHu32  3  7H2  u҃ 3s2  HH3  Hi  HHt$8HH\$0H _H(H12   u2THu	3   H(H(R t1  A H(@SH H˖ HH9t  ' u`T  HH [@SH H HJH9t   u(T  HH [@SH H HH9t   u'  HH [@SH HØ HJH9t   uP'  HH [H\$Ht$LL$ WH0I
^  Hڕ H5; H\$ Hϕ H;tH93tHHS  HH֋r  H\$@Ht$HH0_̸   } LH(   MKMCD$8ISD$@IK[H(̋V H\$Hl$Ht$WAVAWH E3AIHDLAD8|$`tAG-AfxLZM3AAMˋ3	ISDиW   DpfAFHffAEtLH;rH;rfD;"   X#fD:A A	fAIfAIM;r3H\$@Hl$HHt$PH A_A^_@SH03DHu?   H0[MtL$`fHAL;w"   AA"   ;wL$`AH0[H83A
uyD$ yH8H(хt,t't"t    c   H(@SH 3LHtHtMuf^   H [f9tHHufAL+AfHIftHufA"   @SH 3HtHtMuf   H [LL+CfAMIftHuHuf"   H\$WH E3HLMu,Hu,Hty   1DH\$0AH _MtHtMtMufDIfD9tHHufEIuL+AfHIft6Hu.Mt A M@fHftHtHuHufDHfIufET[DRPQfE"   4H\$Hl$Ht$WH@3AHHHu@8j(t@j(HjHjHj    f9)u4H9ju%@8j(t@j(O"   @k(Hk   HB@(Hl$8AHl$0Lǉl$(3ҋHl$ &  HcЅu  m LHKH;v@8k(t@k(HCAHl$8LHl$03҉L$(HD$ (&  HHtHHC 3H\$PHl$XHt$`H@_H\$H|$UH$`H  H| H3H  AHA  HU  u  3   Hd$h HL$(HH\$H3HD$PHD$`H\$XD$p HD$0A  D9Hu|$@ tGHD$(  9*  u8D$@tHD$(  A   |$@ tHD$(  E3LD$ HT$HHMD$hH  H3,_L$  I[I{ I]H\$Hl$Ht$WH AHH  @ƅtHt	H    t   CK  u2i,  t)-  u3HLD+  ,  H@ƃH\$0Hl$8Ht$@H _HHXHhHpHx AVH Ɏ 3ۿ   u   ;LHcȺ      3H   H9 u/   =} Ha  3Ht   H9h uuHH5/| L5| IN0E3  7)  H8 L HHL4HŃ?HIHL(HHwHIXHHXHu3H\$0Hl$8Ht$@H|$HH A^̋H{ HkXH@SH   `P  3H HQ  H HH05  HHuHt   H%g  H [H0H%  H0H%  H\$LL$ WH IIH
HSHHHt\I$tO$<uu
r8HC8 uHHA$tHH	7  tHC HCHcH\$0H _H\$LL$ VWAVH`II
  H Hcv L4H\$8I;   HHD$ HHt"H$t$<uurHHVHNHLD$ LD$@HD$HHL$PHT$XHD$ HD$(HD$0LL$(LD$@HT$0H$   멋  H$   H`A^_^H\$LL$ WH IIH
KHH	  HAH\$0H _ÈL$UHH@e( HE(e  LMHELEHEHEHUHE HEHM   EE} E EE(H@]H\$Hl$Ht$WH HHI$<uOtJ;+{c HsH3~6HaC  LDH֋W  ;t
KCtc3H\$0Hl$8Ht$@H _H\$H|$UHH`He Hك=[  E E E E u
x EEHu32HUt CtHB  UN  u3}uHE  } t]HM$X } t]HMX$H\$pH|$xH`]̱9H8HL$HHu%MQ$<uu
r32HD$HHD$XLL$PHD$HLD$XHT$ HD$PHL$@HD$ H8H\$LL$ WH IIH
H   HH\$0H _H\$Ht$WH HHHIH0H	HHSHKH	HL  HCHaHC tHCH HHH   @    ^HC HHu@QHy  3H  Hu :HCH H@  p H8HxHCH H  p HHH` 3H\$0Ht$8H _@USWHl$H   He =  E E E E uu EELMoDEgHUHMHu.HEEHD$(E3Hd$  E33E   3lAtEtA@tA@uIAH=wHEoHMHELMHEHMHE'LEHEHE/HUHEgHE7HMwHEHE?}uHMǃ  } t]HMPX } t]HM;X$Hİ   _[]H\$LL$ WH I
C  Hr ȃ?H H3Hˋv  HH\$0H _LH(   MKMCD$8ISD$@IKH(H H H H H\$Ht$ WATAUAVAWH@E3D!|$xADt$pуt'tRttHtCtt	         	      ty3   LHuL\$@I[@IsHIA_A^A]A\_H H  HH	9XtHH;u3HuV    HxE2Dt$p"H= H=o H=v H=U E3Et
AM  H7EtHq ȃ?H3HH   H  A	  w5As/MoLl$0Ig uR@D$xD$ }@   u1H  HIH  HHHD$(H;tH` HHp HA	  Et
   '  Hu3u#Ip30OPHL  AIpsPIƋHH  ҃wAsMouL$xHEtN      @SH 3H E3HHʺ    t ÃrӰ	3$   2H [HcHH HH%#  @SH ԅ H HH   u߰H [HcHHj HH%׿  eH%0   HH`   $eH%0   HH`HA @H(R u/D$0   u
HL$0  3|$0ȇ H(@SH 3ۉ\$0u
HL$0!  |$0ËH [@SH  uL   \$0Uu
HL$0  L$0ttt
uY      ˇ H [@SH LHHt3HBHI;rCIظ   HHDR  t(H$  tH7 Lú     Ht    3H [Ht6SH L3H   u  wDH [H;s3H;HHXHhHpHx AVH0E3AHHHu$D8r(tHJwDs(LsLsLs   D81uUL9ruED8r(tHJHDs(   &  HCIHЃK(HS   HCfD0ADt$(LLt$ AQ
H  Hcu  K }HSH;vAD8s(tHKDs(H6r%  HCIHЃHDօK(HSu3HCAT$(LǋHD$ AQ
  HHvHHC 3H\$@Hl$HHt$PH|$XH0A^HHXHhHpHx AVH@E3AHHHu$D8r(tHJDs(LsLsLs    fD91uTL9ruED8r(tHJDs(   $  HCIHЃK(HS   HCD0Lt$8ALt$0LDt$(3ҋLt$ T  Hcu  @    HSH;v@D8s(tHK0Ds(H#  HCIHЃHDօK(HSu;HCALt$8LLt$0͉T$(3HD$   HHlHHC 3H\$PHl$XHt$`H|$hH@A^H\$UVWATAUAVAWHHPE3LHHuA]  WL:HEL}H   HUHfEH*?HD}JT  HHu<LME33  t:H}HH;}   HHH;]u   LEH  u	HHH}HH;}   HHH;]u   H}IHuILHUPL+HIIH;t"L IHE8<uHHHH;uHUPA   I贝HHu23MHH;tH=HH;uAH)   JLHMXLH;tLH+HEHMIIC<8 uHII+MHUPIQ  u^HEHHMXN$0MIL;u3I] HH;tHHH;uH3H$   HPA_A^A]A\_^]Hd$  E3E333H\$Hl$Ht$WATAUAVAWH0HI3MLLH@8<)u   IHHH;v BH\$`Hl$hHt$pH0A_A^A]A\_MxLIsHMtMMIHP     M+J3ILMyP     LvDxL9v   H9>u+A׍H3HHHtBHFH HF]L+6HIL;wHK,6HM  Hu37H˿   *%JHHNHHN3HNHL~3E3H|$ E333=@USVWATAUAVH$H@  H[f H3H0  MHH      H;t",/<-w
HHrHT  HH;uDA:uHGH;tME33H  A/E3A-wIHðrAH+Lt$@HLt$HLt$PHL$pLt$XMLt$`L#Dt$h3Ll$8rHD$x  9HuD8utHD$p  D8  uD8utHD$p  A   D8utHD$p  ELD$0HHT$@HL$PLEDt$(Lt$ IEE33v  HHu*ME33HD8t$ht
HL$P>  It$I+4$H3LuHMLuLuLuLuDu{HE  9HuD8utHE  D6  uD8utHE  A   D8utHE  ELD$0HUHMgLu3҅IHEʀ9.uAu8Ut:Is0<.u8QtMMHDut8EtIFLl$8HUHH  E3I$IT$H+HH;tH+HLBEFH  H  D8t$ht
HL$P3+} tIH̴  |$h t
HL$PAH0  H3FH@  A^A]A\_^[]H\$LL$ WH@II؋
tHHH   HHD$XHby HL$ HtoHt]A   EAP~ HI@ A H0I0@@A@HPIP@`A`HHpIHIu '3A  XH    A   AP~HHH   H  HD$(Hx HL$0Ht^HtL HI@ A H0I0@@A@HPIP@`A`HHpIHIu3A   xW    `HCHHuHCHHtd H9tH	HHHCHH   HHHH    !H\$PH@_@SH@3HL$ %w  uw      uw      uHD$(w    X|$8 tHL$   H@[H\$WH H3HA  ^V3H{L~c HSLH   JfH{c L+JHǊAAD0H  |HXd H+J
H  2  H   |H\$0H _H\$H|$UH$H  H` H3Hp  HI  G  HT$P  4  3HL$p   H;rD$VHT$VD$p  DB;sDp A;vHu܋GLD$pd$0 DˉD$(   Hp  3HD$ 4  d$@ LL$pGDH   3ɉD$8HEp\$0HD$(\$ Q  d$@ LL$pGA   H   3ɉD$8Hp  \$0HD$(\$ YQ  LEpL+Lp  L+Hp  HGt
AL t
 AL2Ɉ   HHHu?3HO   DBA@ w	B Aw	 B2   H;rHp  H3AL$  I[I{ I]HHXHpLH L@UWAVHxHp  DII;  H  L   A;@u3  (    HHu3F  H  HL$@   DH   DJ| H@ IH0A @@I0HPA@@`IPHpIA`IIIu HH@ IHA HHD$@ H@ IH0A @@I0HPA@@`IPHpIA`IIHu HH@ IHA !H7  ;uH    /   EuH  H   uH  H   He_ H;t   H  H   H    d uTH  HD$0LL$$H  HD$8LD$0   HT$(HL$ D$$D$(EtH  HH] 3cL$p  I[ Is(IA^_]H\$Ht$WH HH)d   tH    t	H   d   H   H\$0H;t>Ht"uHR^ HL$0H;tHH   HD$0 H\$0   
HtHH\$8Ht$@H _=H(=q  uLH0a Hq H] H` Hq Hmq |Lqq Lgq H(H({HDq HH(H\$Hl$ VWATAVAWH@HZ H3HD$8H/3ۋT  L%a DIčk98F  DH0Ar  %        ;u&HFH   ^f^H~ù   f  HT$      HN3A  O|$ ~H      HL$&8\$&t,8Yt'A;w+z(L7H+uH8uHF   HH+uN  t.t t;tH"H  Hz  Hi  HX  H   n9o       HN3A  NAML$L` A   L<@IMIA8t>8Zt9DBD;w$EPA  sADAD2DBD;vH8uILL+u~n  t)tt;u"H  H  H  Hp  I|$H   IHV   HfHRH+uHHG3HL$8H3;L\$@I[@IkHIA_A^A\_^H\$Ht$WH@AHAHL$ {HD$0@|utHD$(HQu3   |$8 tHL$   H\$PHt$XH@_̋A   3E3zH(  Hn   H
n H(̸  ;wOtD3  ;wt9*t2-  t+t&t!-5  t-c  tH-  tu3H%  -  tttt߃tڃtՃt-5  tɃuƃH\$WEكIظ  A3;wAtx3  ;wtm*tf-  t_tZtUH-5  tG-c  t@-  ,-  t0t+t&t!ttt-5  ttHD$HELL$@LLELEtHt8LD$HLLL$@EH\$_H%  HHXHhHpHx AVH@q  3HHu3   Hf90tHHf9tE uHlE Hf9u uHt$8H+Ht$0HHLD͉t$(3Ht$ 3LcuH  Ia  HHu	3Ht$8DHt$0LDt$(33H|$ Qu
HY
3PHH  HH\$PHl$XHt$`H|$hH@A^H\$Hl$Ht$WH IHHHt3HBHI;sg    3AHt
wG  H3HHHG  HHtH;sH+H8L3IHH\$0Hl$8Ht$@H _H\$Hl$Ht$WATAUAVAWH DL5#HMILOG LS M3A˃?IL;   MtI   M;   u IF HtH;      M 3IA   z  HH     WuEXIDH  Ft,DH  I0tE33I&  HHu`HL5#IF HI;ML S Aù@   ?+HI3KG 3H\$PHl$XHt$`H A_A^A]A\_HL5"IF Ht	H  IH  HtLR @   Aȃ?+ъHHI3KG @SH HL4     L$  H!  Ht Ip4HHH [H%  % H [@SH HL     L  H  Ht IpV[hHHH [H%W  % H [@SH HL     L  H  lHt Ip0'HHH [H%  % H [H(L-  3L   H!  HtIp0R^G'H(H%     H(H%  H%  H%  H%  H\$Ht$WH ALW  LF  HH     HtIp2P>DƋH=  H`  H\$0Ht$8H _H\$Hl$Ht$WHPAIL  HL  H     *LHt_IpWPbH$   DH$   LH$   HT$@HL$8H$   HL$0$   L$(HHD$ I}  23H=   Dˋ$   LǉD$(H$   HD$   H\$`Hl$hHt$pHP_H\$WH L!  HH     L  NHtIp2T#H  H
C  H\$0H _H\$Hl$Ht$WH0AIHL  HL  H     Ht1Ip($DLHHt  H\$@Hl$HHt$PH0_ڋH\$WH 3;{;uHLY  LJ  HK  KkHt&LO  L@  HA  KIHEߊH\$0H _@SH L;     L'  H(  HtZIpr%  HHtBL     L  H  HuHIppHH [H%d  3H [H|$HM H=1e    HH|$H\$WHPHM H3HD$@L  	   L  H  HHH   L     L  H  HHtZIpS07H  Ht>3HL$0L$8IpTToH!L$ DIQHHLD$0  tD$8$2HL$@H3\0H\$`HP_@SH u/Hc HHtHt  H# HHd H;uذH [H(r  HHd H(H%d  HHXHhHpHx AVH   HH  E3fD9t$b   HD$hH   HcHp    H98L8RA  ;=ph O=ih t`AH;tGH;tAt<uH  t*HL5d HH?IHHHD(D8HHHHuL$   I[IkIs I{(IA^HHXHhHpHx AVH 3E3HcH=c H?HHH<HD(HHv
L8   D8΅tt
  HHHHv-H  t Hl(uL8@1u,L8%L8@HD(H^ HtI@I1H\$0Hl$8Ht$@H|$HH A^@SH    33?  u   H [H\$WH 3H=b H;Ht
?  H$; HH   rH\$0H _H\$Ht$WH HHH;thHHHtIp\\ĞC  t	HH;uH;t;H;t2HH{ tHHtIp;Y>u3  HHCH;u2H\$0Ht$8H _H\$WH HHH;t$HCHtIp;Y>u3  HH;uH\$0H _He H\$WH H.   3HtIp Hh  ËH\$0H _@SH 3#HH ȃ?H#e H3H3VHH [HH He H3Ѓ?HHHd H]H LHd ȃ?H3HHu3IpqTXIHH%  @SH Hٹ   MH;t)   >H;uH  r?  2H [H\$WH H      H;u	H=<d    H;uyH=,d [ C  uaK  H? u      3HHHuHKC   HKHC    HKHHC   C    2H\$0H _̄t8SH BH	t IHcc  Hc H# H [@SH HHw<Hɸ   HD+  t%HtH_ L3  Ht`    3H [̋~F LL   At)HQHH;  3f9
  HH;u      H+IHML#IM;MB3KXL;tf9
t	HH;uI+HI;E  MPII+HHI@L;tuu	wu	I L;uKP
fA9	t	IL;uI      At)HQIL;   3f9
   HH;u      H+IHML#IM;MB3KXL;tf9
t	HH;uI+HI;utIMPI+WHHI@fofAufu	IL;uKPfA9	7IL;u)HQIL;t3f9
t	HH;uI+HHH\$Hl$Ht$ WATAUAVAWHP$   E3ۅDAMIHLGLcM;w3H$   A["HL$(E3E3L\$ 3A0Y,3  H  H4H#H;   H$   MHD$HI΋$   D$@$   D$8H$   D\$0|$(HD$   t   e   HO  H  $   P@ f  -   M9}HÊ$   Lc4A  DA0   AH      I IuDII#HMA  1It$uA7H$   D8[(uH֭E3I EC0HCH   H A$M   AI       ʅ~,II#I#HfAf9vfňHIfyID$   DII  E3ۄtLHNBu0HI;t9u@A~DH΋߿0   @7HE30   E8$IDAAPD.LNIH4%  I+HyIH+HҸ+   MPHFA9H  |4HS㥛 MAHHHH?HЍAHiHM;uHd|3Hףp=
ףHHHHH?HЍA IHkHM;uH
|+HgfffffffHHHH?HЍA IHkH@AEX3L\$PI[0Ik@IsHIA_A^A]A\_LI[IkIsI{ AVHPH$   I$   HH	A   ICMKMKU?  L$   DEE3Lt$0|$@-DЋ$   HAD$(3DT$ H+I+HHDIHLL$@9  t 5D$   HD$@Lt$8DD$0 HHD$(Hϋ$   D$    H\$`Hl$hHt$pH|$xHPA^LI[IkIsI{ AUAVAWH03IcEELHOŃ	HH;wMH$   "   IKE3Ic E33A0Y,3uH\$PHl$XHt$`H|$hH0A_A^A]À$    Ht$xt*3҃>-HE~IIB< uIHJ/A>-Hu-H_~1CL$   HA~( uIIFH   H$   L  HHHH+HII?ID{   HKEtEHF80tWDFAyAC-Ad|QA SkDA
|gfffA SkDD C|$pu90uHQA   ,@3Hd$  E3E333LI[IkIsWHPH$   I$   HH	WICE3MKȋMKD$@><  DD$DE3Ƀ|$@-DЋ$   HH$   AI+Hl$0DƉD$(HDT$ IHDLL$@:6  t Hl$(LL$@DD$  HH   H\$`Hl$hHt$pHP_H\$Hl$Ht$WAVAWH |$` HIcIMAtAA;u3A9-HfD0 A9-u-HIcAHIuIA80u2|$` t
tHsHsLIB< uIHH>0HH؅   HsLIB< uIHHb>L|$hA( uI>IGH   HAFy;؀|$` u;}HcHǀ<> uLGHH3	>Lú0   H1H\$@3Hl$HHt$PH A_A^_LI[IkI{Ms AWHPH$   IH	H$   WICE3MKMKD$@:  D|$DE3|$@-Dȋ$   HL$   AI+Lt$0D$(ADL$ HI8D$   HDLL$@H3  t    D$Dȃ|>;$   }5D;}HÄuCD$   LL$@Lt$(HHD$ :D$   HD$@D$   HLt$8HD$0HD$($   D$ H\$`Hl$hH|$pLt$xHPA_HHXHhHpHx ATAVAWH HI H#EI#HAE3HHEuf   K  urLAIH#I#Hfv   OsAH   HH+I#Iu3A0tIH  L#L#IH      LAA"Њ(=   uftL9?|=   uftL9?}2H\$@Hl$HHt$PH|$XH A_A^A\H\$Ht$WHPMLHHu3H$   ZHL$(A0Y,Hd$  E3E333o  MuH$      HD$(@0X,MtL$   MtӋ$   AtAv@2@H$      HHH4%  H=     H HA   H#u3-H       Hy
H;uIHH#HHHHH?HBL;sA gItA-IA M;tI@H  ҋHLIC< u3M;DILINtE  E3A*  HӀ H#$   A      tUt   tst=H$   HHD$H$   \$@T$8I@t$0D$(LD$ M}   H$   IHD$8Hϋ$   \$0D$(LD$ MrH$   HHD$H$   \$@T$8I@t$0D$(LD$ M8H$   HHD$H$   \$@T$8I@t$0D$(LD$ M-H\$`Ht$hHP_Hd$  E3E333dH\$Hl$fDL$ VWAVH@3ILHHuMtH$    Ht	H$   Hv
   )  8_(uHDL$xHGH  u5ALD$hLH\$hIG  Ht   8_0t_,7H98  u[   fD;v6MtHtL3If+*   G,G0H\$`Hl$pH@A^_^MtHtyEHtG   ?HD$h\$hHD$8LD$xH\$0A   l$(3Lt$ t9\$huHt3ԅ  zuMtHtL3I*"   w,E3H|$(E33G03H\$ ˨>HHXHhHpHx AVH0E3IIHHH#  M  D82uH  fD1
  E8q(uHiHSDRA  u'LQ H\$ LHHF  H   L98  uH   f   HfD94H}aDJA~+A;|&AHLƺ	   AʉD$(H|$ uHCHcHH;rD8vt	HC@KC0C,*   ;AA   HLAD$(AQH|$ gtŸ   	L55P 3H\$@Hl$HHt$PH|$XH0A^H(HuF    AH(HI3 3HH9O H\$UVWAVAWHPH!3 H3HD$@BIHtB  Hf0H  HlL5: L=NK t5HQt(HDHcHH5?HHII֊B9<   Ht3Ht&HHcHH?L4IM43A8^8}SDHl$ DCHT$4HL$0u,9\$0~LLt$4ALH^   tI;\$0|&  "GyLH׋6I  Hf0HHL$@H3JH$   HPA_A^_^]̃j.H  HHAH   Ht H   Ht H   Ht H   Ht HA8A   H3 H9PtHHtHx tHPHtH IuH   y  H\$Hl$Ht$WH H   HHtyHF9 H;tmH   Hta8 u\H   Ht9 uH     H   Ht9 uH     H   H   H   HtG8 uBH  H   H     H+H  H+H   }H      H(     H{8H1 H9GtHHt9 uBH:H tHOHt
9 u HH HuHH\$0Hl$8Ht$@H _HtH  H;t   \  øHt1SH H  HH;t\  uc  HH [HtH  H;t\  øH(H   ADIH   HtDH   HtDH   HtDH   HtDHA8A   Ha0 H9PtHHtD
Hx tHPHtD
H IuH   5H(H\$WH 	H     6 tHHu,   蔾HB H(   Hع   ˾HtHH\$0H _kH\$WH HHtFHtAHH;uH6H9H-HtH{ uH- H;tH3H\$0H _H   SH HHIH;5 tɿHK H;5 t跿HK(H;5 t西HK0H;5 t蓿HK8H;5 t聿HK@H;5 toHKHH;5 t]HKhH;5 tKHKpH;5 t9HKxH;5 t'H   H;5 tH   H;5 tH   H;5 tH [HtfSH HH	H;4 t¾HKH;4 t谾HKH;4 t螾HKXH;4 t茾HK`H;4 tzH [H\$WH H<HH;tHVHH;uH\$0H _H   H\$Hl$VH    HًHK8uHKpH   ~H0  UoH@  ׽HH  ˽HP  追H`  =H  /H  !H0  H  UH  lH  `H  TH  HH\$0Hl$8H ^@UATAUAVAWH`Hl$0H]`HuhH}pH* H3HE(DEHMHMjN   uHEx   EMċ҃d$( Hd$  Lcu3   IHHFH;HH#   H   w1HAH;w
HHj  H+H\$0Htm  "HHt
   HHtIL3HzEDt$(MH\$    vtL   DHA{  	33HtHK9  u}  tHE  HM(H3H]`HuhH}pHe0A_A^A]A\]H\$WH0d$     藹   \$$;= tnHcH= HHuUA$tH< H}B  tD$ H< HH0y  H< HH< H$ 놹   aD$ H\$HH0_@SH AHt(AtHI̺c3HCHCH [H\$LL$ WH II؋
,  HHcHHHL@ ?HID8t#	  H z  3ۅux  衝躝 	     H\$0H _̉L$H8Hcуu臝 	   lxX;D sPHL@ ?HHHID8t-HD$@T$PT$XLL$PHT$XHD$ LD$ HL$H 	   כH8HUVWATAUAVAWHhH   HEHXH ' H3HEILELcHHEHEIMILmH?L<JH JD(HEEMLex  E3LUA8z(uIhLUIJIM3HCL9e  MILM׊E}A   LF  {  LJ>   KˀH @89tIHI|M   KH BL>F9 AA+EHUH+LcL;x  HJ>   KˀH DHHI;|M~HMIH'LULHKH HB|>HI;|H}HEHE׋ADDLT$ LMHUHM7  H`  EHcH   N9 AMLEL+HcI;  H}HuߋǃDDLT$ LMHUHMX7  H  IELm   OH CL=t!CD>EECL=A   HUIDIBHfB9<I}1LvL;up  MA   HHMou  IMHMHMOU  HH|$8H|$0D$(   HEHD$ ELE3ҋMWD  H|$ LMDHULeI'u     +USSD9u   }
u>   fEH|$ LMD@HUIt     }   CCSH;u   LULMMH~$I+KH IB6BD>IHcH;|SUM~'HLMKˀH Hʊ2BD>HHcI;|DC#GL>KH BL=BC{s  HHMH3ZH$  H   A_A^A]A\_^]H\$Hl$VWAVP  4c  H+H" H3H$@  LcHIAHH: A?IIHKLt(3HGL;soH\$@H;s$H<
u	GHÈHH$?  H;rHd$  HD$@+LL$0DHT$@ICs  tD$0G;rH;rwr  HH$@  H3RL$P  I[ Ik0IA^_^H\$Hl$VWAVP  0b  H+H! H3H$@  LcHIAHH9 A?IIHKLt(3HGL;   H\$@H;s1Hf
uG   fHfHH$>  H;rHd$  HD$@H+LL$0HHT$@ID(r  tD$0G;rH;r\q  HH$@  H37L$P  I[ Ik0IA^_^H\$Hl$VWATAVAWp  a  H+Hn  H3H$`  LcHIEHH8 A?MMIHKLd(3HM;ƉC   HD$PI;s-Hf
u   fHfHH$  H;rHd$8 HL$PHd$0 LD$PH+D$(U  H$   HHL$ Dȹ  3tI3t3Hd$  H$   LL$@DHID+p  tt$@;r͋A+ǉCI;4o  HH$`  H3L$p  I[0Ik@IA_A^A\_^H\$HT$L$VATAUAVAWH0IEHcu-AA8Aa4 AA0AA,	   H\$pH0A_A^A]A\^Åx;5<; s   3u3AA8Aa4 AA0AA,	   H\$(Hd$  E3E333XHLIH6 ?L$JBD8tS  AH6 JBD8uC0C,	   C8c4 LEHT$h   D3  A&@USVWATAUAVAWHHx3ELcIHE  Hu7AA8E3Ay43AA03AA,   E3H\$(H|$ y  IH6 ?MILeL,JBD9E<w	AШtBD8 t3ADB9  AH}  H5   JB8|8  @8{(uHH5 HCH98  uJB8|9   JHUJL(n     M   t	9  N$6H}LI;s\DuAfE89  Mf;u6ADuf
u   9     f;uADuIM;sl  ELe   EH\$ LHMA x   H4 JB8|8}RMt6t   EHMLA>EHMLAFEHMLAJL(LM3EH!D$ HHEEl  u	/l  E}EEH3 HEH u\EЅt,uC0C,	   C8C4MHސJBD8@t>tc4 C0C,   C8sE+3HxA_A^A]A\_^[]̋7 ATAUAVHP  H H3H$  MMLHuHt荐    F  MtMtH  H$H  H$@  H$8  H$0  L$(  LzML3HL$ fff     3II+IHXH   M;vuK4.IHI;w* Ip^uHHIl  HOII;vMII;t$I+fff     
HRIuM+M;wHL$ HHL$   Ll0L   LHIJ4+Ip^uHII l  ~/MLL;t$f     A IH+
AIIuIp^uIIIk  ~0MIM;t%MM+    AA
HRIuIp^uIHIgk  ~3MII;t(LM+ff     AA
HRIuIIfH;v+IH;s#Ip^uHHIk  ~)@ II;wIp^uHHIj  ~HI+H;vIp^uHHIj  H;r8MHtLL+AA
HRIuH;HHEHFH;s(I+H;vIp^uHHIGj  t%I+I;vIp^uHHI j  tIHH+I+H;HL$ |+L;sLl0H   HHL$ I;LI;sH\0L   HHL$ L;sLH$0  H$8  H$@  H$H  L$(  H$  H3pHP  A^A]A\H\$Ht$WH E3ILMu1Hu1Ht舌   @DH\$0AHt$8H _HtMtMuDHuDH+HMIIuHtIu.HHtItHuMHFHDHuDMrIuFTEPP^Dϋ"   BHXH H3HD$@3LH LswD  HH |HL IL AuA   AɃHT uIEEu3HL$@H3HXI[H\$Ht$WLH5+AHI+HLWIBoHws Hfs`fsYfsRfsKfsDfs=fs6fs/fs	(fs
!fsfsfsfsfsWA   ftf3  MuEYE3ۋ¹   I+H;AA+A;    Hfsfs   fsfs   fsfs   fsfs   fsfs{fsfsofsfscfsfsWfs	fs	Kfs
fs
?fsfs3fsfs'fsfsfsfsfsfsWE   oWfoftfu5HIH\$Ht$_kMuD8W   H\$Ht$_LȋI+HHwD+AwyBH Hfsefs^fsWfsPfsIfsBfs;fs4fs	-fs
&fsfsfsfs
fsWfA t8@      fnf`f`fp ftfuA@Iu3H\$Ht$_H\$IHt$_  	    % , 3 : A H O V ] d         * 6 B N Z f r ~   
    & - 4 ; B I P W ^ e E3    H\$WH@HHHu:    3`HtH;sIHL$ 5HL$0HSy t$HH;w
DuHH+HӃH+Hʀ|$8 tHL$   HH\$PH@_@UATAUAVAWH`Hl$PH]@HuHH}PH H3HEHc}`IELHم~HIp-  ;Ǎx|DuxEuHDp   DLA҃d$( Hd$  3Lcs  IHHHH;HH#=  IH=   w1HHH;wIHHP  H+H\$PH    H3HHt
   HH  D|$(DLH\$    An3҅  HT$@EHT$8LHT$0I͉T$(HT$ A3Hc{  A   EtQEpl  ;]  HT$@EHT$8LHT$0I͉D$(AHEhHD$ 蓾3ҋ+    HHHAH;HH#   I;w5HAH;w
HHpO  H+H|$PH     3HHt
   HH   HT$@EHT$8LHT$0I͉t$(AH|$ 3҅t^EpDHT$8LHT$0A΅uT$(HT$ 薷u.D$(HEhHD$ |tHO9  u.y'HHtHO9  u^3
HڋHtHK9  u?HMH3UH]@HuHH}PHeA_A^A]A\]H\$Ht$WHpHIHAHL$Pc1$   HL$XD$@Lˋ$   DǉD$8H֋$   D$0H$   HD$($   D$ [|$h tHL$P  L\$pI[IsI_H(3ɄH(H(Hu΂    臁HH(L3HB% H(H%^  H\$WH HHHu
HHuHv-j    3H\$0H _ztHftH$ LL3y^  HtH\$Hl$Ht$WAVAWH HHtG3L=   AU   H+HcLMK $  t)y~^;~3H\$@Hl$HHt$PH A_A^_Kc xH=   sHAp H\$Hl$Ht$WH H   Jo3HHt[H   H;tLHx0HOE3  XHOHOgH7G  

G
@1HrHHHGH;uH3{H\$0HHt$@Hl$8H _HtJH\$Ht$WH H   HHH;tH[  HHH;uH H\$0Ht$8H _H\$Ht$H|$AWH0    r)d	   H\$@Ht$HH|$PH0A_3Oƚߋ& H\$ ;|6L=" I9<t"IHux& @& H   ȚHcLr" H?HHIHH%Z  HcLJ" H?HHIHH%eZ  H\$Ht$H|$AVH Hcمxr;
& sjHL5! ?HHH<ID8tGH|(t?u't+t;u3d[  IHL(3~ 	   ~  H\$0Ht$8H|$@H A^H(u~  ~ 	   Nx2;H% s*HcL<! H?HHID8tHD([~  s~ 	   ,}HH(H(uN~ 	   Bx.;$ s&HcH  H?HHHD8@~ 	   |3H(H\$Hl$Ht$WH |$P AAHHu:5   e  u0;5H
|tHCujH0tuH;tUC"P=   u!   tHي<0tt-u2=   u   tHي<0tt݃-t2H\$0Hl$8Ht$@H _H\$Hl$Ht$WH0IHHu2   HD$pE3HD$(E3Hd$  33ɉX,@0z   Ht3 EAOHH;w"   HtIIH^H0tH0HAE x+D$hDL$`DD$ ut0Hˊ<9t>1uGIIA|0 uIHVH?3H\$@Hl$HHt$PH0_HT$SUVWATAVAWH   DLHE`  :V  Aʍo   Db3Au&YLD$DH.E3ɉl$@      Eu=yLD$D)E3Hl$@    3ҋAǅ҉V@3A.  ALHE;t;M     FD3H ELI II3ҋIILHE;uE3ɉl$@LD$D.  HN  Hω~H IƅɉN@ŉ.O  A;D  EIcD+EIcH;|IHH    ML+L+HA9uAHHH;}AA+HcIcLA9LsAE  ELGE\3AD$p  t   A    +D+D$`  tN    $`  DAAADADD$p  vGAADDD$p  E`Hl$0LE   AAHD$8AL$  E,<HD$(D  E;wBTՉ$x  AELAED\HL$ T$$t3HL$8EHD$ IHLAArAEA΋DDLD$ HL$(3IH3LIHDM;vH   IMHLM;w>$p  LIf     IH IH;vIH+MM;vD$`  M   LD݅tdL$h  D$`  I@ AMvILC#EI DIIA;LCA+AÉDD;rED$`  AL$h  $x  II;s8DՅt.LfC"ALHAM[LLDBI D;rIEUL\$0AI ALAL\$0/L$  AAD;sl;rDEt     ARD9luuI3H   A_A^A\_^][@USVWATAVAWH$H  H{ H3H  LP  MHL$PHL$pLuLMDD$d  D$pA   <uD$x HL$p  D|$xH\$P    Mt$HۍOHE33A$HM  Hú  H4H H#u!HtE      Ad$ L  `H;   HH#uA*HyH       H;u   HH3A#ǃE|$A+tDA+t6A+t(A;u[L  HX  I<    L  Ln  HX  LV  I<  E3  HHL$hH#E3H\$P3һ  \$l  DD$lHL$@  D$PA  D$XHT$XLt$`I4   II#HHH       HH#H H#HHE#D$EJ  y  ,ȉ]  H #]D$0A׉UA4    3ǅH     D  @    E3BDB9D     ED;ud$@ E$EÍBAAIA+HA+DDAt3+Bs   E3D;ADEAswkAxEVD;tHAA+H;sDLE3;sT3A#ԋD#AAABTAD;tU3Etd AA;uE3DuEDp  ǅt       d$@ E$EÍBAAIA+HA+DDAt3+Bs   E3D;ADEAswkAxEVD;tHAA+H;sDLE3;sT3A#ԋD#AAABTAD;tU3Etd AA;uE3DuEDp  ǅt     1  A6D  3ǅH     D  @  $  E3BDB9D    ED;ud$@ t3E3+;AADAs   E36  DuA+HD  3H    LA@D  DgEID@  Dp  M\    Ht  L;&  HD  /  AFA;oDD@;sFLE3D;sBL3B    ABLE;.UHd$@ Dt3E3+A;AADAsvDE35  DuA+HD  3H    LA@D  AFA;tDD@;sFLE3D;sBL3C	ABLE;yUL3p "   }oDp  L$0̅  HD$PȉD$8&  A&   A;ȋAGD$Hȋ  3H    LHD  @  HMH Hp HD  LHHD@  E;w[D  uE3  A;-  E$  E3LE3Bt  AIHLBt  I EE;u   E;T  t  MIEDp  Mt@  Ht  L;wHD  kL3No "   nDp  BA;t{EtvE3LE3Bt  AIHLBt  I EE;uEt8p  ss!p  Dt  Dp  EDp  E32Dp  
Dp  AǄ+  E3Dp  HuHEB  E3E3BDHALHFDEI E;uE  }s  EDDD}  E;Ht  AHD  HCLD  ABHL$X\$4Ht  ICЄHT$@EEE3E3D    B4u!E;   B!  EbD     E3EE   AAst`AE;u   A@  AEAHHЋ  HALډ  D  I A;tHT$@EtMAsA@AE;Du       AHȉ  D  H Dمu\$4As>HL$XHT$@ED;EIDp  Mt@  Ht  L;wH  L3al "   IkDp  L$8H+L$HA&   L$8D$PL$0+A A;EE3DE3Bt  AIHLBt  I EE;uEt*p  s9p  Dt  Dp  EDp  LL$HD$@ЉD$4  &   ;ыG3҉D$PȋA A H    LHD  @  H`H Hp HD  LHH'D@  E;wUD  uE3   A;   E   E3LE3BLAIHLBLI EE;u   E;   ]MIEDMMt:  HML;wHD  L3Apj "   )iDuTA;t`Et[E3LE3BLAIHLBLI EE;uEt&}ssEDDDuEDuE32DuDuAǄ  Hue H  E;HUEHD  HCLD  EBHMD\$8HUICЄHT$XEEE3E3D  E  B4u!E;   B!  ErD     3EE   EAAst`AAE;u   A@  AE  HHЋHCHډ  D  H A;tHT$X뚅tKAsA@AE;Du       Hȉ  D  H مuD\$8AsHMHT$XEE;EIDuMt:  HML;wH  PL33h "   fDuT$4L5+T$P&   T$4xL$HD$@+RAA A;6E-E3DE3BLAIHLBLI EE;uEt"}sEDDDuEDuDu@   LD  e HME3ɺ  e  Hp  HM)|$0
   A1H^E   E3E3Bt  HALHFt  EI E;uEt\p  ssp  Dt  Dp  <@   LD  p   Ht  E3ɺ    uA+0H^HExD$`x=w	|$d uǋHX  HH;HBH@2H;   A	   DME   E3E3BDHi ʚ;AHLBLI EE;uEt7}ssEDDD}#@   LD  e HME3ɺ     Hp  HMDLD+A   AD*AH0DE;w
0tAADD;uHH+I;IOHH;DM Eu@tE3DD$lHL$dT$hI  |$x t
HL$p  AH  H3H  A_A^A\_^[]Hd$  E3E333cH\$Ht$WH IIHMu3VHud   uc<HtH;rLHL3XHtH;s}d"   뾸   H\$0Ht$8H _H(  H(  3LHu	I    Åuu u
   A7  u (=  vI   A  u7 w/   ALي$?CIuA
AHIa  II^  @SH@HD$pHHL$0HD$ S  HwT$0    GHtfH@[H\$Hl$WATAUAVAWH0H:3MILLH   HM   L$   8uA   8GuA   GMIIMLl$ HHL$`  HHt{3HtlL$`  v;HvI  A   L$`
HfAf  f#H   f3fHHHXI+I?HH   HfI?AE0AE,*   nH$   H8uA   8GuA   GMIIMHl$ H3  HtHtHuHHH3E0E,*   HH\$hHl$pH0A_A^A]A\_HHXHhHp HWH HIHGKLc   ;3HS+{HBHC ȉC~LDA_HK;D$0nABv"IH IH?HHHHY  B8 t3ADB%  HuKLHT$0A   AH\$8Hl$@Ht$HH _HHXHhHp fHWH HIHNKLc   ;3HS+{HBHC C~ LDAeHK;D$0fnABv"IH IH?HHHH]  B8 t3ADB)  HuKLHT$0A   AH\$8Hl$@Ht$HH _@SH Qt`At	HAH9tMIHHt;A   LD$83H;  t!HT$0H;  tHD$0H9D$82H [H\$Ht$WH IHHݵCuG,	   G0KCt	G,"   ދCtH$c tHCHcKcc C  uH跠uHS  LH@{@H\$0Ht$8H _H\$Ht$WH IHHCuG,	   G0K  ~Ct	G,"   ܋CtHVc tHCHcKcc C  uHuH  LHyH\$0Ht$8H _LLMu3A
MRAM[ADI BDGɃJ AG+uEtIuHHXHHWH0HHHu.B0B,   HPH!HE3E33)[H\$HH0_ËA$t/  mHH   HmHHXHpWH0HHHu%HPE3H!HE3B0B,   3ZUAt=oHˋ'H7H	  yHK(Ht
xHc( Hy  H\$@Ht$HH0_H\$H|$UHH`He =6   E E E E u  EEHU}uHM  } t]HM68X } t]HM!8X$H\$pH|$xH`]H\$HT$L$VATAUAVAWH0IEHcu.AA8Aa4 AA0AA,	   HH\$pH0A_A^A]A\^Åx;5 s   3u3AA8Aa4 AA0AA,	   H\$(Hd$  E3E333YHLIH  ?L$JBD8tIHs  JBD8uC0C,	   C8c4 LEHT$h   LI&H\$Hl$Ht$WH0HcIًAHHuC0C,	   HVDLD$ HH6  u4  HYHD$ HtHL  ?HHHIȀd8H\$@Hl$HHt$PH0_H\$H|$UHH`He =   E E E E u  EELM}HuHM  } t]HM5X } t]HM5X$H\$pHH|$xH`]fL$H(j  tLD$8   HL$0  tD$0  H(38tH;t	H< u@SH AA#DH٩t%Ht33  X   rWAAHt	n  e  3H [@SH H>    C3H [H\$WH Hً	T  K	  3HL$0H|$0uL$09uL$49K@ǋ   H\$8H _@SH d$8 Hكd$< HL$8ku$HD$8HL$8L$8Hpu	7  3   H [E3D$HT$HHH#H      @CH;AH;rH      H;v~H9  H      ?H;s+HtbMtH       HD$D$F  <H¹3   H4*ȸ   HHHH#HD$D$MuH;tX{  HXft$ =     f(f(fs4fH~f  f(fT-S  f/-K    f(fWf//  fw  \%  f/5    fT%ٟ  LH#_  L#h  IIfHnf/%u     H,fÞ  f  L4  \AYf(f(L    ˞  YYYf(XӞ  X  YYYX  XYX-  Y˝  Y\AH  %ٝ  YXXXfot$ HXffffff     ȝ  \Н  Xf(^%̞  -  f(YXf(YYYX%  X-  YYYYY,  X\5  f(f  \Xf(f(YYYYXXXfot$ HXf  \	  fm  fH~fs4f-  fu  D    H       D    *ff     H;  tH;  tHǛ  fHnffot$ HXD  H3s4~  -o  /-g  A  /    \%#  /5        s~%ߜ  /%     H,  ݛ  LV  \sYL%  Y)  -    -    YѹY  -D  ɫAHҤ  Xɹ  Xot$ HXÐ  \   X^%   -8  YXY%  -
  YYYYYX\  \XYf  Y%n  Yf  YN  XXXot$ HX  \w  s4ڙ  (-  @D  u.V  D    ot$ HXfffffff     H  De    ot$ HXÐH;  t'H;   tH'  fHnD3    @ ot$ HX́   H|$A@  3\$DL$   AfA#AJf;uA   f@uA   fA;DDDAA `  A   A#t'=    t= @  tA;¹   EA	   AA%   #A#H|$AA#A  AAы%     \$T$?DAADADAȃDDAAH\$Ht$H|$ A   A#?3п      A   #;tA;t;tDA   A@   A@  »   A   A#t&;tA;tA;uA `  A @  A    D s   rDfArfrDfAs   frHt$fH\$fDH|$   \$fEfD#D$%? AD$T$̋?؋Ƀ \$ȋȋȸ     ȋD$?D$T$H" HH! HB0B,*   @SUVWATAVAWH@HF  H3HD$0H$   L  E3H=3  MHLMEHAkHEDMEHML#MuHM  fE9ZuhDHExMtEEAI#  A$<uAA$<uAA$<   AA   +ȋA+A#)EBAAZA@<   @:   A:   I;DMCHǊ$<   ?HI+I;rL;sAA*fABfABA (=  vD   s<AD$    D$$   D$(   ;TrMtAIHH#4HI/HL$0H3H@A_A^A\_^][H\$WH Hٺ   x     Hh3HChH{ tK@K   HC   HC{ HCc HH\$0H _H\$LL$ WH II؋
HHcLHSHHLT  A?OIBD8t	   B0B,	   H\$0H _̉L$HXLcE3AuB8DJ4B0B,	      x`D;  sWIL  ?IHHID8t4HD$`HT$@DD$xHT$0DD$0LL$xLD$8HD$8HL$p,B8E3DJ43B0HT$(B,	   3LL$ HHXH\$Ht$WH HcHHu3ZH#     u	@   u;u    t   HH;tuH&  u$  ؋HL  ?HHHID8 tH֋I3H\$0Ht$8H _̃I3HHAAHAHA(A@SH@H  3Hu.H\$0DC\$(H{  E3DD$    @ &  H  HËH@[H(H  Hw%  H(HHXHhHpWH@H` IMȋDHHHS  }$  ؅uj#  u_H5  Hwi%  Hd$0 H̒  d$( A   E3DD$    @F%  Hd$  LHH  DH$  Hl$XH\$PHt$`H@_@SH     E3?tFӃDADDAȃADȋуDDA DDtAAH [   H\$Ht$ATAVAWH DA+  DDAAA   AуAADыʃ
CA   уADA   ʃADʾ   DA `  A#t"=    t= @  tA;u   AA@  A@tA  tA@u   EAD#A#DD;  AȃAADы
ADʋAADыAADʋACA%   t#;tA;t\$@=   uA
\$@A   A   tA   tA   u@@  \$@=   t6@t1  2   \$@㿋     A   A `  
㿋r  уADыʃ
CʋуCыʃCʋDыA#t"=    t= @  tA;u   Aց@  @t  t@u   H\$HHt$PH A_A^A\HSHP$   $     HH$   @HXL@@  HL$ u  D$@HP[H\$Ht$WH Ht@y   k  W   @tH	s
P  <@tH
s   4   @tHs@t
     @tHs      Ht$83H\$0H _HUSVWAVHhH   )pHi  H3HEL    AI   M_HD$HH\$@D$@HT$HD$@uwu@}uEuEDE_HD$@HD$(HT$HHEoDHL$PHD$ 4  Kt4t0HD$HMD$@]oUgHD$0D$(t$    HL$H  a  D$@HMH3($   H   A^_^[]H       HHL$D$@SHE33D  EHA$  L$#ȉ\$T$;u,3H HHT$ HD$ D  $<EDD  D  3H[H8H  A   HD$    H8HHh)p(A(At*AuiD@WPE@@!   @   -D$@   WD$8A   \$0D$("   D$    H$   t$xLD$x((t$PHhff     H$$HÉL$T$\$!L$T$f.ʣ  sf.ȣ  v
H-H*HHd$0 HD$xHD$(HD$pHD$    HHHHXHpHx HHUHH HA3ҿ  QHEPHEPAtHE  HAtHE  HAtHE  HAtHE  HAtHE  HHMHH3A1AHMHH	3A1AHMHH
3A1AHMHH3A1AHMH3A1A  HШtHMItHMItHEHtHEH tHEH `  H#t>H=    t&H= @  tH;u0HE'HE HEHE HEHE HE    HE	0HEHu8H }@ t3HE!P HE0HEHHEH`HE!P`HEHPHHMAA A#A HE0HHEHHHEH`HUB`A#B`HEHHPP   3LMDB"  HMAtH3AtH3	AtH3
AtH3AtH3t0ttu(H `  H3H+H3H+H#}@ tAPHAPHH\$8Ht$@H|$HH ]H(ttu<> "   /> !   H(@SH E؃?UH [H\$Ht$ WH HHD$8с##ωL$0=   t%@t !   L$0t$8H\$@Ht$HH _@SH H?ËH [H(?H(@SH               tH%  H.    H  HuH  u  É  ;uH      
  1   tH  H  H [H%g  H      H [H\$WH H     H;tvHulH    HHuH8HÞ  Hr  HtHƞ  HG  HV  HtH:  3H  uH;tH;@2H\$0H _H\$WH   HA0   HT$ Hp  HuH)D$DDtRHL$PD  DL$T3EIL#AI##HII3HHIHȋtA MHuH$   HĀ   _H\$Ht$H|$LcH5oLHHA   vHE   E3Et9AHEXHET2IEtAD;r
QD;rAH(E;r3H\$Ht$H|$ÉA$AHHHXHpWH HHP HHBHHu   L=   u'D$H        u   )T$@HjT$@LDH  uH)H\$0Ht$8H _H(r     t~tH   H)    H  HuHH  u  u  HT$03tH  H  o  H      H(H\$Ht$H|$ UATAUAVAWHHpLL2AFLE~IAVMANIEnIHe MHe We EFHEADE0EH   LuLeEШu)HEHE03LM0W mDB/  3  I?IH+HHH?EtHHHEEH  3HtHU3U  HHv  H  H   HtHUO'  HHulHME33  HHuU  EHؚ  HtHUO  HHu+HEHE03LM0~ mDB<  HE  HIH;u	H  H  H}HtHU     HH   A9^t-A9^t'HcG<<8PE  uM09L8uH;|80u
I\ HujHUH  HHuU6  EH  HtHUK
  HHu+HEHE03LM0 mDB`  H]I$H  Hte HU   H}H]  HL\$pI[8Is@I{HIA_A^A]A\]LcA<E3LLA@EXHIEtPL;r
HL;rAH(E;r3H\$WH HH=H4   t"H+HHHt@$Ѓ3H\$0H _̸MZ  f9uHcQ<Hс:PE  u3  f9J3@SH H  HHt
      HH [H(MA8HI      H(@SEHALA LtA@McPLHcL#IcJHCHHCDtDLL3I[   ff     HL$L\$M3LT$L+MBeL%   M;sfA M A M;uL$L\$HHHXHhHpHx AVH IY8HMHIHILC E$fظ   EADDCtLMHHH\$0Hl$8Ht$@H|$HH A^'H\$WH IHCfu;csmutH\$0H _|HX sHx(ff     H+Ir"tf:u,HIuMIuMt:uHIuH3ÐIt7HH;u[HAH;DuLHAH;Du=HAH;Du.H IuIMItHH;uHIuIHHHH
HHH;H\$E3LuCHAHAWAAftfA#uHWftftH   =     AMIAAfnAp WfAtfAfp fofAtfA##u-WfoI˅LEIfAtfAtffЅtӋ##I˅LEIH\$A ;MDA8 tIAufnfA:c @sLcMfA:c @tIff     ff     %j  @UH HM@H ]>@UH HM ,H ]@UH HH ]鍧@UH0HHHL$(T$ LLEpUhHM`ΦH0]@UHH3Ɂ8  ]@SUH(HHM8HM0}X tlHE0HHM(HE(8csmuUHE(xuKHE(x  tHE(x !tHE(x "u$HM(HH HE0HXHX(+E     E H(][@SUWH@HHMPHMH輴H   HHpH   H_衴HX`HEHHHY8荴HXhHMHD$8Hd$0 d$( H   HD$ LL   H   H	@KH`p E@      H@_][@UH HHMXLE H   H ]@SUH(HHM8U}  uHH   ;csmu9{u3{  t{ !t	{ "uHK(:tH踭観H   HH 薳HM@HH(H(][@UH HLH ]@UH Hbx0 ~WH0H ]@UH HHEHH ]I@UH HHM(HM$3csmE E H ]@UH HHMHH	H ]|?@UH HHEXH ]nI@UH HH   H ]QI@UH H}p t   7IH ]@UH HHEhH ]I@UH H   H ]H@UH H   H ]H@UH H3H ]H@UH H   H ]H@UH H   H ]H@UH HHEHH ]@UH0HM`H0]ϭ@UH0HHM@H0]G>@UH HH8  t8  t3   H ]@UH HH3Ɂ8  H ]                                                                                                                                                                                                                                                                                                                 *     /     B*     V*     p*     *     *     *     *     *     +     +     2+     H+     b+     x+     +     +     +     +     +     +     +     ,     (,     @,     h,     t,     ,     ,     ,     ,     ,     ,     ,     ,     -     -      -     6-     L-     \-     j-     v-     -     -     -     -     -     -     -     -     -     .     .     ,.     B.     X.     r.     .     .     .     .     .     .     .     .     /     /     ./     :/     H/     X/     h/     |/     /     /     /     /                      t    t    t           1                                     "   b                   t    p\   T                            node.exe                0;   ;           8$                                             	       Ȋ   
       ؊   
                    	                    	           	       0   	       @          H   
       X          h   	       r           t                                                                                                                                            ċ          ȋ          ̋          Ћ          ԋ          ؋          ܋                                                                                                                                                                                      $          (          ,          0   	       @   	       P          X          h                                        Ȍ                              (          H   #       p                               ؍   &                             0          4          @          P   #       t             	                                        %          $       0   %       X   +                            Џ   "          (       (   *       X          x                              r                     Ȑ                                          r                     ̋                               ؋                    @          __based(        __cdecl __pascal        __stdcall       __thiscall      __fastcall      __vectorcall    __clrcall   __eabi      __swift_1       __swift_2       __swift_3       __ptr64 __restrict      __unaligned     restrict(    new         delete =   >>  <<  !   ==  !=  []      operator    ->  *   ++  --  -   +   &   ->* /   %   <   <=  >   >=  ,   ()  ~   ^   |   &&  ||  *=  +=  -=  /=  %=  >>= <<= &=  |=  ^=  `vftable'       `vbtable'       `vcall' `typeof'        `local static guard'    `string'        `vbase destructor'      `vector deleting destructor'    `default constructor closure'   `scalar deleting destructor'    `vector constructor iterator'   `vector destructor iterator'    `vector vbase constructor iterator'     `virtual displacement map'      `eh vector constructor iterator'        `eh vector destructor iterator' `eh vector vbase constructor iterator'  `copy constructor closure'      `udt returning' `EH `RTTI       `local vftable' `local vftable constructor closure'  new[]       delete[]       `omni callsig'  `placement delete closure'      `placement delete[] closure'    `managed vector constructor iterator'   `managed vector destructor iterator'    `eh vector copy constructor iterator'   `eh vector vbase copy constructor iterator'     `dynamic initializer for '      `dynamic atexit destructor for '        `vector copy constructor iterator'      `vector vbase copy constructor iterator'        `managed vector copy constructor iterator'      `local static thread guard'     operator ""     operator co_await       operator<=>      Type Descriptor'        Base Class Descriptor at (      Base Class Array'       Class Hierarchy Descriptor'     Complete Object Locator'       `anonymous namespace'           )                                                                                                                                                    P      a p i - m s - w i n - c o r e - f i b e r s - l 1 - 1 - 1       a p i - m s - w i n - c o r e - s y n c h - l 1 - 2 - 0         k e r n e l 3 2         a p i - m s -          FlsAlloc               FlsFree        FlsGetValue            FlsSetValue           InitializeCriticalSectionEx        J    hQ    Unknown exception          J    hQ    bad exception   A s s e r t i o n   f a i l e d :   % T s ,   f i l e   % T s ,   l i n e   % d 
               M i c r o s o f t   V i s u a l   C + +   R u n t i m e   L i b r a r y         A s s e r t i o n   f a i l e d !       P r o g r a m :         F i l e :       L i n e :       E x p r e s s i o n :           F o r   i n f o r m a t i o n   o n   h o w   y o u r   p r o g r a m   c a n   c a u s e   a n   a s s e r t i o n 
 f a i l u r e ,   s e e   t h e   V i s u a l   C + +   d o c u m e n t a t i o n   o n   a s s e r t s   ( P r e s s   R e t r y   t o   d e b u g   t h e   a p p l i c a t i o n   -   J I T   m u s t   b e   e n a b l e d )         . . .   
   
 
         < p r o g r a m   n a m e   u n k n o w n >                                                                                                                                                                                     	       "                   8            "   T            ` 0          m s c o r e e . d l l   CorExitProcess  "   T                            "   T             (          j            k            <    @    j    j    ,                        Lk                        j                        j            k            Tk    j    j    j    j                                                                                                                                                                                    ( n u l l )     (null)                                           	               	      
                                                !      5      A      C      P      R      S      W      Y      l      m       p      r   	      
      
      	                  )                                             Y  *                `   d   h   l   p   t   x   |                     ̞   О   Ԟ   ؞   ܞ                                     ܞ   $   ,   4   @   P   X   h   t   x                         ȟ   П   ؟                       8   P   `   x                              Ƞ   Р   ؠ                    0   @   P   h   x               С         Sun Mon Tue Wed Thu Fri Sat Sunday  Monday      Tuesday Wednesday       Thursday    Friday      Saturday    Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec     January February    March   April   June    July    August      September       October November        December    AM  PM      MM/dd/yy        dddd, MMMM dd, yyyy     HH:mm:ss        S u n   M o n   T u e   W e d   T h u   F r i   S a t   S u n d a y     M o n d a y     T u e s d a y   W e d n e s d a y       T h u r s d a y         F r i d a y     S a t u r d a y         J a n   F e b   M a r   A p r   M a y   J u n   J u l   A u g   S e p   O c t   N o v   D e c   J a n u a r y   F e b r u a r y         M a r c h       A p r i l       J u n e         J u l y         A u g u s t     S e p t e m b e r       O c t o b e r   N o v e m b e r         D e c e m b e r     A M     P M         M M / d d / y y         d d d d ,   M M M M   d d ,   y y y y   H H : m m : s s         e n - U S       @   P   `   p   j a - J P       z h - C N       k o - K R       z h - T W       0   p         0         P       `         0         0      H   `   p              a p i - m s - w i n - c o r e - d a t e t i m e - l 1 - 1 - 1   a p i - m s - w i n - c o r e - f i l e - l 1 - 2 - 4   a p i - m s - w i n - c o r e - f i l e - l 1 - 2 - 2   a p i - m s - w i n - c o r e - l o c a l i z a t i o n - l 1 - 2 - 1           a p i - m s - w i n - c o r e - l o c a l i z a t i o n - o b s o l e t e - l 1 - 2 - 0         a p i - m s - w i n - c o r e - p r o c e s s t h r e a d s - l 1 - 1 - 2       a p i - m s - w i n - c o r e - s t r i n g - l 1 - 1 - 0       a p i - m s - w i n - c o r e - s y s i n f o - l 1 - 2 - 1     a p i - m s - w i n - c o r e - w i n r t - l 1 - 1 - 0         a p i - m s - w i n - c o r e - x s t a t e - l 2 - 1 - 0       a p i - m s - w i n - r t c o r e - n t u s e r - w i n d o w - l 1 - 1 - 0     a p i - m s - w i n - s e c u r i t y - s y s t e m f u n c t i o n s - l 1 - 1 - 0             e x t - m s - w i n - n t u s e r - d i a l o g b o x - l 1 - 1 - 0             e x t - m s - w i n - n t u s e r - w i n d o w s t a t i o n - l 1 - 1 - 0     a d v a p i 3 2         k e r n e l b a s e     n t d l l       a p i - m s - w i n - a p p m o d e l - r u n t i m e - l 1 - 1 - 2     u s e r 3 2     e x t - m s -          AreFileApisANSI       GetActiveWindow       GetLastActivePopup            GetProcessWindowStation       GetUserObjectInformationW                   LCMapStringEx         LocaleNameToLCID              MessageBoxA           MessageBoxW    AppPolicyGetProcessTerminationMethod           AppPolicyGetShowDeveloperDiagnostic    AppPolicyGetWindowingModel                                                                INF inf NAN nan NAN(SNAN)       nan(snan)       NAN(IND)        nan(ind)    e+000                                                                                                                                                                                                                                                                                                 ( ( ( ( (                                     H                                                                                                                                                                                                                                                                                                                                                                  	
 !"#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~u k     "                   !                                                Ⱦ          ؾ                                 	          
                                                           (          0          8          @          H          P          X          `          h          p          x                                                                !          "       @   #          $          %       ȿ   &       п   '       ؿ   )          *          +          ,          -           /          6          7          8           9       (   >       0   ?       8   @       @   A       H   C       P   D       X   F       `   G       h   I       p   J       x   K          N          O          P          V          W          Z          e                                                     p                                    (   	               8         H         X         h         x                  @         `                                                                                          (         8         H          X   !      h   "      x   #         $         %         &         '         )         *         +         ,         -          /      0   2      @   4      P   5      `   6      p   7         8         9         :         ;         >         ?         @         A          C         D      (   E      8   F      H   G      X   I      h   J      x   K         L         N         O         P         R         V         W         Z         e         k      (   l      8         H         X         P         h   	      x   
                                                                         ,         ;      (   >      8   C      H   k      `         p                     	         
                           ;         k                                 (   	      8   
      H         X         h   ;      x                              	         
                           ;                   	          
      0         @         P   ;      h         x   	         
                  ;                   	          
          ;           $         	$          
$      0   ;$      @   (      P   	(      `   
(      p   ,         	,         
,         0         	0         
0         4         	4         
4          8         
8          <      0   
<      @   @      P   
@      `   
D      p   
H         
L         
P         |         |         a r     b g     c a     z h - C H S     c s     d a     d e     e l     e n     e s     f i     f r     h e     h u     i s     i t     j a     k o     n l     n o     p l     p t     r o     r u     h r     s k     s q     s v     t h     t r     u r     i d     b e     s l     e t     l v     l t     f a     v i     h y     a z     e u     m k     a f     k a     f o     h i     m s     k k     k y     s w     u z     t t     p a     g u     t a     t e     k n     m r     s a     m n     g l     k o k   s y r   d i v           a r - S A       b g - B G       c a - E S       c s - C Z       d a - D K       d e - D E       e l - G R       f i - F I       f r - F R       h e - I L       h u - H U       i s - I S       i t - I T       n l - N L       n b - N O       p l - P L       p t - B R       r o - R O       r u - R U       h r - H R       s k - S K       s q - A L       s v - S E       t h - T H       t r - T R       u r - P K       i d - I D       u k - U A       b e - B Y       s l - S I       e t - E E       l v - L V       l t - L T       f a - I R       v i - V N       h y - A M       a z - A Z - L a t n     e u - E S       m k - M K       t n - Z A       x h - Z A       z u - Z A       a f - Z A       k a - G E       f o - F O       h i - I N       m t - M T       s e - N O       m s - M Y       k k - K Z       k y - K G       s w - K E       u z - U Z - L a t n     t t - R U       b n - I N       p a - I N       g u - I N       t a - I N       t e - I N       k n - I N       m l - I N       m r - I N       s a - I N       m n - M N       c y - G B       g l - E S       k o k - I N     s y r - S Y     d i v - M V     q u z - B O     n s - Z A       m i - N Z       a r - I Q       d e - C H       e n - G B       e s - M X       f r - B E       i t - C H       n l - B E       n n - N O       p t - P T       s r - S P - L a t n     s v - F I       a z - A Z - C y r l     s e - S E       m s - B N       u z - U Z - C y r l     q u z - E C     a r - E G       z h - H K       d e - A T       e n - A U       e s - E S       f r - C A       s r - S P - C y r l     s e - F I       q u z - P E     a r - L Y       z h - S G       d e - L U       e n - C A       e s - G T       f r - C H       h r - B A       s m j - N O     a r - D Z       z h - M O       d e - L I       e n - N Z       e s - C R       f r - L U       b s - B A - L a t n     s m j - S E     a r - M A       e n - I E       e s - P A       f r - M C       s r - B A - L a t n     s m a - N O     a r - T N       e n - Z A       e s - D O       s r - B A - C y r l     s m a - S E     a r - O M       e n - J M       e s - V E       s m s - F I     a r - Y E       e n - C B       e s - C O       s m n - F I     a r - S Y       e n - B Z       e s - P E       a r - J O       e n - T T       e s - A R       a r - L B       e n - Z W       e s - E C       a r - K W       e n - P H       e s - C L       a r - A E       e s - U Y       a r - B H       e s - P Y       a r - Q A       e s - B O       e s - S V       e s - H N       e s - N I       e s - P R       z h - C H T     s r                B          ,          q                             0          @          P          `          p                                                                         C                                         )                  8   k          !       P   c                 `   D       p   }                              E       ؾ             G                              H                                        I                              A       (                    8   J                 H          X          h          x                                                                         K                               	                 (          8          H          X          h          x                                                                                                              (          8          ȿ   #       H   e           *       X   l          &       h   h          
       x   L           .          s                                                  M                              >                 h   7                              N       (   /       (   t       x          8          H   Z                  X   O          (       h   j                 x   a       (             P       0                       Q       8             R          -          r       8   1          x          :                 @             ?                    S       @   2          y       ؿ   %       (   g       п   $       8   f       H             +       X   m       h             =       x             ;                 0   0                    w          u          U       H                       T                 P                    `   6          ~       X          (   V       `          8   W       H          X          h          x          h             X       p             Y          <                              v                              [          "          d                           (          8          H          X                    h   \                 x                                                               ]       H   3          z          @                 p   8                 x   9       (                    8   ^       H   n                 X   _       X   5       h   |       @           x   b                    `       P   4                    {          '          i          o                                               (          8          H   F       X   p       a f - z a       a r - a e       a r - b h       a r - d z       a r - e g       a r - i q       a r - j o       a r - k w       a r - l b       a r - l y       a r - m a       a r - o m       a r - q a       a r - s a       a r - s y       a r - t n       a r - y e       a z - a z - c y r l     a z - a z - l a t n     b e - b y       b g - b g       b n - i n       b s - b a - l a t n     c a - e s       c s - c z       c y - g b       d a - d k       d e - a t       d e - c h       d e - d e       d e - l i       d e - l u       d i v - m v     e l - g r       e n - a u       e n - b z       e n - c a       e n - c b       e n - g b       e n - i e       e n - j m       e n - n z       e n - p h       e n - t t       e n - u s       e n - z a       e n - z w       e s - a r       e s - b o       e s - c l       e s - c o       e s - c r       e s - d o       e s - e c       e s - e s       e s - g t       e s - h n       e s - m x       e s - n i       e s - p a       e s - p e       e s - p r       e s - p y       e s - s v       e s - u y       e s - v e       e t - e e       e u - e s       f a - i r       f i - f i       f o - f o       f r - b e       f r - c a       f r - c h       f r - f r       f r - l u       f r - m c       g l - e s       g u - i n       h e - i l       h i - i n       h r - b a       h r - h r       h u - h u       h y - a m       i d - i d       i s - i s       i t - c h       i t - i t       j a - j p       k a - g e       k k - k z       k n - i n       k o k - i n     k o - k r       k y - k g       l t - l t       l v - l v       m i - n z       m k - m k       m l - i n       m n - m n       m r - i n       m s - b n       m s - m y       m t - m t       n b - n o       n l - b e       n l - n l       n n - n o       n s - z a       p a - i n       p l - p l       p t - b r       p t - p t       q u z - b o     q u z - e c     q u z - p e     r o - r o       r u - r u       s a - i n       s e - f i       s e - n o       s e - s e       s k - s k       s l - s i       s m a - n o     s m a - s e     s m j - n o     s m j - s e     s m n - f i     s m s - f i     s q - a l       s r - b a - c y r l     s r - b a - l a t n     s r - s p - c y r l     s r - s p - l a t n     s v - f i       s v - s e       s w - k e       s y r - s y     t a - i n       t e - i n       t h - t h       t n - z a       t r - t r       t t - r u       u k - u a       u r - p k       u z - u z - c y r l     u z - u z - l a t n     v i - v n       x h - z a       z h - c h s     z h - c h t     z h - c n       z h - h k       z h - m o       z h - s g       z h - t w       z u - z a                T     c-^k      @tFМ,    a\)c     d4҇f;lD      ِe,BbE"&'O   @V$gmsmr    d'c%{pk>_     njf29.EZ%qVJ  .C|!@ΊĄ'|Ô%I   @T̿aYܫ\DgR)`*     !VG6K]_܀
@َЀk#c  d8L2WBJa"=<rtYl*   [aOni*{P+4/'PcqɦJ(.onIn   @2&@Prє)[f.;}eSw Sƫ%KM -"RP(WB}]9֙Y8 wzaja  gV :6	ipev &gn	+2qQH΢ER   xt ]u۩reLK(wmCQɕ'U'樜=    @J#m
XoC]-HY(?.qּDi}nVyu  Ჹ<u?k:އFEMh$h0'DAXQh٢%v}qN  dZW f) }m?Mp=ANqא:@O?owM&
   1U	X&aVjuvD,GA>UD~ $s%rс@b;zO]3AOmm!3VV%(w;I-G 8NhU]i<$qE}  A'JnWb쪉"f37>,ެdNj5jVg@;*xh2kůid&   _U JW
{,Ji)Ǫv6UړǚK%v	t:H孎cY˗i&>r䴆["93uzKG-wn@_l%Bɝs|-Ciu+-,W @zbjUUYԾX1EL9M Ly;-"m^8{yrvxyN      \lo};obwQ4Y+X<XF"|WYu&Sgwc_
i9351C!CZؖ?h   d}/KNs	Ogֵ8sI̗+_?8 7xB">W߯_w[R/=OB
    R	E]B.4o?nz(wKgg;ɭVl H[=J6RMq!	EJjت|Lu <     @rd6x)Q9%0+L;<(wXC=sF|bt!ۮ.P9B4Ҁy7   P,=87MsgmQĢR:#שsDp:RRN/M׫
Ob{!@f u)/    wdq=v/}fL3.iLs&`@<
q!-7ڊ1BALlȸ|Rabڇ3ah𔽚j-    6zƞ)
?IϦw#[/r5D¨N2Lɭ3v2!L.2>p6\BF8҇i>o     @@w,=q/	cQrFZ**F΍$'#+GK	ŎQ1VÎX/4Bycg6fvPb   ag
;s?.❲ac*&pa%¹u!,`j;҉s}`+i7$fnIoۍut^6n16B(Ȏy$    dAՙ,C瀢.=k=yICyJ"pפl dNnEtTWtøBncW[5laQۺNPqc+/ޝ"     ^<V7w8=Oҁ,t×j8_լZ>̯p?m-}oi^,dH94X<H'W&|.ڋu;-Hm~$P                 	     % - 5 	> 
H 
R ] i u         -C	Y	p	



	%
   d     '   @B    ʚ;0   1#INF   1#QNAN  1#SNAN  1#IND         ?                                                                                                                                    &{?            x?        5q(7>           PD?        %>b?>               @              ?              ?                             `?              ?        UUUUUU?              ?        ?        UUUUUU?                                         ?              ?              ?                               TUUUU?        ƺ?        Q#Ib?        ]4<?                                 C O N O U T $              [?   pԯk?   `t?   v{?   M4?   P?   q?   ^?   j?   
?   ൵?   PO_?    S?   í?   R?    ?   p×?   8?   ֟?   ?    ᇡ?   U?   g!?   ?   ?   8?   K?   @?   ܧ?   ?   j?   Щ0?    ?    ?   ~?   A?   q?   pdƮ?   ?   ($?   &?   ?   0,C?   @4?   ` ?   R_?   h?   P0?   x?   0ճ?   2?   >?    ?   0wG?   `!?   @?   @Y?   ]?   ?    i?   `÷?   0?    v?   0ϸ?   @'?   m?   ع?   Щ0?   _?   pߺ?   6?   䍻?   0?   @:?   p?   ?   }<?   Ց?    ?   ;?   V?   ?   8?   ?   0-?   ?   pOC?   `l?   ?    =?   O?   B?   :?   b?   j?   ?   0F?   ?   ,?   дT?   |?   n?    ?   ?   P0?    B?    i?   ?   `?   ?   0?   p~,?   S?   py?   p	?    X?   0?   @?   08?   P^?   X?   @?   p?   @$?   Њ?   P??   e?   (?   +?   ?   ?   p?   BB?   @f?   =?   0?   ?   P?    ?   @?   c?   ?    y?   0?   ?   p?   m9?   \?    ?   P?   p?   ?   ?   ~.?   `)Q?   s?   p>?   ?    ?   0>?   0i?   @A?   pc?   l?   D?   ?   ?   0Q?   P-?   PIO?   @p?   0?   @'?   I?   X?    S?   `:7?   `X?    x?   p|?   ?   Н?   ?   0s?   ;?   P[?   `&|?   <?   @?   2?   ?   ?   Й;?   B[?   z?   p^?   ѹ?   2?   ?   P?   v?   0+?   :?   @J?   xY?   h?   pFx?   ?   ?   0;?   {?   P?   `?   0?   +?   C?   @R?   @Y?   0X.?    O=?   =L?   $[?   pj?   Px?   @?   `p?   /?   ?   ?   >?   ?   pw?   `?   ?   P?   p(?    7?   0kE?   S?    +b?   p?   @~?   `?    R?   ?   ๷?   ?   ?   P?   2?    ??   pD?   B?   9(?   *6?   PD?                 "
=.3i=W~=imb;D=W>6Z=<hC=`͉=. ob=ͽڸO=0B؈ >y+>>IԭwJ=07?v>Gb=M>Q=z	>p=QW  .>n [>p)=m6W>OJK>C>*f>8=pT=:		r>]'p>qw>`
'>M>[^j7>Kb|j>:bβ>	>ޔ0>1k>A>+^=lg=)>,ļ,+>De}=7W`@>`z>~|'e>_M>`>1<.	/>:+>Os&>൏=MǛ/#>yHs=nX>JR!>11Y@/>58d%>_>)MJ$>" >	H*>eVM>cQ6!>6'Yx=%R>jtm}S=`
'><E쨰>Z>U&>䮿Y>?h/>77:ݸ$>a~>I{,>Y)>6{1n>Ur	Vr.>Tz3&>Ra+f)>0'C>6Zd >'4
>yU>^!-=jc?>cQ.>5b#)>^x8o2>Lj[;>vj"=:1J<>s|d>f3>fvw=>;H9>&X;>7Y9>>'S5>*StO9>T'4>K Z>`'>% %>΋.>Tu
.(!>ʧY3p>%@~+>!n03>Pu?>d׌5>>t"v:>R=>X̤/>
Ң;>[ >["`=>7>ː#>>6>\.>9Ir,>X>z8>4&/>	VYS9>HVo6>a"$>S= 5>VaR:>V8>(.0>D=Yc%>2x.&>>=K~Je#>!Ix[>dn-/!>9٭7>qb(>aIbQ=cQ61>v+M<7>=*>!ư*>f[t0>To -> Or=)a?>ė=l(>>
"Ic(>\,=F	ET5>m0;>9lߙ%>6>Ȩ mG4>?7>*yW3>ay;>V>bp(=>?gҀ8:>})36,>8!> ;>PӽD 8>j`&+>+&z*>nOv>h=O>yu`=GQ~f=oj37>k>/>dn9>hS=q)i5>m"e= ?~X3>6>Tz36>J`?>!T4<>0A8>cքBC?>6t9^	c:>VB4>ٲ6>*:8'>0<>Rm=1>"3>PkY)>'._M>5*=4<,BF>^G*>`JK&>.yCB)>O 'L>[.xJ>Hfy\PD>!MԩL>|b=})>\ >vc [1>H')>dL?>Z|F>Ni;>_j+>yC>O@L)>uzKs@>D>He@>5A3>N;kUr=CA	 >	p.>EK>VR>>e 	kE>fvwM>`7nH>eF>tH/>ѤL>ev[%>J
A>@
_A>pP&V6E>`"(5~7>ҹ@0$>y{@>W9oM>WL>փJ>Wp0>
lD>#,=>B_!">}tM>'>+Ai=1I!>u|KN>
c0iN>/پA>+h->|ۈ:>r-4@>%>b?>               @ ??? ?۠c?qBJeD?
#D%?|?E??z?g1?Pt?t:W?sy:?????ہv`?#?4,Tw?ru\?AA?[,'?tn?ƿD\n?V?m?^?BZ&?qq?IєX???.9&???+?{>e?к?#+?3=l}?e?O贁N?JH7?ـl@6 ?"1K	?(?^?pp?/?cj`?Y0Q?mЦm?JhAW?AA?Ň*,?Kz??3?-hk?N?U$??/?rp?w\?H?,4?)I ?ՐO???7zR?0?:bο?k??J?'t?aa?x O?ݾz<?J*??`?@?OZQ%?}A_?|.?"?9k?ȤxL?ƚy?4g?muV?F]tE?A4?F($?	|mx?p\?``?7Ck?aȁ&?ll?=
I?rS<?Ј:G?hh?g6q?"Qja?J;OR?d!YB?V3?@bw#?1h?X`?-)4d?и[?g?W+?GƼ?Zk?#a?X0Ҏ?`XV?:kP<q?R|c?UUUUUU?%G?H	9?KV*??"?PP?Lb?9/?L,ܾC?n%?Ꮶ>?[R֯?Jv?gв9?H"?{Gz?f`Y4m?`?vS?beF?M0':?%f-?QY^& ??feт???B?,?u?{?U)#`?;;?"z8$?c,?f"?88?E[u?Hi?*_]?x+R?FyF?W[:?j\/?+J#?Xw?0?`*?h/?KN?K%?P-
?,M?7Z?@+??)A?[r??MΡ8}?5'Ps?'|h?p"^?w~S?$I$I?[`>?߼xV4?*"*?x!?UHy?gG?  ?p}?L<?t?;?J.g??Y"?)F@J?g|?{a??S?+??w?ysBn?2Pd?'u_[?Q?;
_H?$G4??55?퉋,?30]X#?&H0????%?k?`U?F ?:5VD?;ڼOq?qA?ȝ%?.r/?h
?`۝?T	9??eu?B!?){?G
&s?yj?Mb?urY?4Q?dII?AA?G8?^0?)wd(?@ ?7zQ6$?? ?      ?        log10           ?C?K E R N E L 3 2 . D L L         AcquireSRWLockExclusive ReleaseSRWLockExclusive         x   o           @                                                                                      0                                                                                                                                                                                          node.exe                     D : \ a \ u t f - 8 - v a l i d a t e \ u t f - 8 - v a l i d a t e \ s r c \ v a l i d a t i o n . c   s t a t u s   = =   n a p i _ o k       D:\a\utf-8-validate\utf-8-validate\src\validation.c     validation      Nc       X         Nc          T T     Nc       |  h h     Nc                                                                                                          :                                                    :             @                           x:                               8         P                  x:            @                            :  x                                                  :             @                   P   o       W                  .!  )  )  1,  8  8  =9  [9  9  9  6L  \  `  b  dk  l  l  L  i  ͎  !  я  B    A  {    Ң  .    m    (      C  M  X  ٹ  e  7  S             P      U    ^  ~      Q      L    z            t                     " 2 B R u   ~    ID D BE E F .F ?F F F F F G G G G G G G G G G G G H 4I 'N -N N N N N W W Y Y \ a a b b c c h h )i Fi i Uj k k #l m t t t t t t u u 'u /u Fu Mu gu u u u w w     )  <  h8    R  M       T d  `d 0  p    r H  0t   RSDS"%#IaF7   D:\a\utf-8-validate\utf-8-validate\build\Release\validation.pdb                  GCTL   c .text$mn    s @   .text$mn$00 0t   .text$x     .idata$5     8   .00cfg      .CRT$XCA        .CRT$XCU    Ȃ    .CRT$XCZ    Ђ    .CRT$XIA    ؂    .CRT$XIC        .CRT$XIZ        .CRT$XPA         .CRT$XPX        .CRT$XPXA       .CRT$XPZ         .CRT$XTA    (    .CRT$XTZ    0 P  .rdata   l  .rdata$r       .rdata$voltmd      .rdata$zzzdbg       .rtc$IAA        .rtc$IZZ        .rtc$TAA         .rtc$TZZ       .xdata  %    .xdata$x    &     .didat$2    ,& $   .didat$3    P& 0   .didat$4    & p   .didat$6    & 0   .didat$7     ' X   .edata  x'    .idata$2    '    .idata$3    '   .idata$4     *   .idata$6     0 x
  .data   x: P   .data$r :     .data$rs    : 8   .didat$5     ;   .bss     P   .pdata   p \  _RDATA    `   .rsrc$01    `   .rsrc$02                                         B  
 
4 
p b             t	 d 4 2p!     8    0t     
    0t      2P
 
4 
Rpp!     O  n  Gt     D    `t         Gt         `t     	 4 rp`p!         tt    RP d 4 2p B  	 	b  
 
4 
rp rp`0 20 4	 2P	 "  p!       }  t }   P   d T 4 2p 4  P  
 
4 
2p d 4 p           d T 4 rp	   p!     q$  $  t $   BP0        p              
 T 4 2p`  P  p     d T 4 rp	 0p!     ,  ;,  Xu ;,   rpP0  `p    d T 4
 2p Rp`0p!     :N  N  v N  M  N  v     .O  4O  v      
p`0p!     L  6L  u 6L  L  L   v      d T 4
 2p
 t d T 4 
 t	 d T 4 2	
 t d 4
 Rp!     <  >     L>  2>  L>     L>  	 t d 4 2p!     >  >     ?  '
 % 	p`0Pp   
 4 p`P% %4# % p`P   B   B   B   B   t d 4 2 d 4 p
 
4
 
rp Rp`0 bp`P0  ! 4  p`P  p      ! 4  p`P  p   &
 M 	p`P0p P   4 2p R041  H b   4 
P41  p h%      a      	 R0p!     `  `  v 9a   4 2pp!     Y`  b`  v      4 R
p`P b  41   
 t d
 T	 4 R b  41   j      
 d
 T	 4 2p 4 2pp!     i  i  v      B  xq    l  l     l    p0P  +	  	p`0P  p     2p! 4 @  O   !   @  O    d T
 4	 Rp+ d T 4 pp @    d 4 2p T 4 p`
 
4 
Rp2 !d !4 ! pP  p   !
 !d
 !T	 !4 !2p 4 2pp!     m  m  &w      4  p`P   4        .	 d 4  pP  p    d
 T	 4 Rp 4 P
 
20	 	P	 	rP 4 2pp!     !  1  v      4 2pp!         v      4 2pp!         v      4 2pp!     a  o  v      B   d	 4 Rpp!       O  Aw      R0+ tX 4W T P  p    d T 4
 rp t 4 P rP 4 2pp!       Q  &w      4 p`p!       -  [w      4 2pp!     f  s  &w      4 2pp!     ֺ    &w     
 d 4 rpp!     ݾ    xw       (  xw      4 2pp!     2  K  v     
 4 
p`P
 t d T 4
 r d T 4 Rp+	 h 	p`0P  p 0  %
 T 4 rp`p 8    r0 d 4 2pxq    e    w     %	 %dS %4R %N pP  + t 4  P  p p   4
 rpp!         w      d 4
 rp 4 p   t  d T 4 p 
4 
pp @    20p!         w      t d T 4     20p!     R  k  w     	 	20 d 4 p t d T 4
 R t d
 T	 4 2 d T 4 p
  t T 4  T 4 rp` 4 
p`Pp @   
 
4 
2pp!       w      2
0 T 4 2`-5t d 4 3
P  p X   
 
4	 
Rpp!      ] x      b   4 2pp!      3 -x     	 	p`0P   4 R`p!       Gx     3 %4"  
p`P  p H        
 -	 T4p`  p @  1 T4p`  p `      p   !(
 (  t d T 4   { ! !     { !  d 4 p     p @    d 4 p-Ut d 4 S
P  p X    d 4 2p t
 d	 4 Rp!     % % w     +	  	p`0P  p   	 D 	p`P0  ! C ) *, " !   ) *, " 
 T 4 Rp d	 T 4 2p d	 T 4 2p d	 4 Rp 4	 Rpp!     H H ^x      4 R`xq    K CK Gx     	 	B  
 
4 
2p    
 
h    t  t 
d 4  r	p`P0p 0       4 2pp!     Z WZ -x     	 d
 4	 2p!     s_ |_ vx |_  0&	 h  	p`0P  p     0 h              t	 d 4 2P	 d	 4 2pp!     "h )h vx )h  t 
d 4  4 p d 4 2p t d 4 P	
 
4 
2pp!     mo o x o  0                J      %                    % %                 x:            TJ                  :            J             0  ; : P& &                                             &     &     &     &     &             wWnapi_create_function  Wnapi_get_boolean  Wnapi_get_buffer_info  Wnapi_module_register  Wnapi_get_cb_info                                                          R'          H' L' P'  b'   validation.node _register_validation_ '         4*                        *     /     B*     V*     p*     *     *     *     *     *     +     +     2+     H+     b+     x+     +     +     +     +     +     +     +     ,     (,     @,     h,     t,     ,     ,     ,     ,     ,     ,     ,     ,     -     -      -     6-     L-     \-     j-     v-     -     -     -     -     -     -     -     -     -     .     .     ,.     B.     X.     r.     .     .     .     .     .     .     .     .     /     /     ./     :/     H/     X/     h/     |/     /     /     /     /             GetModuleHandleA  KERNEL32.dll  RtlCaptureContext RtlLookupFunctionEntry  RtlVirtualUnwind  UnhandledExceptionFilter  SetUnhandledExceptionFilter 2GetCurrentProcess TerminateProcess  IsProcessorFeaturePresent pQueryPerformanceCounter 3GetCurrentProcessId 7GetCurrentThreadId  
GetSystemTimeAsFileTime InitializeSListHead IsDebuggerPresent GetStartupInfoW GetModuleHandleW  RtlUnwindEx InterlockedFlushSList }GetLastError  dSetLastError  IEnterCriticalSection  LeaveCriticalSection  #DeleteCriticalSection InitializeCriticalSectionAndSpinCount TlsAlloc  TlsGetValue TlsSetValue TlsFree FreeLibrary GetProcAddress  LoadLibraryExW  EEncodePointer RaiseException  RtlPcToFileHeader GetStdHandle  jGetFileType GetModuleFileNameW  GetModuleHandleExW  JWriteConsoleW xExitProcess KWriteFile :OutputDebugStringW  lHeapAlloc pHeapFree  FindClose FindFirstFileExW  FindNextFileW IsValidCodePage GetACP  GetOEMCP  GetCPInfo GetCommandLineA GetCommandLineW MultiByteToWideChar 7WideCharToMultiByte SGetEnvironmentStringsW  FreeEnvironmentStringsW FlsAlloc  FlsGetValue FlsSetValue FlsFree LCMapStringW  GetProcessHeap  GetStringTypeW  FlushFileBuffers  GetConsoleOutputCP  GetConsoleMode  uHeapSize  sHeapReAlloc SetStdHandle  hGetFileSizeEx USetFilePointerEx   CloseHandle  CreateFileW GetSystemInfo VirtualProtect  VirtualQuery  LoadLibraryExA                                      ] f2-+                                                               @                                                                1                           1                           1                           1                           1                                           p8                      @                                                      `0   2   C                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  abcdefghijklmnopqrstuvwxyz      ABCDEFGHIJKLMNOPQRSTUVWXYZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   abcdefghijklmnopqrstuvwxyz      ABCDEFGHIJKLMNOPQRSTUVWXYZ                                                                                                                                                   `y!                       @~      ڣ                              @        ڣ                              A        Ϣ [                       @~    Q  Q^  _j2                   1~                                                     


               9   L   L   L   L   L   L   L   L   L   9   L   L   L   L   L   L   L   .   .                                                                                                                                                                                                                     u                 
   `    
                                                      .?AVbad_exception@std@@            .?AVexception@std@@                .?AVtype_info@@ g    C    O    [                                                                                                                                                                                                                                                           4   @  R   `       A  $     0            4     x             D  4 D       +   ,       5   8    (   X  <                  -   0  X   X  m   p    p               ]  4 `    4     H     4     4   /   0  l   l       X!   p!  g#   #  #  4 #  #   #  #   #  
$   $  %$   ($  8$   8$  $   $  $  4  %  f%   h%  r%   %  %   %  8)   P)  h)   p)  q)   )  )    )  )   )  )*  4 ,*  E*   H*  +   +  O+   P+  r+   t+  +  4 +  +  4 +  E,  d H,  ,  p ,  ,  4 ,  <-   <-  .  $ .  F/   H/  K0  < L0  0  4 0  0   0  0   0  1   1  1  4 1  41  4 41  1  P 1  1   1  e8   h8  9   9  9  4  :  F:  4 H:  :  4 :  :   :  E;   H;  o;   p;  ;  4 ;  ;   ;  R<  4 T<  R>   T>  ?   ?  ?   ?  D   D  F  4 F  H  x H  SJ  ` TJ  J  4 J  J  4 J  :K   <K  &M   (M  M   M  :O   <O  O  p O  P  D P  LQ  p Q  Q  P Q  
R  X R  6R  ` @R  R  h R  S  p S  =S  4 @S  S   S  {T   T  T    U  U   U  LV   LV  A[   D[  [   \  \   ]  ]  p ]  ]   ]  ^   ^  Y^   \^  ^   ^  9`  p <`  t`   t`  ?a  h @a  b  @ b  :b  4 <b  ]b   `b  b  ( b  d   d  !e  4 $e  f   f  g    g  /h   0h  qh   th  h   h  h   h  h   h  3i   4i  Tj    Tj  j   j  j   j  k   k  Ik  4 Tk  k  4 k  k   l  l   l  (l   (l  ]l   `l  pl   pl  l  < l  m  4 m  nm   pm  m  \ m  Xn  p Xn  o  p Do  v   v  x   x  z   z  |   d}  !~   L       ́    @  O   O            6   8       ވ          =   @       h   h       O    P       ʙ   ̙  h   h  ۚ     V   X    D    ݜ        \   ]  l p     $       ܡ   ܡ  7   @  ۣ   ܣ       Ƥ   Ȥ     X    4   ¥  4 ĥ            C   D    p   ɦ  ( ̦  +  L ,                 {   |    4        6  4 8                         Q  4 T    4     4     4   f   t                       c   d  ٰ  4 ܰ  A  4 D  <   <  U   X  y   |     p    ?  x T    4 ȶ  d   d  E  8 H    `        t  p t  F   P            ߻       \   `   `       )   ,  t  4     4   [   \    4     4   i  4 l       5   8    $          <     X        1   4            #   $       <   <  X   X    x            X  6  0 8  F  $ H    p          4   L  4 L    4        x   x  d  D d       ?   @       <  4 <  _  < `  ?  X @    4               x     l                    B   D  {     )  4 ,       1   4    4 l           `           D         f  4  h  ~     e   h    L              Z  `     v  p            |   }          *  , 4   4     v   x  4  G ! H  !  Q t! T V ! X q ! t  !   H!  
 0!   { ! {  "  . (" 0      H"   8"  $  $ U" h" X" " X" " #  # A#  D# #  # c$   d$ 	% p % \% " \% & " T& ' p ' '  ' '  ' ( p ( )  ) *, " *, . # . l. # l. @ " @ A  A A  <B B  B "D (# $D E @# E F T# F F 4 F _G  `G ,H  xH H x# H I h# I 4J  4J RK # TK K   L L  L L # L [M 4 \M |M 4 |M M # M $N 4 N T # T U # U W # W Y $ Y Y  Y kZ ($ lZ -[  $ 0[ [  \ n\  p\ \  \ J]  L] ] 4 ] Z` L$ \` ` x$ ` ~a  a b $ b @c $ @c `c  `c c $ d  d $ `d d $ d g $ g g  g g 4 g \h $ \h {h 4 |h h  h :i 4 <i i  i tj % tj k % k k  % k 3l  4l 
o 0% `o o L% o p 4 p %p  (p p p% p p x% p oq x xq q  q r % r s   t t   t &t  0t Gt p Gt `t p `t tt p tt t  t t h t Xu  Xu u  u  v p  v v  v v p v v p v v p v &w p &w Aw p Aw [w p [w xw p xw w p w w p w w p w w p w w p w x p x -x p -x Gx p Gx ^x  ^x vx  vx x p x x p                                                                                                                                                                                                                                                                                                                             &  %  &  %  4&  $&  &  %  Z&  G&  P&  9&  0&   &  &  %  '  '  }'  v'  o'  e'  ['  Q'  G'  K(  D(  =(  6(  /(  %(  (  (  (  3)  ,)  %)  )  )  )  	)  )  (      2  3  X2  2  
3  2  2  `2  2  2  2  @2  2  2  x2   2  4  4  4  4  4  4  4  y4  e4  6  6  6  5  5  5  5  5  5  r7  k7  ]7  O7  A7  37  %7  7  	7                                                                                                                                                                                                            0                 	  H   ` }                  <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level='asInvoker' uiAccess='false' />
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>
                                       آ HPpУ  0@P`pФ  0@P`pХ  0@P`pЦ  0@P`pЧ  0@P`pШ  0@P`pЩ  0@P`p        8@Hhpx 08@HPX`hxȨب ȫЫث  (08@HPX`hpxȬЬج  (08@HPX`hpxȭЭح  (08@HPX    \    (08ȢТآ  `hpxȩЩة      xȠؠ(8HXhxȡء(8HXhxȢآ(8HXhxȣأ(8HXhxȤؤ(8HXhxȥإ(8HXhxȦئ(8HXhxȧا(8HXhxȨب(8HXhxȩة(8HXhxȪت(8HXhxȫث(8HXhxȬج(8HXhxȭح(8HXhx     Ъ  0@P`pЫ  0@P`pЬ  0@P`pЭ  0@P`pЮ  0@P`pЯ    ,    0@P`pР  0@P`pС  0@P`pТ  0@P`pУ  0@P`pФ  0@P`pХ  0@P`pЦ  0@P`pЧ  0@P`pШ          x ȩ 0 \   `Ƞ(XpxpxȨШب 8@HxȪ                                                                                                                                                                                                                                                                                                                                                                                       MZ                @                                      	!L!This program cannot be run in DOS mode.
$       u&&&'&'&'&%'&%'&%'&'&&&C'&C'&C&&C'&Rich&                        PE  d (	,e         " # l                                                 `                                   p' X   ' (        `               
 p                            @              $& @                   .text   k     l                   `.rdata  ,        p             @  @.data      @     "             @  .pdata     `     .             @  @_RDATA  \        D             @  @.rsrc           F             @  @.reloc          H             @  B                                                                                                                                                                                                                H(Hu!HHH G  u3H(H%o 3H(H\$H|$ UHl$H   H/ H3HEG3HE   H\$(LMLEH\$ H^: tDCHW H wO  HULEE3H7: tA   H& Hw FO  HULEE3H: tA   H HF O  HU'LEE3H9 tA   H H N  HU/LEH9 tA   H H N  HU7LEH9 tA    Hh H N  LEEMLHULEt9 t1HE˃2
ALEHUIMHLEHU;r+ˉM   L]LM?A   MIBAAIuDAEt4HE?fD  HH3
IHULEHIHULEAuًMLM?t=@ f     MIMA2AA LEHUIMHLEHUu3HMGH3  L$   I[ I{(I]H\$H|$ UHHpH- H3HE3HE   H\$(LMLEH\$ H7 tDC[H H L  HULMLEH7 tAb   H H L  HULEE3Hz7 tAe   Hi H L  HMHUHt,t'HEЋ˃0
HUHMHHUH;rԋH+HM   LULEA       M@BA@IuLIEt#HEfD  H1HUHHUAuHMLEt3@ ff     A M@HHM0HUHMHHUHu3HMH3  L\$pI[ I{(I]H\$WH0HD$HHHD$(LE3HD$     3H;6 tA   H
 H[ *K  HD$PE3HD$(L3HD$     H5 tA   H H J  LL$HL) HH5 tA   H H J  LL$PL HH|5 tA   H[ H {J  HH\$@H0_Hy4 H%:5 HK5     HL$HT$LD$LL$ HhfD$ fL$0fT$@f\$PHH  ;Y foD$ foL$0foT$@fo\$PHL$pHT$xL$   L$   Hh H4 {H4 oH4 cH4 WHn4 Kff     H;q) uHfuH  H(t9t(tt
   H(  S  H(IH(   MH(  H\$Ht$H|$ AVH HL3     y  ؈D$@@=9     q9      tO
    %  Hk H[k I  u)a  t H:k H#k I  9    @2  @u?	  HH8 t$H#  tLƺ   IHLj A=3    3H\$0Ht$8H|$HH A^ù     H\$WH0@2 3H\$@H0_ȉ2 _  ؈D$ =j8 u7s    
  %R8    3@)  ۃu  뢹   K  HHX L@PHHVWAVH@ILu9`2 3   BwEH`j Hu
D$0   i ؉D$0   LƋI؉D$0   LƋI-  ؉D$0u6u2L3I  HHi HtL3I$i tu@LƋI.؉D$0t)Hi Hu	X\$0LƋIh ؉D$03ۉ\$0H\$xH@A^_^H\$Ht$WH IHu  LǋHH\$0Ht$8H _@SH H3f He f HȺ	 H [H%e HL$H8   e t   )Hf1   HD$8HM2 HD$8HH1 H62 H0 HD$@H1 0 	 {0    0       Hk H}0 H      Hk H% HL    HkH % HL H<h H8H(      H(̉L$H(   	e tD$0)H~0 q   HD$(He1 HD$(HH0 HN1 H/ / 	 /    /       Hk H/ T$0HHg MH(H\$ WH@H5d H   HT$PHE3%d Ht2Hd$8 HL$XHT$PLHL$0LHL$`HL$(3H\$ c H\$hH@_@SVWH@Hc H   3E3HT$`Hc Ht9Hd$8 HL$hHT$`LHL$0LHL$pHL$(3H\$ c ǃ|H@_^[H\$ UHH HH# H2-+  H;utHe HMc HEHEtc H1E`c HM H1EHc E HMH H3E H3EH3H  H#H3-+  H;HDH" H\$HHH" H ]ø   H93 H%c H)3 	  H-3 H-3 H(H$HH(H(  t!eH%0   HHH;t3H2 u2H(ðH(k  t  [0J  t2M  H(H(3=  H(H(  u2P  u  H(H(P    H(H\$Hl$Ht$WH IIH  uuL3HHc HT$XL$PH\$0Hl$8Ht$@H _B  H(  tH1 H(wN  G  uF  H(H(3eP  H(  @SH 1 ɻ   DÈ1 v    u2O  u	3  H [@SH =d1  ugwj  t(u$HN1 N  uHV1 	N  t.23foc H1 H&1 &1 H/1 0 H [ù      HLMZ  f9uxHc4HHʁ9PE  u_  f9AuTL+QHHAHLH$I;tJL;r
BL;rH(3Hu2z$ }2
22H@SH   3҅tuH&0 H [@SH =0  tuvN  C  H [H-< Ã%%0  H\$UH$@H  ٹ   B_ t)   3HMA    HM^ H   H  HE3^ Ht<Hd$8 H  H  LHL$0LH  HL$(HMHL$ 3^ H  HL$PH   3H  A   HH     H  HD$`D$P  @D$T   ^ HD$PHD$@HEHD$H3-^ HL$@^ uuHH$  H  ]H\$WH H H= HHt8` HH;rH\$0H _H\$WH H{ H=t HHt_ HH;rH\$0H _  H\$Ht$WH33DE3DAntelAineIDˋ3ACEAGenu$Eщ\$L$T$u[H %?H    = t(=` t!=p t w$H     HsD- AD- D-    DH;|&3$Dۉ\$L$T$	s
EDr- t    Dq    D\    U syss3H HHT$ HD$ ":uW'      A t8        D#D;uHD$ $<u @ H\$(3Ht$0H_398 H\$Hl$Ht$WATAUAVAWH@HMIIL  MgM7I_8M+EfAH   Hl$0Ht$8;;v  HDL;   DL;   |    |tDHL$0IIЅx}~t} csmu(H=I^  tH@^ ;M t   H)^ LA   II  IG@LŋTIDM IHD$(IG(HD$ [   53   Iw I+   HɋDL;   DL;syDUA tDE3Ʌt8EMBDH;r BDH;sDB9DuDB9DtAD;rD;u7DtH;uEu%GIAGHDDMAǋ;`   L\$@I[0Ik8Is@IA_A^A]A\_H;tH	HA	H+Њ:u
Hu3@SH Y HtHH I  HHuH [H(  u26  u  H(H([  HH(H(3  H(H(u
7    H(H(  H(HtgT$HH9csmuSyuMA - w@HA0Ht7HcPtHQ8HI(*     tHA(HHtHH@Z HHH@SH Hr  HPX	H9tHRHuBH [3HcHz |LcJHcRI	Lc
MIH\$WH H9Hف?RCCt?MOCt
?csmt"  x0 ~  H0H\$03H _  Hx H[  HX(G  H(G  ff     WHII_ff     HLLCILfInI    IG  MALYDYfDYDYLYDYfDYfffffff     LYDYDY LYDYLYfDYDYLYDYLYfDYLYÐflI wBDÃ=   L; vL; wp' }LII I+I+MI   veL;\    ffffff     A A@A`            H   I   I   sMHIMIG@ MAġ~	 ġ~	 ġ~	@ġ~	`ġ~D	ġ~D	ġ~D	ġ~D wfffff     A A@A`灀   灠         H   I   I   sMHIMIGd MAġ}	 ġ}	 ġ}	@ġ}	`ġ}D	ġ}D	ġ}D	ġ~D wff     L; v% LIII+I+MI   vKfffff     ffAfA fA0fA@fAPfA`fApH   I   I   sMHIMIG MABD	BD	BD	BD	BD	BD	BD	BD ff     HL$HT$DD$I ff     HU HH;t#eH%0   H   H;HrH;Hv   )H(HtH$ H;tB  H(@SH HًE t3HuN  0 H3  HtHj$ H;tHB  H [H(   HtH(B  H\$Ht$WH = u3   3S    H3H;tgHtH]   tN   JUv   HHt$H  tHCxHHS 3  HA  R HH\$0Ht$8H _H(H   t%HV# _  t#    2H(H( t   H(@SH 3H}# E3HHʺ  L  t# ÃrӰ
   2H [@SH `# H/# HHQ A# u߰H [HLH L@HPHHSHpHك` HHL@HT$XH@_S D$@     D$@Hp[H\$Hl$Ht$WH yHt+_HH@`HHcEH;p~;p~3H\$0Hl$8Ht$@H _@SH HHH$  H~HH [H\$Ht$WH LL$HIHE   HHH  H9HuADHLHH   H\$0Ht$8H _H\$Hl$VWATAVAWH ApLIIMLz  M$LtwIcFNHHI_;k~;kIHT$PE3qO LcC3LD$PDKDEtIPHcI;tHA;rA;sI$HIcLHHH\$XHHl$`H A_A^A\_^H\$Hl$Ht$WATAUAVAWH@H$   LHIHIEDs  E3ҋE   L_Hc[DDADBKI;t~;t~AEuEtBHHIIIAHtB9~#B9AD;9|D;yE;AEAEDAHE;rE;Ld$ ALd$0AEL\$@I[0Is@D$(AED$ DEHDT$8L$0E MIk8IA_A^A]A\_=  @UHl$H   H H3HELUwH^  LHL$0H@ IH0A @@I0HPA@@`IP   A`@pH   Ap   H   Hl  IHEHEOHEHcE_HEHEWHEEHEIB@HD$(IB(LME3LELD$0HUIHD$ HE ZM HMH3NH   ]@SH HHH;XXsHHX3HKHXXHH [H\$WH HH;xXu5HPXHt'HZH;t
HHtfHXXH\$0H _N<  H(GH@`H(H(3H@hH(@SH HHX`H [@SH HHXhH [HHXHhHp WH@IYIIHPHHX`H]8HXhHO8LLƋHHP`3D$8HD$0D$(HT$ HT$P  H\$XHl$`Ht$hH@_ff     WVHHI^_ff     HLI  ffff     G MAÐLJDJDRL HfDHDPLJDJ
L fHDH

fÐ
DBDJfD@DHLJDJL HfDH
DBfD@ÐLJDJL HDHLJL fHLJL HLJL HË
DBfD@Ë
DBD@H
H
Ë
ÐI wo
BoT	BTH;sNI;A  =	   I    vI   w doġ~olI      LII I+I+MI      I   >  ffffff     o
oR oZ@ob`	Q Y@a`o   o   o   o               H   H   I   I   xMHIMIG MAġ~o
 ġ~	 ġ~o
 ġ~	 ġ~o
@ġ~	@ġ~o
`ġ~	`ġ~oL
ġ~L	ġ~oL
ġ~L	ġ~oL
ġ~L	ġ~l wfo
oR oZ@ob`	Q Y@a`o   o   o   o   牀   瑠         H   H   I   I   xMHIMIG MAġ~o
 ġ}	 ġ~o
 ġ}	 ġ~o
@ġ}	@ġ~o
`ġ}	`ġ~oL
ġ}L	ġ~oL
ġ}L	ġ~oL
ġ}L	ġ~l wfffffff     I   v oBolI      LIII+I+MI   vqD  o
oRoZ ob0f	fQfY fa0oJ@oRPoZ`obpfI@fQPfY`fapH   H   I   I   sMHIMIG8 MABoL
BL	BoL
BL	BoL
BL	BoL
BL	BoL
BL	BoL
BL	BoL
BL	Bl f     LLH+IDHItHHLM+MIto)fffff     )A)	DLH   )Ap)I`DPL@I)AP)I@D0L )A0)I Du)AI(MItff     HIuItA
AIH\$Hl$Ht$WATAUAVAWH L=sIMILIHR I;   H   M;   u I0R HtI;   kM 3IA   E HHuVD Wu-DCIHV g  tE33ID HHuIL=I0R HI;gHL=I0R Ht	HD IH{D HtHIHR 
MHR 3H\$PHl$XHt$`H A_A^A]A\_@SH HLU 3LU HU HtHH [H%E H [H%C @SH LU    LU HU AHtH [H%VE H [H%C @SH LU    L}U H~U HtH [H%E H [H%JC H\$WH HL\U HSU    L?U HӋHtD 
C H\$0H _H\$Ht$WH ALU L
U HHU    NHHtDcD B H\$0Ht$8H _H(McHMHAuLI   H(@SH LL$@IHHcCHL$@DH [HcRHDH\$WH AILL$@zHHcCHL$@;|~|H\$0H _L    @SH IHtRLcYLRKHtADAE3Et0KJcIH;rAE;rEtAIIBDH [Ã0  H\$Ht$H|$AUAVAWH0MIHL3A9xtMcxRIHDHw  Et3HHcCHH@8yT  9{u9;G  9;|
HcCHHt2At,H! Ht B H/  H&  HH_tIM(H  H  H?AtJIU(H   H   McFHA~   H9>   HIV`H   A9~tIc^]HHϋHu4I9}(   H   Ic^IVIM(HLH;I9}(tiHtdtHIcFHHHtGA$L$ 3H\$PHt$XH|$`H0A_A^A].  .  .  .  .  .  H\$Ht$H|$AVH IL3A9}HIcpH2t<ugHWIN(>L9_tEHc_HA   MHH  0HWIN(L9_tHc_HMHH]  H\$0Ht$8H|$@H A^.  HHXL@UVWATAUAVAWH`L$   MLLHHMIIL$   LH$   MtLHHH$   Y9SHcNML$   H$   HՈL$PIL|$HHt$@\$8|$0Ll$(HD$ {H$   H`A_A^A]A\_^]@USVWATAUAVAWHl$H(  H  H3HEH   LL   MLD$hHHT$xLILmID$` I  Da  ;GX  ;csm   {   C -    H{0    Hx    HX }HK8D$`Lx(L|$hV;csmu{uC - wH{0   ;Hx8 t</Lx8&IHH`8   uI  j  A  L|$hHFHEH};csm  {  C -   E3D9     HUD$(HMLH|$ ErEEfsf~;E  LMDmLMHEH HcPAHIALA IcL Mf~EA;6  HEH D;%  EHHVL}I HUE   AHEDEHK0HHcQHHD$pHK0HcQL$d~<HL$pLC0Hc	HHMHHEL  u%D$dHD$pȉD$dAE;toHUl   LLd$xHLD$hIԈD$XD$`D$PHEHD$H   D$@HEHD$8HEHD$0HEHD$(H|$ Ld$x	Ld$xLME3AD;m%=!   D9 tHcO Hu!G$   HH5   G$  D9 tDHHcG HIH-     LMLHIs   LLD$hHӈL$PHt$HL|$@L$8L$0IH|$(L|$ C= v7          LLl$8MǉD$0IDt$(HH|$ |   Hx8 ugHMH34H(  A_A^A]A\_^[]òHHM  H HM  '  HX HL$hHH('  l(  HHX L@HPUVWATAUAVAWHhH   9  IMLtn1DeoH}gHx tu38 HH9Xt_A>MOCtVA>RCCDmwtMHELHUOMDd$8IHD$0Dl$(H|$ tH$  H   A_A^A]A\_^]DmwHFHEH} :  Dl$(HULH|$ EHMREEfsf~;EsLMD}LMGHEH HcPAHIALA IcT Uf~EA;   HEH D;   HEH^H HHHHڃ{ t-LckItEtHcKH3x uMDmw@uDHELLEWIHUOD$X D$PHD$HHEDl$@HD$8Hd$0 H\$(H|$ [DmwALMGD;}P&  HHXHhHpHx AVH 3MHH9Y   HcqLL   tHcwHHˋ8Y   t
E    tHHcGHHHHcEHH;tK9_tXHHcGHHXLcEILHFL+B +uHut39E tt$AttAttAtt      H\$0Hl$8Ht$@H|$HH A^HHXHhHpHx AVHPHIIMH;H$   )  &  x@ u8?csmt09uuH` t9t%="r
C$  Gf   { {  $    m  G t]9u7LF HHk  ;Cb  DHHL  ,  9uDO8A:  D;K0  HO(LHH   { uB%=!r{  tHcK Hu %="   C$   ?csmunrh "v_HG0x tULHO0LHcQLt@$   L΋$   MƉL$8HH$   HL$0HωD$(IH\$ 5 >H$   LHD$8MƋ$   HՉD$0Hϊ$   D$(H\$    H\$`Hl$hHt$pH|$xHPA^"  @SH HHHE WHHSHH  HE HHH [Ha HE HAHE HH@SH HHHuE WHHSHH  HH [HME HH)  H\$WH H/E HHH  t   H`% H\$0HH _@SVWATAUAVAWHpHE3D|$ D!$   L!|$(L!$   Lh(Ll$@H@ H$   HwPH$   HGHHD$0H_@HG0HD$HLw(Lt$PHaHp XHX(OHP HR(HL$`]LHD$8L9XtǄ$      HHpH$   A   IHL$Ht  HHD$(H$   xD$    `@ H$   $    t!HH$   LH D@PLN DFV{1 D|$ H\$(Ll$@H$   Lt$PLd$8IEu2>csmu*~u$F - wHN(t
HC2Hx )Lh(HD$0HcHIHHHpA_A^A]A\_^[H\$WH L	IA  AcsmE9uZAy   A uAA A+wHB(I9A(DωE9u(Ayu!AI A+ʃwIy0 ux@ǉ;3H\$0H _DL$ LD$HL$SVWATAUAVAWH0EIHLLHD$(LHIK(@0   A;     ;~  LcHcNJ<|$ HcNJ| tHcNJHc\oH3HtYDHIPHcNJ| t<HcNJHc\*H3A  IH  I2D$   H$   L|$pLl$(|$ |$$,x0 ~!H0tA;$DHIvH0A_A^A]A\_^[    H\$Hl$Ht$WH HIIH{LL$HLHH͋LHH;~#DHL$HHDLHHLHHHl$8H\$0Ht$@H _H\$Hl$Ht$ WATAUAVAWH HLH   E2392   HIE0Lc`ILHIE0HcHD4
E~THcHHD$XI]0HIc$HtHT$XLHcMHHHYuAIEA;u qH\$PAHl$`Ht$hH A_A^A]A\_`  H\$Hl$Ht$WH 3H9)~P3HcOHƃ| tHcOHHc\H3HHHZ =t!H;/|2H\$0Hl$8Ht$@H _ðHIHILHEIHy H> HEAff     H(HL$0HT$8DD$@HHHHT$8HA   uH(ff     H(HL$0HT$8DD$@HHBkH(H(HL$0HT$8HT$8HA   H(@ H(HL$0HT$8LD$@DL$HEHHL$@HHT$8A   H(H\$Ht$H|$AVH y LHtLHHtDHHǀ<8 uHO  HHtLHWH  HAFI3H  
HHB H\$0Ht$8H|$@H A^@SH y HtH	m  H# C H [H\$Ht$ WHPHH HttH	HHHX0H@@, HT$ H~* HD$ HtuHu @   H|$(LL$(Ht$0csmH\$8HD$@DB0* H\$pHt$xHP_H\$Ht$WH A HHqHt=  u NU  HHH   HH   HOHX  HHW>Y  H  u  GH\$0HHt$8H _LLEIAA@EH BEGȍJ IÃAG+uEuH(=  u-HuQ      O  H(HtH(E3H(   H\$WH@HHHuP      O  QHtIHL$ HD$(L  HB HB +uu|$8 tHL$   H\$PH@_H\$UVWH  HZ H3H$  AHH3A  HL$0ILHl$(Lǉ\$ @  HL$0g   A  H: HL$0^  t0tu;H$  H3bH$  H  _^]ù   ug         @SUVWATAUAVAWHh  H H3H$P  H$  ML: MHHJZ  E3  Lx< HHY  u  L: HHY  [  
  HL$@D3LD$0Lt$0HAN,'   HT$@DHH#L$0HL$0' uL; HL$@Y    HHL$@HHD$@HfD94PuHBH@vBHUH+HL$@HuhN      4  H  y; t; fALHHX  r  LW; HHX  X  L9 HH~X  >  HHfE94GuHH@  HHfE94wuADwA   f\t#IOHqf/tL;sHIf\uLM+I&vnI   A5   MM+HHX  E3  L: HHW    Og   L3/M   "   K  g  sVIA5   M+MHHcX  @  L : HHiW  &  I+HHMwOW  E3   A#   MHHX  E3  L9 HHW    OgHENHW    L9 HHV    MGMpMHHV    Lf9 HHV  g  L7 HHV  M  HHfD94CuHHfD94KuHKLǋ$  L+A
   U    L8 HH5V     LR7 HHV     HHfD94CuH   HfE9tm uHMHHH;v$LL+IV     Lr8 HHU  uLh8 HHU  uiL6 HHU  uSL<8 HHyU  u=L7 HHcU  u'H$P  H3kHh  A_A^A]A\_^][E3E3Lt$ E333I  DD$HT$HL$HH      Z  HHL$h   H}  u   Z  E3H3EAF`  3O     HD$hZ  HD$0LL$XHD$`LD$PHD$ HT$hHL$0      ^Z  Hf^  )  HD$(M	M HDH	DT$(r  HHH\$ UVWH  H H3H$  HAH! HHHHwkH! u]l$(L4 LHt$ @  HL$@:  3x5HL$@HHf9<AuLL$0|$0DH|$ HT$@Ho! u#H$  H3諶H$  H  _^]+  H3 HH  H\$Hl$Ht$WH Hl$(H   AHR  t3u
^Q  t%LDHHH\$0Hl$8Ht$@H _DHHHHPL@LH SVWH0HHpHǼE3Ht$ LHH%?  H0_^[LD$LL$ SUVWH8IHl$xHH胼Hl$(LHd$  LHH?  HH8_^][H;t;H\$WH HHHHtIpHV>C! HH;uH\$0H _H\$WH HHH;t%HHtIp0R^G'  uHH;3H\$0H _̸csm;t3Ë   H\$Hl$Ht$WH HbL  E3HHtHHL   I;t98t HI;u3H\$0Hl$8Ht$@H _HtL@MtIu
LHA@IuHkHsx   H0H   LIHH;u8  {tz8  tk8  t\8  tM8  t>8  t/8  t 8 t8 u@   6   /   (   !               SIp30O   Iw {LHIpsPIƋHIX HkH\$LL$ WH II
`  H   _`  H\$0H _@SH0Hـ=         Hu>HS H H;t"ȃ?H3HIp(xE.E333 H uH g	  H8 uH H H H HC8 uL HC H0[2  DD$T$UHHPHEH\$`EuJ3 Ht=MZ  f9u3HcH<Hȁ9PE  u$  f9Au   v    t   E( HEHEHE HEHE(HE   EԉELMLEHUHMQ}  tH\$`HP]Ë   @SH '   t	 Hȋ /    H(_  t^  2H(@SH0HD$ Hd$H LD$HH2 3 HL$Ht)H2 G HtIp{Z^ HL$HHt H0[H 33DB[E3APLn H\$Hl$Ht$WATAUAVAWH Ld$pMILHI$$ I   HtHI@2?"Lu@@"@H:I$HtH7Hǋu  tI$HtHI@t@u@ t@	uHt	C H@2   < t<	uHǊ   MtIIIE    3H\t"u1u@t
8OuH	3@@Ht\HI$utF@u< t=<	t9t-HtH,t  tI$HHtHI$HeHt HI$ MtI& IE H\$PHl$XHt$`H A_A^A]A\_@SH HLH;s=3HIL;s/HMHHI;vIɺ   \  3HX]  H3H [H\$UVWAVAWHH03DS  Av@  _M?  5  uo  H A  H3M  H5+ H Ht@8>uHHEHH}@LM@HD$ E3H}H3HAL}@A   HUHIHHu@     3ɉ\  jNHHEHHLM@HD$ AuE@H s 3iHU8H}8Hf  tHM8$\  HH}8\  ?HU8HHH9:tH@HH98u 3H}8H [  HH}8[  H\$`H0A_A^_^]H\$WH 3H9= t3On  is  HHu3[  1H5   HuH H 3b[  HZ[  H\$0H _HHXHhHpHx AVH0H3LƊ%=HAHDHHHA<  uILAuH   yZ  HHu3Z  3rLt_HHŀ<. uH<=t5   H<Z  HHt%LHH  3ɅuGI>IZ  HHC   3xZ  3oZ  HH\$@Hl$HHt$PH|$XH0A^Hd$  E3E33<  Ht;H\$WH HHHHZ  HHHuHZ  H\$0H _H(H	H; tH(H(H	H; tH(H8HD$ H H H QH H8AH\$LL$ WH II
`W  H   W  H\$0H _H\$Hl$Ht$WAVAWH HHHHu   L AIH3:?HIH3ZHHGH   AM?LHHH;r_HI;tI3L3HIpHV> L( HAȃ?MHIL3
H3BIHM;uH;tMIHHHtHWX  L HHLHHLAHHLA3H\$@Hl$HHt$PH A_A^_LIKH8ICICIC   D$PD$XMKMCIS IKgH8HuHAH9uHG HHAHA3H H H(H H H(̰H(H(@SH H H8  H{  H_R  Hc|  HH [3驸@SH H uH HU H;tV  H H [H(H V  H H%  V  H H%  V  H H%  V  H%  H(H	* H) z  H(+?  HH(H([=  H(H(tH=  t	N  H(H) H( H(Wz  H(@  H(H(G=  H@HtIpHV>     D$    D$U  |  @SH 3HtHtMu9     7  H [LL+CAItHuHuو8  "   H(?P  Ht
   P   t*    t   )A     @AHy4     {H\$LL$ WH IIH
#I  H  HI  H\$0H _H\$Hl$Ht$WH HHH;vA@02A@,   \3H4H9  u	H   v	H;   w7H {  HHtH  DT  H  @H   3,T  @H\$0Hl$8Ht$@H _H\$Hl$Ht$WH H?HH;vA@02A@,   `3H4    H9  u	H   v	H;   w7Htz  HHtH  S  H  @H   3S  @H\$0Hl$8Ht$@H _EAt2At)A	t#AtA  fcfAtHð2H\$HL$UVWATAUAVAWH   L"E3L$   EHMuf6      5  2EtEA@"v<HL$(E3A0E3A,   33LT$ 4  HOH;  HH0  A$IL$AEH
  f-ECfu
HAHǄ$   	  	  D$0f
  0   D$4p
    D$8
  A`  D$<
  DXD$@f  A  D$Dp  D$Hf  D$Lp  D$P  D$T  D$Xf  D$\p  D$`P  D$dZ  D$h  D$l  D$p   D$t*  D$x@  D$|J  Ǆ$     Ǆ$     Ǆ$     Ǆ$     Ǆ$      A]  f;  f:s
+  f;  fA;  j  f;sA+  fA;~    f;sA+d  fA;_  p	  f;sA+E  f;A  f;$   s-	  %  L$0f;  f;\$4XL$8f;  f;\$<@L$@f;   f;\$D(L$Hf;   f;\$LL$Pf;   f;\$TL$Xf;   f;\$\L$`f;   f;\$dL$hf;ryf;\$lL$pf;ref;\$tL$xf;rQf;\$|$   f;r:f;$   r$   f+f	wZf;$   s
+u"$   ˍA;Av;wm;wAɅu_HA  LALBfAt1EH   AEDft;f9t62      W1  E3!AI@H   
   EAED3҃AAa   `  DA  EkfA;  f:sA+  fA;u  f;  j  f;s
+h    f;_  H
f;s
+H  f	  f;?  H
f;rAvf;+  f;$   rʋD$0f;  f;\$4rD$8f;   f;\$<rD$@f;   f;\$DrD$Hf;   f;\$LvD$Pf;   f;\$T^D$Xf;   f;\$\FD$`f;   f;\$d.D$hf;r|f;\$lD$pf;rhf;\$tD$xf;rTf;\$|$   f;r=f;$   $   f+f	w+f;$   sA+̃u4˃ArZvA;rfzwfA+f;$   wLA;s8AAAǍA;AE;DI@HL$   I@L$      Hftf9t/      .  @uHGL'HtL 3   A   EH@t	   @tY@tE;vTE;vP   #AE0AE,"   uA0HWtHtHH
A*HtHH
A@tAHWHtHH
AH$   HĠ   A_A^A]A\_^]HHXHhHpHx AVH0DA4@HA   A   t-E  A   At]A   A   Q(IHIHAHCH1tHy	Hރ@S({0    C0      Q(   HIHAHCtH11뫋Q(   HI@HAHCtH11A\ARAH/HAE3E33@0@,   HA3HD$(Hd$  +  2   Q(   HIHAHCtHc11LCHKPS(HcS0Huc(CLDHI;u
HR  e  C(t#{H 0   t	HC@f9tHC@HK@fCHH\$@Hl$HHt$PH|$XH0A^HHXHhHpHx AVH0DA4@HA   A   t-E  A   At]A   A   Q(IHIHAHCH1tHy	Hރ@S({0    C0      Q(   HIHAHCtH11뫋Q(   HI@HAHCtH11A\ARAH/HAE3E33@0@,   HA3HD$(Hd$  )  2   Q(   HIHAHCtHc11LCHKPS(HcS0Huc(CLDHI;u
H    C(t#{H 0   t	HC@f9tHC@HK@fCHH\$@Hl$HHt$PH|$XH0A^HHXHhHpHx AVH0DA4@HA   A   t-E  A   At]A   A   Q(IHIHAHCH1tHy	Hރ@S({0    C0      Q(   HIHAHCtH11뫋Q(   HI@HAHCtH11A\ARAH/HAE3E33@0@,   HA3HD$(Hd$  '  2   Q(   HIHAHCtHc11LCHKPS(HcS0Huc(CLDHI;u
H    C(t#{H 0   t	HC@f9tHC@HK@fCHH\$@Hl$HHt$PH|$XH0A^HX  LHPHu   HIP  HHAHIH@HLEP0DEt'fAABfA0A@0fEI@@I@@LH+HHAHHI@@H\$HX  LHPADHu   HIP  HH@LAMA@IMAI0EtSAAA0AfffD+AJ0Df9v4fAIA@IA@LH\$L+IHEAHIA@LIPEI  DHu   LHP  HH@IAHQ@HLDA0EEtCA@EfAAfA0A0fA9vA4ADfEHA@HA@LH+HHQHHA@HX  LHPHu   HIP  HHAHIH@HLEP0LEHt(fAHABfA0A@0fEI@@I@@LH+HHAHHI@@H\$HX  LHPALHu   HIP  HH@LAMA@IMAI0MtYAAA0HIHfffD+AJ0Lf9v4fAIA@IA@LH\$L+IHEAHIA@LIPEI  LHu   LHP  HH@IAHQ@HLDA0EMtCA@EfAIfA0A0fA9vA4ADfEHA@HA@LH+HHQHHA@H\$Ht$UWATAVAWH$`H  H  H3H  HHLqL8I5g  HKE3LWHS @LM	H:HKLHKHL$(HL$ Dd$@Dd$DLd$HDd$PDd$XfDd$ZDd$hDd$lfp  L  LT$ L\$0H|$8D    Hx  @  MLx  I@Ug  H  H3БL$  I[8Is@IA_A^A\_]HH   HDtЊA:tHЄuHt8	,Et	HuLHɊ<0tA:HQHEL+AHu@WH H9 HuIH\$86   D$0u3GHWHWHL$0)  L$0HH
  HH\$8t	HH _rLI[IkIs WH0HiHHAHIKHIKISH],AA
   ICHICM3HF8H0tx,"tHD$@H;FrHFHt$XH],H\$HHl$PH0_HHXHhHpHx AVH0HA3HH9`  u@0@,   t  HIHu.@0E3@,   E3HC3HD$(Ht$ 7     h  h        L50 sH@s$D	H  9s   Af+fZwAH+ŃALF@C$HȃAVC$<  Ȅ        tctVt"t  H  nHi  dfA*tHS0HOHKHAHCHωK03s0   fA*tHS,HKHAHCC,y	K(؉C,     fD;t3fA#t'fA+tfA-tfA0u{K(uK(oK(i	k(dK(^Hs(@s8{0s4@sLJLCCLH`  PtH`  H9ptH`  A[w    f;tC { HCDHHHKfDK:fE>h  h  C H\$@Hl$HHt$PH|$XH0A^HC@0@,   HCHD$(E3E3Ht$ 33  HHXHhHpHx AVH0HA3HH9`  u@0@,   {  HIHu.@0E3@,   E3HC3HD$(Ht$ g    h  h        L5` sH@s$DH  DK E  Af+fZwAH+ŃALF@C$HȃAVC$<  Ȅ        tctVt"t  H	  nHE  dfA*tHS0HHOHKHAHCHωK03s0   fA*tHS,HKHAHCC,y	K(؉C,!     fD;t3fA#t'fA+tfA-tfA0u~K(xK(rK(l	k(gK(aHs(@s8{0s4@sLMCLH`  HAH9Au@8qt	AAC ){ $AAC HAH`  HfDH`  H HCD HHHKfDC:fE7h  h  C H\$@Hl$HHt$PH|$XH0A^HC@0@,   HCHD$(E3E3Ht$ 33  H8A:fFu  A$H8<  fNuAs  A$HAE3E33@0@,   HA3HD$(Hd$    2=  y4 ufI   fL   fT   fhtxfjtfflt:ftt(fwtfz   A4      A4      A4      HAf8luHHA      A4   A4      HAf8huHHA   Ӹ   A4   pA4   gLAA f3ufAx2uI@A4
   HA@f6ufAx4u2I@A4   HA!fXf wH    HsA4	   H8H8A:fFu  A$H8P  fNuAs  A$HAE3E33@0@,   HA3HD$(Hd$    2=  y4 ufI   fL   fT   fhtxfjtfflt:ftt(fwtfz   A4      A4      A4      HAf8luHHA      A4   A4      HAf8huHHA   Ӹ   A4   pA4   gLAA f3ufAx2uI@A4
   HA@f6ufAx4u2I@A4   HA!fXf wH    HsA4	   H8H\$Hl$Ht$ WATAUAVAWHPH H3HD$@Q:x   HٍoDgDwɃdwi   Sw-   A+tt8tA+t	A;   .	     ;   Ztatc   3o     }     owOt-etA+tA+ttuo  aI(3TI(AtK(3Hz4ptstut;u(3l  A0   A4   A\E3u2R  D8k8E  K(3D$4IfD$8A    At3AtABfD$4At+   At	fDT$4IS:A  f+fAuEAuEfA+fAA0   EutfDLt4f;tfA;uf|t6Hk,A  +kH+udLsA~YH`  HAtH`  L9htH`  AM<n  fA;tA    K AC tA;|K HSL`  IH{ HAtIL9hu7HT$ LHT$4DI  K(At]AuUL{A~JIHAt	IL9htI0   Mm    f;tAtA;|D8kL  D9kH  HsD8n(uHR  ELc@D9kHtwHFHL$0LKIfDl$0Lc@^k  Lc   ILCL$0Pt
IHx tIl    f;tMAA    D;{HuA   D9/   C(A   HsA݅   IHAt	IL9htI    Lil    f;taAtXA;|OE3IHSDCHLS@HAtIL9huD^HT$ LII3  FAHL$@H3蛂L\$PI[8Ik@IsHIA_A^A]A\_H\$Hl$Ht$ WATAUAVAWHPHѫ H3HD$@x   HI:oɍwdwq   Sw/   +tt;tt	   Hm     ;   Ztatc   3H     H     owTt3ettttuyH5  hK(3HXK(tK(3H9ptstut;u-3H  C0   C4   HE3u2  D8k8  K(3D$4IfD$8A    t4tAD$fD$4t+   tfDd$4   DC:A  Af+fAuAuEAA0   f+fAEutfD|T4fD;tfD;uf|T6Hs,++sHugEͅ~`DC H`  HAH9AuD8itAADC $A@C HAH`  HfD!H`  H DC AtAD;|HCH{ DHD$ L`  LIHT$4  K(tXuPEŅ~IIHAH9AuD8itBHAIHfD9IH tAD;|D8kL   D9kH   HkD8m(uH  ELc@D9kHtkHEHL$0LKIfDl$0Lc@f  HcЅ~yIDD$0HAH9AuD8itHAIHfDIH LAD;{HuA    x{C(tqEŅ~jIHBH9Bu4D8jt'&HCLDCHIHS@HD$ O  믃AHBIHfD!IH tAD;|HL$@H36~L\$PI[8Ik@IsHIA_A^A]A\_H\$Ht$WH HQHHBHAH:Ht.HwHt%DA4Q:H	]Hs@tCLHM    HK@CL CHH\$0Ht$8H _H\$Hl$VWATHPI(HًA0A  yA:fAfA#fA0ufy:gtfy:GuA0      LAHyP]  HHcRA   u$HX   uA
HP  H荐S0S0H  HHDHC@3HKHD$pHAHCLX  L[H3k:D$pMuL   I$L   IHP  LP  IMHIL\$HD$@   Ht$8T$0H׉l$(HL$ HL$pO_  C(t|{0 uvH{( uH  HK@LODI  A<etIHDB@uA<xuDAI   HQHEHHADHDuC:fGfAu)C(uH{( uH  HK@HWHK@<-uK(@HHK@,I<%wH!   !   Hsc(s   fC:HH< uL\$PSHI[(Ik0IA\_^H\$Ht$WH ALHHQHBHA2Q:DA4H	uK@t$0HsD$18F(uH=  HFH{PH  HT$0HLLc@HDNb  yC8H{PH  HHDf1H  Ht$@HCH   HDHK@H\$8H _H\$WH0HQHHBHAH:c  u1HCE3E333@0@,   HCHD$(Hd$  v
  2NK4 t7tKtuC f'C  ttt
tuHcC HC8H\$@H0_ËC H\$Ht$WH HQHHBHAq0H:DA4DQ:Hy@H	t!HuH=  H{@HcHCLbO  HH  HEE3HK@H   CHH\$0Ht$8H _H\$Ht$WH HYH{( uHR   LO@E3҅~/A9 t)AHCHDQIIAICALID;|H\$0AHt$8H _H\$Ht$WH HIHWHHL   LL   LG LG5  LGHW H    u  G(H\$0Ht$8H _E   H\$Hl$Ht$WAVAWH LIcH	IHAH9Auy tA1JA	DH+ALH	H;LBK6L#IHILpIx t7L;tD7H\$@Hl$HHt$PH A_A^_H\$Hl$Ht$WAVAWH Ht$`IIcLLH^,H,BH;   IAPt
IHx tSILn`  I  f;u;~0 tH~,*uBAt
IHx tI?   L0`    f;tIL;wHl$HH^,H\$@Ht$PH A_A^_@USWHl$H   He E E E E MtA=ɳ  u EEHEHEwLEoHU_HMgHu.HEEHD$(E3Hd$  E33E   3q  LMtHE_HUHELMHEHUHELEHEgHEHUHEoHE'HMHEwHE/}uHM  } t]HMaX } t]HMLX$Hİ   _[]@USVWATAVAWH$H  HӞ H3H   Hp  E3Ld$PIDd$`HDd$xLDeDeHt D9%v u5 D$xD$hMu2HD$PEHD$(E3E3Ld$ 3D$|   3/  E  HtHtMDd$IfDd$MDd$OHt$0H\$8Ld$@Au
Dd$HHuD$HHD$PDeHEHMHD$0DeH  WHx  HELeDeDefDeDeDef  L}LMD  HcH   At/HutH  "  'HD$@H;uYxZH;vUMt!HtIyfD&?HD$@H;u0fDd^-HtHD$@H;uH  fDd^"  fD$FH  r"  |$xuHD$P  D8et\$|HL$PX D8et]HL$P	X$H   H35sH  A_A^A\_^[]ff     H+Mtj   t:
u]HItRtNH   uII
%  =  wHH;
uHIvMHI#It3HH   Mu3ftf;uHHIu
+H\$Ht$WH H13HHu;J  D$0@8{u
H{CH{HHL$0
  L$0HH  H\$8HHt$@H _H\$Ht$WH 3HH8Zu  H_G  HZHH\$0Ht$8H _H\$Ht$UWAVH$H  H H3H  Aكt{3HL$pA   s3HMA  bHD$pHD$HHMHEHD$P  L  HT$@IE3  Ht6Hd$8 HL$XHT$@LHL$0MHL$`HL$(HMHL$ 3b  H  H  H  Ht$pH   H  HE|$t  3ɋ/  HL$H  uutzH  H3apL$  I[(Is0IA^_]H H\$UHHpHe =  E E E E u6 EEHEHD$(HE0HD$ J   }uHE  } t]HMX } t]HMvX$H$   Hp]H\$Hl$Ht$WH0HAHL$hIHHtGH  Ht;Ip*W4HHL$`HHL$ LHDK  H\$@Hl$HHt$PH0_HT$hHz -LH L3؋ȃ?IMtIp*W4HIHD$`DLHD$ HH!   H8Hd$  E3E333H8H(   a  t   )A    AH,  HȺ H(H%!  3L  ID@;
t+IЃ-rAw   ÁD   AFAD@SH   Hu	Hӗ H$ˉ  H HtHH H [@SH HB8J4[C,C0H [H(k  Hu	Hk H$H(H(K  Hu	HG H H(H\$LL$ WH II
T  HHH      H\$0H _H\$LL$ WH II
  H3H	  R  H\$0H _H\$LL$ WH II
  HGHHHH	^  
  H\$0H _H\$LL$ WH II
  HHH   HtuH H;tT    H\$0H _@UHHPHMHEHELM    LE   E E(HEHEHEHE   EЉEHm HEQ(H  HEHH9 HE؉  HEH   JBHEHU(f   HEf  HMHEH   &LMLEHUHMHP]HtSH H   HV  H [@UHH@HEHMHEH(     E E(HEHE   EEHH;tH  HMHIp  HMHIX  HMHI`  HMHIh  HMHIH  HMHIP  HMHIx  HMH     HMH    LM LEHU(HMLMLEHUHM9H@]H\$WH HHH   Ht,W  H   H; tH H;ty uU  H   HtHU  H\$0H _@SH  t*f5  HHt 3Y5  HmH  H [H\$Ht$WH   m 3؃t5  HHt
HHDrG H4  uHZ         HHu34  3.  H4  u 34  HH3  #  HtH\$0HHt$8H _@SH  tN4  HHtHtxm H74  tc       f HHu34  3t  6H3  u< 33  HH3E  HH [H\$Ht$WH C   3؃t3  HHt
HHDrϑ H~3  uHZ     Z   HHu3Q3  3  H@3  u~ 3/3  HHN3    H\$0HHt$8H _H\$Ht$WH 3 3Ht2  HHtHtym H2  td        HHu32  3  7H2  u 3s2  HH3  Hi  HHt$8HH\$0H _H(H12  r u2THu	3   H(H(B t1  1 H(@SH H HH9t   u`T  HH [@SH H HJH9t  ߗ u(T  HH [@SH H HH9t   u'  HH [@SH H HJH9t  s uP'  HH [H\$Ht$LL$ WH0I
^  Hʢ H5+ H\$ H H;tH93tHHS  HH֋r  H\$@Ht$HH0_̸   m LH(   MKMCD$8ISD$@IK[H(̋F H\$Hl$Ht$WAVAWH E3AIHDLAD8|$`tAG-AfxLZM3AAMˋ3	ISDиW   DpfAFHffAEtLH;rH;rfD;"   X#fD:A A	fAIfAIM;r3H\$@Hl$HHt$PH A_A^_@SH03DHu?   H0[MtL$`fHAL;w"   AA"   ;wL$`AH0[H83A
uyD$ yH8H(хt,t't"t    c   H(@SH 3LHtHtMuf^   H [f9tHHufAL+AfHIftHufA"   @SH 3HtHtMuf   H [LL+CfAMIftHuHuf"   H\$WH E3HLMu,Hu,Hty   1DH\$0AH _MtHtMtMufDIfD9tHHufEIuL+AfHIft6Hu.Mt A M@fHftHtHuHufDHfIufET[DRPQfE"   4H\$Hl$Ht$WH@3AHHHu@8j(t@j(HjHjHj    f9)u4H9ju%@8j(t@j(O"   @k(Hk   HB@(Hl$8AHl$0Lǉl$(3ҋHl$ &  HcЅu  m LHKH;v@8k(t@k(HCAHl$8LHl$03҉L$(HD$ (&  HHtHHC 3H\$PHl$XHt$`H@_H\$H|$UH$`H  H H3H  AHA  HU  u  3   Hd$h HL$(HH\$H3HD$PHD$`H\$XD$p HD$0A  D9Hu|$@ tGHD$(  9*  u8D$@tHD$(  A   |$@ tHD$(  E3LD$ HT$HHMD$hH  H3_L$  I[I{ I]H\$Hl$Ht$WH AHH  @ƅtHt	H    t   CK  u2i,  t)-  u3HLD+  ,  H@ƃH\$0Hl$8Ht$@H _HHXHhHpHx AVH  3ۿ   u   ;LHcȺ      3H   H9 u/   =m Ha  3Hd   H9X uuHH5 L5  IN0E3  7)  H( L HHL4HŃ?HIHL(HHwHIXHHXHu3H\$0Hl$8Ht$@H|$HH A^̋Hw HkXH@SH   `P  3H HQ  H HH0%  HHuHd   H%W  H [H0H%  H0H%  H\$LL$ WH IIH
HSHHHt\I$tO$<uu
r8HC8 uHHA$tHH	7  tHC HCHcH\$0H _H\$LL$ VWAVH`II
  Hu Hcf L4H\$8I;   HHD$ HHt"H$t$<uurHHVHNHLD$ LD$@HD$HHL$PHT$XHD$ HD$(HD$0LL$(LD$@HT$0H$   멋  H$   H`A^_^H\$LL$ WH IIH
KHH	  HAH\$0H _ÈL$UHH@e( HE(e  LMHELEHEHEHUHE HEHM   EE} E EE(H@]H\$Hl$Ht$WH HHI$<uOtJ;+{c HsH3~6HaC  LDH֋W  ;t
KCtc3H\$0Hl$8Ht$@H _H\$H|$UHH`He Hك=K  E E E E u EEHu32HUt CtHB  UN  u3}uHE  } t]HM$X } t]HMX$H\$pH|$xH`]̱9H8HL$HHu%MQ$<uu
r32HD$HHD$XLL$PHD$HLD$XHT$ HD$PHL$@HD$ H8H\$LL$ WH IIH
H   HH\$0H _H\$Ht$WH HHHIH0H	HHSHKH	HL  HCHaHC tHCH HHH   @    ^HC HHu@QHy  3H  Hux :HCH H@  p H8HxHCH H  p HHH` 3H\$0Ht$8H _@USWHl$H   He =  E E E E u EELMoDEgHUHMHu.HEEHD$(E3Hd$  E33E   3lAtEtA@tA@uIAH=wHEoHMHELMHEHMHE'LEHEHE/HUHEgHE7HMwHEHE?}uHMǃ  } t]HMPX } t]HM;X$Hİ   _[]H\$LL$ WH I
C  H ȃ?Hۓ H3Hˋv  HH\$0H _LH(   MKMCD$8ISD$@IKH(Hy Hz H{ H| H\$Ht$ WATAUAVAWH@E3D!|$xADt$pуt'tRttHtCtt	         	      ty3   LHuL\$@I[@IsHIA_A^A]A\_H H  HH	9XtHH;u3HuV    HxE2Dt$p"H=p H=_ H=f H=E E3Et
AM  H7EtH~ ȃ?H3HH   H  A	  w5As/MoLl$0Ig uR@D$xD$ }@   u1H  HIH  HHHD$(H;tH` HHq} HA	  Et
   '  Hu3u#Ip30OPHL  AIpsPIƋHH  ҃wAsMouL$xHEtN      @SH 3H E3HHʺ    t ÃrӰ	3$   2H [HcHH HH%  @SH Ē H HH   u߰H [HcHHZ HH%Ǽ  eH%0   HH`   $eH%0   HH`HA @H(B u/D$0   u
HL$0  3|$0ȇ H(@SH 3ۉ\$0u
HL$0!  |$0ËH [@SH Б uL   \$0Uu
HL$0  L$0ttt
uY      ˇ H [@SH LHHt3HBHI;rCIظ   HHDR  t(H$  tH' Lú     Ht    3H [Ht6SH L3H л  u  wDH [H;s3H;HHXHhHpHx AVH0E3AHHHu$D8r(tHJwDs(LsLsLs   D81uUL9ruED8r(tHJHDs(   &  HCIHЃK(HS   HCfD0ADt$(LLt$ AQ
H  Hcu  K }HSH;vAD8s(tHKDs(H6r%  HCIHЃHDօK(HSu3HCAT$(LǋHD$ AQ
  HHvHHC 3H\$@Hl$HHt$PH|$XH0A^HHXHhHpHx AVH@E3AHHHu$D8r(tHJDs(LsLsLs    fD91uTL9ruED8r(tHJDs(   $  HCIHЃK(HS   HCD0Lt$8ALt$0LDt$(3ҋLt$ T  Hcu  @    HSH;v@D8s(tHK0Ds(H#  HCIHЃHDօK(HSu;HCALt$8LLt$0͉T$(3HD$   HHlHHC 3H\$PHl$XHt$`H|$hH@A^H\$UVWATAUAVAWHHPE3LHHuA]  WL:HEL}H   HUHfEH*?HD}JT  HHu<LME33  t:H}HH;}   HHH;]u   LEH  u	HHH}HH;}   HHH;]u   H}IHuILHUPL+HIIH;t"L IHE8<uHHHH;uHUPA   I贝HHu23MHH;tH=HH;uAH)   JLHMXLH;tLH+HEHMIIC<8 uHII+MHUPIQ  u^HEHHMXN$0MIL;u3I] HH;tHHH;uH3H$   HPA_A^A]A\_^]Hd$  E3E333H\$Hl$Ht$WATAUAVAWH0HI3MLLH@8<)u   IHHH;v BH\$`Hl$hHt$pH0A_A^A]A\_MxLIsHMtMMIHP     M+J3ILMyP     LvDxL9v   H9>u+A׍H3HHHtBHFH HF]L+6HIL;wHK,6HM  Hu37H˿   *%JHHNHHN3HNHL~3E3H|$ E333=@USVWATAUAVH$H@  HKs H3H0  MHH      H;t",/<-w
HHrHT  HH;uDA:uHGH;tME33H  A/E3A-wIHðrAH+Lt$@HLt$HLt$PHL$pLt$XMLt$`L#Dt$h3Ll$8rHD$x  9HuD8utHD$p  D8  uD8utHD$p  A   D8utHD$p  ELD$0HHT$@HL$PLEDt$(Lt$ IEE33f  HHu*ME33HD8t$ht
HL$P>  It$I+4$H3LuHMLuLuLuLuDu{HE  9HuD8utHE  D6  uD8utHE  A   D8utHE  ELD$0HUHMgLu3҅IHEʀ9.uAu8Ut:Is0<.u8QtMMHDut8EtIFLl$8HUH8  E3I$IT$H+HH;tH+HLBEFH  H  D8t$ht
HL$P3+} tIH  |$h t
HL$PAH0  H3FH@  A^A]A\_^[]H\$LL$ WH@II؋
tHHH   HHD$XHR HL$ HtoHt]A   EAP~ HI@ A H0I0@@A@HPIP@`A`HHpIHIu '3A  	XH    A   AP~HHH   H  HD$(H HL$0Ht^HtL HI@ A H0I0@@A@HPIP@`A`HHpIHIu3A   hW    `HCHHuHCHHdq H9tH	HHHCHH   HHHH    !H\$PH@_@SH@3HL$ %  u      u      uHD$(u    X|$8 tHL$   H@[H\$WH H3HA  NV3H{Lnp HSLH   JfHkp L+JHǊAAD0H  |HHq H+J
H  2  H   |H\$0H _H\$H|$UH$H  Hm H3Hp  HI  G  HT$P|  4  3HL$p   H;rD$VHT$VD$p  DB;sDp A;vHu܋GLD$pd$0 DˉD$(   Hp  3HD$ 4  d$@ LL$pGDH   3ɉD$8HEp\$0HD$(\$ Q  d$@ LL$pGA   H   3ɉD$8Hp  \$0HD$(\$ YQ  LEpL+Lp  L+Hp  HGt
AL t
 AL2Ɉ   HHHu?3HO   DBA@ w	B Aw	 B2   H;rHp  H3AL$  I[I{ I]HHXHpLH L@UWAVHxHp  DII;  H  L   A;@u3  (    HHu3F  H  HL$@   DH   DJ| H@ IH0A @@I0HPA@@`IPHpIA`IIIu HH@ IHA HHD$@ H@ IH0A @@I0HPA@@`IPHpIA`IIHu HH@ IHA !H7  ;uH    /   EuH  H   uH  H   HUl H;t   H  H   H    q uTH  HD$0LL$$H  HD$8LD$0   HT$(HL$ D$$D$(EtH  HHj 3cL$p  I[ Is(IA^_]H\$Ht$WH HHq   tH    t	H   d   H   H\$0H;t>Ht"uHBk HL$0H;tHH   HD$0 H\$0   
HtHH\$8Ht$@H _=H(=~  uLH n H~ Hj Hl Ht~ H]~ |La~ LW~ H(H({H4~ HH(H\$Hl$ VWATAVAWH@Hg H3HD$8H/3ۋT  L%n DIčk98F  DH0Ar  %        ;u&HFH   ^f^H~ù   f  HT$      HN3A  xO|$ ~H      HL$&8\$&t,8Yt'A;w+z(L7H+uH8uHF   HH+uN  t.t t;tH"H{  Hj  HY  HH  H   n9|       HN3A  NAML$Lm A   L<@IMIA8t>8Zt9DBD;w$EPA  sADAD2DBD;vH8uILL+u~n  t)tt;u"H  H  Hq  H`  I|$H   IHV   HfHRH+uHHG3HL$8H3;L\$@I[@IkHIA_A^A\_^H\$Ht$WH@AHAHL$ {HD$0@|utHD$(HQu3   |$8 tHL$   H\$PHt$XH@_̋A   3E3zH(  Hz   Hz H(̸  ;wOtD3  ;wt9*t2-  t+t&t!-5  t-c  tH-  tu3H%  -  tttt߃tڃtՃt-5  tɃuƃH\$WEكIظ  A3;wAtx3  ;wtm*tf-  t_tZtUH-5  tG-c  t@-  ,-  t0t+t&t!ttt-5  ttHD$HELL$@LLELEtHt8LD$HLLL$@EH\$_H%z  HHXHhHpHx AVH@a  3HHu3   Hf90tHHf9tE uHlE Hf9u uHt$8H+Ht$0HHLD͉t$(3Ht$ 3LcuH  Ia  HHu	3Ht$8DHt$0LDt$(33H|$ Qu
HY
3PHH  HH\$PHl$XHt$`H|$hH@A^H\$Hl$Ht$WH IHHHt3HBHI;sg    3AHt
wG  H3HHHG  HHtH;sH+H8L3IHH\$0Hl$8Ht$@H _H\$Hl$Ht$WATAUAVAWH DL5 HMILOW L` M3A˃?IL;   MtI   M;   u IV HtH;      M 3IA   j  HH     WuEXIDH  Ft,DH  I0tE33I  HHu`HL5 IV HI;ML_ Aù@   ?+HI3KW 3H\$PHl$XHt$`H A_A^A]A\_HL5IV Ht	H~  IHz  HtL~_ @   Aȃ?+ъHHI3KW @SH HL$     L  H  Ht Ip4HHH [H%  % H [@SH HL     L  H  Ht IpV[hHHH [H%G  % H [@SH HL     L  H  lHt Ip0'HHH [H%  % H [H(L  3L  H  HtIp0R^G'H(H%     H(H%ٟ  H%  H%џ  H%џ  H\$Ht$WH ALG  L6  HH԰     HtIp2P>DƋH-  HP  H\$0Ht$8H _H\$Hl$Ht$WHPAIL  HL  H     *LHt_IpWPbH$   DH$   LH$   HT$@HL$8H$   HL$0$   L$(HHD$ Im  23H=   Dˋ$   LǉD$(H$   HD$   H\$`Hl$hHt$pHP_H\$WH L  HH     L  NHtIp2T#Hܞ  H
C  H\$0H _H\$Hl$Ht$WH0AIHL  HL  H     Ht1Ip($DLHHd  H\$@Hl$HHt$PH0_ڋH\$WH 3;{;uHLI  L:  H;  KkHt&L?  L0  H1  KIHEߊH\$0H _@SH L+     L  H  HtZIpr%  HHtBL     L  H  HuHIppHH [H%T  3H [H|$HZ H=!r    HH|$H\$WHPHZ H3HD$@L  	   L  H  HHH   L     L  H  HHtZIpS07H  Ht>3HL$0L$8IpTToH!L$ DIQHHLD$0s  tD$8$2HL$@H3L0H\$`HP_@SH u/Hop HHtHt{  H# HHp H;uذH [H(b  HHq H(H%q  HHXHhHpHx AVH   HH  E3fD9t$b   HD$hH   HcHp    H98L8RA  ;=`u O=Yu t`AH;tGH;tAt<uHۙ  t*HL%q HH?IHHHD(D8HHHHuL$   I[IkIs I{(IA^HHXHhHpHx AVH 3E3HcH=p H?HHH<HD(HHv
L8   D8΅tt
  HHHHv-H  t Hl(uL8@1u,L8%L8@HD(Hk HtI@I1H\$0Hl$8Ht$@H|$HH A^@SH    33?  u   H [H\$WH 3H=}o H;Ht
?  H$; HH   rH\$0H _H\$Ht$WH HHH;thHHHtIp\\Ğ3  t	HH;uH;t;H;t2HH{ tHHtIp;Y>u3  HHCH;u2H\$0Ht$8H _H\$WH HHH;t$HCHtIp;Y>u3  HH;uH\$0H _Hur H\$WH H.   3HtIp HX  ËH\$0H _@SH 3#HU ȃ?Hr H3H3VHH [HuU Hq H3Ѓ?HHHq HMU LHq ȃ?H3HHu3IpqTXIHH%  @SH Hٹ   MH;t)   >H;uH  r?  2H [H\$WH H      H;u	H=,q    H;uyH=q h C  uaK  H? u      3HHHuHKC   HKHC    HKHHC   C    2H\$0H _̄t8SH BH	t IHcc  Hc H# H [@SH HHw<Hɸ   HD+  t%HtHk L3ؔ  Ht`    3H [̋nS LL   At)HQHH;  3f9
  HH;u      H+IHML#IM;MB3KXL;tf9
t	HH;uI+HI;E  MPII+HHI@L;tuu	wu	I L;uKP
fA9	t	IL;uI      At)HQIL;   3f9
   HH;u      H+IHML#IM;MB3KXL;tf9
t	HH;uI+HI;utIMPI+WHHI@fofAufu	IL;uKPfA9	7IL;u)HQIL;t3f9
t	HH;uI+HHH\$Hl$Ht$ WATAUAVAWHP$   E3ۅDAMIHLGLcM;w3H$   A["HL$(E3E3L\$ 3A0Y,3  H  H4H#H;   H$   MHD$HI΋$   D$@$   D$8H$   D\$0|$(HD$   t   e   HO  H  $   P@ f  -   M9}HÊ$   Lc4A  DA0   AH      I IuDII#HMA  1It$uA7H$   D8[(uH֭E3I EC0HCH   H A$M   AI       ʅ~,II#I#HfAf9vfňHIfyID$   DII  E3ۄtLHNBu0HI;t9u@A~DH΋߿0   @7HE30   E8$IDAAPD.LNIH4%  I+HyIH+HҸ+   MPHFA9H  |4HS㥛 MAHHHH?HЍAHiHM;uHd|3Hףp=
ףHHHHH?HЍA IHkHM;uH
|+HgfffffffHHHH?HЍA IHkH@AEX3L\$PI[0Ik@IsHIA_A^A]A\_LI[IkIsI{ AVHPH$   I$   HH	A   ICMKMKU?  L$   DEE3Lt$0|$@-DЋ$   HAD$(3DT$ H+I+HHDIHLL$@9  t 5D$   HD$@Lt$8DD$0 HHD$(Hϋ$   D$    H\$`Hl$hHt$pH|$xHPA^LI[IkIsI{ AUAVAWH03IcEELHOŃ	HH;wMH$   "   IKE3Ic E33A0Y,3uH\$PHl$XHt$`H|$hH0A_A^A]À$    Ht$xt*3҃>-HE~IIB< uIHJA>-Hu-H_~1CL$   HA~( uIIFH   H$   L  HHHH+HII?ID{   HKEtEHF80tWDFAyAC-Ad|QA SkDA
|gfffA SkDD C|$pu90uHQA   @3Hd$  E3E333LI[IkIsWHPH$   I$   HH	WICE3MKȋMKD$@><  DD$DE3Ƀ|$@-DЋ$   HH$   AI+Hl$0DƉD$(HDT$ IHDLL$@:6  t Hl$(LL$@DD$  HH   H\$`Hl$hHt$pHP_H\$Hl$Ht$WAVAWH |$` HIcIMAtAA;u3A9-HfD0 A9-u-HIcAHIuIA80u2|$` t
tHsHsLIB< uIHH>0HH؅   HsLIB< uIHHR>L|$hA( uI>IGH   HAFy;؀|$` u;}HcHǀ<> uLGHH3=Lú0   H1H\$@3Hl$HHt$PH A_A^_LI[IkI{Ms AWHPH$   IH	H$   WICE3MKMKD$@:  D|$DE3|$@-Dȋ$   HL$   AI+Lt$0D$(ADL$ HI8D$   HDLL$@H3  t    D$Dȃ|>;$   }5D;}HÄuCD$   LL$@Lt$(HHD$ :D$   HD$@D$   HLt$8HD$0HD$($   D$ H\$`Hl$hH|$pLt$xHPA_HHXHhHpHx ATAVAWH HI H#EI#HAE3HHEuf   K  urLAIH#I#Hfv   OsAH   HH+I#Iu3A0tIH  L#L#IH      LAA"Њ(=   uftL9?|=   uftL9?}2H\$@Hl$HHt$PH|$XH A_A^A\H\$Ht$WHPMLHHu3H$   ZHL$(A0Y,Hd$  E3E333o  MuH$      HD$(@0X,MtL$   MtӋ$   AtAv@2@H$      HHH4%  H=     H HA   H#u3-H       Hy
H;uIHH#HHHHH?HBL;sA gItA-IA M;tI@H  ҋHLIC< u3M;DILINtE  E3A*  HӀ H#$   A      tUt   tst=H$   HHD$H$   \$@T$8I@t$0D$(LD$ M}   H$   IHD$8Hϋ$   \$0D$(LD$ MrH$   HHD$H$   \$@T$8I@t$0D$(LD$ M8H$   HHD$H$   \$@T$8I@t$0D$(LD$ M-H\$`Ht$hHP_Hd$  E3E333dH\$Hl$fDL$ VWAVH@3ILHHuMtH$    Ht	H$   Hv
   )  8_(uHDL$xHGH  u5ALD$hLH\$hIG  Ht   8_0t_,7H98  u[   fD;v6MtHtL3IV+*   G,G0H\$`Hl$pH@A^_^MtHtyEHtG   ?HD$h\$hHD$8LD$xH\$0A   l$(3Lt$ t9\$huHt3Ă  zuMtHtL3I*"   w,E3H|$(E33G03H\$ ˨>HHXHhHpHx AVH0E3IIHHH#  M  D82uH  fD1
  E8q(uHiHSDRA  u'L	^ H\$ LHHF  H   L98  uH   f   HfD94H}aDJA~+A;|&AHLƺ	   AʉD$(H|$ uHCHcHH;rD8vt	HC@KC0C,*   ;AA   HLAD$(AQH|$ gtŸ   	L5%] 3H\$@Hl$HHt$PH|$XH0A^H(HuF    AH(H9@ 3HH9\ H\$UVWAVAWHPH@ H3HD$@BIHtB  Hf0H  HlL5G L=>X t5HQt(HDHcHH5?HHII֊B9<   Ht3Ht&HHcHH?L4IM43A8^8}SDHl$ DCHT$4HL$0u,9\$0~LLt$4ALH^   tI;\$0|&  "GyLH׋6I  Hf0HHL$@H3:H$   HPA_A^_^]̃j.H  HHAH   Ht H   Ht H   Ht H   Ht HA8A   H? H9PtHHtHx tHPHtH IuH   y  H\$Hl$Ht$WH H   HHtyH6F H;tmH   Hta8 u\H   Ht9 uH     H   Ht9 uH     H   H   H   HtG8 uBH  H   H     H+H  H+H   }H      H(     H{8H> H9GtHHt9 uBH:H tHOHt
9 u HH HuHH\$0Hl$8Ht$@H _HtH  H;t   \  øHt1SH Hߗ  HH;t\  uc  HH [HtH  H;t\  øH(H   ADIH   HtDH   HtDH   HtDH   HtDHA8A   HQ= H9PtHHtD
Hx tHPHtD
H IuH   5H(H\$WH 	H     C tHHu,   蔾H O H(   Hع   ˾HtHH\$0H _kH\$WH HHtFHtAHH;uH6H9H-HtH{ uH: H;tH3H\$0H _H   SH HHIH;B tɿHK H;B t跿HK(H;B t西HK0H;B t蓿HK8H;B t聿HK@H;B toHKHH;B t]HKhH;B tKHKpH;B t9HKxH;B t'H   H;B tH   H;B tH   H;sB tH [HtfSH HH	H;A t¾HKH;A t谾HKH;A t螾HKXH;A t茾HK`H;A tzH [H\$WH H<HH;tHVHH;uH\$0H _H   H\$Hl$VH    HًHK8uHKpH   ~H0  UoH@  ׽HH  ˽HP  追H`  =H  /H  !H0  H  UH  lH  `H  TH  HH\$0Hl$8H ^@UATAUAVAWH`Hl$0H]`HuhH}pH7 H3HE(DEHMHMjN   uHEx   EMċ҃d$( Hd$  Lcu3   IHHFH;HH#   H   w1HAH;w
HHj  H+H\$0Htm  "HHt
   HHtIL3HjEDt$(MH\$    vtL   DHAx  	33HtHK9  u}  tHE  HM(H3H]`HuhH}pHe0A_A^A]A\]H\$WH0d$     藹   \$$;J tnHcHJ HHuUA$tHI H}B  tD$ HI HH0sv  HI HHI H$ 놹   aD$ H\$HH0_@SH AHt(AtHI̺c3HCHCH [H\$LL$ WH II؋
,  HHcHHHLM ?HID8t#	  Hv  3ۅutu  衝躝 	     H\$0H _̉L$H8Hcуu臝 	   lxX;Q sPHLL ?HHHID8t-HD$@T$PT$XLL$PHT$XHD$ LD$ HL$H 	   כH8HUVWATAUAVAWHhH   HEHXH3 H3HEILELcHHEHEIMILmH?L<JX JD(HEEMLeu  E3LUA8z(uIhLUIJIM3HCL9e  MILM׊E}A   L6  {  LJ>   KˀX @89tIHI|M   KX BL>FI AA+EHUH+LcL;x  HJ>   KˀX DHHI;|M~HMIH|'LULHKX HB|>HI;|H}HEHE׋ADDLT$ LMHUHM7  H`  EHcH   NI AMLEL+HcI;  H}HuߋǃDDLT$ LMHUHMX7  H  IELm   OX CL=t!CD>EECL=A   HUIDIBHfB9<I}1LvL;up  MA   HHMou  IMHMHMOU  HH|$8H|$0D$(   HEHD$ ELE3ҋMWD  H|$ LMDHULeIr     +USSD9u   }
u>   fEH|$ LMD@HUIq     }   CCSH;u   LULMMH~$I+KX IB6BD>IHcH;|SUM~'HLMKˀX Hʊ2BD>HHcI;|DC#GL>KX BL=BCkp  HHMH3JH$  H   A_A^A]A\_^]H\$Hl$VWAVP  4c  H+H/ H3H$@  LcHIAHHG A?IIHKLt(3HGL;soH\$@H;s$H<
u	GHÈHH$?  H;rHd$  HD$@+LL$0DHT$@I3p  tD$0G;rH;rgo  HH$@  H3BL$P  I[ Ik0IA^_^H\$Hl$VWAVP  0b  H+H~. H3H$@  LcHIAHHF A?IIHKLt(3HGL;   H\$@H;s1Hf
uG   fHfHH$>  H;rHd$  HD$@H+LL$0HHT$@IDo  tD$0G;rH;rLn  HH$@  H3'L$P  I[ Ik0IA^_^H\$Hl$VWATAVAWp  a  H+H^- H3H$`  LcHIEHHE A?MMIHKLd(3HM;ƉC   HD$PI;s-Hf
u   fHfHH$  H;rHd$8 HL$PHd$0 LD$PH+D$(U  H$   HHL$ Dȹ  3tI3t3Hd$  H$   LL$@DHID+m  tt$@;r͋A+ǉCI;4l  HH$`  H3L$p  I[0Ik@IA_A^A\_^H\$HT$L$VATAUAVAWH0IEHcu-AA8Aa4 AA0AA,	   H\$pH0A_A^A]A\^Åx;5,H s   3u3AA8Aa4 AA0AA,	   H\$(Hd$  E3E333XHLIHC ?L$JBD8tS  AHC JBD8uC0C,	   C8c4 LEHT$h   D3  A&@USVWATAUAVAWHHx3ELcIHE  Hu7AA8E3Ay43AA03AA,   E3H\$(H|$ y  IHB ?MILeL,JBD9E<w	AШtBD8 t3ADB9  AH}  HB   JB8|8  @8{(uHHyB HCH98  uJB8|9   JHUJL(k     M   t	9  N$6H}LI;s\DuAfE89  Mf;u6ADuf
u   9     f;uADuIM;si  ELe   EH\$ LHMA x   HA JB8|8}RMt6t   EHMLA>EHMLAFEHMLAJL(LM3EH!D$ HHEEi  u	i  E}EEH@ HEH u\EЅt,uC0C,	   C8C4MHސJBD8@t>tc4 C0C,   C8sE+3HxA_A^A]A\_^[]̋D ATAUAVHP  H' H3H$  MMLHuHt荐    F  MtMtH  H$H  H$@  H$8  H$0  L$(  LzML3HL$ fff     3II+IHXH   M;vuK4.IHI;w* Ip^uHHIi  HOII;vMII;t$I+fff     
HRIuM+M;wHL$ HHL$   Ll0L   LHIJ4+Ip^uHIIh  ~/MLL;t$f     A IH+
AIIuIp^uIIIh  ~0MIM;t%MM+    AA
HRIuIp^uIHIWh  ~3MII;t(LM+ff     AA
HRIuIIfH;v+IH;s#Ip^uHHIg  ~)@ II;wIp^uHHIg  ~HI+H;vIp^uHHIg  H;r8MHtLL+AA
HRIuH;HHEHFH;s(I+H;vIp^uHHI7g  t%I+I;vIp^uHHIg  tIHH+I+H;HL$ |+L;sLl0H   HHL$ I;LI;sH\0L   HHL$ L;sLH$0  H$8  H$@  H$H  L$(  H$  H3`HP  A^A]A\H\$Ht$WH E3ILMu1Hu1Ht舌   @DH\$0AHt$8H _HtMtMuDHuDH+HMIIuHtIu.HHtItHuMHFHDHuDMrIuFTEPP^Dϋ"   BHXH" H3HD$@3LH LswD  HH |HL IL AuA   AɃHT uIEEu3HL$@H3HXIKH\$Ht$WLH5AHI+HLWIBoHws  Hfs`fsYfsRfsKfsDfs=fs6fs/fs	(fs
!fsfsfsfsfsWA   ftf3  MuEYE3ۋ¹   I+H;AA+A;   ! Hfsfs   fsfs   fsfs   fsfs   fsfs{fsfsofsfscfsfsWfs	fs	Kfs
fs
?fsfs3fsfs'fsfsfsfsfsfsWE   oWfoftfu5HIH\$Ht$_kMuD8W   H\$Ht$_LȋI+HHwD+AwyBX! Hfsefs^fsWfsPfsIfsBfs;fs4fs	-fs
&fsfsfsfs
fsWfA t8@      fnf`f`fp ftfuA@Iu3H\$Ht$_H\$IHt$_     ' . 5 < C J Q X _ f m t     
  " . : F R ^ j v         !  (  /  6  =  D  K  R  Y  `  g  n  u  E3    H\$WH@HHHu:    3`HtH;sIHL$ 5HL$0HSy t$HH;w
DuHH+HӃH+Hʀ|$8 tHL$   HH\$PH@_@UATAUAVAWH`Hl$PH]@HuHH}PH H3HEHc}`IELHم~HIp-  ;Ǎx|DuxEuHDp   DLA҃d$( Hd$  3Lcs  IHHHH;HH#=  IH=   w1HHH;wIHHP  H+H\$PH    H3HHt
   HH  D|$(DLH\$    An3҅  HT$@EHT$8LHT$0I͉T$(HT$ A3Hc{  A   EtQEpl  ;]  HT$@EHT$8LHT$0I͉D$(AHEhHD$ 蓾3ҋ+    HHHAH;HH#   I;w5HAH;w
HHpO  H+H|$PH     3HHt
   HH   HT$@EHT$8LHT$0I͉t$(AH|$ 3҅t^EpDHT$8LHT$0A΅uT$(HT$ 薷u.D$(HEhHD$ |tHO9  u.y'HHtHO9  u^3
HڋHtHK9  u?HMH3EH]@HuHH}PHeA_A^A]A\]H\$Ht$WHpHIHAHL$Pc1$   HL$XD$@Lˋ$   DǉD$8H֋$   D$0H$   HD$($   D$ [|$h tHL$P  L\$pI[IsI_H(3ɄH(H(Hu΂    臁HH(L3H22 H(H%[  H\$WH HHHu
HHuHv-j    3H\$0H _ztHftH1 LL3i[  HtH\$Hl$Ht$WAVAWH HHtG3L=   AU   H+HcLMK $  t)y~^;~3H\$@Hl$HHt$PH A_A^_Kc xH=   sHAp H\$Hl$Ht$WH H   Jo3HHt[H   H;tLHx0HOE3  XHOHOgH7G  

G
@1HrHHHGH;uH3{H\$0HHt$@Hl$8H _HtJH\$Ht$WH H   HHH;tHuX  HHH;uH H\$0Ht$8H _H\$Ht$H|$AWH0    r)d	   H\$@Ht$HH|$PH0A_3Oƚߋ3 H\$ ;|6L=/ I9<t"IHux3 @3 H   ȚHcLb/ H?HHIHH%uW  HcL:/ H?HHIHH%UW  H\$Ht$H|$AVH Hcمxr;2 sjHL5. ?HHH<ID8tGH|(t?u't+t;u3TX  IHL(3~ 	   ~  H\$0Ht$8H|$@H A^H(u~  ~ 	   Nx2;82 s*HcL,. H?HHID8tHD([~  s~ 	   ,}HH(H(uN~ 	   Bx.;1 s&HcH- H?HHHD8@~ 	   |3H(H\$Hl$Ht$WH |$P AAHHu:5   e  u0;5H
|tHCujH0tuH;tUC"P=   u!   tHي<0tt-u2=   u   tHي<0tt݃-t2H\$0Hl$8Ht$@H _H\$Hl$Ht$WH0IHHu2   HD$pE3HD$(E3Hd$  33ɉX,@0z   Ht3 EAOHH;w"   HtIIH^H0tH0HAE x+D$hDL$`DD$ ut0Hˊ<9t>1uGIIA|0 uIHVH/3H\$@Hl$HHt$PH0_HT$SUVWATAVAWH   DLHE`  :V  Aʍo   Db3Au&YLD$DH.E3ɉl$@      Eu=yLD$D)E3Hl$@    3ҋAǅ҉V@3A.  ALHE;t;M     FD3H ELI II3ҋIILHE;uE3ɉl$@LD$D.  HN  Hω~H IƅɉN@ŉ.O  A;D  EIcD+EIcH;|IHH    ML+L+HA9uAHHH;}AA+HcIcLA9LsAE  ELGE\3AD$p  t   A    +D+D$`  tN    $`  DAAADADD$p  vGAADDD$p  E`Hl$0LE   AAHD$8AL$  E,<HD$(D  E;wBTՉ$x  AELAED\HL$ T$$t3HL$8EHD$ IHLAArAEA΋DDLD$ HL$(3IH3LIHDM;vH   IMHLM;w>$p  LIf     IH IH;vIH+MM;vD$`  M   LD݅tdL$h  D$`  I@ AMvILC#EI DIIA;LCA+AÉDD;rED$`  AL$h  $x  II;s8DՅt.LfC"ALHAM[LLDBI D;rIEUL\$0AI ALAL\$0/L$  AAD;sl;rDEt     ARD9luuI3H   A_A^A\_^][@USVWATAVAWH$H  Hk H3H  LP  MHL$PHL$pLuLMDD$d  D$pA   <uD$x HL$p  D|$xH\$P    Mt$HۍOHE33A$HM  Hú  H4H H#u!HtE      Ad$ L  `H;   HH#uA*HyH       H;u   HH3A#ǃE|$A+tDA+t6A+t(A;u[L  HX  I<    Lo  L^  HX  LF  I<  E3  HHL$hH#E3H\$P3һ  \$l  DD$lHL$@  D$PA  D$XHT$XLt$`I4   II#HHH       HH#H H#HHE#D$EJ  y  ,ȉ]  H #]D$0A׉UA4    3ǅH     D  @    E3BDB9D     ED;ud$@ E$EÍBAAIA+HA+DDAt3+Bs   E3D;ADEAswkAxEVD;tHAA+H;sDLE3;sT3A#ԋD#AAABTAD;tU3Etd AA;uE3DuEDp  ǅt       d$@ E$EÍBAAIA+HA+DDAt3+Bs   E3D;ADEAswkAxEVD;tHAA+H;sDLE3;sT3A#ԋD#AAABTAD;tU3Etd AA;uE3DuEDp  ǅt     1  A6D  3ǅH     D  @  $  E3BDB9D    ED;ud$@ t3E3+;AADAs   E36  DuA+HD  3H    LA@D  DgEID@  Dp  M\    Ht  L;&  HD  /  AFA;oDD@;sFLE3D;sBL3B    ABLE;.UHd$@ Dt3E3+A;AADAsvDE35  DuA+HD  3H    LA@D  AFA;tDD@;sFLE3D;sBL3C	ABLE;yUL3p "   }oDp  L$0̅  HD$PȉD$8&  A&   A;ȋAGD$Hȋ  3H    LHD  @  H=H Hp HD  LHHD@  E;w[D  uE3  A;-  E$  E3LE3Bt  AIHLBt  I EE;u   E;T  t  MIEDp  Mt@  Ht  L;wHD  [L3No "   nDp  BA;t{EtvE3LE3Bt  AIHLBt  I EE;uEt8p  ss!p  Dt  Dp  EDp  E32Dp  
Dp  AǄ+  E3Dp  HuHEB  E3E3BDHALHFDEI E;uE  }s  EDDD}  E;Ht  AHD  HCLD  ABHL$X\$4Ht  ICЄHT$@EEE3E3D    B4u!E;   B!  EbD     E3EE   AAst`AE;u   A@  AEAHHЋ  HALډ  D  I A;tHT$@EtMAsA@AE;Du       AHȉ  D  H Dمu\$4As>HL$XHT$@ED;EIDp  Mt@  Ht  L;wH  L3Ql "   IkDp  L$8H+L$HA&   L$8D$PL$0+A A;EE3DE3Bt  AIHLBt  I EE;uEt*p  s9p  Dt  Dp  EDp  LL$HD$@ЉD$4  &   ;ыG3҉D$PȋA A H    LHD  @  HPH Hp HD  LHHD@  E;wUD  uE3   A;   E   E3LE3BLAIHLBLI EE;u   E;   ]MIEDMMt:  HML;wHD  }L31pj "   )iDuTA;t`Et[E3LE3BLAIHLBLI EE;uEt&}ssEDDDuEDuE32DuDuAǄ  Hue H  E;HUEHD  HCLD  EBHMD\$8HUICЄHT$XEEE3E3D  E  B4u!E;   B!  ErD     3EE   EAAst`AAE;u   A@  AE  HHЋHCHډ  D  H A;tHT$X뚅tKAsA@AE;Du       Hȉ  D  H مuD\$8AsHMHT$XEE;EIDuMt:  HML;wH  @L33h "   fDuT$4L%+T$P&   T$4xL$HD$@+RAA A;6E-E3DE3BLAIHLBLI EE;uEt"}sEDDDuEDuDu@   LD  e HME3ɺ  e  Hp  HM)|$0
   A1H^E   E3E3Bt  HALHFt  EI E;uEt\p  ssp  Dt  Dp  <@   LD  p   Ht  E3ɺ    uA+0H^HExD$`x=w	|$d uǋHX  HH;HBH@2H;   A	   DME   E3E3BDHi ʚ;AHLBLI EE;uEt7}ssEDDD}#@   LD  e HME3ɺ     Hp  HMDLD+A   AD*AH0DE;w
0tAADD;uHH+I;IOHH;DM Eu@tE3DD$lHL$dT$hI  |$x t
HL$p  AH  H3H  A_A^A\_^[]Hd$  E3E333cH\$Ht$WH IIHMu3VHud   uc<HtH;rLHL3HHtH;s}d"   뾸   H\$0Ht$8H _H(  H(  3LHu	I    Åuu u
   A7  u (=  vI   A  u7 w/   ALي$?CIuA
AHIa  II^  @SH@HD$pHHL$0HD$ S  HwT$0    GHtfH@[H\$Hl$WATAUAVAWH0H:3MILLH   HM   L$   8uA   8GuA   GMIIMLl$ HHL$`  HHt{3HtlL$`  v;HvI  A   L$`
HfAf  f#H   f3fHHHXI+I?HH   HfI?AE0AE,*   nH$   H8uA   8GuA   GMIIMHl$ H3  HtHtHuHHH3E0E,*   HH\$hHl$pH0A_A^A]A\_HHXHhHp HWH HIHGKLc   ;3HS+{HBHC ȉC~LDA_HK;D$0nABv"IH IH?HHHHI  B8 t3ADB%  HuKLHT$0A   AH\$8Hl$@Ht$HH _HHXHhHp fHWH HIHNKLc   ;3HS+{HBHC C~ LDAeHK;D$0fnABv"IH IH?HHHHM  B8 t3ADB)  HuKLHT$0A   AH\$8Hl$@Ht$HH _@SH Qt`At	HAH9tMIHHt;A   LD$83H8  t!HT$0H8  tHD$0H9D$82H [H\$Ht$WH IHHݵCuG,	   G0KCt	G,"   ދCtH$c tHCHcKcc C  uH跠uHS  LH@{@H\$0Ht$8H _H\$Ht$WH IHHCuG,	   G0K  ~Ct	G,"   ܋CtHVc tHCHcKcc C  uHuH  LHyH\$0Ht$8H _LLMu3A
MRAM[ADI BDGɃJ AG+uEtIuHHXHHWH0HHHu.B0B,   HPH!HE3E33)[H\$HH0_ËA$t/  mHH   HmHHXHpWH0HHHu%HPE3H!HE3B0B,   3ZUAt=oHˋ'H7H	  yHK(Ht
xHc( Hy  H\$@Ht$HH0_H\$H|$UHH`He =&  E E E E u  EEHU}uHM  } t]HM68X } t]HM!8X$H\$pH|$xH`]H\$HT$L$VATAUAVAWH0IEHcu.AA8Aa4 AA0AA,	   HH\$pH0A_A^A]A\^Åx;5 s   3u3AA8Aa4 AA0AA,	   H\$(Hd$  E3E333YHLIH
 ?L$JBD8tIHc
 JBD8uC0C,	   C8c4 LEHT$h   LI&H\$Hl$Ht$WH0HcIًAHHuC0C,	   HVDLD$ HH3  u1  HYHD$ HtHL	 ?HHHIȀd8H\$@Hl$HHt$PH0_H\$H|$UHH`He =  E E E E uq  EELM}HuHM  } t]HM5X } t]HM5X$H\$pHH|$xH`]fL$H(j  tLD$8   HL$0  tD$0  H(38tH;t	H< u@SH AA#DH٩t%Ht33  X   rWAAHt	n  e  3H [@SH H>    C3H [H\$WH Hً	T  K	  3HL$0H|$0uL$09uL$49K@ǋ   H\$8H _@SH d$8 Hكd$< HL$8ku$HD$8HL$8L$8Hpu	7  3   H [E3D$HT$HHH#H      @CH;AH;rH      H;v~H9  H      ?H;s+HtbMtH       HD$D$F  <H¹3   H4*ȸ   HHHH#HD$D$MuH;tXk  HXft$ =
    f(f(fs4fH~f  f(fT-C  f/-;    f(fWf//  fg  \%  f/5w    fT%ɜ  LH#O  L#X  IIfHnf/%e     H,f  f  L$  \AYf(f(L      YYYf(XÛ  X  YYYX  XYX-  Y  Y\AH  %ɚ  YXXXfot$ HXffffff       \  Xf(^%  -ԛ  f(YXf(YYYX%  X-  YYYYY  X\5  f(f  \Xf(f(YYYYXXXfot$ HXf  \  f]  fH~fs4f-{  fu֘  D    H     ؘ  D    *ff     H;  tH;  tH  fHnffot$ HXD  H3s4~  -_  /-W  A  /    \%  /5    }    s~%ϙ  /%     H,՘  ͘  LF  \sYL  Y  -    -  Ҙ  YѹY  -4  ɫAH¡  Xɹ   Xot$ HXÐ  \  X^%  -(  YXY%  -  YYYYYX\  \XYV  Y%^  YV  Y>  XXXot$ HXo  \g  s4ʖ  (-  @D  u.F  D    ot$ HXfffffff     8  DU    ot$ HXÐH;	  t'H;  tH  fHnD#    @ ot$ HX́   H|$A@  3\$DL$   AfA#AJf;uA   f@uA   fA;DDDAA `  A   A#t'=    t= @  tA;¹   EA	   AA%   #A#H|$AA#A  AAы%     \$T$?DAADADAȃDDAAH\$Ht$H|$ A   A#?3п      A   #;tA;t;tDA   A@   A@  »   A   A#t&;tA;tA;uA `  A @  A    D s   rDfArfrDfAs   frHt$fH\$fDH|$   \$fEfD#D$%? AD$T$̋?؋Ƀ \$ȋȋȸ     ȋD$?D$T$H" HH! HB0B,*   @SUVWATAVAWH@H6  H3HD$0H$   L E3H=0  MHLMEHAkHEDMEHML#MuHM  fE9ZuhDHExMtEEAI#  A$<uAA$<uAA$<   AA   +ȋA+A#)EBAAZA@<   @:   A:   I;DMCHǊ$<   ?HI+I;rL;sAA*fABfABA (=  vD   s<AD$    D$$   D$(   ;TrMtAIHH#4HI/HL$0H3
H@A_A^A\_^][H\$WH Hٺ   h     Hh3HChH{ tK@K   HC   HC{ HCc HH\$0H _H\$LL$ WH II؋
HHcLHSHHLD  A?OIBD8t	   B0B,	   H\$0H _̉L$HXLcE3AuB8DJ4B0B,	      x`D;  sWIL  ?IHHID8t4HD$`HT$@DD$xHT$0DD$0LL$xLD$8HD$8HL$p,B8E3DJ43B0HT$(B,	   3LL$ HHXH\$Ht$WH HcHHu3ZH     u	@   u;u    t   HH;tuH#  u!  ؋HL  ?HHHID8 tH֋I3H\$0Ht$8H _̃I3HHAAHAHA(A@SH@H  3Hu.H\$0DC\$(Hk  E3DD$    @"  H  HËH@[H(H  Hw"  H(HHXHhHpWH@H` IMȋDHHHC  m!  ؅uj   u_H%  HwY"  Hd$0 H  d$( A   E3DD$    @6"  Hd$  LHH  DH   Hl$XH\$PHt$`H@_@SH     E3?tFӃDADDAȃADȋуDDA DDtAAH [   H\$Ht$ATAVAWH DA+  DDAAA   AуAADыʃ
CA   уADA   ʃADʾ   DA `  A#t"=    t= @  tA;u   AA@  A@tA  tA@u   EAD#A#DD;  AȃAADы
ADʋAADыAADʋACA%   t#;tA;t\$@=   uA
\$@A   A   tA   tA   u@@  \$@=   t6@t1  2   \$@㿋     A   A `  
㿋r  уADыʃ
CʋуCыʃCʋDыA#t"=    t= @  tA;u   Aց@  @t  t@u   H\$HHt$PH A_A^A\HSHP$   $     HH$   @HXL@@  HL$ u  D$@HP[H\$Ht$WH Ht@y   k  W   @tH	s
P  <@tH
s   4   @tHs@t
     @tHs      Ht$83H\$0H _HUSVWAVHhH   )pHY  H3HEL    AI   M_HD$HH\$@D$@HT$HD$@uwu@}uEuEDE_HD$@HD$(HT$HHEoDHL$PHD$ 4  Kt4t0HD$HMD$@]oUgHD$0D$(t$    HL$H  a  D$@HMH3($   H   A^_^[]H       HHL$D$@SHE33D  EHA$  L$#ȉ\$T$;u,3H HHT$ HD$ D  $<EDD  D  3H[H8H  A   HD$    H8HHh)p(A(At*AuiD@WPE@@!   @   -D$@   WD$8A   \$0D$("   D$    H$   t$xLD$x((t$PHhff     H$$HÉL$T$\$!L$T$f.  sf.  v
H-H*HHd$0 HD$xHD$(HD$pHD$    HHHHXHpHx HHUHH HA3ҿ  QHEPHEPAtHE  HAtHE  HAtHE  HAtHE  HAtHE  HHMHH3A1AHMHH	3A1AHMHH
3A1AHMHH3A1AHMH3A1A  HШtHMItHMItHEHtHEH tHEH `  H#t>H=    t&H= @  tH;u0HE'HE HEHE HEHE HE    HE	0HEHu8H }@ t3HE!P HE0HEHHEH`HE!P`HEHPHHMAA A#A HE0HHEHHHEH`HUB`A#B`HEHHPP   3LMDB  HMAtH3AtH3	AtH3
AtH3AtH3t0ttu(H `  H3H+H3H+H#}@ tAPHAPHH\$8Ht$@H|$HH ]H(ttu<> "   /> !   H(@SH E؃?UH [H\$Ht$ WH HHD$8с##ωL$0=   t%@t !   L$0t$8H\$@Ht$HH _@SH H?ËH [H(?H(@SH p              tH  H    H  HuH  u  É  ;uH     
  1   tH  H  H [H%W  H      H [H\$WH H{     H;tvHulH    HHuH8H  Hb  HtH  H7  HF  HtH*  3H  uH;tH;@2H\$0H _H\$WH   HA0   HT$ H  HuH)D$DDtRHL$P4  DL$T3EIL#AI##HII3HHIHȋtA MHuH$   HĀ   _H\$Ht$H|$LcH5_LHHA   vHE   E3Et9AHEXHET2IEtAD;r
QD;rAH(E;r3H\$Ht$H|$ÉA$AHHHXHpWH HHP HHBHHu   L=   u'D$H        u   )T$@HjT$@LDH  uH)H\$0Ht$8H _H(b     t~tH  H    H  HuHH  u  u  HT$03tH  H  _  H      H(H\$Ht$H|$ UATAUAVAWHHpLL2AFLE~IAVMANIEnIHe MHe We EFHEADE0EH   LuLeEШu)HEHE03LM0W mDB  3  I?IH+HHH?EtHHHEEH  3HtHU3E  HHv  H  H   HtHUO  HHulHME33  HHuU  EHȗ  HtHUO  HHu+HEHE03LM0~ mDB,  HE  HIH;u	H  Hؘ  H}HtHU   p  HH   A9^t-A9^t'HcG<<8PE  uM09L8uH;|80u
I\ HujHUH  HHuU&  EH  HtHUK  HHu+HEHE03LM0 mDBP  H]I$H  Hte HU   H}H]  HL\$pI[8Is@I{HIA_A^A]A\]LcA<E3LLA@EXHIEtPL;r
HL;rAH(E;r3H\$WH HH=|H4   t"H+HHHt@$Ѓ3H\$0H _̸MZ  f9uHcQ<Hс:PE  u3  f9J3@SH H  HHt
      HH [H(MA8HI      H(@SEHALA LtA@McPLHcL#IcJHCHHCDtDLL3I[   ff     HL$L\$M3LT$L+MBeL%   M;sfA M A M;uL$L\$HHHXHhHpHx AVH IY8HMHIHILC E$fظ   EADDCtLMHHпH\$0Hl$8Ht$@H|$HH A^'H\$WH IHӯCfu;csmutH\$0H _lHX cHx(ff     H+Ir"tf:u,HIuMIuMt:uHIuH3ÐIt7HH;u[HAH;DuLHAH;Du=HAH;Du.H IuIMItHH;uHIuIHHHH
HHH;H\$E3LuCHAHAWAAftfA#uHWftftH   =     AMIAAfnAp WfAtfAfp fofAtfA##u-WfoI˅LEIfAtfAtffЅtӋ##I˅LEIH\$A ;MDA8 tIAufnfA:c @sLcMfA:c @tIff     ff     %Z  @UH HM@H ].@UH HM H ]@UH HH ]}@UH0HHHL$(T$ LLEpUhHM`辦H0]@UHH3Ɂ8  ]@SUH(HHM8HM0}X tlHE0HHM(HE(8csmuUHE(xuKHE(x  tHE(x !tHE(x "u$HM(HH HE0HXHX(+E     E H(][@SUWH@HHMPHMH謴H   HHpH   H_葴HX`HEHHHY8}HXhHMHD$8Hd$0 d$( H   HD$ LL   H   H	h;H`p E@      H@_][@UH HHMXLE H   H ]@SUH(HHM8E}  uHH   ;csmu9{u3{  t{ !t	{ "uHK(*tH設薳H   HH 膳HM@HH(H(][@UH H<H ]@UH HRx0 ~GH0H ]@UH HHEHH ]I@UH HHM(HM$3csmE E H ]@UH HHMHH	H ]|?@UH HHEXH ]nI@UH HH   H ]QI@UH H}p t   7IH ]@UH HHEhH ]I@UH H   H ]H@UH H   H ]H@UH H3H ]H@UH H   H ]H@UH H   H ]H@UH HHEHH ]@UH0HM`H0]ϭ@UH0HHM@H0]G>@UH HH8  t8  t3   H ]@UH HH3Ɂ8  H ]                                p*     
0     *     *     *     *     *     +     "+     6+     R+     l+     +     +     +     +     +     +     ,     ,     (,     8,     H,     `,     x,     ,     ,     ,     ,     ,     ,     ,     
-     -     ,-     >-     R-     b-     p-     -     -     -     -     -     -     -     -      .     .     $.     6.     @.     L.     X.     j.     |.     .     .     .     .     .     .     /     /     /     0/     B/     V/     l/     ~/     /     /     /     /     /     /     /     /     0             "    "    w   0w   0w           4                                0     &   e                       _   d                            node.exe                0K   K           8'                                             	       Ȋ   
       ؊   
                    	                    	           	       0   	       @          H   
       X          h   	       r           t                                                                                                                                            ċ          ȋ          ̋          Ћ          ԋ          ؋          ܋                                                                                                                                                                                      $          (          ,          0   	       @   	       P          X          h                                        Ȍ                              (          H   #       p                               ؍   &                             0          4          @          P   #       t             	                                        %          $       0   %       X   +                            Џ   "          (       (   *       X          x                              r                     Ȑ                                          r                     ̋                               ؋                    @          __based(        __cdecl __pascal        __stdcall       __thiscall      __fastcall      __vectorcall    __clrcall   __eabi      __swift_1       __swift_2       __swift_3       __ptr64 __restrict      __unaligned     restrict(    new         delete =   >>  <<  !   ==  !=  []      operator    ->  *   ++  --  -   +   &   ->* /   %   <   <=  >   >=  ,   ()  ~   ^   |   &&  ||  *=  +=  -=  /=  %=  >>= <<= &=  |=  ^=  `vftable'       `vbtable'       `vcall' `typeof'        `local static guard'    `string'        `vbase destructor'      `vector deleting destructor'    `default constructor closure'   `scalar deleting destructor'    `vector constructor iterator'   `vector destructor iterator'    `vector vbase constructor iterator'     `virtual displacement map'      `eh vector constructor iterator'        `eh vector destructor iterator' `eh vector vbase constructor iterator'  `copy constructor closure'      `udt returning' `EH `RTTI       `local vftable' `local vftable constructor closure'  new[]       delete[]       `omni callsig'  `placement delete closure'      `placement delete[] closure'    `managed vector constructor iterator'   `managed vector destructor iterator'    `eh vector copy constructor iterator'   `eh vector vbase copy constructor iterator'     `dynamic initializer for '      `dynamic atexit destructor for '        `vector copy constructor iterator'      `vector vbase copy constructor iterator'        `managed vector copy constructor iterator'      `local static thread guard'     operator ""     operator co_await       operator<=>      Type Descriptor'        Base Class Descriptor at (      Base Class Array'       Class Hierarchy Descriptor'     Complete Object Locator'       `anonymous namespace'           )                                                                                                                                                    P      a p i - m s - w i n - c o r e - f i b e r s - l 1 - 1 - 1       a p i - m s - w i n - c o r e - s y n c h - l 1 - 2 - 0         k e r n e l 3 2         a p i - m s -          FlsAlloc               FlsFree        FlsGetValue            FlsSetValue           InitializeCriticalSectionEx         N    pT    Unknown exception           N    pT    bad exception   A s s e r t i o n   f a i l e d :   % T s ,   f i l e   % T s ,   l i n e   % d 
               M i c r o s o f t   V i s u a l   C + +   R u n t i m e   L i b r a r y         A s s e r t i o n   f a i l e d !       P r o g r a m :         F i l e :       L i n e :       E x p r e s s i o n :           F o r   i n f o r m a t i o n   o n   h o w   y o u r   p r o g r a m   c a n   c a u s e   a n   a s s e r t i o n 
 f a i l u r e ,   s e e   t h e   V i s u a l   C + +   d o c u m e n t a t i o n   o n   a s s e r t s   ( P r e s s   R e t r y   t o   d e b u g   t h e   a p p l i c a t i o n   -   J I T   m u s t   b e   e n a b l e d )         . . .   
   
 
         < p r o g r a m   n a m e   u n k n o w n >                                                                                                                                                                                     	       "                   X            "   t             0          m s c o r e e . d l l   CorExitProcess  "   t                            "   t             (          m            n            L    P    n    n    <                        \n    Я                    n                        n            n            dn    n    n    m    n                                                                                                                                                                                    ( n u l l )     (null)                                           	               	      
                                                !      5      A      C      P      R      S      W      Y      l      m       p      r   	      
      
      	                  )                                             Y  *                `   d   h   l   p   t   x   |                     ̞   О   Ԟ   ؞   ܞ                                     ܞ   $   ,   4   @   P   X   h   t   x                         ȟ   П   ؟                       8   P   `   x                              Ƞ   Р   ؠ                    0   @   P   h   x               С         Sun Mon Tue Wed Thu Fri Sat Sunday  Monday      Tuesday Wednesday       Thursday    Friday      Saturday    Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec     January February    March   April   June    July    August      September       October November        December    AM  PM      MM/dd/yy        dddd, MMMM dd, yyyy     HH:mm:ss        S u n   M o n   T u e   W e d   T h u   F r i   S a t   S u n d a y     M o n d a y     T u e s d a y   W e d n e s d a y       T h u r s d a y         F r i d a y     S a t u r d a y         J a n   F e b   M a r   A p r   M a y   J u n   J u l   A u g   S e p   O c t   N o v   D e c   J a n u a r y   F e b r u a r y         M a r c h       A p r i l       J u n e         J u l y         A u g u s t     S e p t e m b e r       O c t o b e r   N o v e m b e r         D e c e m b e r     A M     P M         M M / d d / y y         d d d d ,   M M M M   d d ,   y y y y   H H : m m : s s         e n - U S       @   P   `   p   j a - J P       z h - C N       k o - K R       z h - T W       0   p         0         P       `         0         0      H   `   p              a p i - m s - w i n - c o r e - d a t e t i m e - l 1 - 1 - 1   a p i - m s - w i n - c o r e - f i l e - l 1 - 2 - 4   a p i - m s - w i n - c o r e - f i l e - l 1 - 2 - 2   a p i - m s - w i n - c o r e - l o c a l i z a t i o n - l 1 - 2 - 1           a p i - m s - w i n - c o r e - l o c a l i z a t i o n - o b s o l e t e - l 1 - 2 - 0         a p i - m s - w i n - c o r e - p r o c e s s t h r e a d s - l 1 - 1 - 2       a p i - m s - w i n - c o r e - s t r i n g - l 1 - 1 - 0       a p i - m s - w i n - c o r e - s y s i n f o - l 1 - 2 - 1     a p i - m s - w i n - c o r e - w i n r t - l 1 - 1 - 0         a p i - m s - w i n - c o r e - x s t a t e - l 2 - 1 - 0       a p i - m s - w i n - r t c o r e - n t u s e r - w i n d o w - l 1 - 1 - 0     a p i - m s - w i n - s e c u r i t y - s y s t e m f u n c t i o n s - l 1 - 1 - 0             e x t - m s - w i n - n t u s e r - d i a l o g b o x - l 1 - 1 - 0             e x t - m s - w i n - n t u s e r - w i n d o w s t a t i o n - l 1 - 1 - 0     a d v a p i 3 2         k e r n e l b a s e     n t d l l       a p i - m s - w i n - a p p m o d e l - r u n t i m e - l 1 - 1 - 2     u s e r 3 2     e x t - m s -          AreFileApisANSI       GetActiveWindow       GetLastActivePopup            GetProcessWindowStation       GetUserObjectInformationW                   LCMapStringEx         LocaleNameToLCID              MessageBoxA           MessageBoxW    AppPolicyGetProcessTerminationMethod           AppPolicyGetShowDeveloperDiagnostic    AppPolicyGetWindowingModel                                                                INF inf NAN nan NAN(SNAN)       nan(snan)       NAN(IND)        nan(ind)    e+000                                                                                                                                                                                                                                                                                                 ( ( ( ( (                                     H                                                                                                                                                                                                                                                                                                                                                                  	
 !"#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 	
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~u k     "                   !                                                Ⱦ          ؾ                                 	          
                                                           (          0          8          @          H          P          X          `          h          p          x                                                                !          "       @   #          $          %       ȿ   &       п   '       ؿ   )          *          +          ,          -           /          6          7          8           9       (   >       0   ?       8   @       @   A       H   C       P   D       X   F       `   G       h   I       p   J       x   K          N          O          P          V          W          Z          e                                                     p                                    (   	               8         H         X         h         x                  @         `                                                                                          (         8         H          X   !      h   "      x   #         $         %         &         '         )         *         +         ,         -          /      0   2      @   4      P   5      `   6      p   7         8         9         :         ;         >         ?         @         A          C         D      (   E      8   F      H   G      X   I      h   J      x   K         L         N         O         P         R         V         W         Z         e         k      (   l      8         H         X         P         h   	      x   
                                                                         ,         ;      (   >      8   C      H   k      `         p                     	         
                           ;         k                                 (   	      8   
      H         X         h   ;      x                              	         
                           ;                   	          
      0         @         P   ;      h         x   	         
                  ;                   	          
          ;           $         	$          
$      0   ;$      @   (      P   	(      `   
(      p   ,         	,         
,         0         	0         
0         4         	4         
4          8         
8          <      0   
<      @   @      P   
@      `   
D      p   
H         
L         
P         |         |         a r     b g     c a     z h - C H S     c s     d a     d e     e l     e n     e s     f i     f r     h e     h u     i s     i t     j a     k o     n l     n o     p l     p t     r o     r u     h r     s k     s q     s v     t h     t r     u r     i d     b e     s l     e t     l v     l t     f a     v i     h y     a z     e u     m k     a f     k a     f o     h i     m s     k k     k y     s w     u z     t t     p a     g u     t a     t e     k n     m r     s a     m n     g l     k o k   s y r   d i v           a r - S A       b g - B G       c a - E S       c s - C Z       d a - D K       d e - D E       e l - G R       f i - F I       f r - F R       h e - I L       h u - H U       i s - I S       i t - I T       n l - N L       n b - N O       p l - P L       p t - B R       r o - R O       r u - R U       h r - H R       s k - S K       s q - A L       s v - S E       t h - T H       t r - T R       u r - P K       i d - I D       u k - U A       b e - B Y       s l - S I       e t - E E       l v - L V       l t - L T       f a - I R       v i - V N       h y - A M       a z - A Z - L a t n     e u - E S       m k - M K       t n - Z A       x h - Z A       z u - Z A       a f - Z A       k a - G E       f o - F O       h i - I N       m t - M T       s e - N O       m s - M Y       k k - K Z       k y - K G       s w - K E       u z - U Z - L a t n     t t - R U       b n - I N       p a - I N       g u - I N       t a - I N       t e - I N       k n - I N       m l - I N       m r - I N       s a - I N       m n - M N       c y - G B       g l - E S       k o k - I N     s y r - S Y     d i v - M V     q u z - B O     n s - Z A       m i - N Z       a r - I Q       d e - C H       e n - G B       e s - M X       f r - B E       i t - C H       n l - B E       n n - N O       p t - P T       s r - S P - L a t n     s v - F I       a z - A Z - C y r l     s e - S E       m s - B N       u z - U Z - C y r l     q u z - E C     a r - E G       z h - H K       d e - A T       e n - A U       e s - E S       f r - C A       s r - S P - C y r l     s e - F I       q u z - P E     a r - L Y       z h - S G       d e - L U       e n - C A       e s - G T       f r - C H       h r - B A       s m j - N O     a r - D Z       z h - M O       d e - L I       e n - N Z       e s - C R       f r - L U       b s - B A - L a t n     s m j - S E     a r - M A       e n - I E       e s - P A       f r - M C       s r - B A - L a t n     s m a - N O     a r - T N       e n - Z A       e s - D O       s r - B A - C y r l     s m a - S E     a r - O M       e n - J M       e s - V E       s m s - F I     a r - Y E       e n - C B       e s - C O       s m n - F I     a r - S Y       e n - B Z       e s - P E       a r - J O       e n - T T       e s - A R       a r - L B       e n - Z W       e s - E C       a r - K W       e n - P H       e s - C L       a r - A E       e s - U Y       a r - B H       e s - P Y       a r - Q A       e s - B O       e s - S V       e s - H N       e s - N I       e s - P R       z h - C H T     s r                B          ,          q                             0          @          P          `          p                                                                         C                                         )                  8   k          !       P   c                 `   D       p   }                              E       ؾ             G                              H                                        I                              A       (                    8   J                 H          X          h          x                                                                         K                               	                 (          8          H          X          h          x                                                                                                              (          8          ȿ   #       H   e           *       X   l          &       h   h          
       x   L           .          s                                                  M                              >                 h   7                              N       (   /       (   t       x          8          H   Z                  X   O          (       h   j                 x   a       (             P       0                       Q       8             R          -          r       8   1          x          :                 @             ?                    S       @   2          y       ؿ   %       (   g       п   $       8   f       H             +       X   m       h             =       x             ;                 0   0                    w          u          U       H                       T                 P                    `   6          ~       X          (   V       `          8   W       H          X          h          x          h             X       p             Y          <                              v                              [          "          d                           (          8          H          X                    h   \                 x                                                               ]       H   3          z          @                 p   8                 x   9       (                    8   ^       H   n                 X   _       X   5       h   |       @           x   b                    `       P   4                    {          '          i          o                                               (          8          H   F       X   p       a f - z a       a r - a e       a r - b h       a r - d z       a r - e g       a r - i q       a r - j o       a r - k w       a r - l b       a r - l y       a r - m a       a r - o m       a r - q a       a r - s a       a r - s y       a r - t n       a r - y e       a z - a z - c y r l     a z - a z - l a t n     b e - b y       b g - b g       b n - i n       b s - b a - l a t n     c a - e s       c s - c z       c y - g b       d a - d k       d e - a t       d e - c h       d e - d e       d e - l i       d e - l u       d i v - m v     e l - g r       e n - a u       e n - b z       e n - c a       e n - c b       e n - g b       e n - i e       e n - j m       e n - n z       e n - p h       e n - t t       e n - u s       e n - z a       e n - z w       e s - a r       e s - b o       e s - c l       e s - c o       e s - c r       e s - d o       e s - e c       e s - e s       e s - g t       e s - h n       e s - m x       e s - n i       e s - p a       e s - p e       e s - p r       e s - p y       e s - s v       e s - u y       e s - v e       e t - e e       e u - e s       f a - i r       f i - f i       f o - f o       f r - b e       f r - c a       f r - c h       f r - f r       f r - l u       f r - m c       g l - e s       g u - i n       h e - i l       h i - i n       h r - b a       h r - h r       h u - h u       h y - a m       i d - i d       i s - i s       i t - c h       i t - i t       j a - j p       k a - g e       k k - k z       k n - i n       k o k - i n     k o - k r       k y - k g       l t - l t       l v - l v       m i - n z       m k - m k       m l - i n       m n - m n       m r - i n       m s - b n       m s - m y       m t - m t       n b - n o       n l - b e       n l - n l       n n - n o       n s - z a       p a - i n       p l - p l       p t - b r       p t - p t       q u z - b o     q u z - e c     q u z - p e     r o - r o       r u - r u       s a - i n       s e - f i       s e - n o       s e - s e       s k - s k       s l - s i       s m a - n o     s m a - s e     s m j - n o     s m j - s e     s m n - f i     s m s - f i     s q - a l       s r - b a - c y r l     s r - b a - l a t n     s r - s p - c y r l     s r - s p - l a t n     s v - f i       s v - s e       s w - k e       s y r - s y     t a - i n       t e - i n       t h - t h       t n - z a       t r - t r       t t - r u       u k - u a       u r - p k       u z - u z - c y r l     u z - u z - l a t n     v i - v n       x h - z a       z h - c h s     z h - c h t     z h - c n       z h - h k       z h - m o       z h - s g       z h - t w       z u - z a                T     c-^k      @tFМ,    a\)c     d4҇f;lD      ِe,BbE"&'O   @V$gmsmr    d'c%{pk>_     njf29.EZ%qVJ  .C|!@ΊĄ'|Ô%I   @T̿aYܫ\DgR)`*     !VG6K]_܀
@َЀk#c  d8L2WBJa"=<rtYl*   [aOni*{P+4/'PcqɦJ(.onIn   @2&@Prє)[f.;}eSw Sƫ%KM -"RP(WB}]9֙Y8 wzaja  gV :6	ipev &gn	+2qQH΢ER   xt ]u۩reLK(wmCQɕ'U'樜=    @J#m
XoC]-HY(?.qּDi}nVyu  Ჹ<u?k:އFEMh$h0'DAXQh٢%v}qN  dZW f) }m?Mp=ANqא:@O?owM&
   1U	X&aVjuvD,GA>UD~ $s%rс@b;zO]3AOmm!3VV%(w;I-G 8NhU]i<$qE}  A'JnWb쪉"f37>,ެdNj5jVg@;*xh2kůid&   _U JW
{,Ji)Ǫv6UړǚK%v	t:H孎cY˗i&>r䴆["93uzKG-wn@_l%Bɝs|-Ciu+-,W @zbjUUYԾX1EL9M Ly;-"m^8{yrvxyN      \lo};obwQ4Y+X<XF"|WYu&Sgwc_
i9351C!CZؖ?h   d}/KNs	Ogֵ8sI̗+_?8 7xB">W߯_w[R/=OB
    R	E]B.4o?nz(wKgg;ɭVl H[=J6RMq!	EJjت|Lu <     @rd6x)Q9%0+L;<(wXC=sF|bt!ۮ.P9B4Ҁy7   P,=87MsgmQĢR:#שsDp:RRN/M׫
Ob{!@f u)/    wdq=v/}fL3.iLs&`@<
q!-7ڊ1BALlȸ|Rabڇ3ah𔽚j-    6zƞ)
?IϦw#[/r5D¨N2Lɭ3v2!L.2>p6\BF8҇i>o     @@w,=q/	cQrFZ**F΍$'#+GK	ŎQ1VÎX/4Bycg6fvPb   ag
;s?.❲ac*&pa%¹u!,`j;҉s}`+i7$fnIoۍut^6n16B(Ȏy$    dAՙ,C瀢.=k=yICyJ"pפl dNnEtTWtøBncW[5laQۺNPqc+/ޝ"     ^<V7w8=Oҁ,t×j8_լZ>̯p?m-}oi^,dH94X<H'W&|.ڋu;-Hm~$P                 	     % - 5 	> 
H 
R ] i u         -C	Y	p	



	%
   d     '   @B    ʚ;0   1#INF   1#QNAN  1#SNAN  1#IND         ?                                                                                                                                    &{?            x?        5q(7>           PD?        %>b?>               @              ?              ?                             `?              ?        UUUUUU?              ?        ?        UUUUUU?                                         ?              ?              ?                               TUUUU?        ƺ?        Q#Ib?        ]4<?                                 C O N O U T $              [?   pԯk?   `t?   v{?   M4?   P?   q?   ^?   j?   
?   ൵?   PO_?    S?   í?   R?    ?   p×?   8?   ֟?   ?    ᇡ?   U?   g!?   ?   ?   8?   K?   @?   ܧ?   ?   j?   Щ0?    ?    ?   ~?   A?   q?   pdƮ?   ?   ($?   &?   ?   0,C?   @4?   ` ?   R_?   h?   P0?   x?   0ճ?   2?   >?    ?   0wG?   `!?   @?   @Y?   ]?   ?    i?   `÷?   0?    v?   0ϸ?   @'?   m?   ع?   Щ0?   _?   pߺ?   6?   䍻?   0?   @:?   p?   ?   }<?   Ց?    ?   ;?   V?   ?   8?   ?   0-?   ?   pOC?   `l?   ?    =?   O?   B?   :?   b?   j?   ?   0F?   ?   ,?   дT?   |?   n?    ?   ?   P0?    B?    i?   ?   `?   ?   0?   p~,?   S?   py?   p	?    X?   0?   @?   08?   P^?   X?   @?   p?   @$?   Њ?   P??   e?   (?   +?   ?   ?   p?   BB?   @f?   =?   0?   ?   P?    ?   @?   c?   ?    y?   0?   ?   p?   m9?   \?    ?   P?   p?   ?   ?   ~.?   `)Q?   s?   p>?   ?    ?   0>?   0i?   @A?   pc?   l?   D?   ?   ?   0Q?   P-?   PIO?   @p?   0?   @'?   I?   X?    S?   `:7?   `X?    x?   p|?   ?   Н?   ?   0s?   ;?   P[?   `&|?   <?   @?   2?   ?   ?   Й;?   B[?   z?   p^?   ѹ?   2?   ?   P?   v?   0+?   :?   @J?   xY?   h?   pFx?   ?   ?   0;?   {?   P?   `?   0?   +?   C?   @R?   @Y?   0X.?    O=?   =L?   $[?   pj?   Px?   @?   `p?   /?   ?   ?   >?   ?   pw?   `?   ?   P?   p(?    7?   0kE?   S?    +b?   p?   @~?   `?    R?   ?   ๷?   ?   ?   P?   2?    ??   pD?   B?   9(?   *6?   PD?                 "
=.3i=W~=imb;D=W>6Z=<hC=`͉=. ob=ͽڸO=0B؈ >y+>>IԭwJ=07?v>Gb=M>Q=z	>p=QW  .>n [>p)=m6W>OJK>C>*f>8=pT=:		r>]'p>qw>`
'>M>[^j7>Kb|j>:bβ>	>ޔ0>1k>A>+^=lg=)>,ļ,+>De}=7W`@>`z>~|'e>_M>`>1<.	/>:+>Os&>൏=MǛ/#>yHs=nX>JR!>11Y@/>58d%>_>)MJ$>" >	H*>eVM>cQ6!>6'Yx=%R>jtm}S=`
'><E쨰>Z>U&>䮿Y>?h/>77:ݸ$>a~>I{,>Y)>6{1n>Ur	Vr.>Tz3&>Ra+f)>0'C>6Zd >'4
>yU>^!-=jc?>cQ.>5b#)>^x8o2>Lj[;>vj"=:1J<>s|d>f3>fvw=>;H9>&X;>7Y9>>'S5>*StO9>T'4>K Z>`'>% %>΋.>Tu
.(!>ʧY3p>%@~+>!n03>Pu?>d׌5>>t"v:>R=>X̤/>
Ң;>[ >["`=>7>ː#>>6>\.>9Ir,>X>z8>4&/>	VYS9>HVo6>a"$>S= 5>VaR:>V8>(.0>D=Yc%>2x.&>>=K~Je#>!Ix[>dn-/!>9٭7>qb(>aIbQ=cQ61>v+M<7>=*>!ư*>f[t0>To -> Or=)a?>ė=l(>>
"Ic(>\,=F	ET5>m0;>9lߙ%>6>Ȩ mG4>?7>*yW3>ay;>V>bp(=>?gҀ8:>})36,>8!> ;>PӽD 8>j`&+>+&z*>nOv>h=O>yu`=GQ~f=oj37>k>/>dn9>hS=q)i5>m"e= ?~X3>6>Tz36>J`?>!T4<>0A8>cքBC?>6t9^	c:>VB4>ٲ6>*:8'>0<>Rm=1>"3>PkY)>'._M>5*=4<,BF>^G*>`JK&>.yCB)>O 'L>[.xJ>Hfy\PD>!MԩL>|b=})>\ >vc [1>H')>dL?>Z|F>Ni;>_j+>yC>O@L)>uzKs@>D>He@>5A3>N;kUr=CA	 >	p.>EK>VR>>e 	kE>fvwM>`7nH>eF>tH/>ѤL>ev[%>J
A>@
_A>pP&V6E>`"(5~7>ҹ@0$>y{@>W9oM>WL>փJ>Wp0>
lD>#,=>B_!">}tM>'>+Ai=1I!>u|KN>
c0iN>/پA>+h->|ۈ:>r-4@>%>b?>               @ ??? ?۠c?qBJeD?
#D%?|?E??z?g1?Pt?t:W?sy:?????ہv`?#?4,Tw?ru\?AA?[,'?tn?ƿD\n?V?m?^?BZ&?qq?IєX???.9&???+?{>e?к?#+?3=l}?e?O贁N?JH7?ـl@6 ?"1K	?(?^?pp?/?cj`?Y0Q?mЦm?JhAW?AA?Ň*,?Kz??3?-hk?N?U$??/?rp?w\?H?,4?)I ?ՐO???7zR?0?:bο?k??J?'t?aa?x O?ݾz<?J*??`?@?OZQ%?}A_?|.?"?9k?ȤxL?ƚy?4g?muV?F]tE?A4?F($?	|mx?p\?``?7Ck?aȁ&?ll?=
I?rS<?Ј:G?hh?g6q?"Qja?J;OR?d!YB?V3?@bw#?1h?X`?-)4d?и[?g?W+?GƼ?Zk?#a?X0Ҏ?`XV?:kP<q?R|c?UUUUUU?%G?H	9?KV*??"?PP?Lb?9/?L,ܾC?n%?Ꮶ>?[R֯?Jv?gв9?H"?{Gz?f`Y4m?`?vS?beF?M0':?%f-?QY^& ??feт???B?,?u?{?U)#`?;;?"z8$?c,?f"?88?E[u?Hi?*_]?x+R?FyF?W[:?j\/?+J#?Xw?0?`*?h/?KN?K%?P-
?,M?7Z?@+??)A?[r??MΡ8}?5'Ps?'|h?p"^?w~S?$I$I?[`>?߼xV4?*"*?x!?UHy?gG?  ?p}?L<?t?;?J.g??Y"?)F@J?g|?{a??S?+??w?ysBn?2Pd?'u_[?Q?;
_H?$G4??55?퉋,?30]X#?&H0????%?k?`U?F ?:5VD?;ڼOq?qA?ȝ%?.r/?h
?`۝?T	9??eu?B!?){?G
&s?yj?Mb?urY?4Q?dII?AA?G8?^0?)wd(?@ ?7zQ6$?? ?      ?        log10           ?C?K E R N E L 3 2 . D L L         AcquireSRWLockExclusive ReleaseSRWLockExclusive         x   r           @                                                                                      @                                                                                                                                                                                          node.exe                     D : \ a \ b u f f e r u t i l \ b u f f e r u t i l \ s r c \ b u f f e r u t i l . c   s t a t u s   = =   n a p i _ o k   mask    unmask      D:\a\bufferutil\bufferutil\src\bufferutil.c     bufferutil      (	,e       P         (	,e          L L      (	,e       |  ` `      (	,e                                                                                                                  J                                                    J             @                           xJ                               8         P                  xJ            @                            J  x                                                  J             @                   P   o       W         !  !  #  #  .$  ,  ,  1/  ;  ;  =<  [<  <  <  >O  `  c  f  tn  o  o  \  y  ݑ  1    R    Q        >    }    8  ĺ    S  ]  h    u  G  c    Ǿ      ,  `      e    n      #  a    +  \          &                ! 2 B R b   
 
 
 
  YG G RH H .I >I OI I I I I J J J &J J J J J J J J J K DL 7Q =Q Q Q Q Q Z Z \ \ (_ d d e e !f &f k k 9l Vl l em n n 3o p w w w w x x x %x 7x ?x Vx ]x wx x x x )z ,z     ,  <  h;  (  U  M        W d  pg 0   t    u H  @w   RSDS={knG
Ԍ   D:\a\bufferutil\bufferutil\build\Release\bufferutil.pdb                  GCTL    g .text$mn     w @   .text$mn$00 @w   .text$x     .idata$5     8   .00cfg      .CRT$XCA        .CRT$XCU    Ȃ    .CRT$XCZ    Ђ    .CRT$XIA    ؂    .CRT$XIC        .CRT$XIZ        .CRT$XPA         .CRT$XPX        .CRT$XPXA       .CRT$XPZ         .CRT$XTA    (    .CRT$XTZ    0 P  .rdata   l  .rdata$r       .rdata$voltmd      .rdata$zzzdbg       .rtc$IAA        .rtc$IZZ        .rtc$TAA        .rtc$TZZ        .xdata  %    .xdata$x    $&     .didat$2    D& $   .didat$3    h& 8   .didat$4    &    .didat$6    0' @   .didat$7    p' X   .edata  '    .idata$2    '    .idata$3    '   .idata$4    p*   .idata$6     @ x
  .data   xJ P   .data$r J     .data$rs    J 8   .didat$5     K   .bss     `   .pdata    \  _RDATA    `   .rsrc$01    `   .rsrc$02                                         B  % t 4  P  s      t 4 Ps h   
 
4 
Rp       t	 d 4 2p$     8    @w     
    @w      2P
 
4 
Rpp$     O  n  Ww     D    pw         Ww         pw     	 4 rp`p$         w    RP d 4 2p B  	 	b  
 
4 
rp rp`0 20 4	 2P	 "  p$       }   w }    P   d T 4 2p 4  P  
 
4 
2p d 4 p           d T 4 rp	   p$     q'  '  w '   BP0        p              
 T 4 2p`  P  s     d T 4 rp	 0p$     /  ;/  hx ;/   rpP0  `p    d T 4
 2p Rp`0p$     BQ  Q  y Q  Q  Q  y     6R  <R  y      
p`0p$     O  >O  y >O  O  O  0y      d T 4
 2p
 t	 d T 4 2	
 t d 4
 Rp$     ?  A     LA  2A  LA     LA  	 t d 4 2p$     A  A     B  
 t d T 4 '
 % 	p`0Ps   
 4 p`P% %4# % p`P   B   B   B   B   t d 4 2 d 4 p
 
4
 
rp Rp`0 bp`P0  ! 4  p`P  s      ! 4  p`P  s   &
 M 	p`P0s P   4 2p R044  H e   4 
P44  p h(      d      	 R0p$     c  c  	z Id   4 2pp$     ic  rc  y      4 R
p`P b  44   
 t d
 T	 4 R b  44   m      
 d
 T	 4 2p 4 2pp$     %l  /l  y      B  t    o  o     o    p0P  +	  	p`0P  s     2p! 4 P  _   !   P  _    d T
 4	 Rp b  + d T 4 ps @    d 4 2p T 4 p`2 !d !4 ! pP  s   !
 !d
 !T	 !4 !2p 4 2pp$     p  p  6z      4  p`P   4    .	 d 4  pP  s    d
 T	 4 Rp 4 P
 
20	 	P	 	rP 4 2pp$     1  A  y      4 2pp$       ǩ  y      4 2pp$       )  y      4 2pp$     q    y      B   d	 4 Rpp$     '  _  Qz      R0+ tX 4W T P  s    d T 4
 rp t 4 P rP 4 2pp$       a  6z      4 p`p$       =  kz      4 2pp$     v    6z      4 2pp$         6z     
 d 4 rpp$         z        8  z      4 2pp$     B  [  y     
 4 
p`P
 t d T 4
 r d T 4 Rp+	 h 	p`0P  s 0  %
 T 4 rp`s 8    r0 d 4 2pt    u    z     %	 %dS %4R %N pP  + t 4  P  s p   4
 rpp$         z      d 4
 rp 4 p   t  d T 4 p 
4 
ps @    20p$         z      t d T 4     20p$     b  {  z     	 	20 d 4 p t d T 4
 R t d
 T	 4 2 d T 4 p
  t T 4  T 4 rp` 4 
p`Ps @   
 
4 
2pp$       {      2
0 T 4 2`-5t d 4 3
P  s X   
 
4	 
Rpp$     	 m
 ${      b   4 2pp$     
 C ={     	 	p`0P   4 R`p$       W{     3 %4"  
p`P   t H         -	 T4p`  s @  1 T4p`  s `      s   !(
 (  t d T 4 0  " !   0  "  d 4 p     s @    d 4 p-Ut d 4 S
P  s X    d 4 2p t
 d	 4 Rp$     ( ) z     +	  	p`0P  s   	 D 	p`P0  ! C , :/ # !   , :/ # 
 T 4 Rp d	 T 4 2p d	 T 4 2p d	 4 Rp 4	 Rpp$     K K n{      4 R`t    N SN W{     	 	B  
 
4 
2p    
 
h    t  t 
d 4  r	p`P0s 0       4 2pp$     !] g] ={     	 d
 4	 2p$     b b { b  0&	 h  	p`0P  s     0 h              t	 d 4 2P	 d	 4 2pp$     2k 9k { 9k  t 
d 4  4 p d 4 2p t d 4 P	
 
4 
2pp$     }r r { r  0                M      %                    %  &                 xJ            \M                  J            M             0  K J h& 0'                                             '     &     &     &     '     &             wWnapi_create_function  Wnapi_get_buffer_info  Wnapi_module_register  Wnapi_set_named_property Wnapi_get_value_uint32 Wnapi_get_cb_info                                                                            '          ' ' '  '   bufferutil.node _register_bufferutil_ '         *                       p*     
0     *     *     *     *     *     +     "+     6+     R+     l+     +     +     +     +     +     +     ,     ,     (,     8,     H,     `,     x,     ,     ,     ,     ,     ,     ,     ,     
-     -     ,-     >-     R-     b-     p-     -     -     -     -     -     -     -     -      .     .     $.     6.     @.     L.     X.     j.     |.     .     .     .     .     .     .     /     /     /     0/     B/     V/     l/     ~/     /     /     /     /     /     /     /     /     0             GetModuleHandleA  KERNEL32.dll  RtlCaptureContext RtlLookupFunctionEntry  RtlVirtualUnwind  UnhandledExceptionFilter  SetUnhandledExceptionFilter 2GetCurrentProcess TerminateProcess  IsProcessorFeaturePresent pQueryPerformanceCounter 3GetCurrentProcessId 7GetCurrentThreadId  
GetSystemTimeAsFileTime InitializeSListHead IsDebuggerPresent GetStartupInfoW GetModuleHandleW  RtlUnwindEx InterlockedFlushSList }GetLastError  dSetLastError  IEnterCriticalSection  LeaveCriticalSection  #DeleteCriticalSection InitializeCriticalSectionAndSpinCount TlsAlloc  TlsGetValue TlsSetValue TlsFree FreeLibrary GetProcAddress  LoadLibraryExW  EEncodePointer RaiseException  RtlPcToFileHeader GetStdHandle  jGetFileType GetModuleFileNameW  GetModuleHandleExW  JWriteConsoleW xExitProcess KWriteFile :OutputDebugStringW  lHeapAlloc pHeapFree  FindClose FindFirstFileExW  FindNextFileW IsValidCodePage GetACP  GetOEMCP  GetCPInfo GetCommandLineA GetCommandLineW MultiByteToWideChar 7WideCharToMultiByte SGetEnvironmentStringsW  FreeEnvironmentStringsW FlsAlloc  FlsGetValue FlsSetValue FlsFree LCMapStringW  GetProcessHeap  GetStringTypeW  FlushFileBuffers  GetConsoleOutputCP  GetConsoleMode  uHeapSize  sHeapReAlloc SetStdHandle  hGetFileSizeEx USetFilePointerEx   CloseHandle  CreateFileW GetSystemInfo VirtualProtect  VirtualQuery  LoadLibraryExA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ] f2-+                                                               @                                                                A                           A                           A                           A                           A                                           pH                      @                                                      `@   B   C                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  abcdefghijklmnopqrstuvwxyz      ABCDEFGHIJKLMNOPQRSTUVWXYZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   abcdefghijklmnopqrstuvwxyz      ABCDEFGHIJKLMNOPQRSTUVWXYZ                                                                                                                                                   `y!                       @~      ڣ                              @        ڣ                              A        Ϣ [                       @~    Q  Q^  _j2                   1~                                                     


               I   \   \   \   \   \   \   \   \   \   I   \   \   \   \   \   \   \   .   .                                                                                                                                                                                                                     u                 
       
                                                      .?AVbad_exception@std@@            .?AVexception@std@@                .?AVtype_info@@ s    C    O    [    g                                                                                                                                                                                                                                                   4    @         $     <   A  H     P             T                  D  T D    4   +    ,    ,   5  < 8    H   X  \                     -    0  X    X  m    p                     ]  T `    T      h       T       T    /"   0"  l"   l"  "   "  X$   p$  g&   &  &  T &  &    &  &    &  
'    '  %'    ('  8'    8'  '   '  '  T  (  f(   h(  r(    (  (  ( (  8,  4 P,  h,  8 p,  q,  < ,  ,  @ ,  ,    ,  )-  T ,-  E-    H-  .   .  O.    P.  r.    t.  .  T .  .  T .  E/   H/  /   /  /  T /  <0   <0  1  D 1  F2   H2  K3  \ L3  3  T 3  3   3  3    3  4    4  4  T 4  44  T 44  4  p 4  4   4  e;   h;  <   <  <  T  =  F=  T H=  =  T =  =   =  E>   H>  o>    p>  >  T >  >   >  R?  T T?  RA   TA  B   B  B  < B  G   G  I  T I  K   K  SM   \M  M  T M  M  T  N  BN   DN  .P  ( 0P  P   P  BR   DR  R   R  S  d S  TT   T  T  p T  U  x  U  FU   PU  U   U  %V   (V  MV  T PV  V   V  W   W  X    X  X   X  \Y    \Y  Q^   T^   _   (_  _   `  `   `  `   `  &a   (a  ia  < la  a   a  Ic   Lc  c   c  Od   Pd  e  ` e  Je  T Le  me    pe  e  H f  g   g  1h  T 4h  i   i  /j   0j  ?k   @k  k  < k  k    k  k    k  k   l  Cl  8 Dl  dm    dm  m   m  n    n  n    n  Yn  T dn  n  T n  n    o  (o    (o  8o    8o  mo    po  o    o  o  \ o  'p  T (p  ~p    p  p  x p  hq   hq  r   Tr  y   y  {   {  }   }     t  1   \       ܄  < P  _   _            F   H                 M   P       x   x       _  ( `  $   $  ڜ  < ܜ  x   x       f   h    `           |   m        4            G   P            ֧   ا      h    T   Ҩ  T Ԩ              S   T       ٩  @ ܩ  ;  d <  	     ,   ,  !   $       ͬ  T Ь       F  T H       ί   Я  	      .    0  a  T d    T   Ͱ  T а    T   v                	     ,   ,  s    t    T   Q  T T  L   L  e    h       0   0  O   d    T ع  t  , t  U  P X    x     $        V   `  ǽ   Ƚ            %  | (  p    p       9   <    T     T (  k    l    T     T   y  T |       E   H    <     $     T     p        A   D            3   4       L    L  h    h  %   (    8       h  F  H H  V  < X              T   \  T \    T              t  \ t       O   P       L  T L  o  T p  O  p P    T                        0   0       
     R   T       9  T <       A   D    T |    0                \   "    $  v  L  x        u   x  (  d  (             j x             &   (           :  < D   D 	   	 
   
 
 T 
 W $! X  !  a ! d f ! h  !   !   `!   H! 0  "    "   > @" @ /  0  `"  ! P" ! 4"  4" e% " h% % p"  & &   & Q&   T& &  & s'   t' (  ( l( " l( ) " d) *   * *   * *   * +  + ,  , :/ # :/ )1 # )1 |1 0# |1 
D " D D  D D   LE E  E 2G @# 4G +H X# ,H 'I l# (I I T I oJ  pJ <K  K L # L L # L DM  DM bN # dN O  O O  O O # P kP T lP P T P P # P 4Q T  R W # W X $ X )Z $ Z \ $ \ ]  ] {] @$ |] =^ 8$ @^ _  ,_ ~_  _ _   _ Z`   \` ` T ` jc d$ lc c $ c d  d e $ e Pf $ Pf pf  pf g $  g 0g $ pg g $ g j $ j j   j j T j lk $ lk k T k k   k Jl T Ll l  l m ,% m n %  n n 8% n Co   Do r H% pr r d% r s T s 5s   8s s % s s %  t t  t t  t u % u v  w w  0w 6w  @w Ww  Ww pw  pw w  w w  w w  w hx  hx y  y 0y  0y y  y y  y y  y 	z  	z 6z  6z Qz  Qz kz  kz z  z z  z z  z z  z z  z {  { ${  ${ ={  ={ W{  W{ n{  n{ {  { {  { {                                                                                                                                                                                                                                                                                                                  )  (  )  (  4)  $)  )  (  Z)  G)  P)  9)  0)   )  )  (  *  *  }*  v*  o*  e*  [*  Q*  G*  K+  D+  =+  6+  /+  %+  +  +  +  3,  ,,  %,  ,  ,  ,  	,  ,  +      5  6  X5  5  
6  5  5  `5  5  5  5  @5  5  5  x5   5  7  7  7  7  7  7  7  y7  e7  9  9  9  8  8  8  8  8  8  r:  k:  ]:  O:  A:  3:  %:  :  	:                                                                                                                                                                                                            0                 	  H   ` }                  <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level='asInvoker' uiAccess='false' />
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>
                                       آ HPpУ  0@P`pФ  0@P`pХ  0@P`pЦ  0@P`pЧ  0@P`pШ  0@P`pЩ  0@P`p        8@Hhpx 08@HPX`hxȨب ȫЫث  (08@HPX`hpxȬЬج  (08@HPX`hpxȭЭح  (08@HPX    \    (08ȢТآ  `hpxȩЩة      xȠؠ(8HXhxȡء(8HXhxȢآ(8HXhxȣأ(8HXhxȤؤ(8HXhxȥإ(8HXhxȦئ(8HXhxȧا(8HXhxȨب(8HXhxȩة(8HXhxȪت(8HXhxȫث(8HXhxȬج(8HXhxȭح(8HXhx     Ъ  0@P`pЫ  0@P`pЬ  0@P`pЭ  0@P`pЮ  0@P`pЯ    ,    0@P`pР  0@P`pС  0@P`pТ  0@P`pУ  0@P`pФ  0@P`pХ  0@P`pЦ  0@P`pЧ  0@P`pШ          x ȩ @ \   `Ƞ(XpxpxȨШب 8@HxȪ                                                                                                                                                                                                                                                                                                                                                                                     {
  "name": "balena-etcher",
  "private": true,
  "displayName": "balenaEtcher",
  "productName": "balenaEtcher",
  "version": "2.1.2",
  "packageType": "local",
  "main": ".webpack/main",
  "description": "Flash OS images to SD cards and USB drives, safely and easily.",
  "productDescription": "Etcher is a powerful OS image flasher built with web technologies to ensure flashing an SDCard or USB drive is a pleasant and safe experience. It protects you from accidentally writing to your hard-drives, ensures every byte of data was written correctly and much more.",
  "homepage": "https://github.com/balena-io/etcher",
  "repository": {
    "type": "git",
    "url": "git@github.com:balena-io/etcher.git"
  },
  "scripts": {
    "prettify": "prettier --write lib/**/*.css && balena-lint --fix --typescript typings lib tests forge.config.ts forge.sidecar.ts webpack.config.ts",
    "lint": "npm run prettify && catch-uncommitted",
    "test": "echo 'Only use custom tests; if you want to test locally, use `npm run wdio`' && exit 0",
    "package": "electron-forge package",
    "start": "electron-forge start",
    "make": "electron-forge make",
    "wdio": "xvfb-maybe wdio run ./wdio.conf.ts"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run prettify"
    }
  },
  "author": "Balena Ltd. <hello@balena.io>",
  "license": "Apache-2.0",
  "dependencies": {
    "@electron/remote": "^2.1.2",
    "@fortawesome/fontawesome-free": "^6.5.2",
    "@ronomon/direct-io": "^3.0.1",
    "@sentry/electron": "^4.24.0",
    "axios": "^1.6.8",
    "debug": "4.3.4",
    "drivelist": "^12.0.2",
    "electron-squirrel-startup": "^1.0.0",
    "electron-updater": "6.1.8",
    "etcher-sdk": "9.1.2",
    "i18next": "23.11.2",
    "immutable": "3.8.2",
    "lodash": "4.17.21",
    "outdent": "0.8.0",
    "path-is-inside": "1.0.2",
    "pretty-bytes": "6.1.1",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-i18next": "13.5.0",
    "redux": "4.2.1",
    "rendition": "35.2.0",
    "semver": "7.6.0",
    "styled-components": "5.3.6",
    "sys-class-rgb-led": "3.0.1",
    "uuid": "9.0.1",
    "ws": "^8.16.0"
  },
  "devDependencies": {
    "@balena/lint": "8.0.2",
    "@electron-forge/cli": "7.4.0",
    "@electron-forge/maker-deb": "7.4.0",
    "@electron-forge/maker-dmg": "7.4.0",
    "@electron-forge/maker-rpm": "7.4.0",
    "@electron-forge/maker-squirrel": "7.4.0",
    "@electron-forge/maker-zip": "7.4.0",
    "@electron-forge/plugin-auto-unpack-natives": "7.4.0",
    "@electron-forge/plugin-webpack": "7.4.0",
    "@reforged/maker-appimage": "3.3.2",
    "@svgr/webpack": "8.1.0",
    "@types/chai": "4.3.14",
    "@types/debug": "^4.1.12",
    "@types/mime-types": "2.1.4",
    "@types/node": "^20.11.6",
    "@types/react": "17.0.2",
    "@types/react-dom": "17.0.2",
    "@types/semver": "7.5.8",
    "@types/sinon": "17.0.3",
    "@types/tmp": "0.2.6",
    "@vercel/webpack-asset-relocator-loader": "1.7.3",
    "@wdio/cli": "^8.36.1",
    "@wdio/local-runner": "^8.36.1",
    "@wdio/mocha-framework": "^8.36.1",
    "@wdio/spec-reporter": "^8.36.1",
    "@yao-pkg/pkg": "^5.11.5",
    "catch-uncommitted": "^2.0.0",
    "chai": "4.3.10",
    "css-loader": "5.2.7",
    "electron": "30.0.1",
    "file-loader": "6.2.0",
    "husky": "8.0.3",
    "native-addon-loader": "2.0.1",
    "node-loader": "^2.0.0",
    "sinon": "^17.0.1",
    "string-replace-loader": "3.1.0",
    "style-loader": "3.3.3",
    "ts-loader": "^9.5.1",
    "ts-node": "^10.9.2",
    "tslib": "2.6.2",
    "typescript": "^5.3.3",
    "url-loader": "4.1.1",
    "wdio-electron-service": "^6.4.1",
    "winusb-driver-generator": "^2.1.5",
    "xvfb-maybe": "^0.2.1"
  },
  "hostDependencies": {
    "debian": [
      "libasound2",
      "libatk1.0-0",
      "libc6",
      "libcairo2",
      "libcups2",
      "libdbus-1-3",
      "libexpat1",
      "libfontconfig1",
      "libfreetype6",
      "libgbm1",
      "libgcc1",
      "libgdk-pixbuf2.0-0",
      "libglib2.0-0",
      "libgtk-3-0",
      "liblzma5",
      "libnotify4",
      "libnspr4",
      "libnss3",
      "libpango1.0-0 | libpango-1.0-0",
      "libstdc++6",
      "libx11-6",
      "libxcomposite1",
      "libxcursor1",
      "libxdamage1",
      "libxext6",
      "libxfixes3",
      "libxi6",
      "libxrandr2",
      "libxrender1",
      "libxss1",
      "libxtst6",
      "polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1"
    ]
  },
  "engines": {
    "node": ">=20 <21"
  },
  "versionist": {
    "publishedAt": "2025-05-07T12:59:43.267Z"
  },
  "optionalDependencies": {
    "bufferutil": "^4.0.8",
    "utf-8-validate": "^5.0.10",
    "winusb-driver-generator": "2.1.2"
  }
}
