@next-bricks/ai 1.21.1 → 1.21.3
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/bricks.json +3 -3
- package/dist/chunks/1045.659660a3.js +2 -0
- package/dist/chunks/1045.659660a3.js.map +1 -0
- package/dist/chunks/1055.784eb310.js +2 -0
- package/dist/chunks/{1055.575dd0f8.js.map → 1055.784eb310.js.map} +1 -1
- package/dist/chunks/1122.c85a6018.js +2 -0
- package/dist/chunks/1122.c85a6018.js.map +1 -0
- package/dist/chunks/114.ac1a7a62.js +2 -0
- package/dist/chunks/114.ac1a7a62.js.map +1 -0
- package/dist/chunks/1370.e8101b88.js +2 -0
- package/dist/chunks/1370.e8101b88.js.map +1 -0
- package/dist/chunks/1438.1f2e5715.js +2 -0
- package/dist/chunks/1438.1f2e5715.js.map +1 -0
- package/dist/chunks/1889.13958cc1.js +2 -0
- package/dist/chunks/1889.13958cc1.js.map +1 -0
- package/dist/chunks/1940.b365f451.js +2 -0
- package/dist/chunks/1940.b365f451.js.map +1 -0
- package/dist/chunks/2277.b5bafb77.js +2 -0
- package/dist/chunks/2277.b5bafb77.js.map +1 -0
- package/dist/chunks/3144.8a65bb7f.js +3 -0
- package/dist/chunks/{3144.ad10e224.js.map → 3144.8a65bb7f.js.map} +1 -1
- package/dist/chunks/3171.7c207bfe.js +2 -0
- package/dist/chunks/3171.7c207bfe.js.map +1 -0
- package/dist/chunks/3426.a2d719ee.js +2 -0
- package/dist/chunks/3426.a2d719ee.js.map +1 -0
- package/dist/chunks/3933.931f96f3.js +2 -0
- package/dist/chunks/3933.931f96f3.js.map +1 -0
- package/dist/chunks/4041.58453437.js +3 -0
- package/dist/chunks/{4041.2d89cf03.js.map → 4041.58453437.js.map} +1 -1
- package/dist/chunks/4658.6b1e92ff.js +2 -0
- package/dist/chunks/4658.6b1e92ff.js.map +1 -0
- package/dist/chunks/4741.bce1f55d.js +2 -0
- package/dist/chunks/{4741.d4ae195b.js.map → 4741.bce1f55d.js.map} +1 -1
- package/dist/chunks/4984.8d219754.js +3 -0
- package/dist/chunks/4984.8d219754.js.LICENSE.txt +1 -0
- package/dist/chunks/4984.8d219754.js.map +1 -0
- package/dist/chunks/5250.a6b648ae.js +3 -0
- package/dist/chunks/{5250.8c43fdcf.js.map → 5250.a6b648ae.js.map} +1 -1
- package/dist/chunks/5384.1f7eb0b2.js +2 -0
- package/dist/chunks/{5384.557997f8.js.map → 5384.1f7eb0b2.js.map} +1 -1
- package/dist/chunks/5399.a707b9d7.js +2 -0
- package/dist/chunks/5399.a707b9d7.js.map +1 -0
- package/dist/chunks/5425.57a12d36.js +2 -0
- package/dist/chunks/5425.57a12d36.js.map +1 -0
- package/dist/chunks/5552.075ec6b4.js +2 -0
- package/dist/chunks/5552.075ec6b4.js.map +1 -0
- package/dist/chunks/5927.8dcd2de1.js +3 -0
- package/dist/chunks/5927.8dcd2de1.js.map +1 -0
- package/dist/chunks/6314.3dbfb835.js +2 -0
- package/dist/chunks/6314.3dbfb835.js.map +1 -0
- package/dist/chunks/6519.e94fcfa9.js +2 -0
- package/dist/chunks/6519.e94fcfa9.js.map +1 -0
- package/dist/chunks/6773.e604d2f7.js +2 -0
- package/dist/chunks/{6773.9a3a4167.js.map → 6773.e604d2f7.js.map} +1 -1
- package/dist/chunks/7115.954dafc1.js +2 -0
- package/dist/chunks/7115.954dafc1.js.map +1 -0
- package/dist/chunks/726.d1946ae9.js +2 -0
- package/dist/chunks/{726.cb748905.js.map → 726.d1946ae9.js.map} +1 -1
- package/dist/chunks/7304.b72de53e.js +2 -0
- package/dist/chunks/{7304.eb78800a.js.map → 7304.b72de53e.js.map} +1 -1
- package/dist/chunks/7507.c3d9f638.js +2 -0
- package/dist/chunks/7507.c3d9f638.js.map +1 -0
- package/dist/chunks/7672.e71753af.js +2 -0
- package/dist/chunks/7672.e71753af.js.map +1 -0
- package/dist/chunks/7721.cf2c09a3.js +3 -0
- package/dist/chunks/{7721.3944e132.js.map → 7721.cf2c09a3.js.map} +1 -1
- package/dist/chunks/7733.e8dd7be2.js +2 -0
- package/dist/chunks/7733.e8dd7be2.js.map +1 -0
- package/dist/chunks/8989.2075e8fe.js +2 -0
- package/dist/chunks/8989.2075e8fe.js.map +1 -0
- package/dist/chunks/9496.30b5a144.js +2 -0
- package/dist/chunks/9496.30b5a144.js.map +1 -0
- package/dist/chunks/9515.22cd8b3a.js +2 -0
- package/dist/chunks/{9515.b792ec21.js.map → 9515.22cd8b3a.js.map} +1 -1
- package/dist/chunks/9559.89b14eaa.js +2 -0
- package/dist/chunks/9559.89b14eaa.js.map +1 -0
- package/dist/chunks/9844.1a35968b.js +2 -0
- package/dist/chunks/{9844.e6342d7e.js.map → 9844.1a35968b.js.map} +1 -1
- package/dist/chunks/chat-agent.a48998c4.js +2 -0
- package/dist/chunks/chat-agent.a48998c4.js.map +1 -0
- package/dist/chunks/chat-view.35ed33f4.js +2 -0
- package/dist/chunks/chat-view.35ed33f4.js.map +1 -0
- package/dist/chunks/main.7d8e0bfd.js +2 -0
- package/dist/chunks/main.7d8e0bfd.js.map +1 -0
- package/dist/index.88f39a00.js +2 -0
- package/dist/index.88f39a00.js.map +1 -0
- package/dist/manifest.json +68 -68
- package/package.json +4 -4
- package/dist/chunks/1045.aae95af2.js +0 -2
- package/dist/chunks/1045.aae95af2.js.map +0 -1
- package/dist/chunks/1055.575dd0f8.js +0 -2
- package/dist/chunks/1122.c6f74270.js +0 -2
- package/dist/chunks/1122.c6f74270.js.map +0 -1
- package/dist/chunks/114.99845582.js +0 -2
- package/dist/chunks/114.99845582.js.map +0 -1
- package/dist/chunks/1330.a58602b7.js +0 -2
- package/dist/chunks/1330.a58602b7.js.map +0 -1
- package/dist/chunks/1370.eaf34ae0.js +0 -2
- package/dist/chunks/1370.eaf34ae0.js.map +0 -1
- package/dist/chunks/1438.b7e20c19.js +0 -2
- package/dist/chunks/1438.b7e20c19.js.map +0 -1
- package/dist/chunks/1889.1f0639c2.js +0 -2
- package/dist/chunks/1889.1f0639c2.js.map +0 -1
- package/dist/chunks/1940.5496620b.js +0 -2
- package/dist/chunks/1940.5496620b.js.map +0 -1
- package/dist/chunks/2277.43d9b8d4.js +0 -2
- package/dist/chunks/2277.43d9b8d4.js.map +0 -1
- package/dist/chunks/2876.98eea198.js +0 -3
- package/dist/chunks/2876.98eea198.js.map +0 -1
- package/dist/chunks/3144.ad10e224.js +0 -3
- package/dist/chunks/3171.b12894b3.js +0 -2
- package/dist/chunks/3171.b12894b3.js.map +0 -1
- package/dist/chunks/3426.61e8a350.js +0 -2
- package/dist/chunks/3426.61e8a350.js.map +0 -1
- package/dist/chunks/3933.75d4f0fc.js +0 -2
- package/dist/chunks/3933.75d4f0fc.js.map +0 -1
- package/dist/chunks/4041.2d89cf03.js +0 -3
- package/dist/chunks/4103.675240bf.js +0 -2
- package/dist/chunks/4103.675240bf.js.map +0 -1
- package/dist/chunks/4658.5ec1244b.js +0 -2
- package/dist/chunks/4658.5ec1244b.js.map +0 -1
- package/dist/chunks/4741.d4ae195b.js +0 -2
- package/dist/chunks/4984.0990a93b.js +0 -2
- package/dist/chunks/4984.0990a93b.js.map +0 -1
- package/dist/chunks/5227.c1d80c1f.js +0 -2
- package/dist/chunks/5227.c1d80c1f.js.map +0 -1
- package/dist/chunks/5250.8c43fdcf.js +0 -3
- package/dist/chunks/5384.557997f8.js +0 -2
- package/dist/chunks/5399.dcd1b1d1.js +0 -2
- package/dist/chunks/5399.dcd1b1d1.js.map +0 -1
- package/dist/chunks/5425.c77a852e.js +0 -2
- package/dist/chunks/5425.c77a852e.js.map +0 -1
- package/dist/chunks/5552.3fab4702.js +0 -2
- package/dist/chunks/5552.3fab4702.js.map +0 -1
- package/dist/chunks/6314.6dbc2655.js +0 -2
- package/dist/chunks/6314.6dbc2655.js.map +0 -1
- package/dist/chunks/6519.b7c54e82.js +0 -2
- package/dist/chunks/6519.b7c54e82.js.map +0 -1
- package/dist/chunks/6773.9a3a4167.js +0 -2
- package/dist/chunks/7115.ea0f428a.js +0 -2
- package/dist/chunks/7115.ea0f428a.js.map +0 -1
- package/dist/chunks/726.cb748905.js +0 -2
- package/dist/chunks/7304.eb78800a.js +0 -2
- package/dist/chunks/7721.3944e132.js +0 -3
- package/dist/chunks/7733.d8eed650.js +0 -2
- package/dist/chunks/7733.d8eed650.js.map +0 -1
- package/dist/chunks/7780.7adc2387.js +0 -2
- package/dist/chunks/7780.7adc2387.js.map +0 -1
- package/dist/chunks/8989.f382f58d.js +0 -2
- package/dist/chunks/8989.f382f58d.js.map +0 -1
- package/dist/chunks/9496.e278eda3.js +0 -2
- package/dist/chunks/9496.e278eda3.js.map +0 -1
- package/dist/chunks/9515.b792ec21.js +0 -2
- package/dist/chunks/9559.3d2492f5.js +0 -2
- package/dist/chunks/9559.3d2492f5.js.map +0 -1
- package/dist/chunks/9844.e6342d7e.js +0 -2
- package/dist/chunks/chat-agent.65363217.js +0 -2
- package/dist/chunks/chat-agent.65363217.js.map +0 -1
- package/dist/chunks/chat-view.81f838c8.js +0 -2
- package/dist/chunks/chat-view.81f838c8.js.map +0 -1
- package/dist/chunks/main.a30f0cef.js +0 -2
- package/dist/chunks/main.a30f0cef.js.map +0 -1
- package/dist/index.f9f89f10.js +0 -2
- package/dist/index.f9f89f10.js.map +0 -1
- /package/dist/chunks/{3144.ad10e224.js.LICENSE.txt → 3144.8a65bb7f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{4041.2d89cf03.js.LICENSE.txt → 4041.58453437.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{5250.8c43fdcf.js.LICENSE.txt → 5250.a6b648ae.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{2876.98eea198.js.LICENSE.txt → 5927.8dcd2de1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{7721.3944e132.js.LICENSE.txt → 7721.cf2c09a3.js.LICENSE.txt} +0 -0
package/dist/bricks.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "bricks/ai",
|
|
3
3
|
"bricks": [
|
|
4
|
-
"ai.chat-
|
|
5
|
-
"ai.chat-
|
|
4
|
+
"ai.chat-agent",
|
|
5
|
+
"ai.chat-view"
|
|
6
6
|
],
|
|
7
7
|
"elements": [],
|
|
8
8
|
"processors": [],
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"basic.show-dialog"
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
|
-
"filePath": "bricks/ai/dist/index.
|
|
19
|
+
"filePath": "bricks/ai/dist/index.88f39a00.js"
|
|
20
20
|
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[1045,3426],{2559:(t,e,n)=>{function i(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>i})},2016:(t,e,n)=>{function i(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>i})},829:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2559);function r(t,e){return t.get((0,i.A)(t,e))}},918:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2016);function r(t,e,n){(0,i.A)(t,e),e.set(t,n)}},6121:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2559);function r(t,e,n){return t.set((0,i.A)(t,e),n),n}},4586:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(1369);function r(t,e,n){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},1369:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(7545);function r(t){var e=function(t,e){if("object"!=(0,i.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=(0,i.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,i.A)(e)?e:e+""}},7545:(t,e,n)=>{function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>i})},1045:(t,e,n)=>{n.r(e),n.d(e,{NextElement:()=>A,createDecorators:()=>a,supportsAdoptingStyleSheets:()=>_});const i=Symbol.for("attributeHasBeenSet"),r=Symbol.for("markAttributeHasBeenSet"),o=Symbol.for("stopAttributeChangedCallback"),s={attribute:!0,type:String,converter:{toAttribute:(t,e)=>e===Boolean?t?"":null:t,fromAttribute(t,e){switch(e){case Boolean:return null!==t&&"false"!==t;case Number:return null===t?null:Number(t)}return t}},render:!0,hasChanged:(t,e)=>e!==t&&(e==e||t==t)};function a(){const t=new Map,e=new Set,n=new Set,a=new Set;return{defineElement:function(i){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(o,s)=>{let{kind:c,name:d,addInitializer:h}=s;h((function(){const s=Object.getPrototypeOf(this);if(u(this,"observedAttributes",l(s.observedAttributes??[],t.keys())),u(this,"__attributeReflections",new Map([...s.__attributeReflections??[],...t])),u(this,"styleTexts",r.styleTexts),u(this,"shadowOptions",!1!==r.shadowOptions?{mode:"open",...r.shadowOptions}:null),u(this,"__tagName",i),u(this,"_dev_only_definedProperties",l(s._dev_only_definedProperties??[],e)),u(this,"_dev_only_definedMethods",l(s._dev_only_definedMethods??[],n)),u(this,"_dev_only_definedEvents",l(s._dev_only_definedEvents??[],a)),customElements.define(i,this),Array.isArray(r.alias))for(const t of r.alias){const e=class extends o{};u(e,"__tagName",t),customElements.define(t,e)}}))}},property:function(n){return function(a,u){let{get:l,set:c}=a,{kind:d,name:h,static:f,private:b}=u;e.add(h);const p=Object.assign({},s,n),v=function(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}(h,p);return void 0!==v&&t.set(v,{...p,property:h}),{get(){return void 0!==v&&this[i](v)?p.converter.fromAttribute(this.getAttribute(v),p.type):l.call(this)},set(t){const e=l.call(this);if(c.call(this,t),p.hasChanged(t,e)){if(void 0!==v){const e=p.converter.toAttribute(t,p.type);this[o](!0),null==e?this.removeAttribute(v):this.setAttribute(v,e),this[r](v),this[o](!1)}p.render&&this._requestRender()}},init(t){if(void 0!==v&&p.hasChanged(t,void 0)){const e=p.converter.toAttribute(t,p.type);null!=e&&requestAnimationFrame((()=>{this[i](v)||(this[o](!0),this.setAttribute(v,e),this[o](!1))}))}return t}}}},method:function(t){return function(e,i){let{kind:r,name:o,static:s,private:a,addInitializer:u}=i;null!=t&&t.bound&&u((function(){this[o]=this[o].bind(this)})),n.add(o)}},event:function(t){return function(e,n){let{get:i}=e,{kind:r,name:o,static:s,private:u}=n;const{type:l,...c}=t;return a.add(l),{get(){return i.call(this)},set(){throw new Error("Decorated events are readonly")},init(t){return Object.freeze({emit:t=>this.dispatchEvent(new CustomEvent(l,{...c,detail:t}))})}}}}}}function u(t,e,n){Object.defineProperty(t,e,{get:()=>n,configurable:!0})}function l(t,e){const n=new Set(t);for(const t of e)n.add(t);return[...n]}new Set(["prefix"]);var c=n(918),d=n(4586),h=n(829),f=n(6121),b=new WeakMap,p=new WeakMap,v=new WeakMap,y=new WeakMap;class A extends HTMLElement{constructor(){super(...arguments),(0,c.A)(this,b,!1),(0,c.A)(this,p,!1),(0,c.A)(this,v,!1),(0,c.A)(this,y,new Set)}_markConnectedCallbackCalled(){(0,f.A)(p,this,!0)}connectedCallback(){this._markConnectedCallbackCalled(),this._render()}[i](t){return(0,h.A)(y,this).has(t)}[r](t){(0,h.A)(y,this).add(t)}[o](t){(0,f.A)(v,this,t)}attributeChangedCallback(t,e,n){if((0,h.A)(y,this).add(t),!(0,h.A)(v,this)&&e!==n){const e=this.constructor.__attributeReflections.get(t),i=e.converter.fromAttribute(n,e.type);this[e.property]=i}}_requestRender(){this.isConnected&&(0,h.A)(p,this)&&!(0,h.A)(b,this)&&((0,f.A)(b,this,!0),Promise.resolve().then((()=>{(0,f.A)(b,this,!1),this._render()})))}}let m;function _(){return void 0===m&&(m=!!(window.ShadowRoot&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype)),m}(0,d.A)(A,"styleTexts",void 0),(0,d.A)(A,"shadowOptions",void 0),(0,d.A)(A,"__attributeReflections",void 0),(0,d.A)(A,"__tagName",void 0)}}]);
|
|
2
|
+
//# sourceMappingURL=1045.659660a3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/1045.659660a3.js","mappings":"mIAAe,SAASA,EAAkBC,EAAGC,EAAGC,GAC9C,GAAI,mBAAqBF,EAAIA,IAAMC,EAAID,EAAEG,IAAIF,GAAI,OAAOG,UAAUC,OAAS,EAAIJ,EAAIC,EACnF,MAAM,IAAII,UAAU,gDACtB,C,iCCHe,SAASC,EAA2BC,EAAKC,GACtD,GAAIA,EAAkBN,IAAIK,GACxB,MAAM,IAAIF,UAAU,iEAExB,C,+DCHe,SAASI,EAAuBC,EAAGC,GAChD,OAAOD,EAAEE,KAAI,OAAiBF,EAAGC,GACnC,C,+CCFe,SAASE,EAA2BN,EAAKO,EAAYC,IAClE,OAA0BR,EAAKO,GAC/BA,EAAWE,IAAIT,EAAKQ,EACtB,C,gDCHe,SAASE,EAAuBP,EAAGC,EAAGO,GACnD,OAAOR,EAAEM,KAAI,OAAiBN,EAAGC,GAAIO,GAAIA,CAC3C,C,gDCFe,SAASC,EAAgBZ,EAAKa,EAAKL,GAYhD,OAXAK,GAAM,OAAcA,MACTb,EACTc,OAAOC,eAAef,EAAKa,EAAK,CAC9BL,MAAOA,EACPQ,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZlB,EAAIa,GAAOL,EAENR,CACT,C,gDCZe,SAASmB,EAAc1B,GACpC,IAAI2B,ECFS,SAAqB3B,EAAGkB,GACrC,GAAI,WAAY,OAAQlB,KAAOA,EAAG,OAAO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,OAAsB6E,EAAoBpE,MAAMnE,IAAI0D,EAC7D,CACA,CAACrB,GAAiCqB,IAChC,OAAsB6E,EAAoBpE,MAAMyB,IAAIlC,EACtD,CAGA,CAACpB,GAAsCzB,IACrC,OAAsByH,EAAkCnE,KAAMtD,EAChE,CAGA,wBAAAiI,CAAyBpF,EAAMT,EAAKpC,GAElC,IADA,OAAsB0H,EAAoBpE,MAAMyB,IAAIlC,KAC/C,OAAsB4E,EAAkCnE,OAASlB,IAAQpC,EAAO,CACnF,MAAMkI,EAAU5E,KAAKlC,YAAYuC,uBAAuB9D,IAAIgD,GAEtDoE,EAAYiB,EAAQrG,UAAUG,cAAchC,EAAOkI,EAAQtG,MACjE0B,KAAK4E,EAAQ1D,UAAYyC,CAC3B,CACF,CAMA,cAAArB,GAGMtC,KAAK6E,cAAe,OAAsBX,EAA0BlE,SAAU,OAAsBgE,EAAqBhE,SAC3H,OAAsBgE,EAAqBhE,MAAM,GACjD8E,QAAQC,UAAUC,MAAK,MACrB,OAAsBhB,EAAqBhE,MAAM,GACjDA,KAAK0E,SAAS,IAGpB,ECtEF,IAAIO,EACG,SAASC,IAMd,YALiBzF,IAAbwF,IACFA,KAAcE,OAAOC,YAErB,uBAAwBC,SAAStH,WAAa,YAAauH,cAAcvH,YAEpEkH,CACT,EDgEA,OAAgBZ,EAAa,kBAAc,IAC3C,OAAgBA,EAAa,qBAAiB,IAC9C,OAAgBA,EAAa,8BAA0B,IACvD,OAAgBA,EAAa,iBAAa,E","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///../../node_modules/@next-core/element/dist/esm/internal/symbols.js","webpack:///../../node_modules/@next-core/element/dist/esm/createDecorators.js","webpack:///../../node_modules/@next-core/element/dist/esm/NextElement.js","webpack:///../../node_modules/@next-core/element/dist/esm/supportsAdoptingStyleSheets.js"],"sourcesContent":["export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","export const symbolOfAttributeHasBeenSet = Symbol.for(\"attributeHasBeenSet\");\nexport const symbolOfMarkAttributeHasBeenSet = Symbol.for(\"markAttributeHasBeenSet\");\nexport const symbolOfStopAttributeChangedCallback = Symbol.for(\"stopAttributeChangedCallback\");\n//# sourceMappingURL=symbols.js.map","import { symbolOfAttributeHasBeenSet, symbolOfMarkAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nconst defaultConverter = {\n toAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value ? \"\" : null;\n }\n return value;\n },\n fromAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value !== null && value !== \"false\";\n case Number:\n return value === null ? null : Number(value);\n }\n return value;\n }\n};\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nconst notEqual = (value, old) => {\n // This ensures (old==NaN, value==NaN) always returns false\n return old !== value && (old === old || value === value);\n};\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n // reflect: true,\n render: true,\n hasChanged: notEqual\n};\n\n// Note: `prefix` is a native prop on Element, but it's only used in XML documents.\nconst allowedNativeProps = new Set([\"prefix\"]);\nexport function createDecorators() {\n const attributeReflections = new Map();\n const definedProperties = new Set();\n const definedMethods = new Set();\n const definedEvents = new Set();\n function defineElement(name) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return (value, _ref) => {\n let {\n kind,\n name: className,\n addInitializer\n } = _ref;\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && kind !== \"class\") {\n throw new Error(`Invalid usage of \\`@defineElement()\\` on a ${kind}: \"${className}\"`);\n }\n addInitializer(function () {\n const superClass = Object.getPrototypeOf(this);\n const mergedAttributes = mergeIterables(superClass.observedAttributes ?? [], attributeReflections.keys());\n defineReadonlyProperty(this, \"observedAttributes\", mergedAttributes);\n const mergedAttributeReflections = new Map([...(superClass.__attributeReflections ?? []), ...attributeReflections]);\n defineReadonlyProperty(this, \"__attributeReflections\", mergedAttributeReflections);\n defineReadonlyProperty(this, \"styleTexts\", options.styleTexts);\n defineReadonlyProperty(this, \"shadowOptions\", options.shadowOptions !== false ? {\n mode: \"open\",\n ...options.shadowOptions\n } : null);\n defineReadonlyProperty(this, \"__tagName\", name);\n const mergedProperties = mergeIterables(superClass._dev_only_definedProperties ?? [], definedProperties);\n defineReadonlyProperty(this, \"_dev_only_definedProperties\", mergedProperties);\n const mergedMethods = mergeIterables(superClass._dev_only_definedMethods ?? [], definedMethods);\n defineReadonlyProperty(this, \"_dev_only_definedMethods\", mergedMethods);\n const mergedEvents = mergeIterables(superClass._dev_only_definedEvents ?? [], definedEvents);\n defineReadonlyProperty(this, \"_dev_only_definedEvents\", mergedEvents);\n customElements.define(name, this);\n if (Array.isArray(options.alias)) {\n for (const alias of options.alias) {\n // Use a parenthesized expression to make the class has no name.\n const Alias = (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n 0, class extends value {});\n defineReadonlyProperty(Alias, \"__tagName\", alias);\n customElements.define(alias, Alias);\n }\n }\n });\n };\n }\n function property(options) {\n return function (_ref2, _ref3) {\n let {\n get,\n set\n } = _ref2;\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref3;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(`Invalid usage of \\`@property()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (typeof name !== \"string\") {\n throw new Error(`Invalid usage of \\`@property()\\` on a ${kind} of ${typeof name}`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@property()\\` on a static ${kind}: \"${name}\"`);\n }\n if (isPrivate) {\n throw new Error(`Invalid usage of \\`@property()\\` on a private ${kind}: \"${name}\"`);\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n const message = `\"${name}\" is a native HTMLElement property, and is deprecated to be used as a brick property.`;\n throw new Error(message);\n }\n }\n definedProperties.add(name);\n const _options = Object.assign({}, defaultPropertyDeclaration, options);\n const attrName = attributeNameForProperty(name, _options);\n if (attrName !== undefined) {\n attributeReflections.set(attrName, {\n ..._options,\n property: name\n });\n }\n return {\n get() {\n // If the attribute has been set (not by initialization), returns the\n // value converted by the attribute. Otherwise returns the prop value.\n // This works as a type conversion when reading a prop value.\n if (attrName !== undefined && this[symbolOfAttributeHasBeenSet](attrName)) {\n return _options.converter.fromAttribute(this.getAttribute(attrName), _options.type);\n }\n return get.call(this);\n },\n set(value) {\n const oldValue = get.call(this);\n set.call(this, value);\n if (_options.hasChanged(value, oldValue)) {\n if (attrName !== undefined) {\n const attrValue = _options.converter.toAttribute(value, _options.type);\n this[symbolOfStopAttributeChangedCallback](true);\n if (attrValue == null) {\n this.removeAttribute(attrName);\n } else {\n this.setAttribute(attrName, attrValue);\n }\n this[symbolOfMarkAttributeHasBeenSet](attrName);\n this[symbolOfStopAttributeChangedCallback](false);\n }\n if (_options.render) {\n this._requestRender();\n }\n }\n },\n init(initialValue) {\n if (attrName !== undefined && _options.hasChanged(initialValue, undefined)) {\n const attrValue = _options.converter.toAttribute(initialValue, _options.type);\n if (attrValue != null) {\n // No attributes should be created during constructing custom elements.\n // This is true even if the work is done inside a constructor-initiated microtask.\n // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance\n requestAnimationFrame(() => {\n if (!this[symbolOfAttributeHasBeenSet](attrName)) {\n this[symbolOfStopAttributeChangedCallback](true);\n this.setAttribute(attrName, attrValue);\n this[symbolOfStopAttributeChangedCallback](false);\n }\n });\n }\n }\n return initialValue;\n }\n };\n };\n }\n function method(options) {\n return function (_value, _ref4) {\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate,\n addInitializer\n } = _ref4;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"method\") {\n throw new Error(`Invalid usage of \\`@method()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (typeof name !== \"string\") {\n throw new Error(`Invalid usage of \\`@method()\\` on a ${kind} of ${typeof name}`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@method()\\` on a static ${kind}: \"${name}\"`);\n }\n if (isPrivate) {\n throw new Error(`Invalid usage of \\`@method()\\` on a private ${kind}: \"${name}\"`);\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n const message = `\"${name}\" is a native HTMLElement property, and is deprecated to be used as a brick method.`;\n throw new Error(message);\n }\n }\n if (options !== null && options !== void 0 && options.bound) {\n addInitializer(function () {\n this[name] = this[name].bind(this);\n });\n }\n definedMethods.add(name);\n };\n }\n function event(options) {\n return function (_ref5, _ref6) {\n let {\n get\n } = _ref5;\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref6;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(`Invalid usage of \\`@event()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (!isPrivate) {\n throw new Error(`Invalid usage of \\`@event()\\` on a non-private ${kind}: \"${String(name)}\"`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@event()\\` on a static ${kind}: \"${String(name)}\"`);\n }\n }\n const {\n type,\n ...eventInit\n } = options;\n definedEvents.add(type);\n return {\n get() {\n return get.call(this);\n },\n set() {\n throw new Error(\"Decorated events are readonly\");\n },\n init(initialValue) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && initialValue !== undefined) {\n throw new Error(`Do not set an initial value for a decorated event: \"${String(name)}\"`);\n }\n return Object.freeze({\n emit: detail => this.dispatchEvent(new CustomEvent(type, {\n ...eventInit,\n detail\n }))\n });\n }\n };\n };\n }\n return {\n defineElement,\n property,\n method,\n event\n };\n}\nfunction defineReadonlyProperty(target, propName, propValue) {\n Object.defineProperty(target, propName, {\n get() {\n return propValue;\n },\n configurable: true\n });\n}\nfunction mergeIterables(list1, list2) {\n const newList = new Set(list1);\n for (const item of list2) {\n newList.add(item);\n }\n return [...newList];\n}\nfunction attributeNameForProperty(name, options) {\n const attribute = options.attribute;\n return attribute === false ? undefined : typeof attribute === \"string\" ? attribute : name.replace(/[A-Z]/g, char => `-${char.toLowerCase()}`);\n}\n//# sourceMappingURL=createDecorators.js.map","import _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet2\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet2\";\nimport { symbolOfAttributeHasBeenSet, symbolOfMarkAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nvar _hasRequestedRender = /*#__PURE__*/new WeakMap();\nvar _connectedCallbackCalled = /*#__PURE__*/new WeakMap();\nvar _attributeChangedCallbackStopped = /*#__PURE__*/new WeakMap();\nvar _attributesBeenSet = /*#__PURE__*/new WeakMap();\nexport class NextElement extends HTMLElement {\n constructor() {\n super(...arguments);\n _classPrivateFieldInitSpec(this, _hasRequestedRender, false);\n _classPrivateFieldInitSpec(this, _connectedCallbackCalled, false);\n _classPrivateFieldInitSpec(this, _attributeChangedCallbackStopped, false);\n _classPrivateFieldInitSpec(this, _attributesBeenSet, new Set());\n }\n /**\n * When render a custom element as parsed DOM, it is already connected in the\n * first place. The attributes are set while isConnected is true, which will\n * trigger a render request, and then before the next micro-task, the\n * `connectedCallback` will be called, which will trigger an immediate render.\n * Thus we would see two calls of render. So we manually set a mark of whether\n * the `connectedCallback` is actually get called, to prevent a trigger of\n * render request during attributes initialization before `connectedCallback`.\n */\n _markConnectedCallbackCalled() {\n _classPrivateFieldSet(_connectedCallbackCalled, this, true);\n }\n connectedCallback() {\n this._markConnectedCallbackCalled();\n this._render();\n }\n [symbolOfAttributeHasBeenSet](name) {\n return _classPrivateFieldGet(_attributesBeenSet, this).has(name);\n }\n [symbolOfMarkAttributeHasBeenSet](name) {\n _classPrivateFieldGet(_attributesBeenSet, this).add(name);\n }\n\n /** Whether to process attributeChangedCallback. */\n [symbolOfStopAttributeChangedCallback](value) {\n _classPrivateFieldSet(_attributeChangedCallbackStopped, this, value);\n }\n\n /** @internal */\n attributeChangedCallback(name, old, value) {\n _classPrivateFieldGet(_attributesBeenSet, this).add(name);\n if (!_classPrivateFieldGet(_attributeChangedCallbackStopped, this) && old !== value) {\n const attrRef = this.constructor.__attributeReflections.get(name);\n assertAttributeIsReflected(attrRef, name);\n const propValue = attrRef.converter.fromAttribute(value, attrRef.type);\n this[attrRef.property] = propValue;\n }\n }\n\n /**\n * Request a render in the next micro-task. This ensures multiple properties\n * or attributes will trigger a render once in a batch.\n */\n _requestRender() {\n // If the element is not connected,\n // let `connectedCallback()` do the job of calling _render.\n if (this.isConnected && _classPrivateFieldGet(_connectedCallbackCalled, this) && !_classPrivateFieldGet(_hasRequestedRender, this)) {\n _classPrivateFieldSet(_hasRequestedRender, this, true);\n Promise.resolve().then(() => {\n _classPrivateFieldSet(_hasRequestedRender, this, false);\n this._render();\n });\n }\n }\n}\n_defineProperty(NextElement, \"styleTexts\", void 0);\n_defineProperty(NextElement, \"shadowOptions\", void 0);\n_defineProperty(NextElement, \"__attributeReflections\", void 0);\n_defineProperty(NextElement, \"__tagName\", void 0);\nfunction assertAttributeIsReflected(attrRef, name) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && !attrRef) {\n throw new Error(`Attribute [${name}] is not reflected`);\n }\n}\n//# sourceMappingURL=NextElement.js.map","let supports;\nexport function supportsAdoptingStyleSheets() {\n if (supports === undefined) {\n supports = !!(window.ShadowRoot &&\n // (window.ShadyCSS === undefined || window.ShadyCSS.nativeShadow) &&\n \"adoptedStyleSheets\" in Document.prototype && \"replace\" in CSSStyleSheet.prototype);\n }\n return supports;\n}\n//# sourceMappingURL=supportsAdoptingStyleSheets.js.map"],"names":["_assertClassBrand","e","t","n","has","arguments","length","TypeError","_checkPrivateRedeclaration","obj","privateCollection","_classPrivateFieldGet2","s","a","get","_classPrivateFieldInitSpec","privateMap","value","set","_classPrivateFieldSet2","r","_defineProperty","key","Object","defineProperty","enumerable","configurable","writable","toPropertyKey","i","Symbol","toPrimitive","call","String","_typeof","o","iterator","constructor","prototype","symbolOfAttributeHasBeenSet","for","symbolOfMarkAttributeHasBeenSet","symbolOfStopAttributeChangedCallback","defaultPropertyDeclaration","attribute","type","converter","toAttribute","Boolean","fromAttribute","Number","render","hasChanged","old","createDecorators","attributeReflections","Map","definedProperties","Set","definedMethods","definedEvents","defineElement","name","options","undefined","_ref","kind","className","addInitializer","superClass","getPrototypeOf","this","defineReadonlyProperty","mergeIterables","observedAttributes","keys","__attributeReflections","styleTexts","shadowOptions","mode","_dev_only_definedProperties","_dev_only_definedMethods","_dev_only_definedEvents","customElements","define","Array","isArray","alias","Alias","property","_ref2","_ref3","static","isStatic","private","isPrivate","add","_options","assign","attrName","replace","char","toLowerCase","attributeNameForProperty","getAttribute","oldValue","attrValue","removeAttribute","setAttribute","_requestRender","init","initialValue","requestAnimationFrame","method","_value","_ref4","bound","bind","event","_ref5","_ref6","eventInit","Error","freeze","emit","detail","dispatchEvent","CustomEvent","target","propName","propValue","list1","list2","newList","item","_hasRequestedRender","WeakMap","_connectedCallbackCalled","_attributeChangedCallbackStopped","_attributesBeenSet","NextElement","HTMLElement","super","_markConnectedCallbackCalled","connectedCallback","_render","attributeChangedCallback","attrRef","isConnected","Promise","resolve","then","supports","supportsAdoptingStyleSheets","window","ShadowRoot","Document","CSSStyleSheet"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[1055],{935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var u=0;u<e.length;u++){var p=[].concat(e[u]);r&&i[p[0]]||(void 0!==a&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=a),n&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=n):p[2]=n),o&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=o):p[4]="".concat(o)),t.push(p))}},t}},6758:e=>{e.exports=function(e){return e[1]}},2591:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],c=0;c<e.length;c++){var s=e[c],u=r.base?s[0]+r.base:s[0],p=a[u]||0,f="".concat(u," ").concat(p);a[u]=p+1;var l=n(f),d={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==l)t[l].references++,t[l].updater(d);else{var v=o(d,r);r.byIndex=c,t.splice(c,0,{identifier:f,updater:v,references:1})}i.push(f)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=n(a[i]);t[c].references--}for(var s=r(e,o),u=0;u<a.length;u++){var p=n(a[u]);0===t[p].references&&(t[p].updater(),t.splice(p,1))}a=s}}},8128:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},3051:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},1740:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},3656:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}}]);
|
|
2
|
+
//# sourceMappingURL=1055.784eb310.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/1055.575dd0f8.js","mappings":"2GAMAA,EAAO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,EAAOC,QAVP,SAA2BoC,EAAKqC,GAC9B,GAAIA,EAAac,WACfd,EAAac,WAAWC,QAAUpD,MAC7B,CACL,KAAOqC,EAAagB,YAClBhB,EAAaY,YAAYZ,EAAagB,YAExChB,EAAaL,YAAYT,SAAS+B,eAAetD,GACnD,CACF,C","sources":["webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js"],"sourcesContent":["\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;"],"names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","options","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"chunks/1055.784eb310.js","mappings":"uHAMAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA4EX,OAzEAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GAoB5B,OAnBIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAEvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAEnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAE5EC,GAAWN,EAAuBK,GAC9BE,IACFD,GAAW,KAETD,EAAK,KACPC,GAAW,KAETD,EAAK,KACPC,GAAW,KAENA,CACT,IAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAE7B,IAAIC,EAAyB,CAAC,EAC9B,GAAIJ,EACF,IAAK,IAAIK,EAAI,EAAGA,EAAIhB,KAAKM,OAAQU,IAAK,CACpC,IAAIC,EAAKjB,KAAKgB,GAAG,GACP,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EAAI,IAAID,OAAO0B,EAAIlB,OAAS,GAAI,OAE5EmB,GAAOD,EAAIC,IACP5B,IACF4B,GAAO,KAELD,EAAIrB,QACNsB,GAAO,KAELD,EAAInB,WACNoB,GAAO,KAET,IAAIC,EAAYF,EAAIE,UAChBA,GAA6B,oBAATwC,OACtBzC,GAAO,uDAAuD3B,OAAOoE,KAAKC,SAASC,mBAAmBC,KAAKC,UAAU5C,MAAe,QAKtIR,EAAQqD,kBAAkB9C,EAAKqC,EAAc5C,EAAQA,QACvD,CAoBMsD,CAAMV,EAAc5C,EAASM,EAC/B,EACAY,OAAQ,YArBZ,SAA4B0B,GAE1B,GAAgC,OAA5BA,EAAaW,WACf,OAAO,EAETX,EAAaW,WAAWC,YAAYZ,EACtC,CAgBMa,CAAmBb,EACrB,EAEJ,C,WC9CA1E,EAAOC,QAVP,SAA2BoC,EAAKqC,GAC9B,GAAIA,EAAac,WACfd,EAAac,WAAWC,QAAUpD,MAC7B,CACL,KAAOqC,EAAagB,YAClBhB,EAAaY,YAAYZ,EAAagB,YAExChB,EAAaL,YAAYT,SAAS+B,eAAetD,GACnD,CACF,C","sources":["webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js"],"sourcesContent":["\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;"],"names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","options","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[1122],{4586:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(1369);function i(e,n,t){return(n=(0,r.A)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},1369:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(7545);function i(e){var n=function(e,n){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(n)?n:n+""}},7545:(e,n,t)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{A:()=>r})},1122:(e,n,t)=>{t.r(n),t.d(n,{cook:()=>R,isEvaluable:()=>_,isTrackAll:()=>G,precook:()=>z,precookFunction:()=>q,preevaluate:()=>U,shouldAllowRecursiveEvaluations:()=>W});var r=t(4586);class i{constructor(){(0,r.A)(this,"VariableEnvironment",void 0),(0,r.A)(this,"LexicalEnvironment",void 0),(0,r.A)(this,"Function",void 0)}}class o{constructor(e){(0,r.A)(this,"OuterEnv",void 0),(0,r.A)(this,"bindingMap",new Map),this.OuterEnv=e}HasBinding(e){return this.bindingMap.has(e)}CreateMutableBinding(e,n){return this.bindingMap.set(e,{mutable:!0,deletable:n}),v(void 0)}CreateImmutableBinding(e,n){return this.bindingMap.set(e,{strict:n}),v(void 0)}InitializeBinding(e,n){const t=this.bindingMap.get(e);return Object.assign(t,{initialized:!0,value:n}),v(void 0)}SetMutableBinding(e,n,t){const r=this.bindingMap.get(e);if(!r.initialized)throw new ReferenceError(`${e} is not initialized`);if(!r.mutable)throw new TypeError("Assignment to constant variable");return r.value=n,v(void 0)}GetBindingValue(e,n){const t=this.bindingMap.get(e);if(!t.initialized)throw new ReferenceError(`${e} is not initialized`);return t.value}}class a extends o{}class s extends o{}const c=Symbol.for("SourceNode"),u=Symbol.for("FormalParameters"),l=Symbol.for("ECMAScriptCode"),f=Symbol.for("Environment"),d=Symbol.for("IsConstructor");class p{constructor(e,n,t){(0,r.A)(this,"Base",void 0),(0,r.A)(this,"ReferenceName",void 0),(0,r.A)(this,"Strict",void 0),this.Base=e,this.ReferenceName=n,this.Strict=t}}class m{constructor(e,n){(0,r.A)(this,"Type",void 0),(0,r.A)(this,"Value",void 0),this.Type=e,this.Value=n}}function v(e){return new m("normal",e)}const y=Symbol("empty completion");function b(e){const n=new Set,t=e=>{if(Array.isArray(e))for(const n of e)t(n);else if(e)switch(e.type){case"Identifier":return void n.add(e.name);case"VariableDeclaration":return t(e.declarations);case"VariableDeclarator":case"FunctionDeclaration":return t(e.id);case"ArrayPattern":return t(e.elements);case"AssignmentPattern":return t(e.left);case"ObjectPattern":return t(e.properties);case"Property":return t(e.value);case"RestElement":return t(e.argument)}};return t(e),Array.from(n)}function g(e){const n=e=>{if(Array.isArray(e))return e.some(n);if(e)switch(e.type){case"ArrayPattern":return n(e.elements);case"AssignmentPattern":return!0;case"ObjectPattern":return n(e.properties);case"Property":return e.computed||n(e.value);case"RestElement":return n(e.argument)}};return n(e)}function h(e,n){const t=[],r={var:n.var},i=(e,n)=>{if(Array.isArray(e))for(const t of e)i(t,n);else if(e){switch(e.type){case"FunctionDeclaration":return void(Number(!n.var)^Number(n.topLevel)&&t.push(e));case"VariableDeclaration":return void(Number(!n.var)^Number("var"===e.kind)&&t.push(e));case"SwitchCase":return void i(e.consequent,r);case"CatchClause":return void i(e.body,r)}if(n.var)switch(e.type){case"BlockStatement":case"DoWhileStatement":case"WhileStatement":return void i(e.body,r);case"IfStatement":return i(e.consequent,r),void i(e.alternate,r);case"ForStatement":return i(e.init,r),void i(e.body,r);case"ForInStatement":case"ForOfStatement":return i(e.left,r),void i(e.body,r);case"SwitchStatement":return void i(e.cases,r);case"TryStatement":return i(e.block,r),i(e.handler,r),void i(e.finalizer,r)}}};return i(e,n),t}function E(e){return"unresolvable"!==e.Base&&!(e.Base instanceof o)}function w(e,n){return e.Base.InitializeBinding(e.ReferenceName,n)}function x(e,n,t){if(null==n)return e;const r=Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n));for(const i of r)if(!t.has(i)){const t=Object.getOwnPropertyDescriptor(n,i);null!=t&&t.enumerable&&(e[i]=n[i])}return e}function S(e,n){const t="const"===e.kind;for(const r of b(e))t?n.CreateImmutableBinding(r,!0):n.CreateMutableBinding(r,!1)}function B(e){return"normal"===e.Type||"continue"==e.Type}function A(e,n){return e.Value!==y?e:new m(e.Type,n)}function k(e){if(e instanceof m&&(e=e.Value),!(e instanceof p))return e;if("unresolvable"===e.Base)throw new ReferenceError(`${e.ReferenceName} is not defined`);return e.Base instanceof o?e.Base.GetBindingValue(e.ReferenceName,e.Strict):e.Base[e.ReferenceName]}function L(e){return"symbol"==typeof e?e:String(e)}function V(e,n){return e[n]}function C(e,n){if("unresolvable"===e.Base)throw new ReferenceError(`${e.ReferenceName} is not defined`);return e.Base instanceof o?e.Base.SetMutableBinding(e.ReferenceName,n,e.Strict):(e.Base[e.ReferenceName]=n,v(void 0))}function P(e){if(n=e,!(Array.isArray(n)||null!=n&&"function"==typeof n[Symbol.iterator]))throw new TypeError(typeof e+" is not iterable");var n;return e[Symbol.iterator]()}function T(e){if(null==e)throw new TypeError("Cannot destructure properties of undefined or null")}function I(e,n,t){return e?e.HasBinding(n)?new p(e,n,t):I(e.OuterEnv,n,t):new p("unresolvable",n,t)}function O(e,n,t){switch(n){case"+":return e+t;case"-":return e-t;case"/":return e/t;case"%":return e%t;case"*":return e*t;case"**":return e**t;case"==":return e==t;case"===":return e===t;case"!=":return e!=t;case"!==":return e!==t;case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}throw new SyntaxError(`Unsupported binary operator \`${n}\``)}const F=new WeakSet([Function,Object,Function.prototype,Object.prototype,function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}()]);function j(e){if(F.has(e))throw new TypeError("Cannot access reserved objects such as `Function`.")}const M=new WeakSet([Array,Map,Set,URLSearchParams,WeakMap,WeakSet,RegExp]);function R(e,n){var t;let{rules:r,globalVariables:o={},hooks:F={}}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const R="FunctionDeclaration"!==e.type,D=new a(null),$=new i;$.VariableEnvironment=D,$.LexicalEnvironment=D;const z=[$];for(const[e,n]of Object.entries(o))D.CreateImmutableBinding(e,!0),D.InitializeBinding(e,n);const N=new WeakMap;function q(e,t){var r,i,o;switch(null===(r=F.beforeEvaluate)||void 0===r||r.call(F,e),e.type){case"ArrayExpression":{const n=[];for(const t of e.elements)if(t)if("SpreadElement"===t.type){const e=k(q(t.argument));n.push(...e)}else n.push(k(q(t)));else n.length+=1;return v(n)}case"ArrowFunctionExpression":return ue(e),v(re(e,U().LexicalEnvironment,!1));case"BinaryExpression":{const t=k(q(e.left)),r=q(e.right).Value,i=k(r);if(R&&"|>"===e.operator){if("function"!=typeof i){const t=n.substring(e.right.start,e.right.end);throw new TypeError(`${t} is not a function`)}let o;return r instanceof p&&E(r)&&(o=r.Base),v(i.call(o,t))}return v(O(t,e.operator,i))}case"CallExpression":{const n=q(e.callee,t).Value,r=k(n);return null==r&&(e.optional||null!=t&&t.skipped)?(t.skipped=!0,v(void 0)):(j(r),Z(r,n,e.arguments,e.callee))}case"ChainExpression":return q(e.expression,{});case"ConditionalExpression":return v(k(q(k(q(e.test))?e.consequent:e.alternate)));case"Identifier":return v(_(e.name));case"Literal":if(e.regex){if(null===e.value)throw new SyntaxError(`Invalid regular expression: ${e.raw}`);if(e.regex.flags.includes("u"))throw new SyntaxError(`Unsupported unicode flag in regular expression: ${e.raw}`)}return v(e.value);case"LogicalExpression":{const n=k(q(e.left));switch(e.operator){case"&&":return v(n&&k(q(e.right)));case"||":return v(n||k(q(e.right)));case"??":return v(n??k(q(e.right)));default:throw new SyntaxError(`Unsupported logical operator '${e.operator}'`)}}case"MemberExpression":{const n=k(q(e.object,t).Value);if(null==n&&(e.optional||null!=t&&t.skipped))return t.skipped=!0,v(void 0);j(n);const r=e.computed?function(e,n,t){const r=L(k(q(n)));return new p(e,r,!0)}(n,e.property):function(e,n,t){const r=n.name;return new p(e,r,!0)}(n,e.property);return j(r),v(r)}case"NewExpression":return function(e,t){const r=k(q(e)),i=ee(t);if("function"!=typeof r||!1===r[d]){const t=n.substring(e.start,e.end);throw new TypeError(`${t} is not a constructor`)}if(!function(e){return M.has(e)||e===Date}(r)){const t=n.substring(e.start,e.end);throw new TypeError(`${t} is not an allowed constructor`)}return v(new r(...i))}(e.callee,e.arguments);case"ObjectExpression":{const n={};for(const t of e.properties)if("SpreadElement"===t.type)x(n,k(q(t.argument)),new Set);else{if("init"!==t.kind)throw new SyntaxError("Unsupported object getter/setter");const e=t.computed||"Identifier"!==t.key.type?oe(t.key):t.key.name;if("__proto__"===e)throw new TypeError("Setting '__proto__' property is not allowed");n[e]=k(q(t.value))}return v(n)}case"SequenceExpression":{let n;for(const t of e.expressions)n=v(k(q(t)));return n}case"TemplateLiteral":{const n=[e.quasis[0].value.cooked];let t=0;for(const r of e.expressions){const i=k(q(r));n.push(String(i)),n.push(e.quasis[t+=1].value.cooked)}return v(n.join(""))}case"TaggedTemplateExpression":{const n=q(e.tag).Value,t=k(n);return j(t),Z(t,n,e.quasi,e.tag)}case"UnaryExpression":{const n=q(e.argument).Value;if(!R&&"delete"===e.operator){if(!(n instanceof p))return v(!0);if(E(n))return v(delete n.Base[n.ReferenceName])}return"typeof"===e.operator?n instanceof p&&"unresolvable"===n.Base?v("undefined"):v(typeof k(n)):v(function(e,n){switch(n){case"!":return!e;case"+":return+e;case"-":return-e;case"void":return}throw new SyntaxError(`Unsupported unary operator \`${n}\``)}(k(n),e.operator))}}if(!R)switch(e.type){case"AssignmentExpression":{if("="===e.operator){if("ArrayPattern"!==e.left.type&&"ObjectPattern"!==e.left.type){const n=q(e.left).Value,t=k(q(e.right));return C(n,t),v(t)}const n=k(q(e.right));return K(e.left,n),v(n)}const n=q(e.left).Value,t=k(n),r=k(q(e.right)),i=function(e,n,t){switch(n){case"+=":case"-=":case"*=":case"/=":case"%=":case"**=":return O(e,n.substr(0,n.length-1),t)}throw new SyntaxError(`Unsupported assignment operator \`${n}\``)}(t,e.operator,r);return C(n,i),v(i)}case"BlockStatement":{if(!e.body.length)return v(y);const n=U().LexicalEnvironment,t=new a(n);Y(e.body,t),U().LexicalEnvironment=t;const r=ne(e.body);return U().LexicalEnvironment=n,r}case"BreakStatement":return new m("break",y);case"ContinueStatement":return new m("continue",y);case"EmptyStatement":case"FunctionDeclaration":return v(y);case"DoWhileStatement":return W(function(e){let n;for(;;){const t=q(e.body);if(!B(t))return A(t,n);if(t.Value!==y&&(n=t.Value),!k(q(e.test)))return v(n)}}(e));case"ExpressionStatement":case"TSAsExpression":return q(e.expression);case"ForInStatement":case"ForOfStatement":return W(function(e){const n=e.left,t="VariableDeclaration"===n.type?"var"===n.kind?"varBinding":"lexicalBinding":"assignment",r="lexicalBinding"===t?b(n):[],i="ForInStatement"===e.type?"enumerate":"iterate",o=function(e,n,t){const r=U(),i=r.LexicalEnvironment;if(e.length>0){const n=new a(i);for(const t of e)n.CreateMutableBinding(t,!1);r.LexicalEnvironment=n}const o=q(n);r.LexicalEnvironment=i;const s=k(o);return"enumerate"===t?null==s?new m("break",y):v(function*(e){for(const n in e)yield n}(s)):v(P(s))}(r,e.right,i);return"normal"!==o.Type?o:function(e,n,t,r,i){const o="assignment"===i?e:e.declarations[0].id,s=U().LexicalEnvironment;let c;const u="ObjectPattern"===o.type||"ArrayPattern"===o.type;for(;;){const{done:l,value:f}=t.next();if(l)return v(c);let d,p;if("lexicalBinding"===i){if(p=new a(s),S(e,p),U().LexicalEnvironment=p,!u){const[e]=b(o);d=_(e)}}else u||(d=q(o).Value);u?"assignment"===i?K(o,f):ie(o,f,"varBinding"===i?void 0:p):"lexicalBinding"===i?w(d,f):C(d,f);const m=q(n);if(U().LexicalEnvironment=s,!B(m)){const e=A(m,c);if("enumerate"!==r&&void 0!==t.return){const e=t.return();if(!e||!["object","function"].includes(typeof e))throw new TypeError("Iterator result is not an object")}return e}m.Value!==y&&(c=m.Value)}}(n,e.body,o.Value,i,t)}(e));case"ForStatement":return W(function(e){var n;if("VariableDeclaration"===(null===(n=e.init)||void 0===n?void 0:n.type)){if("var"===e.init.kind)return q(e.init),H(e.test,e.update,e.body,[]);const n=U().LexicalEnvironment,t=new a(n),r="const"===e.init.kind,i=b(e.init);for(const e of i)r?t.CreateImmutableBinding(e,!0):t.CreateMutableBinding(e,!1);U().LexicalEnvironment=t,q(e.init);const o=r?[]:Array.from(i),s=H(e.test,e.update,e.body,o);return U().LexicalEnvironment=n,s}return e.init&&k(q(e.init)),H(e.test,e.update,e.body,[])}(e));case"FunctionExpression":return ue(e),v(function(e){const n=U().LexicalEnvironment;if(e.id){const t=e.id.name,r=new a(n);r.CreateImmutableBinding(t,!1);const i=re(e,r,!0);return r.InitializeBinding(t,i),i}return re(e,n,!0)}(e));case"IfStatement":return k(q(e.test))?(null!==(i=F.beforeBranch)&&void 0!==i&&i.call(F,e,"if"),A(q(e.consequent),void 0)):(null!==(o=F.beforeBranch)&&void 0!==o&&o.call(F,e,"else"),e.alternate?A(q(e.alternate),void 0):v(void 0));case"ReturnStatement":{let n;return e.argument&&(n=k(q(e.argument))),new m("return",n)}case"ThrowStatement":throw k(q(e.argument));case"UpdateExpression":{const n=q(e.argument).Value,t=Number(k(n)),r="++"===e.operator?t+1:t-1;return C(n,r),v(e.prefix?r:t)}case"SwitchCase":return ne(e.consequent);case"SwitchStatement":{const n=k(q(e.discriminant)),t=U().LexicalEnvironment,r=new a(t);Y(e.cases,r),U().LexicalEnvironment=r;const i=function(e,n){let t;const r=e.findIndex((e=>!e.test)),i=r>=0,o=i?e.slice(0,r):e;let a=!1;for(const e of o)if(a||(a=G(e,n)),a){const n=q(e);if(n.Value!==y&&(t=n.Value),"normal"!==n.Type)return A(n,t)}if(!i)return v(t);let s=!1;const c=e.slice(r+1);if(!a)for(const e of c)if(s||(s=G(e,n)),s){const n=q(e);if(n.Value!==y&&(t=n.Value),"normal"!==n.Type)return A(n,t)}if(s)return v(t);const u=q(e[r]);if(u.Value!==y&&(t=u.Value),"normal"!==u.Type)return A(u,t);for(const e of c){const n=q(e);if(n.Value!==y&&(t=n.Value),"normal"!==n.Type)return A(n,t)}return v(t)}(e.cases,n);return U().LexicalEnvironment=t,W(i)}case"TryStatement":{let n;try{n=q(e.block)}catch(t){if(!e.handler)throw t;var s;null===(s=F.beforeEvaluate)||void 0===s||s.call(F,e.handler),n=function(e,n){if(!e.param)return q(e.body);const t=U().LexicalEnvironment,r=new a(t);for(const n of b(e.param))r.CreateMutableBinding(n,!1);U().LexicalEnvironment=r,ie(e.param,n,r);const i=q(e.body);return U().LexicalEnvironment=t,i}(e.handler,t)}finally{if(e.finalizer){const t=q(e.finalizer);"normal"!==t.Type&&(n=t)}}return n}case"VariableDeclaration":{let n;for(const t of e.declarations)if(t.init)if("Identifier"===t.id.type){const r=_(t.id.name),i=k(q(t.init));n="var"===e.kind?C(r,i):w(r,i)}else{const r=k(q(t.init));n=ie(t.id,r,"var"===e.kind?void 0:U().LexicalEnvironment)}else n="var"===e.kind?v(y):w(_(t.id.name),void 0);return n}case"WhileStatement":return W(function(e){let n;for(;;){if(!k(q(e.test)))return v(n);const t=q(e.body);if(!B(t))return A(t,n);t.Value!==y&&(n=t.Value)}}(e))}throw new SyntaxError(`Unsupported node type \`${e.type}\``)}function U(){return z[z.length-1]}function _(e,n){return n||(n=U().LexicalEnvironment),I(n,e,!0)}function W(e){return"break"===e.Type?e.Value===y?v(void 0):v(e.Value):e}function G(e,n){return n===k(q(e.test))}function H(e,n,t,r){let i;for(J(r);;){if(e&&!k(q(e)))return v(i);const o=q(t);if(!B(o))return A(o,i);o.Value&&(i=o.Value),J(r),n&&k(q(n))}}function J(e){if(0===e.length)return;const n=U().LexicalEnvironment,t=n.OuterEnv,r=new a(t);for(const t of e){r.CreateMutableBinding(t,!1);const e=n.GetBindingValue(t,!1);r.InitializeBinding(t,e)}U().LexicalEnvironment=r}function K(e,n){if("ObjectPattern"===e.type)return T(n),e.properties.length>0&&function(e,n){const t=new Set;for(const r of e)if("Property"===r.type){const e=r.computed||"Identifier"!==r.key.type?oe(r.key):r.key.name,i="AssignmentPattern"===r.value.type?r.value.left:r.value;if("Identifier"===i.type){const o=_(i.name);let a=V(n,e);"AssignmentPattern"===r.value.type&&void 0===a&&(a=k(q(r.value.right))),C(o,a),t.add(e)}else Q(r.value,n,e),t.add(e)}else X(r,n,t)}(e.properties,n),v(y);const t=P(n);return function(e,n){let t=v(y);for(const r of e){if(!r){n.next(),t=v(y);continue}const e="RestElement"===r.type?r.argument:"AssignmentPattern"===r.type?r.left:r,i="ArrayPattern"===e.type||"ObjectPattern"===e.type;let o,a;if(i||(o=q(e).Value),"RestElement"!==r.type){const{done:e,value:t}=n.next(),i=e?void 0:t;a="AssignmentPattern"===r.type&&void 0===i?k(q(r.right)):i}else{a=[];let e=0;for(;;){const{done:t,value:r}=n.next();if(t)break;a[e]=r,e++}}t=i?K(e,a):C(o,a)}return t}(e.elements,t)}function Q(e,n,t){const r="AssignmentPattern"===e.type?e.left:e,i="ArrayPattern"===r.type||"ObjectPattern"===r.type;let o;i||(o=q(r).Value);const a=V(n,t);let s;return s="AssignmentPattern"===e.type&&void 0===a?k(q(e.right)):a,i?K(r,s):C(o,s)}function X(e,n,t){return C(q(e.argument).Value,x({},n,t))}function Y(e,n){const t=h(e,{var:!1,topLevel:!1});for(const e of t){const t="VariableDeclaration"===e.type&&"const"===e.kind;for(const r of b(e))t?n.CreateImmutableBinding(r,!0):n.CreateMutableBinding(r,!1);if("FunctionDeclaration"===e.type){const[t]=b(e),r=te(e,n);n.InitializeBinding(t,r)}}}function Z(e,t,r,i){let o;t instanceof p&&E(t)&&(o=t.Base);const a=ee(r);if("function"!=typeof e){const e=n.substring(i.start,i.end);throw new TypeError(`${e} is not a function`)}const s=e.apply(o,a);return j(s),v(s)}function ee(e){const n=[];if(Array.isArray(e))for(const t of e)if("SpreadElement"===t.type){const e=k(q(t.argument));n.push(...e)}else n.push(k(q(t)));else{n.push(function(e){const n=N.get(e);if(n)return n;const t=e.quasis.map((e=>e.value.raw)),r=e.quasis.map((e=>e.value.cooked));return Object.freeze(t),Object.defineProperty(r,"raw",{value:t,writable:!1,enumerable:!1,configurable:!1}),Object.freeze(r),N.set(e,r),r}(e));for(const t of e.expressions)n.push(k(q(t)))}return n}function ne(e){let n=v(y);for(const t of e){const e=q(t);if("normal"!==e.Type)return e;n=A(n,e.Value)}return n}function te(e,n){return re(e,n,!0)}function re(e,n,t){const o=function(){return function(e,n){var t;null===(t=F.beforeCall)||void 0===t||t.call(F,e[c]),function(e){const n=new i;n.Function=e;const t=new s(e[f]);n.VariableEnvironment=t,n.LexicalEnvironment=t,z.push(n)}(e);const o=function(e,n){return function(e,n,t){return function(e,n){const t=U(),i=e[l],o=e[u],s=b(o),c=g(o),f=h(i,{var:!0,topLevel:!0}),d=b(f),p=[],m=[];for(let e=f.length-1;e>=0;e--){const n=f[e];if("FunctionDeclaration"===n.type){ue(n);const[e]=b(n);p.includes(e)||(p.unshift(e),m.unshift(n))}else if(null!=r&&r.noVar)throw new SyntaxError("Var declaration is not recommended, use `let` or `const` instead")}const v=t.LexicalEnvironment;for(const e of s)v.CreateMutableBinding(e,!1);let y;if(se(o,P(n),v),c){y=new a(v),t.VariableEnvironment=y;for(const e of d){let n;y.CreateMutableBinding(e,!1),s.includes(e)&&!p.includes(e)&&(n=v.GetBindingValue(e,!1)),y.InitializeBinding(e,n)}}else{for(const e of d)s.includes(e)||(v.CreateMutableBinding(e,!1),v.InitializeBinding(e,void 0));y=v}const E=y;t.LexicalEnvironment=E;const w=h(i,{var:!1,topLevel:!0});for(const e of w)for(const n of b(e))"const"===e.kind?E.CreateImmutableBinding(n,!0):E.CreateMutableBinding(n,!1);for(const e of m){const[n]=b(e),t=te(e,E);y.SetMutableBinding(n,t,!1)}}(n,t),Array.isArray(e)?ne(e):new m("return",k(q(e)))}(e[l],e,n)}(e,n);if(z.pop(),"return"===o.Type)return o.Value}(o,arguments)};return Object.defineProperties(o,{[c]:{value:e},[u]:{value:e.params},[l]:{value:"BlockStatement"===e.body.type?e.body.body:e.body},[f]:{value:n},[d]:{value:t}}),o}function ie(e,n,t){switch(e.type){case"Identifier":return function(e,n,t){return t.InitializeBinding(e,n),v(y)}(e.name,n,t);case"ObjectPattern":return T(n),function(e,n,t){const r=new Set;for(const i of e){if("RestElement"===i.type)return ae(i,n,t,r);if(i.computed||"Identifier"!==i.key.type){const e=oe(i.key);ce(i.value,n,t,e),r.add(e)}else ce(i.value,n,t,i.key.name),r.add(i.key.name)}return v(y)}(e.properties,n,t);case"ArrayPattern":{const r=P(n);return se(e.elements,r,t)}}}function oe(e){return L(k(q(e)))}function ae(e,n,t,r){const i=_(e.argument.name,t),o=x({},n,r);return t?w(i,o):C(i,o)}function se(e,n,t){if(0===e.length)return v(y);let r;for(const i of e)if(i)if("RestElement"===i.type)if("Identifier"===i.argument.type){const e=_(i.argument.name,t),o=[];let a=0;for(;;){const{done:i,value:s}=n.next();if(i){r=t?w(e,o):C(e,o);break}o[a]=s,a++}}else{const e=[];let o=0;for(;;){const{done:a,value:s}=n.next();if(a){r=ie(i.argument,e,t);break}e[o]=s,o++}}else{const e="AssignmentPattern"===i.type?i.left:i;switch(e.type){case"ObjectPattern":case"ArrayPattern":{let o;const{done:a,value:s}=n.next();a||(o=s),"AssignmentPattern"===i.type&&void 0===o&&(o=k(q(i.right))),r=ie(e,o,t);break}case"Identifier":{const o=_(e.name,t);let a;const{done:s,value:c}=n.next();s||(a=c),"AssignmentPattern"===i.type&&void 0===a&&(a=k(q(i.right))),r=t?w(o,a):C(o,a);break}}}else n.next(),r=v(y);return r}function ce(e,n,t,r){if("Identifier"===e.type||"AssignmentPattern"===e.type&&"Identifier"===e.left.type){const i=_("Identifier"===e.type?e.name:e.left.name,t);let o=V(n,r);return"AssignmentPattern"===e.type&&void 0===o&&(o=k(q(e.right))),t?w(i,o):C(i,o)}let i=V(n,r);return"AssignmentPattern"===e.type&&void 0===i&&(i=k(q(e.right))),ie("AssignmentPattern"===e.type?e.left:e,i,t)}function ue(e){if(e.async||e.generator)throw new SyntaxError((e.async?"Async":"Generator")+" function is not allowed");if(R&&!e.expression)throw new SyntaxError("Only an `Expression` is allowed in `ArrowFunctionExpression`'s body")}if(R)return k(q(e));null===(t=F.beforeEvaluate)||void 0===t||t.call(F,e),ue(e);const[le]=b(e);D.CreateImmutableBinding(le,!0);const fe=te(e,D);return D.InitializeBinding(le,fe),fe}class D{constructor(){(0,r.A)(this,"VariableEnvironment",void 0),(0,r.A)(this,"LexicalEnvironment",void 0)}}class ${constructor(e){(0,r.A)(this,"OuterEnv",void 0),(0,r.A)(this,"bindingSet",new Set),this.OuterEnv=e}HasBinding(e){return this.bindingSet.has(e)}CreateBinding(e){this.bindingSet.add(e)}}function z(e){let{expressionOnly:n,visitors:t,withParent:r,hooks:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=new Set,a=[],s=new $(null),c=new D;function u(){return a[a.length-1]}function l(e,n,t){for(const r of n)f(e[r],null==t?void 0:t.concat({node:e,key:r}))}function f(e,r){if(Array.isArray(e))e.forEach(((e,n)=>{f(e,r?r.slice(0,-1).concat({...r[r.length-1],index:n}):r)}));else if(e){var a,s;switch(null===(a=i.beforeVisit)||void 0===a||a.call(i,e,r),function(e){var n,r;t&&(n=t,r=e.type,Object.prototype.hasOwnProperty.call(n,r))&&t[e.type](e)}(e),e.type){case"Identifier":var c;return h=e.name,void(p(u().LexicalEnvironment,h)||(null===(c=i.beforeVisitGlobal)||void 0===c||c.call(i,e,r),o.add(e.name)));case"ArrayExpression":case"ArrayPattern":return void l(e,["elements"],r);case"ArrowFunctionExpression":return void v(y(e,u().LexicalEnvironment),r);case"AssignmentPattern":case"BinaryExpression":case"LogicalExpression":return void l(e,["left","right"],r);case"CallExpression":case"NewExpression":return void l(e,["callee","arguments"],r);case"ChainExpression":return void l(e,["expression"],r);case"ConditionalExpression":return void l(e,["test","consequent","alternate"],r);case"MemberExpression":return l(e,["object"],r),void(e.computed&&l(e,["property"],r));case"ObjectExpression":case"ObjectPattern":return void l(e,["properties"],r);case"Property":return e.computed&&l(e,["key"],r),void l(e,["value"],r);case"RestElement":case"SpreadElement":case"UnaryExpression":return void l(e,["argument"],r);case"SequenceExpression":case"TemplateLiteral":return void l(e,["expressions"],r);case"TaggedTemplateExpression":return void l(e,["tag","quasi"],r);case"Literal":return}if(!n)switch(e.type){case"AssignmentExpression":return void l(e,["right","left"],r);case"BlockStatement":{if(!e.body.length)return;const n=u(),t=n.LexicalEnvironment,i=new $(t);return m(e.body,i),n.LexicalEnvironment=i,l(e,["body"],r),void(n.LexicalEnvironment=t)}case"BreakStatement":case"ContinueStatement":case"EmptyStatement":return;case"CatchClause":{const n=u(),t=n.LexicalEnvironment,i=new $(t);return d(e.param,i),n.LexicalEnvironment=i,l(e,["param","body"],r),void(n.LexicalEnvironment=t)}case"DoWhileStatement":return void l(e,["body","test"],r);case"ExpressionStatement":case"TSAsExpression":return void l(e,["expression"],r);case"ForInStatement":case"ForOfStatement":{const n="VariableDeclaration"===e.left.type&&"var"!==e.left.kind,t=u(),i=t.LexicalEnvironment;if(n){const n=new $(i);d(e.left,n),t.LexicalEnvironment=n}if(l(e,["right"],r),t.LexicalEnvironment=i,n){const n=new $(i);d(e.left,n),t.LexicalEnvironment=n}return l(e,["left","body"],r),void(t.LexicalEnvironment=i)}case"ForStatement":{var g;const n="VariableDeclaration"===(null===(g=e.init)||void 0===g?void 0:g.type)&&"var"!==e.init.kind,t=u(),i=t.LexicalEnvironment;if(n){const n=new $(i);d(e.init,n),t.LexicalEnvironment=n}return l(e,["init","test","body","update"],r),void(t.LexicalEnvironment=i)}case"FunctionDeclaration":{const[n]=b(e),t=u().LexicalEnvironment,i=y(e,t);return t.CreateBinding(n),void v(i,r)}case"FunctionExpression":{const n=function(e){const n=u().LexicalEnvironment;if(!e.id)return y(e,n);const t=e.id.name,r=new $(n);return r.CreateBinding(t),y(e,r)}(e);return void v(n,r)}case"IfStatement":return void l(e,["test","consequent","alternate"],r);case"ReturnStatement":case"ThrowStatement":case"UpdateExpression":return void l(e,["argument"],r);case"SwitchCase":return void l(e,["test","consequent"],r);case"SwitchStatement":{l(e,["discriminant"],r);const n=u(),t=n.LexicalEnvironment,i=new $(t);return m(e.cases,i),n.LexicalEnvironment=i,l(e,["cases"],r),void(n.LexicalEnvironment=t)}case"TryStatement":return void l(e,["block","handler","finalizer"],r);case"VariableDeclaration":return void l(e,["declarations"],r);case"VariableDeclarator":return void l(e,["id","init"],r);case"WhileStatement":return void l(e,["test","body"],r)}(null===(s=i.beforeVisitUnknown)||void 0===s?void 0:s.call(i,e,r))||console.warn(`Unsupported node type \`${e.type}\``)}var h}function d(e,n){for(const t of b(e))n.CreateBinding(t)}function p(e,n){return!!e&&(e.HasBinding(n)||p(e.OuterEnv,n))}function m(e,n){d(h(e,{var:!1,topLevel:!1}),n)}function v(e,n){!function(e){const n=new D,t=new $(e.Environment);n.VariableEnvironment=t,n.LexicalEnvironment=t,a.push(n)}(e),function(e,n){const t=u(),r=e.ECMAScriptCode,i=e.FormalParameters,o=g(i),a=b(h(r,{var:!0,topLevel:!0})),s=t.LexicalEnvironment;let c;if(d(i,s),f(i,null==n?void 0:n.concat({node:e.Function,key:"params"})),o){c=new $(s),t.VariableEnvironment=c;for(const e of a)c.CreateBinding(e)}else{for(const e of a)s.CreateBinding(e);c=s}const l=c;t.LexicalEnvironment=l,d(h(r,{var:!1,topLevel:!0}),l)}(e,n),f(e.ECMAScriptCode,null==n?void 0:n.concat({node:e.Function,key:"body"}).concat("BlockStatement"===e.Function.body.type?{node:e.Function.body,key:"body"}:[])),a.pop()}function y(e,n){return{Function:e,FormalParameters:e.params,ECMAScriptCode:"BlockStatement"===e.body.type?e.body.body:e.body,Environment:n}}return c.VariableEnvironment=s,c.LexicalEnvironment=s,a.push(c),f(e,r?[]:void 0),o}var N=t(6667);function q(e){let{typescript:n,...t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=function(e){let{typescript:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=(0,N.parse)(e,{plugins:["estree",n&&"typescript"].filter(Boolean),strictMode:!0,attachComment:!1}).program.body,r=n?[]:t;if(n)for(const e of t)if(e.type.startsWith("TS")){if(/Enum|Import|Export/.test(e.type))throw new SyntaxError(`Unsupported TypeScript syntax: ${e.type}`)}else r.push(e);if(0===r.length)throw new SyntaxError("Function declaration not found");if(r.length>1||"FunctionDeclaration"!==r[0].type)throw new SyntaxError(`Expect a single function declaration at top level, but received: ${r.map((e=>`"${e.type}"`)).join(", ")}`);return r[0]}(e,{typescript:n});return{function:r,attemptToVisitGlobals:z(r,t)}}function U(e,n){const t=[],r=e.replace(/^\s*<%[~=]?\s|\s%>\s*$/g,(e=>(t.push(e),""))),i=function(e){return(0,N.parseExpression)(e,{plugins:["estree",["pipelineOperator",{proposal:"minimal"}]],attachComment:!1})}(r);return{expression:i,attemptToVisitGlobals:z(i,{...n,expressionOnly:!0}),source:r,prefix:t[0],suffix:t[1]}}function _(e){return/^\s*<%[~=]?\s/.test(e)&&/\s%>\s*$/.test(e)}function W(e){return/^\s*<%~\s/.test(e)}function G(e){return/^\s*<%=\s/.test(e)&&/\s%>\s*$/.test(e)}}}]);
|
|
2
|
+
//# sourceMappingURL=1122.c85a6018.js.map
|