@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 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{o(i.next(e))}catch(e){a(e)}}function s(e){try{o(i["throw"](e))}catch(e){a(e)}}function o(e){e.done?n(e.value):r(e.value).then(l,s)}o((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=s(0),l["throw"]=s(1),l["return"]=s(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(s){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(n=0)),n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-DhXN1yGM.system.js","./p-5ok9OZMg.system.js"],(function(e,t){"use strict";var n,i,r,a,l,s,o,c;return{setters:[function(t){n=t.p;i=t.B;r=t.c;a=t.w;l=t.N;s=t.H;o=t.b;e("setNonce",t.s)},function(e){c=e.g}],execute:function(){var e=this;var u=function(){if(i.isDev&&!i.isTesting){r("Running in development mode.")}if(i.cloneNodeFix){p(s.prototype)}var e=i.scriptDataOpts?a.document&&Array.from(a.document.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(l,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===l})):null;var o=t.meta.url;var c=i.scriptDataOpts?(e||{})["data-opts"]||{}:{};if(o!==""){c.resourcesUrl=new URL(".",o).href}return n(c)};var p=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var n=t.call(this,false);var i=this.childNodes;if(e){for(var r=0;r<i.length;r++){if(i[r].nodeType!==2){n.appendChild(i[r].cloneNode(true))}}}return n}};u().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,c()];case 1:e.sent();return[2,o([["p-f3ad7583.system",[[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)]}}))}))}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=(async()=>{const t=new FontFace("Inter","url(https://rsms.me/inter/font-files/Inter-roman.var.woff2)",{style:"normal",weight:"400 600"});t.load().then((()=>{document.fonts.add(t)}))})||(()=>{});export{t as g}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{u(t.next(r))}catch(r){a(r)}}function o(r){try{u(t["throw"](r))}catch(r){a(r)}}function u(r){r.done?n(r.value):i(r.value).then(f,o)}u((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return f.next=o(0),f["throw"]=o(1),f["return"]=o(2),typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function o(r){return function(e){return u([r,e])}}function u(o){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,o[0]&&(n=0)),n)try{if(t=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(r,n)}catch(r){o=[6,r];i=0}finally{t=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,e){var n={};for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0)n[t]=r[t];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,t=Object.getOwnPropertySymbols(r);i<t.length;i++){if(e.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i]))n[t[i]]=r[t[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","ezeep");var i=r("B",{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 a={};var f={isDev:i.isDev?true:false,isBrowser:true,isServer:false,isTesting:i.isTesting?true:false};var o="http://www.w3.org/2000/svg";var u="http://www.w3.org/1999/xhtml";var s=function(r){r["Undefined"]="undefined";r["Null"]="null";r["String"]="string";r["Number"]="number";r["SpecialNumber"]="number";r["Boolean"]="boolean";r["BigInt"]="bigint";return r}(s||{});var l=function(r){r["Array"]="array";r["Date"]="date";r["Map"]="map";r["Object"]="object";r["RegularExpression"]="regexp";r["Set"]="set";r["Channel"]="channel";r["Symbol"]="symbol";return r}(l||{});var v="type";var c="value";var d="serialized:";function h(r,e,n){var t=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(r&&r!==t){var i=Object.getOwnPropertyDescriptor(r,e);if(i&&(!n||i.get))return i;r=Object.getPrototypeOf(r)}return void 0}var p=function(r,e){var n;var t=e.t;var a=Object.entries((n=t.i)!=null?n:{});a.map((function(n){var t=n[0],a=n[1][0];if((i.state||i.prop)&&(a&31||a&32)){var f=r[t];var o=h(Object.getPrototypeOf(r),t,true)||Object.getOwnPropertyDescriptor(r,t);if(o){Object.defineProperty(r,t,{get:function(){return o.get.call(this)},set:function(r){o.set.call(this,r)},configurable:true,enumerable:true})}if(e.o.has(t)){r[t]=e.o.get(t)}else if(f!==void 0){r[t]=f}}}))};var m=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var g=r("r",(function(r,e){if(!e)return;r.__stencil__getHostRef=function(){return e};e.u=r;if(e.t.l&512&&(i.state||i.prop)){p(r,e)}}));var y=function(r,e){var n={l:0,$hostElement$:r,t:e,o:new Map,v:new Map};if(i.isDev){n.p=0}if(i.method&&i.lazyLoad){n.m=new Promise((function(r){return n._=r}))}if(i.asyncLoading){n.$=new Promise((function(r){return n.S=r}));r["s-p"]=[];r["s-rc"]=[]}if(i.lazyLoad){n.j=[]}var t=n;r.__stencil__getHostRef=function(){return t};if(!i.lazyLoad&&e.l&512&&(i.state||i.prop)){p(r,n)}return t};var b=function(r,e){return e in r};var _;var w=function(r,e){return(_||console.error)(r,e)};var $=i.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var S=function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return console.error.apply(console,__spreadArray(__spreadArray([],$,false),r,false))};var j=function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return console.warn.apply(console,__spreadArray(__spreadArray([],$,false),r,false))};var O=r("c",(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return console.info.apply(console,__spreadArray(__spreadArray([],$,false),r,false))}));var x=function(r){return _=r};var C=new Map;var A=function(r,n,t){var a=r.O.replace(/-/g,"_");var f=r.C;if(i.isDev&&typeof f!=="string"){S("Trying to lazily load component <".concat(r.O,'> with style mode "').concat(n.A,'", but it does not exist.'));return void 0}else if(!f){return void 0}var o=!i.hotModuleReplacement?C.get(f):false;if(o){return o[a]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(f,".entry.js").concat(i.hotModuleReplacement&&t?"?s-hmr="+t:"")).then((function(r){if(!i.hotModuleReplacement){C.set(f,r)}return r[a]}),(function(r){w(r,n.$hostElement$)}))};var E=new Map;var k=[];var T=function(r){};var N=function(){return false};var R="r";var L="o";var M="s";var D="t";var I="c";var H="s-id";var P="sty-id";var F="c-id";var U="{visibility:hidden}.hydrated{visibility:inherit}";var z="_stencilDocData";var B={hostIds:0,rootLevelIds:0,staticComponents:new Set};var W="slot-fb{display:contents}slot-fb[hidden]{display:none}";var V="http://www.w3.org/1999/xlink";var Y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var J=r("w",typeof window!=="undefined"?window:{});var X=r("H",J.HTMLElement||function(){function r(){}return r}());var q={l:0,k:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var K=function(r){Object.assign(q,r)};var Q=i.shadowDom;var G=function(){var r;var e=false;try{(r=J.document)==null?void 0:r.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(r){}return e}();var Z=r("p",(function(r){return Promise.resolve(r)}));var rr=i.constructableCSS?function(){try{if(!J.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}():false;var er=rr?function(){return!!J.document&&Object.getOwnPropertyDescriptor(J.document.adoptedStyleSheets,"length").writable}():false;var nr=0;var tr=false;var ir=[];var ar=[];var fr=[];var or=function(r,e){return function(n){r.push(n);if(!tr){tr=true;if(e&&q.l&4){vr(lr)}else{q.raf(lr)}}}};var ur=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){w(r)}}r.length=0};var sr=function(r,e){var n=0;var t=0;while(n<r.length&&(t=performance.now())<e){try{r[n++](t)}catch(r){w(r)}}if(n===r.length){r.length=0}else if(n!==0){r.splice(0,n)}};var lr=function(){if(i.asyncQueue){nr++}ur(ir);if(i.asyncQueue){var r=(q.l&6)===2?performance.now()+14*Math.ceil(nr*(1/10)):Infinity;sr(ar,r);sr(fr,r);if(ar.length>0){fr.push.apply(fr,ar);ar.length=0}if(tr=ir.length+ar.length+fr.length>0){q.raf(lr)}else{nr=0}}else{ur(ar);if(tr=ir.length>0){q.raf(lr)}}};var vr=function(r){return Z().then(r)};var cr=or(ir,false);var dr=or(ar,true);var hr=r("e",(function(r){var e=new URL(r,q.k);return e.origin!==J.location.origin?e.href:e.pathname}));var pr=function(r){return q.k=r};function mr(r){return void 0}var gr;function yr(r){var e;var n={mode:"open"};if(i.shadowDelegatesFocus){n.delegatesFocus=!!(r.l&16)}if(i.shadowSlotAssignmentManual){var t=!!(r.l&1024);if(t){n.slotAssignment="manual"}}var a=this.attachShadow(n);if(gr===void 0)gr=(e=mr())!=null?e:null;if(gr){if(er){a.adoptedStyleSheets.push(gr)}else{a.adoptedStyleSheets=__spreadArray(__spreadArray([],a.adoptedStyleSheets,true),[gr],false)}}}var br=function(r){var e=Kr(r,"childNodes");if(r.tagName&&r.tagName.includes("-")&&r["s-cr"]&&r.tagName!=="SLOT-FB"){wr(e,r.tagName).forEach((function(r){if(r.nodeType===1&&r.tagName==="SLOT-FB"){if($r(r,Or(r),false).length){r.hidden=true}else{r.hidden=false}}}))}var n=0;for(n=0;n<e.length;n++){var t=e[n];if(t.nodeType===1&&Kr(t,"childNodes").length){br(t)}}};var _r=function(r){var e=[];for(var n=0;n<r.length;n++){var t=r[n]["s-nr"]||void 0;if(t&&t.isConnected){e.push(t)}}return e};function wr(r,e,n){var t=0;var i=[];var a;for(;t<r.length;t++){a=r[t];if(a["s-sr"]&&(!e||a["s-hn"]===e)&&(n===void 0||Or(a)===n)){i.push(a);if(typeof n!=="undefined")return i}i=__spreadArray(__spreadArray([],i,true),wr(a.childNodes,e,n),true)}return i}var $r=function(r,e,n){if(n===void 0){n=true}var t=[];if(n&&r["s-sr"]||!r["s-sr"])t.push(r);var i=r;while(i=i.nextSibling){if(Or(i)===e&&(n||!i["s-sr"]))t.push(i)}return t};var Sr=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var jr=function(r,e,n,t){if(r["s-ol"]&&r["s-ol"].isConnected){return}var a=document.createTextNode("");a["s-nr"]=r;if(!e["s-cr"]||!e["s-cr"].parentNode)return;var f=e["s-cr"].parentNode;var o=n?Kr(f,"prepend"):Kr(f,"appendChild");if(i.hydrateClientSide&&typeof t!=="undefined"){a["s-oo"]=t;var u=Kr(f,"childNodes");var s=[a];u.forEach((function(r){if(r["s-nr"])s.push(r)}));s.sort((function(r,e){if(!r["s-oo"]||r["s-oo"]<(e["s-oo"]||0))return-1;else if(!e["s-oo"]||e["s-oo"]<r["s-oo"])return 1;return 0}));s.forEach((function(r){return o.call(f,r)}))}else{o.call(f,a)}r["s-ol"]=a;r["s-sh"]=e["s-hn"]};var Or=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function xr(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var e=function(e){return function(r){var n=[];var t=this["s-sn"];if(r==null?void 0:r.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 i=this["s-cr"].parentElement;var a=i.__childNodes?i.childNodes:_r(i.childNodes);a.forEach((function(r){if(t===Or(r)){n.push(r)}}));if(e){return n.filter((function(r){return r.nodeType===1}))}return n}.bind(r)};r.assignedElements=e(true);r.assignedNodes=e(false)}function Cr(r){r.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function Ar(r,e){var n;e=e||((n=r["s-ol"])==null?void 0:n.parentElement);if(!e)return{slotNode:null,slotName:""};var t=r["s-sn"]=Or(r)||"";var i=Kr(e,"childNodes");var a=wr(i,e.tagName,t)[0];return{slotNode:a,slotName:t}}var Er=function(r){kr(r);Tr(r);Lr(r);Rr(r);Hr(r);Mr(r);Dr(r);Ir(r);Pr(r);Fr(r);Nr(r)};var kr=function(r){if(r.__cloneNode)return;var e=r.__cloneNode=r.cloneNode;r.cloneNode=function(r){var n=this;var t=i.shadowDom?n.shadowRoot&&Q:false;var a=e.call(n,t?r:false);if(i.slot&&!t&&r){var f=0;var o=void 0,u=void 0;var s=["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 l=this.__childNodes||this.childNodes;for(;f<l.length;f++){o=l[f]["s-nr"];u=s.every((function(r){return!l[f][r]}));if(o){if(i.appendChildSlotFix&&a.__appendChild){a.__appendChild(o.cloneNode(true))}else{a.appendChild(o.cloneNode(true))}}if(u){a.appendChild(l[f].cloneNode(true))}}}return a}};var Tr=function(r){if(r.__appendChild)return;r.__appendChild=r.appendChild;r.appendChild=function(r){var e=Ar(r,this),n=e.slotName,t=e.slotNode;if(t){jr(r,t);var i=$r(t,n);var a=i[i.length-1];var f=Kr(a,"parentNode");var o=Kr(f,"insertBefore")(r,a.nextSibling);Cr(t);br(this);return o}return this.__appendChild(r)}};var Nr=function(r){if(r.__removeChild)return;r.__removeChild=r.removeChild;r.removeChild=function(r){if(r&&typeof r["s-sn"]!=="undefined"){var e=this.__childNodes||this.childNodes;var n=wr(e,this.tagName,r["s-sn"]);if(n&&r.isConnected){r.remove();br(this);return}}return this.__removeChild(r)}};var Rr=function(r){if(r.__prepend)return;r.__prepend=r.prepend;r.prepend=function(){var e=this;var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}n.forEach((function(n){if(typeof n==="string"){n=e.ownerDocument.createTextNode(n)}var t=(n["s-sn"]=Or(n))||"";var i=Kr(e,"childNodes");var a=wr(i,e.tagName,t)[0];if(a){jr(n,a,true);var f=$r(a,t);var o=f[0];var u=Kr(o,"parentNode");var s=Kr(u,"insertBefore")(n,Kr(o,"nextSibling"));Cr(a);return s}if(n.nodeType===1&&!!n.getAttribute("slot")){n.hidden=true}return r.__prepend(n)}))}};var Lr=function(r){if(r.__append)return;r.__append=r.append;r.append=function(){var r=this;var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}e.forEach((function(e){if(typeof e==="string"){e=r.ownerDocument.createTextNode(e)}r.appendChild(e)}))}};var Mr=function(r){if(r.__insertAdjacentHTML)return;var e=r.insertAdjacentHTML;r.insertAdjacentHTML=function(r,n){if(r!=="afterbegin"&&r!=="beforeend"){return e.call(this,r,n)}var t=this.ownerDocument.createElement("_");var i;t.innerHTML=n;if(r==="afterbegin"){while(i=t.firstChild){this.prepend(i)}}else if(r==="beforeend"){while(i=t.firstChild){this.append(i)}}}};var Dr=function(r){r.insertAdjacentText=function(r,e){this.insertAdjacentHTML(r,e)}};var Ir=function(r){if(r.__insertBefore)return;var e=r;if(e.__insertBefore)return;e.__insertBefore=r.insertBefore;r.insertBefore=function(r,e){var n=this;var t=Ar(r,this),i=t.slotName,a=t.slotNode;var f=this.__childNodes?this.childNodes:_r(this.childNodes);if(a){var o=false;f.forEach((function(t){if(t===e||e===null){o=true;if(e===null||i!==e["s-sn"]){n.appendChild(r);return}if(i===e["s-sn"]){jr(r,a);var f=Kr(e,"parentNode");Kr(f,"insertBefore")(r,e);Cr(a)}return}}));if(o)return r}var u=e==null?void 0:e.__parentNode;if(u&&!this.isSameNode(u)){return this.appendChild(r)}return this.__insertBefore(r,e)}};var Hr=function(r){if(r.__insertAdjacentElement)return;var e=r.insertAdjacentElement;r.insertAdjacentElement=function(r,n){if(r!=="afterbegin"&&r!=="beforeend"){return e.call(this,r,n)}if(r==="afterbegin"){this.prepend(n);return n}else if(r==="beforeend"){this.append(n);return n}return n}};var Pr=function(r){qr("textContent",r);Object.defineProperty(r,"textContent",{get:function(){var r="";var e=this.__childNodes?this.childNodes:_r(this.childNodes);e.forEach((function(e){return r+=e.textContent||""}));return r},set:function(r){var e=this.__childNodes?this.childNodes:_r(this.childNodes);e.forEach((function(r){if(r["s-ol"])r["s-ol"].remove();r.remove()}));this.insertAdjacentHTML("beforeend",r)}})};var Fr=function(r){var e=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);qr("children",r);Object.defineProperty(r,"children",{get:function(){return this.childNodes.filter((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return this.children.length}});qr("firstChild",r);Object.defineProperty(r,"firstChild",{get:function(){return this.childNodes[0]}});qr("lastChild",r);Object.defineProperty(r,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]}});qr("childNodes",r);Object.defineProperty(r,"childNodes",{get:function(){var r=new e;r.push.apply(r,_r(this.__childNodes));return r}})};var Ur=function(r){if(!r||r.__nextSibling!==void 0||!globalThis.Node)return;zr(r);Wr(r);Yr(r);if(r.nodeType===Node.ELEMENT_NODE){Br(r);Vr(r)}};var zr=function(r){if(!r||r.__nextSibling)return;qr("nextSibling",r);Object.defineProperty(r,"nextSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.childNodes;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n+1]}return this.__nextSibling}})};var Br=function(r){if(!r||r.__nextElementSibling)return;qr("nextElementSibling",r);Object.defineProperty(r,"nextElementSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.children;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n+1]}return this.__nextElementSibling}})};var Wr=function(r){if(!r||r.__previousSibling)return;qr("previousSibling",r);Object.defineProperty(r,"previousSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.childNodes;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n-1]}return this.__previousSibling}})};var Vr=function(r){if(!r||r.__previousElementSibling)return;qr("previousElementSibling",r);Object.defineProperty(r,"previousElementSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.children;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n-1]}return this.__previousElementSibling}})};var Yr=function(r){if(!r||r.__parentNode)return;qr("parentNode",r);Object.defineProperty(r,"parentNode",{get:function(){var r;return((r=this["s-ol"])==null?void 0:r.parentNode)||this.__parentNode},set:function(r){this.__parentNode=r}})};var Jr=["children","nextElementSibling","previousElementSibling"];var Xr=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function qr(r,e){if(!globalThis.Node||!globalThis.Element){return}var n;if(Jr.includes(r)){n=Object.getOwnPropertyDescriptor(Element.prototype,r)}else if(Xr.includes(r)){n=Object.getOwnPropertyDescriptor(Node.prototype,r)}if(!n){n=Object.getOwnPropertyDescriptor(e,r)}if(n)Object.defineProperty(e,"__"+r,n)}function Kr(r,e){if("__"+e in r){var n=r["__"+e];if(typeof n!=="function")return n;return n.bind(r)}else{if(typeof r[e]!=="function")return r[e];return r[e].bind(r)}}var Qr=0;var Gr=function(r,e){if(e===void 0){e=""}if(i.profile&&performance.mark){var n="st:".concat(r,":").concat(e,":").concat(Qr++);performance.mark(n);return function(){return performance.measure("[Stencil] ".concat(r,"() <").concat(e,">"),n)}}else{return function(){return}}};var Zr=function(r,e){if(i.profile&&performance.mark){if(performance.getEntriesByName(r,"mark").length===0){performance.mark(r)}return function(){if(performance.getEntriesByName(e,"measure").length===0){performance.measure(e,r)}}}else{return function(){return}}};var re=function(r){var e;var n=m(r);if(!n){return void 0}var t=n.l;var i=n.$hostElement$;return e={renderCount:n.p,flags:{hasRendered:!!(t&2),hasConnected:!!(t&1),isWaitingForChildren:!!(t&4),isConstructingInstance:!!(t&8),isQueuedForUpdate:!!(t&16),hasInitializedComponent:!!(t&32),hasLoadedComponent:!!(t&64),isWatchReady:!!(t&128),isListenReady:!!(t&256),needsRerender:!!(t&512)},instanceValues:n.o,serializerValues:n.v,ancestorComponent:n.T,hostElement:i,lazyInstance:n.u,vnode:n.N,modeName:n.A,fetchedCbList:n.j,onReadyPromise:n.$,onReadyResolve:n.S,onInstancePromise:n.m,onInstanceResolve:n._,onRenderResolve:n.R,queuedListeners:n.L,rmListeners:n.M},e["s-id"]=i["s-id"],e["s-cr"]=i["s-cr"],e["s-lr"]=i["s-lr"],e["s-p"]=i["s-p"],e["s-rc"]=i["s-rc"],e["s-sc"]=i["s-sc"],e};var ee=function(){if(i.devTools){var r=J.stencil=J.stencil||{};var e=r.inspect;r.inspect=function(r){var n=re(r);if(!n&&typeof e==="function"){n=e(r)}return n}}};function ne(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var te=new WeakMap;var ie=function(r,e,n){var t=E.get(r);if(rr&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}E.set(r,t)};var ae=function(r,e,n){var t,a,f;var o=oe(e,n);var u=E.get(o);if(!i.attachStyles||!J.document){return o}r=r.nodeType===11?r:J.document;if(u){if(typeof u==="string"){r=r.head||r;var s=te.get(r);var l=void 0;if(!s){te.set(r,s=new Set)}var v=(i.hydrateClientSide||i.hotModuleReplacement)&&r.querySelector("[".concat(P,'="').concat(o,'"]'));if(v){v.textContent=u}else if(!s.has(o)){l=J.document.createElement("style");l.textContent=u;var c=(t=q.D)!=null?t:ne(J.document);if(c!=null){l.setAttribute("nonce",c)}if((i.hydrateServerSide||i.hotModuleReplacement)&&(e.l&2||e.l&128||e.l&1)){l.setAttribute(P,o)}if(!(e.l&1)){if(r.nodeName==="HEAD"){var d=r.querySelectorAll("link[rel=preconnect]");var h=d.length>0?d[d.length-1].nextSibling:r.querySelector("style");r.insertBefore(l,(h==null?void 0:h.parentNode)===r?h:null)}else if("host"in r){if(rr){var p=(a=r.defaultView)!=null?a:r.ownerDocument.defaultView;var m=new p.CSSStyleSheet;m.replaceSync(u);if(er){r.adoptedStyleSheets.unshift(m)}else{r.adoptedStyleSheets=__spreadArray([m],r.adoptedStyleSheets,true)}}else{var g=r.querySelector("style");if(g&&!i.hotModuleReplacement){g.textContent=u+g.textContent}else{r.prepend(l)}}}else{r.append(l)}}if(e.l&1){r.insertBefore(l,null)}if(e.l&4){l.textContent+=W}if(s){s.add(o)}}}else if(i.constructableCSS){var s=te.get(r);if(!s){te.set(r,s=new Set)}if(!s.has(o)){var p=(f=r.defaultView)!=null?f:r.ownerDocument.defaultView;var m=void 0;if(u.constructor===p.CSSStyleSheet){m=u}else{m=new p.CSSStyleSheet;for(var y=0;y<u.cssRules.length;y++){m.insertRule(u.cssRules[y].cssText,y)}}if(er){r.adoptedStyleSheets.push(m)}else{r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[m],false)}s.add(o);if(i.hydrateClientSide&&"host"in r){var b=r.querySelector("[".concat(P,'="').concat(o,'"]'));if(b){dr((function(){return b.remove()}))}}}}}return o};var fe=function(r){var e=r.t;var n=r.$hostElement$;var t=e.l;var a=Gr("attachStyles",e.O);var f=ae(i.shadowDom&&Q&&n.shadowRoot?n.shadowRoot:n.getRootNode(),e,r.A);if((i.shadowDom||i.scoped)&&i.cssAnnotations&&t&10){n["s-sc"]=f;n.classList.add(f+"-h")}a()};var oe=function(r,e){return"sc-"+(i.mode&&e&&r.l&32?r.O+"-"+e:r.O)};var ue=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var se=function(){if(!J.document){return}var r=J.document.querySelectorAll("[".concat(P,"]"));var e=0;for(;e<r.length;e++){ie(r[e].getAttribute(P),ue(r[e].innerHTML),true)}};var le=function(r){return r!=null&&r!==void 0};var ve=function(r){r=typeof r;return r==="object"||r==="function"};var ce=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}if(typeof r==="string"){r=ni(r)}var a=null;var f=null;var o=null;var u=false;var s=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){a=e[n];if(Array.isArray(a)){v(a)}else if(a!=null&&typeof a!=="boolean"){if(u=typeof r!=="function"&&!ve(a)){a=String(a)}else if(i.isDev&&typeof r!=="function"&&a.l===void 0){S("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(u&&s){l[l.length-1].I+=a}else{l.push(u?de(null,a):a)}s=u}}};v(n);if(e){if(i.isDev&&r==="input"){be(e)}if(i.vdomKey&&e.key){f=e.key}if(i.slotRelocation&&e.name){o=e.name}if(i.vdomClass){var c=e.className||e.class;if(c){e.class=typeof c!=="object"?c:Object.keys(c).filter((function(r){return c[r]})).join(" ")}}}if(i.isDev&&l.some(pe)){S("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(i.vdomFunctional&&typeof r==="function"){return r(e===null?{}:e,l,me)}var d=de(r,null);d.P=e;if(l.length>0){d.F=l}if(i.vdomKey){d.U=f}if(i.slotRelocation){d.B=o}return d}));var de=function(r,e){var n={l:0,W:r,I:e!=null?e:null,V:null,F:null};if(i.vdomAttribute){n.P=null}if(i.vdomKey){n.U=null}if(i.slotRelocation){n.B=null}return n};var he=r("d",{});var pe=function(r){return r&&r.W===he};var me={forEach:function(r,e){return r.map(ge).forEach(e)},map:function(r,e){return r.map(ge).map(e).map(ye)}};var ge=function(r){return{vattrs:r.P,vchildren:r.F,vkey:r.U,vname:r.B,vtag:r.W,vtext:r.I}};var ye=function(r){if(typeof r.vtag==="function"){var e=__assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return ce.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=de(r.vtag,r.vtext);n.P=r.vattrs;n.F=r.vchildren;n.U=r.vkey;n.B=r.vname;return n};var be=function(r){var e=Object.keys(r);var n=e.indexOf("value");if(n===-1){return}var t=e.indexOf("type");var i=e.indexOf("min");var a=e.indexOf("max");var f=e.indexOf("step");if(n<t||n<i||n<a||n<f){j('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}};var _e=function(r,e,n,t){var a,f,o,u;var s=Gr("hydrateClient",e);var l=r.shadowRoot;var v=[];var c=[];var d=[];var h=i.shadowDom&&l?[]:null;var p=de(e,null);p.V=r;var g;if(i.scoped){var y=t.t;if(y&&y.l&10&&r["s-sc"]){g=r["s-sc"];r.classList.add(g+"-h")}else if(r["s-sc"]){delete r["s-sc"]}}if(J.document&&(!q.Y||!q.Y.size)){$e(J.document.body,q.Y=new Map)}r[H]=n;r.removeAttribute(H);t.N=we(p,v,c,h,r,r,n,d);var b=0;var _=v.length;var w;for(b;b<_;b++){w=v[b];var $=w.J+"."+w.X;var S=q.Y.get($);var j=w.V;if(!l){j["s-hn"]=ni(e).toUpperCase();if(w.W==="slot"){j["s-cr"]=r["s-cr"]}}else if(((a=w.W)==null?void 0:a.toString().includes("-"))&&w.W!=="slot-fb"&&!w.V.shadowRoot){var y=m(w.V);if(y){var O=oe(y.t,i.mode?w.V.getAttribute("s-mode"):void 0);var x=J.document.querySelector('style[sty-id="'.concat(O,'"]'));if(x){h.unshift(x.cloneNode(true))}}}if(w.W==="slot"){w.B=w.V["s-sn"]||w.V["name"]||null;if(w.F){w.l|=2;if(!w.V.childNodes.length){w.F.forEach((function(r){w.V.appendChild(r.V)}))}}else{w.l|=1}}if(S&&S.isConnected){if(S.parentElement.shadowRoot&&S["s-en"]===""){S.parentNode.insertBefore(j,S.nextSibling)}S.parentNode.removeChild(S);if(!l){j["s-oo"]=parseInt(w.X)}}if(S&&!S["s-id"]){q.Y.delete($)}}var C=[];var A=d.length;var E=0;var k;var T;var N;var R;var L=0;for(E;E<A;E++){k=d[E];if(!k||!k.length)continue;N=k.length;T=0;for(T;T<N;T++){R=k[T];if(!C[R.hostId]){C[R.hostId]=q.Y.get(R.hostId)}if(!C[R.hostId])continue;var M=C[R.hostId];if(M.shadowRoot&&R.node.parentElement!==M){M.insertBefore(R.node,(o=(f=k[T-1])==null?void 0:f.node)==null?void 0:o.nextSibling)}if(!M.shadowRoot||!l){if(!R.slot["s-cr"]){R.slot["s-cr"]=M["s-cr"];if(!R.slot["s-cr"]&&M.shadowRoot){R.slot["s-cr"]=M}else{R.slot["s-cr"]=(M.__childNodes||M.childNodes)[0]}}jr(R.node,R.slot,false,R.node["s-oo"]||L);if(((u=R.node.parentElement)==null?void 0:u.shadowRoot)&&R.node["getAttribute"]&&R.node.getAttribute("slot")){R.node.removeAttribute("slot")}if(i.experimentalSlotFixes){Ur(R.node)}}L=(R.node["s-oo"]||L)+1}}if(i.scoped&&g&&c.length){c.forEach((function(r){r.V.parentElement.classList.add(g+"-s")}))}if(i.shadowDom&&l&&!l.childNodes.length){var D=0;var I=h.length;if(I){for(D;D<I;D++){var j=h[D];if(j){l.appendChild(j)}}Array.from(r.childNodes).forEach((function(r){if(typeof r["s-en"]!=="string"&&typeof r["s-sn"]!=="string"){if(r.nodeType===1&&r.slot&&r.hidden){r.removeAttribute("hidden")}else if(r.nodeType===8&&!r.nodeValue){r.parentNode.removeChild(r)}}}))}}t.$hostElement$=r;s()};var we=function(r,e,n,t,a,f,o,u){if(u===void 0){u=[]}var s;var l;var v;var c;var d=a["s-sc"];if(f.nodeType===1){s=f.getAttribute(F);if(s){l=s.split(".");if(l[0]===o||l[0]==="0"){v=Se({l:0,J:l[0],X:l[1],q:l[2],K:l[3],W:f.tagName.toLowerCase(),V:f,P:{class:f.className||""}});e.push(v);f.removeAttribute(F);if(!r.F){r.F=[]}if(i.scoped&&d&&l[0]===o){f["s-si"]=d;v.P.class+=" "+d}var h=v.V.getAttribute("s-sn");if(typeof h==="string"){if(v.W==="slot-fb"){je(h,l[2],v,f,r,e,n,t,u);if(i.scoped&&d){f.classList.add(d)}}v.V["s-sn"]=h;v.V.removeAttribute("s-sn")}if(v.K!==void 0){r.F[v.K]=v}r=v;if(t&&v.q==="0"){t[v.K]=v.V}}}if(f.shadowRoot){for(c=f.shadowRoot.childNodes.length-1;c>=0;c--){we(r,e,n,t,a,f.shadowRoot.childNodes[c],o,u)}}var p=f.__childNodes||f.childNodes;for(c=p.length-1;c>=0;c--){we(r,e,n,t,a,p[c],o,u)}}else if(f.nodeType===8){l=f.nodeValue.split(".");if(l[1]===o||l[1]==="0"){s=l[0];v=Se({J:l[1],X:l[2],q:l[3],K:l[4]||"0",V:f,P:null,F:null,U:null,B:null,W:null,I:null});if(s===D){v.V=xe(f,3);if(v.V&&v.V.nodeType===3){v.I=v.V.textContent;e.push(v);f.remove();if(o===v.J){if(!r.F){r.F=[]}r.F[v.K]=v}if(t&&v.q==="0"){t[v.K]=v.V}}}else if(s===I){v.V=xe(f,8);if(v.V&&v.V.nodeType===8){e.push(v);f.remove()}}else if(v.J===o){if(s===M){var h=f["s-sn"]=l[5]||"";je(h,l[2],v,f,r,e,n,t,u)}else if(s===R){if(i.shadowDom&&t){f.remove()}else if(i.slotRelocation){a["s-cr"]=f;f["s-cn"]=true}}}}}else if(r&&r.W==="style"){var m=de(null,f.textContent);m.V=f;m.K="0";r.F=[m]}return r};var $e=function(r,e){if(r.nodeType===1){var n=r[H]||r.getAttribute(H);if(n){e.set(n,r)}var t=0;if(r.shadowRoot){for(;t<r.shadowRoot.childNodes.length;t++){$e(r.shadowRoot.childNodes[t],e)}}var i=r.__childNodes||r.childNodes;for(t=0;t<i.length;t++){$e(i[t],e)}}else if(r.nodeType===8){var a=r.nodeValue.split(".");if(a[0]===L){e.set(a[1]+"."+a[2],r);r.nodeValue="";r["s-en"]=a[3]}}};var Se=function(r){var e={l:0,J:null,X:null,q:null,K:"0",V:null,P:null,F:null,U:null,B:null,W:null,I:null};return __assign(__assign({},e),r)};function je(r,e,n,t,a,f,o,u,s){t["s-sr"]=true;n.B=r||null;n.W="slot";var l=(a==null?void 0:a.V)?a.V["s-id"]||a.V.getAttribute("s-id"):"";if(i.shadowDom&&u&&J.document){var v=n.V=J.document.createElement(n.W);if(n.B){n.V.setAttribute("name",r)}if(a.V.shadowRoot&&l&&l!==n.J){Kr(a.V,"insertBefore")(v,Kr(a.V,"children")[0])}else{Kr(Kr(t,"parentNode"),"insertBefore")(v,t)}Oe(s,e,r,t,n.J);t.remove();if(n.q==="0"){u[n.K]=n.V}}else{var v=n.V;var c=l&&l!==n.J&&a.V.shadowRoot;Oe(s,e,r,t,c?l:n.J);xr(t);if(c){a.V.insertBefore(v,a.V.children[0])}}f.push(n);o.push(n);if(!a.F){a.F=[]}a.F[n.K]=n}var Oe=function(r,e,n,t,i){var a,f;var o=t.nextSibling;r[e]=r[e]||[];if(!o||((a=o.nodeValue)==null?void 0:a.startsWith(M+".")))return;do{if(o&&((o["getAttribute"]&&o.getAttribute("slot")||o["s-sn"])===n||n===""&&!o["s-sn"]&&(!o["getAttribute"]||!o.getAttribute("slot"))&&(o.nodeType===8||o.nodeType===3))){o["s-sn"]=n;r[e].push({slot:t,node:o,hostId:i})}o=o==null?void 0:o.nextSibling}while(o&&!((f=o.nodeValue)==null?void 0:f.startsWith(M+".")))};var xe=function(r,e){var n=r;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n};var Ce=function(r){return r.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 Ae=function(r){var e=[];var n=0;r=r.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,(function(r,t){var i="__part-".concat(n,"__");e.push(t);n++;return i}));r=r.replace(/(\[[^\]]*\])/g,(function(r,t){var i="__ph-".concat(n,"__");e.push(t);n++;return i}));var t=r.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(r,t,i){var a="__ph-".concat(n,"__");e.push(i);n++;return t+a}));var i={content:t,placeholders:e};return i};var Ee=function(r,e){e=e.replace(/__part-(\d+)__/g,(function(e,n){return r[+n]}));return e.replace(/__ph-(\d+)__/g,(function(e,n){return r[+n]}))};var ke="-shadowcsshost";var Te="-shadowcssslotted";var Ne="-shadowcsscontext";var Re=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";var Le=new RegExp("("+ke+Re,"gim");var Me=new RegExp("("+Ne+Re,"gim");var De=new RegExp("("+Te+Re,"gim");var Ie=ke+"-no-combinator";var He=/-shadowcsshost-no-combinator([^\s]*)/;var Pe=[/::shadow/g,/::content/g];var Fe=/__part-(\d+)__/g;var Ue="([>\\s~+[.,{:][\\s\\S]*)?$";var ze=/-shadowcsshost/gim;var Be=function(r){var e=Ce(r);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(e,"))(").concat(e,"\\b)"),"g")};var We=/\/\*\s*[\s\S]*?\*\//g;var Ve=function(r){return r.replace(We,"")};var Ye=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var Je=function(r){return r.match(Ye)||[]};var Xe=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;var qe=/([{}])/g;var Ke=/(^.*?[^\\])??((:+)(.*)|$)/;var Qe="{";var Ge="}";var Ze="%BLOCK%";var rn=function(r,e){var n=en(r);var t=0;return n.escapedString.replace(Xe,(function(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}var a=r[2];var f="";var o=r[4];var u="";if(o&&o.startsWith("{"+Ze)){f=n.blocks[t++];o=o.substring(Ze.length+1);u="{"}var s={selector:a,content:f};var l=e(s);return"".concat(r[1]).concat(l.selector).concat(r[3]).concat(u).concat(l.content).concat(o)}))};var en=function(r){var e=r.split(qe);var n=[];var t=[];var i=0;var a=[];for(var f=0;f<e.length;f++){var o=e[f];if(o===Ge){i--}if(i>0){a.push(o)}else{if(a.length>0){t.push(a.join(""));n.push(Ze);a=[]}n.push(o)}if(o===Qe){i++}}if(a.length>0){t.push(a.join(""));n.push(Ze)}var u={escapedString:n.join(""),blocks:t};return u};var nn=function(r){var e=[];r=r.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,(function(r,n){var t="__supports_".concat(e.length,"__");e.push(n);return"@supports selector(".concat(t,")")}));var n=Be("::slotted");var t=Be(":host");var i=Be(":host-context");r=r.replace(i,"$1".concat(Ne)).replace(t,"$1".concat(ke)).replace(n,"$1".concat(Te));e.forEach((function(e,n){r=r.replace("__supports_".concat(n,"__"),e)}));return r};var tn=function(r,e,n){return r.replace(e,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}if(r[2]){var t=r[2].split(",");var i=[];for(var a=0;a<t.length;a++){var f=t[a].trim();if(!f)break;i.push(n(Ie,f,r[3]))}return i.join(",")}else{return Ie+r[3]}}))};var an=function(r,e,n){return r+e.replace(ke,"")+n};var fn=function(r){return tn(r,Le,an)};var on=function(r,e,n){if(e.indexOf(ke)>-1){return an(r,e,n)}else{return r+e+n+", "+e+" "+r+n}};var un=function(r,e){var n="."+e+" > ";var t=[];r=r.replace(De,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}if(r[2]){var i=r[2].trim();var a=r[3];var f=n+i+a;var o="";for(var u=r[4]-1;u>=0;u--){var s=r[5][u];if(s==="}"||s===","){break}o=s+o}var l=(o+f).trim();var v="".concat(o.trimEnd()).concat(f.trim()).trim();if(l!==v){var c="".concat(v,", ").concat(l);t.push({orgSelector:l,updatedSelector:c})}return f}else{return Ie+r[3]}}));return{selectors:t,cssText:r}};var sn=function(r){return tn(r,Me,on)};var ln=function(r){return Pe.reduce((function(r,e){return r.replace(e," ")}),r)};var vn=function(r){var e=/\[/g;var n=/\]/g;r=r.replace(e,"\\[").replace(n,"\\]");return new RegExp("^("+r+")"+Ue,"m")};var cn=function(r,e){var n=vn(e);return!n.test(r)};var dn=function(r,e){return r.replace(Ke,(function(r,n,t,i,a){if(n===void 0){n=""}if(i===void 0){i=""}if(a===void 0){a=""}return n+e+i+a}))};var hn=function(r,e,n){ze.lastIndex=0;if(ze.test(r)){var t=".".concat(n);return r.replace(He,(function(r,e){return dn(e,t)})).replace(ze,t+" ")}return e+" "+r};var pn=function(r,e,n){var t=/\[is=([^\]]*)\]/g;e=e.replace(t,(function(r){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return e[0]}));var i="."+e;var a=function(r){var t=r.trim();if(!t){return""}if(r.indexOf(Ie)>-1){t=hn(r,e,n)}else{var a=r.replace(ze,"");if(a.length>0){t=dn(a,i)}}return t};var f=Ae(r);r=f.content;var o="";var u=0;var s;var l=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;var v=r.indexOf(Ie)>-1;var c=!v;while((s=l.exec(r))!==null){var d=s[1];var h=r.slice(u,s.index).trim();c=c||h.indexOf(Ie)>-1;var p=c?a(h):h;o+="".concat(p," ").concat(d," ");u=l.lastIndex}var m=r.substring(u);c=!m.match(Fe)&&(c||m.indexOf(Ie)>-1);o+=c?a(m):m;return Ee(f.placeholders,o)};var mn=function(r,e,n,t){return r.split(",").map((function(r){if(t&&r.indexOf("."+t)>-1){return r.trim()}if(cn(r,e)){return pn(r,e,n).trim()}else{return r.trim()}})).join(", ")};var gn=function(r,e,n,t,i){return rn(r,(function(r){var i=r.selector;var a=r.content;if(r.selector[0]!=="@"){i=mn(r.selector,e,n,t)}else if(r.selector.startsWith("@media")||r.selector.startsWith("@supports")||r.selector.startsWith("@page")||r.selector.startsWith("@document")){a=gn(r.content,e,n,t)}var f={selector:i.replace(/\s{2,}/g," ").trim(),content:a};return f}))};var yn=function(r,e,n,t,i){r=nn(r);r=fn(r);r=sn(r);var a=un(r,t);r=a.cssText;r=ln(r);if(e){r=gn(r,e,n,t)}r=bn(r,n);r=r.replace(/>\s*\*\s+([^{, ]+)/gm," $1 ");return{cssText:r.trim(),slottedSelectors:a.selectors.map((function(r){return{orgSelector:bn(r.orgSelector,n),updatedSelector:bn(r.updatedSelector,n)}}))}};var bn=function(r,e){return r.replace(/-shadowcsshost-no-combinator/g,".".concat(e))};var _n=function(r){var e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return rn(r,(function(r){if(r.selector[0]==="@"){return r}var n=r.selector.split(",").map((function(n){var t=[n.trim()];var i;while((i=e.exec(n))!==null){var a=i[1].trimEnd();var f=i[2].trim().split(/\s+/);var o=i[3]||"";var u=f.flatMap((function(e){if(!r.selector.includes('[part~="'.concat(e,'"]'))){return['[part~="'.concat(e,'"]')]}return[]})).join("");var s="".concat(a," ").concat(u).concat(o);if(!!u&&s!==n.trim()){t.push(s)}}return t.join(", ")}));r.selector=n.join(", ");return r}))};var wn=function(r,e,n){var t=e+"-h";var i=e+"-s";var a=Je(r);r=Ve(r);var f=[];{var o=function(r){var e="/*!@___".concat(f.length,"___*/");var n="/*!@".concat(r.selector,"*/");f.push({placeholder:e,comment:n});r.selector=e+r.selector;return r};r=rn(r,(function(r){if(r.selector[0]!=="@"){return o(r)}else if(r.selector.startsWith("@media")||r.selector.startsWith("@supports")||r.selector.startsWith("@page")||r.selector.startsWith("@document")){r.content=rn(r.content,o);return r}return r}))}var u=yn(r,e,t,i);r=__spreadArray([u.cssText],a,true).join("\n");{f.forEach((function(e){var n=e.placeholder,t=e.comment;r=r.replace(n,t)}))}u.slottedSelectors.forEach((function(e){var n=new RegExp(Ce(e.orgSelector)+"(?=\\s*[,{]|$)","g");r=r.replace(n,e.updatedSelector)}));r=_n(r);return r};var $n=function(r){return k.map((function(e){return e(r)})).find((function(r){return!!r}))};var Sn=function(r){return k.push(r)};var jn=function(r){var e;return(e=m(r))==null?void 0:e.A};var On=function(r){if(!r)return void 0;var e=Object.keys(r);if(e.length===0)return void 0;var n=false;for(var t=0,i=e;t<i.length;t++){var a=i[t];if(n)break;for(var f=0,o=r[a];f<o.length;f++){var u=o[f];if(typeof u==="string"){n=true;break}}}if(!n)return r;var s={};for(var l=0,v=e;l<v.length;l++){var a=v[l];s[a]=r[a].map((function(r){var e;return typeof r==="string"?(e={},e[r]=0,e):r}))}return s};var xn=function(){function r(){}r.fromLocalValue=function(e){var n=e[v];var t=c in e?e[c]:void 0;switch(n){case"string":return t;case"boolean":return t;case"bigint":return BigInt(t);case"undefined":return void 0;case"null":return null;case"number":if(t==="NaN")return NaN;if(t==="-0")return-0;if(t==="Infinity")return Infinity;if(t==="-Infinity")return-Infinity;return t;case"array":return t.map((function(e){return r.fromLocalValue(e)}));case"date":return new Date(t);case"map":var i=new Map;for(var a=0,f=t;a<f.length;a++){var o=f[a],u=o[0],s=o[1];var l=typeof u==="object"&&u!==null?r.fromLocalValue(u):u;var d=r.fromLocalValue(s);i.set(l,d)}return i;case"object":var h={};for(var p=0,m=t;p<m.length;p++){var g=m[p],u=g[0],s=g[1];h[u]=r.fromLocalValue(s)}return h;case"regexp":var y=t.pattern,b=t.flags;return new RegExp(y,b);case"set":var _=new Set;for(var w=0,$=t;w<$.length;w++){var S=$[w];_.add(r.fromLocalValue(S))}return _;case"symbol":return Symbol(t);default:throw new Error("Unsupported type: ".concat(n))}};r.fromLocalValueArray=function(e){return e.map((function(e){return r.fromLocalValue(e)}))};r.isLocalValueObject=function(r){if(typeof r!=="object"||r===null){return false}if(!r.hasOwnProperty(v)){return false}var e=r[v];var n=Object.values(__assign(__assign({},s),l)).includes(e);if(!n){return false}if(e!=="null"&&e!=="undefined"){return r.hasOwnProperty(c)}return true};return r}();function Cn(r){var e=atob(r);var n=new Uint8Array(e.length);for(var t=0;t<e.length;t++){n[t]=e.charCodeAt(t)}return(new TextDecoder).decode(n)}function An(r){if(typeof r!=="string"||!r.startsWith(d)){return r}return xn.fromLocalValue(JSON.parse(Cn(r.slice(d.length))))}var En=function(r,e,n){if((i.hydrateClientSide||i.hydrateServerSide)&&typeof r==="string"&&r.startsWith(d)){r=An(r);return r}if(r!=null&&!ve(r)){if(i.propBoolean&&e&4){if(i.formAssociated&&n&&typeof r==="string"){return r===""||!!r}else{return r==="false"?false:r===""||!!r}}if(i.propNumber&&e&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(i.propString&&e&1){return String(r)}return r}return r};var kn=r("g",(function(r){var e;return i.lazyLoad?(e=m(r))==null?void 0:e.$hostElement$:r}));var Tn=r("a",(function(r,e,n){var t=kn(r);return{emit:function(r){if(i.isDev&&!t.isConnected){j('The "'.concat(e,'" event was emitted, but the dispatcher node is no longer connected to the dom.'))}return Nn(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var Nn=function(r,e,n){var t=q.ce(e,n);r.dispatchEvent(t);return t};var Rn=function(r,e,n,t,a,f,o){if(n===t){return}var u=b(r,e);var s=e.toLowerCase();if(i.vdomClass&&e==="class"){var l=r.classList;var v=Mn(n);var c=Mn(t);if(i.hydrateClientSide&&(r["s-si"]||r["s-sc"])&&o){var d=r["s-sc"]||r["s-si"];c.push(d);v.forEach((function(r){if(r.startsWith(d))c.push(r)}));c=__spreadArray([],new Set(c),true).filter((function(r){return r}));l.add.apply(l,c)}else{l.remove.apply(l,v.filter((function(r){return r&&!c.includes(r)})));l.add.apply(l,c.filter((function(r){return r&&!v.includes(r)})))}}else if(i.vdomStyle&&e==="style"){if(i.updatable){for(var h in n){if(!t||t[h]==null){if(!i.hydrateServerSide&&h.includes("-")){r.style.removeProperty(h)}else{r.style[h]=""}}}}for(var h in t){if(!n||t[h]!==n[h]){if(!i.hydrateServerSide&&h.includes("-")){r.style.setProperty(h,t[h])}else{r.style[h]=t[h]}}}}else if(i.vdomKey&&e==="key");else if(i.vdomRef&&e==="ref"){if(t){ot(t,r)}}else if(i.vdomListener&&(i.lazyLoad?!u:!r.__lookupSetter__(e))&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(b(J,s)){e=s.slice(2)}else{e=s[2]+e.slice(3)}if(n||t){var p=e.endsWith(Dn);e=e.replace(In,"");if(n){q.rel(r,e,n,p)}if(t){q.ael(r,e,t,p)}}}else if(i.vdomPropOrAttr&&e[0]==="a"&&e.startsWith("attr:")){var g=e.slice(5);var y=void 0;if(i.member){var _=m(r);if(_&&_.t&&_.t.i){var w=_.t.i[g];if(w&&w[1]){y=w[1]}}}if(!y){y=g.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(t==null||t===false){if(t!==false||r.getAttribute(y)===""){r.removeAttribute(y)}}else{r.setAttribute(y,t===true?"":t)}return}else if(i.vdomPropOrAttr&&e[0]==="p"&&e.startsWith("prop:")){var g=e.slice(5);try{r[g]=t}catch(r){}return}else if(i.vdomPropOrAttr){var $=ve(t);if((u||$&&t!==null)&&!a){try{if(!r.tagName.includes("-")){var S=t==null?"":t;if(e==="list"){u=false}else if(n==null||r[e]!==S){if(typeof r.__lookupSetter__(e)==="function"){r[e]=S}else{r.setAttribute(e,S)}}}else if(r[e]!==t){r[e]=t}}catch(r){}}var j=false;if(i.vdomXlink){if(s!==(s=s.replace(/^xlink\:?/,""))){e=s;j=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(i.vdomXlink&&j){r.removeAttributeNS(V,e)}else{r.removeAttribute(e)}}}else if((!u||f&4||a)&&!$&&r.nodeType===1){t=t===true?"":t;if(i.vdomXlink&&j){r.setAttributeNS(V,e,t)}else{r.setAttribute(e,t)}}}};var Ln=/\s/;var Mn=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(Ln)};var Dn="Capture";var In=new RegExp(Dn+"$");var Hn=function(r,e,n,t){var a=e.V.nodeType===11&&e.V.host?e.V.host:e.V;var f=r&&r.P||{};var o=e.P||{};if(i.updatable){for(var u=0,s=Pn(Object.keys(f));u<s.length;u++){var l=s[u];if(!(l in o)){Rn(a,l,f[l],void 0,n,e.l,t)}}}for(var v=0,c=Pn(Object.keys(o));v<c.length;v++){var l=c[v];Rn(a,l,f[l],o[l],n,e.l,t)}};function Pn(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var Fn;var Un;var zn;var Bn=false;var Wn=false;var Vn=false;var Yn=false;var Jn=[];var Xn=[];var qn=function(r,e,n){var t;var a=e.F[n];var f=0;var s;var l;var v;if(i.slotRelocation&&!Bn){Vn=true;if(a.W==="slot"){a.l|=a.F?2:1}}if(i.isDev&&a.V){S("The JSX ".concat(a.I!==null?'"'.concat(a.I,'" text'):'"'.concat(a.W,'" 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(i.vdomText&&a.I!=null){s=a.V=J.document.createTextNode(a.I)}else if(i.slotRelocation&&a.l&1){s=a.V=i.isDebug||i.hydrateServerSide?ct(a):J.document.createTextNode("");if(i.vdomAttribute){Hn(null,a,Yn)}}else{if(i.svg&&!Yn){Yn=a.W==="svg"}if(!J.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}s=a.V=i.svg?J.document.createElementNS(Yn?o:u,!Bn&&i.slotRelocation&&a.l&2?"slot-fb":a.W):J.document.createElement(!Bn&&i.slotRelocation&&a.l&2?"slot-fb":a.W);if(i.svg&&Yn&&a.W==="foreignObject"){Yn=false}if(i.vdomAttribute){Hn(null,a,Yn)}if((i.scoped||i.hydrateServerSide&&128)&&le(Fn)&&s["s-si"]!==Fn){s.classList.add(s["s-si"]=Fn)}if(a.F){var c=a.W==="template"?s.content:s;for(f=0;f<a.F.length;++f){l=qn(r,a,f);if(l){c.appendChild(l)}}}if(i.svg){if(a.W==="svg"){Yn=false}else if(s.tagName==="foreignObject"){Yn=true}}}s["s-hn"]=zn;if(i.slotRelocation){if(a.l&(2|1)){s["s-sr"]=true;s["s-cr"]=Un;s["s-sn"]=a.B||"";s["s-rf"]=(t=a.P)==null?void 0:t.ref;xr(s);v=r&&r.F&&r.F[n];if(v&&v.W===a.W&&r.V){Kn(r.V)}if(i.scoped||i.hydrateServerSide&&128){lt(Un,s,e.V,r==null?void 0:r.V)}}}return s};var Kn=function(r){q.l|=1;var e=r.closest(zn.toLowerCase());if(e!=null){var n=Array.from(e.__childNodes||e.childNodes).find((function(r){return r["s-cr"]}));var t=Array.from(r.__childNodes||r.childNodes);for(var i=0,a=n?t.reverse():t;i<a.length;i++){var f=a[i];if(f["s-sh"]!=null){st(e,f,n!=null?n:null);f["s-sh"]=void 0;Vn=true}}}q.l&=-2};var Qn=function(r,e){q.l|=1;var n=Array.from(r.__childNodes||r.childNodes);if(r["s-sr"]){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===zn){n.push(t)}}}for(var i=n.length-1;i>=0;i--){var a=n[i];if(a["s-hn"]!==zn&&a["s-ol"]){st(nt(a).parentNode,a,nt(a));a["s-ol"].remove();a["s-ol"]=void 0;a["s-sh"]=void 0;Vn=true}if(e){Qn(a,e)}}q.l&=-2};var Gn=function(r,e,n,t,a,f){var o=i.slotRelocation&&r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(i.shadowDom&&o.shadowRoot&&o.tagName===zn){o=o.shadowRoot}if(n.W==="template"){o=o.content}for(;a<=f;++a){if(t[a]){u=qn(null,n,a);if(u){t[a].V=u;st(o,u,i.slotRelocation?nt(e):e)}}}};var Zn=function(r,e,n){for(var t=e;t<=n;++t){var a=r[t];if(a){var f=a.V;ft(a);if(f){if(i.slotRelocation){Wn=true;if(f["s-ol"]){f["s-ol"].remove()}else{Qn(f,true)}}f.remove()}}}};var rt=function(r,e,n,t,a){if(a===void 0){a=false}var f=0;var o=0;var u=0;var s=0;var l=e.length-1;var v=e[0];var c=e[l];var d=t.length-1;var h=t[0];var p=t[d];var m;var g;var y=n.W==="template"?r.content:r;while(f<=l&&o<=d){if(v==null){v=e[++f]}else if(c==null){c=e[--l]}else if(h==null){h=t[++o]}else if(p==null){p=t[--d]}else if(et(v,h,a)){tt(v,h,a);v=e[++f];h=t[++o]}else if(et(c,p,a)){tt(c,p,a);c=e[--l];p=t[--d]}else if(et(v,p,a)){if(i.slotRelocation&&(v.W==="slot"||p.W==="slot")){Qn(v.V.parentNode,false)}tt(v,p,a);st(y,v.V,c.V.nextSibling);v=e[++f];p=t[--d]}else if(et(c,h,a)){if(i.slotRelocation&&(v.W==="slot"||p.W==="slot")){Qn(c.V.parentNode,false)}tt(c,h,a);st(y,c.V,v.V);c=e[--l];h=t[++o]}else{u=-1;if(i.vdomKey){for(s=f;s<=l;++s){if(e[s]&&e[s].U!==null&&e[s].U===h.U){u=s;break}}}if(i.vdomKey&&u>=0){g=e[u];if(g.W!==h.W){m=qn(e&&e[o],n,u)}else{tt(g,h,a);e[u]=void 0;m=g.V}h=t[++o]}else{m=qn(e&&e[o],n,o);h=t[++o]}if(m){if(i.slotRelocation){st(nt(v.V).parentNode,m,nt(v.V))}else{st(v.V.parentNode,m,v.V)}}}}if(f>l){Gn(r,t[d+1]==null?null:t[d+1].V,n,t,o,d)}else if(i.updatable&&o>d){Zn(e,f,l)}};var et=function(r,e,n){if(n===void 0){n=false}if(r.W===e.W){if(i.slotRelocation&&r.W==="slot"){return r.B===e.B}if(i.vdomKey&&!n){return r.U===e.U}if(n&&!r.U&&e.U){r.U=e.U}return true}return false};var nt=function(r){return r&&r["s-ol"]||r};var tt=function(r,e,n){if(n===void 0){n=false}var t=e.V=r.V;var a=r.F;var f=e.F;var o=e.W;var u=e.I;var s;if(!i.vdomText||u==null){if(i.svg){Yn=o==="svg"?true:o==="foreignObject"?false:Yn}if(i.vdomAttribute||i.reflect){if(i.slot&&o==="slot"&&!Bn){if(r.B!==e.B){e.V["s-sn"]=e.B||"";Kn(e.V.parentElement)}}Hn(r,e,Yn,n)}if(i.updatable&&a!==null&&f!==null){rt(t,a,e,f,n)}else if(f!==null){if(i.updatable&&i.vdomText&&r.I!==null){t.textContent=""}Gn(t,null,e,f,0,f.length-1)}else if(!n&&i.updatable&&a!==null){Zn(a,0,a.length-1)}else if(i.hydrateClientSide&&n&&i.updatable&&a!==null&&f===null){e.F=a}if(i.svg&&Yn&&o==="svg"){Yn=false}}else if(i.vdomText&&i.slotRelocation&&(s=t["s-cr"])){s.parentNode.textContent=u}else if(i.vdomText&&r.I!==u){t.data=u}};var it=[];var at=function(r){var e;var n;var t;var i=r.__childNodes||r.childNodes;for(var a=0,f=i;a<f.length;a++){var o=f[a];if(o["s-sr"]&&(e=o["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;var u=o["s-sn"];var s=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==o["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==o["s-hn"])){if(Sr(e,u)){var r=it.find((function(r){return r.G===e}));Wn=true;e["s-sn"]=e["s-sn"]||u;if(r){r.G["s-sh"]=o["s-hn"];r.Z=o}else{e["s-sh"]=o["s-hn"];it.push({Z:o,G:e})}if(e["s-sr"]){it.map((function(n){if(Sr(n.G,e["s-sn"])){r=it.find((function(r){return r.G===e}));if(r&&!n.Z){n.Z=r.Z}}}))}}else if(!it.some((function(r){return r.G===e}))){it.push({G:e})}}};for(t=n.length-1;t>=0;t--){s()}}if(o.nodeType===1){at(o)}}};var ft=function(r){if(i.vdomRef){if(r.P&&r.P.ref){Jn.push((function(){return r.P.ref(null)}))}r.F&&r.F.map(ft)}};var ot=function(r,e){if(i.vdomRef){Xn.push((function(){return r(e)}))}};var ut=function(){if(i.vdomRef){Jn.forEach((function(r){return r()}));Jn.length=0;Xn.forEach((function(r){return r()}));Xn.length=0}};var st=function(r,e,n,t){if(i.slotRelocation){if(i.scoped&&typeof e["s-sn"]==="string"&&!!e["s-sr"]&&!!e["s-cr"]){lt(e["s-cr"],e,r,e.parentElement)}else if(typeof e["s-sn"]==="string"){if(i.experimentalSlotFixes&&r.getRootNode().nodeType!==11){Yr(e)}r.insertBefore(e,n);var a=Ar(e).slotNode;if(a&&!t)Cr(a);return e}}if(r.__insertBefore){return r.__insertBefore(e,n)}else{return r==null?void 0:r.insertBefore(e,n)}};function lt(r,e,n,t){var i,a;var f;if(r&&typeof e["s-sn"]==="string"&&!!e["s-sr"]&&r.parentNode&&r.parentNode["s-sc"]&&(f=e["s-si"]||r.parentNode["s-sc"])){var o=e["s-sn"];var u=e["s-hn"];(i=n.classList)==null?void 0:i.add(f+"-s");if(t&&((a=t.classList)==null?void 0:a.contains(f+"-s"))){var s=(t.__childNodes||t.childNodes)[0];var l=false;while(s){if(s["s-sn"]!==o&&s["s-hn"]===u&&!!s["s-sr"]){l=true;break}s=s.nextSibling}if(!l)t.classList.remove(f+"-s")}}}var vt=function(r,e,n){if(n===void 0){n=false}var t,a,f,o,u;var s=r.$hostElement$;var l=r.t;var v=r.N||de(null,null);var c=pe(e);var d=c?e:ce(null,null,e);zn=s.tagName;if(i.isDev&&Array.isArray(e)&&e.some(pe)){throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'.concat(zn.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(i.reflect&&l.rr){d.P=d.P||{};l.rr.forEach((function(e){var n=e[0],t=e[1];if(i.serializer&&r.v.has(n)){d.P[t]=r.v.get(n)}else{d.P[t]=s[n]}}))}if(n&&d.P){for(var h=0,p=Object.keys(d.P);h<p.length;h++){var m=p[h];if(s.hasAttribute(m)&&!["key","ref","style","class"].includes(m)){d.P[m]=s[m]}}}d.W=null;d.l|=4;r.N=d;d.V=v.V=i.shadowDom?s.shadowRoot||s:s;if(i.scoped||i.shadowDom){Fn=s["s-sc"]}Bn=Q&&!!(l.l&1)&&!(l.l&128);if(i.slotRelocation){Un=s["s-cr"];Wn=false}tt(v,d,n);if(i.slotRelocation){q.l|=1;if(Vn){at(d.V);for(var g=0,y=it;g<y.length;g++){var b=y[g];var _=b.G;if(!_["s-ol"]&&J.document){var w=i.isDebug||i.hydrateServerSide?dt(_):J.document.createTextNode("");w["s-nr"]=_;st(_.parentNode,_["s-ol"]=w,_,n)}}for(var $=0,S=it;$<S.length;$++){var b=S[$];var _=b.G;var j=b.Z;if(_.nodeType===1&&n){_["s-ih"]=(t=_.hidden)!=null?t:false}if(j){var O=j.parentNode;var x=j.nextSibling;if(!i.hydrateServerSide&&x&&x.nodeType===1){var w=(a=_["s-ol"])==null?void 0:a.previousSibling;while(w){var C=(f=w["s-nr"])!=null?f:null;if(C&&C["s-sn"]===_["s-sn"]&&O===(C.__parentNode||C.parentNode)){C=C.nextSibling;while(C===_||(C==null?void 0:C["s-sr"])){C=C==null?void 0:C.nextSibling}if(!C||!C["s-nr"]){x=C;break}}w=w.previousSibling}}var A=_.__parentNode||_.parentNode;var E=_.__nextSibling||_.nextSibling;if(!x&&O!==A||E!==x){if(_!==x){st(O,_,x,n);if(_.nodeType===8&&_.nodeValue.startsWith("s-nt-")){var k=J.document.createTextNode(_.nodeValue.replace(/^s-nt-/,""));k["s-hn"]=_["s-hn"];k["s-sn"]=_["s-sn"];k["s-sh"]=_["s-sh"];k["s-sr"]=_["s-sr"];k["s-ol"]=_["s-ol"];k["s-ol"]["s-nr"]=k;st(_.parentNode,k,_,n);_.parentNode.removeChild(_)}if(_.nodeType===1&&_.tagName!=="SLOT-FB"){_.hidden=(o=_["s-ih"])!=null?o:false}}}_&&typeof j["s-rf"]==="function"&&j["s-rf"](j)}else if(_.nodeType===1){_.hidden=true}}}if(Wn){br(d.V)}q.l&=-2;it.length=0}if(i.slotRelocation&&!Bn&&!(l.l&1)&&s["s-cr"]){var T=d.V.__childNodes||d.V.childNodes;for(var N=0,R=T;N<R.length;N++){var L=R[N];if(L["s-hn"]!==zn&&!L["s-sh"]){if(n&&L["s-ih"]==null){L["s-ih"]=(u=L.hidden)!=null?u:false}if(L.nodeType===1){L.hidden=true}else if(L.nodeType===3&&!!L.nodeValue.trim()){var M=J.document.createComment("s-nt-"+L.nodeValue);M["s-sn"]=L["s-sn"];st(L.parentNode,M,L,n);L.parentNode.removeChild(L)}}}}Un=void 0;ut()};var ct=function(r){var e;return(e=J.document)==null?void 0:e.createComment("<slot".concat(r.B?' name="'+r.B+'"':"","> (host=").concat(zn.toLowerCase(),")"))};var dt=function(r){var e;return(e=J.document)==null?void 0:e.createComment("org-location for "+(r.localName?"<".concat(r.localName,"> (host=").concat(r["s-hn"],")"):"[".concat(r.textContent,"]")))};var ht=function(r,e){if(i.asyncLoading&&e&&!r.R&&e["s-p"]){var n=e["s-p"].push(new Promise((function(t){return r.R=function(){e["s-p"].splice(n-1,1);t()}})))}};var pt=function(r,e){if(i.taskQueue&&i.updatable){r.l|=16}if(i.asyncLoading&&r.l&4){r.l|=512;return}ht(r,r.T);var n=function(){return mt(r,e)};if(e){queueMicrotask((function(){n()}));return}return i.taskQueue?dr(n):n()};var mt=function(r,e){var n=r.$hostElement$;var t=Gr("scheduleUpdate",r.t.O);var a=i.lazyLoad?r.u:n;if(!a){throw new Error("Can't render component <".concat(n.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 f;if(e){if(i.lazyLoad){if(i.slotRelocation&&r.er){r.er=false;xt(a,"connectedCallback",void 0,n)}if(i.hostListener){r.l|=256;if(r.L){r.L.map((function(r){var e=r[0],t=r[1];return xt(a,e,t,n)}));r.L=void 0}}if(r.j.length){r.j.forEach((function(r){return r(n)}))}}Ct(n,"componentWillLoad");f=xt(a,"componentWillLoad",void 0,n)}else{Ct(n,"componentWillUpdate");f=xt(a,"componentWillUpdate",void 0,n)}Ct(n,"componentWillRender");f=gt(f,(function(){return xt(a,"componentWillRender",void 0,n)}));t();return gt(f,(function(){return bt(r,a,e)}))};var gt=function(r,e){return yt(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var yt=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var bt=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,a,f,o,u,s,l;return __generator(this,(function(v){switch(v.label){case 0:a=r.$hostElement$;f=Gr("update",r.t.O);o=a["s-rc"];if(i.style&&t){fe(r)}u=Gr("render",r.t.O);if(i.isDev){r.l|=1024}if(!i.hydrateServerSide)return[3,2];return[4,wt(r,e,a,t)];case 1:v.sent();return[3,3];case 2:wt(r,e,a,t);v.label=3;case 3:if(i.isDev){r.p=r.p===void 0?1:r.p+1;r.l&=-1025}if(i.hydrateServerSide){try{Et(a);if(t){if(r.t.l&1){a["s-en"]=""}else if(r.t.l&2){a["s-en"]="c"}}}catch(r){w(r,a)}}if(i.asyncLoading&&o){o.map((function(r){return r()}));a["s-rc"]=void 0}u();f();if(i.asyncLoading){s=(n=a["s-p"])!=null?n:[];l=function(){return St(r)};if(s.length===0){l()}else{Promise.all(s).then(l).catch(l);r.l|=4;s.length=0}}else{St(r)}return[2]}}))}))};var _t=null;var wt=function(r,e,n,t){var a=i.allRenderFn?true:false;var f=i.lazyLoad?true:false;var o=i.taskQueue?true:false;var u=i.updatable?true:false;try{_t=e;e=a?e.render():e.render&&e.render();if(u&&o){r.l&=-17}if(u||f){r.l|=2}if(i.hasRenderFn||i.reflect){if(i.vdomRender||i.reflect){if(i.hydrateServerSide){return Promise.resolve(e).then((function(e){return vt(r,e,t)}))}else{vt(r,e,t)}}else{var s=n.shadowRoot;if(r.t.l&1){s.textContent=e}else{n.textContent=e}}}}catch(e){w(e,r.$hostElement$)}_t=null;return null};var $t=function(){return _t};var St=function(r){var e=r.t.O;var n=r.$hostElement$;var t=Gr("postUpdate",e);var a=i.lazyLoad?r.u:n;var f=r.T;if(i.isDev){r.l|=1024}xt(a,"componentDidRender",void 0,n);if(i.isDev){r.l&=-1025}Ct(n,"componentDidRender");if(!(r.l&64)){r.l|=64;if(i.asyncLoading&&i.cssAnnotations){At(n)}if(i.isDev){r.l|=2048}xt(a,"componentDidLoad",void 0,n);if(i.isDev){r.l&=-2049}Ct(n,"componentDidLoad");t();if(i.asyncLoading){r.S(n);if(!f){Ot(e)}}}else{if(i.isDev){r.l|=1024}xt(a,"componentDidUpdate",void 0,n);if(i.isDev){r.l&=-1025}Ct(n,"componentDidUpdate");t()}if(i.method&&i.lazyLoad){r._(n)}if(i.asyncLoading){if(r.R){r.R();r.R=void 0}if(r.l&512){vr((function(){return pt(r,false)}))}r.l&=-517}};var jt=function(r){var e;if(i.updatable&&(f.isBrowser||f.isTesting)){var n=m(r);var t=(e=n==null?void 0:n.$hostElement$)==null?void 0:e.isConnected;if(t&&(n.l&(2|16))===2){pt(n,false)}return t}return false};var Ot=function(r){var e;if(i.asyncQueue){q.l|=2}vr((function(){return Nn(J,"appload",{detail:{namespace:t}})}));if(i.hydrateClientSide){if((e=q.Y)==null?void 0:e.size){q.Y.clear()}}if(i.profile&&performance.measure){performance.measure("[Stencil] ".concat(t," initial load (by ").concat(r,")"),"st:app:start")}};var xt=function(r,e,n,t){if(r&&r[e]){try{return r[e](n)}catch(r){w(r,t)}}return void 0};var Ct=function(r,e){if(i.lifecycleDOMEvents){Nn(r,"stencil_"+e,{bubbles:true,composed:true,detail:{namespace:t}})}};var At=function(r){var e,n;return i.hydratedClass?r.classList.add((e=i.hydratedSelectorName)!=null?e:"hydrated"):i.hydratedAttribute?r.setAttribute((n=i.hydratedSelectorName)!=null?n:"hydrated",""):void 0};var Et=function(r){var e=r.children;if(e!=null){for(var n=0,t=e.length;n<t;n++){var i=e[n];if(typeof i.connectedCallback==="function"){i.connectedCallback()}Et(i)}}};var kt=function(r,e){return m(r).o.get(e)};var Tt=function(r,e,n,t){var a=m(r);if(!a){return}if(i.lazyLoad&&!a){throw new Error("Couldn't find host element for \"".concat(t.O,'" 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(i.serializer&&a.v.has(e)&&a.v.get(e)===n){return}var f=i.lazyLoad?a.$hostElement$:r;var o=a.o.get(e);var u=a.l;var s=i.lazyLoad?a.u:f;n=En(n,t.i[e][0],i.formAssociated&&!!(t.l&64));var l=Number.isNaN(o)&&Number.isNaN(n);var v=n!==o&&!l;if((!i.lazyLoad||!(u&8)||o===void 0)&&v){a.o.set(e,n);if(i.serializer&&i.reflect&&t.rr){if(t.nr&&t.nr[e]){var c=function(r){var i=n;for(var f=0,o=t.nr[e];f<o.length;f++){var u=o[f];var s=Object.entries(u)[0][0];i=r[s](i,e)}a.v.set(e,i)};if(s){c(s)}else{a.j.push((function(){c(a.u)}))}}}if(i.isDev){if(a.l&1024){j('The state/prop "'.concat(e,'" changed during rendering. This can potentially lead to infinite-loops and other bugs.'),"\nElement",f,"\nNew value",n,"\nOld value",o)}else if(a.l&2048){j('The state/prop "'.concat(e,'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"'),"\nElement",f,"\nNew value",n,"\nOld value",o)}}if(i.propChangeCallback&&t.tr){var d=t.tr[e];if(d){d.map((function(r){try{var t=Object.entries(r)[0],i=t[0],l=t[1];if(u&128||l&1){if(!s){a.j.push((function(){a.u[i](n,o,e)}))}else{s[i](n,o,e)}}}catch(r){w(r,f)}}))}}if(i.updatable&&u&2){if(s.componentShouldUpdate){var h=s.componentShouldUpdate(n,o,e);if(h===false&&!(u&16)){return}}if(!(u&16)){pt(a,false)}}}};var Nt=function(r,e,n){var t,a;var f=r.prototype;if(i.isTesting){if(f.__stencilAugmented){return}f.__stencilAugmented=true}if(i.formAssociated&&e.l&64&&n&1){Y.forEach((function(r){var e=f[r];Object.defineProperty(f,r,{value:function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}var a;var f=m(this);var o=i.lazyLoad?f==null?void 0:f.u:this;if(!o){(a=f==null?void 0:f.$)==null?void 0:a.then((function(e){var t=e[r];typeof t==="function"&&t.call.apply(t,__spreadArray([e],n,false))}))}else{var u=i.lazyLoad?o[r]:e;typeof u==="function"&&u.call.apply(u,__spreadArray([o],n,false))}}})}))}if(i.member&&e.i||i.propChangeCallback){if(i.propChangeCallback){if(r.watchers&&!e.tr){e.tr=On(r.watchers)}if(r.deserializers&&!e.ir){e.ir=r.deserializers}if(r.serializers&&!e.nr){e.nr=r.serializers}}var o=Object.entries((t=e.i)!=null?t:{});o.map((function(r){var t=r[0],a=r[1][0];if((i.prop||i.state)&&(a&31||(!i.lazyLoad||n&2)&&a&32)){var o=h(f,t)||{},u=o.get,s=o.set;if(u)e.i[t][0]|=2048;if(s)e.i[t][0]|=4096;if(n&1||!u){Object.defineProperty(f,t,{get:function(){if(i.lazyLoad){if((e.i[t][0]&2048)===0){return kt(this,t)}var r=m(this);var n=r?r.u:f;if(!n)return;return n[t]}if(!i.lazyLoad){return u?u.apply(this):kt(this,t)}},configurable:true,enumerable:true})}Object.defineProperty(f,t,{set:function(r){var f=this;var o=m(this);if(!o){return}if(i.isDev){if((n&1)===0&&(e.i[t][0]&4096)===0&&(o&&o.l&8)===0&&(a&31)!==0&&(a&1024)===0){j('@Prop() "'.concat(t,'" on <').concat(e.O,"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability"))}}if(s){var u=a&32?this[t]:o.$hostElement$[t];if(typeof u==="undefined"&&o.o.get(t)){r=o.o.get(t)}s.apply(this,[En(r,a,i.formAssociated&&!!(e.l&64))]);r=a&32?this[t]:o.$hostElement$[t];Tt(this,t,r,e);return}if(!i.lazyLoad){Tt(this,t,r,e);return}if(i.lazyLoad){if((n&1)===0||(e.i[t][0]&4096)===0){Tt(this,t,r,e);if(n&1&&!o.u){o.j.push((function(){if(e.i[t][0]&4096&&o.u[t]!==o.o.get(t)){o.u[t]=r}}))}return}var l=function(){var n=o.u[t];if(!o.o.get(t)&&n){o.o.set(t,n)}o.u[t]=En(r,a,i.formAssociated&&!!(e.l&64));Tt(f,t,o.u[t],e)};if(o.u){l()}else{o.j.push((function(){l()}))}}}})}else if(i.lazyLoad&&i.method&&n&1&&a&64){Object.defineProperty(f,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=m(this);return(n=i==null?void 0:i.m)==null?void 0:n.then((function(){var e;return(e=i.u)==null?void 0:e[t].apply(e,r)}))}})}}));if(i.observeAttribute&&(!i.lazyLoad||n&1)){var u=new Map;f.attributeChangedCallback=function(r,n,t){var a=this;q.jmp((function(){var s;var l=u.get(r);var v=m(a);if(i.serializer&&v.v.has(l)&&v.v.get(l)===t){return}if(a.hasOwnProperty(l)&&i.lazyLoad){t=a[l];delete a[l]}if(i.deserializer&&e.ir&&e.ir[l]){var c=function(r,e){var n=e==null?void 0:e[r](t,l);if(n!==a[l]){a[l]=n}};var d=function(r){var e=Object.entries(r)[0][0];if(i.lazyLoad){if(v.u){c(e,v.u)}else{v.j.push((function(){c(e,v.u)}))}}else{c(e,a)}};for(var h=0,p=e.ir[l];h<p.length;h++){var g=p[h];d(g)}return}else if(f.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==t){return}else if(l==null){var y=v==null?void 0:v.l;if(v&&y&&!(y&8)&&t!==n){var b=i.lazyLoad?v.$hostElement$:a;var _=i.lazyLoad?v.u:b;var w=(s=e.tr)==null?void 0:s[r];w==null?void 0:w.forEach((function(e){var i=Object.entries(e)[0],a=i[0],f=i[1];if(_[a]!=null&&(y&128||f&1)){_[a].call(_,t,n,r)}}))}return}var $=o.find((function(r){var e=r[0];return e===l}));var S=$&&$[1][0]&4;var j=S&&t===null&&a[l]===void 0;if(S){t=t===null||t==="false"?false:true}var O=Object.getOwnPropertyDescriptor(f,l);if(!j&&t!=a[l]&&(!O.get||!!O.set)){a[l]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=e.tr)!=null?a:{}),true),o.filter((function(r){var e=r[0],n=r[1];return n[0]&31})).map((function(r){var n=r[0],t=r[1];var a;var f=t[1]||n;u.set(f,n);if(i.reflect&&t[0]&512){(a=e.rr)==null?void 0:a.push([n,f])}return f})),true)))}}return r};var Rt=function(r,e,t,a){return __awaiter(n,void 0,void 0,(function(){var n,f,o,u,s,l,v,c,d,h,p,m,g;return __generator(this,(function(y){switch(y.label){case 0:y.trys.push([0,7,,8]);if(!((e.l&32)===0))return[3,6];e.l|=32;f=t.C;if(!(i.lazyLoad&&f))return[3,4];o=A(t,e,a);if(!(o&&"then"in o))return[3,2];u=Zr("st:load:".concat(t.O,":").concat(e.A),"[Stencil] Load module for <".concat(t.O,">"));return[4,o];case 1:n=y.sent();u();return[3,3];case 2:n=o;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.O,"#").concat(e.A,'" was not found'))}if(i.member&&!n.isProxied){if(i.propChangeCallback){t.tr=On(n.watchers);t.nr=n.serializers;t.ir=n.deserializers}Nt(n,t,2);n.isProxied=true}s=Gr("createInstance",t.O);if(i.member){e.l|=8}try{new n(e)}catch(e){w(e,r)}if(i.member){e.l&=-9}if(i.propChangeCallback){e.l|=128}s();l=i.slotRelocation&&t.l&4;if(!l){Lt(e.u,r)}else{e.er=true}return[3,5];case 4:n=r.constructor;v=r.localName;customElements.whenDefined(v).then((function(){return e.l|=128}));y.label=5;case 5:if(i.style&&n&&n.style){c=void 0;if(typeof n.style==="string"){c=n.style}else if(i.mode&&typeof n.style!=="string"){e.A=$n(r);if(e.A){c=n.style[e.A]}if(i.hydrateServerSide&&e.A){r.setAttribute("s-mode",e.A)}}d=oe(t,e.A);if(!E.has(d)||i.hotModuleReplacement&&a){h=Gr("registerStyles",t.O);if(i.hydrateServerSide&&i.shadowDom){if(t.l&128){c=wn(c,d)}}ie(d,c,!!(t.l&1));h()}}y.label=6;case 6:p=e.T;m=function(){return pt(e,true)};if(i.asyncLoading&&p&&p["s-rc"]){p["s-rc"].push(m)}else{m()}return[3,8];case 7:g=y.sent();w(g,r);if(i.asyncLoading&&e.R){e.R();e.R=void 0}if(i.asyncLoading&&e.S){e.S(r)}return[3,8];case 8:return[2]}}))}))};var Lt=function(r,e){if(i.lazyLoad){xt(r,"connectedCallback",void 0,e)}};var Mt=function(r){if((q.l&1)===0){var e=m(r);if(!e){return}var n=e.t;var t=Gr("connectedCallback",n.O);if(i.hostListenerTargetParent){Vt(r,e,n.ar,true)}if(!(e.l&1)){e.l|=1;var a=void 0;if(i.hydrateClientSide){a=r.getAttribute(H);if(a){if(i.shadowDom&&Q&&n.l&1){var f=i.mode?ae(r.shadowRoot,n,r.getAttribute("s-mode")):ae(r.shadowRoot,n);r.classList.remove(f+"-h",f+"-s")}else if(i.scoped&&n.l&2){var f=oe(n,i.mode?r.getAttribute("s-mode"):void 0);r["s-sc"]=f}_e(r,n.O,a,e)}}if(i.slotRelocation&&!a){if(i.hydrateServerSide||(i.slot||i.shadowDom)&&n.l&(4|8)){Dt(r)}}if(i.asyncLoading){var o=r;while(o=o.parentNode||o.host){if(i.hydrateClientSide&&o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){ht(e,e.T=o);break}}}if(i.prop&&!i.hydrateServerSide&&n.i){Object.entries(n.i).map((function(e){var n=e[0],t=e[1][0];if(t&31&&Object.prototype.hasOwnProperty.call(r,n)){var i=r[n];delete r[n];r[n]=i}}))}if(i.initializeNextTick){vr((function(){return Rt(r,e,n)}))}else{Rt(r,e,n)}}else{Vt(r,e,n.ar,false);if(e==null?void 0:e.u){Lt(e.u,r)}else if(e==null?void 0:e.$){e.$.then((function(){return Lt(e.u,r)}))}}t()}};var Dt=function(r){if(!J.document){return}var e=r["s-cr"]=J.document.createComment(i.isDebug?"content-ref (host=".concat(r.localName,")"):"");e["s-cn"]=true;st(r,e,r.firstChild)};var It=function(r,e){if(i.lazyLoad){xt(r,"disconnectedCallback",void 0,e||r)}};var Ht=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((q.l&1)===0){e=m(r);if(i.hostListener){if(e==null?void 0:e.M){e.M.map((function(r){return r()}));e.M=void 0}}if(!i.lazyLoad){It(r)}else if(e==null?void 0:e.u){It(e.u,r)}else if(e==null?void 0:e.$){e.$.then((function(){return It(e.u,r)}))}}if(te.has(r)){te.delete(r)}if(r.shadowRoot&&te.has(r.shadowRoot)){te.delete(r.shadowRoot)}return[2]}))}))};var Pt=function(r,e){customElements.define(ni(e[1]),Ft(r,e))};var Ft=function(r,e){var n={l:e[0],O:e[1]};try{if(i.member){n.i=e[2]}if(i.hostListener){n.ar=e[3]}if(i.propChangeCallback){n.tr=On(r.tr);n.ir=r.ir;n.nr=r.nr}if(i.reflect){n.rr=[]}if(i.shadowDom&&!Q&&n.l&1){n.l|=8}if(!(n.l&1)&&n.l&256){if(i.experimentalSlotFixes){Er(r.prototype)}else{if(i.slotChildNodesFix){Fr(r.prototype)}if(i.cloneNodeFix){kr(r.prototype)}if(i.appendChildSlotFix){Tr(r.prototype)}if(i.scopedSlotTextContentFix&&n.l&2){Pr(r.prototype)}}}else if(i.cloneNodeFix){kr(r.prototype)}if(i.hydrateClientSide&&i.shadowDom){se()}var t=r.prototype.connectedCallback;var a=r.prototype.disconnectedCallback;Object.assign(r.prototype,{__hasHostListenerAttached:false,__registerHost:function(){y(this,n)},connectedCallback:function(){if(!this.__hasHostListenerAttached){var r=m(this);if(!r){return}Vt(this,r,n.ar,false);this.__hasHostListenerAttached=true}Mt(this);if(t){t.call(this)}},disconnectedCallback:function(){Ht(this);if(a){a.call(this)}},__attachShadow:function(){if(Q){if(!this.shadowRoot){yr.call(this,n)}else{if(this.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.O,"! Mode is set to ").concat(this.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}else{this.shadowRoot=this}}});Object.defineProperty(r,"is",{value:n.O,configurable:true});return Nt(r,n,1|2)}catch(e){w(e);return r}};var Ut=function(r){if(i.style&&i.mode&&!i.lazyLoad){var e=$n(r);var n=m(r);if(n&&n.A!==e){var t=n.t;var a=r["s-sc"];var f=oe(t,e);var o=r.constructor.style[e];var u=t.l;if(o){if(!E.has(f)){ie(f,o,!!(u&1))}n.A=e;r.classList.remove(a+"-h",a+"-s");fe(n);jt(r)}}}};var zt=function(r,e,n){var t=m(r);if(!t){return}t.l=1;Rt(r,t,e,n)};var Bt=r("b",(function(r,e){if(e===void 0){e={}}var n;if(i.profile&&performance.mark){performance.mark("st:app:start")}ee();if(!J.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=Gr("bootstrapLazy");var a=[];var f=e.exclude||[];var o=J.customElements;var u=J.document.head;var s=u.querySelector("meta[charset]");var l=J.document.createElement("style");var v=[];var c;var d=true;Object.assign(q,e);q.k=new URL(e.resourcesUrl||"./",J.document.baseURI).href;if(i.asyncQueue){if(e.syncQueue){q.l|=4}}if(i.hydrateClientSide){q.l|=2}if(i.hydrateClientSide&&i.shadowDom){se()}var h=false;r.map((function(r){r[1].map((function(n){var t,u;var s={l:n[0],O:n[1],i:n[2],ar:n[3]};if(s.l&4){h=true}if(i.member){s.i=n[2]}if(i.hostListener){s.ar=n[3]}if(i.reflect){s.rr=[]}if(i.propChangeCallback){s.tr=On(n[4]);s.nr=(t=n[5])!=null?t:{};s.ir=(u=n[6])!=null?u:{}}if(i.shadowDom&&!Q&&s.l&1){s.l|=8}var l=i.transformTagName&&e.transformTagName?e.transformTagName(s.O):ni(s.O);var p=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;y(e,s);if(i.shadowDom&&s.l&1){if(Q){if(!e.shadowRoot){yr.call(e,s)}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(s.O,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}else if(!i.hydrateServerSide&&!("shadowRoot"in e)){e.shadowRoot=e}}return n}e.prototype.connectedCallback=function(){var r=this;var e=m(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Vt(this,e,s.ar,false)}if(c){clearTimeout(c);c=null}if(d){v.push(this)}else{q.jmp((function(){return Mt(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;q.jmp((function(){return Ht(r)}));q.raf((function(){var e;var n=m(r);if(!n){return}var t=v.findIndex((function(e){return e===r}));if(t>-1){v.splice(t,1)}if(((e=n==null?void 0:n.N)==null?void 0:e.V)instanceof Node&&!n.N.V.isConnected){delete n.N.V}}))};e.prototype.componentOnReady=function(){var r;return(r=m(this))==null?void 0:r.$};return e}(HTMLElement);if(!(s.l&1)&&s.l&256){if(i.experimentalSlotFixes){Er(p.prototype)}else{if(i.slotChildNodesFix){Fr(p.prototype)}if(i.cloneNodeFix){kr(p.prototype)}if(i.appendChildSlotFix){Tr(p.prototype)}if(i.scopedSlotTextContentFix&&s.l&2){Pr(p.prototype)}}}else if(i.cloneNodeFix){kr(p.prototype)}if(i.formAssociated&&s.l&64){p.formAssociated=true}if(i.hotModuleReplacement){p.prototype["s-hmr"]=function(r){zt(this,s,r)}}s.C=r[0];if(!f.includes(l)&&!o.get(l)){a.push(l);o.define(l,Nt(p,s,1))}}))}));if(a.length>0){if(i.slotRelocation&&h){l.textContent+=W}if(i.invisiblePrehydration&&(i.hydratedClass||i.hydratedAttribute)){l.textContent+=a.sort()+U}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(n=q.D)!=null?n:ne(J.document);if(p!=null){l.setAttribute("nonce",p)}u.insertBefore(l,s?s.nextSibling:u.firstChild)}}d=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{if(i.profile){q.jmp((function(){return c=setTimeout(Ot,30,"timeout")}))}else{q.jmp((function(){return c=setTimeout(Ot,30)}))}}t()}));var Wt=r("F",(function(r,e){return e}));var Vt=function(r,e,n,t){if(i.hostListener&&n&&J.document){if(i.hostListenerTargetParent){if(t){n=n.filter((function(r){var e=r[0];return e&32}))}else{n=n.filter((function(r){var e=r[0];return!(e&32)}))}}n.map((function(n){var t=n[0],a=n[1],f=n[2];var o=i.hostListenerTarget?Jt(J.document,r,t):r;var u=Yt(e,f);var s=Xt(t);q.ael(o,a,u,s);(e.M=e.M||[]).push((function(){return q.rel(o,a,u,s)}))}))}};var Yt=function(r,e){return function(n){var t;try{if(i.lazyLoad){if(r.l&256){(t=r.u)==null?void 0:t[e](n)}else{(r.L=r.L||[]).push([e,n])}}else{r.$hostElement$[e](n)}}catch(e){w(e,r.$hostElement$)}}};var Jt=function(r,e,n){if(i.hostListenerTargetDocument&&n&4){return r}if(i.hostListenerTargetWindow&&n&8){return J}if(i.hostListenerTargetBody&&n&16){return r.body}if(i.hostListenerTargetParent&&n&32&&e.parentElement){return e.parentElement}return e};var Xt=function(r){return G?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var qt=i.lazyLoad?function(){function r(){}return r}():globalThis.HTMLElement||function(){function r(){}return r}();function Kt(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r.reduceRight((function(r,e){return e(r)}),qt)}var Qt=r("s",(function(r){return q.D=r}));var Gt=function(r){return Object.assign(q,r)};var Zt=new WeakMap;function ri(r,e){var n=Zt.get(e);if(!n){var t={l:0,O:e.tagName};n={l:0,t:t,$hostElement$:e};Zt.set(e,n)}vt(n,r)}var ei=void 0;function ni(r){if(!ei)return r;return ei(r)}function ti(r){if(ei){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 ")}ei=r}function ii(r,e,n,t,i,a){var f=e||{};var o=f.children,u=__rest(f,["children"]);var s=u;if(n!==void 0&&!("key"in u)){s=__assign(__assign({},u),{key:n})}if(s&&Object.keys(s).length===0){s=null}if(o!==void 0){if(Array.isArray(o)){return ce.apply(void 0,__spreadArray([r,s],o,false))}if(typeof o==="object"&&o!==null&&"l"in o){return ce(r,s,o)}return ce(r,s,o)}return ce(r,s)}function ai(r,e,n){var t=e||{};var i=t.children,a=__rest(t,["children"]);var f=a;if(n!==void 0&&!("key"in a)){f=__assign(__assign({},a),{key:n})}if(f&&Object.keys(f).length===0){f=null}if(i!==void 0){if(Array.isArray(i)){return ce.apply(void 0,__spreadArray([r,f],i,false))}if(typeof i==="object"&&i!==null&&"l"in i){return ce(r,f,i)}return ce(r,f,i)}return ce(r,f)}function fi(r,e,n){return ai(r,e,n)}var oi=function(r,e){if(r!=null){var n=z in r?r[z]:__assign({},B);n.staticComponents=new Set(e);var t=[];ui(r,r.body,n,t);t.forEach((function(e){var t;if(e!=null&&e["s-nr"]){var i=e["s-nr"];var a=i["s-host-id"];var f=i["s-node-id"];var o="".concat(a,".").concat(f);if(a==null){a=0;n.rootLevelIds++;f=n.rootLevelIds;o="".concat(a,".").concat(f);if(i.nodeType===1){i.setAttribute(F,o);if(typeof i["s-sn"]==="string"&&!i.getAttribute("slot")){i.setAttribute("s-sn",i["s-sn"])}}else if(i.nodeType===3){if(a===0){var u=(t=i.nodeValue)==null?void 0:t.trim();if(u===""){e.remove();return}}var s=r.createComment(o);s.nodeValue="".concat(D,".").concat(o);st(i.parentNode,s,i)}else if(i.nodeType===8){var s=r.createComment(o);s.nodeValue="".concat(I,".").concat(o);i.parentNode.insertBefore(s,i)}}var l="".concat(L,".").concat(o);var v=e.parentElement;if(v){if(v["s-en"]===""){l+="."}else if(v["s-en"]==="c"){l+=".c"}}e.nodeValue=l}}))}};var ui=function(r,e,n,t){var i;if(e==null){return}if(e["s-nr"]!=null){t.push(e)}if(e.nodeType===1){var a=__spreadArray(__spreadArray([],Array.from(e.childNodes),true),Array.from(((i=e.shadowRoot)==null?void 0:i.childNodes)||[]),true);a.forEach((function(e){var i=m(e);if(i!=null&&!n.staticComponents.has(e.nodeName.toLowerCase())){var a={nodeIds:0};si(r,e,i.N,n,a)}ui(r,e,n,t)}))}};var si=function(r,e,n,t,i){if(n!=null){var a=++t.hostIds;e.setAttribute(H,a);if(e["s-cr"]!=null){e["s-cr"].nodeValue="".concat(R,".").concat(a)}if(n.F!=null){var f=0;n.F.forEach((function(e,n){li(r,e,i,a,f,n)}))}if(e&&n&&n.V&&!e.hasAttribute(F)){var o=e.parentElement;if(o&&o.childNodes){var u=Array.from(o.childNodes);var s=u.find((function(r){return r.nodeType===8&&r["s-sr"]}));if(s){var l=u.indexOf(e)-1;n.V.setAttribute(F,"".concat(s["s-host-id"],".").concat(s["s-node-id"],".0.").concat(l))}}}}};var li=function(r,e,n,t,i,a){var f=e.V;if(f==null){return}var o=n.nodeIds++;var u="".concat(t,".").concat(o,".").concat(i,".").concat(a);f["s-host-id"]=t;f["s-node-id"]=o;if(f.nodeType===1){f.setAttribute(F,u);if(typeof f["s-sn"]==="string"&&!f.getAttribute("slot")){f.setAttribute("s-sn",f["s-sn"])}}else if(f.nodeType===3){var s=f.parentNode;var l=s==null?void 0:s.nodeName;if(l!=="STYLE"&&l!=="SCRIPT"){var v="".concat(D,".").concat(u);var c=r.createComment(v);st(s,c,f)}}else if(f.nodeType===8){if(f["s-sr"]){var d=f["s-sn"]||"";var h="".concat(M,".").concat(u,".").concat(d);f.nodeValue=h}}if(e.F!=null){var p=i+1;e.F.forEach((function(e,i){li(r,e,n,t,p,i)}))}};var vi=Object.freeze({__proto__:null,BUILD:i,Build:f,Env:a,Fragment:Wt,H:X,HTMLElement:X,HYDRATED_STYLE_ID:P,Host:he,Mixin:Kt,NAMESPACE:t,STENCIL_DEV_MODE:$,addHostEventListeners:Vt,bootstrapLazy:Bt,cmpModules:C,connectedCallback:Mt,consoleDevError:S,consoleDevInfo:O,consoleDevWarn:j,consoleError:w,createEvent:Tn,defineCustomElement:Pt,disconnectedCallback:Ht,forceModeUpdate:Ut,forceUpdate:jt,getAssetPath:hr,getElement:kn,getHostRef:m,getMode:jn,getRenderingRef:$t,getValue:kt,h:ce,insertVdomAnnotations:oi,isMemberInElement:b,jsx:ai,jsxDEV:ii,jsxs:fi,loadModule:A,modeResolutionChain:k,needsScopedSSR:N,nextTick:vr,normalizeWatchers:On,parsePropertyValue:En,plt:q,postUpdateComponent:St,promiseResolve:Z,proxyComponent:Nt,proxyCustomElement:Ft,readTask:cr,registerHost:y,registerInstance:g,render:ri,renderVdom:vt,setAssetPath:pr,setErrorHandler:x,setMode:Sn,setNonce:Qt,setPlatformHelpers:K,setPlatformOptions:Gt,setScopedSSR:T,setTagTransformer:ti,setValue:Tt,styles:E,supportsConstructableStylesheets:rr,supportsListenerOptions:G,supportsMutableAdoptedStyleSheets:er,supportsShadow:Q,transformTag:ni,win:J,writeTask:dr});r("S",vi)}}}));
|