@next-bricks/advanced 0.41.10 → 0.41.12
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 +4 -4
- package/dist/chunks/1045.95b84af5.js +2 -0
- package/dist/chunks/1045.95b84af5.js.map +1 -0
- package/dist/chunks/{114.69f06bd3.js → 114.2a7b1780.js} +2 -2
- package/dist/chunks/{114.69f06bd3.js.map → 114.2a7b1780.js.map} +1 -1
- package/dist/chunks/1940.5dc2aeb2.js +2 -0
- package/dist/chunks/{1940.07aef6d1.js.map → 1940.5dc2aeb2.js.map} +1 -1
- package/dist/chunks/{2197.aa1d0b4d.js → 2197.593617c5.js} +2 -2
- package/dist/chunks/2197.593617c5.js.map +1 -0
- package/dist/chunks/2252.8ec8961c.js +3 -0
- package/dist/chunks/{2252.ab567f5e.js.map → 2252.8ec8961c.js.map} +1 -1
- package/dist/chunks/2277.9047e7df.js +2 -0
- package/dist/chunks/{2277.87897478.js.map → 2277.9047e7df.js.map} +1 -1
- package/dist/chunks/3426.a8203db0.js +2 -0
- package/dist/chunks/3426.a8203db0.js.map +1 -0
- package/dist/chunks/{3933.767ebb9a.js → 3933.f048b3bd.js} +2 -2
- package/dist/chunks/{3933.767ebb9a.js.map → 3933.f048b3bd.js.map} +1 -1
- package/dist/chunks/4411.8987503d.js +3 -0
- package/dist/chunks/{4411.03275739.js.map → 4411.8987503d.js.map} +1 -1
- package/dist/chunks/4658.52f2c6d0.js +2 -0
- package/dist/chunks/{4658.4a7c4eca.js.map → 4658.52f2c6d0.js.map} +1 -1
- package/dist/chunks/4837.96aecc22.js +2 -0
- package/dist/chunks/{7218.b31c6eb5.js.map → 4837.96aecc22.js.map} +1 -1
- package/dist/chunks/{5479.2663502b.js → 5479.9b7d0453.js} +2 -2
- package/dist/chunks/{5479.2663502b.js.map → 5479.9b7d0453.js.map} +1 -1
- package/dist/chunks/{6314.08e1d165.js → 6314.5738e399.js} +2 -2
- package/dist/chunks/{6314.08e1d165.js.map → 6314.5738e399.js.map} +1 -1
- package/dist/chunks/7218.8b312b5e.js +2 -0
- package/dist/chunks/{4837.ab34ec10.js.map → 7218.8b312b5e.js.map} +1 -1
- package/dist/chunks/{7733.b38038a5.js → 7733.ad2bdc2e.js} +2 -2
- package/dist/chunks/{7733.b38038a5.js.map → 7733.ad2bdc2e.js.map} +1 -1
- package/dist/chunks/9559.6a918fde.js +2 -0
- package/dist/chunks/{9559.f28bf9ad.js.map → 9559.6a918fde.js.map} +1 -1
- package/dist/chunks/capture-snapshot.c76bbc68.js +2 -0
- package/dist/chunks/{capture-snapshot.4ef7224f.js.map → capture-snapshot.c76bbc68.js.map} +1 -1
- package/dist/chunks/eo-cascader.f7b1b4e6.js +2 -0
- package/dist/chunks/{eo-cascader.e578e98e.js.map → eo-cascader.f7b1b4e6.js.map} +1 -1
- package/dist/chunks/{eo-next-table.2c4ff2b3.js → eo-next-table.334bffeb.js} +2 -2
- package/dist/chunks/{eo-next-table.2c4ff2b3.js.map → eo-next-table.334bffeb.js.map} +1 -1
- package/dist/chunks/{eo-table.a5bbfa44.js → eo-table.f4b77ec5.js} +2 -2
- package/dist/chunks/eo-table.f4b77ec5.js.map +1 -0
- package/dist/chunks/{eo-text-tooltip.c821946e.js → eo-text-tooltip.e0bb386b.js} +2 -2
- package/dist/chunks/{eo-text-tooltip.c821946e.js.map → eo-text-tooltip.e0bb386b.js.map} +1 -1
- package/dist/chunks/eo-tree-select.a78fccd0.js +2 -0
- package/dist/chunks/{eo-tree-select.6b51f493.js.map → eo-tree-select.a78fccd0.js.map} +1 -1
- package/dist/chunks/{eo-tree.95f47393.js → eo-tree.9e4405ad.js} +3 -3
- package/dist/chunks/{eo-tree.95f47393.js.map → eo-tree.9e4405ad.js.map} +1 -1
- package/dist/chunks/eo-workbench-layout-v2.d0b777ab.js +2 -0
- package/dist/chunks/{eo-workbench-layout-v2.f1fe8f14.js.map → eo-workbench-layout-v2.d0b777ab.js.map} +1 -1
- package/dist/chunks/eo-workbench-layout.aaaf423d.js +2 -0
- package/dist/chunks/{eo-workbench-layout.3e76ff1d.js.map → eo-workbench-layout.aaaf423d.js.map} +1 -1
- package/dist/chunks/main.3d43f4c6.js +2 -0
- package/dist/chunks/main.3d43f4c6.js.map +1 -0
- package/dist/chunks/{pdf-viewer.1785f928.js → pdf-viewer.95b2c11d.js} +2 -2
- package/dist/chunks/{pdf-viewer.1785f928.js.map → pdf-viewer.95b2c11d.js.map} +1 -1
- package/dist/index.64507700.js +2 -0
- package/dist/index.64507700.js.map +1 -0
- package/dist/manifest.json +11 -11
- package/dist/types.json +28 -28
- package/dist-types/table/index.d.ts +4 -1
- package/package.json +3 -3
- package/dist/chunks/1045.58461394.js +0 -2
- package/dist/chunks/1045.58461394.js.map +0 -1
- package/dist/chunks/1940.07aef6d1.js +0 -2
- package/dist/chunks/2197.aa1d0b4d.js.map +0 -1
- package/dist/chunks/2252.ab567f5e.js +0 -3
- package/dist/chunks/2277.87897478.js +0 -2
- package/dist/chunks/3426.a803d333.js +0 -2
- package/dist/chunks/3426.a803d333.js.map +0 -1
- package/dist/chunks/4411.03275739.js +0 -3
- package/dist/chunks/4658.4a7c4eca.js +0 -2
- package/dist/chunks/4837.ab34ec10.js +0 -2
- package/dist/chunks/7218.b31c6eb5.js +0 -2
- package/dist/chunks/9559.f28bf9ad.js +0 -2
- package/dist/chunks/capture-snapshot.4ef7224f.js +0 -2
- package/dist/chunks/eo-cascader.e578e98e.js +0 -2
- package/dist/chunks/eo-table.a5bbfa44.js.map +0 -1
- package/dist/chunks/eo-tree-select.6b51f493.js +0 -2
- package/dist/chunks/eo-workbench-layout-v2.f1fe8f14.js +0 -2
- package/dist/chunks/eo-workbench-layout.3e76ff1d.js +0 -2
- package/dist/chunks/main.93684fbb.js +0 -2
- package/dist/chunks/main.93684fbb.js.map +0 -1
- package/dist/index.bb4e68bb.js +0 -2
- package/dist/index.bb4e68bb.js.map +0 -1
- /package/dist/chunks/{2252.ab567f5e.js.LICENSE.txt → 2252.8ec8961c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{4411.03275739.js.LICENSE.txt → 4411.8987503d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-tree.95f47393.js.LICENSE.txt → eo-tree.9e4405ad.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
}
|
|
341
341
|
],
|
|
342
342
|
"parts": [],
|
|
343
|
-
"description": "
|
|
343
|
+
"description": "简易表格构件。\n\n⚠️ 通常情况下,应使用 `eo-next-table` 替代。",
|
|
344
344
|
"category": "table",
|
|
345
345
|
"insider": true
|
|
346
346
|
},
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
"category": "table"
|
|
657
657
|
},
|
|
658
658
|
{
|
|
659
|
-
"name": "eo-workbench-layout
|
|
659
|
+
"name": "eo-workbench-layout",
|
|
660
660
|
"properties": [
|
|
661
661
|
{
|
|
662
662
|
"name": "cardTitle",
|
|
@@ -671,11 +671,6 @@
|
|
|
671
671
|
"attribute": false,
|
|
672
672
|
"type": "Layout[]"
|
|
673
673
|
},
|
|
674
|
-
{
|
|
675
|
-
"name": "toolbarBricks",
|
|
676
|
-
"attribute": false,
|
|
677
|
-
"type": "{\n useBrick: UseSingleBrickConf[];\n }"
|
|
678
|
-
},
|
|
679
674
|
{
|
|
680
675
|
"name": "componentList",
|
|
681
676
|
"attribute": false,
|
|
@@ -723,10 +718,11 @@
|
|
|
723
718
|
}
|
|
724
719
|
],
|
|
725
720
|
"parts": [],
|
|
726
|
-
"description": "工作台布局
|
|
721
|
+
"description": "工作台布局",
|
|
722
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
727
723
|
},
|
|
728
724
|
{
|
|
729
|
-
"name": "eo-workbench-layout",
|
|
725
|
+
"name": "eo-workbench-layout-v2",
|
|
730
726
|
"properties": [
|
|
731
727
|
{
|
|
732
728
|
"name": "cardTitle",
|
|
@@ -741,6 +737,11 @@
|
|
|
741
737
|
"attribute": false,
|
|
742
738
|
"type": "Layout[]"
|
|
743
739
|
},
|
|
740
|
+
{
|
|
741
|
+
"name": "toolbarBricks",
|
|
742
|
+
"attribute": false,
|
|
743
|
+
"type": "{\n useBrick: UseSingleBrickConf[];\n }"
|
|
744
|
+
},
|
|
744
745
|
{
|
|
745
746
|
"name": "componentList",
|
|
746
747
|
"attribute": false,
|
|
@@ -788,8 +789,7 @@
|
|
|
788
789
|
}
|
|
789
790
|
],
|
|
790
791
|
"parts": [],
|
|
791
|
-
"description": "工作台布局"
|
|
792
|
-
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
792
|
+
"description": "工作台布局V2,未使用shadow dom"
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
"name": "eo-tree",
|
package/dist/types.json
CHANGED
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
],
|
|
276
276
|
"methods": []
|
|
277
277
|
},
|
|
278
|
-
"eo-workbench-layout
|
|
278
|
+
"eo-workbench-layout": {
|
|
279
279
|
"properties": [
|
|
280
280
|
{
|
|
281
281
|
"name": "cardTitle",
|
|
@@ -304,32 +304,6 @@
|
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
},
|
|
307
|
-
{
|
|
308
|
-
"name": "toolbarBricks",
|
|
309
|
-
"annotation": {
|
|
310
|
-
"type": "typeLiteral",
|
|
311
|
-
"members": [
|
|
312
|
-
{
|
|
313
|
-
"type": "propertySignature",
|
|
314
|
-
"key": {
|
|
315
|
-
"type": "identifier",
|
|
316
|
-
"name": "useBrick"
|
|
317
|
-
},
|
|
318
|
-
"annotation": {
|
|
319
|
-
"type": "array",
|
|
320
|
-
"elementType": {
|
|
321
|
-
"type": "reference",
|
|
322
|
-
"typeName": {
|
|
323
|
-
"type": "identifier",
|
|
324
|
-
"name": "UseSingleBrickConf"
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
"computed": false
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
307
|
{
|
|
334
308
|
"name": "componentList",
|
|
335
309
|
"annotation": {
|
|
@@ -535,7 +509,7 @@
|
|
|
535
509
|
}
|
|
536
510
|
]
|
|
537
511
|
},
|
|
538
|
-
"eo-workbench-layout": {
|
|
512
|
+
"eo-workbench-layout-v2": {
|
|
539
513
|
"properties": [
|
|
540
514
|
{
|
|
541
515
|
"name": "cardTitle",
|
|
@@ -564,6 +538,32 @@
|
|
|
564
538
|
}
|
|
565
539
|
}
|
|
566
540
|
},
|
|
541
|
+
{
|
|
542
|
+
"name": "toolbarBricks",
|
|
543
|
+
"annotation": {
|
|
544
|
+
"type": "typeLiteral",
|
|
545
|
+
"members": [
|
|
546
|
+
{
|
|
547
|
+
"type": "propertySignature",
|
|
548
|
+
"key": {
|
|
549
|
+
"type": "identifier",
|
|
550
|
+
"name": "useBrick"
|
|
551
|
+
},
|
|
552
|
+
"annotation": {
|
|
553
|
+
"type": "array",
|
|
554
|
+
"elementType": {
|
|
555
|
+
"type": "reference",
|
|
556
|
+
"typeName": {
|
|
557
|
+
"type": "identifier",
|
|
558
|
+
"name": "UseSingleBrickConf"
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"computed": false
|
|
563
|
+
}
|
|
564
|
+
]
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
567
|
{
|
|
568
568
|
"name": "componentList",
|
|
569
569
|
"annotation": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/advanced",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.12",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/advanced",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"postpublish": "mv package.json.bak package.json"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@next-core/build-next-bricks": "^1.23.
|
|
38
|
+
"@next-core/build-next-bricks": "^1.23.7",
|
|
39
39
|
"@next-core/test-next": "^1.1.7",
|
|
40
40
|
"copy-webpack-plugin": "^12.0.2"
|
|
41
41
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"@next-bricks/icons": "*",
|
|
46
46
|
"@next-bricks/markdown": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "b7f182cebf51a3edf5b94386ab3b508c8dc885c7"
|
|
49
49
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_advanced=globalThis.webpackChunk_next_bricks_advanced||[]).push([[1045,3426],{12559:(t,e,n)=>{function r(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:()=>r})},72016:(t,e,n)=>{function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>r})},70829:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(12559);function i(t,e){return t.get((0,r.A)(t,e))}},70918:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(72016);function i(t,e,n){(0,r.A)(t,e),e.set(t,n)}},86121:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(12559);function i(t,e,n){return t.set((0,r.A)(t,e),n),n}},24586:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(11369);function i(t,e,n){return(e=(0,r.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},11369:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(17545);function i(t){var e=function(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,r.A)(e)?e:e+""}},17545:(t,e,n)=>{function r(t){return r="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},r(t)}n.d(e,{A:()=>r})},21045:(t,e,n)=>{n.r(e),n.d(e,{NextElement:()=>A,createDecorators:()=>a,supportsAdoptingStyleSheets:()=>_});const r=Symbol.for("attributeHasBeenSet"),i=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(r){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(o,s)=>{let{kind:c,name:l,addInitializer:h}=s;h((function(){const s=Object.getPrototypeOf(this);if(u(this,"observedAttributes",d(s.observedAttributes??[],t.keys())),u(this,"__attributeReflections",new Map([...s.__attributeReflections??[],...t])),u(this,"styleTexts",i.styleTexts),u(this,"shadowOptions",!1!==i.shadowOptions?{mode:"open",...i.shadowOptions}:null),u(this,"__tagName",r),u(this,"_dev_only_definedProperties",d(s._dev_only_definedProperties??[],e)),u(this,"_dev_only_definedMethods",d(s._dev_only_definedMethods??[],n)),u(this,"_dev_only_definedEvents",d(s._dev_only_definedEvents??[],a)),customElements.define(r,this),Array.isArray(i.alias))for(const t of i.alias){const e=class extends o{};u(e,"__tagName",t),customElements.define(t,e)}}))}},property:function(n){return function(a,u){let{get:d,set:c}=a,{kind:l,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[r](v)?p.converter.fromAttribute(this.getAttribute(v),p.type):d.call(this)},set(t){const e=d.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[i](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[r](v)||(this[o](!0),this.setAttribute(v,e),this[o](!1))}))}return t}}}},method:function(t){return function(e,r){let{kind:i,name:o,static:s,private:a,addInitializer:u}=r;null!=t&&t.bound&&u((function(){this[o]=this[o].bind(this)})),n.add(o)}},event:function(t){return function(e,n){let{get:r}=e,{kind:i,name:o,static:s,private:u}=n;const{type:d,...c}=t;return a.add(d),{get(){return r.call(this)},set(){throw new Error("Decorated events are readonly")},init(t){return Object.freeze({emit:t=>this.dispatchEvent(new CustomEvent(d,{...c,detail:t}))})}}}}}}function u(t,e,n){Object.defineProperty(t,e,{get:()=>n,configurable:!0})}function d(t,e){const n=new Set(t);for(const t of e)n.add(t);return[...n]}new Set(["prefix"]);var c=n(70918),l=n(24586),h=n(70829),f=n(86121),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()}[r](t){return(0,h.A)(y,this).has(t)}[i](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),r=e.converter.fromAttribute(n,e.type);this[e.property]=r}}_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,l.A)(A,"styleTexts",void 0),(0,l.A)(A,"shadowOptions",void 0),(0,l.A)(A,"__attributeReflections",void 0),(0,l.A)(A,"__tagName",void 0)}}]);
|
|
2
|
-
//# sourceMappingURL=1045.58461394.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/1045.58461394.js","mappings":"gJAAe,SAASA,EAAkBC,EAAGC,EAAGC,GAC9C,GAAI,mBAAqBF,EAAIA,IAAMC,EAAID,EAAEG,IAAIF,GAAI,OAAOG,UAAUC,OAAS,EAAIJ,EAAIC,EACnF,MAAM,IAAII,UAAU,gDACtB,C,kCCHe,SAASC,EAA2BC,EAAKC,GACtD,GAAIA,EAAkBN,IAAIK,GACxB,MAAM,IAAIF,UAAU,iEAExB,C,kECHe,SAASI,EAAuBC,EAAGC,GAChD,OAAOD,EAAEE,KAAI,OAAiBF,EAAGC,GACnC,C,kDCFe,SAASE,EAA2BN,EAAKO,EAAYC,IAClE,OAA0BR,EAAKO,GAC/BA,EAAWE,IAAIT,EAAKQ,EACtB,C,kDCHe,SAASE,EAAuBP,EAAGC,EAAGO,GACnD,OAAOR,EAAEM,KAAI,OAAiBN,EAAGC,GAAIO,GAAIA,CAC3C,C,kDCFe,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,kDCZe,SAASmB,EAAc1B,GACpC,IAAI2B,ECFS,SAAqB3B,EAAGkB,GACrC,GAAI,WA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CAAC1G,GAA6BuB,GAC5B,OAAO,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":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_advanced=globalThis.webpackChunk_next_bricks_advanced||[]).push([[1940,9559],{49559:(e,t,n)=>{n.r(t),n.d(t,{supply:()=>s});var r=n(41030),a=n(21302),o=n(1744);function s(e,t,n){const r={};for(const a of e)if(!Object.prototype.hasOwnProperty.call(r,a))if("undefined"===a)r[a]=void 0;else if(t&&Object.prototype.hasOwnProperty.call(t,a))r[a]=t[a];else{const e=u(a,n);void 0!==e&&(r[a]=e)}return r}const i=new Set(["fill","pull","pullAll","pullAllBy","pullAllWith","pullAt","remove","reverse","assign","assignIn","assignInWith","assignWith","defaults","defaultsDeep","merge","mergeWith","set","setWith","unset","update","updateWith","after","ary","before","bind","bindKey","curry","curryRight","debounce","defer","delay","flip","memoize","negate","once","overArgs","partial","partialRight","rearg","rest","spread","throttle","unary","wrap"]),l=new Set(["lang","langData","locale","localeData","defineLocale","updateLocale","updateOffset"]),c=new Set(["Array","Boolean","Date","Infinity","JSON","Math","NaN","Number","String","RegExp","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","isFinite","isNaN","parseFloat","parseInt","Map","Set","URL","URLSearchParams","WeakMap","WeakSet","atob","btoa"]);function u(e,t){switch(e){case"Object":return n=Object,s=["entries","fromEntries","keys","values"],Object.fromEntries(s.map((e=>[e,function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return n[e].apply(n,r)}])));case"_":return Object.fromEntries(Object.entries(r).filter((e=>!i.has(e[0]))).concat(t?[["uniqueId",e=>`${null!=e?e:""}42`]]:[]));case"moment":return Object.assign((function(){return a(...arguments)}),Object.fromEntries(Object.entries(a).filter((e=>!l.has(e[0])))));case"PIPES":return o.pipes;case"TAG_URL":return p(!0);case"SAFE_TAG_URL":return p();default:if(c.has(e))return window[e]}var n,s}function p(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];const o=[];return t.forEach(((t,n)=>{o.push(t),n<r.length&&o.push(e?String(r[n]).replace(/[^/]+/g,(e=>encodeURIComponent(e))):encodeURIComponent(String(r[n])))})),o.join("")}}}}]);
|
|
2
|
-
//# sourceMappingURL=1940.07aef6d1.js.map
|