@esri/solutions-components 0.11.9 → 0.11.10
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/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-ccb3278b.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_2.cjs.entry.js +2 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/consent-manager.cjs.entry.js +4 -4
- package/dist/cjs/{constants-bed33322.js → constants-cb1b5548.js} +1 -1
- package/dist/cjs/create-feature_4.cjs.entry.js +5 -5
- package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
- package/dist/cjs/{downloadUtils-9ce90176.js → downloadUtils-47d639a9.js} +3 -3
- package/dist/cjs/{effects-fdd163a9.js → effects-c3f6d203.js} +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +5 -5
- package/dist/cjs/{helpers-6a222aa7.js → helpers-2170c127.js} +2 -2
- package/dist/cjs/{index.es-6549e26a.js → index.es-f2dfef62.js} +2 -2
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +2 -2
- package/dist/cjs/{languageUtil-a3e1eafd.js → languageUtil-f22ce913.js} +1 -1
- package/dist/cjs/{loadModules-df8b13ca.js → loadModules-581c909a.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-2dd3020a.js → locale-223194d0.js} +2 -2
- package/dist/cjs/{locale-1c60be9c.js → locale-70d78da8.js} +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +2 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/{popupUtils-93b14f86.js → popupUtils-a06bdfad.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +9 -6
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-accordion.cjs.entry.js +33 -6
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/{utils-53383d03.js → utils-e4a0ff78.js} +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +2 -2
- package/dist/collection/components/public-notification/public-notification.js +25 -2
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +114 -4
- package/dist/collection/demos/solution-item-accordion.html +5 -3
- package/dist/collection/utils/interfaces.ts +17 -1
- package/dist/components/public-notification.js +6 -2
- package/dist/components/solution-item-accordion.js +33 -5
- package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-48cd21fe.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_2.entry.js +2 -2
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/consent-manager.entry.js +4 -4
- package/dist/esm/{constants-637a40f5.js → constants-abe87823.js} +1 -1
- package/dist/esm/create-feature_4.entry.js +5 -5
- package/dist/esm/create-related-feature_3.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/delete-dialog.entry.js +2 -2
- package/dist/esm/{downloadUtils-1179f077.js → downloadUtils-6ca6519f.js} +3 -3
- package/dist/esm/{effects-d42ccf96.js → effects-c8fc15b3.js} +1 -1
- package/dist/esm/feature-list.entry.js +5 -5
- package/dist/esm/{helpers-bd1ff401.js → helpers-673c1beb.js} +2 -2
- package/dist/esm/{index.es-6b399444.js → index.es-158fd72a.js} +2 -2
- package/dist/esm/instant-apps-app-guide.entry.js +4 -4
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +4 -4
- package/dist/esm/instant-apps-export-views.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +4 -4
- package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +4 -4
- package/dist/esm/instant-apps-popover.entry.js +4 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
- package/dist/esm/instant-apps-sign-in.entry.js +4 -4
- package/dist/esm/instant-apps-splash.entry.js +4 -4
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +2 -2
- package/dist/esm/{languageUtil-2b6e191a.js → languageUtil-a3e6adf6.js} +1 -1
- package/dist/esm/{loadModules-d5a25252.js → loadModules-400cb067.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-7874c756.js → locale-4cea650e.js} +1 -1
- package/dist/esm/{locale-4744c8a4.js → locale-d96a2bff.js} +2 -2
- package/dist/esm/map-layer-picker.entry.js +2 -2
- package/dist/esm/map-select-tools_3.entry.js +4 -4
- package/dist/esm/{popupUtils-cfe51dfd.js → popupUtils-dea8b2bb.js} +2 -2
- package/dist/esm/public-notification.entry.js +9 -6
- package/dist/esm/solution-configuration.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-item-accordion.entry.js +34 -7
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/{utils-04fffcaf.js → utils-92313b5a.js} +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +2 -2
- package/dist/solutions-components/demos/solution-item-accordion.html +5 -3
- package/dist/solutions-components/{p-6369b974.entry.js → p-0055118a.entry.js} +1 -1
- package/dist/solutions-components/{p-7d4a72fa.entry.js → p-00965f29.entry.js} +1 -1
- package/dist/solutions-components/{p-97f33e9f.js → p-00eccd9f.js} +1 -1
- package/dist/solutions-components/{p-f1b5f09a.entry.js → p-0620c894.entry.js} +1 -1
- package/dist/solutions-components/{p-d6c60b8f.entry.js → p-098ca58c.entry.js} +1 -1
- package/dist/solutions-components/{p-f2d7b9c3.entry.js → p-118331aa.entry.js} +1 -1
- package/dist/solutions-components/p-1b161201.entry.js +6 -0
- package/dist/solutions-components/{p-d099573a.entry.js → p-1f4b9762.entry.js} +1 -1
- package/dist/solutions-components/{p-48242dd4.js → p-1f9f8107.js} +1 -1
- package/dist/solutions-components/{p-8d281f47.js → p-24b9d4b9.js} +2 -2
- package/dist/solutions-components/{p-95d1c104.entry.js → p-26190dbf.entry.js} +1 -1
- package/dist/solutions-components/{p-d324196d.entry.js → p-26f96d2f.entry.js} +1 -1
- package/dist/solutions-components/{p-3f83917b.entry.js → p-2b2ebb38.entry.js} +1 -1
- package/dist/solutions-components/{p-b7421036.entry.js → p-2be294e3.entry.js} +1 -1
- package/dist/solutions-components/{p-2a16aa29.entry.js → p-3155f0d6.entry.js} +1 -1
- package/dist/solutions-components/{p-fe9b2c74.entry.js → p-38331e47.entry.js} +1 -1
- package/dist/solutions-components/{p-3f14b242.entry.js → p-3bed6b51.entry.js} +1 -1
- package/dist/solutions-components/{p-404cbf48.js → p-4b2ec507.js} +1 -1
- package/dist/solutions-components/{p-c2e57b81.entry.js → p-4c97ab32.entry.js} +1 -1
- package/dist/solutions-components/{p-ea09b078.entry.js → p-5833cc4f.entry.js} +1 -1
- package/dist/solutions-components/{p-8e21a871.entry.js → p-59fbd618.entry.js} +1 -1
- package/dist/solutions-components/{p-7271fa31.entry.js → p-5aefa348.entry.js} +1 -1
- package/dist/solutions-components/p-5e3b74ff.entry.js +6 -0
- package/dist/solutions-components/{p-ffe1e3a3.entry.js → p-61310787.entry.js} +1 -1
- package/dist/solutions-components/{p-648b5a9e.js → p-619fefa1.js} +1 -1
- package/dist/solutions-components/{p-d65f8b73.js → p-62a0aa8e.js} +1 -1
- package/dist/solutions-components/{p-28858c2f.entry.js → p-6537611b.entry.js} +1 -1
- package/dist/solutions-components/{p-832707fd.entry.js → p-66e0a2ae.entry.js} +1 -1
- package/dist/solutions-components/{p-bc8d8128.entry.js → p-67aa6fdc.entry.js} +1 -1
- package/dist/solutions-components/{p-be16bc80.entry.js → p-6df9fc09.entry.js} +1 -1
- package/dist/solutions-components/{p-837e0939.entry.js → p-6ee5a767.entry.js} +1 -1
- package/dist/solutions-components/{p-d001e961.js → p-813c7077.js} +1 -1
- package/dist/solutions-components/{p-8585c128.entry.js → p-91177188.entry.js} +1 -1
- package/dist/solutions-components/{p-37ae171f.entry.js → p-928dc0da.entry.js} +1 -1
- package/dist/solutions-components/{p-c9686e6c.entry.js → p-9d977ad2.entry.js} +1 -1
- package/dist/solutions-components/{p-e5cb329f.entry.js → p-a28f1b42.entry.js} +1 -1
- package/dist/solutions-components/{p-ed1ecb5b.entry.js → p-a756fe7c.entry.js} +1 -1
- package/dist/solutions-components/{p-4695cfab.js → p-a7824793.js} +1 -1
- package/dist/solutions-components/{p-c50ff9f1.entry.js → p-acdb22c6.entry.js} +1 -1
- package/dist/solutions-components/{p-d59fb1a7.entry.js → p-ae7bed8d.entry.js} +1 -1
- package/dist/solutions-components/{p-79d66109.entry.js → p-af2a1ae1.entry.js} +1 -1
- package/dist/solutions-components/{p-ac122d9e.js → p-af2c8aa9.js} +1 -1
- package/dist/solutions-components/{p-7dc95675.js → p-b382fabf.js} +1 -1
- package/dist/solutions-components/{p-980d9473.entry.js → p-b5845b40.entry.js} +1 -1
- package/dist/solutions-components/{p-f95cc485.entry.js → p-bd8a3a91.entry.js} +1 -1
- package/dist/solutions-components/{p-d1551601.entry.js → p-c5aa99a9.entry.js} +1 -1
- package/dist/solutions-components/{p-0326f1f4.entry.js → p-c7e0799c.entry.js} +1 -1
- package/dist/solutions-components/{p-60b3b8b4.entry.js → p-cf0717b7.entry.js} +1 -1
- package/dist/solutions-components/{p-698656b8.entry.js → p-d83eb0b2.entry.js} +1 -1
- package/dist/solutions-components/p-d991af6f.js +6 -0
- package/dist/solutions-components/{p-4868d196.entry.js → p-dd0e85e0.entry.js} +1 -1
- package/dist/solutions-components/{p-dc704bc6.entry.js → p-ddeaaadf.entry.js} +1 -1
- package/dist/solutions-components/{p-3335285a.js → p-e70ae0b0.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +17 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/public-notification/public-notification.d.ts +5 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +22 -2
- package/dist/types/components.d.ts +38 -2
- package/dist/types/preact.d.ts +5 -1
- package/dist/types/utils/interfaces.d.ts +13 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-40b36394.entry.js +0 -6
- package/dist/solutions-components/p-80262cb7.js +0 -6
- package/dist/solutions-components/p-dcabfe6a.entry.js +0 -6
- /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-a56cbcbe.js} +0 -0
- /package/dist/cjs/{typeof-2a7e2dec.js → typeof-920a4426.js} +0 -0
- /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-781d738a.js} +0 -0
- /package/dist/esm/{typeof-ef2a007d.js → typeof-2511410e.js} +0 -0
- /package/dist/solutions-components/{p-0a24ad5f.js → p-6a68306c.js} +0 -0
- /package/dist/solutions-components/{p-4fe489cf.js → p-af7e43e0.js} +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{c as t}from"./p-d4056c1c.js";import{_ as r,a as e}from"./p-d65f8b73.js";import"./p-4fe489cf.js";var i=function(t){return t&&t.Math===Math&&t},n=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||i("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},a=function(t){try{return!!t()}catch(t){return!0}},o=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=Function.prototype.call,c=h?u.bind(u):function(){return u.apply(u,arguments)},f={},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1);f.f=d?function(t){var r=v(this,t);return!!r&&r.enumerable}:l;var p,y,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=h,b=Function.prototype,w=b.call,x=m&&b.bind.bind(w,w),M=m?x:function(t){return function(){return w.apply(t,arguments)}},k=M,N=k({}.toString),S=k("".slice),O=function(t){return S(N(t),8,-1)},P=a,j=O,E=Object,C=M("".split),T=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"===j(t)?C(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,$=function(t){if(R(t))throw new B("Can't call method on "+t);return t},D=T,L=$,F=function(t){return D(L(t))},I="object"==typeof document&&document.all,z=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},_=z,Y=function(t){return"object"==typeof t?null!==t:_(t)},X=n,U=z,q=function(t,r){return arguments.length<2?U(e=X[t])?e:void 0:X[t]&&X[t][r];var e},G=M({}.isPrototypeOf),V=n.navigator,H=V&&V.userAgent,W=H?String(H):"",Q=W,Z=n.process,K=n.Deno,J=Z&&Z.versions||K&&K.version,tt=J&&J.v8;tt&&(y=(p=tt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Q&&(!(p=Q.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Q.match(/Chrome\/(\d+)/))&&(y=+p[1]);var rt=y,et=rt,it=n.String,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol("symbol detection");return!it(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=q,ot=z,ht=G,ut=Object,ct=st?function(t){return"symbol"==typeof t}:function(t){var r=at("Symbol");return ot(r)&&ht(r.prototype,ut(t))},ft=String,lt=function(t){try{return ft(t)}catch(t){return"Object"}},vt=z,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw new pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var e=t[r];return mt(e)?void 0:gt(e)},wt=c,xt=z,Mt=Y,kt=TypeError,Nt={exports:{}},St=n,Ot=Object.defineProperty,Pt=function(t,r){try{Ot(St,t,{value:r,configurable:!0,writable:!0})}catch(e){St[t]=r}return r},jt="__core-js_shared__",Et=Nt.exports=n[jt]||Pt(jt,{});(Et.versions||(Et.versions=[])).push({version:"3.39.0",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=Nt.exports,Tt=function(t,r){return Ct[t]||(Ct[t]=r||{})},At=$,Rt=Object,Bt=function(t){return Rt(At(t))},$t=Bt,Dt=M({}.hasOwnProperty),Lt=Object.hasOwn||function(t,r){return Dt($t(t),r)},Ft=M,It=0,zt=Math.random(),_t=Ft(1..toString),Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+_t(++It+zt,36)},Xt=Lt,Ut=Yt,qt=nt,Gt=st,Vt=n.Symbol,Ht=Tt("wks"),Wt=Gt?Vt.for||Vt:Vt&&Vt.withoutSetter||Ut,Qt=function(t){return Xt(Ht,t)||(Ht[t]=qt&&Xt(Vt,t)?Vt[t]:Wt("Symbol."+t)),Ht[t]},Zt=c,Kt=Y,Jt=ct,tr=bt,rr=TypeError,er=Qt("toPrimitive"),ir=function(t,r){if(!Kt(t)||Jt(t))return t;var e,i=tr(t,er);if(i){if(void 0===r&&(r="default"),e=Zt(i,t,r),!Kt(e)||Jt(e))return e;throw new rr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var e,i;if("string"===r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;if(xt(e=t.valueOf)&&!Mt(i=wt(e,t)))return i;if("string"!==r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;throw new kt("Can't convert object to primitive value")}(t,r)},nr=ct,sr=function(t){var r=ir(t,"string");return nr(r)?r:r+""},ar=Y,or=n.document,hr=ar(or)&&ar(or.createElement),ur=function(t){return hr?or.createElement(t):{}},cr=ur,fr=!o&&!a((function(){return 7!==Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a})),lr=c,vr=f,dr=g,pr=F,yr=sr,gr=Lt,mr=fr,br=Object.getOwnPropertyDescriptor;s.f=o?br:function(t,r){if(t=pr(t),r=yr(r),mr)try{return br(t,r)}catch(t){}if(gr(t,r))return dr(!lr(vr.f,t,r),t[r])};var wr={},xr=o&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mr=Y,kr=String,Nr=TypeError,Sr=function(t){if(Mr(t))return t;throw new Nr(kr(t)+" is not an object")},Or=fr,Pr=Sr,jr=sr,Er=TypeError,Cr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Ar="enumerable",Rr="configurable",Br="writable";wr.f=o?xr?function(t,r,e){if(Pr(t),r=jr(r),Pr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&Br in e&&!e[Br]){var i=Tr(t,r);i&&i[Br]&&(t[r]=e.value,e={configurable:Rr in e?e[Rr]:i[Rr],enumerable:Ar in e?e[Ar]:i[Ar],writable:!1})}return Cr(t,r,e)}:Cr:function(t,r,e){if(Pr(t),r=jr(r),Pr(e),Or)try{return Cr(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Er("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var $r=wr,Dr=g,Lr=o?function(t,r,e){return $r.f(t,r,Dr(1,e))}:function(t,r,e){return t[r]=e,t},Fr={exports:{}},Ir=o,zr=Function.prototype,_r=Ir&&Object.getOwnPropertyDescriptor,Yr=Lt(zr,"name"),Xr={EXISTS:Yr,PROPER:Yr&&"something"===function(){}.name,CONFIGURABLE:Yr&&(!Ir||Ir&&_r(zr,"name").configurable)},Ur=z,qr=Nt.exports,Gr=M(Function.toString);Ur(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Vr,Hr,Wr,Qr=qr.inspectSource,Zr=n.WeakMap,Kr=z(Zr)&&/native code/.test(String(Zr)),Jr=Yt,te=Tt("keys"),re=function(t){return te[t]||(te[t]=Jr(t))},ee={},ie=Y,ne=Lr,se=Lt,ae=Nt.exports,oe=re,he=ee,ue="Object already initialized",ce=n.TypeError;if(Kr||ae.state){var fe=ae.state||(ae.state=new(0,n.WeakMap));fe.get=fe.get,fe.has=fe.has,fe.set=fe.set,Vr=function(t,r){if(fe.has(t))throw new ce(ue);return r.facade=t,fe.set(t,r),r},Hr=function(t){return fe.get(t)||{}},Wr=function(t){return fe.has(t)}}else{var le=oe("state");he[le]=!0,Vr=function(t,r){if(se(t,le))throw new ce(ue);return r.facade=t,ne(t,le,r),r},Hr=function(t){return se(t,le)?t[le]:{}},Wr=function(t){return se(t,le)}}var ve={set:Vr,get:Hr,has:Wr,enforce:function(t){return Wr(t)?Hr(t):Vr(t,{})},getterFor:function(t){return function(r){var e;if(!ie(r)||(e=Hr(r)).type!==t)throw new ce("Incompatible receiver, "+t+" required");return e}}},de=M,pe=a,ye=z,ge=Lt,me=o,be=Xr.CONFIGURABLE,we=Qr,xe=ve.enforce,Me=ve.get,ke=String,Ne=Object.defineProperty,Se=de("".slice),Oe=de("".replace),Pe=de([].join),je=me&&!pe((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),Ee=String(String).split("String"),Ce=Fr.exports=function(t,r,e){"Symbol("===Se(ke(r),0,7)&&(r="["+Oe(ke(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!ge(t,"name")||be&&t.name!==r)&&(me?Ne(t,"name",{value:r,configurable:!0}):t.name=r),je&&e&&ge(e,"arity")&&t.length!==e.arity&&Ne(t,"length",{value:e.arity});try{e&&ge(e,"constructor")&&e.constructor?me&&Ne(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=xe(t);return ge(i,"source")||(i.source=Pe(Ee,"string"==typeof r?r:"")),t};Function.prototype.toString=Ce((function(){return ye(this)&&Me(this).source||we(this)}),"toString");var Te=z,Ae=wr,Re=Fr.exports,Be=Pt,$e=function(t,r,e,i){i||(i={});var n=i.enumerable,s=void 0!==i.name?i.name:r;if(Te(e)&&Re(e,s,i),i.global)n?t[r]=e:Be(r,e);else{try{i.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=e:Ae.f(t,r,{value:e,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t},De={},Le=Math.ceil,Fe=Math.floor,Ie=Math.trunc||function(t){var r=+t;return(r>0?Fe:Le)(r)},ze=Ie,_e=function(t){var r=+t;return r!=r||0===r?0:ze(r)},Ye=_e,Xe=Math.max,Ue=Math.min,qe=_e,Ge=Math.min,Ve=function(t){var r=qe(t);return r>0?Ge(r,9007199254740991):0},He=Ve,We=function(t){return He(t.length)},Qe=F,Ze=We,Ke=function(t){return function(r,e,i){var n=Qe(r),s=Ze(n);if(0===s)return!t&&-1;var a,o=function(t,r){var e=Ye(t);return e<0?Xe(e+r,0):Ue(e,r)}(i,s);if(t&&e!=e){for(;s>o;)if((a=n[o++])!=a)return!0}else for(;s>o;o++)if((t||o in n)&&n[o]===e)return t||o||0;return!t&&-1}},Je={includes:Ke(!0),indexOf:Ke(!1)},ti=Lt,ri=F,ei=Je.indexOf,ii=ee,ni=M([].push),si=function(t,r){var e,i=ri(t),n=0,s=[];for(e in i)!ti(ii,e)&&ti(i,e)&&ni(s,e);for(;r.length>n;)ti(i,e=r[n++])&&(~ei(s,e)||ni(s,e));return s},ai=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oi=si,hi=ai.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(t){return oi(t,hi)};var ui={};ui.f=Object.getOwnPropertySymbols;var ci=q,fi=De,li=ui,vi=Sr,di=M([].concat),pi=ci("Reflect","ownKeys")||function(t){var r=fi.f(vi(t)),e=li.f;return e?di(r,e(t)):r},yi=Lt,gi=pi,mi=s,bi=wr,wi=a,xi=z,Mi=/#|\.prototype\./,ki=function(t,r){var e=Si[Ni(t)];return e===Pi||e!==Oi&&(xi(r)?wi(r):!!r)},Ni=ki.normalize=function(t){return String(t).replace(Mi,".").toLowerCase()},Si=ki.data={},Oi=ki.NATIVE="N",Pi=ki.POLYFILL="P",ji=ki,Ei=n,Ci=s.f,Ti=Lr,Ai=$e,Ri=Pt,Bi=function(t,r,e){for(var i=gi(r),n=bi.f,s=mi.f,a=0;a<i.length;a++){var o=i[a];yi(t,o)||e&&yi(e,o)||n(t,o,s(r,o))}},$i=ji,Di=function(t,r){var e,i,n,s,a,o=t.target,h=t.global,u=t.stat;if(e=h?Ei:u?Ei[o]||Ri(o,{}):Ei[o]&&Ei[o].prototype)for(i in r){if(s=r[i],n=t.dontCallGetSet?(a=Ci(e,i))&&a.value:e[i],!$i(h?i:o+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Bi(s,n)}(t.sham||n&&n.sham)&&Ti(s,"sham",!0),Ai(e,i,s,t)}},Li=n,Fi=W,Ii=O,zi=function(t){return Fi.slice(0,t.length)===t},_i=zi("Bun/")?"BUN":zi("Cloudflare-Workers")?"CLOUDFLARE":zi("Deno/")?"DENO":zi("Node.js/")?"NODE":Li.Bun&&"string"==typeof Bun.version?"BUN":Li.Deno&&"object"==typeof Deno.version?"DENO":"process"===Ii(Li.process)?"NODE":Li.window&&Li.document?"BROWSER":"REST",Yi="NODE"===_i,Xi=M,Ui=yt,qi=Y,Gi=String,Vi=TypeError,Hi=Y,Wi=$,Qi=function(t){if(function(t){return qi(t)||null===t}(t))return t;throw new Vi("Can't set "+Gi(t)+" as a prototype")},Zi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=function(t,r,e){try{return Xi(Ui(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return Wi(e),Qi(i),Hi(e)?(r?t(e,i):e.__proto__=i,e):e}}():void 0),Ki=wr.f,Ji=Lt,tn=Qt("toStringTag"),rn=function(t,r,e){t&&!e&&(t=t.prototype),t&&!Ji(t,tn)&&Ki(t,tn,{configurable:!0,value:r})},en=Fr.exports,nn=wr,sn=q,an=o,on=Qt("species"),hn=G,un=TypeError,cn={};cn[Qt("toStringTag")]="z";var fn="[object z]"===String(cn),ln=z,vn=O,dn=Qt("toStringTag"),pn=Object,yn="Arguments"===vn(function(){return arguments}()),gn=fn?vn:function(t){var r,e,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=pn(t),dn))?e:yn?vn(r):"Object"===(i=vn(r))&&ln(r.callee)?"Arguments":i},mn=M,bn=a,wn=z,xn=gn,Mn=Qr,kn=function(){},Nn=q("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,On=mn(Sn.exec),Pn=!Sn.test(kn),jn=function(t){if(!wn(t))return!1;try{return Nn(kn,[],t),!0}catch(t){return!1}},En=function(t){if(!wn(t))return!1;switch(xn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Pn||!!On(Sn,Mn(t))}catch(t){return!0}};En.sham=!0;var Cn,Tn,An,Rn,Bn=!Nn||bn((function(){var t;return jn(jn.call)||!jn(Object)||!jn((function(){t=!0}))||t}))?En:jn,$n=Bn,Dn=lt,Ln=TypeError,Fn=Sr,In=A,zn=Qt("species"),_n=function(t,r){var e,i=Fn(t).constructor;return void 0===i||In(e=Fn(i)[zn])?r:function(t){if($n(t))return t;throw new Ln(Dn(t)+" is not a constructor")}(e)},Yn=Function.prototype,Xn=Yn.apply,Un=Yn.call,qn="object"==typeof Reflect&&Reflect.apply||(h?Un.bind(Xn):function(){return Un.apply(Xn,arguments)}),Gn=O,Vn=M,Hn=function(t){if("Function"===Gn(t))return Vn(t)},Wn=yt,Qn=h,Zn=Hn(Hn.bind),Kn=function(t,r){return Wn(t),void 0===r?t:Qn?Zn(t,r):function(){return t.apply(r,arguments)}},Jn=q("document","documentElement"),ts=M([].slice),rs=TypeError,es=/(?:ipad|iphone|ipod).*applewebkit/i.test(W),is=n,ns=qn,ss=Kn,as=z,os=Lt,hs=a,us=Jn,cs=ts,fs=ur,ls=es,vs=Yi,ds=is.setImmediate,ps=is.clearImmediate,ys=is.process,gs=is.Dispatch,ms=is.Function,bs=is.MessageChannel,ws=is.String,xs=0,Ms={},ks="onreadystatechange";hs((function(){Cn=is.location}));var Ns=function(t){if(os(Ms,t)){var r=Ms[t];delete Ms[t],r()}},Ss=function(t){return function(){Ns(t)}},Os=function(t){Ns(t.data)},Ps=function(t){is.postMessage(ws(t),Cn.protocol+"//"+Cn.host)};ds&&ps||(ds=function(t){!function(t,r){if(t<r)throw new rs("Not enough arguments")}(arguments.length,1);var r=as(t)?t:ms(t),e=cs(arguments,1);return Ms[++xs]=function(){ns(r,void 0,e)},Tn(xs),xs},ps=function(t){delete Ms[t]},vs?Tn=function(t){ys.nextTick(Ss(t))}:gs&&gs.now?Tn=function(t){gs.now(Ss(t))}:bs&&!ls?(Rn=(An=new bs).port2,An.port1.onmessage=Os,Tn=ss(Rn.postMessage,Rn)):is.addEventListener&&as(is.postMessage)&&!is.importScripts&&Cn&&"file:"!==Cn.protocol&&!hs(Ps)?(Tn=Ps,is.addEventListener("message",Os,!1)):Tn=ks in fs("script")?function(t){us.appendChild(fs("script"))[ks]=function(){us.removeChild(this),Ns(t)}}:function(t){setTimeout(Ss(t),0)});var js={set:ds,clear:ps},Es=n,Cs=o,Ts=Object.getOwnPropertyDescriptor,As=function(){this.head=null,this.tail=null};As.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Rs,Bs,$s,Ds,Ls,Fs=As,Is=/ipad|iphone|ipod/i.test(W)&&"undefined"!=typeof Pebble,zs=/web0s(?!.*chrome)/i.test(W),_s=n,Ys=Kn,Xs=js.set,Us=Fs,qs=es,Gs=Is,Vs=zs,Hs=Yi,Ws=_s.MutationObserver||_s.WebKitMutationObserver,Qs=_s.document,Zs=_s.process,Ks=_s.Promise,Js=function(t){if(!Cs)return Es[t];var r=Ts(Es,t);return r&&r.value}("queueMicrotask");if(!Js){var ta=new Us,ra=function(){var t,r;for(Hs&&(t=Zs.domain)&&t.exit();r=ta.get();)try{r()}catch(t){throw ta.head&&Rs(),t}t&&t.enter()};qs||Hs||Vs||!Ws||!Qs?!Gs&&Ks&&Ks.resolve?((Ds=Ks.resolve(void 0)).constructor=Ks,Ls=Ys(Ds.then,Ds),Rs=function(){Ls(ra)}):Hs?Rs=function(){Zs.nextTick(ra)}:(Xs=Ys(Xs,_s),Rs=function(){Xs(ra)}):(Bs=!0,$s=Qs.createTextNode(""),new Ws(ra).observe($s,{characterData:!0}),Rs=function(){$s.data=Bs=!Bs}),Js=function(t){ta.head||Rs(),ta.add(t)}}var ea=Js,ia=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},na=n.Promise,sa=n,aa=na,oa=z,ha=ji,ua=Qr,ca=_i,fa=rt,la=Qt("species"),va=!1,da=oa(sa.PromiseRejectionEvent),pa=ha("Promise",(function(){var t=ua(aa),r=t!==String(aa);if(!r&&66===fa)return!0;if(!fa||fa<51||!/native code/.test(t)){var e=new aa((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((e.constructor={})[la]=i,!(va=e.then((function(){}))instanceof i))return!0}return!(r||"BROWSER"!==ca&&"DENO"!==ca||da)})),ya={CONSTRUCTOR:pa,REJECTION_EVENT:da,SUBCLASSING:va},ga={},ma=yt,ba=TypeError,wa=function(t){var r,e;this.promise=new t((function(t,i){if(void 0!==r||void 0!==e)throw new ba("Bad Promise constructor");r=t,e=i})),this.resolve=ma(r),this.reject=ma(e)};ga.f=function(t){return new wa(t)};var xa,Ma,ka,Na,Sa=Di,Oa=Yi,Pa=n,ja=c,Ea=$e,Ca=Zi,Ta=rn,Aa=yt,Ra=z,Ba=Y,$a=_n,Da=js.set,La=ea,Fa=ia,Ia=Fs,za=ve,_a=na,Ya=ga,Xa="Promise",Ua=ya.CONSTRUCTOR,qa=ya.REJECTION_EVENT,Ga=ya.SUBCLASSING,Va=za.getterFor(Xa),Ha=za.set,Wa=_a&&_a.prototype,Qa=_a,Za=Wa,Ka=Pa.TypeError,Ja=Pa.document,to=Pa.process,ro=Ya.f,eo=ro,io=!!(Ja&&Ja.createEvent&&Pa.dispatchEvent),no="unhandledrejection",so=function(t){var r;return!(!Ba(t)||!Ra(r=t.then))&&r},ao=function(t,r){var e,i,n,s=r.value,a=1===r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&fo(r),r.rejection=1),!0===o?e=s:(c&&c.enter(),e=o(s),c&&(c.exit(),n=!0)),e===t.promise?u(new Ka("Promise-chain cycle")):(i=so(e))?ja(i,e,h,u):h(e)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},oo=function(t,r){t.notified||(t.notified=!0,La((function(){for(var e,i=t.reactions;e=i.get();)ao(e,t);t.notified=!1,r&&!t.rejection&&uo(t)})))},ho=function(t,r,e){var i,n;io?((i=Ja.createEvent("Event")).promise=r,i.reason=e,i.initEvent(t,!1,!0),Pa.dispatchEvent(i)):i={promise:r,reason:e},!qa&&(n=Pa["on"+t])?n(i):t===no&&function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",e)},uo=function(t){ja(Da,Pa,(function(){var r,e=t.facade,i=t.value;if(co(t)&&(r=Fa((function(){Oa?to.emit("unhandledRejection",i,e):ho(no,e,i)})),t.rejection=Oa||co(t)?2:1,r.error))throw r.value}))},co=function(t){return 1!==t.rejection&&!t.parent},fo=function(t){ja(Da,Pa,(function(){var r=t.facade;Oa?to.emit("rejectionHandled",r):ho("rejectionhandled",r,t.value)}))},lo=function(t,r,e){return function(i){t(r,i,e)}},vo=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,oo(t,!0))},po=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new Ka("Promise can't be resolved itself");var i=so(r);i?La((function(){var e={done:!1};try{ja(i,r,lo(po,e,t),lo(vo,e,t))}catch(r){vo(e,r,t)}})):(t.value=r,t.state=1,oo(t,!1))}catch(r){vo({done:!1},r,t)}}};if(Ua&&(Qa=function(t){(function(t,r){if(hn(r,t))return t;throw new un("Incorrect invocation")})(this,Za),Aa(t),ja(xa,this);var r=Va(this);try{t(lo(po,r),lo(vo,r))}catch(t){vo(r,t)}},(xa=function(){Ha(this,{type:Xa,done:!1,notified:!1,parent:!1,reactions:new Ia,rejection:!1,state:0,value:null})}).prototype=Ea(Za=Qa.prototype,"then",(function(t,r){var e=Va(this),i=ro($a(this,Qa));return e.parent=!0,i.ok=!Ra(t)||t,i.fail=Ra(r)&&r,i.domain=Oa?to.domain:void 0,0===e.state?e.reactions.add(i):La((function(){ao(i,e)})),i.promise})),Ma=function(){var t=new xa,r=Va(t);this.promise=t,this.resolve=lo(po,r),this.reject=lo(vo,r)},Ya.f=ro=function(t){return t===Qa||void 0===t?new Ma(t):eo(t)},Ra(_a)&&Wa!==Object.prototype)){ka=Wa.then,Ga||Ea(Wa,"then",(function(t,r){var e=this;return new Qa((function(t,r){ja(ka,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete Wa.constructor}catch(t){}Ca&&Ca(Wa,Za)}Sa({global:!0,constructor:!0,wrap:!0,forced:Ua},{Promise:Qa}),Ta(Qa,Xa,!1),Na=sn(Xa),an&&Na&&!Na[on]&&function(t,r,e){e.get&&en(e.get,r,{getter:!0}),e.set&&en(e.set,r,{setter:!0}),nn.f(t,r,e)}(Na,on,{configurable:!0,get:function(){return this}});var yo={},go=yo,mo=Qt("iterator"),bo=Array.prototype,wo=gn,xo=bt,Mo=A,ko=yo,No=Qt("iterator"),So=function(t){if(!Mo(t))return xo(t,No)||xo(t,"@@iterator")||ko[wo(t)]},Oo=c,Po=yt,jo=Sr,Eo=lt,Co=So,To=TypeError,Ao=c,Ro=Sr,Bo=bt,$o=Kn,Do=c,Lo=Sr,Fo=lt,Io=We,zo=G,_o=So,Yo=function(t,r,e){var i,n;Ro(t);try{if(!(i=Bo(t,"return"))){if("throw"===r)throw e;return e}i=Ao(i,t)}catch(t){n=!0,i=t}if("throw"===r)throw e;if(n)throw i;return Ro(i),e},Xo=TypeError,Uo=function(t,r){this.stopped=t,this.result=r},qo=Uo.prototype,Go=function(t,r,e){var i,n,s,a,o,h,u,c,f=!(!e||!e.AS_ENTRIES),l=!(!e||!e.IS_RECORD),v=!(!e||!e.IS_ITERATOR),d=!(!e||!e.INTERRUPTED),p=$o(r,e&&e.that),y=function(t){return i&&Yo(i,"normal",t),new Uo(!0,t)},g=function(t){return f?(Lo(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)i=t.iterator;else if(v)i=t;else{if(!(n=_o(t)))throw new Xo(Fo(t)+" is not iterable");if(void 0!==(c=n)&&(go.Array===c||bo[mo]===c)){for(s=0,a=Io(t);a>s;s++)if((o=g(t[s]))&&zo(qo,o))return o;return new Uo(!1)}i=function(t,r){var e=arguments.length<2?Co(t):r;if(Po(e))return jo(Oo(e,t));throw new To(Eo(t)+" is not iterable")}(t,n)}for(h=l?t.next:i.next;!(u=Do(h,i)).done;){try{o=g(u.value)}catch(t){Yo(i,"throw",t)}if("object"==typeof o&&o&&zo(qo,o))return o}return new Uo(!1)},Vo=Qt("iterator"),Ho=!1;try{var Wo=0,Qo={next:function(){return{done:!!Wo++}},return:function(){Ho=!0}};Qo[Vo]=function(){return this},Array.from(Qo,(function(){throw 2}))}catch(t){}var Zo=na,Ko=ya.CONSTRUCTOR||!function(t,r){try{if(!r&&!Ho)return!1}catch(t){return!1}var e=!1;try{var i={};i[Vo]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}((function(t){Zo.all(t).then(void 0,(function(){}))})),Jo=c,th=yt,rh=ga,eh=ia,ih=Go;Di({target:"Promise",stat:!0,forced:Ko},{all:function(t){var r=this,e=rh.f(r),i=e.resolve,n=e.reject,s=eh((function(){var e=th(r.resolve),s=[],a=0,o=1;ih(t,(function(t){var h=a++,u=!1;o++,Jo(e,r,t).then((function(t){u||(u=!0,s[h]=t,--o||i(s))}),n)})),--o||i(s)}));return s.error&&n(s.value),e.promise}});var nh=na,sh=q,ah=z,oh=$e,hh=nh&&nh.prototype;if(Di({target:"Promise",proto:!0,forced:ya.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),ah(nh)){var uh=sh("Promise").prototype.catch;hh.catch!==uh&&oh(hh,"catch",uh,{unsafe:!0})}var ch=c,fh=yt,lh=ga,vh=ia,dh=Go;Di({target:"Promise",stat:!0,forced:Ko},{race:function(t){var r=this,e=lh.f(r),i=e.reject,n=vh((function(){var n=fh(r.resolve);dh(t,(function(t){ch(n,r,t).then(e.resolve,i)}))}));return n.error&&i(n.value),e.promise}});var ph=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{reject:function(t){var r=ph.f(this);return(0,r.reject)(t),r.promise}});var yh=Sr,gh=Y,mh=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(yh(t),gh(r)&&r.constructor===t)return r;var e=mh.f(t);return(0,e.resolve)(r),e.promise}(this,t)}});var bh=gn,wh=String,xh=function(t){if("Symbol"===bh(t))throw new TypeError("Cannot convert a Symbol value to a string");return wh(t)},Mh=Sr,kh=function(){var t=Mh(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Nh=a,Sh=n.RegExp,Oh=Nh((function(){var t=Sh("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ph=Oh||Nh((function(){return!Sh("a","y").sticky})),jh={BROKEN_CARET:Oh||Nh((function(){var t=Sh("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ph,UNSUPPORTED_Y:Oh},Eh={},Ch=si,Th=ai,Ah=Object.keys||function(t){return Ch(t,Th)},Rh=wr,Bh=Sr,$h=F,Dh=Ah;Eh.f=o&&!xr?Object.defineProperties:function(t,r){Bh(t);for(var e,i=$h(r),n=Dh(r),s=n.length,a=0;s>a;)Rh.f(t,e=n[a++],i[e]);return t};var Lh,Fh=Sr,Ih=Eh,zh=ai,_h=ee,Yh=Jn,Xh=ur,Uh="prototype",qh="script",Gh=re("IE_PROTO"),Vh=function(){},Hh=function(t){return"<"+qh+">"+t+"</"+qh+">"},Wh=function(t){t.write(Hh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Qh=function(){try{Lh=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;Qh="undefined"!=typeof document?document.domain&&Lh?Wh(Lh):(r=Xh("iframe"),e="java"+qh+":",r.style.display="none",Yh.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Hh("document.F=Object")),t.close(),t.F):Wh(Lh);for(var i=zh.length;i--;)delete Qh[Uh][zh[i]];return Qh()};_h[Gh]=!0;var Zh,Kh,Jh=Object.create||function(t,r){var e;return null!==t?(Vh[Uh]=Fh(t),e=new Vh,Vh[Uh]=null,e[Gh]=t):e=Qh(),void 0===r?e:Ih.f(e,r)},tu=n.RegExp,ru=a((function(){var t=tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),eu=n.RegExp,iu=a((function(){var t=eu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),nu=c,su=M,au=xh,ou=kh,hu=jh,uu=Jh,cu=ve.get,fu=ru,lu=iu,vu=Tt("native-string-replace",String.prototype.replace),du=RegExp.prototype.exec,pu=du,yu=su("".charAt),gu=su("".indexOf),mu=su("".replace),bu=su("".slice),wu=(Kh=/b*/g,nu(du,Zh=/a/,"a"),nu(du,Kh,"a"),0!==Zh.lastIndex||0!==Kh.lastIndex),xu=hu.BROKEN_CARET,Mu=void 0!==/()??/.exec("")[1];(wu||Mu||xu||fu||lu)&&(pu=function(t){var r,e,i,n,s,a,o,h=this,u=cu(h),c=au(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=nu(pu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=xu&&h.sticky,d=nu(ou,h),p=h.source,y=0,g=c;if(v&&(d=mu(d,"y",""),-1===gu(d,"g")&&(d+="g"),g=bu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==yu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),e=new RegExp("^(?:"+p+")",d)),Mu&&(e=new RegExp("^"+p+"$(?!\\s)",d)),wu&&(i=h.lastIndex),n=nu(du,v?e:h,g),v?n?(n.input=bu(n.input,y),n[0]=bu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:wu&&n&&(h.lastIndex=h.global?n.index+n[0].length:i),Mu&&n&&n.length>1&&nu(vu,n[0],e,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=uu(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var ku=pu;Di({target:"RegExp",proto:!0,forced:/./.exec!==ku},{exec:ku});var Nu=c,Su=$e,Ou=ku,Pu=a,ju=Qt,Eu=Lr,Cu=ju("species"),Tu=RegExp.prototype,Au=function(t,r,e,i){var n=ju(t),s=!Pu((function(){var r={};return r[n]=function(){return 7},7!==""[t](r)})),a=s&&!Pu((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Cu]=function(){return e},e.flags="",e[n]=/./[n]),e.exec=function(){return r=!0,null},e[n](""),!r}));if(!s||!a||e){var o=/./[n],h=r(n,""[t],(function(t,r,e,i,n){var a=r.exec;return a===Ou||a===Tu.exec?s&&!n?{done:!0,value:Nu(o,r,e,i)}:{done:!0,value:Nu(t,e,r,i)}:{done:!1}}));Su(String.prototype,t,h[0]),Su(Tu,n,h[1])}i&&Eu(Tu[n],"sham",!0)},Ru=M,Bu=_e,$u=xh,Du=$,Lu=Ru("".charAt),Fu=Ru("".charCodeAt),Iu=Ru("".slice),zu=function(t){return function(r,e){var i,n,s=$u(Du(r)),a=Bu(e),o=s.length;return a<0||a>=o?t?"":void 0:(i=Fu(s,a))<55296||i>56319||a+1===o||(n=Fu(s,a+1))<56320||n>57343?t?Lu(s,a):i:t?Iu(s,a,a+2):n-56320+(i-55296<<10)+65536}},_u=(zu(!1),zu(!0)),Yu=function(t,r,e){return r+(e?_u(t,r).length:1)},Xu=c,Uu=Sr,qu=z,Gu=O,Vu=ku,Hu=TypeError,Wu=function(t,r){var e=t.exec;if(qu(e)){var i=Xu(e,t,r);return null!==i&&Uu(i),i}if("RegExp"===Gu(t))return Xu(Vu,t,r);throw new Hu("RegExp#exec called on incompatible receiver")},Qu=c,Zu=Sr,Ku=A,Ju=Ve,tc=xh,rc=$,ec=bt,ic=Yu,nc=Wu;Au("match",(function(t,r,e){return[function(r){var e=rc(this),i=Ku(r)?void 0:ec(r,t);return i?Qu(i,r,e):new RegExp(r)[t](tc(e))},function(t){var i=Zu(this),n=tc(t),s=e(r,i,n);if(s.done)return s.value;if(!i.global)return nc(i,n);var a=i.unicode;i.lastIndex=0;for(var o,h=[],u=0;null!==(o=nc(i,n));){var c=tc(o[0]);h[u]=c,""===c&&(i.lastIndex=ic(n,Ju(i.lastIndex),a)),u++}return 0===u?null:h}]}));var sc=M,ac=Bt,oc=Math.floor,hc=sc("".charAt),uc=sc("".replace),cc=sc("".slice),fc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lc=/\$([$&'`]|\d{1,2})/g,vc=qn,dc=c,pc=M,yc=Au,gc=a,mc=Sr,bc=z,wc=A,xc=_e,Mc=Ve,kc=xh,Nc=$,Sc=Yu,Oc=bt,Pc=function(t,r,e,i,n,s){var a=e+t.length,o=i.length,h=lc;return void 0!==n&&(n=ac(n),h=fc),uc(s,h,(function(s,h){var u;switch(hc(h,0)){case"$":return"$";case"&":return t;case"`":return cc(r,0,e);case"'":return cc(r,a);case"<":u=n[cc(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=oc(c/10);return 0===f?s:f<=o?void 0===i[f-1]?hc(h,1):i[f-1]+hc(h,1):s}u=i[c-1]}return void 0===u?"":u}))},jc=Wu,Ec=Qt("replace"),Cc=Math.max,Tc=Math.min,Ac=pc([].concat),Rc=pc([].push),Bc=pc("".indexOf),$c=pc("".slice),Dc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Ec]&&""===/./[Ec]("a","$0");yc("replace",(function(t,r,e){var i=Lc?"$":"$0";return[function(t,e){var i=Nc(this),n=wc(t)?void 0:Oc(t,Ec);return n?dc(n,t,i,e):dc(r,kc(i),t,e)},function(t,n){var s=mc(this),a=kc(t);if("string"==typeof n&&-1===Bc(n,i)&&-1===Bc(n,"$<")){var o=e(r,s,a,n);if(o.done)return o.value}var h=bc(n);h||(n=kc(n));var u,c=s.global;c&&(u=s.unicode,s.lastIndex=0);for(var f,l=[];null!==(f=jc(s,a))&&(Rc(l,f),c);)""===kc(f[0])&&(s.lastIndex=Sc(a,Mc(s.lastIndex),u));for(var v,d="",p=0,y=0;y<l.length;y++){for(var g,m=kc((f=l[y])[0]),b=Cc(Tc(xc(f.index),a.length),0),w=[],x=1;x<f.length;x++)Rc(w,void 0===(v=f[x])?v:String(v));var M=f.groups;if(h){var k=Ac([m],w,b,a);void 0!==M&&Rc(k,M),g=kc(vc(n,void 0,k))}else g=Pc(m,a,b,w,M,n);b>=p&&(d+=$c(a,p,b)+g,p=b+m.length)}return d+$c(a,p)}]}),!!gc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Dc||Lc);var Fc,Ic=Y,zc=O,_c=Qt("match"),Yc=TypeError,Xc=function(t){if(function(t){var r;return Ic(t)&&(void 0!==(r=t[_c])?!!r:"RegExp"===zc(t))}(t))throw new Yc("The method doesn't accept regular expressions");return t},Uc=Qt("match"),qc=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[Uc]=!1,"/./"[t](r)}catch(t){}}return!1},Gc=Di,Vc=s.f,Hc=Ve,Wc=xh,Qc=Xc,Zc=$,Kc=qc,Jc=Hn("".slice),tf=Math.min,rf=Kc("startsWith");Gc({target:"String",proto:!0,forced:!(!rf&&(Fc=Vc(String.prototype,"startsWith"),Fc&&!Fc.writable)||rf)},{startsWith:function(t){var r=Wc(Zc(this));Qc(t);var e=Hc(tf(arguments.length>1?arguments[1]:void 0,r.length)),i=Wc(t);return Jc(r,e,e+i.length)===i}});var ef=Jh,nf=wr.f,sf=Qt("unscopables"),af=Array.prototype;void 0===af[sf]&&nf(af,sf,{configurable:!0,value:ef(null)});var of,hf,uf,cf=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ff=Lt,lf=z,vf=Bt,df=cf,pf=re("IE_PROTO"),yf=Object,gf=yf.prototype,mf=df?yf.getPrototypeOf:function(t){var r=vf(t);if(ff(r,pf))return r[pf];var e=r.constructor;return lf(e)&&r instanceof e?e.prototype:r instanceof yf?gf:null},bf=a,wf=z,xf=Y,Mf=mf,kf=$e,Nf=Qt("iterator"),Sf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Sf=!0);var Of=!xf(of)||bf((function(){var t={};return of[Nf].call(t)!==t}));Of&&(of={}),wf(of[Nf])||kf(of,Nf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Sf},jf=Pf.IteratorPrototype,Ef=Jh,Cf=g,Tf=rn,Af=yo,Rf=function(){return this},Bf=Di,$f=c,Df=z,Lf=mf,Ff=Zi,If=rn,zf=Lr,_f=$e,Yf=yo,Xf=Xr.PROPER,Uf=Xr.CONFIGURABLE,qf=Pf.IteratorPrototype,Gf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Qt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=F,Jf=function(t){af[sf][t]=!0},tl=yo,rl=wr.f,el=function(t,r){return{value:t,done:r}},il=o,nl="Array Iterator",sl=ve.set,al=ve.getterFor(nl),ol=function(t,r,e,i,n,s,a){!function(t,r,e,i){var n=r+" Iterator";t.prototype=Ef(jf,{next:Cf(+!i,e)}),Tf(t,n,!1),Af[n]=Rf}(e,r,i);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Gf&&t&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new e(this,t)}}return function(){return new e(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Gf&&d||c(n),y="Array"===r&&v.entries||d;if(y&&(o=Lf(y.call(new t)))!==Object.prototype&&o.next&&(Lf(o)!==qf&&(Ff?Ff(o,qf):Df(o[Vf])||_f(o,Vf,Zf)),If(o,f,!0)),Xf&&n===Wf&&d&&d.name!==Wf&&(Uf?zf(v,"name",Wf):(l=!0,p=function(){return $f(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Gf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Gf||l},h);return v[Vf]!==p&&_f(v,Vf,p,{name:n}),Yf[r]=p,h}(Array,"Array",(function(t,r){sl(this,{type:nl,target:Kf(t),index:0,kind:r})}),(function(){var t=al(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,el(void 0,!0);switch(t.kind){case"keys":return el(e,!1);case"values":return el(r[e],!1)}return el([e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),il&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=ur("span").classList,cl=ul&&ul.constructor&&ul.constructor.prototype,fl=n,ll={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=cl===Object.prototype?void 0:cl,dl=ol,pl=Lr,yl=rn,gl=Qt("iterator"),ml=dl.values,bl=function(t,r){if(t){if(t[gl]!==ml)try{pl(t,gl,ml)}catch(r){t[gl]=ml}if(yl(t,r,!0),ll[r])for(var e in dl)if(t[e]!==dl[e])try{pl(t,e,dl[e])}catch(r){t[e]=dl[e]}}};for(var wl in ll)bl(fl[wl]&&fl[wl].prototype,wl);bl(vl,"DOMTokenList");var xl=yt,Ml=Bt,kl=T,Nl=We,Sl=TypeError,Ol="Reduce of empty array with no initial value",Pl=function(t){return function(r,e,i,n){var s=Ml(r),a=kl(s),o=Nl(s);if(xl(e),0===o&&i<2)throw new Sl(Ol);var h=t?o-1:0,u=t?-1:1;if(i<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw new Sl(Ol)}for(;t?h>=0:o>h;h+=u)h in a&&(n=e(n,a[h],h,s));return n}},jl={left:Pl(!1),right:Pl(!0)},El=a,Cl=function(t,r){var e=[][t];return!!e&&El((function(){e.call(null,r||function(){return 1},1)}))},Tl=jl.left;Di({target:"Array",proto:!0,forced:!Yi&&rt>79&&rt<83||!Cl("reduce")},{reduce:function(t){var r=arguments.length;return Tl(this,t,r,r>1?arguments[1]:void 0)}});var Al=Di,Rl=s.f,Bl=Ve,$l=xh,Dl=Xc,Ll=$,Fl=qc,Il=Hn("".slice),zl=Math.min,_l=Fl("endsWith"),Yl=!_l&&!!function(){var t=Rl(String.prototype,"endsWith");return t&&!t.writable}();Al({target:"String",proto:!0,forced:!Yl&&!_l},{endsWith:function(t){var r=$l(Ll(this));Dl(t);var e=arguments.length>1?arguments[1]:void 0,i=r.length,n=void 0===e?i:zl(Bl(e),i),s=$l(t);return Il(r,n-s.length,n)===s}});var Xl=c,Ul=M,ql=Au,Gl=Sr,Vl=A,Hl=$,Wl=_n,Ql=Yu,Zl=Ve,Kl=xh,Jl=bt,tv=Wu,rv=a,ev=jh.UNSUPPORTED_Y,iv=Math.min,nv=Ul([].push),sv=Ul("".slice),av=!rv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),ov="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;ql("split",(function(t,r,e){var i="0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:Xl(r,this,t,e)}:r;return[function(r,e){var n=Hl(this),s=Vl(r)?void 0:Jl(r,t);return s?Xl(s,r,n,e):Xl(i,Kl(n),r,e)},function(t,n){var s=Gl(this),a=Kl(t);if(!ov){var o=e(i,s,a,n,i!==r);if(o.done)return o.value}var h=Wl(s,RegExp),u=s.unicode,c=new h(ev?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(ev?"g":"y")),f=void 0===n?4294967295:n>>>0;if(0===f)return[];if(0===a.length)return null===tv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=ev?0:v;var p,y=tv(c,ev?sv(a,v):a);if(null===y||(p=iv(Zl(c.lastIndex+(ev?v:0)),a.length))===l)v=Ql(a,v,u);else{if(nv(d,sv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(nv(d,y[g]),d.length===f)return d;v=l=p}}return nv(d,sv(a,l)),d}]}),ov||!av,ev);var hv={exports:{}},uv={exports:{}};(function(){var t,r,e,i,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?uv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(uv.exports=function(){return(t()-n)/1e6},r=process.hrtime,i=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=i-s):Date.now?(uv.exports=function(){return Date.now()-e},e=Date.now()):(uv.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t);for(var cv=uv.exports,fv="undefined"==typeof window?t:window,lv=["moz","webkit"],vv="AnimationFrame",dv=fv["request"+vv],pv=fv["cancel"+vv]||fv["cancelRequest"+vv],yv=0;!dv&&yv<lv.length;yv++)dv=fv[lv[yv]+"Request"+vv],pv=fv[lv[yv]+"Cancel"+vv]||fv[lv[yv]+"CancelRequest"+vv];if(!dv||!pv){var gv=0,mv=0,bv=[],wv=1e3/60;dv=function(t){if(0===bv.length){var r=cv(),e=Math.max(0,wv-(r-gv));gv=e+r,setTimeout((function(){var t=bv.slice(0);bv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(gv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return bv.push({handle:++mv,callback:t,cancelled:!1}),mv},pv=function(t){for(var r=0;r<bv.length;r++)bv[r].handle===t&&(bv[r].cancelled=!0)}}hv.exports=function(t){return dv.call(fv,t)},hv.exports.cancel=function(){pv.apply(fv,arguments)},hv.exports.polyfill=function(t){t||(t=fv),t.requestAnimationFrame=dv,t.cancelAnimationFrame=pv};const xv=hv.exports;var Mv,kv="\t\n\v\f\r \u2028\u2029\ufeff",Nv=$,Sv=xh,Ov=kv,Pv=M("".replace),jv=RegExp("^["+Ov+"]+"),Ev=RegExp("(^|[^"+Ov+"])["+Ov+"]+$"),Cv=function(t){return function(r){var e=Sv(Nv(r));return 1&t&&(e=Pv(e,jv,"")),2&t&&(e=Pv(e,Ev,"$1")),e}},Tv={start:Cv(1),end:Cv(2),trim:Cv(3)},Av=Xr.PROPER,Rv=kv,Bv=Tv.trim;Di({target:"String",proto:!0,forced:(Mv="trim",a((function(){return!!Rv[Mv]()||"
"!=="
"[Mv]()||Av&&Rv[Mv].name!==Mv})))},{trim:function(){return Bv(this)}});var $v=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var e=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],i=0;i<e.length;i++){var n=e[i].process,s=e[i].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),e=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==e.length&&(e="0"+e),"#"+t+r+e},this.getHelpXML=function(){for(var t=new Array,i=0;i<e.length;i++)for(var n=e[i].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),i=0;i<t.length;i++)try{var h=document.createElement("li"),u=new RGBColor(t[i]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[i]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},Dv=Di,Lv=Je.indexOf,Fv=Cl,Iv=Hn([].indexOf),zv=!!Iv&&1/Iv([1],1,-0)<0;Dv({target:"Array",proto:!0,forced:zv||!Fv("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return zv?Iv(this,t,r)||0:Lv(this,t,r)}});var _v=Di,Yv=Xc,Xv=$,Uv=xh,qv=qc,Gv=M("".indexOf);_v({target:"String",proto:!0,forced:!qv("includes")},{includes:function(t){return!!~Gv(Uv(Xv(this)),Uv(Yv(t)),arguments.length>1?arguments[1]:void 0)}});var Vv=O,Hv=Di,Wv=Array.isArray||function(t){return"Array"===Vv(t)},Qv=M([].reverse),Zv=[1,2];Hv({target:"Array",proto:!0,forced:String(Zv)===String(Zv.reverse())},{reverse:function(){return Wv(this)&&(this.length=this.length),Qv(this)}});
|
6
|
+
import{c as t}from"./p-d4056c1c.js";import{_ as r,a as e}from"./p-62a0aa8e.js";import"./p-af7e43e0.js";var i=function(t){return t&&t.Math===Math&&t},n=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||i("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},a=function(t){try{return!!t()}catch(t){return!0}},o=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=Function.prototype.call,c=h?u.bind(u):function(){return u.apply(u,arguments)},f={},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1);f.f=d?function(t){var r=v(this,t);return!!r&&r.enumerable}:l;var p,y,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=h,b=Function.prototype,w=b.call,x=m&&b.bind.bind(w,w),M=m?x:function(t){return function(){return w.apply(t,arguments)}},k=M,N=k({}.toString),S=k("".slice),O=function(t){return S(N(t),8,-1)},P=a,j=O,E=Object,C=M("".split),T=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"===j(t)?C(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,$=function(t){if(R(t))throw new B("Can't call method on "+t);return t},D=T,L=$,F=function(t){return D(L(t))},I="object"==typeof document&&document.all,z=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},_=z,Y=function(t){return"object"==typeof t?null!==t:_(t)},X=n,U=z,q=function(t,r){return arguments.length<2?U(e=X[t])?e:void 0:X[t]&&X[t][r];var e},G=M({}.isPrototypeOf),V=n.navigator,H=V&&V.userAgent,W=H?String(H):"",Q=W,Z=n.process,K=n.Deno,J=Z&&Z.versions||K&&K.version,tt=J&&J.v8;tt&&(y=(p=tt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Q&&(!(p=Q.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Q.match(/Chrome\/(\d+)/))&&(y=+p[1]);var rt=y,et=rt,it=n.String,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol("symbol detection");return!it(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=q,ot=z,ht=G,ut=Object,ct=st?function(t){return"symbol"==typeof t}:function(t){var r=at("Symbol");return ot(r)&&ht(r.prototype,ut(t))},ft=String,lt=function(t){try{return ft(t)}catch(t){return"Object"}},vt=z,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw new pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var e=t[r];return mt(e)?void 0:gt(e)},wt=c,xt=z,Mt=Y,kt=TypeError,Nt={exports:{}},St=n,Ot=Object.defineProperty,Pt=function(t,r){try{Ot(St,t,{value:r,configurable:!0,writable:!0})}catch(e){St[t]=r}return r},jt="__core-js_shared__",Et=Nt.exports=n[jt]||Pt(jt,{});(Et.versions||(Et.versions=[])).push({version:"3.39.0",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=Nt.exports,Tt=function(t,r){return Ct[t]||(Ct[t]=r||{})},At=$,Rt=Object,Bt=function(t){return Rt(At(t))},$t=Bt,Dt=M({}.hasOwnProperty),Lt=Object.hasOwn||function(t,r){return Dt($t(t),r)},Ft=M,It=0,zt=Math.random(),_t=Ft(1..toString),Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+_t(++It+zt,36)},Xt=Lt,Ut=Yt,qt=nt,Gt=st,Vt=n.Symbol,Ht=Tt("wks"),Wt=Gt?Vt.for||Vt:Vt&&Vt.withoutSetter||Ut,Qt=function(t){return Xt(Ht,t)||(Ht[t]=qt&&Xt(Vt,t)?Vt[t]:Wt("Symbol."+t)),Ht[t]},Zt=c,Kt=Y,Jt=ct,tr=bt,rr=TypeError,er=Qt("toPrimitive"),ir=function(t,r){if(!Kt(t)||Jt(t))return t;var e,i=tr(t,er);if(i){if(void 0===r&&(r="default"),e=Zt(i,t,r),!Kt(e)||Jt(e))return e;throw new rr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var e,i;if("string"===r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;if(xt(e=t.valueOf)&&!Mt(i=wt(e,t)))return i;if("string"!==r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;throw new kt("Can't convert object to primitive value")}(t,r)},nr=ct,sr=function(t){var r=ir(t,"string");return nr(r)?r:r+""},ar=Y,or=n.document,hr=ar(or)&&ar(or.createElement),ur=function(t){return hr?or.createElement(t):{}},cr=ur,fr=!o&&!a((function(){return 7!==Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a})),lr=c,vr=f,dr=g,pr=F,yr=sr,gr=Lt,mr=fr,br=Object.getOwnPropertyDescriptor;s.f=o?br:function(t,r){if(t=pr(t),r=yr(r),mr)try{return br(t,r)}catch(t){}if(gr(t,r))return dr(!lr(vr.f,t,r),t[r])};var wr={},xr=o&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mr=Y,kr=String,Nr=TypeError,Sr=function(t){if(Mr(t))return t;throw new Nr(kr(t)+" is not an object")},Or=fr,Pr=Sr,jr=sr,Er=TypeError,Cr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Ar="enumerable",Rr="configurable",Br="writable";wr.f=o?xr?function(t,r,e){if(Pr(t),r=jr(r),Pr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&Br in e&&!e[Br]){var i=Tr(t,r);i&&i[Br]&&(t[r]=e.value,e={configurable:Rr in e?e[Rr]:i[Rr],enumerable:Ar in e?e[Ar]:i[Ar],writable:!1})}return Cr(t,r,e)}:Cr:function(t,r,e){if(Pr(t),r=jr(r),Pr(e),Or)try{return Cr(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Er("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var $r=wr,Dr=g,Lr=o?function(t,r,e){return $r.f(t,r,Dr(1,e))}:function(t,r,e){return t[r]=e,t},Fr={exports:{}},Ir=o,zr=Function.prototype,_r=Ir&&Object.getOwnPropertyDescriptor,Yr=Lt(zr,"name"),Xr={EXISTS:Yr,PROPER:Yr&&"something"===function(){}.name,CONFIGURABLE:Yr&&(!Ir||Ir&&_r(zr,"name").configurable)},Ur=z,qr=Nt.exports,Gr=M(Function.toString);Ur(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Vr,Hr,Wr,Qr=qr.inspectSource,Zr=n.WeakMap,Kr=z(Zr)&&/native code/.test(String(Zr)),Jr=Yt,te=Tt("keys"),re=function(t){return te[t]||(te[t]=Jr(t))},ee={},ie=Y,ne=Lr,se=Lt,ae=Nt.exports,oe=re,he=ee,ue="Object already initialized",ce=n.TypeError;if(Kr||ae.state){var fe=ae.state||(ae.state=new(0,n.WeakMap));fe.get=fe.get,fe.has=fe.has,fe.set=fe.set,Vr=function(t,r){if(fe.has(t))throw new ce(ue);return r.facade=t,fe.set(t,r),r},Hr=function(t){return fe.get(t)||{}},Wr=function(t){return fe.has(t)}}else{var le=oe("state");he[le]=!0,Vr=function(t,r){if(se(t,le))throw new ce(ue);return r.facade=t,ne(t,le,r),r},Hr=function(t){return se(t,le)?t[le]:{}},Wr=function(t){return se(t,le)}}var ve={set:Vr,get:Hr,has:Wr,enforce:function(t){return Wr(t)?Hr(t):Vr(t,{})},getterFor:function(t){return function(r){var e;if(!ie(r)||(e=Hr(r)).type!==t)throw new ce("Incompatible receiver, "+t+" required");return e}}},de=M,pe=a,ye=z,ge=Lt,me=o,be=Xr.CONFIGURABLE,we=Qr,xe=ve.enforce,Me=ve.get,ke=String,Ne=Object.defineProperty,Se=de("".slice),Oe=de("".replace),Pe=de([].join),je=me&&!pe((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),Ee=String(String).split("String"),Ce=Fr.exports=function(t,r,e){"Symbol("===Se(ke(r),0,7)&&(r="["+Oe(ke(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!ge(t,"name")||be&&t.name!==r)&&(me?Ne(t,"name",{value:r,configurable:!0}):t.name=r),je&&e&&ge(e,"arity")&&t.length!==e.arity&&Ne(t,"length",{value:e.arity});try{e&&ge(e,"constructor")&&e.constructor?me&&Ne(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=xe(t);return ge(i,"source")||(i.source=Pe(Ee,"string"==typeof r?r:"")),t};Function.prototype.toString=Ce((function(){return ye(this)&&Me(this).source||we(this)}),"toString");var Te=z,Ae=wr,Re=Fr.exports,Be=Pt,$e=function(t,r,e,i){i||(i={});var n=i.enumerable,s=void 0!==i.name?i.name:r;if(Te(e)&&Re(e,s,i),i.global)n?t[r]=e:Be(r,e);else{try{i.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=e:Ae.f(t,r,{value:e,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t},De={},Le=Math.ceil,Fe=Math.floor,Ie=Math.trunc||function(t){var r=+t;return(r>0?Fe:Le)(r)},ze=Ie,_e=function(t){var r=+t;return r!=r||0===r?0:ze(r)},Ye=_e,Xe=Math.max,Ue=Math.min,qe=_e,Ge=Math.min,Ve=function(t){var r=qe(t);return r>0?Ge(r,9007199254740991):0},He=Ve,We=function(t){return He(t.length)},Qe=F,Ze=We,Ke=function(t){return function(r,e,i){var n=Qe(r),s=Ze(n);if(0===s)return!t&&-1;var a,o=function(t,r){var e=Ye(t);return e<0?Xe(e+r,0):Ue(e,r)}(i,s);if(t&&e!=e){for(;s>o;)if((a=n[o++])!=a)return!0}else for(;s>o;o++)if((t||o in n)&&n[o]===e)return t||o||0;return!t&&-1}},Je={includes:Ke(!0),indexOf:Ke(!1)},ti=Lt,ri=F,ei=Je.indexOf,ii=ee,ni=M([].push),si=function(t,r){var e,i=ri(t),n=0,s=[];for(e in i)!ti(ii,e)&&ti(i,e)&&ni(s,e);for(;r.length>n;)ti(i,e=r[n++])&&(~ei(s,e)||ni(s,e));return s},ai=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oi=si,hi=ai.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(t){return oi(t,hi)};var ui={};ui.f=Object.getOwnPropertySymbols;var ci=q,fi=De,li=ui,vi=Sr,di=M([].concat),pi=ci("Reflect","ownKeys")||function(t){var r=fi.f(vi(t)),e=li.f;return e?di(r,e(t)):r},yi=Lt,gi=pi,mi=s,bi=wr,wi=a,xi=z,Mi=/#|\.prototype\./,ki=function(t,r){var e=Si[Ni(t)];return e===Pi||e!==Oi&&(xi(r)?wi(r):!!r)},Ni=ki.normalize=function(t){return String(t).replace(Mi,".").toLowerCase()},Si=ki.data={},Oi=ki.NATIVE="N",Pi=ki.POLYFILL="P",ji=ki,Ei=n,Ci=s.f,Ti=Lr,Ai=$e,Ri=Pt,Bi=function(t,r,e){for(var i=gi(r),n=bi.f,s=mi.f,a=0;a<i.length;a++){var o=i[a];yi(t,o)||e&&yi(e,o)||n(t,o,s(r,o))}},$i=ji,Di=function(t,r){var e,i,n,s,a,o=t.target,h=t.global,u=t.stat;if(e=h?Ei:u?Ei[o]||Ri(o,{}):Ei[o]&&Ei[o].prototype)for(i in r){if(s=r[i],n=t.dontCallGetSet?(a=Ci(e,i))&&a.value:e[i],!$i(h?i:o+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Bi(s,n)}(t.sham||n&&n.sham)&&Ti(s,"sham",!0),Ai(e,i,s,t)}},Li=n,Fi=W,Ii=O,zi=function(t){return Fi.slice(0,t.length)===t},_i=zi("Bun/")?"BUN":zi("Cloudflare-Workers")?"CLOUDFLARE":zi("Deno/")?"DENO":zi("Node.js/")?"NODE":Li.Bun&&"string"==typeof Bun.version?"BUN":Li.Deno&&"object"==typeof Deno.version?"DENO":"process"===Ii(Li.process)?"NODE":Li.window&&Li.document?"BROWSER":"REST",Yi="NODE"===_i,Xi=M,Ui=yt,qi=Y,Gi=String,Vi=TypeError,Hi=Y,Wi=$,Qi=function(t){if(function(t){return qi(t)||null===t}(t))return t;throw new Vi("Can't set "+Gi(t)+" as a prototype")},Zi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=function(t,r,e){try{return Xi(Ui(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return Wi(e),Qi(i),Hi(e)?(r?t(e,i):e.__proto__=i,e):e}}():void 0),Ki=wr.f,Ji=Lt,tn=Qt("toStringTag"),rn=function(t,r,e){t&&!e&&(t=t.prototype),t&&!Ji(t,tn)&&Ki(t,tn,{configurable:!0,value:r})},en=Fr.exports,nn=wr,sn=q,an=o,on=Qt("species"),hn=G,un=TypeError,cn={};cn[Qt("toStringTag")]="z";var fn="[object z]"===String(cn),ln=z,vn=O,dn=Qt("toStringTag"),pn=Object,yn="Arguments"===vn(function(){return arguments}()),gn=fn?vn:function(t){var r,e,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=pn(t),dn))?e:yn?vn(r):"Object"===(i=vn(r))&&ln(r.callee)?"Arguments":i},mn=M,bn=a,wn=z,xn=gn,Mn=Qr,kn=function(){},Nn=q("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,On=mn(Sn.exec),Pn=!Sn.test(kn),jn=function(t){if(!wn(t))return!1;try{return Nn(kn,[],t),!0}catch(t){return!1}},En=function(t){if(!wn(t))return!1;switch(xn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Pn||!!On(Sn,Mn(t))}catch(t){return!0}};En.sham=!0;var Cn,Tn,An,Rn,Bn=!Nn||bn((function(){var t;return jn(jn.call)||!jn(Object)||!jn((function(){t=!0}))||t}))?En:jn,$n=Bn,Dn=lt,Ln=TypeError,Fn=Sr,In=A,zn=Qt("species"),_n=function(t,r){var e,i=Fn(t).constructor;return void 0===i||In(e=Fn(i)[zn])?r:function(t){if($n(t))return t;throw new Ln(Dn(t)+" is not a constructor")}(e)},Yn=Function.prototype,Xn=Yn.apply,Un=Yn.call,qn="object"==typeof Reflect&&Reflect.apply||(h?Un.bind(Xn):function(){return Un.apply(Xn,arguments)}),Gn=O,Vn=M,Hn=function(t){if("Function"===Gn(t))return Vn(t)},Wn=yt,Qn=h,Zn=Hn(Hn.bind),Kn=function(t,r){return Wn(t),void 0===r?t:Qn?Zn(t,r):function(){return t.apply(r,arguments)}},Jn=q("document","documentElement"),ts=M([].slice),rs=TypeError,es=/(?:ipad|iphone|ipod).*applewebkit/i.test(W),is=n,ns=qn,ss=Kn,as=z,os=Lt,hs=a,us=Jn,cs=ts,fs=ur,ls=es,vs=Yi,ds=is.setImmediate,ps=is.clearImmediate,ys=is.process,gs=is.Dispatch,ms=is.Function,bs=is.MessageChannel,ws=is.String,xs=0,Ms={},ks="onreadystatechange";hs((function(){Cn=is.location}));var Ns=function(t){if(os(Ms,t)){var r=Ms[t];delete Ms[t],r()}},Ss=function(t){return function(){Ns(t)}},Os=function(t){Ns(t.data)},Ps=function(t){is.postMessage(ws(t),Cn.protocol+"//"+Cn.host)};ds&&ps||(ds=function(t){!function(t,r){if(t<r)throw new rs("Not enough arguments")}(arguments.length,1);var r=as(t)?t:ms(t),e=cs(arguments,1);return Ms[++xs]=function(){ns(r,void 0,e)},Tn(xs),xs},ps=function(t){delete Ms[t]},vs?Tn=function(t){ys.nextTick(Ss(t))}:gs&&gs.now?Tn=function(t){gs.now(Ss(t))}:bs&&!ls?(Rn=(An=new bs).port2,An.port1.onmessage=Os,Tn=ss(Rn.postMessage,Rn)):is.addEventListener&&as(is.postMessage)&&!is.importScripts&&Cn&&"file:"!==Cn.protocol&&!hs(Ps)?(Tn=Ps,is.addEventListener("message",Os,!1)):Tn=ks in fs("script")?function(t){us.appendChild(fs("script"))[ks]=function(){us.removeChild(this),Ns(t)}}:function(t){setTimeout(Ss(t),0)});var js={set:ds,clear:ps},Es=n,Cs=o,Ts=Object.getOwnPropertyDescriptor,As=function(){this.head=null,this.tail=null};As.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Rs,Bs,$s,Ds,Ls,Fs=As,Is=/ipad|iphone|ipod/i.test(W)&&"undefined"!=typeof Pebble,zs=/web0s(?!.*chrome)/i.test(W),_s=n,Ys=Kn,Xs=js.set,Us=Fs,qs=es,Gs=Is,Vs=zs,Hs=Yi,Ws=_s.MutationObserver||_s.WebKitMutationObserver,Qs=_s.document,Zs=_s.process,Ks=_s.Promise,Js=function(t){if(!Cs)return Es[t];var r=Ts(Es,t);return r&&r.value}("queueMicrotask");if(!Js){var ta=new Us,ra=function(){var t,r;for(Hs&&(t=Zs.domain)&&t.exit();r=ta.get();)try{r()}catch(t){throw ta.head&&Rs(),t}t&&t.enter()};qs||Hs||Vs||!Ws||!Qs?!Gs&&Ks&&Ks.resolve?((Ds=Ks.resolve(void 0)).constructor=Ks,Ls=Ys(Ds.then,Ds),Rs=function(){Ls(ra)}):Hs?Rs=function(){Zs.nextTick(ra)}:(Xs=Ys(Xs,_s),Rs=function(){Xs(ra)}):(Bs=!0,$s=Qs.createTextNode(""),new Ws(ra).observe($s,{characterData:!0}),Rs=function(){$s.data=Bs=!Bs}),Js=function(t){ta.head||Rs(),ta.add(t)}}var ea=Js,ia=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},na=n.Promise,sa=n,aa=na,oa=z,ha=ji,ua=Qr,ca=_i,fa=rt,la=Qt("species"),va=!1,da=oa(sa.PromiseRejectionEvent),pa=ha("Promise",(function(){var t=ua(aa),r=t!==String(aa);if(!r&&66===fa)return!0;if(!fa||fa<51||!/native code/.test(t)){var e=new aa((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((e.constructor={})[la]=i,!(va=e.then((function(){}))instanceof i))return!0}return!(r||"BROWSER"!==ca&&"DENO"!==ca||da)})),ya={CONSTRUCTOR:pa,REJECTION_EVENT:da,SUBCLASSING:va},ga={},ma=yt,ba=TypeError,wa=function(t){var r,e;this.promise=new t((function(t,i){if(void 0!==r||void 0!==e)throw new ba("Bad Promise constructor");r=t,e=i})),this.resolve=ma(r),this.reject=ma(e)};ga.f=function(t){return new wa(t)};var xa,Ma,ka,Na,Sa=Di,Oa=Yi,Pa=n,ja=c,Ea=$e,Ca=Zi,Ta=rn,Aa=yt,Ra=z,Ba=Y,$a=_n,Da=js.set,La=ea,Fa=ia,Ia=Fs,za=ve,_a=na,Ya=ga,Xa="Promise",Ua=ya.CONSTRUCTOR,qa=ya.REJECTION_EVENT,Ga=ya.SUBCLASSING,Va=za.getterFor(Xa),Ha=za.set,Wa=_a&&_a.prototype,Qa=_a,Za=Wa,Ka=Pa.TypeError,Ja=Pa.document,to=Pa.process,ro=Ya.f,eo=ro,io=!!(Ja&&Ja.createEvent&&Pa.dispatchEvent),no="unhandledrejection",so=function(t){var r;return!(!Ba(t)||!Ra(r=t.then))&&r},ao=function(t,r){var e,i,n,s=r.value,a=1===r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&fo(r),r.rejection=1),!0===o?e=s:(c&&c.enter(),e=o(s),c&&(c.exit(),n=!0)),e===t.promise?u(new Ka("Promise-chain cycle")):(i=so(e))?ja(i,e,h,u):h(e)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},oo=function(t,r){t.notified||(t.notified=!0,La((function(){for(var e,i=t.reactions;e=i.get();)ao(e,t);t.notified=!1,r&&!t.rejection&&uo(t)})))},ho=function(t,r,e){var i,n;io?((i=Ja.createEvent("Event")).promise=r,i.reason=e,i.initEvent(t,!1,!0),Pa.dispatchEvent(i)):i={promise:r,reason:e},!qa&&(n=Pa["on"+t])?n(i):t===no&&function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",e)},uo=function(t){ja(Da,Pa,(function(){var r,e=t.facade,i=t.value;if(co(t)&&(r=Fa((function(){Oa?to.emit("unhandledRejection",i,e):ho(no,e,i)})),t.rejection=Oa||co(t)?2:1,r.error))throw r.value}))},co=function(t){return 1!==t.rejection&&!t.parent},fo=function(t){ja(Da,Pa,(function(){var r=t.facade;Oa?to.emit("rejectionHandled",r):ho("rejectionhandled",r,t.value)}))},lo=function(t,r,e){return function(i){t(r,i,e)}},vo=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,oo(t,!0))},po=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new Ka("Promise can't be resolved itself");var i=so(r);i?La((function(){var e={done:!1};try{ja(i,r,lo(po,e,t),lo(vo,e,t))}catch(r){vo(e,r,t)}})):(t.value=r,t.state=1,oo(t,!1))}catch(r){vo({done:!1},r,t)}}};if(Ua&&(Qa=function(t){(function(t,r){if(hn(r,t))return t;throw new un("Incorrect invocation")})(this,Za),Aa(t),ja(xa,this);var r=Va(this);try{t(lo(po,r),lo(vo,r))}catch(t){vo(r,t)}},(xa=function(){Ha(this,{type:Xa,done:!1,notified:!1,parent:!1,reactions:new Ia,rejection:!1,state:0,value:null})}).prototype=Ea(Za=Qa.prototype,"then",(function(t,r){var e=Va(this),i=ro($a(this,Qa));return e.parent=!0,i.ok=!Ra(t)||t,i.fail=Ra(r)&&r,i.domain=Oa?to.domain:void 0,0===e.state?e.reactions.add(i):La((function(){ao(i,e)})),i.promise})),Ma=function(){var t=new xa,r=Va(t);this.promise=t,this.resolve=lo(po,r),this.reject=lo(vo,r)},Ya.f=ro=function(t){return t===Qa||void 0===t?new Ma(t):eo(t)},Ra(_a)&&Wa!==Object.prototype)){ka=Wa.then,Ga||Ea(Wa,"then",(function(t,r){var e=this;return new Qa((function(t,r){ja(ka,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete Wa.constructor}catch(t){}Ca&&Ca(Wa,Za)}Sa({global:!0,constructor:!0,wrap:!0,forced:Ua},{Promise:Qa}),Ta(Qa,Xa,!1),Na=sn(Xa),an&&Na&&!Na[on]&&function(t,r,e){e.get&&en(e.get,r,{getter:!0}),e.set&&en(e.set,r,{setter:!0}),nn.f(t,r,e)}(Na,on,{configurable:!0,get:function(){return this}});var yo={},go=yo,mo=Qt("iterator"),bo=Array.prototype,wo=gn,xo=bt,Mo=A,ko=yo,No=Qt("iterator"),So=function(t){if(!Mo(t))return xo(t,No)||xo(t,"@@iterator")||ko[wo(t)]},Oo=c,Po=yt,jo=Sr,Eo=lt,Co=So,To=TypeError,Ao=c,Ro=Sr,Bo=bt,$o=Kn,Do=c,Lo=Sr,Fo=lt,Io=We,zo=G,_o=So,Yo=function(t,r,e){var i,n;Ro(t);try{if(!(i=Bo(t,"return"))){if("throw"===r)throw e;return e}i=Ao(i,t)}catch(t){n=!0,i=t}if("throw"===r)throw e;if(n)throw i;return Ro(i),e},Xo=TypeError,Uo=function(t,r){this.stopped=t,this.result=r},qo=Uo.prototype,Go=function(t,r,e){var i,n,s,a,o,h,u,c,f=!(!e||!e.AS_ENTRIES),l=!(!e||!e.IS_RECORD),v=!(!e||!e.IS_ITERATOR),d=!(!e||!e.INTERRUPTED),p=$o(r,e&&e.that),y=function(t){return i&&Yo(i,"normal",t),new Uo(!0,t)},g=function(t){return f?(Lo(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)i=t.iterator;else if(v)i=t;else{if(!(n=_o(t)))throw new Xo(Fo(t)+" is not iterable");if(void 0!==(c=n)&&(go.Array===c||bo[mo]===c)){for(s=0,a=Io(t);a>s;s++)if((o=g(t[s]))&&zo(qo,o))return o;return new Uo(!1)}i=function(t,r){var e=arguments.length<2?Co(t):r;if(Po(e))return jo(Oo(e,t));throw new To(Eo(t)+" is not iterable")}(t,n)}for(h=l?t.next:i.next;!(u=Do(h,i)).done;){try{o=g(u.value)}catch(t){Yo(i,"throw",t)}if("object"==typeof o&&o&&zo(qo,o))return o}return new Uo(!1)},Vo=Qt("iterator"),Ho=!1;try{var Wo=0,Qo={next:function(){return{done:!!Wo++}},return:function(){Ho=!0}};Qo[Vo]=function(){return this},Array.from(Qo,(function(){throw 2}))}catch(t){}var Zo=na,Ko=ya.CONSTRUCTOR||!function(t,r){try{if(!r&&!Ho)return!1}catch(t){return!1}var e=!1;try{var i={};i[Vo]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}((function(t){Zo.all(t).then(void 0,(function(){}))})),Jo=c,th=yt,rh=ga,eh=ia,ih=Go;Di({target:"Promise",stat:!0,forced:Ko},{all:function(t){var r=this,e=rh.f(r),i=e.resolve,n=e.reject,s=eh((function(){var e=th(r.resolve),s=[],a=0,o=1;ih(t,(function(t){var h=a++,u=!1;o++,Jo(e,r,t).then((function(t){u||(u=!0,s[h]=t,--o||i(s))}),n)})),--o||i(s)}));return s.error&&n(s.value),e.promise}});var nh=na,sh=q,ah=z,oh=$e,hh=nh&&nh.prototype;if(Di({target:"Promise",proto:!0,forced:ya.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),ah(nh)){var uh=sh("Promise").prototype.catch;hh.catch!==uh&&oh(hh,"catch",uh,{unsafe:!0})}var ch=c,fh=yt,lh=ga,vh=ia,dh=Go;Di({target:"Promise",stat:!0,forced:Ko},{race:function(t){var r=this,e=lh.f(r),i=e.reject,n=vh((function(){var n=fh(r.resolve);dh(t,(function(t){ch(n,r,t).then(e.resolve,i)}))}));return n.error&&i(n.value),e.promise}});var ph=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{reject:function(t){var r=ph.f(this);return(0,r.reject)(t),r.promise}});var yh=Sr,gh=Y,mh=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(yh(t),gh(r)&&r.constructor===t)return r;var e=mh.f(t);return(0,e.resolve)(r),e.promise}(this,t)}});var bh=gn,wh=String,xh=function(t){if("Symbol"===bh(t))throw new TypeError("Cannot convert a Symbol value to a string");return wh(t)},Mh=Sr,kh=function(){var t=Mh(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Nh=a,Sh=n.RegExp,Oh=Nh((function(){var t=Sh("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ph=Oh||Nh((function(){return!Sh("a","y").sticky})),jh={BROKEN_CARET:Oh||Nh((function(){var t=Sh("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ph,UNSUPPORTED_Y:Oh},Eh={},Ch=si,Th=ai,Ah=Object.keys||function(t){return Ch(t,Th)},Rh=wr,Bh=Sr,$h=F,Dh=Ah;Eh.f=o&&!xr?Object.defineProperties:function(t,r){Bh(t);for(var e,i=$h(r),n=Dh(r),s=n.length,a=0;s>a;)Rh.f(t,e=n[a++],i[e]);return t};var Lh,Fh=Sr,Ih=Eh,zh=ai,_h=ee,Yh=Jn,Xh=ur,Uh="prototype",qh="script",Gh=re("IE_PROTO"),Vh=function(){},Hh=function(t){return"<"+qh+">"+t+"</"+qh+">"},Wh=function(t){t.write(Hh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Qh=function(){try{Lh=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;Qh="undefined"!=typeof document?document.domain&&Lh?Wh(Lh):(r=Xh("iframe"),e="java"+qh+":",r.style.display="none",Yh.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Hh("document.F=Object")),t.close(),t.F):Wh(Lh);for(var i=zh.length;i--;)delete Qh[Uh][zh[i]];return Qh()};_h[Gh]=!0;var Zh,Kh,Jh=Object.create||function(t,r){var e;return null!==t?(Vh[Uh]=Fh(t),e=new Vh,Vh[Uh]=null,e[Gh]=t):e=Qh(),void 0===r?e:Ih.f(e,r)},tu=n.RegExp,ru=a((function(){var t=tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),eu=n.RegExp,iu=a((function(){var t=eu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),nu=c,su=M,au=xh,ou=kh,hu=jh,uu=Jh,cu=ve.get,fu=ru,lu=iu,vu=Tt("native-string-replace",String.prototype.replace),du=RegExp.prototype.exec,pu=du,yu=su("".charAt),gu=su("".indexOf),mu=su("".replace),bu=su("".slice),wu=(Kh=/b*/g,nu(du,Zh=/a/,"a"),nu(du,Kh,"a"),0!==Zh.lastIndex||0!==Kh.lastIndex),xu=hu.BROKEN_CARET,Mu=void 0!==/()??/.exec("")[1];(wu||Mu||xu||fu||lu)&&(pu=function(t){var r,e,i,n,s,a,o,h=this,u=cu(h),c=au(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=nu(pu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=xu&&h.sticky,d=nu(ou,h),p=h.source,y=0,g=c;if(v&&(d=mu(d,"y",""),-1===gu(d,"g")&&(d+="g"),g=bu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==yu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),e=new RegExp("^(?:"+p+")",d)),Mu&&(e=new RegExp("^"+p+"$(?!\\s)",d)),wu&&(i=h.lastIndex),n=nu(du,v?e:h,g),v?n?(n.input=bu(n.input,y),n[0]=bu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:wu&&n&&(h.lastIndex=h.global?n.index+n[0].length:i),Mu&&n&&n.length>1&&nu(vu,n[0],e,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=uu(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var ku=pu;Di({target:"RegExp",proto:!0,forced:/./.exec!==ku},{exec:ku});var Nu=c,Su=$e,Ou=ku,Pu=a,ju=Qt,Eu=Lr,Cu=ju("species"),Tu=RegExp.prototype,Au=function(t,r,e,i){var n=ju(t),s=!Pu((function(){var r={};return r[n]=function(){return 7},7!==""[t](r)})),a=s&&!Pu((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Cu]=function(){return e},e.flags="",e[n]=/./[n]),e.exec=function(){return r=!0,null},e[n](""),!r}));if(!s||!a||e){var o=/./[n],h=r(n,""[t],(function(t,r,e,i,n){var a=r.exec;return a===Ou||a===Tu.exec?s&&!n?{done:!0,value:Nu(o,r,e,i)}:{done:!0,value:Nu(t,e,r,i)}:{done:!1}}));Su(String.prototype,t,h[0]),Su(Tu,n,h[1])}i&&Eu(Tu[n],"sham",!0)},Ru=M,Bu=_e,$u=xh,Du=$,Lu=Ru("".charAt),Fu=Ru("".charCodeAt),Iu=Ru("".slice),zu=function(t){return function(r,e){var i,n,s=$u(Du(r)),a=Bu(e),o=s.length;return a<0||a>=o?t?"":void 0:(i=Fu(s,a))<55296||i>56319||a+1===o||(n=Fu(s,a+1))<56320||n>57343?t?Lu(s,a):i:t?Iu(s,a,a+2):n-56320+(i-55296<<10)+65536}},_u=(zu(!1),zu(!0)),Yu=function(t,r,e){return r+(e?_u(t,r).length:1)},Xu=c,Uu=Sr,qu=z,Gu=O,Vu=ku,Hu=TypeError,Wu=function(t,r){var e=t.exec;if(qu(e)){var i=Xu(e,t,r);return null!==i&&Uu(i),i}if("RegExp"===Gu(t))return Xu(Vu,t,r);throw new Hu("RegExp#exec called on incompatible receiver")},Qu=c,Zu=Sr,Ku=A,Ju=Ve,tc=xh,rc=$,ec=bt,ic=Yu,nc=Wu;Au("match",(function(t,r,e){return[function(r){var e=rc(this),i=Ku(r)?void 0:ec(r,t);return i?Qu(i,r,e):new RegExp(r)[t](tc(e))},function(t){var i=Zu(this),n=tc(t),s=e(r,i,n);if(s.done)return s.value;if(!i.global)return nc(i,n);var a=i.unicode;i.lastIndex=0;for(var o,h=[],u=0;null!==(o=nc(i,n));){var c=tc(o[0]);h[u]=c,""===c&&(i.lastIndex=ic(n,Ju(i.lastIndex),a)),u++}return 0===u?null:h}]}));var sc=M,ac=Bt,oc=Math.floor,hc=sc("".charAt),uc=sc("".replace),cc=sc("".slice),fc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lc=/\$([$&'`]|\d{1,2})/g,vc=qn,dc=c,pc=M,yc=Au,gc=a,mc=Sr,bc=z,wc=A,xc=_e,Mc=Ve,kc=xh,Nc=$,Sc=Yu,Oc=bt,Pc=function(t,r,e,i,n,s){var a=e+t.length,o=i.length,h=lc;return void 0!==n&&(n=ac(n),h=fc),uc(s,h,(function(s,h){var u;switch(hc(h,0)){case"$":return"$";case"&":return t;case"`":return cc(r,0,e);case"'":return cc(r,a);case"<":u=n[cc(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=oc(c/10);return 0===f?s:f<=o?void 0===i[f-1]?hc(h,1):i[f-1]+hc(h,1):s}u=i[c-1]}return void 0===u?"":u}))},jc=Wu,Ec=Qt("replace"),Cc=Math.max,Tc=Math.min,Ac=pc([].concat),Rc=pc([].push),Bc=pc("".indexOf),$c=pc("".slice),Dc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Ec]&&""===/./[Ec]("a","$0");yc("replace",(function(t,r,e){var i=Lc?"$":"$0";return[function(t,e){var i=Nc(this),n=wc(t)?void 0:Oc(t,Ec);return n?dc(n,t,i,e):dc(r,kc(i),t,e)},function(t,n){var s=mc(this),a=kc(t);if("string"==typeof n&&-1===Bc(n,i)&&-1===Bc(n,"$<")){var o=e(r,s,a,n);if(o.done)return o.value}var h=bc(n);h||(n=kc(n));var u,c=s.global;c&&(u=s.unicode,s.lastIndex=0);for(var f,l=[];null!==(f=jc(s,a))&&(Rc(l,f),c);)""===kc(f[0])&&(s.lastIndex=Sc(a,Mc(s.lastIndex),u));for(var v,d="",p=0,y=0;y<l.length;y++){for(var g,m=kc((f=l[y])[0]),b=Cc(Tc(xc(f.index),a.length),0),w=[],x=1;x<f.length;x++)Rc(w,void 0===(v=f[x])?v:String(v));var M=f.groups;if(h){var k=Ac([m],w,b,a);void 0!==M&&Rc(k,M),g=kc(vc(n,void 0,k))}else g=Pc(m,a,b,w,M,n);b>=p&&(d+=$c(a,p,b)+g,p=b+m.length)}return d+$c(a,p)}]}),!!gc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Dc||Lc);var Fc,Ic=Y,zc=O,_c=Qt("match"),Yc=TypeError,Xc=function(t){if(function(t){var r;return Ic(t)&&(void 0!==(r=t[_c])?!!r:"RegExp"===zc(t))}(t))throw new Yc("The method doesn't accept regular expressions");return t},Uc=Qt("match"),qc=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[Uc]=!1,"/./"[t](r)}catch(t){}}return!1},Gc=Di,Vc=s.f,Hc=Ve,Wc=xh,Qc=Xc,Zc=$,Kc=qc,Jc=Hn("".slice),tf=Math.min,rf=Kc("startsWith");Gc({target:"String",proto:!0,forced:!(!rf&&(Fc=Vc(String.prototype,"startsWith"),Fc&&!Fc.writable)||rf)},{startsWith:function(t){var r=Wc(Zc(this));Qc(t);var e=Hc(tf(arguments.length>1?arguments[1]:void 0,r.length)),i=Wc(t);return Jc(r,e,e+i.length)===i}});var ef=Jh,nf=wr.f,sf=Qt("unscopables"),af=Array.prototype;void 0===af[sf]&&nf(af,sf,{configurable:!0,value:ef(null)});var of,hf,uf,cf=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ff=Lt,lf=z,vf=Bt,df=cf,pf=re("IE_PROTO"),yf=Object,gf=yf.prototype,mf=df?yf.getPrototypeOf:function(t){var r=vf(t);if(ff(r,pf))return r[pf];var e=r.constructor;return lf(e)&&r instanceof e?e.prototype:r instanceof yf?gf:null},bf=a,wf=z,xf=Y,Mf=mf,kf=$e,Nf=Qt("iterator"),Sf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Sf=!0);var Of=!xf(of)||bf((function(){var t={};return of[Nf].call(t)!==t}));Of&&(of={}),wf(of[Nf])||kf(of,Nf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Sf},jf=Pf.IteratorPrototype,Ef=Jh,Cf=g,Tf=rn,Af=yo,Rf=function(){return this},Bf=Di,$f=c,Df=z,Lf=mf,Ff=Zi,If=rn,zf=Lr,_f=$e,Yf=yo,Xf=Xr.PROPER,Uf=Xr.CONFIGURABLE,qf=Pf.IteratorPrototype,Gf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Qt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=F,Jf=function(t){af[sf][t]=!0},tl=yo,rl=wr.f,el=function(t,r){return{value:t,done:r}},il=o,nl="Array Iterator",sl=ve.set,al=ve.getterFor(nl),ol=function(t,r,e,i,n,s,a){!function(t,r,e,i){var n=r+" Iterator";t.prototype=Ef(jf,{next:Cf(+!i,e)}),Tf(t,n,!1),Af[n]=Rf}(e,r,i);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Gf&&t&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new e(this,t)}}return function(){return new e(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Gf&&d||c(n),y="Array"===r&&v.entries||d;if(y&&(o=Lf(y.call(new t)))!==Object.prototype&&o.next&&(Lf(o)!==qf&&(Ff?Ff(o,qf):Df(o[Vf])||_f(o,Vf,Zf)),If(o,f,!0)),Xf&&n===Wf&&d&&d.name!==Wf&&(Uf?zf(v,"name",Wf):(l=!0,p=function(){return $f(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Gf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Gf||l},h);return v[Vf]!==p&&_f(v,Vf,p,{name:n}),Yf[r]=p,h}(Array,"Array",(function(t,r){sl(this,{type:nl,target:Kf(t),index:0,kind:r})}),(function(){var t=al(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,el(void 0,!0);switch(t.kind){case"keys":return el(e,!1);case"values":return el(r[e],!1)}return el([e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),il&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=ur("span").classList,cl=ul&&ul.constructor&&ul.constructor.prototype,fl=n,ll={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=cl===Object.prototype?void 0:cl,dl=ol,pl=Lr,yl=rn,gl=Qt("iterator"),ml=dl.values,bl=function(t,r){if(t){if(t[gl]!==ml)try{pl(t,gl,ml)}catch(r){t[gl]=ml}if(yl(t,r,!0),ll[r])for(var e in dl)if(t[e]!==dl[e])try{pl(t,e,dl[e])}catch(r){t[e]=dl[e]}}};for(var wl in ll)bl(fl[wl]&&fl[wl].prototype,wl);bl(vl,"DOMTokenList");var xl=yt,Ml=Bt,kl=T,Nl=We,Sl=TypeError,Ol="Reduce of empty array with no initial value",Pl=function(t){return function(r,e,i,n){var s=Ml(r),a=kl(s),o=Nl(s);if(xl(e),0===o&&i<2)throw new Sl(Ol);var h=t?o-1:0,u=t?-1:1;if(i<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw new Sl(Ol)}for(;t?h>=0:o>h;h+=u)h in a&&(n=e(n,a[h],h,s));return n}},jl={left:Pl(!1),right:Pl(!0)},El=a,Cl=function(t,r){var e=[][t];return!!e&&El((function(){e.call(null,r||function(){return 1},1)}))},Tl=jl.left;Di({target:"Array",proto:!0,forced:!Yi&&rt>79&&rt<83||!Cl("reduce")},{reduce:function(t){var r=arguments.length;return Tl(this,t,r,r>1?arguments[1]:void 0)}});var Al=Di,Rl=s.f,Bl=Ve,$l=xh,Dl=Xc,Ll=$,Fl=qc,Il=Hn("".slice),zl=Math.min,_l=Fl("endsWith"),Yl=!_l&&!!function(){var t=Rl(String.prototype,"endsWith");return t&&!t.writable}();Al({target:"String",proto:!0,forced:!Yl&&!_l},{endsWith:function(t){var r=$l(Ll(this));Dl(t);var e=arguments.length>1?arguments[1]:void 0,i=r.length,n=void 0===e?i:zl(Bl(e),i),s=$l(t);return Il(r,n-s.length,n)===s}});var Xl=c,Ul=M,ql=Au,Gl=Sr,Vl=A,Hl=$,Wl=_n,Ql=Yu,Zl=Ve,Kl=xh,Jl=bt,tv=Wu,rv=a,ev=jh.UNSUPPORTED_Y,iv=Math.min,nv=Ul([].push),sv=Ul("".slice),av=!rv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),ov="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;ql("split",(function(t,r,e){var i="0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:Xl(r,this,t,e)}:r;return[function(r,e){var n=Hl(this),s=Vl(r)?void 0:Jl(r,t);return s?Xl(s,r,n,e):Xl(i,Kl(n),r,e)},function(t,n){var s=Gl(this),a=Kl(t);if(!ov){var o=e(i,s,a,n,i!==r);if(o.done)return o.value}var h=Wl(s,RegExp),u=s.unicode,c=new h(ev?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(ev?"g":"y")),f=void 0===n?4294967295:n>>>0;if(0===f)return[];if(0===a.length)return null===tv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=ev?0:v;var p,y=tv(c,ev?sv(a,v):a);if(null===y||(p=iv(Zl(c.lastIndex+(ev?v:0)),a.length))===l)v=Ql(a,v,u);else{if(nv(d,sv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(nv(d,y[g]),d.length===f)return d;v=l=p}}return nv(d,sv(a,l)),d}]}),ov||!av,ev);var hv={exports:{}},uv={exports:{}};(function(){var t,r,e,i,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?uv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(uv.exports=function(){return(t()-n)/1e6},r=process.hrtime,i=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=i-s):Date.now?(uv.exports=function(){return Date.now()-e},e=Date.now()):(uv.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t);for(var cv=uv.exports,fv="undefined"==typeof window?t:window,lv=["moz","webkit"],vv="AnimationFrame",dv=fv["request"+vv],pv=fv["cancel"+vv]||fv["cancelRequest"+vv],yv=0;!dv&&yv<lv.length;yv++)dv=fv[lv[yv]+"Request"+vv],pv=fv[lv[yv]+"Cancel"+vv]||fv[lv[yv]+"CancelRequest"+vv];if(!dv||!pv){var gv=0,mv=0,bv=[],wv=1e3/60;dv=function(t){if(0===bv.length){var r=cv(),e=Math.max(0,wv-(r-gv));gv=e+r,setTimeout((function(){var t=bv.slice(0);bv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(gv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return bv.push({handle:++mv,callback:t,cancelled:!1}),mv},pv=function(t){for(var r=0;r<bv.length;r++)bv[r].handle===t&&(bv[r].cancelled=!0)}}hv.exports=function(t){return dv.call(fv,t)},hv.exports.cancel=function(){pv.apply(fv,arguments)},hv.exports.polyfill=function(t){t||(t=fv),t.requestAnimationFrame=dv,t.cancelAnimationFrame=pv};const xv=hv.exports;var Mv,kv="\t\n\v\f\r \u2028\u2029\ufeff",Nv=$,Sv=xh,Ov=kv,Pv=M("".replace),jv=RegExp("^["+Ov+"]+"),Ev=RegExp("(^|[^"+Ov+"])["+Ov+"]+$"),Cv=function(t){return function(r){var e=Sv(Nv(r));return 1&t&&(e=Pv(e,jv,"")),2&t&&(e=Pv(e,Ev,"$1")),e}},Tv={start:Cv(1),end:Cv(2),trim:Cv(3)},Av=Xr.PROPER,Rv=kv,Bv=Tv.trim;Di({target:"String",proto:!0,forced:(Mv="trim",a((function(){return!!Rv[Mv]()||"
"!=="
"[Mv]()||Av&&Rv[Mv].name!==Mv})))},{trim:function(){return Bv(this)}});var $v=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var e=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],i=0;i<e.length;i++){var n=e[i].process,s=e[i].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),e=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==e.length&&(e="0"+e),"#"+t+r+e},this.getHelpXML=function(){for(var t=new Array,i=0;i<e.length;i++)for(var n=e[i].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),i=0;i<t.length;i++)try{var h=document.createElement("li"),u=new RGBColor(t[i]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[i]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},Dv=Di,Lv=Je.indexOf,Fv=Cl,Iv=Hn([].indexOf),zv=!!Iv&&1/Iv([1],1,-0)<0;Dv({target:"Array",proto:!0,forced:zv||!Fv("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return zv?Iv(this,t,r)||0:Lv(this,t,r)}});var _v=Di,Yv=Xc,Xv=$,Uv=xh,qv=qc,Gv=M("".indexOf);_v({target:"String",proto:!0,forced:!qv("includes")},{includes:function(t){return!!~Gv(Uv(Xv(this)),Uv(Yv(t)),arguments.length>1?arguments[1]:void 0)}});var Vv=O,Hv=Di,Wv=Array.isArray||function(t){return"Array"===Vv(t)},Qv=M([].reverse),Zv=[1,2];Hv({target:"Array",proto:!0,forced:String(Zv)===String(Zv.reverse())},{reverse:function(){return Wv(this)&&(this.length=this.length),Qv(this)}});
|
7
7
|
/*! *****************************************************************************
|
8
8
|
Copyright (c) Microsoft Corporation.
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{t}from"./p-
|
6
|
+
import{t}from"./p-af7e43e0.js";import{a as n}from"./p-e996c38f.js";import{l as i}from"./p-4b2ec507.js";import{q as r}from"./p-d572627c.js";import{S as e}from"./p-2bc98cb0.js";import"./p-4f236b5d.js";import{g as s}from"./p-570b13d9.js";import{a as o,r as a,c as u}from"./p-0668e30d.js";
|
7
7
|
/* @preserve
|
8
8
|
* arcgis-pdf-creator v0.0.1
|
9
9
|
* Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
|
@@ -309,7 +309,7 @@ function(t){var n=function(t){for(var n=t.length,i=new Uint8Array(n),r=0;r<n;r++
|
|
309
309
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
310
310
|
* ====================================================================
|
311
311
|
*/
|
312
|
-
function(){function t(){return(nt.canvg?Promise.resolve(nt.canvg):import("./p-
|
312
|
+
function(){function t(){return(nt.canvg?Promise.resolve(nt.canvg):import("./p-1f9f8107.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}Ft.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw rt.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw rt.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),Ft.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},Ft.API.viewerPreferences=function(n,i){var r;n=n||{},i=i||!1;var e,s,o,a={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},u=Object.keys(a),f=[],c=0,h=0,l=0;function v(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===n||!0===i){var d=u.length;for(l=0;l<d;l+=1)r[u[l]].value=r[u[l]].defaultValue,r[u[l]].explicitSet=!1}if("object"===t(n))for(s in n)if(o=n[s],v(u,s)&&void 0!==o){if("boolean"===r[s].type&&"boolean"==typeof o)r[s].value=o;else if("name"===r[s].type&&v(r[s].valueSet,o))r[s].value=o;else if("integer"===r[s].type&&Number.isInteger(o))r[s].value=o;else if("array"===r[s].type){for(c=0;c<o.length;c+=1)if(e=!0,1===o[c].length&&"number"==typeof o[c][0])f.push(String(o[c]-1));else if(o[c].length>1){for(h=0;h<o[c].length;h+=1)"number"!=typeof o[c][h]&&(e=!1);!0===e&&f.push([o[c][0]-1,o[c][1]-1].join(" "))}r[s].value="["+f.join(" ")+"]"}else r[s].value=r[s].defaultValue;r[s].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in r)!0===r[t].explicitSet&&n.push("name"===r[t].type?"/"+t+" /"+r[t].value:"/"+t+" "+r[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this
|
313
313
|
/** ====================================================================
|
314
314
|
* @license
|
315
315
|
* jsPDF XMP metadata plugin
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,h as o,H as
|
6
|
+
import{r as t,h as o,H as s,g as e}from"./p-e996c38f.js";import{l as n}from"./p-813c7077.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";const i="components",r=`[slot="${i}"]`,a=class{constructor(o){t(this,o),this.components=[],this.view=void 0}async componentWillLoad(){const[t]=await n(["esri/widgets/Expand"]);this.Expand=t,this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return o(s,{key:"45edbd93de055768fb4b58e9d12a7570d24bdd22"},o("slot",{key:"47d507e456dfc86a068948280b21386bc08e735c",name:i}))}_handleComponents(){const t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return(o,s)=>{let e=o.content;o.isExpand&&(e=this._getExpand(o),o.expandIcon&&(e.expandIcon=o.expandIcon),o.collapseTooltip&&(e.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(e.expandTooltip=o.expandTooltip)),e.container||(e.container=document.createElement("div")),null==t||t.appendChild(e.container),s!==this.components.length-1&&(e.container.style="border-bottom: 1px solid var(--calcite-color-border-3)")}}_getExpand(t){var o;const{view:s}=this,{content:e}=t,n=null!==(o=null==t?void 0:t.expanded)&&void 0!==o&&o;return new this.Expand({content:e,view:s,expanded:n,mode:"floating",group:"instant-apps-control-panel"})}_getComponentsNode(){return this.el.querySelector(r)}_resetUI(t){if(t.children.length>0){const{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return e(this)}};a.style=":host{display:block}";export{a as instant_apps_control_panel}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as e,h as a,H as s,g as i}from"./p-e996c38f.js";import{g as n}from"./p-
|
6
|
+
import{r as t,c as e,h as a,H as s,g as i}from"./p-e996c38f.js";import{g as n}from"./p-af2c8aa9.js";import{S as h}from"./p-2bc98cb0.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"f2d1760c4a1345ef24c913a24f95691d0de6867d"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),Promise.resolve()}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as e,c as n,h as t,g as i}from"./p-e996c38f.js";import{v as a,g as s}from"./p-
|
6
|
+
import{r as e,c as n,h as t,g as i}from"./p-e996c38f.js";import{v as a,g as s}from"./p-00eccd9f.js";import"./p-813c7077.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-d991af6f.js";import"./p-8717729a.js";const p=class{constructor(t){e(this,t),this.groupLayerCaptionElementExpandUpdatedEvent=n(this,"groupLayerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){var e,n,i,p;const c=a(this.activeLayerInfo),{expanded:l}=this,r=l?null===(e=this.messages)||void 0===e?void 0:e.collapse:null===(n=this.messages)||void 0===n?void 0:n.expand,d=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t("header",{key:"f7fc15a482577d3dc46bf2c75a7e3349d7565654",class:`instant-apps-interactive-legend__header ${s(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},t("span",{key:"e8652d3efbba23460e516c7a482b9c58711bfd6e"},t("span",{key:"0b3aa10dd2da8634101fca455b5a611f6d3e4436",class:"instant-apps-interactive-legend__header-action-container"},t("calcite-action",{key:"3f311642dd154822d105fa5ecd21bd5cfe7dcf0c",onClick:this.toggleExpanded(),icon:l?"chevron-down":"chevron-up",appearance:"transparent",text:r,label:r,scale:"s"}),t("h3",{key:"0d7eb0a5958b4f661772f59faf287836818aaeeb",class:`esri-widget__heading esri-legend__service-label${d}`,title:null===(i=this.activeLayerInfo)||void 0===i?void 0:i.title},null===(p=this.activeLayerInfo)||void 0===p?void 0:p.title)),this.featureCount&&c?t("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return i(this)}};p.style=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden;margin:0;overflow-x:hidden;display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}";export{p as instant_apps_interactive_legend_group_legend_element_caption}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"650aeca8002a6d1a0dfd38972431021958e17195"},this.showGuidingMsg&&e("calcite-notice",{key:"e81e9ef66e5daa87e45affb573f6ef16bc42b3f3",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"483c0507f64c83e0846ca82ca48d0c93f491162e",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"335afd31901cdf23eecd9ddb49a1017b2d9310fa",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"f66885aa1e6d13301b16a9ebce45565a0db62a7a","full-height":!0},e("info-card",{key:"be133b617dfa1252e5543aad4a669a924e29cdd7",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"0ebeede82e3f3dc5d35e0a6f186b76a101b619ab",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"8cd9c213f85d444139a3288cb5b7ce656baafb09",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"9103211674bf16c08e87dda654b492a41733c198",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"bf7ab2677cb7d6df10e28bf8ae323bd2c89ef7a7",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"c641986811d72b5e75499b33a703654631680d7e",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{p as create_related_feature,b as feature_details,y as layer_list}
|
6
|
+
import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-4b2ec507.js";import{b as o,d as l,a as r,c as d}from"./p-d572627c.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"650aeca8002a6d1a0dfd38972431021958e17195"},this.showGuidingMsg&&e("calcite-notice",{key:"e81e9ef66e5daa87e45affb573f6ef16bc42b3f3",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"483c0507f64c83e0846ca82ca48d0c93f491162e",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"335afd31901cdf23eecd9ddb49a1017b2d9310fa",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"f66885aa1e6d13301b16a9ebce45565a0db62a7a","full-height":!0},e("info-card",{key:"be133b617dfa1252e5543aad4a669a924e29cdd7",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"0ebeede82e3f3dc5d35e0a6f186b76a101b619ab",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"8cd9c213f85d444139a3288cb5b7ce656baafb09",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"9103211674bf16c08e87dda654b492a41733c198",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"bf7ab2677cb7d6df10e28bf8ae323bd2c89ef7a7",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"c641986811d72b5e75499b33a703654631680d7e",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{p as create_related_feature,b as feature_details,y as layer_list}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,h as i,H as s,g as l}from"./p-e996c38f.js";import{g as o}from"./p-
|
6
|
+
import{r as t,h as i,H as s,g as l}from"./p-e996c38f.js";import{g as o}from"./p-619fefa1.js";import"./p-813c7077.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";const a=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,l,o,a,e,n,d;const h="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(s,{key:"9c8b38fe77e393b5c28dcdeb9f536136f1847a80"},i("calcite-block",{key:"129cc133e93e2817286b651e275c9be4cab404d7",open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(o=null===(l=null==this?void 0:this.messages)||void 0===l?void 0:l.generalShortcuts)||void 0===o?void 0:o.label},i("table",{key:"35c2075b9bfd4156dc599f7eb4230f8939b666d7"},this.renderTableHeader(),i("tr",{key:"4501f1eb90661c5c4dc21448faafc6b05c9c5f44"},i("td",{key:"dd5e19bf19397dc2d249280b779021436f792ca2"},`${r} + M`),i("td",{key:"7229f20c134afc765ffc5a6fc472ef240ec23d4f"},null===(e=null===(a=null==this?void 0:this.messages)||void 0===a?void 0:a.generalShortcuts)||void 0===e?void 0:e.title))),i("calcite-label",{key:"e0ad61c9410eddbe07411a1257208e72993e1552"},null===(d=null===(n=null==this?void 0:this.messages)||void 0===n?void 0:n.generalShortcuts)||void 0===d?void 0:d.title),i("table",{key:"da8a5261b67d71d969313c9643e45762dfd7ec1b"},this.renderTableHeader(),h.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){o(this)}renderTableHeader(){var t,s;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts.action)):null}_getMapViewCommands(){return(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus}]:[]}_getSceneViewCommands(){var t;const i="global"===(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.viewingMode),s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/i.test(navigator.platform)}get el(){return l(this)}};a.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{a as instant_apps_keyboard_shortcuts}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as i,f as t,h as e,g as s}from"./p-e996c38f.js";import{l as n}from"./p-
|
6
|
+
import{r as i,f as t,h as e,g as s}from"./p-e996c38f.js";import{l as n}from"./p-813c7077.js";import{g as a}from"./p-619fefa1.js";import{s as r,g as o}from"./p-00eccd9f.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";import"./p-d991af6f.js";import"./p-8717729a.js";const c={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},l=class{constructor(t){i(this,t),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){a(this)}async initializeModules(){const[i,t,e,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=t,this.widget=new e;const a=new s;return await t.whenOnce((()=>null==a?void 0:a.messages)),this.messages=Object.assign(Object.assign({},this.messages),a.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[t]=await n(["esri/widgets/Legend/LegendViewModel"]),e=new t({view:this.view,respectLayerDefinitionExpression:!0});this.legendvm=e,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}compactHandler(){r.set("compact",this.compact)}render(){var i;const{base:t,component:s,widget:n,widgetPanel:a}=c;return e("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(t,s,n,a)},e("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:o(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,t){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}_renderOnActiveLayerInfoChange(i,t){var e;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,t)))));this.handles.add(n,`children_${null===(e=null==i?void 0:i.layer)||void 0===e?void 0:e.uid}`),i.children.forEach((i=>{var e,s;this._renderOnActiveLayerInfoChange(i,t),(null===(e=null==i?void 0:i.children)||void 0===e?void 0:e.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};l.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{l as instant_apps_interactive_legend}
|