@ezeep/ezeep-js 1.0.267 → 1.0.268
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-D7ISNeUi.js +16 -0
- package/dist/cjs/ezeep.cjs.js +43 -12
- package/dist/cjs/ezp-auth_15.cjs.entry.js +27964 -26035
- package/dist/cjs/index-dv_gozsq.js +4694 -0
- package/dist/cjs/loader.cjs.js +7 -17
- package/dist/collection/collection-manifest.json +19 -18
- package/dist/collection/components/ezp-auth/ezp-auth.js +266 -245
- package/dist/collection/components/ezp-backdrop/ezp-backdrop.js +93 -81
- package/dist/collection/components/ezp-dialog/ezp-dialog.js +226 -210
- package/dist/collection/components/ezp-icon/ezp-icon.js +117 -102
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +181 -159
- package/dist/collection/components/ezp-input/ezp-input.css +5 -5
- package/dist/collection/components/ezp-input/ezp-input.js +227 -205
- package/dist/collection/components/ezp-label/ezp-label.css +5 -5
- package/dist/collection/components/ezp-label/ezp-label.js +151 -132
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +5 -5
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +1118 -1107
- package/dist/collection/components/ezp-printing/ezp-printing.css +183 -125
- package/dist/collection/components/ezp-printing/ezp-printing.js +872 -807
- package/dist/collection/components/ezp-select/ezp-select.css +4 -4
- package/dist/collection/components/ezp-select/ezp-select.js +376 -351
- package/dist/collection/components/ezp-status/ezp-status.css +5 -5
- package/dist/collection/components/ezp-status/ezp-status.js +238 -223
- package/dist/collection/components/ezp-stepper/ezp-stepper.css +5 -5
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +256 -243
- package/dist/collection/components/ezp-text-button/ezp-text-button.js +196 -174
- package/dist/collection/components/ezp-upload/ezp-upload.js +134 -141
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +5 -5
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +180 -185
- package/dist/collection/services/auth.js +133 -133
- package/dist/collection/services/print.js +167 -167
- package/dist/collection/services/user.js +16 -16
- package/dist/collection/shared/global.js +7 -7
- package/dist/collection/utils/utils.js +89 -89
- package/dist/components/auth.js +1 -0
- package/dist/components/ezp-auth.d.ts +11 -0
- package/dist/components/ezp-auth.js +1 -0
- package/dist/components/ezp-auth2.js +1 -0
- package/dist/components/ezp-backdrop.d.ts +11 -0
- package/dist/components/ezp-backdrop.js +1 -0
- package/dist/components/ezp-backdrop2.js +1 -0
- package/dist/components/ezp-dialog.d.ts +11 -0
- package/dist/components/ezp-dialog.js +1 -0
- package/dist/components/ezp-dialog2.js +1 -0
- package/dist/components/ezp-icon-button.d.ts +11 -0
- package/dist/components/ezp-icon-button.js +1 -0
- package/dist/components/ezp-icon-button2.js +1 -0
- package/dist/components/ezp-icon.d.ts +11 -0
- package/dist/components/ezp-icon.js +1 -0
- package/dist/components/ezp-icon2.js +1 -0
- package/dist/components/ezp-input.d.ts +11 -0
- package/dist/components/ezp-input.js +1 -0
- package/dist/components/ezp-input2.js +1 -0
- package/dist/components/ezp-label.d.ts +11 -0
- package/dist/components/ezp-label.js +1 -0
- package/dist/components/ezp-label2.js +1 -0
- package/dist/components/ezp-printer-selection.d.ts +11 -0
- package/dist/components/ezp-printer-selection.js +1 -0
- package/dist/components/ezp-printer-selection2.js +1 -0
- package/dist/components/ezp-printing.d.ts +11 -0
- package/dist/components/ezp-printing.js +1 -0
- package/dist/components/ezp-select.d.ts +11 -0
- package/dist/components/ezp-select.js +1 -0
- package/dist/components/ezp-select2.js +1 -0
- package/dist/components/ezp-status.d.ts +11 -0
- package/dist/components/ezp-status.js +1 -0
- package/dist/components/ezp-status2.js +1 -0
- package/dist/components/ezp-stepper.d.ts +11 -0
- package/dist/components/ezp-stepper.js +1 -0
- package/dist/components/ezp-stepper2.js +1 -0
- package/dist/components/ezp-text-button.d.ts +11 -0
- package/dist/components/ezp-text-button.js +1 -0
- package/dist/components/ezp-text-button2.js +1 -0
- package/dist/components/ezp-upload.d.ts +11 -0
- package/dist/components/ezp-upload.js +1 -0
- package/dist/components/ezp-upload2.js +1 -0
- package/dist/components/ezp-user-menu.d.ts +11 -0
- package/dist/components/ezp-user-menu.js +1 -0
- package/dist/components/ezp-user-menu2.js +1 -0
- package/dist/components/i18next.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/directives/angular-component-lib/utils.ts +33 -14
- package/dist/directives/proxies.ts +231 -111
- package/dist/esm/app-globals-CpP67t2l.js +14 -0
- package/dist/esm/ezeep.js +41 -12
- package/dist/esm/ezp-auth_15.entry.js +27967 -26036
- package/dist/esm/index-BTfWEHH9.js +4677 -0
- package/dist/esm/loader.js +7 -15
- package/dist/esm-es5/app-globals-CpP67t2l.js +1 -0
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
- package/dist/esm-es5/index-BTfWEHH9.js +13 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +16 -19
- package/dist/ezeep/p-5ok9OZMg.system.js +1 -0
- package/dist/ezeep/p-BTfWEHH9.js +2 -0
- package/dist/ezeep/p-CfQRcOh8.system.js +1 -0
- package/dist/ezeep/p-CpP67t2l.js +1 -0
- package/dist/ezeep/p-DhXN1yGM.system.js +13 -0
- package/dist/ezeep/p-ba70b358.entry.js +1 -0
- package/dist/ezeep/p-f3ad7583.system.entry.js +7 -0
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +20 -20
- package/dist/types/components/ezp-backdrop/ezp-backdrop.d.ts +7 -7
- package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +38 -38
- package/dist/types/components/ezp-icon/ezp-icon.d.ts +24 -24
- package/dist/types/components/ezp-icon-button/ezp-icon-button.d.ts +23 -23
- package/dist/types/components/ezp-input/ezp-input.d.ts +38 -38
- package/dist/types/components/ezp-label/ezp-label.d.ts +21 -21
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +116 -116
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +83 -83
- package/dist/types/components/ezp-select/ezp-select.d.ts +80 -80
- package/dist/types/components/ezp-status/ezp-status.d.ts +40 -40
- package/dist/types/components/ezp-stepper/ezp-stepper.d.ts +65 -65
- package/dist/types/components/ezp-text-button/ezp-text-button.d.ts +25 -25
- package/dist/types/components/ezp-upload/ezp-upload.d.ts +38 -38
- package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +43 -43
- package/dist/types/components.d.ts +493 -50
- package/dist/types/services/auth.d.ts +27 -27
- package/dist/types/services/print.d.ts +32 -32
- package/dist/types/services/user.d.ts +4 -4
- package/dist/types/stencil-public-runtime.d.ts +335 -40
- package/dist/types/utils/utils.d.ts +6 -6
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +10 -10
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +16 -19
- package/www/build/p-5ok9OZMg.system.js +1 -0
- package/www/build/p-8f4a7bc3.js +1 -0
- package/www/build/p-BTfWEHH9.js +2 -0
- package/www/build/p-CfQRcOh8.system.js +1 -0
- package/www/build/p-CpP67t2l.js +1 -0
- package/www/build/p-DhXN1yGM.system.js +13 -0
- package/www/build/p-ba70b358.entry.js +1 -0
- package/www/build/p-f3ad7583.system.entry.js +7 -0
- package/www/index.html +1 -1
- package/dist/cjs/app-globals-53afb196.js +0 -15
- package/dist/cjs/index-1f953145.js +0 -1482
- package/dist/custom-elements/index.d.ts +0 -129
- package/dist/custom-elements/index.js +0 -34555
- package/dist/esm/app-globals-28960cbc.js +0 -13
- package/dist/esm/index-3ac1b749.js +0 -1450
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/app-globals-28960cbc.js +0 -1
- package/dist/esm-es5/index-3ac1b749.js +0 -1
- package/dist/ezeep/p-0cc2026d.system.js +0 -1
- package/dist/ezeep/p-312f40d7.js +0 -1
- package/dist/ezeep/p-4a7d6c3a.system.entry.js +0 -7
- package/dist/ezeep/p-84bd195a.system.js +0 -1
- package/dist/ezeep/p-a4d37138.js +0 -1
- package/dist/ezeep/p-ded04529.system.js +0 -1
- package/dist/ezeep/p-e20ee337.entry.js +0 -1
- package/loader/package.json +0 -10
- package/www/build/p-0cc2026d.system.js +0 -1
- package/www/build/p-312f40d7.js +0 -1
- package/www/build/p-4a7d6c3a.system.entry.js +0 -7
- package/www/build/p-84bd195a.system.js +0 -1
- package/www/build/p-a4d37138.js +0 -1
- package/www/build/p-ded04529.system.js +0 -1
- package/www/build/p-e20ee337.entry.js +0 -1
- /package/dist/ezeep/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
- /package/www/build/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):o(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(n=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];o=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(e,t){var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)r[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++){if(t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o]))r[n[o]]=e[n[o]]}return r};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};var NAMESPACE="ezeep";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,deserializer:false,devTools:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propChangeCallback:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,serializer:false,shadowDelegatesFocus:false,shadowDom:true,shadowSlotAssignmentManual:false,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true};var Env={};var Build={isDev:BUILD.isDev?true:false,isBrowser:true,isServer:false,isTesting:BUILD.isTesting?true:false};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var PrimitiveType=function(e){e["Undefined"]="undefined";e["Null"]="null";e["String"]="string";e["Number"]="number";e["SpecialNumber"]="number";e["Boolean"]="boolean";e["BigInt"]="bigint";return e}(PrimitiveType||{});var NonPrimitiveType=function(e){e["Array"]="array";e["Date"]="date";e["Map"]="map";e["Object"]="object";e["RegularExpression"]="regexp";e["Set"]="set";e["Channel"]="channel";e["Symbol"]="symbol";return e}(NonPrimitiveType||{});var TYPE_CONSTANT="type";var VALUE_CONSTANT="value";var SERIALIZED_PREFIX="serialized:";function getPropertyDescriptor(e,t,r){var n=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(e&&e!==n){var o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!r||o.get))return o;e=Object.getPrototypeOf(e)}return void 0}var reWireGetterSetter=function(e,t){var r;var n=t.t;var o=Object.entries((r=n.o)!=null?r:{});o.map((function(r){var n=r[0],o=r[1][0];if((BUILD.state||BUILD.prop)&&(o&31||o&32)){var i=e[n];var a=getPropertyDescriptor(Object.getPrototypeOf(e),n,true)||Object.getOwnPropertyDescriptor(e,n);if(a){Object.defineProperty(e,n,{get:function(){return a.get.call(this)},set:function(e){a.set.call(this,e)},configurable:true,enumerable:true})}if(t.i.has(n)){e[n]=t.i.get(n)}else if(i!==void 0){e[n]=i}}}))};var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,t){if(!t)return;e.__stencil__getHostRef=function(){return t};t.l=e;if(t.t.u&512&&(BUILD.state||BUILD.prop)){reWireGetterSetter(e,t)}};var registerHost=function(e,t){var r={u:0,$hostElement$:e,t:t,i:new Map,v:new Map};if(BUILD.isDev){r.p=0}if(BUILD.method&&BUILD.lazyLoad){r.D=new Promise((function(e){return r.m=e}))}if(BUILD.asyncLoading){r.L=new Promise((function(e){return r.S=e}));e["s-p"]=[];e["s-rc"]=[]}if(BUILD.lazyLoad){r.I=[]}var n=r;e.__stencil__getHostRef=function(){return n};if(!BUILD.lazyLoad&&t.u&512&&(BUILD.state||BUILD.prop)){reWireGetterSetter(e,r)}return n};var isMemberInElement=function(e,t){return t in e};var customError;var consoleError=function(e,t){return(customError||console.error)(e,t)};var STENCIL_DEV_MODE=BUILD.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var consoleDevError=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.error.apply(console,__spreadArray(__spreadArray([],STENCIL_DEV_MODE,false),e,false))};var consoleDevWarn=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.warn.apply(console,__spreadArray(__spreadArray([],STENCIL_DEV_MODE,false),e,false))};var consoleDevInfo=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.info.apply(console,__spreadArray(__spreadArray([],STENCIL_DEV_MODE,false),e,false))};var setErrorHandler=function(e){return customError=e};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.B.replace(/-/g,"_");var o=e.U;if(BUILD.isDev&&typeof o!=="string"){consoleDevError("Trying to lazily load component <".concat(e.B,'> with style mode "').concat(t._,'", but it does not exist.'));return void 0}else if(!o){return void 0}var i=!BUILD.hotModuleReplacement?cmpModules.get(o):false;if(i){return i[n]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(o,".entry.js").concat(BUILD.hotModuleReplacement&&r?"?s-hmr="+r:"")).then((function(e){if(!BUILD.hotModuleReplacement){cmpModules.set(o,e)}return e[n]}),(function(e){consoleError(e,t.$hostElement$)}))};var styles=new Map;var modeResolutionChain=[];var setScopedSSR=function(e){};var needsScopedSSR=function(){return false};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var COMMENT_NODE_ID="c";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var STENCIL_DOC_DATA="_stencilDocData";var DEFAULT_DOC_DATA={hostIds:0,rootLevelIds:0,staticComponents:new Set};var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var win=typeof window!=="undefined"?window:{};var H=win.HTMLElement||function(){function e(){}return e}();var plt={u:0,C:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var setPlatformHelpers=function(e){Object.assign(plt,e)};var supportsShadow=BUILD.shadowDom;var supportsListenerOptions=function(){var e;var t=false;try{(e=win.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){t=true}}))}catch(e){}return t}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=BUILD.constructableCSS?function(){try{if(!win.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}():false;var supportsMutableAdoptedStyleSheets=supportsConstructableStylesheets?function(){return!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable}():false;var queueCongestion=0;var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueDomWritesLow=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var consumeTimeout=function(e,t){var r=0;var n=0;while(r<e.length&&(n=performance.now())<t){try{e[r++](n)}catch(e){consoleError(e)}}if(r===e.length){e.length=0}else if(r!==0){e.splice(0,r)}};var flush=function(){if(BUILD.asyncQueue){queueCongestion++}consume(queueDomReads);if(BUILD.asyncQueue){var e=(plt.u&6)===2?performance.now()+14*Math.ceil(queueCongestion*(1/10)):Infinity;consumeTimeout(queueDomWrites,e);consumeTimeout(queueDomWritesLow,e);if(queueDomWrites.length>0){queueDomWritesLow.push.apply(queueDomWritesLow,queueDomWrites);queueDomWrites.length=0}if(queuePending=queueDomReads.length+queueDomWrites.length+queueDomWritesLow.length>0){plt.raf(flush)}else{queueCongestion=0}}else{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);var getAssetPath=function(e){var t=new URL(e,plt.C);return t.origin!==win.location.origin?t.href:t.pathname};var setAssetPath=function(e){return plt.C=e};function createStyleSheetIfNeededAndSupported(e){return void 0}var globalStyleSheet;function createShadowRoot(e){var t;var r={mode:"open"};if(BUILD.shadowDelegatesFocus){r.delegatesFocus=!!(e.u&16)}if(BUILD.shadowSlotAssignmentManual){var n=!!(e.u&1024);if(n){r.slotAssignment="manual"}}var o=this.attachShadow(r);if(globalStyleSheet===void 0)globalStyleSheet=(t=createStyleSheetIfNeededAndSupported())!=null?t:null;if(globalStyleSheet){if(supportsMutableAdoptedStyleSheets){o.adoptedStyleSheets.push(globalStyleSheet)}else{o.adoptedStyleSheets=__spreadArray(__spreadArray([],o.adoptedStyleSheets,true),[globalStyleSheet],false)}}}var updateFallbackSlotVisibility=function(e){var t=internalCall(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){getHostSlotNodes(t,e.tagName).forEach((function(e){if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(getSlotChildSiblings(e,getSlotName(e),false).length){e.hidden=true}else{e.hidden=false}}}))}var r=0;for(r=0;r<t.length;r++){var n=t[r];if(n.nodeType===1&&internalCall(n,"childNodes").length){updateFallbackSlotVisibility(n)}}};var getSlottedChildNodes=function(e){var t=[];for(var r=0;r<e.length;r++){var n=e[r]["s-nr"]||void 0;if(n&&n.isConnected){t.push(n)}}return t};function getHostSlotNodes(e,t,r){var n=0;var o=[];var i;for(;n<e.length;n++){i=e[n];if(i["s-sr"]&&(!t||i["s-hn"]===t)&&(r===void 0||getSlotName(i)===r)){o.push(i);if(typeof r!=="undefined")return o}o=__spreadArray(__spreadArray([],o,true),getHostSlotNodes(i.childNodes,t,r),true)}return o}var getSlotChildSiblings=function(e,t,r){if(r===void 0){r=true}var n=[];if(r&&e["s-sr"]||!e["s-sr"])n.push(e);var o=e;while(o=o.nextSibling){if(getSlotName(o)===t&&(r||!o["s-sr"]))n.push(o)}return n};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var addSlotRelocateNode=function(e,t,r,n){if(e["s-ol"]&&e["s-ol"].isConnected){return}var o=document.createTextNode("");o["s-nr"]=e;if(!t["s-cr"]||!t["s-cr"].parentNode)return;var i=t["s-cr"].parentNode;var a=r?internalCall(i,"prepend"):internalCall(i,"appendChild");if(BUILD.hydrateClientSide&&typeof n!=="undefined"){o["s-oo"]=n;var s=internalCall(i,"childNodes");var l=[o];s.forEach((function(e){if(e["s-nr"])l.push(e)}));l.sort((function(e,t){if(!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0))return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));l.forEach((function(e){return a.call(i,e)}))}else{a.call(i,o)}e["s-ol"]=o;e["s-sh"]=t["s-hn"]};var getSlotName=function(e){return typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0};function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;var t=function(t){return function(e){var r=[];var n=this["s-sn"];if(e==null?void 0:e.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var o=this["s-cr"].parentElement;var i=o.__childNodes?o.childNodes:getSlottedChildNodes(o.childNodes);i.forEach((function(e){if(n===getSlotName(e)){r.push(e)}}));if(t){return r.filter((function(e){return e.nodeType===1}))}return r}.bind(e)};e.assignedElements=t(true);e.assignedNodes=t(false)}function dispatchSlotChangeEvent(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function findSlotFromSlottedNode(e,t){var r;t=t||((r=e["s-ol"])==null?void 0:r.parentElement);if(!t)return{slotNode:null,slotName:""};var n=e["s-sn"]=getSlotName(e)||"";var o=internalCall(t,"childNodes");var i=getHostSlotNodes(o,t.tagName,n)[0];return{slotNode:i,slotName:n}}var patchPseudoShadowDom=function(e){patchCloneNode(e);patchSlotAppendChild(e);patchSlotAppend(e);patchSlotPrepend(e);patchSlotInsertAdjacentElement(e);patchSlotInsertAdjacentHTML(e);patchSlotInsertAdjacentText(e);patchInsertBefore(e);patchTextContent(e);patchChildSlotNodes(e);patchSlotRemoveChild(e)};var patchCloneNode=function(e){if(e.__cloneNode)return;var t=e.__cloneNode=e.cloneNode;e.cloneNode=function(e){var r=this;var n=BUILD.shadowDom?r.shadowRoot&&supportsShadow:false;var o=t.call(r,n?e:false);if(BUILD.slot&&!n&&e){var i=0;var a=void 0,s=void 0;var l=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];var f=this.__childNodes||this.childNodes;for(;i<f.length;i++){a=f[i]["s-nr"];s=l.every((function(e){return!f[i][e]}));if(a){if(BUILD.appendChildSlotFix&&o.__appendChild){o.__appendChild(a.cloneNode(true))}else{o.appendChild(a.cloneNode(true))}}if(s){o.appendChild(f[i].cloneNode(true))}}}return o}};var patchSlotAppendChild=function(e){if(e.__appendChild)return;e.__appendChild=e.appendChild;e.appendChild=function(e){var t=findSlotFromSlottedNode(e,this),r=t.slotName,n=t.slotNode;if(n){addSlotRelocateNode(e,n);var o=getSlotChildSiblings(n,r);var i=o[o.length-1];var a=internalCall(i,"parentNode");var s=internalCall(a,"insertBefore")(e,i.nextSibling);dispatchSlotChangeEvent(n);updateFallbackSlotVisibility(this);return s}return this.__appendChild(e)}};var patchSlotRemoveChild=function(e){if(e.__removeChild)return;e.__removeChild=e.removeChild;e.removeChild=function(e){if(e&&typeof e["s-sn"]!=="undefined"){var t=this.__childNodes||this.childNodes;var r=getHostSlotNodes(t,this.tagName,e["s-sn"]);if(r&&e.isConnected){e.remove();updateFallbackSlotVisibility(this);return}}return this.__removeChild(e)}};var patchSlotPrepend=function(e){if(e.__prepend)return;e.__prepend=e.prepend;e.prepend=function(){var t=this;var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}r.forEach((function(r){if(typeof r==="string"){r=t.ownerDocument.createTextNode(r)}var n=(r["s-sn"]=getSlotName(r))||"";var o=internalCall(t,"childNodes");var i=getHostSlotNodes(o,t.tagName,n)[0];if(i){addSlotRelocateNode(r,i,true);var a=getSlotChildSiblings(i,n);var s=a[0];var l=internalCall(s,"parentNode");var f=internalCall(l,"insertBefore")(r,internalCall(s,"nextSibling"));dispatchSlotChangeEvent(i);return f}if(r.nodeType===1&&!!r.getAttribute("slot")){r.hidden=true}return e.__prepend(r)}))}};var patchSlotAppend=function(e){if(e.__append)return;e.__append=e.append;e.append=function(){var e=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}t.forEach((function(t){if(typeof t==="string"){t=e.ownerDocument.createTextNode(t)}e.appendChild(t)}))}};var patchSlotInsertAdjacentHTML=function(e){if(e.__insertAdjacentHTML)return;var t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}var n=this.ownerDocument.createElement("_");var o;n.innerHTML=r;if(e==="afterbegin"){while(o=n.firstChild){this.prepend(o)}}else if(e==="beforeend"){while(o=n.firstChild){this.append(o)}}}};var patchSlotInsertAdjacentText=function(e){e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}};var patchInsertBefore=function(e){if(e.__insertBefore)return;var t=e;if(t.__insertBefore)return;t.__insertBefore=e.insertBefore;e.insertBefore=function(e,t){var r=this;var n=findSlotFromSlottedNode(e,this),o=n.slotName,i=n.slotNode;var a=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);if(i){var s=false;a.forEach((function(n){if(n===t||t===null){s=true;if(t===null||o!==t["s-sn"]){r.appendChild(e);return}if(o===t["s-sn"]){addSlotRelocateNode(e,i);var a=internalCall(t,"parentNode");internalCall(a,"insertBefore")(e,t);dispatchSlotChangeEvent(i)}return}}));if(s)return e}var l=t==null?void 0:t.__parentNode;if(l&&!this.isSameNode(l)){return this.appendChild(e)}return this.__insertBefore(e,t)}};var patchSlotInsertAdjacentElement=function(e){if(e.__insertAdjacentElement)return;var t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}if(e==="afterbegin"){this.prepend(r);return r}else if(e==="beforeend"){this.append(r);return r}return r}};var patchTextContent=function(e){patchHostOriginalAccessor("textContent",e);Object.defineProperty(e,"textContent",{get:function(){var e="";var t=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);t.forEach((function(t){return e+=t.textContent||""}));return e},set:function(e){var t=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);t.forEach((function(e){if(e["s-ol"])e["s-ol"].remove();e.remove()}));this.insertAdjacentHTML("beforeend",e)}})};var patchChildSlotNodes=function(e){var t=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);patchHostOriginalAccessor("children",e);Object.defineProperty(e,"children",{get:function(){return this.childNodes.filter((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return this.children.length}});patchHostOriginalAccessor("firstChild",e);Object.defineProperty(e,"firstChild",{get:function(){return this.childNodes[0]}});patchHostOriginalAccessor("lastChild",e);Object.defineProperty(e,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]}});patchHostOriginalAccessor("childNodes",e);Object.defineProperty(e,"childNodes",{get:function(){var e=new t;e.push.apply(e,getSlottedChildNodes(this.__childNodes));return e}})};var patchSlottedNode=function(e){if(!e||e.__nextSibling!==void 0||!globalThis.Node)return;patchNextSibling(e);patchPreviousSibling(e);patchParentNode(e);if(e.nodeType===Node.ELEMENT_NODE){patchNextElementSibling(e);patchPreviousElementSibling(e)}};var patchNextSibling=function(e){if(!e||e.__nextSibling)return;patchHostOriginalAccessor("nextSibling",e);Object.defineProperty(e,"nextSibling",{get:function(){var e;var t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;var r=t==null?void 0:t.indexOf(this);if(t&&r>-1){return t[r+1]}return this.__nextSibling}})};var patchNextElementSibling=function(e){if(!e||e.__nextElementSibling)return;patchHostOriginalAccessor("nextElementSibling",e);Object.defineProperty(e,"nextElementSibling",{get:function(){var e;var t=(e=this["s-ol"])==null?void 0:e.parentNode.children;var r=t==null?void 0:t.indexOf(this);if(t&&r>-1){return t[r+1]}return this.__nextElementSibling}})};var patchPreviousSibling=function(e){if(!e||e.__previousSibling)return;patchHostOriginalAccessor("previousSibling",e);Object.defineProperty(e,"previousSibling",{get:function(){var e;var t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;var r=t==null?void 0:t.indexOf(this);if(t&&r>-1){return t[r-1]}return this.__previousSibling}})};var patchPreviousElementSibling=function(e){if(!e||e.__previousElementSibling)return;patchHostOriginalAccessor("previousElementSibling",e);Object.defineProperty(e,"previousElementSibling",{get:function(){var e;var t=(e=this["s-ol"])==null?void 0:e.parentNode.children;var r=t==null?void 0:t.indexOf(this);if(t&&r>-1){return t[r-1]}return this.__previousElementSibling}})};var patchParentNode=function(e){if(!e||e.__parentNode)return;patchHostOriginalAccessor("parentNode",e);Object.defineProperty(e,"parentNode",{get:function(){var e;return((e=this["s-ol"])==null?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}})};var validElementPatches=["children","nextElementSibling","previousElementSibling"];var validNodesPatches=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function patchHostOriginalAccessor(e,t){if(!globalThis.Node||!globalThis.Element){return}var r;if(validElementPatches.includes(e)){r=Object.getOwnPropertyDescriptor(Element.prototype,e)}else if(validNodesPatches.includes(e)){r=Object.getOwnPropertyDescriptor(Node.prototype,e)}if(!r){r=Object.getOwnPropertyDescriptor(t,e)}if(r)Object.defineProperty(t,"__"+e,r)}function internalCall(e,t){if("__"+t in e){var r=e["__"+t];if(typeof r!=="function")return r;return r.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var i=0;var createTime=function(e,t){if(t===void 0){t=""}if(BUILD.profile&&performance.mark){var r="st:".concat(e,":").concat(t,":").concat(i++);performance.mark(r);return function(){return performance.measure("[Stencil] ".concat(e,"() <").concat(t,">"),r)}}else{return function(){return}}};var uniqueTime=function(e,t){if(BUILD.profile&&performance.mark){if(performance.getEntriesByName(e,"mark").length===0){performance.mark(e)}return function(){if(performance.getEntriesByName(t,"measure").length===0){performance.measure(t,e)}}}else{return function(){return}}};var inspect=function(e){var t;var r=getHostRef(e);if(!r){return void 0}var n=r.u;var o=r.$hostElement$;return t={renderCount:r.p,flags:{hasRendered:!!(n&2),hasConnected:!!(n&1),isWaitingForChildren:!!(n&4),isConstructingInstance:!!(n&8),isQueuedForUpdate:!!(n&16),hasInitializedComponent:!!(n&32),hasLoadedComponent:!!(n&64),isWatchReady:!!(n&128),isListenReady:!!(n&256),needsRerender:!!(n&512)},instanceValues:r.i,serializerValues:r.v,ancestorComponent:r.T,hostElement:o,lazyInstance:r.l,vnode:r.N,modeName:r._,fetchedCbList:r.I,onReadyPromise:r.L,onReadyResolve:r.S,onInstancePromise:r.D,onInstanceResolve:r.m,onRenderResolve:r.R,queuedListeners:r.A,rmListeners:r.O},t["s-id"]=o["s-id"],t["s-cr"]=o["s-cr"],t["s-lr"]=o["s-lr"],t["s-p"]=o["s-p"],t["s-rc"]=o["s-rc"],t["s-sc"]=o["s-sc"],t};var installDevTools=function(){if(BUILD.devTools){var e=win.stencil=win.stencil||{};var t=e.inspect;e.inspect=function(e){var r=inspect(e);if(!r&&typeof t==="function"){r=t(e)}return r}}};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n,o,i;var a=getScopeId(t,r);var s=styles.get(a);if(!BUILD.attachStyles||!win.document){return a}e=e.nodeType===11?e:win.document;if(s){if(typeof s==="string"){e=e.head||e;var l=rootAppliedStyles.get(e);var f=void 0;if(!l){rootAppliedStyles.set(e,l=new Set)}var u=(BUILD.hydrateClientSide||BUILD.hotModuleReplacement)&&e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]'));if(u){u.textContent=s}else if(!l.has(a)){f=win.document.createElement("style");f.textContent=s;var c=(n=plt.k)!=null?n:queryNonceMetaTagContent(win.document);if(c!=null){f.setAttribute("nonce",c)}if((BUILD.hydrateServerSide||BUILD.hotModuleReplacement)&&(t.u&2||t.u&128||t.u&1)){f.setAttribute(HYDRATED_STYLE_ID,a)}if(!(t.u&1)){if(e.nodeName==="HEAD"){var v=e.querySelectorAll("link[rel=preconnect]");var d=v.length>0?v[v.length-1].nextSibling:e.querySelector("style");e.insertBefore(f,(d==null?void 0:d.parentNode)===e?d:null)}else if("host"in e){if(supportsConstructableStylesheets){var p=(o=e.defaultView)!=null?o:e.ownerDocument.defaultView;var h=new p.CSSStyleSheet;h.replaceSync(s);if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.unshift(h)}else{e.adoptedStyleSheets=__spreadArray([h],e.adoptedStyleSheets,true)}}else{var D=e.querySelector("style");if(D&&!BUILD.hotModuleReplacement){D.textContent=s+D.textContent}else{e.prepend(f)}}}else{e.append(f)}}if(t.u&1){e.insertBefore(f,null)}if(t.u&4){f.textContent+=SLOT_FB_CSS}if(l){l.add(a)}}}else if(BUILD.constructableCSS){var l=rootAppliedStyles.get(e);if(!l){rootAppliedStyles.set(e,l=new Set)}if(!l.has(a)){var p=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;var h=void 0;if(s.constructor===p.CSSStyleSheet){h=s}else{h=new p.CSSStyleSheet;for(var m=0;m<s.cssRules.length;m++){h.insertRule(s.cssRules[m].cssText,m)}}if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.push(h)}else{e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[h],false)}l.add(a);if(BUILD.hydrateClientSide&&"host"in e){var L=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]'));if(L){writeTask((function(){return L.remove()}))}}}}}return a};var attachStyles=function(e){var t=e.t;var r=e.$hostElement$;var n=t.u;var o=createTime("attachStyles",t.B);var i=addStyle(BUILD.shadowDom&&supportsShadow&&r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e._);if((BUILD.shadowDom||BUILD.scoped)&&BUILD.cssAnnotations&&n&10){r["s-sc"]=i;r.classList.add(i+"-h")}o()};var getScopeId=function(e,t){return"sc-"+(BUILD.mode&&t&&e.u&32?e.B+"-"+t:e.B)};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var hydrateScopedToShadow=function(){if(!win.document){return}var e=win.document.querySelectorAll("[".concat(HYDRATED_STYLE_ID,"]"));var t=0;for(;t<e.length;t++){registerStyle(e[t].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow(e[t].innerHTML),true)}};var isDef=function(e){return e!=null&&e!==void 0};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}if(typeof e==="string"){e=transformTag(e)}var o=null;var i=null;var a=null;var s=false;var l=false;var f=[];var u=function(t){for(var r=0;r<t.length;r++){o=t[r];if(Array.isArray(o)){u(o)}else if(o!=null&&typeof o!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(o)){o=String(o)}else if(BUILD.isDev&&typeof e!=="function"&&o.u===void 0){consoleDevError("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.")}if(s&&l){f[f.length-1].$+=o}else{f.push(s?newVNode(null,o):o)}l=s}}};u(r);if(t){if(BUILD.isDev&&e==="input"){validateInputProperties(t)}if(BUILD.vdomKey&&t.key){i=t.key}if(BUILD.slotRelocation&&t.name){a=t.name}if(BUILD.vdomClass){var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(BUILD.isDev&&f.some(isHost)){consoleDevError("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function.")}if(BUILD.vdomFunctional&&typeof e==="function"){return e(t===null?{}:t,f,vdomFnUtils)}var v=newVNode(e,null);v.P=t;if(f.length>0){v.M=f}if(BUILD.vdomKey){v.j=i}if(BUILD.slotRelocation){v.V=a}return v};var newVNode=function(e,t){var r={u:0,F:e,$:t!=null?t:null,W:null,M:null};if(BUILD.vdomAttribute){r.P=null}if(BUILD.vdomKey){r.j=null}if(BUILD.slotRelocation){r.V=null}return r};var Host={};var isHost=function(e){return e&&e.F===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.P,vchildren:e.M,vkey:e.j,vname:e.V,vtag:e.F,vtext:e.$}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=__assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.P=e.vattrs;r.M=e.vchildren;r.j=e.vkey;r.V=e.vname;return r};var validateInputProperties=function(e){var t=Object.keys(e);var r=t.indexOf("value");if(r===-1){return}var n=t.indexOf("type");var o=t.indexOf("min");var i=t.indexOf("max");var a=t.indexOf("step");if(r<n||r<o||r<i||r<a){consoleDevWarn('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}};var initializeClientHydrate=function(e,t,r,n){var o,i,a,s;var l=createTime("hydrateClient",t);var f=e.shadowRoot;var u=[];var c=[];var v=[];var d=BUILD.shadowDom&&f?[]:null;var p=newVNode(t,null);p.W=e;var h;if(BUILD.scoped){var D=n.t;if(D&&D.u&10&&e["s-sc"]){h=e["s-sc"];e.classList.add(h+"-h")}else if(e["s-sc"]){delete e["s-sc"]}}if(win.document&&(!plt.Y||!plt.Y.size)){initializeDocumentHydrate(win.document.body,plt.Y=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);n.N=clientHydrate(p,u,c,d,e,e,r,v);var m=0;var L=u.length;var S;for(m;m<L;m++){S=u[m];var I=S.q+"."+S.X;var g=plt.Y.get(I);var B=S.W;if(!f){B["s-hn"]=transformTag(t).toUpperCase();if(S.F==="slot"){B["s-cr"]=e["s-cr"]}}else if(((o=S.F)==null?void 0:o.toString().includes("-"))&&S.F!=="slot-fb"&&!S.W.shadowRoot){var D=getHostRef(S.W);if(D){var U=getScopeId(D.t,BUILD.mode?S.W.getAttribute("s-mode"):void 0);var y=win.document.querySelector('style[sty-id="'.concat(U,'"]'));if(y){d.unshift(y.cloneNode(true))}}}if(S.F==="slot"){S.V=S.W["s-sn"]||S.W["name"]||null;if(S.M){S.u|=2;if(!S.W.childNodes.length){S.M.forEach((function(e){S.W.appendChild(e.W)}))}}else{S.u|=1}}if(g&&g.isConnected){if(g.parentElement.shadowRoot&&g["s-en"]===""){g.parentNode.insertBefore(B,g.nextSibling)}g.parentNode.removeChild(g);if(!f){B["s-oo"]=parseInt(S.X)}}if(g&&!g["s-id"]){plt.Y.delete(I)}}var _=[];var C=v.length;var b=0;var E;var T;var N;var R;var w=0;for(b;b<C;b++){E=v[b];if(!E||!E.length)continue;N=E.length;T=0;for(T;T<N;T++){R=E[T];if(!_[R.hostId]){_[R.hostId]=plt.Y.get(R.hostId)}if(!_[R.hostId])continue;var A=_[R.hostId];if(A.shadowRoot&&R.node.parentElement!==A){A.insertBefore(R.node,(a=(i=E[T-1])==null?void 0:i.node)==null?void 0:a.nextSibling)}if(!A.shadowRoot||!f){if(!R.slot["s-cr"]){R.slot["s-cr"]=A["s-cr"];if(!R.slot["s-cr"]&&A.shadowRoot){R.slot["s-cr"]=A}else{R.slot["s-cr"]=(A.__childNodes||A.childNodes)[0]}}addSlotRelocateNode(R.node,R.slot,false,R.node["s-oo"]||w);if(((s=R.node.parentElement)==null?void 0:s.shadowRoot)&&R.node["getAttribute"]&&R.node.getAttribute("slot")){R.node.removeAttribute("slot")}if(BUILD.experimentalSlotFixes){patchSlottedNode(R.node)}}w=(R.node["s-oo"]||w)+1}}if(BUILD.scoped&&h&&c.length){c.forEach((function(e){e.W.parentElement.classList.add(h+"-s")}))}if(BUILD.shadowDom&&f&&!f.childNodes.length){var H=0;var O=d.length;if(O){for(H;H<O;H++){var B=d[H];if(B){f.appendChild(B)}}Array.from(e.childNodes).forEach((function(e){if(typeof e["s-en"]!=="string"&&typeof e["s-sn"]!=="string"){if(e.nodeType===1&&e.slot&&e.hidden){e.removeAttribute("hidden")}else if(e.nodeType===8&&!e.nodeValue){e.parentNode.removeChild(e)}}}))}}n.$hostElement$=e;l()};var clientHydrate=function(e,t,r,n,o,i,a,s){if(s===void 0){s=[]}var l;var f;var u;var c;var v=o["s-sc"];if(i.nodeType===1){l=i.getAttribute(HYDRATE_CHILD_ID);if(l){f=l.split(".");if(f[0]===a||f[0]==="0"){u=createSimpleVNode({u:0,q:f[0],X:f[1],K:f[2],G:f[3],F:i.tagName.toLowerCase(),W:i,P:{class:i.className||""}});t.push(u);i.removeAttribute(HYDRATE_CHILD_ID);if(!e.M){e.M=[]}if(BUILD.scoped&&v&&f[0]===a){i["s-si"]=v;u.P.class+=" "+v}var d=u.W.getAttribute("s-sn");if(typeof d==="string"){if(u.F==="slot-fb"){addSlot(d,f[2],u,i,e,t,r,n,s);if(BUILD.scoped&&v){i.classList.add(v)}}u.W["s-sn"]=d;u.W.removeAttribute("s-sn")}if(u.G!==void 0){e.M[u.G]=u}e=u;if(n&&u.K==="0"){n[u.G]=u.W}}}if(i.shadowRoot){for(c=i.shadowRoot.childNodes.length-1;c>=0;c--){clientHydrate(e,t,r,n,o,i.shadowRoot.childNodes[c],a,s)}}var p=i.__childNodes||i.childNodes;for(c=p.length-1;c>=0;c--){clientHydrate(e,t,r,n,o,p[c],a,s)}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===a||f[1]==="0"){l=f[0];u=createSimpleVNode({q:f[1],X:f[2],K:f[3],G:f[4]||"0",W:i,P:null,M:null,j:null,V:null,F:null,$:null});if(l===TEXT_NODE_ID){u.W=findCorrespondingNode(i,3);if(u.W&&u.W.nodeType===3){u.$=u.W.textContent;t.push(u);i.remove();if(a===u.q){if(!e.M){e.M=[]}e.M[u.G]=u}if(n&&u.K==="0"){n[u.G]=u.W}}}else if(l===COMMENT_NODE_ID){u.W=findCorrespondingNode(i,8);if(u.W&&u.W.nodeType===8){t.push(u);i.remove()}}else if(u.q===a){if(l===SLOT_NODE_ID){var d=i["s-sn"]=f[5]||"";addSlot(d,f[2],u,i,e,t,r,n,s)}else if(l===CONTENT_REF_ID){if(BUILD.shadowDom&&n){i.remove()}else if(BUILD.slotRelocation){o["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.F==="style"){var h=newVNode(null,i.textContent);h.W=i;h.G="0";e.M=[h]}return e};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=e[HYDRATE_ID]||e.getAttribute(HYDRATE_ID);if(r){t.set(r,e)}var n=0;if(e.shadowRoot){for(;n<e.shadowRoot.childNodes.length;n++){initializeDocumentHydrate(e.shadowRoot.childNodes[n],t)}}var o=e.__childNodes||e.childNodes;for(n=0;n<o.length;n++){initializeDocumentHydrate(o[n],t)}}else if(e.nodeType===8){var i=e.nodeValue.split(".");if(i[0]===ORG_LOCATION_ID){t.set(i[1]+"."+i[2],e);e.nodeValue="";e["s-en"]=i[3]}}};var createSimpleVNode=function(e){var t={u:0,q:null,X:null,K:null,G:"0",W:null,P:null,M:null,j:null,V:null,F:null,$:null};return __assign(__assign({},t),e)};function addSlot(e,t,r,n,o,i,a,s,l){n["s-sr"]=true;r.V=e||null;r.F="slot";var f=(o==null?void 0:o.W)?o.W["s-id"]||o.W.getAttribute("s-id"):"";if(BUILD.shadowDom&&s&&win.document){var u=r.W=win.document.createElement(r.F);if(r.V){r.W.setAttribute("name",e)}if(o.W.shadowRoot&&f&&f!==r.q){internalCall(o.W,"insertBefore")(u,internalCall(o.W,"children")[0])}else{internalCall(internalCall(n,"parentNode"),"insertBefore")(u,n)}addSlottedNodes(l,t,e,n,r.q);n.remove();if(r.K==="0"){s[r.G]=r.W}}else{var u=r.W;var c=f&&f!==r.q&&o.W.shadowRoot;addSlottedNodes(l,t,e,n,c?f:r.q);patchSlotNode(n);if(c){o.W.insertBefore(u,o.W.children[0])}}i.push(r);a.push(r);if(!o.M){o.M=[]}o.M[r.G]=r}var addSlottedNodes=function(e,t,r,n,o){var i,a;var s=n.nextSibling;e[t]=e[t]||[];if(!s||((i=s.nodeValue)==null?void 0:i.startsWith(SLOT_NODE_ID+".")))return;do{if(s&&((s["getAttribute"]&&s.getAttribute("slot")||s["s-sn"])===r||r===""&&!s["s-sn"]&&(!s["getAttribute"]||!s.getAttribute("slot"))&&(s.nodeType===8||s.nodeType===3))){s["s-sn"]=r;e[t].push({slot:n,node:s,hostId:o})}s=s==null?void 0:s.nextSibling}while(s&&!((a=s.nodeValue)==null?void 0:a.startsWith(SLOT_NODE_ID+".")))};var findCorrespondingNode=function(e,t){var r=e;do{r=r.nextSibling}while(r&&(r.nodeType!==t||!r.nodeValue));return r};var escapeRegExpSpecialCharacters=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*
|
|
10
|
+
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
11
|
+
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
12
|
+
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
13
|
+
*/var safeSelector=function(e){var t=[];var r=0;e=e.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,(function(e,n){var o="__part-".concat(r,"__");t.push(n);r++;return o}));e=e.replace(/(\[[^\]]*\])/g,(function(e,n){var o="__ph-".concat(r,"__");t.push(n);r++;return o}));var n=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(e,n,o){var i="__ph-".concat(r,"__");t.push(o);r++;return n+i}));var o={content:n,placeholders:t};return o};var restoreSafeSelector=function(e,t){t=t.replace(/__part-(\d+)__/g,(function(t,r){return e[+r]}));return t.replace(/__ph-(\d+)__/g,(function(t,r){return e[+r]}))};var _polyfillHost="-shadowcsshost";var _polyfillSlotted="-shadowcssslotted";var _polyfillHostContext="-shadowcsscontext";var _parenSuffix=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";var _cssColonHostRe=new RegExp("("+_polyfillHost+_parenSuffix,"gim");var _cssColonHostContextRe=new RegExp("("+_polyfillHostContext+_parenSuffix,"gim");var _cssColonSlottedRe=new RegExp("("+_polyfillSlotted+_parenSuffix,"gim");var _polyfillHostNoCombinator=_polyfillHost+"-no-combinator";var _polyfillHostNoCombinatorRe=/-shadowcsshost-no-combinator([^\s]*)/;var _shadowDOMSelectorsRe=[/::shadow/g,/::content/g];var _safePartRe=/__part-(\d+)__/g;var _selectorReSuffix="([>\\s~+[.,{:][\\s\\S]*)?$";var _polyfillHostRe=/-shadowcsshost/gim;var createSupportsRuleRe=function(e){var t=escapeRegExpSpecialCharacters(e);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(t,"))(").concat(t,"\\b)"),"g")};var _commentRe=/\/\*\s*[\s\S]*?\*\//g;var stripComments=function(e){return e.replace(_commentRe,"")};var _commentWithHashRe=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var extractCommentsWithHash=function(e){return e.match(_commentWithHashRe)||[]};var _ruleRe=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;var _curlyRe=/([{}])/g;var _selectorPartsRe=/(^.*?[^\\])??((:+)(.*)|$)/;var OPEN_CURLY="{";var CLOSE_CURLY="}";var BLOCK_PLACEHOLDER="%BLOCK%";var processRules=function(e,t){var r=escapeBlocks(e);var n=0;return r.escapedString.replace(_ruleRe,(function(){var e=[];for(var o=0;o<arguments.length;o++){e[o]=arguments[o]}var i=e[2];var a="";var s=e[4];var l="";if(s&&s.startsWith("{"+BLOCK_PLACEHOLDER)){a=r.blocks[n++];s=s.substring(BLOCK_PLACEHOLDER.length+1);l="{"}var f={selector:i,content:a};var u=t(f);return"".concat(e[1]).concat(u.selector).concat(e[3]).concat(l).concat(u.content).concat(s)}))};var escapeBlocks=function(e){var t=e.split(_curlyRe);var r=[];var n=[];var o=0;var i=[];for(var a=0;a<t.length;a++){var s=t[a];if(s===CLOSE_CURLY){o--}if(o>0){i.push(s)}else{if(i.length>0){n.push(i.join(""));r.push(BLOCK_PLACEHOLDER);i=[]}r.push(s)}if(s===OPEN_CURLY){o++}}if(i.length>0){n.push(i.join(""));r.push(BLOCK_PLACEHOLDER)}var l={escapedString:r.join(""),blocks:n};return l};var insertPolyfillHostInCssText=function(e){var t=[];e=e.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,(function(e,r){var n="__supports_".concat(t.length,"__");t.push(r);return"@supports selector(".concat(n,")")}));var r=createSupportsRuleRe("::slotted");var n=createSupportsRuleRe(":host");var o=createSupportsRuleRe(":host-context");e=e.replace(o,"$1".concat(_polyfillHostContext)).replace(n,"$1".concat(_polyfillHost)).replace(r,"$1".concat(_polyfillSlotted));t.forEach((function(t,r){e=e.replace("__supports_".concat(r,"__"),t)}));return e};var convertColonRule=function(e,t,r){return e.replace(t,(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}if(e[2]){var n=e[2].split(",");var o=[];for(var i=0;i<n.length;i++){var a=n[i].trim();if(!a)break;o.push(r(_polyfillHostNoCombinator,a,e[3]))}return o.join(",")}else{return _polyfillHostNoCombinator+e[3]}}))};var colonHostPartReplacer=function(e,t,r){return e+t.replace(_polyfillHost,"")+r};var convertColonHost=function(e){return convertColonRule(e,_cssColonHostRe,colonHostPartReplacer)};var colonHostContextPartReplacer=function(e,t,r){if(t.indexOf(_polyfillHost)>-1){return colonHostPartReplacer(e,t,r)}else{return e+t+r+", "+t+" "+e+r}};var convertColonSlotted=function(e,t){var r="."+t+" > ";var n=[];e=e.replace(_cssColonSlottedRe,(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}if(e[2]){var o=e[2].trim();var i=e[3];var a=r+o+i;var s="";for(var l=e[4]-1;l>=0;l--){var f=e[5][l];if(f==="}"||f===","){break}s=f+s}var u=(s+a).trim();var c="".concat(s.trimEnd()).concat(a.trim()).trim();if(u!==c){var v="".concat(c,", ").concat(u);n.push({orgSelector:u,updatedSelector:v})}return a}else{return _polyfillHostNoCombinator+e[3]}}));return{selectors:n,cssText:e}};var convertColonHostContext=function(e){return convertColonRule(e,_cssColonHostContextRe,colonHostContextPartReplacer)};var convertShadowDOMSelectors=function(e){return _shadowDOMSelectorsRe.reduce((function(e,t){return e.replace(t," ")}),e)};var makeScopeMatcher=function(e){var t=/\[/g;var r=/\]/g;e=e.replace(t,"\\[").replace(r,"\\]");return new RegExp("^("+e+")"+_selectorReSuffix,"m")};var selectorNeedsScoping=function(e,t){var r=makeScopeMatcher(t);return!r.test(e)};var injectScopingSelector=function(e,t){return e.replace(_selectorPartsRe,(function(e,r,n,o,i){if(r===void 0){r=""}if(o===void 0){o=""}if(i===void 0){i=""}return r+t+o+i}))};var applySimpleSelectorScope=function(e,t,r){_polyfillHostRe.lastIndex=0;if(_polyfillHostRe.test(e)){var n=".".concat(r);return e.replace(_polyfillHostNoCombinatorRe,(function(e,t){return injectScopingSelector(t,n)})).replace(_polyfillHostRe,n+" ")}return t+" "+e};var applyStrictSelectorScope=function(e,t,r){var n=/\[is=([^\]]*)\]/g;t=t.replace(n,(function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}return t[0]}));var o="."+t;var i=function(e){var n=e.trim();if(!n){return""}if(e.indexOf(_polyfillHostNoCombinator)>-1){n=applySimpleSelectorScope(e,t,r)}else{var i=e.replace(_polyfillHostRe,"");if(i.length>0){n=injectScopingSelector(i,o)}}return n};var a=safeSelector(e);e=a.content;var s="";var l=0;var f;var u=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;var c=e.indexOf(_polyfillHostNoCombinator)>-1;var v=!c;while((f=u.exec(e))!==null){var d=f[1];var p=e.slice(l,f.index).trim();v=v||p.indexOf(_polyfillHostNoCombinator)>-1;var h=v?i(p):p;s+="".concat(h," ").concat(d," ");l=u.lastIndex}var D=e.substring(l);v=!D.match(_safePartRe)&&(v||D.indexOf(_polyfillHostNoCombinator)>-1);s+=v?i(D):D;return restoreSafeSelector(a.placeholders,s)};var scopeSelector=function(e,t,r,n){return e.split(",").map((function(e){if(n&&e.indexOf("."+n)>-1){return e.trim()}if(selectorNeedsScoping(e,t)){return applyStrictSelectorScope(e,t,r).trim()}else{return e.trim()}})).join(", ")};var scopeSelectors=function(e,t,r,n,o){return processRules(e,(function(e){var o=e.selector;var i=e.content;if(e.selector[0]!=="@"){o=scopeSelector(e.selector,t,r,n)}else if(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")){i=scopeSelectors(e.content,t,r,n)}var a={selector:o.replace(/\s{2,}/g," ").trim(),content:i};return a}))};var scopeCssText=function(e,t,r,n,o){e=insertPolyfillHostInCssText(e);e=convertColonHost(e);e=convertColonHostContext(e);var i=convertColonSlotted(e,n);e=i.cssText;e=convertShadowDOMSelectors(e);if(t){e=scopeSelectors(e,t,r,n)}e=replaceShadowCssHost(e,r);e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 ");return{cssText:e.trim(),slottedSelectors:i.selectors.map((function(e){return{orgSelector:replaceShadowCssHost(e.orgSelector,r),updatedSelector:replaceShadowCssHost(e.updatedSelector,r)}}))}};var replaceShadowCssHost=function(e,t){return e.replace(/-shadowcsshost-no-combinator/g,".".concat(t))};var expandPartSelectors=function(e){var t=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return processRules(e,(function(e){if(e.selector[0]==="@"){return e}var r=e.selector.split(",").map((function(r){var n=[r.trim()];var o;while((o=t.exec(r))!==null){var i=o[1].trimEnd();var a=o[2].trim().split(/\s+/);var s=o[3]||"";var l=a.flatMap((function(t){if(!e.selector.includes('[part~="'.concat(t,'"]'))){return['[part~="'.concat(t,'"]')]}return[]})).join("");var f="".concat(i," ").concat(l).concat(s);if(!!l&&f!==r.trim()){n.push(f)}}return n.join(", ")}));e.selector=r.join(", ");return e}))};var scopeCss=function(e,t,r){var n=t+"-h";var o=t+"-s";var i=extractCommentsWithHash(e);e=stripComments(e);var a=[];{var s=function(e){var t="/*!@___".concat(a.length,"___*/");var r="/*!@".concat(e.selector,"*/");a.push({placeholder:t,comment:r});e.selector=t+e.selector;return e};e=processRules(e,(function(e){if(e.selector[0]!=="@"){return s(e)}else if(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")){e.content=processRules(e.content,s);return e}return e}))}var l=scopeCssText(e,t,n,o);e=__spreadArray([l.cssText],i,true).join("\n");{a.forEach((function(t){var r=t.placeholder,n=t.comment;e=e.replace(r,n)}))}l.slottedSelectors.forEach((function(t){var r=new RegExp(escapeRegExpSpecialCharacters(t.orgSelector)+"(?=\\s*[,{]|$)","g");e=e.replace(r,t.updatedSelector)}));e=expandPartSelectors(e);return e};var computeMode=function(e){return modeResolutionChain.map((function(t){return t(e)})).find((function(e){return!!e}))};var setMode=function(e){return modeResolutionChain.push(e)};var getMode=function(e){var t;return(t=getHostRef(e))==null?void 0:t._};var normalizeWatchers=function(e){if(!e)return void 0;var t=Object.keys(e);if(t.length===0)return void 0;var r=false;for(var n=0,o=t;n<o.length;n++){var i=o[n];if(r)break;for(var a=0,s=e[i];a<s.length;a++){var l=s[a];if(typeof l==="string"){r=true;break}}}if(!r)return e;var f={};for(var u=0,c=t;u<c.length;u++){var i=c[u];f[i]=e[i].map((function(e){var t;return typeof e==="string"?(t={},t[e]=0,t):e}))}return f};var RemoteValue=function(){function e(){}e.fromLocalValue=function(t){var r=t[TYPE_CONSTANT];var n=VALUE_CONSTANT in t?t[VALUE_CONSTANT]:void 0;switch(r){case"string":return n;case"boolean":return n;case"bigint":return BigInt(n);case"undefined":return void 0;case"null":return null;case"number":if(n==="NaN")return NaN;if(n==="-0")return-0;if(n==="Infinity")return Infinity;if(n==="-Infinity")return-Infinity;return n;case"array":return n.map((function(t){return e.fromLocalValue(t)}));case"date":return new Date(n);case"map":var o=new Map;for(var i=0,a=n;i<a.length;i++){var s=a[i],l=s[0],f=s[1];var u=typeof l==="object"&&l!==null?e.fromLocalValue(l):l;var c=e.fromLocalValue(f);o.set(u,c)}return o;case"object":var v={};for(var d=0,p=n;d<p.length;d++){var h=p[d],l=h[0],f=h[1];v[l]=e.fromLocalValue(f)}return v;case"regexp":var D=n.pattern,m=n.flags;return new RegExp(D,m);case"set":var L=new Set;for(var S=0,I=n;S<I.length;S++){var g=I[S];L.add(e.fromLocalValue(g))}return L;case"symbol":return Symbol(n);default:throw new Error("Unsupported type: ".concat(r))}};e.fromLocalValueArray=function(t){return t.map((function(t){return e.fromLocalValue(t)}))};e.isLocalValueObject=function(e){if(typeof e!=="object"||e===null){return false}if(!e.hasOwnProperty(TYPE_CONSTANT)){return false}var t=e[TYPE_CONSTANT];var r=Object.values(__assign(__assign({},PrimitiveType),NonPrimitiveType)).includes(t);if(!r){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(VALUE_CONSTANT)}return true};return e}();function decodeBase64Unicode(e){var t=atob(e);var r=new Uint8Array(t.length);for(var n=0;n<t.length;n++){r[n]=t.charCodeAt(n)}return(new TextDecoder).decode(r)}function deserializeProperty(e){if(typeof e!=="string"||!e.startsWith(SERIALIZED_PREFIX)){return e}return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(e.slice(SERIALIZED_PREFIX.length))))}var parsePropertyValue=function(e,t,r){if((BUILD.hydrateClientSide||BUILD.hydrateServerSide)&&typeof e==="string"&&e.startsWith(SERIALIZED_PREFIX)){e=deserializeProperty(e);return e}if(e!=null&&!isComplexType(e)){if(BUILD.propBoolean&&t&4){if(BUILD.formAssociated&&r&&typeof e==="string"){return e===""||!!e}else{return e==="false"?false:e===""||!!e}}if(BUILD.propNumber&&t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(BUILD.propString&&t&1){return String(e)}return e}return e};var getElement=function(e){var t;return BUILD.lazyLoad?(t=getHostRef(e))==null?void 0:t.$hostElement$:e};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){if(BUILD.isDev&&!n.isConnected){consoleDevWarn('The "'.concat(t,'" event was emitted, but the dispatcher node is no longer connected to the dom.'))}return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var setAccessor=function(e,t,r,n,o,i,a){if(r===n){return}var s=isMemberInElement(e,t);var l=t.toLowerCase();if(BUILD.vdomClass&&t==="class"){var f=e.classList;var u=parseClassList(r);var c=parseClassList(n);if(BUILD.hydrateClientSide&&(e["s-si"]||e["s-sc"])&&a){var v=e["s-sc"]||e["s-si"];c.push(v);u.forEach((function(e){if(e.startsWith(v))c.push(e)}));c=__spreadArray([],new Set(c),true).filter((function(e){return e}));f.add.apply(f,c)}else{f.remove.apply(f,u.filter((function(e){return e&&!c.includes(e)})));f.add.apply(f,c.filter((function(e){return e&&!u.includes(e)})))}}else if(BUILD.vdomStyle&&t==="style"){if(BUILD.updatable){for(var d in r){if(!n||n[d]==null){if(!BUILD.hydrateServerSide&&d.includes("-")){e.style.removeProperty(d)}else{e.style[d]=""}}}}for(var d in n){if(!r||n[d]!==r[d]){if(!BUILD.hydrateServerSide&&d.includes("-")){e.style.setProperty(d,n[d])}else{e.style[d]=n[d]}}}}else if(BUILD.vdomKey&&t==="key");else if(BUILD.vdomRef&&t==="ref"){if(n){queueRefAttachment(n,e)}}else if(BUILD.vdomListener&&(BUILD.lazyLoad?!s:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var p=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,p)}if(n){plt.ael(e,t,n,p)}}}else if(BUILD.vdomPropOrAttr&&t[0]==="a"&&t.startsWith("attr:")){var h=t.slice(5);var D=void 0;if(BUILD.member){var m=getHostRef(e);if(m&&m.t&&m.t.o){var L=m.t.o[h];if(L&&L[1]){D=L[1]}}}if(!D){D=h.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(n==null||n===false){if(n!==false||e.getAttribute(D)===""){e.removeAttribute(D)}}else{e.setAttribute(D,n===true?"":n)}return}else if(BUILD.vdomPropOrAttr&&t[0]==="p"&&t.startsWith("prop:")){var h=t.slice(5);try{e[h]=n}catch(e){}return}else if(BUILD.vdomPropOrAttr){var S=isComplexType(n);if((s||S&&n!==null)&&!o){try{if(!e.tagName.includes("-")){var I=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!==I){if(typeof e.__lookupSetter__(t)==="function"){e[t]=I}else{e.setAttribute(t,I)}}}else if(e[t]!==n){e[t]=n}}catch(e){}}var g=false;if(BUILD.vdomXlink){if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;g=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(BUILD.vdomXlink&&g){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!s||i&4||o)&&!S&&e.nodeType===1){n=n===true?"":n;if(BUILD.vdomXlink&&g){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var o=t.W.nodeType===11&&t.W.host?t.W.host:t.W;var i=e&&e.P||{};var a=t.P||{};if(BUILD.updatable){for(var s=0,l=sortedAttrNames(Object.keys(i));s<l.length;s++){var f=l[s];if(!(f in a)){setAccessor(o,f,i[f],void 0,r,t.u,n)}}}for(var u=0,c=sortedAttrNames(Object.keys(a));u<c.length;u++){var f=c[u];setAccessor(o,f,i[f],a[f],r,t.u,n)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var refCallbacksToRemove=[];var refCallbacksToAttach=[];var createElm=function(e,t,r){var n;var o=t.M[r];var i=0;var a;var s;var l;if(BUILD.slotRelocation&&!useNativeShadowDom){checkSlotRelocate=true;if(o.F==="slot"){o.u|=o.M?2:1}}if(BUILD.isDev&&o.W){consoleDevError("The JSX ".concat(o.$!==null?'"'.concat(o.$,'" text'):'"'.concat(o.F,'" element')," node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes"))}if(BUILD.vdomText&&o.$!=null){a=o.W=win.document.createTextNode(o.$)}else if(BUILD.slotRelocation&&o.u&1){a=o.W=BUILD.isDebug||BUILD.hydrateServerSide?slotReferenceDebugNode(o):win.document.createTextNode("");if(BUILD.vdomAttribute){updateElement(null,o,isSvgMode)}}else{if(BUILD.svg&&!isSvgMode){isSvgMode=o.F==="svg"}if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}a=o.W=BUILD.svg?win.document.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&o.u&2?"slot-fb":o.F):win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&o.u&2?"slot-fb":o.F);if(BUILD.svg&&isSvgMode&&o.F==="foreignObject"){isSvgMode=false}if(BUILD.vdomAttribute){updateElement(null,o,isSvgMode)}if((BUILD.scoped||BUILD.hydrateServerSide&&128)&&isDef(scopeId)&&a["s-si"]!==scopeId){a.classList.add(a["s-si"]=scopeId)}if(o.M){var f=o.F==="template"?a.content:a;for(i=0;i<o.M.length;++i){s=createElm(e,o,i);if(s){f.appendChild(s)}}}if(BUILD.svg){if(o.F==="svg"){isSvgMode=false}else if(a.tagName==="foreignObject"){isSvgMode=true}}}a["s-hn"]=hostTagName;if(BUILD.slotRelocation){if(o.u&(2|1)){a["s-sr"]=true;a["s-cr"]=contentRef;a["s-sn"]=o.V||"";a["s-rf"]=(n=o.P)==null?void 0:n.ref;patchSlotNode(a);l=e&&e.M&&e.M[r];if(l&&l.F===o.F&&e.W){relocateToHostRoot(e.W)}if(BUILD.scoped||BUILD.hydrateServerSide&&128){addRemoveSlotScopedClass(contentRef,a,t.W,e==null?void 0:e.W)}}}return a};var relocateToHostRoot=function(e){plt.u|=1;var t=e.closest(hostTagName.toLowerCase());if(t!=null){var r=Array.from(t.__childNodes||t.childNodes).find((function(e){return e["s-cr"]}));var n=Array.from(e.__childNodes||e.childNodes);for(var o=0,i=r?n.reverse():n;o<i.length;o++){var a=i[o];if(a["s-sh"]!=null){insertBefore(t,a,r!=null?r:null);a["s-sh"]=void 0;checkSlotRelocate=true}}}plt.u&=-2};var putBackInOriginalLocation=function(e,t){plt.u|=1;var r=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){var n=e;while(n=n.nextSibling){if(n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===hostTagName){r.push(n)}}}for(var o=r.length-1;o>=0;o--){var i=r[o];if(i["s-hn"]!==hostTagName&&i["s-ol"]){insertBefore(referenceNode(i).parentNode,i,referenceNode(i));i["s-ol"].remove();i["s-ol"]=void 0;i["s-sh"]=void 0;checkSlotRelocate=true}if(t){putBackInOriginalLocation(i,t)}}plt.u&=-2};var addVnodes=function(e,t,r,n,o,i){var a=BUILD.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;var s;if(BUILD.shadowDom&&a.shadowRoot&&a.tagName===hostTagName){a=a.shadowRoot}if(r.F==="template"){a=a.content}for(;o<=i;++o){if(n[o]){s=createElm(null,r,o);if(s){n[o].W=s;insertBefore(a,s,BUILD.slotRelocation?referenceNode(t):t)}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var o=e[n];if(o){var i=o.W;nullifyVNodeRefs(o);if(i){if(BUILD.slotRelocation){checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,r,n,o){if(o===void 0){o=false}var i=0;var a=0;var s=0;var l=0;var f=t.length-1;var u=t[0];var c=t[f];var v=n.length-1;var d=n[0];var p=n[v];var h;var D;var m=r.F==="template"?e.content:e;while(i<=f&&a<=v){if(u==null){u=t[++i]}else if(c==null){c=t[--f]}else if(d==null){d=n[++a]}else if(p==null){p=n[--v]}else if(isSameVnode(u,d,o)){patch(u,d,o);u=t[++i];d=n[++a]}else if(isSameVnode(c,p,o)){patch(c,p,o);c=t[--f];p=n[--v]}else if(isSameVnode(u,p,o)){if(BUILD.slotRelocation&&(u.F==="slot"||p.F==="slot")){putBackInOriginalLocation(u.W.parentNode,false)}patch(u,p,o);insertBefore(m,u.W,c.W.nextSibling);u=t[++i];p=n[--v]}else if(isSameVnode(c,d,o)){if(BUILD.slotRelocation&&(u.F==="slot"||p.F==="slot")){putBackInOriginalLocation(c.W.parentNode,false)}patch(c,d,o);insertBefore(m,c.W,u.W);c=t[--f];d=n[++a]}else{s=-1;if(BUILD.vdomKey){for(l=i;l<=f;++l){if(t[l]&&t[l].j!==null&&t[l].j===d.j){s=l;break}}}if(BUILD.vdomKey&&s>=0){D=t[s];if(D.F!==d.F){h=createElm(t&&t[a],r,s)}else{patch(D,d,o);t[s]=void 0;h=D.W}d=n[++a]}else{h=createElm(t&&t[a],r,a);d=n[++a]}if(h){if(BUILD.slotRelocation){insertBefore(referenceNode(u.W).parentNode,h,referenceNode(u.W))}else{insertBefore(u.W.parentNode,h,u.W)}}}}if(i>f){addVnodes(e,n[v+1]==null?null:n[v+1].W,r,n,a,v)}else if(BUILD.updatable&&a>v){removeVnodes(t,i,f)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.F===t.F){if(BUILD.slotRelocation&&e.F==="slot"){return e.V===t.V}if(BUILD.vdomKey&&!r){return e.j===t.j}if(r&&!e.j&&t.j){e.j=t.j}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.W=e.W;var o=e.M;var i=t.M;var a=t.F;var s=t.$;var l;if(!BUILD.vdomText||s==null){if(BUILD.svg){isSvgMode=a==="svg"?true:a==="foreignObject"?false:isSvgMode}if(BUILD.vdomAttribute||BUILD.reflect){if(BUILD.slot&&a==="slot"&&!useNativeShadowDom){if(e.V!==t.V){t.W["s-sn"]=t.V||"";relocateToHostRoot(t.W.parentElement)}}updateElement(e,t,isSvgMode,r)}if(BUILD.updatable&&o!==null&&i!==null){updateChildren(n,o,t,i,r)}else if(i!==null){if(BUILD.updatable&&BUILD.vdomText&&e.$!==null){n.textContent=""}addVnodes(n,null,t,i,0,i.length-1)}else if(!r&&BUILD.updatable&&o!==null){removeVnodes(o,0,o.length-1)}else if(BUILD.hydrateClientSide&&r&&BUILD.updatable&&o!==null&&i===null){t.M=o}if(BUILD.svg&&isSvgMode&&a==="svg"){isSvgMode=false}}else if(BUILD.vdomText&&BUILD.slotRelocation&&(l=n["s-cr"])){l.parentNode.textContent=s}else if(BUILD.vdomText&&e.$!==s){n.data=s}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;var o=e.__childNodes||e.childNodes;for(var i=0,a=o;i<a.length;i++){var s=a[i];if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){r=t.parentNode.__childNodes||t.parentNode.childNodes;var l=s["s-sn"];var f=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==s["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==s["s-hn"])){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.Z===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.Z["s-sh"]=s["s-hn"];e.J=s}else{t["s-sh"]=s["s-hn"];relocateNodes.push({J:s,Z:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.Z,t["s-sn"])){e=relocateNodes.find((function(e){return e.Z===t}));if(e&&!r.J){r.J=e.J}}}))}}else if(!relocateNodes.some((function(e){return e.Z===t}))){relocateNodes.push({Z:t})}}};for(n=r.length-1;n>=0;n--){f()}}if(s.nodeType===1){markSlotContentForRelocation(s)}}};var nullifyVNodeRefs=function(e){if(BUILD.vdomRef){if(e.P&&e.P.ref){refCallbacksToRemove.push((function(){return e.P.ref(null)}))}e.M&&e.M.map(nullifyVNodeRefs)}};var queueRefAttachment=function(e,t){if(BUILD.vdomRef){refCallbacksToAttach.push((function(){return e(t)}))}};var flushQueuedRefCallbacks=function(){if(BUILD.vdomRef){refCallbacksToRemove.forEach((function(e){return e()}));refCallbacksToRemove.length=0;refCallbacksToAttach.forEach((function(e){return e()}));refCallbacksToAttach.length=0}};var insertBefore=function(e,t,r,n){if(BUILD.slotRelocation){if(BUILD.scoped&&typeof t["s-sn"]==="string"&&!!t["s-sr"]&&!!t["s-cr"]){addRemoveSlotScopedClass(t["s-cr"],t,e,t.parentElement)}else if(typeof t["s-sn"]==="string"){if(BUILD.experimentalSlotFixes&&e.getRootNode().nodeType!==11){patchParentNode(t)}e.insertBefore(t,r);var o=findSlotFromSlottedNode(t).slotNode;if(o&&!n)dispatchSlotChangeEvent(o);return t}}if(e.__insertBefore){return e.__insertBefore(t,r)}else{return e==null?void 0:e.insertBefore(t,r)}};function addRemoveSlotScopedClass(e,t,r,n){var o,i;var a;if(e&&typeof t["s-sn"]==="string"&&!!t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(a=t["s-si"]||e.parentNode["s-sc"])){var s=t["s-sn"];var l=t["s-hn"];(o=r.classList)==null?void 0:o.add(a+"-s");if(n&&((i=n.classList)==null?void 0:i.contains(a+"-s"))){var f=(n.__childNodes||n.childNodes)[0];var u=false;while(f){if(f["s-sn"]!==s&&f["s-hn"]===l&&!!f["s-sr"]){u=true;break}f=f.nextSibling}if(!u)n.classList.remove(a+"-s")}}}var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,o,i,a,s;var l=e.$hostElement$;var f=e.t;var u=e.N||newVNode(null,null);var c=isHost(t);var v=c?t:h(null,null,t);hostTagName=l.tagName;if(BUILD.isDev&&Array.isArray(t)&&t.some(isHost)){throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'.concat(hostTagName.toLowerCase(),'" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n '))}if(BUILD.reflect&&f.ee){v.P=v.P||{};f.ee.forEach((function(t){var r=t[0],n=t[1];if(BUILD.serializer&&e.v.has(r)){v.P[n]=e.v.get(r)}else{v.P[n]=l[r]}}))}if(r&&v.P){for(var d=0,p=Object.keys(v.P);d<p.length;d++){var D=p[d];if(l.hasAttribute(D)&&!["key","ref","style","class"].includes(D)){v.P[D]=l[D]}}}v.F=null;v.u|=4;e.N=v;v.W=u.W=BUILD.shadowDom?l.shadowRoot||l:l;if(BUILD.scoped||BUILD.shadowDom){scopeId=l["s-sc"]}useNativeShadowDom=supportsShadow&&!!(f.u&1)&&!(f.u&128);if(BUILD.slotRelocation){contentRef=l["s-cr"];checkSlotFallbackVisibility=false}patch(u,v,r);if(BUILD.slotRelocation){plt.u|=1;if(checkSlotRelocate){markSlotContentForRelocation(v.W);for(var m=0,L=relocateNodes;m<L.length;m++){var S=L[m];var I=S.Z;if(!I["s-ol"]&&win.document){var g=BUILD.isDebug||BUILD.hydrateServerSide?originalLocationDebugNode(I):win.document.createTextNode("");g["s-nr"]=I;insertBefore(I.parentNode,I["s-ol"]=g,I,r)}}for(var B=0,U=relocateNodes;B<U.length;B++){var S=U[B];var I=S.Z;var y=S.J;if(I.nodeType===1&&r){I["s-ih"]=(n=I.hidden)!=null?n:false}if(y){var _=y.parentNode;var C=y.nextSibling;if(!BUILD.hydrateServerSide&&C&&C.nodeType===1){var g=(o=I["s-ol"])==null?void 0:o.previousSibling;while(g){var b=(i=g["s-nr"])!=null?i:null;if(b&&b["s-sn"]===I["s-sn"]&&_===(b.__parentNode||b.parentNode)){b=b.nextSibling;while(b===I||(b==null?void 0:b["s-sr"])){b=b==null?void 0:b.nextSibling}if(!b||!b["s-nr"]){C=b;break}}g=g.previousSibling}}var E=I.__parentNode||I.parentNode;var T=I.__nextSibling||I.nextSibling;if(!C&&_!==E||T!==C){if(I!==C){insertBefore(_,I,C,r);if(I.nodeType===8&&I.nodeValue.startsWith("s-nt-")){var N=win.document.createTextNode(I.nodeValue.replace(/^s-nt-/,""));N["s-hn"]=I["s-hn"];N["s-sn"]=I["s-sn"];N["s-sh"]=I["s-sh"];N["s-sr"]=I["s-sr"];N["s-ol"]=I["s-ol"];N["s-ol"]["s-nr"]=N;insertBefore(I.parentNode,N,I,r);I.parentNode.removeChild(I)}if(I.nodeType===1&&I.tagName!=="SLOT-FB"){I.hidden=(a=I["s-ih"])!=null?a:false}}}I&&typeof y["s-rf"]==="function"&&y["s-rf"](y)}else if(I.nodeType===1){I.hidden=true}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(v.W)}plt.u&=-2;relocateNodes.length=0}if(BUILD.slotRelocation&&!useNativeShadowDom&&!(f.u&1)&&l["s-cr"]){var R=v.W.__childNodes||v.W.childNodes;for(var w=0,A=R;w<A.length;w++){var H=A[w];if(H["s-hn"]!==hostTagName&&!H["s-sh"]){if(r&&H["s-ih"]==null){H["s-ih"]=(s=H.hidden)!=null?s:false}if(H.nodeType===1){H.hidden=true}else if(H.nodeType===3&&!!H.nodeValue.trim()){var O=win.document.createComment("s-nt-"+H.nodeValue);O["s-sn"]=H["s-sn"];insertBefore(H.parentNode,O,H,r);H.parentNode.removeChild(H)}}}}contentRef=void 0;flushQueuedRefCallbacks()};var slotReferenceDebugNode=function(e){var t;return(t=win.document)==null?void 0:t.createComment("<slot".concat(e.V?' name="'+e.V+'"':"","> (host=").concat(hostTagName.toLowerCase(),")"))};var originalLocationDebugNode=function(e){var t;return(t=win.document)==null?void 0:t.createComment("org-location for "+(e.localName?"<".concat(e.localName,"> (host=").concat(e["s-hn"],")"):"[".concat(e.textContent,"]")))};var attachToAncestor=function(e,t){if(BUILD.asyncLoading&&t&&!e.R&&t["s-p"]){var r=t["s-p"].push(new Promise((function(n){return e.R=function(){t["s-p"].splice(r-1,1);n()}})))}};var scheduleUpdate=function(e,t){if(BUILD.taskQueue&&BUILD.updatable){e.u|=16}if(BUILD.asyncLoading&&e.u&4){e.u|=512;return}attachToAncestor(e,e.T);var r=function(){return dispatchHooks(e,t)};if(t){queueMicrotask((function(){r()}));return}return BUILD.taskQueue?writeTask(r):r()};var dispatchHooks=function(e,t){var r=e.$hostElement$;var n=createTime("scheduleUpdate",e.t.B);var o=BUILD.lazyLoad?e.l:r;if(!o){throw new Error("Can't render component <".concat(r.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;if(t){if(BUILD.lazyLoad){if(BUILD.slotRelocation&&e.te){e.te=false;safeCall(o,"connectedCallback",void 0,r)}if(BUILD.hostListener){e.u|=256;if(e.A){e.A.map((function(e){var t=e[0],n=e[1];return safeCall(o,t,n,r)}));e.A=void 0}}if(e.I.length){e.I.forEach((function(e){return e(r)}))}}emitLifecycleEvent(r,"componentWillLoad");i=safeCall(o,"componentWillLoad",void 0,r)}else{emitLifecycleEvent(r,"componentWillUpdate");i=safeCall(o,"componentWillUpdate",void 0,r)}emitLifecycleEvent(r,"componentWillRender");i=enqueue(i,(function(){return safeCall(o,"componentWillRender",void 0,r)}));n();return enqueue(i,(function(){return updateComponent(e,o,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t).catch((function(e){console.error(e);t()})):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,o,i,a,s,l,f;return __generator(this,(function(u){switch(u.label){case 0:o=e.$hostElement$;i=createTime("update",e.t.B);a=o["s-rc"];if(BUILD.style&&r){attachStyles(e)}s=createTime("render",e.t.B);if(BUILD.isDev){e.u|=1024}if(!BUILD.hydrateServerSide)return[3,2];return[4,callRender(e,t,o,r)];case 1:u.sent();return[3,3];case 2:callRender(e,t,o,r);u.label=3;case 3:if(BUILD.isDev){e.p=e.p===void 0?1:e.p+1;e.u&=-1025}if(BUILD.hydrateServerSide){try{serverSideConnected(o);if(r){if(e.t.u&1){o["s-en"]=""}else if(e.t.u&2){o["s-en"]="c"}}}catch(e){consoleError(e,o)}}if(BUILD.asyncLoading&&a){a.map((function(e){return e()}));o["s-rc"]=void 0}s();i();if(BUILD.asyncLoading){l=(n=o["s-p"])!=null?n:[];f=function(){return postUpdateComponent(e)};if(l.length===0){f()}else{Promise.all(l).then(f).catch(f);e.u|=4;l.length=0}}else{postUpdateComponent(e)}return[2]}}))}))};var renderingRef=null;var callRender=function(e,t,r,n){var o=BUILD.allRenderFn?true:false;var i=BUILD.lazyLoad?true:false;var a=BUILD.taskQueue?true:false;var s=BUILD.updatable?true:false;try{renderingRef=t;t=o?t.render():t.render&&t.render();if(s&&a){e.u&=-17}if(s||i){e.u|=2}if(BUILD.hasRenderFn||BUILD.reflect){if(BUILD.vdomRender||BUILD.reflect){if(BUILD.hydrateServerSide){return Promise.resolve(t).then((function(t){return renderVdom(e,t,n)}))}else{renderVdom(e,t,n)}}else{var l=r.shadowRoot;if(e.t.u&1){l.textContent=t}else{r.textContent=t}}}}catch(t){consoleError(t,e.$hostElement$)}renderingRef=null;return null};var getRenderingRef=function(){return renderingRef};var postUpdateComponent=function(e){var t=e.t.B;var r=e.$hostElement$;var n=createTime("postUpdate",t);var o=BUILD.lazyLoad?e.l:r;var i=e.T;if(BUILD.isDev){e.u|=1024}safeCall(o,"componentDidRender",void 0,r);if(BUILD.isDev){e.u&=-1025}emitLifecycleEvent(r,"componentDidRender");if(!(e.u&64)){e.u|=64;if(BUILD.asyncLoading&&BUILD.cssAnnotations){addHydratedFlag(r)}if(BUILD.isDev){e.u|=2048}safeCall(o,"componentDidLoad",void 0,r);if(BUILD.isDev){e.u&=-2049}emitLifecycleEvent(r,"componentDidLoad");n();if(BUILD.asyncLoading){e.S(r);if(!i){appDidLoad(t)}}}else{if(BUILD.isDev){e.u|=1024}safeCall(o,"componentDidUpdate",void 0,r);if(BUILD.isDev){e.u&=-1025}emitLifecycleEvent(r,"componentDidUpdate");n()}if(BUILD.method&&BUILD.lazyLoad){e.m(r)}if(BUILD.asyncLoading){if(e.R){e.R();e.R=void 0}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=-517}};var forceUpdate=function(e){var t;if(BUILD.updatable&&(Build.isBrowser||Build.isTesting)){var r=getHostRef(e);var n=(t=r==null?void 0:r.$hostElement$)==null?void 0:t.isConnected;if(n&&(r.u&(2|16))===2){scheduleUpdate(r,false)}return n}return false};var appDidLoad=function(e){var t;if(BUILD.asyncQueue){plt.u|=2}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}));if(BUILD.hydrateClientSide){if((t=plt.Y)==null?void 0:t.size){plt.Y.clear()}}if(BUILD.profile&&performance.measure){performance.measure("[Stencil] ".concat(NAMESPACE," initial load (by ").concat(e,")"),"st:app:start")}};var safeCall=function(e,t,r,n){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e,n)}}return void 0};var emitLifecycleEvent=function(e,t){if(BUILD.lifecycleDOMEvents){emitEvent(e,"stencil_"+t,{bubbles:true,composed:true,detail:{namespace:NAMESPACE}})}};var addHydratedFlag=function(e){var t,r;return BUILD.hydratedClass?e.classList.add((t=BUILD.hydratedSelectorName)!=null?t:"hydrated"):BUILD.hydratedAttribute?e.setAttribute((r=BUILD.hydratedSelectorName)!=null?r:"hydrated",""):void 0};var serverSideConnected=function(e){var t=e.children;if(t!=null){for(var r=0,n=t.length;r<n;r++){var o=t[r];if(typeof o.connectedCallback==="function"){o.connectedCallback()}serverSideConnected(o)}}};var getValue=function(e,t){return getHostRef(e).i.get(t)};var setValue=function(e,t,r,n){var o=getHostRef(e);if(!o){return}if(BUILD.lazyLoad&&!o){throw new Error("Couldn't find host element for \"".concat(n.B,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}if(BUILD.serializer&&o.v.has(t)&&o.v.get(t)===r){return}var i=BUILD.lazyLoad?o.$hostElement$:e;var a=o.i.get(t);var s=o.u;var l=BUILD.lazyLoad?o.l:i;r=parsePropertyValue(r,n.o[t][0],BUILD.formAssociated&&!!(n.u&64));var f=Number.isNaN(a)&&Number.isNaN(r);var u=r!==a&&!f;if((!BUILD.lazyLoad||!(s&8)||a===void 0)&&u){o.i.set(t,r);if(BUILD.serializer&&BUILD.reflect&&n.ee){if(n.re&&n.re[t]){var c=function(e){var i=r;for(var a=0,s=n.re[t];a<s.length;a++){var l=s[a];var f=Object.entries(l)[0][0];i=e[f](i,t)}o.v.set(t,i)};if(l){c(l)}else{o.I.push((function(){c(o.l)}))}}}if(BUILD.isDev){if(o.u&1024){consoleDevWarn('The state/prop "'.concat(t,'" changed during rendering. This can potentially lead to infinite-loops and other bugs.'),"\nElement",i,"\nNew value",r,"\nOld value",a)}else if(o.u&2048){consoleDevWarn('The state/prop "'.concat(t,'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"'),"\nElement",i,"\nNew value",r,"\nOld value",a)}}if(BUILD.propChangeCallback&&n.ne){var v=n.ne[t];if(v){v.map((function(e){try{var n=Object.entries(e)[0],f=n[0],u=n[1];if(s&128||u&1){if(!l){o.I.push((function(){o.l[f](r,a,t)}))}else{l[f](r,a,t)}}}catch(e){consoleError(e,i)}}))}}if(BUILD.updatable&&s&2){if(l.componentShouldUpdate){var d=l.componentShouldUpdate(r,a,t);if(d===false&&!(s&16)){return}}if(!(s&16)){scheduleUpdate(o,false)}}}};var proxyComponent=function(e,t,r){var n,o;var i=e.prototype;if(BUILD.isTesting){if(i.__stencilAugmented){return}i.__stencilAugmented=true}if(BUILD.formAssociated&&t.u&64&&r&1){FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS.forEach((function(e){var t=i[e];Object.defineProperty(i,e,{value:function(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}var o;var i=getHostRef(this);var a=BUILD.lazyLoad?i==null?void 0:i.l:this;if(!a){(o=i==null?void 0:i.L)==null?void 0:o.then((function(t){var n=t[e];typeof n==="function"&&n.call.apply(n,__spreadArray([t],r,false))}))}else{var s=BUILD.lazyLoad?a[e]:t;typeof s==="function"&&s.call.apply(s,__spreadArray([a],r,false))}}})}))}if(BUILD.member&&t.o||BUILD.propChangeCallback){if(BUILD.propChangeCallback){if(e.watchers&&!t.ne){t.ne=normalizeWatchers(e.watchers)}if(e.deserializers&&!t.oe){t.oe=e.deserializers}if(e.serializers&&!t.re){t.re=e.serializers}}var a=Object.entries((n=t.o)!=null?n:{});a.map((function(e){var n=e[0],o=e[1][0];if((BUILD.prop||BUILD.state)&&(o&31||(!BUILD.lazyLoad||r&2)&&o&32)){var a=getPropertyDescriptor(i,n)||{},s=a.get,l=a.set;if(s)t.o[n][0]|=2048;if(l)t.o[n][0]|=4096;if(r&1||!s){Object.defineProperty(i,n,{get:function(){if(BUILD.lazyLoad){if((t.o[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var r=e?e.l:i;if(!r)return;return r[n]}if(!BUILD.lazyLoad){return s?s.apply(this):getValue(this,n)}},configurable:true,enumerable:true})}Object.defineProperty(i,n,{set:function(e){var i=this;var a=getHostRef(this);if(!a){return}if(BUILD.isDev){if((r&1)===0&&(t.o[n][0]&4096)===0&&(a&&a.u&8)===0&&(o&31)!==0&&(o&1024)===0){consoleDevWarn('@Prop() "'.concat(n,'" on <').concat(t.B,"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability"))}}if(l){var s=o&32?this[n]:a.$hostElement$[n];if(typeof s==="undefined"&&a.i.get(n)){e=a.i.get(n)}l.apply(this,[parsePropertyValue(e,o,BUILD.formAssociated&&!!(t.u&64))]);e=o&32?this[n]:a.$hostElement$[n];setValue(this,n,e,t);return}if(!BUILD.lazyLoad){setValue(this,n,e,t);return}if(BUILD.lazyLoad){if((r&1)===0||(t.o[n][0]&4096)===0){setValue(this,n,e,t);if(r&1&&!a.l){a.I.push((function(){if(t.o[n][0]&4096&&a.l[n]!==a.i.get(n)){a.l[n]=e}}))}return}var f=function(){var r=a.l[n];if(!a.i.get(n)&&r){a.i.set(n,r)}a.l[n]=parsePropertyValue(e,o,BUILD.formAssociated&&!!(t.u&64));setValue(i,n,a.l[n],t)};if(a.l){f()}else{a.I.push((function(){f()}))}}}})}else if(BUILD.lazyLoad&&BUILD.method&&r&1&&o&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var o=getHostRef(this);return(r=o==null?void 0:o.D)==null?void 0:r.then((function(){var t;return(t=o.l)==null?void 0:t[n].apply(t,e)}))}})}}));if(BUILD.observeAttribute&&(!BUILD.lazyLoad||r&1)){var s=new Map;i.attributeChangedCallback=function(e,r,n){var o=this;plt.jmp((function(){var l;var f=s.get(e);var u=getHostRef(o);if(BUILD.serializer&&u.v.has(f)&&u.v.get(f)===n){return}if(o.hasOwnProperty(f)&&BUILD.lazyLoad){n=o[f];delete o[f]}if(BUILD.deserializer&&t.oe&&t.oe[f]){var c=function(e,t){var r=t==null?void 0:t[e](n,f);if(r!==o[f]){o[f]=r}};var v=function(e){var t=Object.entries(e)[0][0];if(BUILD.lazyLoad){if(u.l){c(t,u.l)}else{u.I.push((function(){c(t,u.l)}))}}else{c(t,o)}};for(var d=0,p=t.oe[f];d<p.length;d++){var h=p[d];v(h)}return}else if(i.hasOwnProperty(f)&&typeof o[f]==="number"&&o[f]==n){return}else if(f==null){var D=u==null?void 0:u.u;if(u&&D&&!(D&8)&&n!==r){var m=BUILD.lazyLoad?u.$hostElement$:o;var L=BUILD.lazyLoad?u.l:m;var S=(l=t.ne)==null?void 0:l[e];S==null?void 0:S.forEach((function(t){var o=Object.entries(t)[0],i=o[0],a=o[1];if(L[i]!=null&&(D&128||a&1)){L[i].call(L,n,r,e)}}))}return}var I=a.find((function(e){var t=e[0];return t===f}));var g=I&&I[1][0]&4;var B=g&&n===null&&o[f]===void 0;if(g){n=n===null||n==="false"?false:true}var U=Object.getOwnPropertyDescriptor(i,f);if(!B&&n!=o[f]&&(!U.get||!!U.set)){o[f]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((o=t.ne)!=null?o:{}),true),a.filter((function(e){var t=e[0],r=e[1];return r[0]&31})).map((function(e){var r=e[0],n=e[1];var o;var i=n[1]||r;s.set(i,r);if(BUILD.reflect&&n[0]&512){(o=t.ee)==null?void 0:o.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var o,i,a,s,l,f,u,c,v,d,p,h,D;return __generator(this,(function(m){switch(m.label){case 0:m.trys.push([0,7,,8]);if(!((t.u&32)===0))return[3,6];t.u|=32;i=r.U;if(!(BUILD.lazyLoad&&i))return[3,4];a=loadModule(r,t,n);if(!(a&&"then"in a))return[3,2];s=uniqueTime("st:load:".concat(r.B,":").concat(t._),"[Stencil] Load module for <".concat(r.B,">"));return[4,a];case 1:o=m.sent();s();return[3,3];case 2:o=a;m.label=3;case 3:if(!o){throw new Error('Constructor for "'.concat(r.B,"#").concat(t._,'" was not found'))}if(BUILD.member&&!o.isProxied){if(BUILD.propChangeCallback){r.ne=normalizeWatchers(o.watchers);r.re=o.serializers;r.oe=o.deserializers}proxyComponent(o,r,2);o.isProxied=true}l=createTime("createInstance",r.B);if(BUILD.member){t.u|=8}try{new o(t)}catch(t){consoleError(t,e)}if(BUILD.member){t.u&=-9}if(BUILD.propChangeCallback){t.u|=128}l();f=BUILD.slotRelocation&&r.u&4;if(!f){fireConnectedCallback(t.l,e)}else{t.te=true}return[3,5];case 4:o=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return t.u|=128}));m.label=5;case 5:if(BUILD.style&&o&&o.style){c=void 0;if(typeof o.style==="string"){c=o.style}else if(BUILD.mode&&typeof o.style!=="string"){t._=computeMode(e);if(t._){c=o.style[t._]}if(BUILD.hydrateServerSide&&t._){e.setAttribute("s-mode",t._)}}v=getScopeId(r,t._);if(!styles.has(v)||BUILD.hotModuleReplacement&&n){d=createTime("registerStyles",r.B);if(BUILD.hydrateServerSide&&BUILD.shadowDom){if(r.u&128){c=scopeCss(c,v)}}registerStyle(v,c,!!(r.u&1));d()}}m.label=6;case 6:p=t.T;h=function(){return scheduleUpdate(t,true)};if(BUILD.asyncLoading&&p&&p["s-rc"]){p["s-rc"].push(h)}else{h()}return[3,8];case 7:D=m.sent();consoleError(D,e);if(BUILD.asyncLoading&&t.R){t.R();t.R=void 0}if(BUILD.asyncLoading&&t.S){t.S(e)}return[3,8];case 8:return[2]}}))}))};var fireConnectedCallback=function(e,t){if(BUILD.lazyLoad){safeCall(e,"connectedCallback",void 0,t)}};var connectedCallback=function(e){if((plt.u&1)===0){var t=getHostRef(e);if(!t){return}var r=t.t;var n=createTime("connectedCallback",r.B);if(BUILD.hostListenerTargetParent){addHostEventListeners(e,t,r.ie,true)}if(!(t.u&1)){t.u|=1;var o=void 0;if(BUILD.hydrateClientSide){o=e.getAttribute(HYDRATE_ID);if(o){if(BUILD.shadowDom&&supportsShadow&&r.u&1){var i=BUILD.mode?addStyle(e.shadowRoot,r,e.getAttribute("s-mode")):addStyle(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}else if(BUILD.scoped&&r.u&2){var i=getScopeId(r,BUILD.mode?e.getAttribute("s-mode"):void 0);e["s-sc"]=i}initializeClientHydrate(e,r.B,o,t)}}if(BUILD.slotRelocation&&!o){if(BUILD.hydrateServerSide||(BUILD.slot||BUILD.shadowDom)&&r.u&(4|8)){setContentReference(e)}}if(BUILD.asyncLoading){var a=e;while(a=a.parentNode||a.host){if(BUILD.hydrateClientSide&&a.nodeType===1&&a.hasAttribute("s-id")&&a["s-p"]||a["s-p"]){attachToAncestor(t,t.T=a);break}}}if(BUILD.prop&&!BUILD.hydrateServerSide&&r.o){Object.entries(r.o).map((function(t){var r=t[0],n=t[1][0];if(n&31&&Object.prototype.hasOwnProperty.call(e,r)){var o=e[r];delete e[r];e[r]=o}}))}if(BUILD.initializeNextTick){nextTick((function(){return initializeComponent(e,t,r)}))}else{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.ie,false);if(t==null?void 0:t.l){fireConnectedCallback(t.l,e)}else if(t==null?void 0:t.L){t.L.then((function(){return fireConnectedCallback(t.l,e)}))}}n()}};var setContentReference=function(e){if(!win.document){return}var t=e["s-cr"]=win.document.createComment(BUILD.isDebug?"content-ref (host=".concat(e.localName,")"):"");t["s-cn"]=true;insertBefore(e,t,e.firstChild)};var disconnectInstance=function(e,t){if(BUILD.lazyLoad){safeCall(e,"disconnectedCallback",void 0,t||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.u&1)===0){t=getHostRef(e);if(BUILD.hostListener){if(t==null?void 0:t.O){t.O.map((function(e){return e()}));t.O=void 0}}if(!BUILD.lazyLoad){disconnectInstance(e)}else if(t==null?void 0:t.l){disconnectInstance(t.l,e)}else if(t==null?void 0:t.L){t.L.then((function(){return disconnectInstance(t.l,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var defineCustomElement=function(e,t){customElements.define(transformTag(t[1]),proxyCustomElement(e,t))};var proxyCustomElement=function(e,t){var r={u:t[0],B:t[1]};try{if(BUILD.member){r.o=t[2]}if(BUILD.hostListener){r.ie=t[3]}if(BUILD.propChangeCallback){r.ne=normalizeWatchers(e.ne);r.oe=e.oe;r.re=e.re}if(BUILD.reflect){r.ee=[]}if(BUILD.shadowDom&&!supportsShadow&&r.u&1){r.u|=8}if(!(r.u&1)&&r.u&256){if(BUILD.experimentalSlotFixes){patchPseudoShadowDom(e.prototype)}else{if(BUILD.slotChildNodesFix){patchChildSlotNodes(e.prototype)}if(BUILD.cloneNodeFix){patchCloneNode(e.prototype)}if(BUILD.appendChildSlotFix){patchSlotAppendChild(e.prototype)}if(BUILD.scopedSlotTextContentFix&&r.u&2){patchTextContent(e.prototype)}}}else if(BUILD.cloneNodeFix){patchCloneNode(e.prototype)}if(BUILD.hydrateClientSide&&BUILD.shadowDom){hydrateScopedToShadow()}var n=e.prototype.connectedCallback;var o=e.prototype.disconnectedCallback;Object.assign(e.prototype,{__hasHostListenerAttached:false,__registerHost:function(){registerHost(this,r)},connectedCallback:function(){if(!this.__hasHostListenerAttached){var e=getHostRef(this);if(!e){return}addHostEventListeners(this,e,r.ie,false);this.__hasHostListenerAttached=true}connectedCallback(this);if(n){n.call(this)}},disconnectedCallback:function(){disconnectedCallback(this);if(o){o.call(this)}},__attachShadow:function(){if(supportsShadow){if(!this.shadowRoot){createShadowRoot.call(this,r)}else{if(this.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(r.B,"! Mode is set to ").concat(this.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}else{this.shadowRoot=this}}});Object.defineProperty(e,"is",{value:r.B,configurable:true});return proxyComponent(e,r,1|2)}catch(t){consoleError(t);return e}};var forceModeUpdate=function(e){if(BUILD.style&&BUILD.mode&&!BUILD.lazyLoad){var t=computeMode(e);var r=getHostRef(e);if(r&&r._!==t){var n=r.t;var o=e["s-sc"];var i=getScopeId(n,t);var a=e.constructor.style[t];var s=n.u;if(a){if(!styles.has(i)){registerStyle(i,a,!!(s&1))}r._=t;e.classList.remove(o+"-h",o+"-s");attachStyles(r);forceUpdate(e)}}}};var hmrStart=function(e,t,r){var n=getHostRef(e);if(!n){return}n.u=1;initializeComponent(e,n,t,r)};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;if(BUILD.profile&&performance.mark){performance.mark("st:app:start")}installDevTools();if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime("bootstrapLazy");var o=[];var i=t.exclude||[];var a=win.customElements;var s=win.document.head;var l=s.querySelector("meta[charset]");var f=win.document.createElement("style");var u=[];var c;var v=true;Object.assign(plt,t);plt.C=new URL(t.resourcesUrl||"./",win.document.baseURI).href;if(BUILD.asyncQueue){if(t.syncQueue){plt.u|=4}}if(BUILD.hydrateClientSide){plt.u|=2}if(BUILD.hydrateClientSide&&BUILD.shadowDom){hydrateScopedToShadow()}var d=false;e.map((function(e){e[1].map((function(r){var n,s;var l={u:r[0],B:r[1],o:r[2],ie:r[3]};if(l.u&4){d=true}if(BUILD.member){l.o=r[2]}if(BUILD.hostListener){l.ie=r[3]}if(BUILD.reflect){l.ee=[]}if(BUILD.propChangeCallback){l.ne=normalizeWatchers(r[4]);l.re=(n=r[5])!=null?n:{};l.oe=(s=r[6])!=null?s:{}}if(BUILD.shadowDom&&!supportsShadow&&l.u&1){l.u|=8}var f=BUILD.transformTagName&&t.transformTagName?t.transformTagName(l.B):transformTag(l.B);var p=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.hasRegisteredEventListeners=false;t=r;registerHost(t,l);if(BUILD.shadowDom&&l.u&1){if(supportsShadow){if(!t.shadowRoot){createShadowRoot.call(t,l)}else{if(t.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(l.B,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}else if(!BUILD.hydrateServerSide&&!("shadowRoot"in t)){t.shadowRoot=t}}return r}t.prototype.connectedCallback=function(){var e=this;var t=getHostRef(this);if(!t){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,t,l.ie,false)}if(c){clearTimeout(c);c=null}if(v){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var t;var r=getHostRef(e);if(!r){return}var n=u.findIndex((function(t){return t===e}));if(n>-1){u.splice(n,1)}if(((t=r==null?void 0:r.N)==null?void 0:t.W)instanceof Node&&!r.N.W.isConnected){delete r.N.W}}))};t.prototype.componentOnReady=function(){var e;return(e=getHostRef(this))==null?void 0:e.L};return t}(HTMLElement);if(!(l.u&1)&&l.u&256){if(BUILD.experimentalSlotFixes){patchPseudoShadowDom(p.prototype)}else{if(BUILD.slotChildNodesFix){patchChildSlotNodes(p.prototype)}if(BUILD.cloneNodeFix){patchCloneNode(p.prototype)}if(BUILD.appendChildSlotFix){patchSlotAppendChild(p.prototype)}if(BUILD.scopedSlotTextContentFix&&l.u&2){patchTextContent(p.prototype)}}}else if(BUILD.cloneNodeFix){patchCloneNode(p.prototype)}if(BUILD.formAssociated&&l.u&64){p.formAssociated=true}if(BUILD.hotModuleReplacement){p.prototype["s-hmr"]=function(e){hmrStart(this,l,e)}}l.U=e[0];if(!i.includes(f)&&!a.get(f)){o.push(f);a.define(f,proxyComponent(p,l,1))}}))}));if(o.length>0){if(BUILD.slotRelocation&&d){f.textContent+=SLOT_FB_CSS}if(BUILD.invisiblePrehydration&&(BUILD.hydratedClass||BUILD.hydratedAttribute)){f.textContent+=o.sort()+HYDRATED_CSS}if(f.innerHTML.length){f.setAttribute("data-styles","");var p=(r=plt.k)!=null?r:queryNonceMetaTagContent(win.document);if(p!=null){f.setAttribute("nonce",p)}s.insertBefore(f,l?l.nextSibling:s.firstChild)}}v=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{if(BUILD.profile){plt.jmp((function(){return c=setTimeout(appDidLoad,30,"timeout")}))}else{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,t){return t};var addHostEventListeners=function(e,t,r,n){if(BUILD.hostListener&&r&&win.document){if(BUILD.hostListenerTargetParent){if(n){r=r.filter((function(e){var t=e[0];return t&32}))}else{r=r.filter((function(e){var t=e[0];return!(t&32)}))}}r.map((function(r){var n=r[0],o=r[1],i=r[2];var a=BUILD.hostListenerTarget?getHostListenerTarget(win.document,e,n):e;var s=hostListenerProxy(t,i);var l=hostListenerOpts(n);plt.ael(a,o,s,l);(t.O=t.O||[]).push((function(){return plt.rel(a,o,s,l)}))}))}};var hostListenerProxy=function(e,t){return function(r){var n;try{if(BUILD.lazyLoad){if(e.u&256){(n=e.l)==null?void 0:n[t](r)}else{(e.A=e.A||[]).push([t,r])}}else{e.$hostElement$[t](r)}}catch(t){consoleError(t,e.$hostElement$)}}};var getHostListenerTarget=function(e,t,r){if(BUILD.hostListenerTargetDocument&&r&4){return e}if(BUILD.hostListenerTargetWindow&&r&8){return win}if(BUILD.hostListenerTargetBody&&r&16){return e.body}if(BUILD.hostListenerTargetParent&&r&32&&t.parentElement){return t.parentElement}return t};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var baseClass=BUILD.lazyLoad?function(){function e(){}return e}():globalThis.HTMLElement||function(){function e(){}return e}();function Mixin(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e.reduceRight((function(e,t){return t(e)}),baseClass)}var setNonce=function(e){return plt.k=e};var setPlatformOptions=function(e){return Object.assign(plt,e)};var hostRefCache=new WeakMap;function render(e,t){var r=hostRefCache.get(t);if(!r){var n={u:0,B:t.tagName};r={u:0,t:n,$hostElement$:t};hostRefCache.set(t,r)}renderVdom(r,e)}var tagTransformer=void 0;function transformTag(e){if(!tagTransformer)return e;return tagTransformer(e)}function setTagTransformer(e){if(tagTransformer){console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n ")}tagTransformer=e}function jsxDEV(e,t,r,n,o,i){var a=t||{};var s=a.children,l=__rest(a,["children"]);var f=l;if(r!==void 0&&!("key"in l)){f=__assign(__assign({},l),{key:r})}if(f&&Object.keys(f).length===0){f=null}if(s!==void 0){if(Array.isArray(s)){return h.apply(void 0,__spreadArray([e,f],s,false))}if(typeof s==="object"&&s!==null&&"u"in s){return h(e,f,s)}return h(e,f,s)}return h(e,f)}function jsx(e,t,r){var n=t||{};var o=n.children,i=__rest(n,["children"]);var a=i;if(r!==void 0&&!("key"in i)){a=__assign(__assign({},i),{key:r})}if(a&&Object.keys(a).length===0){a=null}if(o!==void 0){if(Array.isArray(o)){return h.apply(void 0,__spreadArray([e,a],o,false))}if(typeof o==="object"&&o!==null&&"u"in o){return h(e,a,o)}return h(e,a,o)}return h(e,a)}function jsxs(e,t,r){return jsx(e,t,r)}var insertVdomAnnotations=function(e,t){if(e!=null){var r=STENCIL_DOC_DATA in e?e[STENCIL_DOC_DATA]:__assign({},DEFAULT_DOC_DATA);r.staticComponents=new Set(t);var n=[];parseVNodeAnnotations(e,e.body,r,n);n.forEach((function(t){var n;if(t!=null&&t["s-nr"]){var o=t["s-nr"];var i=o["s-host-id"];var a=o["s-node-id"];var s="".concat(i,".").concat(a);if(i==null){i=0;r.rootLevelIds++;a=r.rootLevelIds;s="".concat(i,".").concat(a);if(o.nodeType===1){o.setAttribute(HYDRATE_CHILD_ID,s);if(typeof o["s-sn"]==="string"&&!o.getAttribute("slot")){o.setAttribute("s-sn",o["s-sn"])}}else if(o.nodeType===3){if(i===0){var l=(n=o.nodeValue)==null?void 0:n.trim();if(l===""){t.remove();return}}var f=e.createComment(s);f.nodeValue="".concat(TEXT_NODE_ID,".").concat(s);insertBefore(o.parentNode,f,o)}else if(o.nodeType===8){var f=e.createComment(s);f.nodeValue="".concat(COMMENT_NODE_ID,".").concat(s);o.parentNode.insertBefore(f,o)}}var u="".concat(ORG_LOCATION_ID,".").concat(s);var c=t.parentElement;if(c){if(c["s-en"]===""){u+="."}else if(c["s-en"]==="c"){u+=".c"}}t.nodeValue=u}}))}};var parseVNodeAnnotations=function(e,t,r,n){var o;if(t==null){return}if(t["s-nr"]!=null){n.push(t)}if(t.nodeType===1){var i=__spreadArray(__spreadArray([],Array.from(t.childNodes),true),Array.from(((o=t.shadowRoot)==null?void 0:o.childNodes)||[]),true);i.forEach((function(t){var o=getHostRef(t);if(o!=null&&!r.staticComponents.has(t.nodeName.toLowerCase())){var i={nodeIds:0};insertVNodeAnnotations(e,t,o.N,r,i)}parseVNodeAnnotations(e,t,r,n)}))}};var insertVNodeAnnotations=function(e,t,r,n,o){if(r!=null){var i=++n.hostIds;t.setAttribute(HYDRATE_ID,i);if(t["s-cr"]!=null){t["s-cr"].nodeValue="".concat(CONTENT_REF_ID,".").concat(i)}if(r.M!=null){var a=0;r.M.forEach((function(t,r){insertChildVNodeAnnotations(e,t,o,i,a,r)}))}if(t&&r&&r.W&&!t.hasAttribute(HYDRATE_CHILD_ID)){var s=t.parentElement;if(s&&s.childNodes){var l=Array.from(s.childNodes);var f=l.find((function(e){return e.nodeType===8&&e["s-sr"]}));if(f){var u=l.indexOf(t)-1;r.W.setAttribute(HYDRATE_CHILD_ID,"".concat(f["s-host-id"],".").concat(f["s-node-id"],".0.").concat(u))}}}}};var insertChildVNodeAnnotations=function(e,t,r,n,o,i){var a=t.W;if(a==null){return}var s=r.nodeIds++;var l="".concat(n,".").concat(s,".").concat(o,".").concat(i);a["s-host-id"]=n;a["s-node-id"]=s;if(a.nodeType===1){a.setAttribute(HYDRATE_CHILD_ID,l);if(typeof a["s-sn"]==="string"&&!a.getAttribute("slot")){a.setAttribute("s-sn",a["s-sn"])}}else if(a.nodeType===3){var f=a.parentNode;var u=f==null?void 0:f.nodeName;if(u!=="STYLE"&&u!=="SCRIPT"){var c="".concat(TEXT_NODE_ID,".").concat(l);var v=e.createComment(c);insertBefore(f,v,a)}}else if(a.nodeType===8){if(a["s-sr"]){var d=a["s-sn"]||"";var p="".concat(SLOT_NODE_ID,".").concat(l,".").concat(d);a.nodeValue=p}}if(t.M!=null){var h=o+1;t.M.forEach((function(t,o){insertChildVNodeAnnotations(e,t,r,n,h,o)}))}};var StencilCore=Object.freeze({__proto__:null,BUILD:BUILD,Build:Build,Env:Env,Fragment:Fragment,H:H,HTMLElement:H,HYDRATED_STYLE_ID:HYDRATED_STYLE_ID,Host:Host,Mixin:Mixin,NAMESPACE:NAMESPACE,STENCIL_DEV_MODE:STENCIL_DEV_MODE,addHostEventListeners:addHostEventListeners,bootstrapLazy:bootstrapLazy,cmpModules:cmpModules,connectedCallback:connectedCallback,consoleDevError:consoleDevError,consoleDevInfo:consoleDevInfo,consoleDevWarn:consoleDevWarn,consoleError:consoleError,createEvent:createEvent,defineCustomElement:defineCustomElement,disconnectedCallback:disconnectedCallback,forceModeUpdate:forceModeUpdate,forceUpdate:forceUpdate,getAssetPath:getAssetPath,getElement:getElement,getHostRef:getHostRef,getMode:getMode,getRenderingRef:getRenderingRef,getValue:getValue,h:h,insertVdomAnnotations:insertVdomAnnotations,isMemberInElement:isMemberInElement,jsx:jsx,jsxDEV:jsxDEV,jsxs:jsxs,loadModule:loadModule,modeResolutionChain:modeResolutionChain,needsScopedSSR:needsScopedSSR,nextTick:nextTick,normalizeWatchers:normalizeWatchers,parsePropertyValue:parsePropertyValue,plt:plt,postUpdateComponent:postUpdateComponent,promiseResolve:promiseResolve,proxyComponent:proxyComponent,proxyCustomElement:proxyCustomElement,readTask:readTask,registerHost:registerHost,registerInstance:registerInstance,render:render,renderVdom:renderVdom,setAssetPath:setAssetPath,setErrorHandler:setErrorHandler,setMode:setMode,setNonce:setNonce,setPlatformHelpers:setPlatformHelpers,setPlatformOptions:setPlatformOptions,setScopedSSR:setScopedSSR,setTagTransformer:setTagTransformer,setValue:setValue,styles:styles,supportsConstructableStylesheets:supportsConstructableStylesheets,supportsListenerOptions:supportsListenerOptions,supportsMutableAdoptedStyleSheets:supportsMutableAdoptedStyleSheets,supportsShadow:supportsShadow,transformTag:transformTag,win:win,writeTask:writeTask});export{BUILD as B,Fragment as F,H,NAMESPACE as N,StencilCore as S,createEvent as a,bootstrapLazy as b,consoleDevInfo as c,Host as d,getAssetPath as e,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s,win as w};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,l){function r(e){try{s(i.next(e))}catch(e){l(e)}}function o(e){try{s(i["throw"](e))}catch(e){l(e)}}function s(e){e.done?n(e.value):a(e.value).then(r,o)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,a,l,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=o(0),r["throw"]=o(1),r["return"]=o(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(e){return function(t){return s([e,t])}}function s(o){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(n=0)),n)try{if(i=1,a&&(l=o[0]&2?a["return"]:o[0]?a["throw"]||((l=a["return"])&&l.call(a),0):a.next)&&!(l=l.call(a,o[1])).done)return l;if(a=0,l)o=[o[0]&2,l.value];switch(o[0]){case 0:case 1:l=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(l=n.trys,l=l.length>0&&l[l.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!l||o[1]>l[0]&&o[1]<l[3])){n.label=o[1];break}if(o[0]===6&&n.label<l[1]){n.label=l[1];l=o;break}if(l&&n.label<l[2]){n.label=l[2];n.ops.push(o);break}if(l[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=l=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-BTfWEHH9.js";export{s as setNonce}from"./index-BTfWEHH9.js";import{g as globalScripts}from"./app-globals-CpP67t2l.js";var defineCustomElements=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy([["ezp-auth_15",[[257,"ezp-printing",{clientid:[1],redirecturi:[1],filename:[1025],fileurl:[1],filetype:[1],custom:[4],hidelogin:[4],hidemenu:[4],hideheader:[4],authapihosturl:[1],printapihosturl:[1],theme:[1],fileid:[1],appearance:[1],trigger:[1],language:[1],code:[1],filedata:[1],seamless:[4],printOpen:[32],authOpen:[32],onlyGetSasUri:[32],noDocumentOpen:[32],systemAppearance:[32],files:[32],open:[64],logOut:[64],getSasUri:[64],getAuthUri:[64],setAuthRefreshToken:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}],[1,"ezp-printer-selection",{clientID:[1,"client-i-d"],redirectURI:[1,"redirect-u-r-i"],filename:[1025],fileurl:[1],filetype:[1025],fileid:[1025],files:[16],hidemenu:[4],hideheader:[4],seamless:[4],loading:[32],printProcessing:[32],pageRangeInvalid:[32],uploading:[32],preparingUpload:[32],printSuccess:[32],printFailed:[32],notSupported:[32],noPrinters:[32],hubDriverError:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32],paperid:[32],currentFileIndex:[32],totalFiles:[32],failedFiles:[32],successfulFiles:[32],partialSuccess:[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{clientID:[1025,"client-i-d"],redirectURI:[1025,"redirect-u-r-i"],hidelogin:[4],trigger:[1],code:[1],auth:[32],authURI:[32],accessToken:[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{selectedFiles:[32],dragging:[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{heading:[1],description:[1],action:[1],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],iconFramed:[4,"icon-framed"],instance:[1]}],[1,"ezp-user-menu",{name:[1],open:[1028]},null,{open:[{watchOpen:0}]}],[1,"ezp-select",{icon:[1],label:[1],optionFlow:[1,"option-flow"],options:[16],placeholder:[1],preSelected:[8,"pre-selected"],toggleFlow:[1,"toggle-flow"],disabled:[4],expanded:[32],selected:[32]},null,{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}],[1,"ezp-input",{label:[1],value:[1032],type:[1],icon:[1],suffix:[513],eventType:[1,"event-type"],placeholder:[1],focused:[32]}],[1,"ezp-stepper",{icon:[1],label:[1],max:[2],min:[2],canDecrease:[32],canIncrease:[32],focused:[32],value:[32]},null,{value:[{watchValue:0}]}],[1,"ezp-status",{description:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-backdrop",{visible:[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{blank:[4],disabled:[4],href:[1],level:[1],label:[1],type:[1],small:[4]}],[1,"ezp-icon-button",{blank:[4],disabled:[4],href:[1],icon:[1],level:[1],type:[1]}],[1,"ezp-icon",{name:[1],size:[1],framed:[4]}],[1,"ezp-label",{ellipsis:[4],level:[1],noWrap:[4,"no-wrap"],text:[1],weight:[1]}]]]],t)]}}))}))};export{defineCustomElements};
|
package/dist/ezeep/ezeep.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,B as t,c as n,w as i,N as l,H as a,b as r}from"./p-BTfWEHH9.js";export{s as setNonce}from"./p-BTfWEHH9.js";import{g as o}from"./p-CpP67t2l.js";var c=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const n=t.call(this,!1),i=this.childNodes;if(e)for(let e=0;e<i.length;e++)2!==i[e].nodeType&&n.appendChild(i[e].cloneNode(!0));return n}};(()=>{t.isDev&&!t.isTesting&&n("Running in development mode."),t.cloneNodeFix&&c(a.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${l}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===l)):null,r=import.meta.url,o=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==r&&(o.resourcesUrl=new URL(".",r).href),e(o)})().then((async e=>(await o(),r([["p-ba70b358",[[257,"ezp-printing",{clientid:[1],redirecturi:[1],filename:[1025],fileurl:[1],filetype:[1],custom:[4],hidelogin:[4],hidemenu:[4],hideheader:[4],authapihosturl:[1],printapihosturl:[1],theme:[1],fileid:[1],appearance:[1],trigger:[1],language:[1],code:[1],filedata:[1],seamless:[4],printOpen:[32],authOpen:[32],onlyGetSasUri:[32],noDocumentOpen:[32],systemAppearance:[32],files:[32],open:[64],logOut:[64],getSasUri:[64],getAuthUri:[64],setAuthRefreshToken:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}],[1,"ezp-printer-selection",{clientID:[1,"client-i-d"],redirectURI:[1,"redirect-u-r-i"],filename:[1025],fileurl:[1],filetype:[1025],fileid:[1025],files:[16],hidemenu:[4],hideheader:[4],seamless:[4],loading:[32],printProcessing:[32],pageRangeInvalid:[32],uploading:[32],preparingUpload:[32],printSuccess:[32],printFailed:[32],notSupported:[32],noPrinters:[32],hubDriverError:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32],paperid:[32],currentFileIndex:[32],totalFiles:[32],failedFiles:[32],successfulFiles:[32],partialSuccess:[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{clientID:[1025,"client-i-d"],redirectURI:[1025,"redirect-u-r-i"],hidelogin:[4],trigger:[1],code:[1],auth:[32],authURI:[32],accessToken:[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{selectedFiles:[32],dragging:[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{heading:[1],description:[1],action:[1],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],iconFramed:[4,"icon-framed"],instance:[1]}],[1,"ezp-user-menu",{name:[1],open:[1028]},null,{open:[{watchOpen:0}]}],[1,"ezp-select",{icon:[1],label:[1],optionFlow:[1,"option-flow"],options:[16],placeholder:[1],preSelected:[8,"pre-selected"],toggleFlow:[1,"toggle-flow"],disabled:[4],expanded:[32],selected:[32]},null,{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}],[1,"ezp-input",{label:[1],value:[1032],type:[1],icon:[1],suffix:[513],eventType:[1,"event-type"],placeholder:[1],focused:[32]}],[1,"ezp-stepper",{icon:[1],label:[1],max:[2],min:[2],canDecrease:[32],canIncrease:[32],focused:[32],value:[32]},null,{value:[{watchValue:0}]}],[1,"ezp-status",{description:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-backdrop",{visible:[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{blank:[4],disabled:[4],href:[1],level:[1],label:[1],type:[1],small:[4]}],[1,"ezp-icon-button",{blank:[4],disabled:[4],href:[1],icon:[1],level:[1],type:[1]}],[1,"ezp-icon",{name:[1],size:[1],framed:[4]}],[1,"ezp-label",{ellipsis:[4],level:[1],noWrap:[4,"no-wrap"],text:[1],weight:[1]}]]]],e))));
|
package/dist/ezeep/ezeep.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// Safari 10 support type="module" but still download and executes the nomodule script
|
|
7
7
|
if (!currentScript || !currentScript.hasAttribute('nomodule') || !('onbeforeload' in currentScript)) {
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
10
|
* core-js 3.6.5
|
|
11
11
|
* https://github.com/zloirock/core-js
|
|
12
12
|
* License: http://rock.mit-license.org
|
|
@@ -106,25 +106,22 @@ DOMTokenList
|
|
|
106
106
|
*/
|
|
107
107
|
!function(){var e="undefined"!=typeof self,n=e?self:global;var t;if("undefined"!=typeof document){var e=document.querySelector("base[href]");e&&(t=e.href)}if(!t&&"undefined"!=typeof location){var e=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==e&&(t=t.slice(0,e+1))}var r=/\\/g,o="undefined"!=typeof Symbol,i=o&&Symbol.toStringTag,c=o?Symbol():"@";function u(){this[c]={}}var s=u.prototype;var l;s.import=function(e,n){var t=this;return Promise.resolve(t.resolve(e,n)).then(function(e){var n=function e(n,t,r){var o=n[c][t];if(o)return o;var u=[],s=Object.create(null);i&&Object.defineProperty(s,i,{value:"Module"});var l=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw Error("Module "+t+" did not instantiate");var r=e[1](function(e,n){o.h=!0;var t=!1;if("object"!=typeof e)e in s&&s[e]===n||(s[e]=n,t=!0);else for(var n in e){var r=e[n];n in s&&s[n]===r||(s[n]=r,t=!0)}if(t)for(var e=0;e<u.length;e++)u[e](s);return n},2===e[1].length?{import:function(e){return n.import(e,t)},meta:n.createContext(t)}:void 0);return o.e=r.execute||function(){},[e[0],r.setters||[]]});var f=l.then(function(r){return Promise.all(r[0].map(function(o,i){var c=r[1][i];return Promise.resolve(n.resolve(o,t)).then(function(r){var o=e(n,r,t);return Promise.resolve(o.I).then(function(){return c&&(o.i.push(c),!o.h&&o.I||c(o.n)),o})})})).then(function(e){o.d=e})});return f.catch(function(e){o.e=null,o.er=e}),o=n[c][t]={id:t,i:u,n:s,I:l,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}(t,e);return n.C||function(e,n){return n.C=function e(n,t,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then(function(){return Promise.all(t.d.map(function(t){return e(n,t,r)}))})}(e,n,{}).then(function(){return function e(n,t,r){if(r[t.id])return;if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o;return t.d.forEach(function(t){{var i=e(n,t,r);i&&(o=o||[]).push(i)}}),o?Promise.all(o).then(i):i();function i(){try{var e=t.e.call(f);if(e)return e=e.then(function(){t.C=t.n,t.E=null}),t.E=t.E||e;t.C=t.n}catch(e){throw t.er=e,e}finally{t.L=t.I=void 0,t.e=null}}}(e,n,{})}).then(function(){return n.n})}(t,n)})},s.createContext=function(e){return{url:e}},s.register=function(e,n){l=[e,n]},s.getRegister=function(){var e=l;return l=void 0,e};var f=Object.freeze(Object.create(null));n.System=n.System||new u;var d=s.register;s.register=function(e,n){d.call(this,e,n)},s.instantiate=function(e,n){var t=this;return".json"===e.substr(-5)?fetch(e).then(function(e){return e.text()}).then(function(e){return[[],function(n){return{execute:function(){n("default",JSON.parse(e))}}}]}):new Promise(function(r,o){var i;function c(n){n.filename===e&&(i=n.error)}window.addEventListener("error",c);var u=document.createElement("script");u.charset="utf-8",u.async=!0,u.addEventListener("error",function(){window.removeEventListener("error",c),o(Error("Error loading "+e+(n?" from "+n:"")))}),u.addEventListener("load",function(){window.removeEventListener("error",c),document.head.removeChild(u),i?o(i):r(t.getRegister())}),u.src=e,document.head.appendChild(u)})},e&&"function"==typeof importScripts&&(s.instantiate=function(e){var n=this;return new Promise(function(t,r){try{importScripts(e)}catch(e){r(e)}t(n.getRegister())})}),s.resolve=function(e,n){var o=function(e,n){if(-1!==e.indexOf("\\")&&(e=e.replace(r,"/")),"/"===e[0]&&"/"===e[1])return n.slice(0,n.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var t=n.slice(0,n.indexOf(":")+1);var r;if(r="/"===n[t.length+1]?"file:"!==t?(r=n.slice(t.length+2)).slice(r.indexOf("/")+1):n.slice(8):n.slice(t.length+("/"===n[t.length])),"/"===e[0])return n.slice(0,n.length-r.length-1)+e;var o=r.slice(0,r.lastIndexOf("/")+1)+e,i=[];var c=-1;for(var e=0;e<o.length;e++)-1!==c?"/"===o[e]&&(i.push(o.slice(c,e+1)),c=-1):"."===o[e]?"."!==o[e+1]||"/"!==o[e+2]&&e+2!==o.length?"/"===o[e+1]||e+1===o.length?e+=1:c=e:(i.pop(),e+=2):c=e;return-1!==c&&i.push(o.slice(c)),n.slice(0,n.length-r.length)+i.join("")}}(e,n||t);if(!o){if(-1!==e.indexOf(":"))return Promise.resolve(e);throw Error('Cannot resolve "'+e+(n?'" from '+n:'"'))}return Promise.resolve(o)}}();
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
window.__cssshim.i().then(start);
|
|
123
|
-
} else {
|
|
109
|
+
// Figure out currentScript (for IE11, since it does not support currentScript)
|
|
110
|
+
var regex = /\/ezeep(\.esm)?\.js($|\?|#)/;
|
|
111
|
+
var scriptElm = currentScript || Array.from(document.querySelectorAll('script')).find(function(s) {
|
|
112
|
+
return regex.test(s.src) || s.getAttribute('data-stencil-namespace') === "ezeep";
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
|
+
var start = function() {
|
|
117
|
+
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
+
var url = new URL('./p-CfQRcOh8.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
|
+
System.import(url.href);
|
|
120
|
+
};
|
|
121
|
+
|
|
124
122
|
start();
|
|
125
|
-
}
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
// Note: using .call(window) here because the self-executing function needs
|
|
125
|
+
// to be scoped to the window object for the ES6Promise polyfill to work
|
|
129
126
|
}
|
|
130
127
|
}).call(window);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r["throw"](t))}catch(t){o(t)}}function a(t){t.done?e(t.value):i(t.value).then(u,c)}a((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=c(0),u["throw"]=c(1),u["return"]=c(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(t){return function(n){return a([t,n])}}function a(c){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,c[0]&&(e=0)),e)try{if(r=1,i&&(o=c[0]&2?i["return"]:c[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;if(i=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1];o=c;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(c);break}if(o[2])e.ops.pop();e.trys.pop();continue}c=n.call(t,e)}catch(t){c=[6,t];i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register([],(function(t){"use strict";return{execute:function(){var n=this;var e=function(){return __awaiter(n,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=new FontFace("Inter","url(https://rsms.me/inter/font-files/Inter-roman.var.woff2)",{style:"normal",weight:"400 600"});t.load().then((function(){document.fonts.add(t)}));return[2]}))}))};var r=e||function(){};var i=t("g",r)}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t="ezeep",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!0,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",l="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?t[o]=n.i.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&f(t,n))},p=(t,n)=>{const o={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&f(t,o),s},m=(t,e)=>e in t,v=(t,e)=>(a||console.error)(t,e),g=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...g,...t),b=(...t)=>console.warn(...g,...t),y=(...t)=>console.info(...g,...t),w=new Map,S=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void $(`Trying to lazily load component <${t.C}> with style mode "${n.k}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&w.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||w.set(r,t),t[s])),(t=>{v(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},j=new Map,x=[],O="s-id",C="sty-id",_="c-id",E="_stencilDocData",k={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",T="http://www.w3.org/1999/xlink",L=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},M=R.HTMLElement||class{},A={u:0,N:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},D=e.shadowDom,I=t=>Promise.resolve(t),H=!!e.constructableCSS&&(()=>{try{return!!R.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!H&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),P=0,U=!1,z=[],B=[],V=[],W=(t,e)=>n=>{t.push(n),U||(U=!0,e&&4&A.u?q(X):A.raf(X))},Y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},J=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){v(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},X=()=>{if(e.asyncQueue&&P++,Y(z),e.asyncQueue){const t=2==(6&A.u)?performance.now()+14*Math.ceil(.1*P):1/0;J(B,t),J(V,t),B.length>0&&(V.push(...B),B.length=0),(U=z.length+B.length+V.length>0)?A.raf(X):P=0}else Y(B),(U=z.length>0)&&A.raf(X)},q=t=>I().then(t),K=W(z,!1),Q=W(B,!0),G=t=>{const e=new URL(t,A.N);return e.origin!==R.location.origin?e.href:e.pathname};function Z(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(F?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var tt=t=>{const e=Tt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&nt(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!ot(t,it(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Tt(t,"childNodes").length&&tt(t)}},et=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function nt(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||it(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...nt(o.childNodes,e,n)]}return r}var ot=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==e||!n&&s["s-sr"]||o.push(s);return o},st=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,rt=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=Tt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Tt(i,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function lt(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:et(s.childNodes)).forEach((t=>{o===it(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function ct(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function at(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:nt(Tt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ut=t=>{ft(t),dt(t),mt(t),pt(t),bt(t),vt(t),gt(t),$t(t),yt(t),wt(t),ht(t)},ft=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&D,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=r.every((t=>!i[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},dt=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=at(t,this);if(n){rt(t,n);const o=ot(n,e),s=o[o.length-1],r=Tt(s,"parentNode"),i=Tt(r,"insertBefore")(t,s.nextSibling);return ct(n),tt(this),i}return this.__appendChild(t)})},ht=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&nt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void tt(this)):this.__removeChild(t)})},pt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=it(e))||"",o=nt(Tt(this,"childNodes"),this.tagName,n)[0];if(o){rt(e,o,!0);const t=ot(o,n)[0],s=Tt(t,"parentNode"),r=Tt(s,"insertBefore")(e,Tt(t,"nextSibling"));return ct(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},mt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},vt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},gt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},$t=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=at(t,this),s=this.__childNodes?this.childNodes:et(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){rt(t,o);const n=Tt(e,"parentNode");Tt(n,"insertBefore")(t,e),ct(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},bt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},yt=t=>{Nt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},wt=t=>{class e extends Array{item(t){return this[t]}}Nt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Nt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Nt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Nt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...et(this.__childNodes)),t}})},St=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(jt(t),Ot(t),_t(t),t.nodeType===Node.ELEMENT_NODE&&(xt(t),Ct(t)))},jt=t=>{t&&!t.__nextSibling&&(Nt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},xt=t=>{t&&!t.__nextElementSibling&&(Nt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},Ot=t=>{t&&!t.__previousSibling&&(Nt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},Ct=t=>{t&&!t.__previousElementSibling&&(Nt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},_t=t=>{t&&!t.__parentNode&&(Nt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Et=["children","nextElementSibling","previousElementSibling"],kt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Nt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;Et.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):kt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Tt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var Lt=0,Rt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Lt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Mt(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var At=new WeakMap,Dt=(t,e,n)=>{let o=j.get(t);H&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,j.set(t,o)},It=(t,n,o)=>{var s,r,i;const l=Ft(n,o),c=j.get(l);if(!e.attachStyles||!R.document)return l;if(t=11===t.nodeType?t:R.document,c)if("string"==typeof c){let o,i=At.get(t=t.head||t);i||At.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${C}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=R.document.createElement("style"),o.textContent=c;const a=null!=(s=A.T)?s:Mt(R.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(C,l),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(H){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=N),i&&i.add(l)}}else if(e.constructableCSS){let n=At.get(t);if(n||At.set(t,n=new Set),!n.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${C}="${l}"]`);e&&Q((()=>e.remove()))}}}return l},Ht=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Rt("attachStyles",n.C),i=It(e.shadowDom&&D&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.k);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ft=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Pt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ut=()=>{if(!R.document)return;const t=R.document.querySelectorAll(`[${C}]`);let e=0;for(;e<t.length;e++)Dt(t[e].getAttribute(C),Pt(t[e].innerHTML),!0)},zt=t=>"object"==(t=typeof t)||"function"===t,Bt=(t,n,...o)=>{"string"==typeof t&&(t=to(t));let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof t&&!zt(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].L+=s:a.push(l?Vt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Kt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(i=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Yt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Jt);const f=Vt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=i),f},Vt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,F:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Wt={},Yt=t=>t&&t.I===Wt,Jt={forEach:(t,e)=>t.map(Xt).forEach(e),map:(t,e)=>t.map(Xt).map(e).map(qt)},Xt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),qt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Bt(t.vtag,e,...t.vchildren||[])}const e=Vt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},Kt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),i=e.indexOf("step");(n<o||n<s||n<r||n<i)&&b('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Qt=(t,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(_),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Zt({u:0,P:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),F:i,R:{class:i.className||""}}),n.push(f),i.removeAttribute(_),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.R.class+=" "+h);const r=f.F.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(te(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.F["s-sn"]=r,f.F.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.F)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)Qt(t,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)Qt(t,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=Zt({P:u[1],U:u[2],B:u[3],V:u[4]||"0",F:i,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.F=ne(i,3),f.F&&3===f.F.nodeType&&(f.L=f.F.textContent,n.push(f),i.remove(),l===f.P&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.F))):"c"===a?(f.F=ne(i,8),f.F&&8===f.F.nodeType&&(n.push(f),i.remove())):f.P===l&&("s"===a?te(i["s-sn"]=u[5]||"",u[2],f,i,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?i.remove():e.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.I){const e=Vt(null,i.textContent);e.F=i,e.V="0",t.M=[e]}return t},Gt=(t,e)=>{if(1===t.nodeType){const n=t[O]||t.getAttribute(O);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Gt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Gt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Zt=t=>({u:0,P:null,U:null,B:null,V:"0",F:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function te(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.F)?r.F["s-id"]||r.F.getAttribute("s-id"):"";if(e.shadowDom&&c&&R.document){const e=o.F=R.document.createElement(o.I);o.D&&o.F.setAttribute("name",t),r.F.shadowRoot&&u&&u!==o.P?Tt(r.F,"insertBefore")(e,Tt(r.F,"children")[0]):Tt(Tt(s,"parentNode"),"insertBefore")(e,s),ee(a,n,t,s,o.P),s.remove(),"0"===o.B&&(c[o.V]=o.F)}else{const e=o.F,i=u&&u!==o.P&&r.F.shadowRoot;ee(a,n,t,s,i?u:o.P),lt(s),i&&r.F.insertBefore(e,r.F.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var ee=(t,e,n,o,s)=>{var r,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},ne=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},oe=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),se="-shadowcsshost",re="-shadowcssslotted",ie="-shadowcsscontext",le=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ce=RegExp("("+se+le,"gim"),ae=RegExp("("+ie+le,"gim"),ue=RegExp("("+re+le,"gim"),fe=se+"-no-combinator",de=/-shadowcsshost-no-combinator([^\s]*)/,he=[/::shadow/g,/::content/g],pe=/__part-(\d+)__/g,me=/-shadowcsshost/gim,ve=t=>{const e=oe(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},ge=/\/\*\s*[\s\S]*?\*\//g,$e=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,be=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ye=/([{}])/g,we=/(^.*?[^\\])??((:+)(.*)|$)/,Se="%BLOCK%",je=(t,e)=>{const n=xe(t);let o=0;return n.escapedString.replace(be,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+Se)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${i}`}))},xe=t=>{const e=t.split(ye),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const i=e[t];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(Se),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(Se)),{escapedString:n.join(""),blocks:o}},Oe=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(fe,r,t[3]))}return o.join(",")}return fe+t[3]})),Ce=(t,e,n)=>t+e.replace(se,"")+n,_e=(t,e,n)=>e.indexOf(se)>-1?Ce(t,e,n):t+e+n+", "+e+" "+t+n,Ee=(t,e)=>t.replace(we,((t,n="",o,s="",r="")=>n+e+s+r)),ke=(t,e,n,o)=>je(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(fe)>-1)s=((t,e,n)=>{if(me.lastIndex=0,me.test(t)){const e="."+n;return t.replace(de,((t,n)=>Ee(n,e))).replace(me,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(me,"");e.length>0&&(s=Ee(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(fe)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(fe)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(pe)&&(u||f.indexOf(fe)>-1),l+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,l)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(r=ke(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Ne=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Te=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match($e)||[])(t);t=(t=>t.replace(ge,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=je(t,(t=>"@"!==t.selector[0]?e(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=je(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(ue,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return fe+t[3]})),{selectors:o,cssText:t}})(t=(t=>Oe(t,ae,_e))(t=(t=>Oe(t,ce,Ce))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=ve("::slotted"),o=ve(":host"),s=ve(":host-context");return t=t.replace(s,"$1"+ie).replace(o,"$1"+se).replace(n,"$1"+re),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>he.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=ke(t,e,n,o)),{cssText:(t=(t=Ne(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Ne(t.orgSelector,n),updatedSelector:Ne(t.updatedSelector,n)})))}})(t,e,n,o);return t=[i.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),i.slottedSelectors.forEach((e=>{const n=RegExp(oe(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return je(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Le=t=>x.map((e=>e(t))).find((t=>!!t)),Re=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},Me=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return RegExp(r,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};var Ae,De,Ie,He=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(l)?t=function(t){return"string"==typeof t&&t.startsWith(l)?Me.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(t.slice(11)))):t}(t):null==t||zt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,Fe=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},Pe=(t,n,o)=>{const s=Fe(t);return{emit:t=>(e.isDev&&!s.isConnected&&b(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Ue(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},Ue=(t,e,n)=>{const o=A.ce(e,n);return t.dispatchEvent(o),o},ze=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=m(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Ve(o);let i=Ve(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];i.push(e),r.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else n.remove(...r.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!r.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&hn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const l=zt(s);if((c||l&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(T,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(T,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):m(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(We);n=n.replace(Ye,""),o&&A.rel(t,n,o,e),s&&A.ael(t,n,s,e)}},Be=/\s/,Ve=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Be):[]),We="Capture",Ye=RegExp(We+"$"),Je=(t,n,o,s)=>{const r=11===n.F.nodeType&&n.F.host?n.F.host:n.F,i=t&&t.R||{},l=n.R||{};if(e.updatable)for(const t of Xe(Object.keys(i)))t in l||ze(r,t,i[t],void 0,o,n.u,s);for(const t of Xe(Object.keys(l)))ze(r,t,i[t],l[t],o,n.u,s)};function Xe(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var qe=!1,Ke=!1,Qe=!1,Ge=!1,Ze=[],tn=[],en=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!qe&&(Qe=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.F&&$(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.L)i=r.F=R.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)i=r.F=e.isDebug||e.hydrateServerSide?gn(r):R.document.createTextNode(""),e.vdomAttribute&&Je(null,r,Ge);else{if(e.svg&&!Ge&&(Ge="svg"===r.I),!R.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.F=e.svg?R.document.createElementNS(Ge?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!qe&&e.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!qe&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&Ge&&"foreignObject"===r.I&&(Ge=!1),e.vdomAttribute&&Je(null,r,Ge),(e.scoped||e.hydrateServerSide)&&null!=Ae&&void 0!==Ae&&i["s-si"]!==Ae&&i.classList.add(i["s-si"]=Ae),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=en(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?Ge=!1:"foreignObject"===i.tagName&&(Ge=!0))}return i["s-hn"]=Ie,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=De,i["s-sn"]=r.D||"",i["s-rf"]=null==(s=r.R)?void 0:s.ref,lt(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.F&&nn(t.F),(e.scoped||e.hydrateServerSide)&&mn(De,i,n.F,null==t?void 0:t.F)),i},nn=t=>{A.u|=1;const e=t.closest(Ie.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(pn(e,t,null!=n?n:null),t["s-sh"]=void 0,Qe=!0)}A.u&=-2},on=(t,e)=>{A.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ie&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Ie&&o["s-ol"]&&(pn(cn(o).parentNode,o,cn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Qe=!0),e&&on(o,e)}A.u&=-2},sn=(t,n,o,s,r,i)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ie&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=en(null,o,r),l&&(s[r].F=l,pn(c,l,e.slotRelocation?cn(n):n)))},rn=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.F;dn(n),t&&(e.slotRelocation&&(Ke=!0,t["s-ol"]?t["s-ol"].remove():on(t,!0)),t.remove())}}},ln=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),cn=t=>t&&t["s-ol"]||t,an=(t,n,o=!1)=>{const s=n.F=t.F,r=t.M,i=n.M,l=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(Ge="svg"===l||"foreignObject"!==l&&Ge),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!qe&&t.D!==n.D&&(n.F["s-sn"]=n.D||"",nn(n.F.parentElement)),Je(t,n,Ge,o)),e.updatable&&null!==r&&null!==i?((t,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(ln(h,v,r))an(h,v,r),h=n[++c],v=s[++a];else if(ln(p,g,r))an(p,g,r),p=n[--d],g=s[--m];else if(ln(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||on(h.F.parentNode,!1),an(h,g,r),pn($,h.F,p.F.nextSibling),h=n[++c],g=s[--m];else if(ln(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||on(p.F.parentNode,!1),an(p,v,r),pn($,p.F,h.F),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=en(n&&n[a],o,u):(an(l,v,r),n[u]=void 0,i=l.F),v=s[++a]):(i=en(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?pn(cn(h.F).parentNode,i,cn(h.F)):pn(h.F.parentNode,i,h.F))}c>d?sn(t,null==s[m+1]?null:s[m+1].F,o,s,a,m):e.updatable&&a>m&&rn(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),sn(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?rn(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&Ge&&"svg"===l&&(Ge=!1))},un=[],fn=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(st(e,s)){let n=un.find((t=>t.W===e));Ke=!0,e["s-sn"]=e["s-sn"]||s,n?(n.W["s-sh"]=t["s-hn"],n.Y=t):(e["s-sh"]=t["s-hn"],un.push({Y:t,W:e})),e["s-sr"]&&un.map((t=>{st(t.W,e["s-sn"])&&(n=un.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else un.some((t=>t.W===e))||un.push({W:e})}1===t.nodeType&&fn(t)}},dn=t=>{e.vdomRef&&(t.R&&t.R.ref&&Ze.push((()=>t.R.ref(null))),t.M&&t.M.map(dn))},hn=(t,n)=>{e.vdomRef&&tn.push((()=>t(n)))},pn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])mn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&_t(n),t.insertBefore(n,o);const{slotNode:r}=at(n);return r&&!s&&ct(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function mn(t,e,n,o){var s,r;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var vn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||Vt(null,null),d=Yt(n)?n:Bt(null,null,n);if(Ie=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Yt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ie.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.F=f.F=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Ae=a["s-sc"]),qe=D&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(De=a["s-cr"],Ke=!1),an(f,d,o),e.slotRelocation){if(A.u|=1,Qe){fn(d.F);for(const t of un){const n=t.W;if(!n["s-ol"]&&R.document){const t=e.isDebug||e.hydrateServerSide?$n(n):R.document.createTextNode("");t["s-nr"]=n,pn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of un){const n=t.W,c=t.Y;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(i=e["s-nr"])?i:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(pn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=R.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,pn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}Ke&&tt(d.F),A.u&=-2,un.length=0}if(e.slotRelocation&&!qe&&!(1&u.u)&&a["s-cr"]){const t=d.F.__childNodes||d.F.childNodes;for(const e of t)if(e["s-hn"]!==Ie&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=R.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],pn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}De=void 0,e.vdomRef&&(Ze.forEach((t=>t())),Ze.length=0,tn.forEach((t=>t())),tn.length=0)},gn=t=>{var e;return null==(e=R.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${Ie.toLowerCase()})`)},$n=t=>{var e;return null==(e=R.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},bn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},yn=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);bn(t,t.K);const o=()=>wn(t,n);if(!n)return e.taskQueue?Q(o):o();queueMicrotask((()=>{o()}))},wn=(t,n)=>{const o=t.$hostElement$,s=Rt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.l:o;if(!r)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,Nn(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>Nn(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),Tn(o,"componentWillLoad"),i=Nn(r,"componentWillLoad",void 0,o)):(Tn(o,"componentWillUpdate"),i=Nn(r,"componentWillUpdate",void 0,o)),Tn(o,"componentWillRender"),i=Sn(i,(()=>Nn(r,"componentWillRender",void 0,o))),s(),Sn(i,(()=>xn(t,r,n)))},Sn=(t,e)=>jn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),jn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,xn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Rt("update",t.o.C),l=r["s-rc"];e.style&&o&&Ht(t);const c=Rt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await Cn(t,n,r,o):Cn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{Rn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){v(t,r)}if(e.asyncLoading&&l&&(l.map((t=>t())),r["s-rc"]=void 0),c(),i(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>_n(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else _n(t)},On=null,Cn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(On=n,n=(r||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||i)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>vn(t,e,s)));vn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){v(e,t.$hostElement$)}return On=null,null},_n=t=>{const n=t.o.C,o=t.$hostElement$,s=Rt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),Nn(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),Tn(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),Nn(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),Tn(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Ln(o),e.isDev&&(t.u|=2048),Nn(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),Tn(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||kn(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&q((()=>yn(t,!1))),t.u&=-517)},En=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.u)&&yn(e,!1),n}return!1},kn=n=>{var o;e.asyncQueue&&(A.u|=2),q((()=>Ue(R,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=A.tt)?void 0:o.size)&&A.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},Nn=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){v(t,o)}},Tn=(n,o)=>{e.lifecycleDOMEvents&&Ue(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Ln=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Rn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Rn(n)}},Mn=(t,e)=>d(t).i.get(e),An=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.u,a=e.lazyLoad?r.l:i;if(o=He(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==l||o===l||Number.isNaN(l)&&Number.isNaN(o))){if(r.i.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.l)}))}if(e.isDev&&(1024&r.u?b(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.u&&b(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,l,n):r.O.push((()=>{r.l[e](o,l,n)})))}catch(t){v(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||yn(r,!1)}}},Dn=(t,n,o)=>{var s,r;const i=t.prototype;if(e.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&L.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=d(this),i=e.lazyLoad?null==r?void 0:r.l:this;if(i){const s=e.lazyLoad?i[t]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Re(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=c(i,t)||{};r&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(i,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Mn(this,t);const e=d(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):Mn(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=d(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||b(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(r=i.i.get(t)),l.call(this,He(r,s,e.formAssociated&&!!(64&n.u))),void An(this,t,r=32&s?this[t]:i.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return An(this,t,r,n),void(1&o&&!i.l&&i.O.push((()=>{4096&n.t[t][0]&&i.l[t]!==i.i.get(t)&&(i.l[t]=r)})));const l=()=>{const o=i.l[t];!i.i.get(t)&&o&&i.i.set(t,o),i.l[t]=He(r,s,e.formAssociated&&!!(64&n.u)),An(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else An(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){A.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.l?t(n,u.l):u.O.push((()=>{t(n,u.l)})):t(n,this)}return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.l:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.nt)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=i[n]&&(128&o||1&l)&&i[n].call(i,r,s,t)}))}return}const f=l.find((([t])=>t===a)),h=f&&4&f[1][0],p=h&&null===r&&void 0===this[a];h&&(r=null!==r&&"false"!==r);const m=Object.getOwnPropertyDescriptor(i,a);p||r==this[a]||m.get&&!m.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...l.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const i=s[1]||t;return o.set(i,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,i])),i}))]))}}return t},In=async(t,n,o,s)=>{let r;try{if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&o._){const i=S(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.k}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.k}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=Re(r.watchers),o.et=r.serializers,o.ot=r.deserializers),Dn(r,o,2),r.isProxied=!0);const l=Rt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){v(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:Hn(n.l,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n.k=Le(t),n.k&&(i=r.style[n.k]),e.hydrateServerSide&&n.k&&t.setAttribute("s-mode",n.k));const l=Ft(o,n.k);if(!j.has(l)||e.hotModuleReplacement&&s){const t=Rt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Te(i,l)),Dt(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>yn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(o){v(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),e.asyncLoading&&n.j&&n.j(t)}},Hn=(t,n)=>{e.lazyLoad&&Nn(t,"connectedCallback",void 0,n)},Fn=t=>{if(!(1&A.u)){const n=d(t);if(!n)return;const o=n.o,s=Rt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Yn(t,n,o.st,!0),1&n.u)Yn(t,n,o.st,!1),(null==n?void 0:n.l)?Hn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Hn(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(O),s)){if(e.shadowDom&&D&&1&o.u){const n=e.mode?It(t.shadowRoot,o,t.getAttribute("s-mode")):It(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Ft(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Rt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Vt(n,null);let g;if(v.F=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!R.document||A.tt&&A.tt.size||Gt(R.document.body,A.tt=new Map),t[O]=o,t.removeAttribute(O),s.J=Qt(v,f,h,m,t,t,o,p);let $=0;const b=f.length;let y;for(;$<b;$++){y=f[$];const o=y.P+"."+y.U,s=A.tt.get(o),i=y.F;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.F.shadowRoot){const t=d(y.F);if(t){const n=Ft(t.o,e.mode?y.F.getAttribute("s-mode"):void 0),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=to(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.F["s-sn"]||y.F.name||null,y.M?(y.u|=2,y.F.childNodes.length||y.M.forEach((t=>{y.F.appendChild(t.F)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),u||(i["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&A.tt.delete(o)}const w=[],S=p.length;let j,x,C,_,E=0,k=0;for(;E<S;E++)if(j=p[E],j&&j.length)for(C=j.length,x=0;x<C;x++){if(_=j[x],w[_.hostId]||(w[_.hostId]=A.tt.get(_.hostId)),!w[_.hostId])continue;const t=w[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=j[x-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),rt(_.node,_.slot,!1,_.node["s-oo"]||k),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&St(_.node)),k=(_.node["s-oo"]||k)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.F.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Pn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){bn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?q((()=>In(t,n,o))):In(t,n,o)}s()}},Pn=t=>{if(!R.document)return;const n=t["s-cr"]=R.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,pn(t,n,t.firstChild)},Un=(t,n)=>{e.lazyLoad&&Nn(t,"disconnectedCallback",void 0,n||t)},zn=async t=>{if(!(1&A.u)){const n=d(t);e.hostListener&&(null==n?void 0:n.rt)&&(n.rt.map((t=>t())),n.rt=void 0),e.lazyLoad?(null==n?void 0:n.l)?Un(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Un(n.l,t))):Un(t)}At.has(t)&&At.delete(t),t.shadowRoot&&At.has(t.shadowRoot)&&At.delete(t.shadowRoot)},Bn=(t,n)=>{const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=Re(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!D&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?ut(t.prototype):(e.slotChildNodesFix&&wt(t.prototype),e.cloneNodeFix&&ft(t.prototype),e.appendChildSlotFix&&dt(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&yt(t.prototype)):e.cloneNodeFix&&ft(t.prototype),e.hydrateClientSide&&e.shadowDom&&Ut();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){p(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;Yn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}Fn(this),s&&s.call(this)},disconnectedCallback(){zn(this),r&&r.call(this)},__attachShadow(){if(D)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),Dn(t,o,3)}catch(e){return v(e),t}},Vn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=R.stencil=R.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.i,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.l,vnode:e.J,modeName:e.k,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.rt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!R.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Rt("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),f=[];let h,m=!0;Object.assign(A,n),A.N=new URL(n.resourcesUrl||"./",R.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(A.u|=4),e.hydrateClientSide&&(A.u|=2),e.hydrateClientSide&&e.shadowDom&&Ut();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={u:o[0],C:o[1],t:o[2],st:o[3]};4&a.u&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.st=o[3]),e.reflect&&(a.X=[]),e.propChangeCallback&&(a.nt=Re(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!D&&1&a.u&&(a.u|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.C):to(a.C),g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),p(t=this,a),e.shadowDom&&1&a.u)if(D)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Yn(this,t,a.st,!1)),h&&(clearTimeout(h),h=null),m?f.push(this):A.jmp((()=>Fn(this))))}disconnectedCallback(){A.jmp((()=>zn(this))),A.raf((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.F)instanceof Node&&!e.J.F.isConnected&&delete e.J.F}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.S}};!(1&a.u)&&256&a.u?e.experimentalSlotFixes?ut(g.prototype):(e.slotChildNodesFix&&wt(g.prototype),e.cloneNodeFix&&ft(g.prototype),e.appendChildSlotFix&&dt(g.prototype),e.scopedSlotTextContentFix&&2&a.u&&yt(g.prototype)):e.cloneNodeFix&&ft(g.prototype),e.formAssociated&&64&a.u&&(g.formAssociated=!0),e.hotModuleReplacement&&(g.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.u=1,In(t,o,e,n))})(this,a,t)}),a._=t[0],i.includes(u)||l.get(u)||(r.push(u),l.define(u,Dn(g,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=N),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=A.T)?o:Mt(R.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):A.jmp(e.profile?()=>h=setTimeout(kn,30,"timeout"):()=>h=setTimeout(kn,30)),s()},Wn=(t,e)=>e,Yn=(t,n,o,s)=>{e.hostListener&&o&&R.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Xn(R.document,t,o):t,l=Jn(n,r),c=qn(o);A.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>A.rel(i,s,l,c)))})))},Jn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.l)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){v(e,t.$hostElement$)}},Xn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?R:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,qn=t=>({passive:!!(1&t),capture:!!(2&t)}),Kn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Qn=t=>A.T=t,Gn=new WeakMap,Zn=void 0;function to(t){return Zn?Zn(t):t}function eo(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)}var no=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||oo(t,e,s.J,n,{nodeIds:0}),no(t,e,n,o)}))},oo=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(O,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{so(t,n,s,r,e,o)}))}if(e&&n&&n.F&&!e.hasAttribute(_)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.F.setAttribute(_,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},so=(t,e,n,o,s,r)=>{const i=e.F;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(_,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const e=i.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);pn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{so(t,e,n,o,r,s)}))}},ro=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:Wn,H:M,HTMLElement:M,HYDRATED_STYLE_ID:C,Host:Wt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Kn)},NAMESPACE:t,STENCIL_DEV_MODE:g,addHostEventListeners:Yn,bootstrapLazy:Vn,cmpModules:w,connectedCallback:Fn,consoleDevError:$,consoleDevInfo:y,consoleDevWarn:b,consoleError:v,createEvent:Pe,defineCustomElement:(t,e)=>{customElements.define(to(e[1]),Bn(t,e))},disconnectedCallback:zn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Le(t),n=d(t);if(n&&n.k!==e){const o=n.o,s=t["s-sc"],r=Ft(o,e),i=t.constructor.style[e],l=o.u;i&&(j.has(r)||Dt(r,i,!!(1&l)),n.k=e,t.classList.remove(s+"-h",s+"-s"),Ht(n),En(t))}}},forceUpdate:En,getAssetPath:G,getElement:Fe,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e.k},getRenderingRef:()=>On,getValue:Mn,h:Bt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=E in t?t[E]:{...k};n.staticComponents=new Set(e);const o=[];no(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(_,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue="t."+l,pn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(l);e.nodeValue="c."+l,s.parentNode.insertBefore(e,s)}let c="o."+l;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:m,jsx:eo,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)},jsxs:function(t,e,n){return eo(t,e,n)},loadModule:S,modeResolutionChain:x,needsScopedSSR:()=>!1,nextTick:q,normalizeWatchers:Re,parsePropertyValue:He,plt:A,postUpdateComponent:_n,promiseResolve:I,proxyComponent:Dn,proxyCustomElement:Bn,readTask:K,registerHost:p,registerInstance:h,render:function(t,e){let n=Gn.get(e);n||(n={u:0,o:{u:0,C:e.tagName},$hostElement$:e},Gn.set(e,n)),vn(n,t)},renderVdom:vn,setAssetPath:t=>A.N=t,setErrorHandler:t=>a=t,setMode:t=>x.push(t),setNonce:Qn,setPlatformHelpers:t=>{Object.assign(A,t)},setPlatformOptions:t=>Object.assign(A,t),setScopedSSR:()=>{},setTagTransformer:function(t){Zn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),Zn=t},setValue:An,styles:j,supportsConstructableStylesheets:H,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:F,supportsShadow:D,transformTag:to,win:R,writeTask:Q});export{e as B,Wn as F,M as H,t as N,ro as S,Pe as a,Vn as b,y as c,Wt as d,G as e,Fe as g,Bt as h,I as p,h as r,Qn as s,R as w}
|