@arcgis/coding-components 4.31.0-next.117 → 4.31.0-next.120

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.
Files changed (134) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +38 -38
  3. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +184 -184
  4. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +300 -300
  5. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +184 -184
  6. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +306 -306
  7. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +184 -184
  8. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +99 -99
  9. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +99 -99
  10. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +184 -184
  11. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +4 -4
  12. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +306 -306
  13. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +99 -99
  14. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +271 -271
  15. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +306 -306
  16. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +271 -271
  17. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +184 -184
  18. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +300 -300
  19. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +184 -184
  20. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +99 -99
  21. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +184 -184
  22. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +300 -300
  23. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +300 -300
  24. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +99 -99
  25. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +99 -99
  26. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +99 -99
  27. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +306 -306
  28. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +300 -300
  29. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +300 -300
  30. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +99 -99
  31. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +306 -306
  32. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +99 -99
  33. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +300 -300
  34. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +306 -306
  35. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +99 -99
  36. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +184 -184
  37. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +271 -271
  38. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +306 -306
  39. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +306 -306
  40. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +271 -271
  41. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +271 -271
  42. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +271 -271
  43. package/dist/arcgis-coding-components/index.esm.js +2 -2
  44. package/dist/arcgis-coding-components/{p-f4192303.js → p-1ed6d5d2.js} +2 -2
  45. package/dist/arcgis-coding-components/{p-7510add7.js → p-268ef762.js} +2 -2
  46. package/dist/arcgis-coding-components/{p-465435e1.entry.js → p-31ab280f.entry.js} +2 -2
  47. package/dist/arcgis-coding-components/{p-1ad930cc.entry.js → p-392424d7.entry.js} +2 -2
  48. package/dist/arcgis-coding-components/{p-8d0b03d6.js → p-3d70584f.js} +2 -2
  49. package/dist/arcgis-coding-components/{p-7f7da482.js → p-5bd2ea82.js} +2 -2
  50. package/dist/arcgis-coding-components/{p-93a3652f.js → p-661f1809.js} +2 -2
  51. package/dist/arcgis-coding-components/{p-ca5cde7d.js → p-6f0aedeb.js} +2 -2
  52. package/dist/arcgis-coding-components/{p-df7f4e90.js → p-701b064f.js} +2 -2
  53. package/dist/arcgis-coding-components/{p-128a0aee.js → p-8c6acbe3.js} +3 -3
  54. package/dist/arcgis-coding-components/{p-9d9b509b.js → p-a64345ec.js} +1 -1
  55. package/dist/arcgis-coding-components/{p-1a9f475d.js → p-ab0c7293.js} +1 -1
  56. package/dist/arcgis-coding-components/{p-68b7973f.js → p-b2478059.js} +1 -1
  57. package/dist/arcgis-coding-components/{p-f793651c.js → p-c3a77297.js} +2 -2
  58. package/dist/arcgis-coding-components/{p-60b0ff5a.js → p-d2cb652a.js} +2 -2
  59. package/dist/arcgis-coding-components/{p-524b5196.js → p-d8f35b42.js} +2 -2
  60. package/dist/arcgis-coding-components/{p-a09a2995.js → p-f3067adc.js} +10 -10
  61. package/dist/arcgis-coding-components/{p-8c9338b6.entry.js → p-fefa16f8.entry.js} +2 -2
  62. package/dist/cjs/{app-globals-ef1b44a9.js → app-globals-a5ca2733.js} +1 -1
  63. package/dist/cjs/{arcade-defaults-4d3a6776.js → arcade-defaults-750df323.js} +3 -3
  64. package/dist/cjs/{arcade-mode-9f1102b2.js → arcade-mode-7276b964.js} +3 -3
  65. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
  66. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  67. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  68. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  69. package/dist/cjs/{css-d1b6a768.js → css-5dcbf2f9.js} +1 -1
  70. package/dist/cjs/{cssMode-a52f34b0.js → cssMode-28dff329.js} +3 -3
  71. package/dist/cjs/{html-a8fd5819.js → html-7686bcbd.js} +3 -3
  72. package/dist/cjs/{htmlMode-38e44197.js → htmlMode-dc221611.js} +3 -3
  73. package/dist/cjs/{index-9ee06dbb.js → index-6fdabe00.js} +1 -1
  74. package/dist/cjs/index.cjs.js +4 -4
  75. package/dist/cjs/{javascript-4b0f387a.js → javascript-6815876d.js} +4 -4
  76. package/dist/cjs/{jsonMode-f9197c41.js → jsonMode-25d764f8.js} +3 -3
  77. package/dist/cjs/loader.cjs.js +3 -3
  78. package/dist/cjs/{sql-expr-defaults-28864bc0.js → sql-expr-defaults-c27030fd.js} +17 -17
  79. package/dist/cjs/{sql-expr-mode-ff0b079a.js → sql-expr-mode-e3c04515.js} +3 -3
  80. package/dist/cjs/{tsMode-5edab23c.js → tsMode-d397f757.js} +3 -3
  81. package/dist/cjs/{typescript-6aeb5725.js → typescript-e1976545.js} +3 -3
  82. package/dist/cjs/{useT9n-5f495adc.js → useT9n-2bcb3300.js} +3 -3
  83. package/dist/components/arcade-defaults.js +1 -1
  84. package/dist/components/arcade-mode.js +1 -1
  85. package/dist/components/arcade-results.js +1 -1
  86. package/dist/components/arcade-suggestions.js +1 -1
  87. package/dist/components/arcgis-arcade-editor.js +1 -1
  88. package/dist/components/arcgis-arcade-results.js +1 -1
  89. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  90. package/dist/components/arcgis-assets.d.ts +1 -1
  91. package/dist/components/arcgis-assets.js +1 -1
  92. package/dist/components/arcgis-code-editor.js +1 -1
  93. package/dist/components/arcgis-editor-variables.js +1 -1
  94. package/dist/components/arcgis-language-api-panel.js +1 -1
  95. package/dist/components/arcgis-sql-expression-editor.js +1 -1
  96. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  97. package/dist/components/chunk-UFIZBDFE.js +1 -1
  98. package/dist/components/code-editor.js +1 -1
  99. package/dist/components/editor-variables.js +1 -1
  100. package/dist/components/fields.js +1 -1
  101. package/dist/components/index.js +1 -1
  102. package/dist/components/index2.js +1 -1
  103. package/dist/components/language-api-panel.js +1 -1
  104. package/dist/components/markdown.js +1 -1
  105. package/dist/components/sql-expr-defaults.js +8 -8
  106. package/dist/components/sql-expr-mode.js +1 -1
  107. package/dist/components/useT9n.js +1 -1
  108. package/dist/components/utilities.js +1 -1
  109. package/dist/esm/{app-globals-091b87ba.js → app-globals-248cbe6a.js} +1 -1
  110. package/dist/esm/{arcade-defaults-413bb46c.js → arcade-defaults-6ff6dcc1.js} +3 -3
  111. package/dist/esm/{arcade-mode-9c21be34.js → arcade-mode-07971823.js} +3 -3
  112. package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
  113. package/dist/esm/arcgis-coding-components.js +4 -4
  114. package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
  115. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  116. package/dist/esm/{css-930b25a7.js → css-d4d8c34f.js} +1 -1
  117. package/dist/esm/{cssMode-c8059805.js → cssMode-28616dad.js} +3 -3
  118. package/dist/esm/{html-aa299729.js → html-95a59c55.js} +3 -3
  119. package/dist/esm/{htmlMode-e383146f.js → htmlMode-b90373e1.js} +3 -3
  120. package/dist/esm/{index-5c929d0c.js → index-d20d28ef.js} +1 -1
  121. package/dist/esm/index.js +4 -4
  122. package/dist/esm/{javascript-1aec637d.js → javascript-c47641c7.js} +4 -4
  123. package/dist/esm/{jsonMode-deabe739.js → jsonMode-5006bcad.js} +3 -3
  124. package/dist/esm/loader.js +4 -4
  125. package/dist/esm/{sql-expr-defaults-e24aed0a.js → sql-expr-defaults-239b0c66.js} +17 -17
  126. package/dist/esm/{sql-expr-mode-b6e67897.js → sql-expr-mode-7ce7ae5c.js} +3 -3
  127. package/dist/esm/{tsMode-e5eb14a5.js → tsMode-b7619b7d.js} +3 -3
  128. package/dist/esm/{typescript-29f4259e.js → typescript-d2a6bc05.js} +3 -3
  129. package/dist/esm/{useT9n-0e6a80f8.js → useT9n-f1cdb123.js} +3 -3
  130. package/dist/loader/cdn.js +1 -1
  131. package/dist/loader/index.cjs.js +1 -1
  132. package/dist/loader/index.es2017.js +1 -1
  133. package/dist/loader/index.js +1 -1
  134. package/package.json +12 -12
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.117
4
+ * v4.31.0-next.120
5
5
  */
6
- import{F as t,D as i,G as s,H as o,J as n,M as e,N as h}from"./p-a09a2995.js";import{g as c}from"./p-1a9f475d.js";var r,a=(t,i)=>t.manager.internals.members?.[i]?.[0],d=Symbol.for("controller");function u(t){r!==t&&(r=t,queueMicrotask((()=>{r===t&&(r=void 0)})))}function f(){return r}var l,v=[];function y(t){if(void 0===t)return void(v=[]);const i=v.indexOf(t);v=-1===i?[...v,t]:v.slice(0,i+1),queueMicrotask((()=>{v=[]}))}var p,g=async(t,i)=>{const s=b(t);if(void 0===s)return t;if(await s.ready,"function"==typeof i){const t=s.watchExports((s=>i(s,t)))}return s.exports},w=async t=>{const i=b(t);return await i.ready,i},b=t=>{const i=function(){const t=l;return l=void 0,t}();if(void 0!==i)return i;const s=f().manager.internals.resolveExports(t);return void 0!==s?s:(t=>"object"==typeof t&&null!==t&&(d in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},m={setter:!1,getter:!1,readOnly:!1},_=new WeakMap;p=d;var j=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new i,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[p]=!0,this.ready=this._ready.promise,this._exports=M(this),this._exportWatchers=new Set;const s=t??f();this.component=s,this.component.addController(this),y(this),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t._loadCalled||this.triggerLoad().then((()=>{!t.loadedCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){const i=this._exports;i!==t&&(this._exports=t,this._exportWatchers.forEach(n),this.connectedCalled&&!1!==this.assignedProperty&&this.component.requestUpdate(this.assignedProperty,i)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=M(t),this._exportWatchers.forEach(n)}watchExports(t){const i=()=>t(this._exports);return this._exportWatchers.add(i),()=>{this._exportWatchers.delete(i)}}get use(){return u(this.component),g}get useRef(){return u(this.component),w}get useRefSync(){return u(this.component),b}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&n(t.hostConnected,t),this._callbacks.hostConnected.forEach(n),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&n(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(n),this._lifecycleCleanups.forEach(n),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;const t=this;t.hostLoad&&await s(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(s)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;const t=this;t.hostLoaded&&n(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(n),this.loadedCalled=!0}triggerUpdate(t){const i=this;i.hostUpdate&&n(i.hostUpdate,i,t),this._callbacks.hostUpdate.forEach(k,t)}triggerUpdated(t){const i=this;i.hostUpdated&&n(i.hostUpdated,i,t),this._callbacks.hostUpdated.forEach(k,t)}triggerDestroy(){const t=this;t.hostDestroy&&n(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(n)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){u(this.component);const i=n(t);(Array.isArray(i)?i:[i]).forEach((t=>{"function"==typeof t?this._lifecycleCleanups.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleCleanups.push(t.remove)}))}};function k(t){n(t,void 0,this)}var L=j;function M(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const i=new Proxy(t,{get(t,s,o){if(!O.has(s)||!(s in t)||t[s]!==i)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,o):void 0},set:(t,i,s,o)=>Reflect.set(t,i,s,o)});return i}var O=new Set(["exports","_exports"]),U=void 0;function x(){Array.from(U?.entries()??[]).forEach((([t,{callbacks:i}])=>{const s=Object.keys(t);i.forEach((t=>t(s)))})),U=void 0}function C(t,i,s){var o;const e=i,h=t.manager.internals;(o=h.allWatchers)[e]??(o[e]=[]);const c=h.allWatchers[e],r=s,a=(t,i,s)=>n(r,null,t,i,s);return c.push(a),()=>{const t=c.indexOf(a);-1!==t&&c.splice(t,1)}}var D=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;const t=this.component.manager.internals;Object.entries(t.members).forEach((([i,[s]])=>{var o;2048&s&&((o=t.setters)[i]??(o[i]=[]),t.setters[i].push(t.readonlySetter))}))},this.trackedValue=q,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,this.readonlySetter=(t,i,s)=>{if(m.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=t}firePropTrackers(t,i){const s=this.keyTrackers;this.trackedValue=q,this.keyTrackers=[],s.forEach((s=>s(t,i)))}getSetProxy(t){const i=this.component,s=i.constructor.prototype;if(this._getSetProxy(s,t,"class"),i.manager.isLit)return;const o=i.el.constructor.prototype;s!==o&&this._getSetProxy(o,t,"html")}_getSetProxy(t,i,s){const o=a(this.component,i);let n;do{n=Object.getOwnPropertyDescriptor(t,i)}while(!n&&(t=Object.getPrototypeOf(t)));if(!n)return;const e=n.get,h=n.set,c=P in e,r=P in h;if(c&&r)return;const d=!c,u=!r,f=d?function(){let t=e.call(this);const s=_.get(this);if(void 0===s)return t;const o=s.manager.internals;t=o.accessorGetter[i](t,i);const n=o.getters[i]??S;for(let s=0;s<n.length;s++)t=n[s](t,i);return t}:e,l=u?function(t){const s=e.call(this),n=_.get(this);if(void 0===n)return void h.call(this,t);let c=n.manager.isLit?t??void 0:function(t,i=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&i?"false"!==t&&(""===t||!!t):2&i?Number.parseFloat(t):1&i?String(t):t}(t,o);const r=n.manager.internals;if(c===s)h.call(this,c);else{const t=m.setter?S:r.setters[i]??S;for(let o=0;o<t.length&&(c=t[o](c,s,i),c!==s);o++);c=r.accessorSetter[i](c,s,i),h.call(this,c),c!==s&&r.enabledWatchers[i]?.forEach((t=>t(c,s,i)))}r.keyTrackers.length>0&&r?.firePropTrackers(i,t)}:h;d&&(f[P]=!0),u&&(l[P]=!0),Object.defineProperty(t,i,{...n,get:f,set:l})}markExports(t,i){("object"==typeof i&&null!==i||"function"==typeof i)&&this._exports.set(i,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},S=[],P=Symbol(),q=Symbol(),R=(t,i)=>new E(t,i),E=class extends L{constructor(s,o){const n="addController"in s,e=new Set,h=s;if(h.addController=function(t){e.add(t),!(d in t)&&s.renderRoot&&s.el.isConnected&&t.hostConnected?.()},h.removeController=function(t){e.delete(t),t.controllerRemoved?.()},!n){const t=o??s.constructor.__forceUpdate;h.requestUpdate=()=>t(s)}super(s),this.internals=new D(this.component),this.destroyed=!1,this._updatePromise=new i,this._originalLifecycles={},this.isLit=n,this.component.manager=this,function(i,s){if(s)i.manager.internals.members=Object.fromEntries(Array.from(i.constructor.elementProperties,(([t,i])=>i.noAccessor?void 0:[t,[(i.readOnly?2048:0)|(i.state?32:16)]])).filter(t));else{const t=i.constructor,s=t.__registerControllers?.(i)??void 0;if(t.__registerControllers=void 0,"object"!=typeof s)throw new Error("Failed to retrieve component meta");i.manager.internals.members=Object.fromEntries(Object.entries(s).filter((([t,[i]])=>!!(63&i))))}}(s,n),this._controllers=e,this.exports=void 0,this.hasDestroy=A in this.component&&"function"==typeof this.component.destroy,this._bindLifecycleMethods();const c=this.internals;Object.keys(c.members).forEach((t=>{c.accessorGetter[t]=$,c.accessorSetter[t]=$,c.getSetProxy(t)})),n?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(s,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),y(void 0),u(s),_.set(s.el,s),_.set(s,s)}_bindLifecycleMethods(){const t=this.component,i=this.isLit,s=t.el===t;this._originalLifecycles={_connectedCallback:i||s?void 0:t.connectedCallback,_disconnectedCallback:i||s?void 0:t.disconnectedCallback,_load:i?t.load:t.componentWillLoad,_loaded:i?t.loaded:t.componentDidLoad,_willUpdate:i?void 0:t.componentWillUpdate,_updated:i?void 0:t.componentDidUpdate,_destroy:t.destroy};const o=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),e=this._update.bind(this),h=this._updated.bind(this);i?t.constructor.prototype.addController.call(t,{hostConnected:o,hostDisconnected:n,hostUpdate:e,hostUpdated:h}):(t.connectedCallback=o,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=e,t.componentDidUpdate=h),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${A} prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout);const t=this.internals;t.enabledWatchers=t.allWatchers,x(),t.enableReadonly?.(),this._controllers.forEach(F),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(I),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const i of t)"triggerLoad"in i?await i.triggerLoad():await s(i.hostLoad,i);await Promise.allSettled(Array.from(this._controllers,N,t)),await(this._originalLifecycles._load?.call(this.component)),this.hasDestroy&&C(this.component,A,(()=>this._setAutoDestroyTimeout()))}_loaded(){this._controllers.forEach(W),this._originalLifecycles._loaded?.call(this.component)}_update(){this._controllers.forEach(G,this.component.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){const t=this.component;if(this._controllers.forEach(H,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{const t=this._updatePromise;this._updatePromise=new i,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(J),this._controllers.clear(),await(this._originalLifecycles._destroy?.call(this.component))}}_setAutoDestroyTimeout(){void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this.component.el.isConnected||this.component.autoDestroyDisabled||(this._autoDestroyTimeout=o((()=>{this.destroy().catch(console.error)}),T))}},A="autoDestroyDisabled",T=1e3,$=t=>t;function F(t){"triggerConnected"in t?t.triggerConnected():n(t.hostConnected,t)}function I(t){"triggerDisconnected"in t?t.triggerDisconnected():n(t.hostDisconnected,t)}async function N(t){this.has(t)||("triggerLoad"in t?await t.triggerLoad():await s(t.hostLoad,t))}function W(t){"triggerLoaded"in t?t.triggerLoaded():n(t.hostLoaded,t)}function G(t){"triggerUpdate"in t?t.triggerUpdate(this):n(t.hostUpdate,t,this)}function H(t){"triggerUpdated"in t?t.triggerUpdated(this):n(t.hostUpdated,t,this)}function J(t){"triggerDestroy"in t?t.triggerDestroy():n(t.hostDestroy,t)}function z(t,i,s){const o=t.manager.internals;return o.trackedValue!==q&&o.trackedValue!==s&&o.firePropTrackers(void 0,void 0),0===o.keyTrackers.length&&queueMicrotask((()=>o.firePropTrackers(void 0,void 0))),o.trackedValue=s,o.keyTrackers.push(((t,o)=>n(i,void 0,s===o?t:void 0))),s}function B(t,i){const s=f();return z(s,(o=>{const n=o,e=s.manager,h=s,c=h[n];if(null!=c&&c!==t&&"function"==typeof i.set){const s=i.set(c,t,n);if(s!==c)if(e.isLit)h[n]=s;else{let t=!0;e.onConnected((()=>{t&&(t=!0,function(){m.setter=!0;try{return void(h[n]=s)}finally{m.setter=!1}}())}))}}!function(t,i,s){var o,n;const e=s,h=t.manager.internals,c="function"==typeof e.get?e.get:void 0;c&&((o=h.getters)[i]??(o[i]=[]),h.getters[i].unshift(c));const r="ignore"===e.set?Q:e.set;r&&((n=h.setters)[i]??(n[i]=[]),h.setters[i].unshift(r))}(s,n,i)}),t)}var K,Q=(t,i)=>i,V=(K=class extends j{constructor(t,i){super(t);const s=this.exports;try{u(this.component);const t=i(this.component,this),o=this.exports!==s;if(t instanceof Promise){o||this.setProvisionalExports(t);const i=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await i))}else o&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}},(...t)=>{const i=v,s=new K(...t),o=s.exports;y(i.at(-1));const e=s.component.manager.internals;var h;return e.markExports(s,o),s.watchExports((t=>e.markExports(s,t))),l!==(h=s)&&(l=h,queueMicrotask((()=>{l===h&&(l=void 0)}))),function(t,i,s){const o=Array.isArray(t)?t:[t];let e=o.length+1;const h=t=>{e-=1,void 0!==t&&(e=Math.min(e,0)),0===e&&i(t)};o.forEach((t=>function(t,i,s){const o=Object.keys(t),e=o.length;void 0===U&&queueMicrotask(x),U??(U=new Map);let h=U.get(t);return void 0===h&&(h={callbacks:[],keyCount:e},U.set(t,h)),h.keyCount!==e&&(h.callbacks.forEach((t=>t(o))),h.callbacks=[],h.keyCount=e),h.callbacks.push((o=>{const h=o[e];n(i,null,void 0===h?void 0:t[h]===s?h:void 0)})),s}(t,(i=>h(void 0===i?void 0:{key:i,host:t,isReactive:!1})),s)));const c=o.find((t=>"manager"in t&&"object"==typeof t.manager&&t.manager.component===t));return c&&z(c,(t=>h(void 0===t?void 0:{key:t,host:c,isReactive:void 0!==a(c,t)})),s),s}([s.component,...i].reverse(),(t=>void 0===t?void 0:function(t,{host:i,key:s,isReactive:o},n){const e=i,h=e[s]!==n;e[s]!==t.exports&&!h&&n!==t.exports&&(e[s]=t.exports);if(i===t.component){if(o){const i=t.component.manager.internals;h&&i.markExports(t,e[s]),C(t.component,s,(s=>{s!==t.exports&&i.markExports(t,s)}))}t.assignedProperty=o?void 0:s}t.watchExports((()=>{if(e[s]===t.exports)return;const i=t.component.manager,o=i.internals.setters[s]?.includes(i.internals.readonlySetter);o?function(){m.readOnly=!0;try{return void(e[s]=t.exports)}finally{m.readOnly=!1}}():e[s]=t.exports}))}(s,t,o)),o)});function X(t,i){if(!i)return t;const s={...t};return Object.entries(i).forEach((([i,o])=>{s[i]="object"==typeof o?X(t[i],o):o??t[i]})),s}const Y=(t=>(i={})=>V(void 0,((s,o)=>{const n=s;function c(t){const i=o.exports,s=i._original??i,n=X(s,t);t&&(n._original=s),o.exports=n}if(o.onLifecycle((()=>e(s.el,t("./assets"),(({t9nLocale:t,t9nStrings:i,lang:e})=>{const h={...i,_lang:e,_t9nLocale:t,_loading:!1};o.exports=h;const r=i.componentLabel??i.widgetLabel;"string"==typeof r&&"label"in s&&null==s.label&&(s.label??(s.label=r)),c(n.messageOverrides)}),i.name))),"messageOverrides"in n&&o.onLifecycle((()=>C(n,"messageOverrides",c))),i.blocking)return o.ready;const r=h(s.el);return{_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0}})))(c);export{Y as a,B as g,R as u}
6
+ import{F as t,D as i,G as s,H as o,J as n,M as e,N as h}from"./p-f3067adc.js";import{g as c}from"./p-ab0c7293.js";var r,a=(t,i)=>t.manager.internals.members?.[i]?.[0],d=Symbol.for("controller");function u(t){r!==t&&(r=t,queueMicrotask((()=>{r===t&&(r=void 0)})))}function f(){return r}var l,v=[];function y(t){if(void 0===t)return void(v=[]);const i=v.indexOf(t);v=-1===i?[...v,t]:v.slice(0,i+1),queueMicrotask((()=>{v=[]}))}var p,g=async(t,i)=>{const s=w(t);if(void 0===s)return t;if(await s.ready,"function"==typeof i){const t=s.watchExports((s=>i(s,t)))}return s.exports},b=async t=>{const i=w(t);return await i.ready,i},w=t=>{const i=function(){const t=l;return l=void 0,t}();if(void 0!==i)return i;const s=f().manager.internals.resolveExports(t);return void 0!==s?s:(t=>"object"==typeof t&&null!==t&&(d in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t)?t:void 0},m={setter:!1,getter:!1,readOnly:!1},_=new WeakMap;p=d;var j=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new i,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[p]=!0,this.ready=this._ready.promise,this._exports=M(this),this._exportWatchers=new Set;const s=t??f();this.component=s,this.component.addController(this),y(this),void 0===this.component.manager||queueMicrotask((()=>this.catchUpLifecycle()))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t._loadCalled||this.triggerLoad().then((()=>{!t.loadedCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){const i=this._exports;i!==t&&(this._exports=t,this._exportWatchers.forEach(n),this.connectedCalled&&!1!==this.assignedProperty&&this.component.requestUpdate(this.assignedProperty,i)),this._ready.resolve(t)}setProvisionalExports(t){this._exports=M(t),this._exportWatchers.forEach(n)}watchExports(t){const i=()=>t(this._exports);return this._exportWatchers.add(i),()=>{this._exportWatchers.delete(i)}}get use(){return u(this.component),g}get useRef(){return u(this.component),b}get useRefSync(){return u(this.component),w}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&n(t.hostConnected,t),this._callbacks.hostConnected.forEach(n),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&n(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(n),this._lifecycleCleanups.forEach(n),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;const t=this;t.hostLoad&&await s(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(s)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;const t=this;t.hostLoaded&&n(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(n),this.loadedCalled=!0}triggerUpdate(t){const i=this;i.hostUpdate&&n(i.hostUpdate,i,t),this._callbacks.hostUpdate.forEach(k,t)}triggerUpdated(t){const i=this;i.hostUpdated&&n(i.hostUpdated,i,t),this._callbacks.hostUpdated.forEach(k,t)}triggerDestroy(){const t=this;t.hostDestroy&&n(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(n)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){u(this.component);const i=n(t);(Array.isArray(i)?i:[i]).forEach((t=>{"function"==typeof t?this._lifecycleCleanups.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleCleanups.push(t.remove)}))}};function k(t){n(t,void 0,this)}var L=j;function M(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const i=new Proxy(t,{get(t,s,o){if(!O.has(s)||!(s in t)||t[s]!==i)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,o):void 0},set:(t,i,s,o)=>Reflect.set(t,i,s,o)});return i}var O=new Set(["exports","_exports"]),U=void 0;function x(){Array.from(U?.entries()??[]).forEach((([t,{callbacks:i}])=>{const s=Object.keys(t);i.forEach((t=>t(s)))})),U=void 0}function C(t,i,s){var o;const e=i,h=t.manager.internals;(o=h.allWatchers)[e]??(o[e]=[]);const c=h.allWatchers[e],r=s,a=(t,i,s)=>n(r,null,t,i,s);return c.push(a),()=>{const t=c.indexOf(a);-1!==t&&c.splice(t,1)}}var D=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;const t=this.component.manager.internals;Object.entries(t.members).forEach((([i,[s]])=>{var o;2048&s&&((o=t.setters)[i]??(o[i]=[]),t.setters[i].push(t.readonlySetter))}))},this.trackedValue=q,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,this.readonlySetter=(t,i,s)=>{if(m.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=t}firePropTrackers(t,i){const s=this.keyTrackers;this.trackedValue=q,this.keyTrackers=[],s.forEach((s=>s(t,i)))}getSetProxy(t){const i=this.component,s=i.constructor.prototype;if(this._getSetProxy(s,t,"class"),i.manager.isLit)return;const o=i.el.constructor.prototype;s!==o&&this._getSetProxy(o,t,"html")}_getSetProxy(t,i,s){const o=a(this.component,i);let n;do{n=Object.getOwnPropertyDescriptor(t,i)}while(!n&&(t=Object.getPrototypeOf(t)));if(!n)return;const e=n.get,h=n.set,c=P in e,r=P in h;if(c&&r)return;const d=!c,u=!r,f=d?function(){let t=e.call(this);const s=_.get(this);if(void 0===s)return t;const o=s.manager.internals;t=o.accessorGetter[i](t,i);const n=o.getters[i]??S;for(let s=0;s<n.length;s++)t=n[s](t,i);return t}:e,l=u?function(t){const s=e.call(this),n=_.get(this);if(void 0===n)return void h.call(this,t);let c=n.manager.isLit?t??void 0:function(t,i=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&i?"false"!==t&&(""===t||!!t):2&i?Number.parseFloat(t):1&i?String(t):t}(t,o);const r=n.manager.internals;if(c===s)h.call(this,c);else{const t=m.setter?S:r.setters[i]??S;for(let o=0;o<t.length&&(c=t[o](c,s,i),c!==s);o++);c=r.accessorSetter[i](c,s,i),h.call(this,c),c!==s&&r.enabledWatchers[i]?.forEach((t=>t(c,s,i)))}r.keyTrackers.length>0&&r?.firePropTrackers(i,t)}:h;d&&(f[P]=!0),u&&(l[P]=!0),Object.defineProperty(t,i,{...n,get:f,set:l})}markExports(t,i){("object"==typeof i&&null!==i||"function"==typeof i)&&this._exports.set(i,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},S=[],P=Symbol(),q=Symbol(),R=(t,i)=>new E(t,i),E=class extends L{constructor(s,o){const n="addController"in s,e=new Set,h=s;if(h.addController=function(t){e.add(t),!(d in t)&&s.renderRoot&&s.el.isConnected&&t.hostConnected?.()},h.removeController=function(t){e.delete(t),t.controllerRemoved?.()},!n){const t=o??s.constructor.__forceUpdate;h.requestUpdate=()=>t(s)}super(s),this.internals=new D(this.component),this.destroyed=!1,this._updatePromise=new i,this._originalLifecycles={},this.isLit=n,this.component.manager=this,function(i,s){if(s)i.manager.internals.members=Object.fromEntries(Array.from(i.constructor.elementProperties,(([t,i])=>i.noAccessor?void 0:[t,[(i.readOnly?2048:0)|(i.state?32:16)]])).filter(t));else{const t=i.constructor,s=t.__registerControllers?.(i)??void 0;if(t.__registerControllers=void 0,"object"!=typeof s)throw new Error("Failed to retrieve component meta");i.manager.internals.members=Object.fromEntries(Object.entries(s).filter((([t,[i]])=>!!(63&i))))}}(s,n),this._controllers=e,this.exports=void 0,this.hasDestroy=A in this.component&&"function"==typeof this.component.destroy,this._bindLifecycleMethods();const c=this.internals;Object.keys(c.members).forEach((t=>{c.accessorGetter[t]=$,c.accessorSetter[t]=$,c.getSetProxy(t)})),n?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(s,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),y(void 0),u(s),_.set(s.el,s),_.set(s,s)}_bindLifecycleMethods(){const t=this.component,i=this.isLit,s=t.el===t;this._originalLifecycles={_connectedCallback:i||s?void 0:t.connectedCallback,_disconnectedCallback:i||s?void 0:t.disconnectedCallback,_load:i?t.load:t.componentWillLoad,_loaded:i?t.loaded:t.componentDidLoad,_willUpdate:i?void 0:t.componentWillUpdate,_updated:i?void 0:t.componentDidUpdate,_destroy:t.destroy};const o=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),e=this._update.bind(this),h=this._updated.bind(this);i?t.constructor.prototype.addController.call(t,{hostConnected:o,hostDisconnected:n,hostUpdate:e,hostUpdated:h}):(t.connectedCallback=o,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=e,t.componentDidUpdate=h),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${A} prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout);const t=this.internals;t.enabledWatchers=t.allWatchers,x(),t.enableReadonly?.(),this._controllers.forEach(F),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(I),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){const t=this.internals.reactiveUtilsIntegrations;if(t.size>0)for(const i of t)"triggerLoad"in i?await i.triggerLoad():await s(i.hostLoad,i);await Promise.allSettled(Array.from(this._controllers,N,t)),await(this._originalLifecycles._load?.call(this.component)),this.hasDestroy&&C(this.component,A,(()=>this._setAutoDestroyTimeout()))}_loaded(){this._controllers.forEach(W),this._originalLifecycles._loaded?.call(this.component)}_update(){this._controllers.forEach(G,this.component.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){const t=this.component;if(this._controllers.forEach(H,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{const t=this._updatePromise;this._updatePromise=new i,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(J),this._controllers.clear(),await(this._originalLifecycles._destroy?.call(this.component))}}_setAutoDestroyTimeout(){void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),this.component.el.isConnected||this.component.autoDestroyDisabled||(this._autoDestroyTimeout=o((()=>{this.destroy().catch(console.error)}),T))}},A="autoDestroyDisabled",T=1e3,$=t=>t;function F(t){"triggerConnected"in t?t.triggerConnected():n(t.hostConnected,t)}function I(t){"triggerDisconnected"in t?t.triggerDisconnected():n(t.hostDisconnected,t)}async function N(t){this.has(t)||("triggerLoad"in t?await t.triggerLoad():await s(t.hostLoad,t))}function W(t){"triggerLoaded"in t?t.triggerLoaded():n(t.hostLoaded,t)}function G(t){"triggerUpdate"in t?t.triggerUpdate(this):n(t.hostUpdate,t,this)}function H(t){"triggerUpdated"in t?t.triggerUpdated(this):n(t.hostUpdated,t,this)}function J(t){"triggerDestroy"in t?t.triggerDestroy():n(t.hostDestroy,t)}function z(t,i,s){const o=t.manager.internals;return o.trackedValue!==q&&o.trackedValue!==s&&o.firePropTrackers(void 0,void 0),0===o.keyTrackers.length&&queueMicrotask((()=>o.firePropTrackers(void 0,void 0))),o.trackedValue=s,o.keyTrackers.push(((t,o)=>n(i,void 0,s===o?t:void 0))),s}function B(t,i){const s=f();return z(s,(o=>{const n=o,e=s.manager,h=s,c=h[n];if(null!=c&&c!==t&&"function"==typeof i.set){const s=i.set(c,t,n);if(s!==c)if(e.isLit)h[n]=s;else{let t=!0;e.onConnected((()=>{t&&(t=!0,function(){m.setter=!0;try{return void(h[n]=s)}finally{m.setter=!1}}())}))}}!function(t,i,s){var o,n;const e=s,h=t.manager.internals,c="function"==typeof e.get?e.get:void 0;c&&((o=h.getters)[i]??(o[i]=[]),h.getters[i].unshift(c));const r="ignore"===e.set?Q:e.set;r&&((n=h.setters)[i]??(n[i]=[]),h.setters[i].unshift(r))}(s,n,i)}),t)}var K,Q=(t,i)=>i,V=(K=class extends j{constructor(t,i){super(t);const s=this.exports;try{u(this.component);const t=i(this.component,this),o=this.exports!==s;if(t instanceof Promise){o||this.setProvisionalExports(t);const i=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await i))}else o&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}},(...t)=>{const i=v,s=new K(...t),o=s.exports;y(i.at(-1));const e=s.component.manager.internals;var h;return e.markExports(s,o),s.watchExports((t=>e.markExports(s,t))),l!==(h=s)&&(l=h,queueMicrotask((()=>{l===h&&(l=void 0)}))),function(t,i,s){const o=Array.isArray(t)?t:[t];let e=o.length+1;const h=t=>{e-=1,void 0!==t&&(e=Math.min(e,0)),0===e&&i(t)};o.forEach((t=>function(t,i,s){const o=Object.keys(t),e=o.length;void 0===U&&queueMicrotask(x),U??(U=new Map);let h=U.get(t);return void 0===h&&(h={callbacks:[],keyCount:e},U.set(t,h)),h.keyCount!==e&&(h.callbacks.forEach((t=>t(o))),h.callbacks=[],h.keyCount=e),h.callbacks.push((o=>{const h=o[e];n(i,null,void 0===h?void 0:t[h]===s?h:void 0)})),s}(t,(i=>h(void 0===i?void 0:{key:i,host:t,isReactive:!1})),s)));const c=o.find((t=>"manager"in t&&"object"==typeof t.manager&&t.manager.component===t));return c&&z(c,(t=>h(void 0===t?void 0:{key:t,host:c,isReactive:void 0!==a(c,t)})),s),s}([s.component,...i].reverse(),(t=>void 0===t?void 0:function(t,{host:i,key:s,isReactive:o},n){const e=i,h=e[s]!==n;e[s]!==t.exports&&!h&&n!==t.exports&&(e[s]=t.exports);if(i===t.component){if(o){const i=t.component.manager.internals;h&&i.markExports(t,e[s]),C(t.component,s,(s=>{s!==t.exports&&i.markExports(t,s)}))}t.assignedProperty=o?void 0:s}t.watchExports((()=>{if(e[s]===t.exports)return;const i=t.component.manager,o=i.internals.setters[s]?.includes(i.internals.readonlySetter);o?function(){m.readOnly=!0;try{return void(e[s]=t.exports)}finally{m.readOnly=!1}}():e[s]=t.exports}))}(s,t,o)),o)});function X(t,i){if(!i)return t;const s={...t};return Object.entries(i).forEach((([i,o])=>{s[i]="object"==typeof o?X(t[i],o):o??t[i]})),s}const Y=(t=>(i={})=>V(void 0,((s,o)=>{const n=s;function c(t){const i=o.exports,s=i._original??i,n=X(s,t);t&&(n._original=s),o.exports=n}if(o.onLifecycle((()=>e(s.el,t("./assets"),(({t9nLocale:t,t9nStrings:i,lang:e})=>{const h={...i,_lang:e,_t9nLocale:t,_loading:!1};o.exports=h;const r=i.componentLabel??i.widgetLabel;"string"==typeof r&&"label"in s&&null==s.label&&(s.label??(s.label=r)),c(n.messageOverrides)}),i.name))),"messageOverrides"in n&&o.onLifecycle((()=>C(n,"messageOverrides",c))),i.blocking)return o.ready;const r=h(s.el);return{_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0}})))(c);export{Y as a,B as g,R as u}