@next-bricks/visual-builder 1.36.14 → 1.36.16
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 +10 -8
- package/dist/chunks/1122.8d825637.js +2 -0
- package/dist/chunks/1122.8d825637.js.map +1 -0
- package/dist/chunks/114.cf000627.js +2 -0
- package/dist/chunks/{114.8467ea5c.js.map → 114.cf000627.js.map} +1 -1
- package/dist/chunks/1940.956f7191.js +2 -0
- package/dist/chunks/1940.956f7191.js.map +1 -0
- package/dist/chunks/{2277.ff3d70d1.js → 2277.d3148cce.js} +2 -2
- package/dist/chunks/{2277.ff3d70d1.js.map → 2277.d3148cce.js.map} +1 -1
- package/dist/chunks/{2980.4ec4e488.js → 2980.c90cc3f1.js} +2 -2
- package/dist/chunks/{2980.4ec4e488.js.map → 2980.c90cc3f1.js.map} +1 -1
- package/dist/chunks/{3171.f66d7cb8.js → 3171.90b67ac3.js} +2 -2
- package/dist/chunks/{3171.f66d7cb8.js.map → 3171.90b67ac3.js.map} +1 -1
- package/dist/chunks/3933.e89d1f01.js +2 -0
- package/dist/chunks/{6314.1364814f.js.map → 3933.e89d1f01.js.map} +1 -1
- package/dist/chunks/4291.da2890c6.js +2 -0
- package/dist/chunks/4291.da2890c6.js.map +1 -0
- package/dist/chunks/{4658.bab96d6a.js → 4658.fee7130c.js} +2 -2
- package/dist/chunks/{4658.bab96d6a.js.map → 4658.fee7130c.js.map} +1 -1
- package/dist/chunks/{4837.c2472ae5.js → 4837.e5a0317e.js} +2 -2
- package/dist/chunks/{4837.c2472ae5.js.map → 4837.e5a0317e.js.map} +1 -1
- package/dist/chunks/5399.aeb5c01e.js +2 -0
- package/dist/chunks/5399.aeb5c01e.js.map +1 -0
- package/dist/chunks/{5552.61a7adc0.js → 5552.c86323fa.js} +2 -2
- package/dist/chunks/{5552.61a7adc0.js.map → 5552.c86323fa.js.map} +1 -1
- package/dist/chunks/{5814.b148acfc.js → 5814.71e5fb63.js} +3 -3
- package/dist/chunks/{5814.b148acfc.js.map → 5814.71e5fb63.js.map} +1 -1
- package/dist/chunks/5832.b5f07eff.js +3 -0
- package/dist/chunks/{5832.375e36b5.js.map → 5832.b5f07eff.js.map} +1 -1
- package/dist/chunks/6314.7d3f5d0d.js +2 -0
- package/dist/chunks/{3933.227b6f32.js.map → 6314.7d3f5d0d.js.map} +1 -1
- package/dist/chunks/6519.94d78769.js +2 -0
- package/dist/chunks/{6519.ddef7177.js.map → 6519.94d78769.js.map} +1 -1
- package/dist/chunks/{7218.84a3b93e.js → 7218.42259ab1.js} +2 -2
- package/dist/chunks/{7218.84a3b93e.js.map → 7218.42259ab1.js.map} +1 -1
- package/dist/chunks/7733.4f17e0d0.js +2 -0
- package/dist/chunks/{7733.25a56515.js.map → 7733.4f17e0d0.js.map} +1 -1
- package/dist/chunks/{790.eb4333db.js → 790.64754a11.js} +2 -2
- package/dist/chunks/{790.eb4333db.js.map → 790.64754a11.js.map} +1 -1
- package/dist/chunks/{9080.32c73c01.js → 9080.ea7347c9.js} +2 -2
- package/dist/chunks/{9080.32c73c01.js.map → 9080.ea7347c9.js.map} +1 -1
- package/dist/chunks/9559.95f5357b.js +2 -0
- package/dist/chunks/9559.95f5357b.js.map +1 -0
- package/dist/chunks/9939.3f3445dd.js +3 -0
- package/dist/chunks/9939.3f3445dd.js.map +1 -0
- package/dist/chunks/{batch-update-raw-data-generated-view.d3da84b6.js → batch-update-raw-data-generated-view.122f1652.js} +3 -3
- package/dist/chunks/{batch-update-raw-data-generated-view.d3da84b6.js.map → batch-update-raw-data-generated-view.122f1652.js.map} +1 -1
- package/dist/chunks/chat-conversation.f9dbc32c.js +3 -0
- package/dist/chunks/{chat-conversation.4850d7a0.js.map → chat-conversation.f9dbc32c.js.map} +1 -1
- package/dist/chunks/chat-preview.fdb077ce.js +3 -0
- package/dist/chunks/{chat-preview.ef20464a.js.map → chat-preview.fdb077ce.js.map} +1 -1
- package/dist/chunks/{check-editor-by-name.1bd05f99.js → check-editor-by-name.8a3500c8.js} +2 -2
- package/dist/chunks/{check-editor-by-name.1bd05f99.js.map → check-editor-by-name.8a3500c8.js.map} +1 -1
- package/dist/chunks/{contract-select.2a22d13c.js → contract-select.5599eb42.js} +3 -3
- package/dist/chunks/{contract-select.2a22d13c.js.map → contract-select.5599eb42.js.map} +1 -1
- package/dist/chunks/generate-snippets-context-menu.436c8cff.js +2 -0
- package/dist/chunks/{generate-snippets-context-menu.311c1d21.js.map → generate-snippets-context-menu.436c8cff.js.map} +1 -1
- package/dist/chunks/{get-data-deps.0f2657ad.js → get-data-deps.7cf9f399.js} +2 -2
- package/dist/chunks/{get-data-deps.0f2657ad.js.map → get-data-deps.7cf9f399.js.map} +1 -1
- package/dist/chunks/{get-dependency-tree.e224c55a.js → get-dependency-tree.36c9bf4e.js} +2 -2
- package/dist/chunks/{get-dependency-tree.e224c55a.js.map → get-dependency-tree.36c9bf4e.js.map} +1 -1
- package/dist/chunks/{get-raw-data-system-prompts.1ea9b35b.js → get-raw-data-system-prompts.c4029513.js} +2 -2
- package/dist/chunks/{get-raw-data-system-prompts.1ea9b35b.js.map → get-raw-data-system-prompts.c4029513.js.map} +1 -1
- package/dist/chunks/{inject-chat-preview-agent.a3f83b10.js → inject-chat-preview-agent.b147f181.js} +2 -2
- package/dist/chunks/{inject-chat-preview-agent.a3f83b10.js.map → inject-chat-preview-agent.b147f181.js.map} +1 -1
- package/dist/chunks/main.9e9d79b0.js +2 -0
- package/dist/chunks/main.9e9d79b0.js.map +1 -0
- package/dist/chunks/page-arch-node.eadf238c.js +3 -0
- package/dist/chunks/{page-arch-node.631dcdb9.js.map → page-arch-node.eadf238c.js.map} +1 -1
- package/dist/chunks/parse-path.39c437b5.js +2 -0
- package/dist/chunks/parse-path.39c437b5.js.map +1 -0
- package/dist/chunks/{pre-generated-container.b611638b.js → pre-generated-container.988a3b09.js} +2 -2
- package/dist/chunks/{pre-generated-container.b611638b.js.map → pre-generated-container.988a3b09.js.map} +1 -1
- package/dist/chunks/pre-generated-preview.6c286032.js +3 -0
- package/dist/chunks/{pre-generated-preview.03dd751b.js.map → pre-generated-preview.6c286032.js.map} +1 -1
- package/dist/chunks/pre-generated-table-view.c777ecd8.js +2 -0
- package/dist/chunks/{pre-generated-table-view.c9bb5b19.js.map → pre-generated-table-view.c777ecd8.js.map} +1 -1
- package/dist/chunks/{property-editor.aab83b02.js → property-editor.5846d698.js} +2 -2
- package/dist/chunks/{property-editor.aab83b02.js.map → property-editor.5846d698.js.map} +1 -1
- package/dist/chunks/raw-data-preview.65d60641.js +3 -0
- package/dist/chunks/{raw-data-preview.29c2c561.js.map → raw-data-preview.65d60641.js.map} +1 -1
- package/dist/chunks/workbench-action-list.b1c93dbf.js +2 -0
- package/dist/chunks/workbench-action-list.b1c93dbf.js.map +1 -0
- package/dist/chunks/{workbench-action.01553a81.js → workbench-action.6d901765.js} +3 -3
- package/dist/chunks/workbench-action.6d901765.js.map +1 -0
- package/dist/chunks/workbench-history-action.ddf7d5f6.js +3 -0
- package/dist/chunks/{workbench-history-action.84e24cf6.js.map → workbench-history-action.ddf7d5f6.js.map} +1 -1
- package/dist/chunks/workbench-pane.7680aac3.js +3 -0
- package/dist/chunks/{workbench-pane.b320bd8b.js.map → workbench-pane.7680aac3.js.map} +1 -1
- package/dist/chunks/workbench-sidebar.54dbf128.js +2 -0
- package/dist/chunks/{workbench-sidebar.f89da3df.js.map → workbench-sidebar.54dbf128.js.map} +1 -1
- package/dist/chunks/workbench-tree.bbcc6f86.js +3 -0
- package/dist/chunks/{workbench-tree.0dd36701.js.map → workbench-tree.bbcc6f86.js.map} +1 -1
- package/dist/index.0f3c8f40.js +2 -0
- package/dist/index.0f3c8f40.js.map +1 -0
- package/dist/manifest.json +31 -27
- package/dist/types.json +12 -5
- package/dist-types/property-editor/index.d.ts +45 -45
- package/dist-types/workbench-action/index.d.ts +2 -0
- package/package.json +4 -4
- package/dist/chunks/1122.7c509964.js +0 -2
- package/dist/chunks/1122.7c509964.js.map +0 -1
- package/dist/chunks/114.8467ea5c.js +0 -2
- package/dist/chunks/1940.0a5131bc.js +0 -2
- package/dist/chunks/1940.0a5131bc.js.map +0 -1
- package/dist/chunks/3680.a3dc1198.js +0 -2
- package/dist/chunks/3680.a3dc1198.js.map +0 -1
- package/dist/chunks/3933.227b6f32.js +0 -2
- package/dist/chunks/5399.be09f124.js +0 -2
- package/dist/chunks/5399.be09f124.js.map +0 -1
- package/dist/chunks/5832.375e36b5.js +0 -3
- package/dist/chunks/6314.1364814f.js +0 -2
- package/dist/chunks/6519.ddef7177.js +0 -2
- package/dist/chunks/718.3f0afc76.js +0 -3
- package/dist/chunks/718.3f0afc76.js.map +0 -1
- package/dist/chunks/7733.25a56515.js +0 -2
- package/dist/chunks/9559.ffb58a44.js +0 -2
- package/dist/chunks/9559.ffb58a44.js.map +0 -1
- package/dist/chunks/chat-conversation.4850d7a0.js +0 -3
- package/dist/chunks/chat-preview.ef20464a.js +0 -3
- package/dist/chunks/generate-snippets-context-menu.311c1d21.js +0 -2
- package/dist/chunks/main.3e56e51a.js +0 -2
- package/dist/chunks/main.3e56e51a.js.map +0 -1
- package/dist/chunks/page-arch-node.631dcdb9.js +0 -3
- package/dist/chunks/parse-path.d6310065.js +0 -2
- package/dist/chunks/parse-path.d6310065.js.map +0 -1
- package/dist/chunks/pre-generated-preview.03dd751b.js +0 -3
- package/dist/chunks/pre-generated-table-view.c9bb5b19.js +0 -2
- package/dist/chunks/raw-data-preview.29c2c561.js +0 -3
- package/dist/chunks/workbench-action-list.25ddaea6.js +0 -2
- package/dist/chunks/workbench-action-list.25ddaea6.js.map +0 -1
- package/dist/chunks/workbench-action.01553a81.js.map +0 -1
- package/dist/chunks/workbench-history-action.84e24cf6.js +0 -3
- package/dist/chunks/workbench-pane.b320bd8b.js +0 -3
- package/dist/chunks/workbench-sidebar.f89da3df.js +0 -2
- package/dist/chunks/workbench-tree.0dd36701.js +0 -3
- package/dist/index.92474b53.js +0 -2
- package/dist/index.92474b53.js.map +0 -1
- /package/dist/chunks/{5814.b148acfc.js.LICENSE.txt → 5814.71e5fb63.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{5832.375e36b5.js.LICENSE.txt → 5832.b5f07eff.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{718.3f0afc76.js.LICENSE.txt → 9939.3f3445dd.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{batch-update-raw-data-generated-view.d3da84b6.js.LICENSE.txt → batch-update-raw-data-generated-view.122f1652.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{chat-conversation.4850d7a0.js.LICENSE.txt → chat-conversation.f9dbc32c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{chat-preview.ef20464a.js.LICENSE.txt → chat-preview.fdb077ce.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{contract-select.2a22d13c.js.LICENSE.txt → contract-select.5599eb42.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{page-arch-node.631dcdb9.js.LICENSE.txt → page-arch-node.eadf238c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{pre-generated-preview.03dd751b.js.LICENSE.txt → pre-generated-preview.6c286032.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{raw-data-preview.29c2c561.js.LICENSE.txt → raw-data-preview.65d60641.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-action.01553a81.js.LICENSE.txt → workbench-action.6d901765.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-history-action.84e24cf6.js.LICENSE.txt → workbench-history-action.ddf7d5f6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-pane.b320bd8b.js.LICENSE.txt → workbench-pane.7680aac3.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-tree.0dd36701.js.LICENSE.txt → workbench-tree.bbcc6f86.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[7733,114],{5873:(e,t,n)=>{var r=n(9435);t.H=r.createRoot,r.hydrateRoot},2559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},2016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(2559);function s(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(2016);function s(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(2559);function s(e,t,n){return e.set((0,r.A)(e,t),n),n}},4635:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(2016);function s(e,t){(0,r.A)(e,t),t.add(e)}},9575:(e,t,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},114:(e,t,n)=>{n.r(t),n.d(t,{ReactNextElement:()=>p,wrapBrick:()=>y,wrapLocalBrick:()=>v});var r=n(4635),s=n(918),i=n(2559),o=n(6121),a=n(829),c=n(8769),l=n(5873),h=n(9435),u=n(4799),d=new WeakMap,f=new WeakSet;class p extends u.NextElement{constructor(){super(...arguments),(0,r.A)(this,f),(0,s.A)(this,d,void 0)}connectedCallback(){super._markConnectedCallbackCalled(),(0,i.A)(f,this,A).call(this),this._render()}disconnectedCallback(){var e;null===(e=(0,a.A)(d,this))||void 0===e||e.render(null)}_render(){const e=()=>{if(!this.isConnected||!(0,a.A)(d,this))return;const e=this.constructor;var t;e.shadowOptions?(0,a.A)(d,this).render((0,u.supportsAdoptingStyleSheets)()||null===(t=e.styleTexts)||void 0===t||!t.length?this.render():c.createElement(c.Fragment,null,c.createElement("style",null,e.styleTexts.join("\n")),this.render())):(0,a.A)(d,this).render(this.render())};window.BRICK_NEXT_VERSIONS&&!window.DISABLE_REACT_FLUSH_SYNC?(0,h.flushSync)(e):e()}}function A(){if((0,a.A)(d,this))return;const e=this.constructor;if(e.shadowOptions){const n=this.attachShadow(e.shadowOptions);var t;if((0,u.supportsAdoptingStyleSheets)()&&null!==(t=e.styleTexts)&&void 0!==t&&t.length){const t=new CSSStyleSheet;t.replaceSync(e.styleTexts.join("")),n.adoptedStyleSheets=[t]}(0,o.A)(d,this,(0,l.H)(n))}else(0,o.A)(d,this,(0,l.H)(this))}var w=n(9575);function v(e,t){return(0,c.forwardRef)((function(n,r){let{children:s,...i}=n;const o="string"==typeof e?e:e.__tagName,a=b(i,t);return c.createElement(o,(0,w.A)({},a,{ref:r}),s)}))}function y(e,t){return(0,c.forwardRef)((function(n,r){let{children:s,...i}=n;const o=b(i,t);return c.createElement(e,(0,w.A)({},o,{ref:r}),s)}))}function b(e,t){let n;if(t){n={};for(const[r,s]of Object.entries(e))Object.prototype.hasOwnProperty.call(t,r)?n[`on${t[r]}`]=s:n[r]=s}else n=e;return n}}}]);
|
|
2
|
-
//# sourceMappingURL=7733.25a56515.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[9559,1940],{9559:(e,t,r)=>{r.r(t),r.d(t,{supply:()=>s});var n=r(1030),a=r(155),i=r(7106);function s(e,t,r){const n={undefined:void 0};for(const a of e)if(!Object.prototype.hasOwnProperty.call(n,a))if(t&&Object.prototype.hasOwnProperty.call(t,a))n[a]=t[a];else{const e=u(a,r);void 0!==e&&(n[a]=e)}return n}const o=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","URLSearchParams","WeakMap","WeakSet","atob","btoa"]);function u(e,t){switch(e){case"Object":return r=Object,s=["entries","fromEntries","keys","values"],Object.fromEntries(s.map((e=>[e,function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return r[e].apply(r,n)}])));case"_":return Object.fromEntries(Object.entries(n).filter((e=>!o.has(e[0]))).concat(t?[["uniqueId",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 i.pipes;case"TAG_URL":return p(!0);case"SAFE_TAG_URL":return p();default:if(c.has(e))return window[e]}var r,s}function p(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];const i=[];return t.forEach(((t,r)=>{i.push(t),r<n.length&&i.push(e?String(n[r]).replace(/[^/]+/g,(e=>encodeURIComponent(e))):encodeURIComponent(String(n[r])))})),i.join("")}}}}]);
|
|
2
|
-
//# sourceMappingURL=9559.ffb58a44.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/9559.ffb58a44.js","mappings":"yNAGO,SAASA,EAAOC,EAAuBC,EAAyBC,GACrE,MAAMC,EAAkB,CACtBC,kBAGF,IAAK,MAAMC,KAAgBL,EACzB,IAAKM,OAAOC,UAAUC,eAAeC,KAAKN,EAAiBE,GACzD,GAAIJ,GAA2BK,OAAOC,UAAUC,eAAeC,KAAKR,EAAyBI,GAC3FF,EAAgBE,GAAgBJ,EAAwBI,OACnD,CACL,MAAMK,EA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AAO,KAAUZ,UACnB,GAAGhB,OAAOY,YAAYZ,OAAOsB,QAAQ,GAAQC,QAAOC,IAAUhB,EAAmBiB,IAAID,EAAM,QAC7F,IAAK,QACH,OAAO,EAAAK,MACT,IAAK,UACH,OAAOC,GAAc,GACvB,IAAK,eACH,OAAOA,IACT,QACE,GAAIrB,EAAqBgB,IAAI1B,GAC3B,OAAOgC,OAAOhC,GAItB,IAAyBW,EAAQC,CADjC,CAiCA,SAASmB,EAAcE,GACrB,OAAO,SAAUC,GACf,IAAK,IAAIC,EAAQlB,UAAUC,OAAQkB,EAAW,IAAIhB,MAAMe,EAAQ,EAAIA,EAAQ,EAAI,GAAIE,EAAQ,EAAGA,EAAQF,EAAOE,IAC5GD,EAASC,EAAQ,GAAKpB,UAAUoB,GAElC,MAAMC,EAAS,GAOf,OANAJ,EAAQK,SAAQ,CAACC,EAAKC,KACpBH,EAAOI,KAAKF,GACRC,EAAQL,EAASlB,QACnBoB,EAAOI,KAAKT,EAAgBU,OAAOP,EAASK,IAAQG,QAAQ,UAAUC,GAAKC,mBAAmBD,KAAMC,mBAAmBH,OAAOP,EAASK,KACzI,IAEKH,EAAOS,KAAK,GACrB,CACF,C","sources":["webpack:///../../node_modules/@next-core/supply/dist/esm/index.js"],"sourcesContent":["import lodash from \"lodash\";\nimport moment from \"moment\";\nimport { pipes } from \"@next-core/pipes\";\nexport function supply(attemptToVisitGlobals, providedGlobalVariables, mock) {\n const globalVariables = {\n undefined\n };\n // Allow limited browser builtin values.\n for (const variableName of attemptToVisitGlobals) {\n if (!Object.prototype.hasOwnProperty.call(globalVariables, variableName)) {\n if (providedGlobalVariables && Object.prototype.hasOwnProperty.call(providedGlobalVariables, variableName)) {\n globalVariables[variableName] = providedGlobalVariables[variableName];\n } else {\n const variable = supplyIndividual(variableName, mock);\n if (variable !== undefined) {\n globalVariables[variableName] = variable;\n }\n }\n }\n }\n return globalVariables;\n}\nconst shouldOmitInLodash = new Set([\n// Omit all mutable methods from lodash.\n// But allow sequence methods like `_.chain`.\n\"fill\", \"pull\", \"pullAll\", \"pullAllBy\", \"pullAllWith\", \"pullAt\", \"remove\", \"reverse\", \"assign\", \"assignIn\", \"assignInWith\", \"assignWith\", \"defaults\", \"defaultsDeep\", \"merge\", \"mergeWith\", \"set\", \"setWith\", \"unset\", \"update\", \"updateWith\",\n/**\n * Ignore `Function` methods from lodash, too.\n * There are chances to invoke `Object.assign`, etc.\n *\n * E.g.:\n *\n * ```\n * _.wrap(_.method('constructor.assign',{b:2},{b:3}),(func,...a) => func(...a))({})\n * ```\n */\n\"after\", \"ary\", \"before\", \"bind\", \"bindKey\", \"curry\", \"curryRight\", \"debounce\", \"defer\", \"delay\", \"flip\", \"memoize\", \"negate\", \"once\", \"overArgs\", \"partial\", \"partialRight\", \"rearg\", \"rest\", \"spread\", \"throttle\", \"unary\", \"wrap\"]);\n\n// Omit all mutable methods from moment.\nconst shouldOmitInMoment = new Set([\"lang\", \"langData\", \"locale\", \"localeData\", \"defineLocale\", \"updateLocale\", \"updateOffset\"]);\nconst allowedGlobalObjects = new Set([\"Array\", \"Boolean\", \"Date\", \"Infinity\", \"JSON\", \"Math\", \"NaN\", \"Number\", \"String\", \"RegExp\", \"decodeURI\", \"decodeURIComponent\", \"encodeURI\", \"encodeURIComponent\", \"isFinite\", \"isNaN\", \"parseFloat\", \"parseInt\", \"Map\", \"Set\", \"URLSearchParams\", \"WeakMap\", \"WeakSet\", \"atob\", \"btoa\"]);\nfunction supplyIndividual(variableName, mock) {\n switch (variableName) {\n case \"Object\":\n // Do not allow mutable methods like `Object.assign`.\n return delegateMethods(Object, [\"entries\", \"fromEntries\", \"keys\", \"values\"]);\n case \"_\":\n return Object.fromEntries(Object.entries(lodash).filter(entry => !shouldOmitInLodash.has(entry[0])).concat(mock ? [[\"uniqueId\", prefix => `${prefix ?? \"\"}42`]] : []));\n case \"moment\":\n return Object.assign(function () {\n return moment(...arguments);\n }, Object.fromEntries(Object.entries(moment).filter(entry => !shouldOmitInMoment.has(entry[0]))));\n case \"PIPES\":\n return pipes;\n case \"TAG_URL\":\n return tagUrlFactory(true);\n case \"SAFE_TAG_URL\":\n return tagUrlFactory();\n default:\n if (allowedGlobalObjects.has(variableName)) {\n return window[variableName];\n }\n }\n}\nfunction delegateMethods(target, methods) {\n return Object.fromEntries(methods.map(method => [method, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return target[method].apply(target, args);\n }]));\n}\n/**\n * Pass `ignoreSlashes` as `true` to encode all tagged expressions\n * as URL components, except for `/` which maybe used in `APP.homepage`.\n *\n * Otherwise encode all tagged expressions as URL components.\n * This will encode `/` as `%2F`. So do not use it directly\n * with `APP.homepage` as in template expressions.\n *\n * @example\n *\n * ```js\n * TAG_URL`${APP.homepage}/list?q=${q}&redirect=${redirect}`\n * ```\n *\n * ```js\n * SAFE_TAG_URL`file/${path}?q=${q}`\n * // `path` will be fully transformed by `encodeURIComponent`.\n * ```\n *\n * ```js\n * // Wrap `APP.homepage` outside of `SAFE_TAG_URL`.\n * `${APP.homepage}/${SAFE_TAG_URL`file/${path}?q=${q}`}`\n * ```\n */\nfunction tagUrlFactory(ignoreSlashes) {\n return function (strings) {\n for (var _len2 = arguments.length, partials = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n partials[_key2 - 1] = arguments[_key2];\n }\n const result = [];\n strings.forEach((str, index) => {\n result.push(str);\n if (index < partials.length) {\n result.push(ignoreSlashes ? String(partials[index]).replace(/[^/]+/g, p => encodeURIComponent(p)) : encodeURIComponent(String(partials[index])));\n }\n });\n return result.join(\"\");\n };\n}\n//# sourceMappingURL=index.js.map"],"names":["supply","attemptToVisitGlobals","providedGlobalVariables","mock","globalVariables","undefined","variableName","Object","prototype","hasOwnProperty","call","variable","supplyIndividual","shouldOmitInLodash","Set","shouldOmitInMoment","allowedGlobalObjects","target","methods","fromEntries","map","method","_len","arguments","length","args","Array","_key","apply","entries","filter","entry","has","concat","prefix","assign","pipes","tagUrlFactory","window","ignoreSlashes","strings","_len2","partials","_key2","result","forEach","str","index","push","String","replace","p","encodeURIComponent","join"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see chat-conversation.4850d7a0.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[3555,2052],{7035:(e,t,n)=>{"use strict";n.d(t,{V:()=>l});var r=n(8769),o=n.n(r),s=n(3373),a=n.n(s),i=n(7384);const c=(0,n(8610).wrapBrick)("eo-avatar");function l(e){let{message:t}=e;const n=(0,r.useMemo)((()=>{const e=[];if("assistant"===t.role){const n=/(?:^|\n)```(easy_cmd_\S+)\n([\s\S]*?)\n```(?:$|\n)/gm;let r,o=0;for(;r=n.exec(t.content);){const[s,a,i]=r,c=r.index,l=t.content.slice(o,c).trim();l.length>0&&e.push({type:"markdown",content:l}),e.push({type:"command",command:a,content:i.trim(),raw:s}),o=n.lastIndex}const s=t.content.slice(o).trim();s.length>0&&e.push({type:"markdown",content:s})}else e.push({type:"plain",content:t.content});return e}),[t.content,t.role]),s=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=s.current;e&&setTimeout((()=>{const n=e.parentElement.querySelectorAll(".texting");for(const e of n)e.classList.remove("texting");if(!t.partial)return;let r=e;for(;r;){const e=r.lastChild;if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE||"DETAILS"===(null==e?void 0:e.tagName)&&!e.open){var o;if((null==e?void 0:e.nodeType)!==Node.TEXT_NODE||0!==e.textContent.trim().length||(null===(o=e.previousSibling)||void 0===o?void 0:o.nodeType)!==Node.ELEMENT_NODE)break;r=e.previousSibling}else r=e}r.classList.add("texting")}),1)}),[t.partial,t.content]),o().createElement("div",{className:a()("message",{failed:t.failed})},o().createElement("div",{className:"avatar"},o().createElement(c,{icon:{lib:"easyops",icon:"assistant"===t.role?"robot":"account"},size:"small",className:`role-${t.role}`})),o().createElement("div",{className:"main"},o().createElement("div",{className:"label"},"assistant"===t.role?"Assistant":"You"),o().createElement("div",{className:"content",ref:s},n.map(((e,t)=>o().createElement(u,{key:t,chunk:e}))))))}function u(e){let{chunk:t}=e;return o().createElement(o().Fragment,null,"markdown"===t.type?o().createElement("div",{className:"markdown"},o().createElement(i.N,{content:t.content})):"command"===t.type?o().createElement(o().Fragment,null,o().createElement("details",{className:"command"},o().createElement("summary",null,"```",t.command),o().createElement("pre",null,o().createElement("code",null,t.content)))):o().createElement("div",{className:"plain"},t.content))}},4705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ChatConversation:()=>_,ChatConversationComponent:()=>$});var r,o=n(4635),s=n(918),a=n(6902),i=n(5536),c=n(6121),l=n(829),u=n(2740),d=n(8769),f=n.n(d),p=n(4799),m=n(8610),h=(n(6477),n(7035)),g=n(7236);let v,y,b,w,A,E,k,x,N;const{defineElement:S,property:T,event:j}=(0,p.createDecorators)();let _;var C=new WeakMap,B=new WeakMap,O=new WeakMap,M=new WeakSet,L=new WeakMap;class P extends m.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,M),(0,s.A)(this,C,y(this)),(0,s.A)(this,B,(b(this),w(this))),(0,s.A)(this,O,(A(this),E(this))),(0,s.A)(this,L,(N(this),e=>{(0,i.A)(M,this,k).emit(e)}))}get messages(){return(0,l.A)(C,this)}set messages(e){(0,c.A)(C,this,e)}get errorBoundary(){return(0,l.A)(B,this)}set errorBoundary(e){(0,c.A)(B,this,e)}render(){return f().createElement($,{host:this,messages:this.messages,errorBoundary:this.errorBoundary,onStoryboardUpdate:(0,l.A)(L,this)})}}function $(e){let{messages:t,host:n,errorBoundary:r,onStoryboardUpdate:o}=e;const s=(0,d.useMemo)((()=>/(?:^|\n)```easy_cmd_vb_block_(page|storyboard)\n([\s\S]*?)\n```(?:$|\n)/gm),[]),a=(0,d.useRef)(new Map),[i,c]=(0,d.useState)([]),l=(0,d.useRef)(!1);(0,d.useEffect)((()=>{for(const e of t??[]){if("assistant"!==e.role)continue;let t;s.lastIndex=a.current.get(e.key)??0;const n=[];let r=!1;for(;t=s.exec(e.content);){a.current.set(e.key,s.lastIndex);const[,o,i]=t;try{const e=JSON.parse(i);"page"===o?(r=!0,n.push(...e)):n.push({...e,type:"item"})}catch(e){console.error("parse storyboard failed:",e)}}r?c(n):n.length>0&&c((e=>[...e,...n]))}}),[s,t]);const[u,p]=(0,d.useState)([]);(0,d.useEffect)((()=>{const e=[],t=new Map;for(const n of i)"block"===n.type?e.push(n):n.storyboard&&t.set(n.uuid,n.storyboard);e.sort(((e,t)=>e.seq-t.seq));const n={brick:"eo-content-layout",children:[]},o={brick:"eo-main-view",children:[{brick:"eo-page-title",slot:"pageTitle",properties:{pageTitle:"测试页面"}}]};let s=!1;for(const a of e)if("全局操作区"===a.name)for(const e of a.children){const n=t.get(e);n&&(o.children.push({...n,properties:{...n.properties,slot:void 0},errorBoundary:r,slot:"toolbar",iid:`item:${e}`,meta:{type:"item",uuid:e,block:{uuid:a.uuid,name:a.name}}}),s=!0)}else{const e=t.get(a.uuid);if(e){const o={...e,children:[],errorBoundary:r,iid:`block:${a.uuid}`,meta:{type:"block",uuid:a.uuid,name:a.name}};s=!0,n.children.push(o);for(const e of a.children){const n=t.get(e);n&&o.children.push({...n,errorBoundary:r,iid:`item:${e}`,meta:{type:"item",uuid:e}})}}else if(!a.hasContainer)for(const e of a.children){const o=t.get(e);o&&(n.children.push({...o,errorBoundary:r,iid:`item:${e}`,meta:{type:"item",uuid:e}}),s=!0)}}o.children.push(n),p((e=>s?[o]:0===e.length?e:[]))}),[i,r]),(0,d.useEffect)((()=>{null==o||o(u)}),[o,u]);const m=(0,d.useMemo)((()=>{let e=n;for(;e;){const t=getComputedStyle(e,null).getPropertyValue("overflow-y");if("auto"===t||"scroll"===t)return e;if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else{if(!(e.parentNode instanceof Element))break;e=e.parentNode}}return document.scrollingElement||document.documentElement}),[n]);return(0,d.useEffect)((()=>{l.current||setTimeout((()=>{m.scrollTo(0,m.scrollHeight)}),1)}),[t,m]),(0,d.useEffect)((()=>{const e=()=>{l.current=m.scrollTop+m.clientHeight+6<m.scrollHeight};return m.addEventListener("scroll",e),()=>{m.removeEventListener("scroll",e)}}),[m]),f().createElement(f().Fragment,null,null==t?void 0:t.map(((e,t)=>f().createElement(h.V,{key:e.key??`index-${t}`,message:e}))))}r=P,({e:[y,b,w,A,E,k,x,N],c:[_,v]}=(0,u.A)(r,[S("visual-builder.chat-conversation",{styleTexts:[g.A]})],[[T({attribute:!1}),1,"messages"],[T({type:Boolean}),1,"errorBoundary"],[j({type:"storyboard.update"}),1,"storyboardUpdate",e=>(0,l.A)(O,e),(e,t)=>(0,c.A)(O,e,t)]],0,(e=>L.has((0,a.A)(e))),m.ReactNextElement)),v()},7236:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6758),o=n.n(r),s=n(935),a=n.n(s),i=n(6131),c=a()(o());c.i(i.A),c.push([e.id,':host{display:block}:host([hidden]){display:none}*{box-sizing:border-box}.message{display:flex;gap:8px}.main{flex:1;min-width:0}.label{font-weight:bold;line-height:28px}.message:not(:last-child){margin-bottom:2em}.invisible-dots{opacity:0}.failed .content{color:var(--color-error)}.command:not(:first-child){margin-top:1em}.command:not(:last-child){margin-bottom:1em}pre{white-space:pre-wrap;background-color:var(--palette-gray-3);border-radius:6px;padding:1em}.markdown > :first-child{margin-top:0}.markdown > :last-child{margin-bottom:0}.avatar{align-self:flex-start;display:flex;align-items:center;justify-content:center}.texting::after{content:" ";animation:texting 2s infinite;white-space:pre}@keyframes texting{0%{content:" "}25%{content:". "}50%{content:".. "}75%{content:"..."}100%{content:" "}}pre[class*="language-"]{overflow:visible}pre[class*="language-"],\ncode[class*="language-"]{white-space:pre-wrap}eo-avatar.role-assistant::part(avatar-icon){background-color:var(--palette-blue-5)}.content{word-wrap:break-word}.plain{white-space:pre-wrap}',""]);const l=c.toString()},6131:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6758),o=n.n(r),s=n(935),a=n.n(s),i=n(7745),c=a()(o());c.i(i.A),c.push([e.id,"",""]);const l=c.toString()},935:e=>{"use strict";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,s){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,s(n)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545),o=n(6902);function s(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function i(e,t,n,i,c,l){var u,d,f,p,m,h,g,v=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,b=Object.create,w=[b(null),b(null)],A=t.length;function E(t,n,r){return function(o,s){n&&(s=o,o=e);for(var a=0;a<t.length;a++)s=t[a].apply(o,r?[s]:[]);return r?s:o}}function k(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function x(e,t,n,o,a,i,c,l,f,p,m){function h(e){if(!m(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),v=t[3],b=!c,A=1===a,x=3===a,N=4===a,S=2===a;function T(t,n,r){return function(o,s){return n&&(s=o,o=e),r&&r(o),j[t].call(o,s)}}if(!b){var j={},_=[],C=x?"get":N||A?"set":"value";if(f?(p||A?j={get:s((function(){return v(this)}),o,"get"),set:function(e){t[4](this,e)}}:j[C]=v,p||s(j[C],o,S?"":C)):p||(j=Object.getOwnPropertyDescriptor(e,o)),!p&&!f){if((d=w[+l][o])&&7!=(d^a))throw Error("Decorating two elements with the same name ("+j[C].name+") is not supported yet");w[+l][o]=a<3?1:a}}for(var B=e,O=g.length-1;O>=0;O-=n?2:1){var M=k(g[O],"A decorator","be",!0),L=n?g[O-1]:void 0,P={},$={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");k(t,"An initializer","be",!0),i.push(t)}.bind(null,P)};if(b)d=M.call(L,B,$),P.v=1,k(d,"class decorators","return")&&(B=d);else if($.static=l,$.private=f,d=$.access={has:f?m.bind():function(e){return o in e}},N||(d.get=f?S?function(e){return h(e),j.value}:T("get",0,h):function(e){return e[o]}),S||x||(d.set=f?T("set",0,h):function(e,t){e[o]=t}),B=M.call(L,A?{get:j.get,set:j.set}:j[C],$),P.v=1,A){if("object"==(0,r.A)(B)&&B)(d=k(B.get,"accessor.get"))&&(j.get=d),(d=k(B.set,"accessor.set"))&&(j.set=d),(d=k(B.init,"accessor.init"))&&_.unshift(d);else if(void 0!==B)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else k(B,(p?"field":"method")+" decorators","return")&&(p?_.unshift(B):j[C]=B)}return a<2&&c.push(E(_,l,1),E(i,l,0)),p||b||(f?A?c.splice(-1,0,T("get",l),T("set",l)):c.push(S?j[C]:k.call.bind(j[C])):y(e,o,j)),B}function N(e){return y(e,v,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[v]),u=b(null==u?null:u),m=[],h=function(e){e&&m.push(E(e))},g=function(t,r){for(var s=0;s<n.length;s++){var i=n[s],l=i[1],u=7&l;if((8&l)==t&&!u==r){var d=i[2],h=!!i[3],g=16&l;x(t?e:e.prototype,i,g,h?"#"+d:(0,a.A)(d),u,u<2?[]:t?p=p||[]:f=f||[],m,!!t,h,r,t&&h?function(t){return(0,o.A)(t)===e}:c)}}},g(8,0),g(0,0),g(8,1),g(0,1),h(f),h(p),d=m,A||N(e),{e:d,get c(){var n=[];return A&&[N(e=x(e,[t],i,e.name,5,n)),E(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},5536:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return n((0,r.A)(e,t))}},4635:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t){(0,r.A)(e,t),t.add(e)}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";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)}n.d(t,{A:()=>r})},7384:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var r=n(8769),o=n(1085),s=n(3091),a=n(7447),i=n(3640),c=n(4360),l=n(1250);const u={Fragment:o.Fragment,jsx:o.jsx,jsxs:o.jsxs};function d(e){let{content:t}=e;const[n,o]=(0,r.useState)(null);return(0,r.useEffect)((()=>{let e=!1;return(0,s.l)().use(a.A).use(i.A).use([l.N]).use(c.A,u).process(t).then((t=>{e||o(t.result)})).catch((t=>{e||(console.error("Convert markdown failed:",t),o(null))})),()=>{e=!0}}),[t]),n}},1250:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(3544),o=n(4650),s=n(9830);function a(){function e(e,t,n){if(!n||"pre"!==n.tagName||"code"!==e.tagName)return;const r=function(e){const t=e.properties.className||[];for(const e of t)if("language-"===e.slice(0,9))return e.slice(9).toLowerCase();return null}(e);if(null===r)return;let a;try{n.properties.className=(n.properties.className||[]).concat("language-"+r),a=s.L.highlight((0,o.d)(e),r)}catch{return}e.children=a.children}return t=>{(0,r.YR)(t,"element",e)}}}}]);
|
|
3
|
-
//# sourceMappingURL=chat-conversation.4850d7a0.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see chat-preview.ef20464a.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[5402,2052],{9047:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});var r=n(8769),i=n.n(r);function o(e){let{variant:t,width:n,height:r,left:o,top:a,label:s}=e;return i().createElement("div",{className:"outline "+t,style:{width:n+8,height:r+8,left:o-4,top:a-4}},i().createElement("div",{className:"label"},s))}},44:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ChatPreview:()=>D,ChatPreviewComponent:()=>Y});var r,i=n(9575),o=n(4635),a=n(918),s=n(6902),c=n(5536),u=n(6121),l=n(829),p=n(2740),d=n(8769),h=n.n(d),f=n(4799),v=n(8610),g=(n(6477),n(3204)),b=n(1732),y=n(3373),m=n.n(y),w=n(9047),A=n(1563);let k,x,E,S,_,j,T,O,P,C,M,W,z,V,B,N;const{defineElement:R,property:I,event:L,method:$}=(0,f.createDecorators)();let D;var q=new WeakMap,H=new WeakMap,J=new WeakMap,U=new WeakMap,F=new WeakMap,G=new WeakMap,K=new WeakSet,Q=new WeakMap;class X extends v.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,K),(0,a.A)(this,q,(k(this),E(this))),(0,a.A)(this,H,(S(this),_(this))),(0,a.A)(this,J,(j(this),T(this))),(0,a.A)(this,U,(O(this),P(this))),(0,a.A)(this,F,(C(this),M(this))),(0,a.A)(this,G,(W(this),z(this))),(0,a.A)(this,Q,(N(this),e=>{(0,c.A)(K,this,V).emit(e)}))}get storyboard(){return(0,l.A)(q,this)}set storyboard(e){(0,u.A)(q,this,e)}get theme(){return(0,l.A)(H,this)}set theme(e){(0,u.A)(H,this,e)}get uiVersion(){return(0,l.A)(J,this)}set uiVersion(e){(0,u.A)(J,this,e)}get app(){return(0,l.A)(U,this)}set app(e){(0,u.A)(U,this,e)}get inspecting(){return(0,l.A)(F,this)}set inspecting(e){(0,u.A)(F,this,e)}select(e){var t;const n=null===(t=this.shadowRoot)||void 0===t||null===(t=t.querySelector("iframe"))||void 0===t?void 0:t.contentWindow;null==n||n.postMessage({channel:"chat-preview",type:"select",payload:e},location.origin)}render(){return h().createElement(Y,{storyboard:this.storyboard,theme:this.theme,uiVersion:this.uiVersion,app:this.app,inspecting:this.inspecting,onActiveTargetChange:(0,l.A)(Q,this)})}}function Y(e){let{storyboard:t,theme:n,uiVersion:r,app:o,inspecting:a,onActiveTargetChange:s}=e;const c=(0,d.useRef)(),[u,l]=(0,d.useState)(!1),[p,f]=(0,d.useState)(!1),[v,y]=(0,d.useState)({x:0,y:0}),[A,k]=(0,d.useState)([]),[x,E]=(0,d.useState)([]),[S,_]=(0,d.useState)([]),[j,T]=(0,d.useState)([]),O=(0,d.useCallback)((()=>{const e=()=>{var t;const n=null===(t=c.current)||void 0===t?void 0:t.contentWindow;null!=n&&n._preview_only_render?l(!0):setTimeout(e,100)};e()}),[]);(0,d.useEffect)((()=>{var e;if(!u)return;const t=g.__secret_internals.getBrickPackagesById("bricks/visual-builder");if(!t)throw new Error("Cannot find preview agent package: bricks/visual-builder");(null===(e=c.current)||void 0===e||null===(e=e.contentWindow)||void 0===e?void 0:e._preview_only_inject)("visual-builder.inject-chat-preview-agent",{...t,filePath:`${location.origin}${(0,g.getBasePath)()}${window.PUBLIC_ROOT??""}${t.filePath}`})}),[u]),(0,d.useEffect)((()=>{var e;if(!u)return;const i=null===(e=c.current)||void 0===e||null===(e=e.contentWindow)||void 0===e?void 0:e._preview_only_render;i&&i("yaml",{yaml:(0,b.safeDump)(t,{schema:b.JSON_SCHEMA,skipInvalid:!0,noRefs:!0,noCompatMode:!0})},{app:o,theme:n,uiVersion:r})}),[o,u,t,n,r]);const P=(0,d.useMemo)((()=>{if(p)return()=>{setTimeout((()=>{window.postMessage({channel:"chat-preview",type:"inspect-hover",payload:{outlines:[]}})}),100)}}),[p]);(0,d.useEffect)((()=>{const e=e=>{var t;if("chat-preview"===(null===(t=e.data)||void 0===t?void 0:t.channel))switch(e.data.type){case"initialized":f(!0);break;case"inspect-hover":k(e.data.payload.outlines);break;case"scroll":y(e.data.payload);break;case"inspect-active":E(e.data.payload.outlines)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[]),(0,d.useEffect)((()=>{var e;p&&(null===(e=c.current)||void 0===e||null===(e=e.contentWindow)||void 0===e||e.postMessage({channel:"chat-preview",type:"toggle-inspecting",payload:{inspecting:a}},location.origin))}),[p,a]);const C=(0,d.useCallback)((e=>e.map((e=>{var t,n;const r=(null==c||null===(t=c.current)||void 0===t?void 0:t.offsetLeft)??0,i=(null==c||null===(n=c.current)||void 0===n?void 0:n.offsetTop)??0,{width:o,height:a,left:s,top:u,...l}=e;return{width:1*o,height:1*a,left:1*(s-v.x)+r,top:1*(u-v.y)+i,...l}}))),[v.x,v.y]);return(0,d.useEffect)((()=>{s(x[0])}),[x,s]),(0,d.useEffect)((()=>{T(C(x))}),[x,C]),(0,d.useEffect)((()=>{_(C(A))}),[A,C]),h().createElement("div",{className:m()("container",{inspecting:a})},h().createElement("iframe",{ref:c,src:`${(0,g.getBasePath)()}_brick-preview-v3_/preview/`,loading:"lazy",onLoad:O,onMouseOut:P}),S.map(((e,t)=>h().createElement(w.e,(0,i.A)({key:t,variant:"hover"},e)))),j.map(((e,t)=>h().createElement(w.e,(0,i.A)({key:t,variant:"active"},e)))))}r=X,({e:[E,S,_,j,T,O,P,C,M,W,z,V,B,N,k],c:[D,x]}=(0,p.A)(r,[R("visual-builder.chat-preview",{styleTexts:[A.A]})],[[I({attribute:!1}),1,"storyboard"],[I(),1,"theme"],[I(),1,"uiVersion"],[I(),1,"app"],[I({type:Boolean}),1,"inspecting"],[L({type:"activeTarget.change"}),1,"activeTargetChangeEvent",e=>(0,l.A)(G,e),(e,t)=>(0,u.A)(G,e,t)],[$(),2,"select"]],0,(e=>Q.has((0,s.A)(e))),v.ReactNextElement)),x()},1563:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6758),i=n.n(r),o=n(935),a=n.n(o)()(i());a.push([e.id,":host{display:block}:host([hidden]){display:none}*{box-sizing:border-box}.container,\niframe{width:100%;height:100%;border-radius:4px}.container{position:relative;box-shadow:rgba(204,204,204,0.2) 0px 0px 0px 1px}iframe{display:block;border:none;margin:0;padding:0;transform-origin:0% 0%;-webkit-user-select:none;user-select:none}.outline{position:absolute;border-style:solid;border-width:2px;border-radius:0 4px 4px;pointer-events:none}.label{position:absolute;left:-2px;top:-20px;height:18px;line-height:16px;padding:2px 5px 0;font-size:12px;border-radius:4px 4px 0 0;white-space:nowrap}.outline.hover{border-color:rgba(var(--palette-blue-6-channel),0.3)}.outline.hover .label{background:rgba(var(--palette-blue-6-channel),0.3)}.outline.active{border-color:var(--palette-blue-6)}.outline.active .label{background:var(--palette-blue-6)}.container:not(.inspecting) .outline{display:none}",""]);const s=a.toString()},935:e=>{"use strict";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,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7545),i=n(6902);function o(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function s(e,t,n,s,c,u){var l,p,d,h,f,v,g,b=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,m=Object.create,w=[m(null),m(null)],A=t.length;function k(t,n,r){return function(i,o){n&&(o=i,i=e);for(var a=0;a<t.length;a++)o=t[a].apply(i,r?[o]:[]);return r?o:i}}function x(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function E(e,t,n,i,a,s,c,u,d,h,f){function v(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),b=t[3],m=!c,A=1===a,E=3===a,S=4===a,_=2===a;function j(t,n,r){return function(i,o){return n&&(o=i,i=e),r&&r(i),T[t].call(i,o)}}if(!m){var T={},O=[],P=E?"get":S||A?"set":"value";if(d?(h||A?T={get:o((function(){return b(this)}),i,"get"),set:function(e){t[4](this,e)}}:T[P]=b,h||o(T[P],i,_?"":P)):h||(T=Object.getOwnPropertyDescriptor(e,i)),!h&&!d){if((p=w[+u][i])&&7!=(p^a))throw Error("Decorating two elements with the same name ("+T[P].name+") is not supported yet");w[+u][i]=a<3?1:a}}for(var C=e,M=g.length-1;M>=0;M-=n?2:1){var W=x(g[M],"A decorator","be",!0),z=n?g[M-1]:void 0,V={},B={kind:["field","accessor","method","getter","setter","class"][a],name:i,metadata:l,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");x(t,"An initializer","be",!0),s.push(t)}.bind(null,V)};if(m)p=W.call(z,C,B),V.v=1,x(p,"class decorators","return")&&(C=p);else if(B.static=u,B.private=d,p=B.access={has:d?f.bind():function(e){return i in e}},S||(p.get=d?_?function(e){return v(e),T.value}:j("get",0,v):function(e){return e[i]}),_||E||(p.set=d?j("set",0,v):function(e,t){e[i]=t}),C=W.call(z,A?{get:T.get,set:T.set}:T[P],B),V.v=1,A){if("object"==(0,r.A)(C)&&C)(p=x(C.get,"accessor.get"))&&(T.get=p),(p=x(C.set,"accessor.set"))&&(T.set=p),(p=x(C.init,"accessor.init"))&&O.unshift(p);else if(void 0!==C)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else x(C,(h?"field":"method")+" decorators","return")&&(h?O.unshift(C):T[P]=C)}return a<2&&c.push(k(O,u,1),k(s,u,0)),h||m||(d?A?c.splice(-1,0,j("get",u),j("set",u)):c.push(_?T[P]:x.call.bind(T[P])):y(e,i,T)),C}function S(e){return y(e,b,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[b]),l=m(null==l?null:l),f=[],v=function(e){e&&f.push(k(e))},g=function(t,r){for(var o=0;o<n.length;o++){var s=n[o],u=s[1],l=7&u;if((8&u)==t&&!l==r){var p=s[2],v=!!s[3],g=16&u;E(t?e:e.prototype,s,g,v?"#"+p:(0,a.A)(p),l,l<2?[]:t?h=h||[]:d=d||[],f,!!t,v,r,t&&v?function(t){return(0,i.A)(t)===e}:c)}}},g(8,0),g(0,0),g(8,1),g(0,1),v(d),v(h),p=f,A||S(e),{e:p,get c(){var n=[];return A&&[S(e=E(e,[t],s,e.name,5,n)),k(n,1)]}}}},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t,n){(0,r.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return e.set((0,r.A)(e,t),n),n}},5536:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return n((0,r.A)(e,t))}},4635:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t){(0,r.A)(e,t),t.add(e)}},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.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)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";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)}n.d(t,{A:()=>r})}}]);
|
|
3
|
-
//# sourceMappingURL=chat-preview.ef20464a.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[8689,2052],{5413:(t,e,n)=>{n.d(e,{I:()=>r,NS:()=>i});const i="bricks/visual-builder/generate-snippets-context-menu",r={en:{},zh:{}}},3199:(t,e,n)=>{n.r(e),n.d(e,{GenerateSnippetsContextMenu:()=>J,GenerateSnippetsContextMenuComponent:()=>tt});var i,r=n(4635),o=n(918),a=n(6902),s=n(5536),c=n(6121),l=n(829),u=n(2740),d=n(8769),p=n.n(d),m=n(4799),h=n(8610),f=n(4218),v=(n(6477),n(5502)),g=n(5413),b=n(7540);let y,A,w,k,E,x,S,C,j,D,T,M,I,W,z,N;const _=(0,h.wrapBrick)("eo-menu"),O=(0,h.wrapBrick)("eo-menu-item"),P=(0,h.wrapBrick)("eo-tooltip"),B=(0,f.unwrapProvider)("basic.lock-body-scroll");(0,v.initializeReactI18n)(g.NS,g.I);const{defineElement:R,property:G,event:L,method:F}=(0,m.createDecorators)(),H=8;let J;var q=new WeakMap,K=new WeakMap,Q=new WeakMap,U=new WeakMap,V=new WeakSet,X=new WeakMap,Y=new WeakMap,Z=new WeakMap;class $ extends h.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,V),(0,o.A)(this,q,(y(this),w(this))),(0,o.A)(this,K,(k(this),E(this))),(0,o.A)(this,Q,(x(this),S(this))),(0,o.A)(this,U,(C(this),j(this))),(0,o.A)(this,X,(M(this),I(this))),(0,o.A)(this,Y,(N(this),t=>{(0,s.A)(V,this,D).emit(t)})),(0,o.A)(this,Z,(t=>{(0,s.A)(V,this,W).emit(t)}))}get options(){return(0,l.A)(q,this)}set options(t){(0,c.A)(q,this,t)}get active(){return(0,l.A)(K,this)}set active(t){(0,c.A)(K,this,t)}get position(){return(0,l.A)(Q,this)}set position(t){(0,c.A)(Q,this,t)}open(t){let{position:e}=t;this.active=!0,this.position=e}close(){this.active=!1,this.position=void 0}disconnectedCallback(){super.disconnectedCallback(),B(this,!1)}render(){return p().createElement(tt,{active:this.active,element:this,position:this.position,onItemDragStart:(0,l.A)(Y,this),onItemDragEnd:(0,l.A)(Z,this),options:this.options})}}function tt(t){var e,n;let{element:i,active:r,onItemDragEnd:o,onItemDragStart:a,options:s,position:c}=t;const[l,u]=(0,d.useState)(!1),m=(0,d.useRef)(null),[h,f]=(0,d.useState)(null),v=(0,d.useCallback)((t=>{t.preventDefault(),null==i||i.close()}),[i]),g=(0,d.useCallback)(((t,e)=>{var n;u(!0),e.dragConf&&(null===(n=t.dataTransfer)||void 0===n||n.setData(e.dragConf.format,JSON.stringify(e.dragConf.data))),t.target.classList.add("dragging"),null==a||a(e)}),[a]),b=(0,d.useCallback)(((t,e)=>{u(!1),t.target.classList.remove("dragging"),null==i||i.close(),null==o||o(e)}),[i,o]);return(0,d.useEffect)((()=>{B(i,r)}),[r,i]),(0,d.useEffect)((()=>{if(r&&m.current&&c){const t=m.current.getBoundingClientRect(),e=t.width+H,n=t.height+H,{clientWidth:i,clientHeight:r}=document.documentElement,o=[...c];i>e&&c[0]+e>i&&(o[0]=c[0]-e),r>n&&c[1]+n>r&&(o[1]=r-n),f(o)}else f(null)}),[r,c]),p().createElement(p().Fragment,null,!l&&p().createElement("div",{className:"mask",onClick:v,onContextMenu:v}),p().createElement("div",{className:"container",ref:m,style:{left:null===(e=h??c)||void 0===e?void 0:e[0],top:null===(n=h??c)||void 0===n?void 0:n[1],visibility:h?"visible":"hidden"}},null==s?void 0:s.map(((t,e)=>{var n,i;return p().createElement("div",{key:e},p().createElement("div",{className:"title"},t.title),(null===(n=t.children)||void 0===n?void 0:n.length)&&p().createElement(_,null,null===(i=t.children)||void 0===i?void 0:i.map(((t,e)=>p().createElement(P,{content:t.tooltip,hoist:!0,placement:"left",key:e},p().createElement(O,{disabled:t.disabled,icon:t.icon,draggable:!t.disabled,onDragStart:e=>g(e,t),onDragEnd:e=>b(e,t)},t.text))))))}))))}i=$,({e:[w,k,E,x,S,C,j,D,T,M,I,W,z,N,y],c:[J,A]}=(0,u.A)(i,[R("visual-builder.generate-snippets-context-menu",{styleTexts:[b.A]})],[[G({attribute:!1}),1,"options"],[G({type:Boolean}),1,"active"],[G({attribute:!1}),1,"position"],[L({type:"item.drag.start"}),1,"itemDragStartEvent",t=>(0,l.A)(U,t),(t,e)=>(0,c.A)(U,t,e)],[L({type:"item.drag.end"}),1,"itemDragEndEvent",t=>(0,l.A)(X,t),(t,e)=>(0,c.A)(X,t,e)],[F(),2,"open"],[F(),2,"close"]],0,(t=>Z.has((0,a.A)(t))),h.ReactNextElement)),A()},7540:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(6758),r=n.n(i),o=n(935),a=n.n(o)()(r());a.push([t.id,":host{display:inline-block}:host([hidden]){display:none}.mask,\n.container{display:none;position:fixed;z-index:1}.mask{top:0;bottom:0;left:0;right:0;z-index:1}:host([active]) .mask,\n:host([active]) .container{display:block}.container{background:var(--antd-dropdown-menu-bg);border-radius:var(--medius-border-radius);padding:5px}.container .title{padding:5px 12px;cursor:default;color:var(--color-secondary-text);border-bottom:1px solid var(--color-text-divider-line)}.container eo-menu{border:none;padding:5px 0}:is(.container eo-menu) eo-menu-item:not([disabled]):hover::part(menu-item){background-color:var(--left-sidebar-item-hover-bg)}:is(.container eo-menu) eo-menu-item[disabled]::part(menu-item){cursor:not-allowed}:is(.container eo-menu) eo-menu-item::part(menu-item){cursor:grab;padding:5px 12px;border-radius:var(--medius-border-radius);min-width:max-content}:is(.container eo-menu) eo-menu-item.dragging{opacity:0.5}:is(.container eo-menu) eo-tooltip{display:block}",""]);const s=a.toString()},935:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);i&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},6758:t=>{t.exports=function(t){return t[1]}},2740:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(7545),r=n(6902);function o(t,e,n){"symbol"==(0,i.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:n?n+" "+e:e})}catch(t){}return t}var a=n(1369);function s(t,e,n,s,c,l){var u,d,p,m,h,f,v,g=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,A=[y(null),y(null)],w=e.length;function k(e,n,i){return function(r,o){n&&(o=r,r=t);for(var a=0;a<e.length;a++)o=e[a].apply(r,i?[o]:[]);return i?o:r}}function E(t,e,n,i){if("function"!=typeof t&&(i||void 0!==t))throw new TypeError(e+" must "+(n||"be")+" a function"+(i?"":" or undefined"));return t}function x(t,e,n,r,a,s,c,l,p,m,h){function f(t){if(!h(t))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(e[0]),g=e[3],y=!c,w=1===a,x=3===a,S=4===a,C=2===a;function j(e,n,i){return function(r,o){return n&&(o=r,r=t),i&&i(r),D[e].call(r,o)}}if(!y){var D={},T=[],M=x?"get":S||w?"set":"value";if(p?(m||w?D={get:o((function(){return g(this)}),r,"get"),set:function(t){e[4](this,t)}}:D[M]=g,m||o(D[M],r,C?"":M)):m||(D=Object.getOwnPropertyDescriptor(t,r)),!m&&!p){if((d=A[+l][r])&&7!=(d^a))throw Error("Decorating two elements with the same name ("+D[M].name+") is not supported yet");A[+l][r]=a<3?1:a}}for(var I=t,W=v.length-1;W>=0;W-=n?2:1){var z=E(v[W],"A decorator","be",!0),N=n?v[W-1]:void 0,_={},O={kind:["field","accessor","method","getter","setter","class"][a],name:r,metadata:u,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");E(e,"An initializer","be",!0),s.push(e)}.bind(null,_)};if(y)d=z.call(N,I,O),_.v=1,E(d,"class decorators","return")&&(I=d);else if(O.static=l,O.private=p,d=O.access={has:p?h.bind():function(t){return r in t}},S||(d.get=p?C?function(t){return f(t),D.value}:j("get",0,f):function(t){return t[r]}),C||x||(d.set=p?j("set",0,f):function(t,e){t[r]=e}),I=z.call(N,w?{get:D.get,set:D.set}:D[M],O),_.v=1,w){if("object"==(0,i.A)(I)&&I)(d=E(I.get,"accessor.get"))&&(D.get=d),(d=E(I.set,"accessor.set"))&&(D.set=d),(d=E(I.init,"accessor.init"))&&T.unshift(d);else if(void 0!==I)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else E(I,(m?"field":"method")+" decorators","return")&&(m?T.unshift(I):D[M]=I)}return a<2&&c.push(k(T,l,1),k(s,l,0)),m||y||(p?w?c.splice(-1,0,j("get",l),j("set",l)):c.push(C?D[M]:E.call.bind(D[M])):b(t,r,D)),I}function S(t){return b(t,g,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[g]),u=y(null==u?null:u),h=[],f=function(t){t&&h.push(k(t))},v=function(e,i){for(var o=0;o<n.length;o++){var s=n[o],l=s[1],u=7&l;if((8&l)==e&&!u==i){var d=s[2],f=!!s[3],v=16&l;x(e?t:t.prototype,s,v,f?"#"+d:(0,a.A)(d),u,u<2?[]:e?m=m||[]:p=p||[],h,!!e,f,i,e&&f?function(e){return(0,r.A)(e)===t}:c)}}},v(8,0),v(0,0),v(8,1),v(0,1),f(p),f(m),d=h,w||S(t),{e:d,get c(){var n=[];return w&&[S(t=x(t,[e],s,t.name,5,n)),k(n,1)]}}}},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})},6902:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(7545);function r(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,i.A)(t):"null"));return t}},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}},5536:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2559);function r(t,e,n){return n((0,i.A)(t,e))}},4635:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2016);function r(t,e){(0,i.A)(t,e),e.add(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})}}]);
|
|
2
|
-
//# sourceMappingURL=generate-snippets-context-menu.311c1d21.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var e,t,r,n,a,o,l,i,c,u,s,d,f,h,p,b,m,v,g,x,y,P,j,k,w,O,_={7934:(e,t,r)=>{Promise.all([r.e(7507),r.e(5814),r.e(5659),r.e(8769),r.e(4799),r.e(8610),r.e(1030),r.e(4218),r.e(6477),r.e(3204),r.e(8799),r.e(155),r.e(1732),r.e(8255),r.e(9435),r.e(4130),r.e(564),r.e(5502),r.e(9080),r.e(2980),r.e(1722),r.e(1201),r.e(5832)]).then(r.bind(r,5832))}},S={};function E(e){var t=S[e];if(void 0!==t)return t.exports;var r=S[e]={id:e,loaded:!1,exports:{}};return _[e].call(r.exports,r,r.exports,E),r.loaded=!0,r.exports}E.m=_,E.c=S,E.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return E.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,E.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);E.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,E.d(a,o),a},E.d=(e,t)=>{for(var r in t)E.o(t,r)&&!E.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},E.f={},E.e=e=>Promise.all(Object.keys(E.f).reduce(((t,r)=>(E.f[r](e,t),t)),[])),E.u=e=>"chunks/"+e+"."+{114:"8467ea5c",155:"1ebf01ec",564:"6586a729",718:"3f0afc76",726:"e407e050",790:"eb4333db",871:"f5ada237",1030:"7081f53a",1045:"26b1cdc0",1122:"7c509964",1201:"8950a28b",1204:"e10067e0",1722:"59f0e4b2",1732:"469e9cc0",1889:"e1d839b8",1940:"0a5131bc",2052:"f1624476",2201:"0a5797e4",2277:"ff3d70d1",2980:"4ec4e488",3136:"d3b0eebf",3144:"0096b9c3",3171:"f66d7cb8",3204:"ded00f71",3680:"a3dc1198",3933:"227b6f32",4041:"468489fa",4130:"27d1ec59",4218:"ca1c52b9",4586:"6b85a822",4658:"bab96d6a",4708:"1650c9c9",4799:"3ac3450d",4837:"c2472ae5",5250:"f22684c9",5384:"7fbe2a84",5399:"be09f124",5502:"4cbb4b84",5552:"61a7adc0",5659:"9000e441",5814:"b148acfc",5832:"375e36b5",6314:"1364814f",6477:"7c5762c4",6519:"ddef7177",6773:"9ed5373b",7106:"d968b88f",7218:"84a3b93e",7304:"12ca6e2d",7434:"4ddb3aab",7507:"c0a5c220",7721:"6dd8673d",7733:"25a56515",8097:"f37c5904",8255:"399ac060",8610:"cbc52b19",8769:"09488b9c",8799:"cf82abdb",8989:"74e3337d",9080:"32c73c01",9435:"ddacadb1",9515:"80c4b472",9559:"ffb58a44",9654:"2745cf7e",9755:"12af1881",9844:"4328557b"}[e]+".js",E.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),E.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@next-bricks/visual-builder:",E.l=(e,t,a,o)=>{if(r[e])r[e].push(t);else{var l,i;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var s=c[u];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==n+a){l=s;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,E.nc&&l.setAttribute("nonce",E.nc),l.setAttribute("data-webpack",n+a),l.src=e),r[e]=[t];var d=(t,n)=>{l.onerror=l.onload=null,clearTimeout(f);var a=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),i&&document.head.appendChild(l)}},E.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},E.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{E.S={};var e={},t={};E.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];E.o(E.S,r)||(E.S[r]={});var o=E.S[r],l="@next-bricks/visual-builder",i=(e,t,r,n)=>{var a=o[e]=o[e]||{},i=a[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(i("@babel/parser","7.25.3",(()=>E.e(6773).then((()=>()=>E(6773))))),i("@easyops-cn/brick-next-pipes","0.6.0",(()=>Promise.all([E.e(3680),E.e(1030),E.e(155),E.e(1204)]).then((()=>()=>E(3680))))),i("@next-core/cook","2.4.9",(()=>Promise.all([E.e(1122),E.e(9654),E.e(4586)]).then((()=>()=>E(1122))))),i("@next-core/element","1.2.12",(()=>E.e(1045).then((()=>()=>E(1045))))),i("@next-core/http","1.2.7",(()=>E.e(8989).then((()=>()=>E(8989))))),i("@next-core/i18n/react","1.0.65",(()=>Promise.all([E.e(8799),E.e(8097)]).then((()=>()=>E(8097))))),i("@next-core/i18n","1.0.65",(()=>Promise.all([E.e(4218),E.e(8799),E.e(9755),E.e(5552)]).then((()=>()=>E(5552))))),i("@next-core/inject","1.0.44",(()=>Promise.all([E.e(1030),E.e(7106),E.e(2277)]).then((()=>()=>E(2277))))),i("@next-core/loader","1.6.8",(()=>E.e(5399).then((()=>()=>E(5399))))),i("@next-core/pipes","2.0.25",(()=>E.e(6519).then((()=>()=>E(6519))))),i("@next-core/react-element","1.0.31",(()=>Promise.all([E.e(8769),E.e(4799),E.e(9435),E.e(114)]).then((()=>()=>E(114))))),i("@next-core/react-runtime","1.6.39",(()=>Promise.all([E.e(8769),E.e(8610),E.e(1030),E.e(3204),E.e(4837)]).then((()=>()=>E(4837))))),i("@next-core/runtime","1.54.16",(()=>Promise.all([E.e(7507),E.e(718),E.e(1030),E.e(4218),E.e(155),E.e(8255),E.e(4130),E.e(3136),E.e(4708)]).then((()=>()=>E(718))))),i("@next-core/supply","2.1.21",(()=>Promise.all([E.e(1030),E.e(155),E.e(7106),E.e(9559)]).then((()=>()=>E(9559))))),i("@next-core/theme","1.5.4",(()=>Promise.all([E.e(1889),E.e(2052)]).then((()=>()=>E(1889))))),i("@next-core/utils/general","1.7.23",(()=>E.e(871).then((()=>()=>E(871))))),i("@next-core/utils/storyboard","1.7.23",(()=>Promise.all([E.e(4218),E.e(3136),E.e(3933)]).then((()=>()=>E(3933))))),i("history","4.10.1",(()=>E.e(5384).then((()=>()=>E(5384))))),i("i18next-browser-languagedetector","7.2.1",(()=>E.e(726).then((()=>()=>E(726))))),i("i18next","22.5.1",(()=>E.e(7304).then((()=>()=>E(7304))))),i("js-yaml","3.14.1",(()=>E.e(9515).then((()=>()=>E(9515))))),i("lodash","4.17.21",(()=>E.e(5250).then((()=>()=>E(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([E.e(7721),E.e(9844)]).then((()=>()=>E(1329))))),i("moment","2.30.1",(()=>Promise.all([E.e(7721),E.e(9844)]).then((()=>()=>E(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([E.e(3144),E.e(8769)]).then((()=>()=>E(3144))))),i("react-i18next","12.3.1",(()=>Promise.all([E.e(7434),E.e(8769)]).then((()=>()=>E(7434))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>E.e(4041).then((()=>()=>E(4041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;E.g.importScripts&&(e=E.g.location+"");var t=E.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),E.p=e+"../"})(),a=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},o=(e,t)=>{e=a(e),t=a(t);for(var r=0;;){if(r>=e.length)return r<t.length&&"u"!=(typeof t[r])[0];var n=e[r],o=(typeof n)[0];if(r>=t.length)return"u"==o;var l=t[r],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&n!=l)return n<l;r++}},l=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(i=e[a]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var o=[];for(a=1;a<e.length;a++){var i=e[a];o.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?o.pop()+" "+o.pop():l(i))}return c();function c(){return o.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,t)=>{if(0 in e){t=a(t);var r=e[0],n=r<0;n&&(r=-r-1);for(var o=0,l=1,c=!0;;l++,o++){var u,s,d=l<e.length?(typeof e[l])[0]:"";if(o>=t.length||"o"==(s=(typeof(u=t[o]))[0]))return!c||("u"==d?l>r&&!n:""==d!=n);if("u"==s){if(!c||"u"!=d)return!1}else if(c)if(d==s)if(l<=r){if(u!=e[l])return!1}else{if(n?u>e[l]:u<e[l])return!1;u!=e[l]&&(c=!1)}else if("s"!=d&&"n"!=d){if(n||l<=r)return!1;c=!1,l--}else{if(l<=r||s<d!=n)return!1;c=!1}else"s"!=d&&"n"!=d&&(c=!1,l--)}}var f=[],h=f.pop.bind(f);for(o=1;o<e.length;o++){var p=e[o];f.push(1==p?h()|h():2==p?h()&h():p?i(p,t):!h())}return!!h()},c=(e,t)=>e&&E.o(e,t),u=e=>(e.loaded=1,e.get()),s=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),d=(e,t,r,n)=>{var a=n?s(e[t]):e[t];return(t=Object.keys(a).reduce(((e,t)=>!i(r,t)||e&&!o(e,t)?e:t),0))&&a[t]},f=(e,t,r)=>{var n=r?s(e[t]):e[t];return Object.keys(n).reduce(((e,t)=>!e||!n[e].loaded&&o(e,t)?t:e),0)},h=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+l(n)+")",p=(e,t,r,n,a)=>{var o=e[r];return"No satisfying version ("+l(n)+")"+(a?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(o).map((e=>e+" from "+o[e].from)).join(", ")},b=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},g=(e,t,r)=>r?r():((e,t)=>b("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),x=(v=e=>function(t,r,n,a,o){var l=E.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,E.S[t],r,!1,a,o)):e(t,E.S[t],r,n,a,o)})(((e,t,r,n,a,o)=>{if(!c(t,r))return g(e,r,o);var l=d(t,r,a,n);return l?u(l):o?o():void b(p(t,e,r,a,n))})),y=v(((e,t,r,n,a)=>{if(!c(t,r))return g(e,r,a);var o=f(t,r,n);return u(t[r][o])})),P=v(((e,t,r,n,a,o)=>{if(!c(t,r))return g(e,r,o);var l=f(t,r,n);return i(a,l)||m(h(t,r,l,a)),u(t[r][l])})),j={},k={8769:()=>x("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>E.e(4041).then((()=>()=>E(4041))))),4799:()=>x("default","@next-core/element",!1,[1,1,2,12],(()=>E.e(1045).then((()=>()=>E(1045))))),8610:()=>x("default","@next-core/react-element",!1,[1,1,0,31],(()=>Promise.all([E.e(4799),E.e(9435),E.e(7733)]).then((()=>()=>E(114))))),1030:()=>P("default","lodash",!1,[1,4,17,21],(()=>E.e(5250).then((()=>()=>E(5250))))),4218:()=>P("default","@next-core/utils/general",!1,[1,1,7,23],(()=>E.e(871).then((()=>()=>E(871))))),6477:()=>P("default","@next-core/theme",!1,[1,1,5,4],(()=>E.e(1889).then((()=>()=>E(1889))))),3204:()=>P("default","@next-core/runtime",!1,[1,1,54,16],(()=>Promise.all([E.e(7507),E.e(718),E.e(1030),E.e(4218),E.e(155),E.e(8255),E.e(4130),E.e(3136),E.e(4708)]).then((()=>()=>E(718))))),8799:()=>y("default","@next-core/i18n",!1,(()=>Promise.all([E.e(4218),E.e(9755),E.e(3171)]).then((()=>()=>E(5552))))),155:()=>P("default","moment",!1,[1,2,29,4],(()=>Promise.all([E.e(7721),E.e(9844)]).then((()=>()=>E(9420))))),1732:()=>y("default","js-yaml",!1,(()=>E.e(9515).then((()=>()=>E(9515))))),8255:()=>P("default","@next-core/http",!1,[1,1,2,7],(()=>E.e(8989).then((()=>()=>E(8989))))),9435:()=>x("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>E.e(3144).then((()=>()=>E(3144))))),4130:()=>P("default","@next-core/utils/storyboard",!1,[1,1,7,23],(()=>Promise.all([E.e(3136),E.e(6314)]).then((()=>()=>E(3933))))),564:()=>x("default","@next-core/react-runtime",!1,[1,1,6,39],(()=>Promise.all([E.e(1030),E.e(3204),E.e(7218)]).then((()=>()=>E(4837))))),5502:()=>y("default","@next-core/i18n/react",!1,(()=>Promise.all([E.e(8799),E.e(8097)]).then((()=>()=>E(8097))))),1431:()=>y("default","@next-core/cook",!1,(()=>Promise.all([E.e(1122),E.e(9654)]).then((()=>()=>E(1122))))),1201:()=>P("default","history",!1,[1,4,7,11],(()=>E.e(5384).then((()=>()=>E(5384))))),1204:()=>P("default","js-yaml",!1,[1,3,14,0],(()=>E.e(9515).then((()=>()=>E(9515))))),9654:()=>P("default","@babel/parser",!1,[1,7,25,4],(()=>E.e(6773).then((()=>()=>E(6773))))),7825:()=>P("default","react-i18next",!1,[1,12,3,1],(()=>Promise.all([E.e(7434),E.e(8769)]).then((()=>()=>E(7434))))),2350:()=>P("default","i18next",!1,[1,22,5,1],(()=>E.e(7304).then((()=>()=>E(7304))))),7072:()=>P("default","i18next-browser-languagedetector",!1,[1,7,2,1],(()=>E.e(726).then((()=>()=>E(726))))),7106:()=>P("default","@next-core/pipes",!1,[1,2,0,25],(()=>E.e(6519).then((()=>()=>E(6519))))),161:()=>P("default","@easyops-cn/brick-next-pipes",!1,[2,0,6,0],(()=>Promise.all([E.e(3680),E.e(1030),E.e(155),E.e(1204)]).then((()=>()=>E(3680))))),3136:()=>P("default","@next-core/cook",!1,[1,2,4,9],(()=>Promise.all([E.e(1122),E.e(9654),E.e(4586)]).then((()=>()=>E(1122))))),597:()=>P("default","moment/locale/zh-cn.js",!1,[1,2,29,4],(()=>Promise.all([E.e(7721),E.e(9844)]).then((()=>()=>E(1329))))),2890:()=>P("default","history",!1,[1,4,10,1],(()=>E.e(5384).then((()=>()=>E(5384))))),3241:()=>P("default","@next-core/i18n",!1,[1,1,0,65],(()=>Promise.all([E.e(8799),E.e(9755),E.e(790)]).then((()=>()=>E(5552))))),5096:()=>P("default","@next-core/loader",!1,[1,1,6,8],(()=>E.e(5399).then((()=>()=>E(5399))))),8502:()=>P("default","@next-core/supply",!1,[1,2,1,21],(()=>Promise.all([E.e(7106),E.e(1940)]).then((()=>()=>E(9559))))),9080:()=>P("default","@next-core/inject",!1,[1,1,0,44],(()=>Promise.all([E.e(7106),E.e(4658)]).then((()=>()=>E(2277)))))},w={155:[155],564:[564],1030:[1030],1201:[1201],1204:[1204],1732:[1732],3136:[3136],3204:[3204],4130:[4130],4218:[4218],4708:[597,2890,3241,5096,8502,9080],4799:[4799],5502:[5502],6477:[6477],6519:[161],7106:[7106],8097:[7825],8255:[8255],8610:[8610],8769:[8769],8799:[8799],9080:[1431],9435:[9435],9654:[9654],9755:[2350,7072]},O={},E.f.consumes=(e,t)=>{E.o(w,e)&&w[e].forEach((e=>{if(E.o(j,e))return t.push(j[e]);if(!O[e]){var r=t=>{j[e]=0,E.m[e]=r=>{delete E.c[e],r.exports=t()}};O[e]=!0;var n=t=>{delete j[e],E.m[e]=r=>{throw delete E.c[e],t}};try{var a=k[e]();a.then?t.push(j[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{var e={8792:0};E.f.j=(t,r)=>{var n=E.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(20[14]|030|55|732)|4(130|218|708|799)|8(255|610|769|799)|9(435|654|755)|3136|3204|5502|564|6477|7106)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=E.p+E.u(t),l=new Error;E.l(o,(r=>{if(E.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in l)E.o(l,n)&&(E.m[n]=l[n]);i&&i(E)}for(t&&t(r);c<o.length;c++)a=o[c],E.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),E.nc=void 0,E(7934)})();
|
|
2
|
-
//# sourceMappingURL=main.3e56e51a.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/main.3e56e51a.js","mappings":"UACIA,EADAC,ECAAC,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EAIAC,EAGAC,EAIAC,EAeAC,EAQAC,EAMAC,EAGAC,EAOAC,EAMAC,EAGAC,EAQAC,EAcAC,EAOAC,EAKAC,EAgBAC,EACAC,EAkCAC,EAmFAC,E,kBC/OJ,uQ,GCCIC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CACjDK,GAAIL,EACJM,QAAQ,EACRH,QAAS,CAAC,GAUX,OANAI,EAAoBP,GAAUQ,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASJ,GAG3EK,EAAOE,QAAS,EAGTF,EAAOD,OACf,CAGAJ,EAAoBU,EAAIF,EAGxBR,EAAoBW,EAAIZ,EC9BxBC,EAAoBY,EAAKP,IACxB,IAAIQ,EAASR,GAAUA,EAAOS,WAC7B,IAAOT,EAAiB,QACxB,IAAM,EAEP,OADAL,EAAoBe,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ELNVvC,EAAW2C,OAAOC,eAAkBC,GAASF,OAAOC,eAAeC,GAASA,GAASA,EAAa,UAQtGnB,EAAoBoB,EAAI,SAASC,EAAOC,GAEvC,GADU,EAAPA,IAAUD,EAAQE,KAAKF,IAChB,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QAAQwH,EAAqBpE,KAAK,KAAM,IAC3D2E,EAAmBtG,KAAO+F,EAAqBpE,KAAK,KAAM2E,EAAmBtG,KAAK2B,KAAK2E,G,KCrFvF/J,EAAoBsE,QAAKnE,ECGCH,EAAoB,K","sources":["webpack:///webpack/runtime/create fake namespace object","webpack:///webpack/runtime/load script","webpack:///webpack/runtime/consumes","webpack:///./src/index.ts","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/sharing","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/runtime/nonce","webpack:///webpack/startup"],"sourcesContent":["var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@next-bricks/visual-builder:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar exists = (scope, key) => {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t8769: () => (loadStrictVersion(\"default\", \"react\", false, [6,0,0,0,,\"experimental-ee8509801-20230117\"], () => (__webpack_require__.e(4041).then(() => (() => (__webpack_require__(4041))))))),\n\t4799: () => (loadStrictVersion(\"default\", \"@next-core/element\", false, [1,1,2,12], () => (__webpack_require__.e(1045).then(() => (() => (__webpack_require__(1045))))))),\n\t8610: () => (loadStrictVersion(\"default\", \"@next-core/react-element\", false, [1,1,0,31], () => (Promise.all([__webpack_require__.e(4799), __webpack_require__.e(9435), __webpack_require__.e(7733)]).then(() => (() => (__webpack_require__(114))))))),\n\t1030: () => (loadSingletonVersion(\"default\", \"lodash\", false, [1,4,17,21], () => (__webpack_require__.e(5250).then(() => (() => (__webpack_require__(5250))))))),\n\t4218: () => (loadSingletonVersion(\"default\", \"@next-core/utils/general\", false, [1,1,7,23], () => (__webpack_require__.e(871).then(() => (() => (__webpack_require__(871))))))),\n\t6477: () => (loadSingletonVersion(\"default\", \"@next-core/theme\", false, [1,1,5,4], () => (__webpack_require__.e(1889).then(() => (() => (__webpack_require__(1889))))))),\n\t3204: () => (loadSingletonVersion(\"default\", \"@next-core/runtime\", false, [1,1,54,16], () => (Promise.all([__webpack_require__.e(7507), __webpack_require__.e(718), __webpack_require__.e(1030), __webpack_require__.e(4218), __webpack_require__.e(155), __webpack_require__.e(8255), __webpack_require__.e(4130), __webpack_require__.e(3136), __webpack_require__.e(4708)]).then(() => (() => (__webpack_require__(718))))))),\n\t8799: () => (loadSingleton(\"default\", \"@next-core/i18n\", false, () => (Promise.all([__webpack_require__.e(4218), __webpack_require__.e(9755), __webpack_require__.e(3171)]).then(() => (() => (__webpack_require__(5552))))))),\n\t155: () => (loadSingletonVersion(\"default\", \"moment\", false, [1,2,29,4], () => (Promise.all([__webpack_require__.e(7721), __webpack_require__.e(9844)]).then(() => (() => (__webpack_require__(9420))))))),\n\t1732: () => (loadSingleton(\"default\", \"js-yaml\", false, () => (__webpack_require__.e(9515).then(() => (() => (__webpack_require__(9515))))))),\n\t8255: () => (loadSingletonVersion(\"default\", \"@next-core/http\", false, [1,1,2,7], () => (__webpack_require__.e(8989).then(() => (() => (__webpack_require__(8989))))))),\n\t9435: () => (loadStrictVersion(\"default\", \"react-dom\", false, [6,0,0,0,,\"experimental-ee8509801-20230117\"], () => (__webpack_require__.e(3144).then(() => (() => (__webpack_require__(3144))))))),\n\t4130: () => (loadSingletonVersion(\"default\", \"@next-core/utils/storyboard\", false, [1,1,7,23], () => (Promise.all([__webpack_require__.e(3136), __webpack_require__.e(6314)]).then(() => (() => (__webpack_require__(3933))))))),\n\t564: () => (loadStrictVersion(\"default\", \"@next-core/react-runtime\", false, [1,1,6,39], () => (Promise.all([__webpack_require__.e(1030), __webpack_require__.e(3204), __webpack_require__.e(7218)]).then(() => (() => (__webpack_require__(4837))))))),\n\t5502: () => (loadSingleton(\"default\", \"@next-core/i18n/react\", false, () => (Promise.all([__webpack_require__.e(8799), __webpack_require__.e(8097)]).then(() => (() => (__webpack_require__(8097))))))),\n\t1431: () => (loadSingleton(\"default\", \"@next-core/cook\", false, () => (Promise.all([__webpack_require__.e(1122), __webpack_require__.e(9654)]).then(() => (() => (__webpack_require__(1122))))))),\n\t1201: () => (loadSingletonVersion(\"default\", \"history\", false, [1,4,7,11], () => (__webpack_require__.e(5384).then(() => (() => (__webpack_require__(5384))))))),\n\t1204: () => (loadSingletonVersion(\"default\", \"js-yaml\", false, [1,3,14,0], () => (__webpack_require__.e(9515).then(() => (() => (__webpack_require__(9515))))))),\n\t9654: () => (loadSingletonVersion(\"default\", \"@babel/parser\", false, [1,7,25,4], () => (__webpack_require__.e(6773).then(() => (() => (__webpack_require__(6773))))))),\n\t7825: () => (loadSingletonVersion(\"default\", \"react-i18next\", false, [1,12,3,1], () => (Promise.all([__webpack_require__.e(7434), __webpack_require__.e(8769)]).then(() => (() => (__webpack_require__(7434))))))),\n\t2350: () => (loadSingletonVersion(\"default\", \"i18next\", false, [1,22,5,1], () => (__webpack_require__.e(7304).then(() => (() => (__webpack_require__(7304))))))),\n\t7072: () => (loadSingletonVersion(\"default\", \"i18next-browser-languagedetector\", false, [1,7,2,1], () => (__webpack_require__.e(726).then(() => (() => (__webpack_require__(726))))))),\n\t7106: () => (loadSingletonVersion(\"default\", \"@next-core/pipes\", false, [1,2,0,25], () => (__webpack_require__.e(6519).then(() => (() => (__webpack_require__(6519))))))),\n\t161: () => (loadSingletonVersion(\"default\", \"@easyops-cn/brick-next-pipes\", false, [2,0,6,0], () => (Promise.all([__webpack_require__.e(3680), __webpack_require__.e(1030), __webpack_require__.e(155), __webpack_require__.e(1204)]).then(() => (() => (__webpack_require__(3680))))))),\n\t3136: () => (loadSingletonVersion(\"default\", \"@next-core/cook\", false, [1,2,4,9], () => (Promise.all([__webpack_require__.e(1122), __webpack_require__.e(9654), __webpack_require__.e(4586)]).then(() => (() => (__webpack_require__(1122))))))),\n\t597: () => (loadSingletonVersion(\"default\", \"moment/locale/zh-cn.js\", false, [1,2,29,4], () => (Promise.all([__webpack_require__.e(7721), __webpack_require__.e(9844)]).then(() => (() => (__webpack_require__(1329))))))),\n\t2890: () => (loadSingletonVersion(\"default\", \"history\", false, [1,4,10,1], () => (__webpack_require__.e(5384).then(() => (() => (__webpack_require__(5384))))))),\n\t3241: () => (loadSingletonVersion(\"default\", \"@next-core/i18n\", false, [1,1,0,65], () => (Promise.all([__webpack_require__.e(8799), __webpack_require__.e(9755), __webpack_require__.e(790)]).then(() => (() => (__webpack_require__(5552))))))),\n\t5096: () => (loadSingletonVersion(\"default\", \"@next-core/loader\", false, [1,1,6,8], () => (__webpack_require__.e(5399).then(() => (() => (__webpack_require__(5399))))))),\n\t8502: () => (loadSingletonVersion(\"default\", \"@next-core/supply\", false, [1,2,1,21], () => (Promise.all([__webpack_require__.e(7106), __webpack_require__.e(1940)]).then(() => (() => (__webpack_require__(9559))))))),\n\t9080: () => (loadSingletonVersion(\"default\", \"@next-core/inject\", false, [1,1,0,44], () => (Promise.all([__webpack_require__.e(7106), __webpack_require__.e(4658)]).then(() => (() => (__webpack_require__(2277)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"155\": [\n\t\t155\n\t],\n\t\"564\": [\n\t\t564\n\t],\n\t\"1030\": [\n\t\t1030\n\t],\n\t\"1201\": [\n\t\t1201\n\t],\n\t\"1204\": [\n\t\t1204\n\t],\n\t\"1732\": [\n\t\t1732\n\t],\n\t\"3136\": [\n\t\t3136\n\t],\n\t\"3204\": [\n\t\t3204\n\t],\n\t\"4130\": [\n\t\t4130\n\t],\n\t\"4218\": [\n\t\t4218\n\t],\n\t\"4708\": [\n\t\t597,\n\t\t2890,\n\t\t3241,\n\t\t5096,\n\t\t8502,\n\t\t9080\n\t],\n\t\"4799\": [\n\t\t4799\n\t],\n\t\"5502\": [\n\t\t5502\n\t],\n\t\"6477\": [\n\t\t6477\n\t],\n\t\"6519\": [\n\t\t161\n\t],\n\t\"7106\": [\n\t\t7106\n\t],\n\t\"8097\": [\n\t\t7825\n\t],\n\t\"8255\": [\n\t\t8255\n\t],\n\t\"8610\": [\n\t\t8610\n\t],\n\t\"8769\": [\n\t\t8769\n\t],\n\t\"8799\": [\n\t\t8799\n\t],\n\t\"9080\": [\n\t\t1431\n\t],\n\t\"9435\": [\n\t\t9435\n\t],\n\t\"9654\": [\n\t\t9654\n\t],\n\t\"9755\": [\n\t\t2350,\n\t\t7072\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","import(\"./bootstrap.js\");\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"chunks/\" + chunkId + \".\" + {\"114\":\"8467ea5c\",\"155\":\"1ebf01ec\",\"564\":\"6586a729\",\"718\":\"3f0afc76\",\"726\":\"e407e050\",\"790\":\"eb4333db\",\"871\":\"f5ada237\",\"1030\":\"7081f53a\",\"1045\":\"26b1cdc0\",\"1122\":\"7c509964\",\"1201\":\"8950a28b\",\"1204\":\"e10067e0\",\"1722\":\"59f0e4b2\",\"1732\":\"469e9cc0\",\"1889\":\"e1d839b8\",\"1940\":\"0a5131bc\",\"2052\":\"f1624476\",\"2201\":\"0a5797e4\",\"2277\":\"ff3d70d1\",\"2980\":\"4ec4e488\",\"3136\":\"d3b0eebf\",\"3144\":\"0096b9c3\",\"3171\":\"f66d7cb8\",\"3204\":\"ded00f71\",\"3680\":\"a3dc1198\",\"3933\":\"227b6f32\",\"4041\":\"468489fa\",\"4130\":\"27d1ec59\",\"4218\":\"ca1c52b9\",\"4586\":\"6b85a822\",\"4658\":\"bab96d6a\",\"4708\":\"1650c9c9\",\"4799\":\"3ac3450d\",\"4837\":\"c2472ae5\",\"5250\":\"f22684c9\",\"5384\":\"7fbe2a84\",\"5399\":\"be09f124\",\"5502\":\"4cbb4b84\",\"5552\":\"61a7adc0\",\"5659\":\"9000e441\",\"5814\":\"b148acfc\",\"5832\":\"375e36b5\",\"6314\":\"1364814f\",\"6477\":\"7c5762c4\",\"6519\":\"ddef7177\",\"6773\":\"9ed5373b\",\"7106\":\"d968b88f\",\"7218\":\"84a3b93e\",\"7304\":\"12ca6e2d\",\"7434\":\"4ddb3aab\",\"7507\":\"c0a5c220\",\"7721\":\"6dd8673d\",\"7733\":\"25a56515\",\"8097\":\"f37c5904\",\"8255\":\"399ac060\",\"8610\":\"cbc52b19\",\"8769\":\"09488b9c\",\"8799\":\"cf82abdb\",\"8989\":\"74e3337d\",\"9080\":\"32c73c01\",\"9435\":\"ddacadb1\",\"9515\":\"80c4b472\",\"9559\":\"ffb58a44\",\"9654\":\"2745cf7e\",\"9755\":\"12af1881\",\"9844\":\"4328557b\"}[chunkId] + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"@next-bricks/visual-builder\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@babel/parser\", \"7.25.3\", () => (__webpack_require__.e(6773).then(() => (() => (__webpack_require__(6773))))));\n\t\t\tregister(\"@easyops-cn/brick-next-pipes\", \"0.6.0\", () => (Promise.all([__webpack_require__.e(3680), __webpack_require__.e(1030), __webpack_require__.e(155), __webpack_require__.e(1204)]).then(() => (() => (__webpack_require__(3680))))));\n\t\t\tregister(\"@next-core/cook\", \"2.4.9\", () => (Promise.all([__webpack_require__.e(1122), __webpack_require__.e(9654), __webpack_require__.e(4586)]).then(() => (() => (__webpack_require__(1122))))));\n\t\t\tregister(\"@next-core/element\", \"1.2.12\", () => (__webpack_require__.e(1045).then(() => (() => (__webpack_require__(1045))))));\n\t\t\tregister(\"@next-core/http\", \"1.2.7\", () => (__webpack_require__.e(8989).then(() => (() => (__webpack_require__(8989))))));\n\t\t\tregister(\"@next-core/i18n/react\", \"1.0.65\", () => (Promise.all([__webpack_require__.e(8799), __webpack_require__.e(8097)]).then(() => (() => (__webpack_require__(8097))))));\n\t\t\tregister(\"@next-core/i18n\", \"1.0.65\", () => (Promise.all([__webpack_require__.e(4218), __webpack_require__.e(8799), __webpack_require__.e(9755), __webpack_require__.e(5552)]).then(() => (() => (__webpack_require__(5552))))));\n\t\t\tregister(\"@next-core/inject\", \"1.0.44\", () => (Promise.all([__webpack_require__.e(1030), __webpack_require__.e(7106), __webpack_require__.e(2277)]).then(() => (() => (__webpack_require__(2277))))));\n\t\t\tregister(\"@next-core/loader\", \"1.6.8\", () => (__webpack_require__.e(5399).then(() => (() => (__webpack_require__(5399))))));\n\t\t\tregister(\"@next-core/pipes\", \"2.0.25\", () => (__webpack_require__.e(6519).then(() => (() => (__webpack_require__(6519))))));\n\t\t\tregister(\"@next-core/react-element\", \"1.0.31\", () => (Promise.all([__webpack_require__.e(8769), __webpack_require__.e(4799), __webpack_require__.e(9435), __webpack_require__.e(114)]).then(() => (() => (__webpack_require__(114))))));\n\t\t\tregister(\"@next-core/react-runtime\", \"1.6.39\", () => (Promise.all([__webpack_require__.e(8769), __webpack_require__.e(8610), __webpack_require__.e(1030), __webpack_require__.e(3204), __webpack_require__.e(4837)]).then(() => (() => (__webpack_require__(4837))))));\n\t\t\tregister(\"@next-core/runtime\", \"1.54.16\", () => (Promise.all([__webpack_require__.e(7507), __webpack_require__.e(718), __webpack_require__.e(1030), __webpack_require__.e(4218), __webpack_require__.e(155), __webpack_require__.e(8255), __webpack_require__.e(4130), __webpack_require__.e(3136), __webpack_require__.e(4708)]).then(() => (() => (__webpack_require__(718))))));\n\t\t\tregister(\"@next-core/supply\", \"2.1.21\", () => (Promise.all([__webpack_require__.e(1030), __webpack_require__.e(155), __webpack_require__.e(7106), __webpack_require__.e(9559)]).then(() => (() => (__webpack_require__(9559))))));\n\t\t\tregister(\"@next-core/theme\", \"1.5.4\", () => (Promise.all([__webpack_require__.e(1889), __webpack_require__.e(2052)]).then(() => (() => (__webpack_require__(1889))))));\n\t\t\tregister(\"@next-core/utils/general\", \"1.7.23\", () => (__webpack_require__.e(871).then(() => (() => (__webpack_require__(871))))));\n\t\t\tregister(\"@next-core/utils/storyboard\", \"1.7.23\", () => (Promise.all([__webpack_require__.e(4218), __webpack_require__.e(3136), __webpack_require__.e(3933)]).then(() => (() => (__webpack_require__(3933))))));\n\t\t\tregister(\"history\", \"4.10.1\", () => (__webpack_require__.e(5384).then(() => (() => (__webpack_require__(5384))))));\n\t\t\tregister(\"i18next-browser-languagedetector\", \"7.2.1\", () => (__webpack_require__.e(726).then(() => (() => (__webpack_require__(726))))));\n\t\t\tregister(\"i18next\", \"22.5.1\", () => (__webpack_require__.e(7304).then(() => (() => (__webpack_require__(7304))))));\n\t\t\tregister(\"js-yaml\", \"3.14.1\", () => (__webpack_require__.e(9515).then(() => (() => (__webpack_require__(9515))))));\n\t\t\tregister(\"lodash\", \"4.17.21\", () => (__webpack_require__.e(5250).then(() => (() => (__webpack_require__(5250))))));\n\t\t\tregister(\"moment/locale/zh-cn.js\", \"2.30.1\", () => (Promise.all([__webpack_require__.e(7721), __webpack_require__.e(9844)]).then(() => (() => (__webpack_require__(1329))))));\n\t\t\tregister(\"moment\", \"2.30.1\", () => (Promise.all([__webpack_require__.e(7721), __webpack_require__.e(9844)]).then(() => (() => (__webpack_require__(9420))))));\n\t\t\tregister(\"react-dom\", \"0.0.0-experimental-ee8509801-20230117\", () => (Promise.all([__webpack_require__.e(3144), __webpack_require__.e(8769)]).then(() => (() => (__webpack_require__(3144))))));\n\t\t\tregister(\"react-i18next\", \"12.3.1\", () => (Promise.all([__webpack_require__.e(7434), __webpack_require__.e(8769)]).then(() => (() => (__webpack_require__(7434))))));\n\t\t\tregister(\"react\", \"0.0.0-experimental-ee8509801-20230117\", () => (__webpack_require__.e(4041).then(() => (() => (__webpack_require__(4041))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl + \"../\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t8792: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(1(20[14]|030|55|732)|4(130|218|708|799)|8(255|610|769|799)|9(435|654|755)|3136|3204|5502|564|6477|7106)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunk_next_bricks_visual_builder\"] = globalThis[\"webpackChunk_next_bricks_visual_builder\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(7934);\n"],"names":["leafPrototypes","getProto","inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","exists","get","eagerOnly","findSatisfyingVersion","findSingletonVersionKey","getInvalidSingletonVersionMessage","getInvalidVersionMessage","fail","warn","init","useFallback","loadStrictVersion","loadSingleton","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","d","a","Object","getPrototypeOf","obj","t","value","mode","this","then","ns","create","r","def","current","indexOf","getOwnPropertyNames","forEach","key","definition","o","defineProperty","enumerable","f","e","chunkId","Promise","all","keys","reduce","promises","u","g","globalThis","Function","window","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","fn","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","nmd","paths","children","S","initPromises","initTokens","I","name","initScope","initToken","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","Error","replace","p","str","split","map","exec","apply","b","range","pop","entry","filtered","requiredVersion","scopeName","join","msg","console","fallback","failAsNotExist","promise","satisfyingVersion","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","resolve","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see page-arch-node.631dcdb9.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[4892,2052],{5014:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PageArchNode:()=>we,PageArchNodeComponent:()=>Ze});var o,i=n(4635),r=n(918),a=n(6902),l=n(5536),s=n(6121),c=n(829),u=n(2740),d=n(8769),h=n.n(d),p=n(4799),b=n(8610),f=(n(6477),n(3373)),g=n.n(f),v=n(2381);let m,A,y,x,k,w,C,E,N,M,S,W,D,j,P,O,z,T,_,F,B,L,R,X,Y,I,K,q,G,H,J,Q,U,V,Z,$,ee,te,ne,oe,ie,re,ae,le,se,ce,ue,de,he,pe,be,fe,ge;const{defineElement:ve,property:me,event:Ae}=(0,p.createDecorators)(),ye=(0,b.wrapBrick)("eo-icon"),xe=(0,b.wrapBrick)("eo-tooltip"),ke=new Set;let we;var Ce=new WeakMap,Ee=new WeakMap,Ne=new WeakMap,Me=new WeakMap,Se=new WeakMap,We=new WeakMap,De=new WeakMap,je=new WeakMap,Pe=new WeakMap,Oe=new WeakSet,ze=new WeakMap,Te=new WeakMap,_e=new WeakMap,Fe=new WeakMap,Be=new WeakMap,Le=new WeakMap,Re=new WeakMap,Xe=new WeakMap,Ye=new WeakMap,Ie=new WeakMap,Ke=new WeakMap,qe=new WeakMap,Ge=new WeakMap,He=new WeakMap,Je=new WeakMap,Qe=new WeakMap,Ue=new WeakMap;class Ve extends b.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,Oe),(0,r.A)(this,Ce,A(this)),(0,r.A)(this,Ee,(y(this),x(this))),(0,r.A)(this,Ne,(k(this),w(this))),(0,r.A)(this,Me,(C(this),E(this))),(0,r.A)(this,Se,(N(this),M(this))),(0,r.A)(this,We,(S(this),W(this))),(0,r.A)(this,De,(D(this),j(this))),(0,r.A)(this,je,(P(this),O(this))),(0,r.A)(this,Pe,(z(this),T(this))),(0,r.A)(this,ze,(B(this),e=>{(0,l.A)(Oe,this,_).emit(e)})),(0,r.A)(this,Te,L(this)),(0,r.A)(this,_e,(Y(this),e=>{(0,l.A)(Oe,this,R).emit(e)})),(0,r.A)(this,Fe,I(this)),(0,r.A)(this,Be,(G(this),()=>{(0,l.A)(Oe,this,K).emit()})),(0,r.A)(this,Le,H(this)),(0,r.A)(this,Re,(U(this),()=>{(0,l.A)(Oe,this,J).emit()})),(0,r.A)(this,Xe,V(this)),(0,r.A)(this,Ye,(ee(this),e=>{(0,l.A)(Oe,this,Z).emit(e)})),(0,r.A)(this,Ie,te(this)),(0,r.A)(this,Ke,(ie(this),()=>{(0,l.A)(Oe,this,ne).emit()})),(0,r.A)(this,qe,re(this)),(0,r.A)(this,Ge,(se(this),e=>{(0,l.A)(Oe,this,ae).emit(e)})),(0,r.A)(this,He,ce(this)),(0,r.A)(this,Je,(he(this),e=>{(0,l.A)(Oe,this,ue).emit(e)})),(0,r.A)(this,Qe,pe(this)),(0,r.A)(this,Ue,(ge(this),e=>{(0,l.A)(Oe,this,be).emit(e)}))}get label(){return(0,c.A)(Ce,this)}set label(e){(0,s.A)(Ce,this,e)}get type(){return(0,c.A)(Ee,this)}set type(e){(0,s.A)(Ee,this,e)}get external(){return(0,c.A)(Ne,this)}set external(e){(0,s.A)(Ne,this,e)}get subNodes(){return(0,c.A)(Me,this)}set subNodes(e){(0,s.A)(Me,this,e)}get active(){return(0,c.A)(Se,this)}set active(e){(0,s.A)(Se,this,e)}get notSynced(){return(0,c.A)(We,this)}set notSynced(e){(0,s.A)(We,this,e)}get disableChildAppend(){return(0,c.A)(De,this)}set disableChildAppend(e){(0,s.A)(De,this,e)}get autoFocusOnce(){return(0,c.A)(je,this)}set autoFocusOnce(e){(0,s.A)(je,this,e)}render(){return h().createElement(Ze,{label:this.label,type:this.type,external:this.external,subNodes:this.subNodes,autoFocusOnce:this.autoFocusOnce,onLabelEditingChange:(0,c.A)(ze,this),onLabelChange:(0,c.A)(_e,this),onNodeClick:(0,c.A)(Be,this),onNodeDoubleClick:(0,c.A)(Re,this),onNodeContextMenu:(0,c.A)(Ye,this),onChildAppend:(0,c.A)(Ke,this),onExternalClick:(0,c.A)(Ge,this),onSubNodeDoubleClick:(0,c.A)(Je,this),onSubNodeContextMenu:(0,c.A)(Ue,this)})}}function Ze(e){let{label:t,type:n,external:o,subNodes:i,autoFocusOnce:r,onLabelEditingChange:a,onLabelChange:l,onNodeClick:s,onNodeDoubleClick:c,onNodeContextMenu:u,onChildAppend:p,onExternalClick:b,onSubNodeDoubleClick:f,onSubNodeContextMenu:v}=e;const m="board"===n?"board":"page",[A,y]=(0,d.useState)(t),[x,k]=(0,d.useState)(!1),w=(0,d.useRef)(!1),[C,E]=(0,d.useState)(!1),N=(0,d.useRef)(null);(0,d.useEffect)((()=>{y(t)}),[t]);const M=(0,d.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),k(!0)}),[]);(0,d.useEffect)((()=>{r&&!ke.has(r)&&(ke.add(r),setTimeout((()=>{k(!0)}),1))}),[r]),(0,d.useEffect)((()=>{var e,t;x&&(null===(e=N.current)||void 0===e||e.focus({preventScroll:!0}),null===(t=N.current)||void 0===t||t.select())}),[x]),(0,d.useEffect)((()=>{w.current?null==a||a(x):w.current=!0}),[x,a]);const S=(0,d.useCallback)((e=>{y(e.target.value)}),[]),W=(0,d.useCallback)((e=>{const t=e.key||e.keyCode||e.which;var n;"Enter"!==t&&13!==t||null===(n=N.current)||void 0===n||n.blur()}),[]),D=(0,d.useCallback)((()=>{k(!1),E(!0)}),[]);(0,d.useEffect)((()=>{C&&(null==l||l(A),E(!1))}),[A,l,C]);const j=(0,d.useCallback)((e=>{e.stopPropagation(),null==p||p()}),[p]),P=(0,d.useCallback)((e=>{e.stopPropagation(),null==b||b(o)}),[o,b]),O=(0,d.useCallback)((e=>{e.stopPropagation()}),[]),z=38*Math.max(0,Math.floor(((null==i?void 0:i.length)??0)-3));return h().createElement(h().Fragment,null,h().createElement("div",{className:g()("node",m,{"editing-label":x}),style:{height:"board"===m?70:130+z},onClick:s,onDoubleClick:c,onContextMenu:e=>{e.stopPropagation(),e.preventDefault(),null==u||u({clientX:e.clientX,clientY:e.clientY})}},h().createElement("input",{className:"label-input",value:A,ref:N,onChange:S,onKeyDown:W,onBlur:D,onDoubleClick:O,onContextMenu:O,onMouseDown:O}),h().createElement("div",{className:"label",onDoubleClick:M,onMouseDown:O},A),"board"===m?h().createElement("div",{className:"icon-container"},h().createElement(ye,{lib:"antd",icon:"unordered-list"})):h().createElement("div",{className:"thumbnail-container",style:{height:98+z}},h().createElement("div",{className:"thumbnail-placeholder"},h().createElement(ye,{lib:"antd",icon:"ellipsis"})),o&&h().createElement("div",{className:"external",onClick:P,onDoubleClick:O,onMouseDown:O},h().createElement(ye,{lib:"antd",icon:"desktop"}),h().createElement("span",{className:"external-label"},o.label)),null!=i&&i.length?h().createElement("div",{className:"sub-nodes"},i.map((e=>h().createElement($e,{key:e.id,subNode:e,onSubNodeDoubleClick:f,onSubNodeContextMenu:v})))):null)),h().createElement("div",{className:"add-button",role:"button",onClick:j,onMouseDown:O},h().createElement(ye,{lib:"fa",icon:"plus"})))}function $e(e){let{subNode:t,onSubNodeDoubleClick:n,onSubNodeContextMenu:o}=e;return h().createElement(xe,{key:t.id,content:t.label},h().createElement("div",{className:"sub-node",onDoubleClick:e=>{e.stopPropagation(),null==n||n(t)},onContextMenu:e=>{e.stopPropagation(),e.preventDefault(),null==o||o({node:t,clientX:e.clientX,clientY:e.clientY})}},h().createElement("div",{className:"sub-node-skeleton-title"}),h().createElement("div",{className:"sub-node-skeleton-content"}),h().createElement("div",{className:"sub-node-skeleton-button"})))}o=Ve,({e:[A,y,x,k,w,C,E,N,M,S,W,D,j,P,O,z,T,_,F,B,L,R,X,Y,I,K,q,G,H,J,Q,U,V,Z,$,ee,te,ne,oe,ie,re,ae,le,se,ce,ue,de,he,pe,be,fe,ge],c:[we,m]}=(0,u.A)(o,[ve("visual-builder.page-arch-node",{styleTexts:[v.A]})],[[me(),1,"label"],[me(),1,"type"],[me({attribute:!1}),1,"external"],[me({attribute:!1}),1,"subNodes"],[me({type:Boolean,render:!1}),1,"active"],[me({type:Boolean,render:!1}),1,"notSynced"],[me({type:Boolean,render:!1}),1,"disableChildAppend"],[me(),1,"autoFocusOnce"],[Ae({type:"label.editing.change"}),1,"labelEditingChange",e=>(0,c.A)(Pe,e),(e,t)=>(0,s.A)(Pe,e,t)],[Ae({type:"label.change"}),1,"labelChange",e=>(0,c.A)(Te,e),(e,t)=>(0,s.A)(Te,e,t)],[Ae({type:"node.click"}),1,"nodeClick",e=>(0,c.A)(Fe,e),(e,t)=>(0,s.A)(Fe,e,t)],[Ae({type:"node.dblclick"}),1,"nodeDoubleClick",e=>(0,c.A)(Le,e),(e,t)=>(0,s.A)(Le,e,t)],[Ae({type:"node.contextmenu"}),1,"nodeContextMenu",e=>(0,c.A)(Xe,e),(e,t)=>(0,s.A)(Xe,e,t)],[Ae({type:"child.append"}),1,"childAppend",e=>(0,c.A)(Ie,e),(e,t)=>(0,s.A)(Ie,e,t)],[Ae({type:"external.click"}),1,"externalClick",e=>(0,c.A)(qe,e),(e,t)=>(0,s.A)(qe,e,t)],[Ae({type:"subNode.dblclick"}),1,"subNodeDoubleClick",e=>(0,c.A)(He,e),(e,t)=>(0,s.A)(He,e,t)],[Ae({type:"subNode.contextmenu"}),1,"subNodeContextMenu",e=>(0,c.A)(Qe,e),(e,t)=>(0,s.A)(Qe,e,t)]],0,(e=>Ue.has((0,a.A)(e))),b.ReactNextElement)),m()},2381:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(6758),i=n.n(o),r=n(935),a=n.n(r)()(i());a.push([e.id,":host{--local-node-outline-style:solid;display:block}:host([hidden]){display:none}:host([not-synced]){--local-node-outline-style:dashed}*{box-sizing:border-box}.node{width:168px;max-width:none;height:130px;position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.node.board{height:70px;max-width:168px;width:-moz-fit-content;width:fit-content;padding-bottom:4px}.label,\n.label-input{width:100%;height:24px;padding:3px;border:none;line-height:18px;font-size:var(--sub-title-font-size-small);color:var(--color-header-text);font-weight:var(--font-weight-500);text-align:center;font-family:inherit;cursor:text;-webkit-user-select:text;user-select:text}.label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.node.editing-label .label{height:0}.node:not(.editing-label) .label-input{display:none}.add-button,\n.icon-container,\n.thumbnail-container,\n.thumbnail-placeholder{display:flex;align-items:center;justify-content:center}.thumbnail-container{height:98px;outline:1px var(--local-node-outline-style) var(--palette-gray-4);opacity:1;border:4px solid transparent;border-radius:4px;width:100%;position:relative;flex-direction:column}.thumbnail-placeholder{color:var(--palette-gray-5);font-size:36px;flex:1}.icon-container{font-size:20px;background-color:var(--palette-teal-6);color:var(--palette-gray-4);width:36px;height:36px;border-radius:50%;outline-offset:4px}:host([active]) .thumbnail-container,\n:host([active]) .icon-container{outline:2px var(--local-node-outline-style) var(--palette-blue-3)}:host(:not([active])) .node:hover .thumbnail-container,\n:host(:not([active])) .node:hover .icon-container{outline:1px var(--local-node-outline-style) var(--palette-blue-3)}.add-button{position:absolute;bottom:-26px;left:calc(50% - 12px);width:24px;height:24px;background:var(--palette-gray-3);color:var(--palette-gray-6);border-radius:50%;cursor:pointer}:host([not-synced]) .add-button,\n:host([disable-child-append]) .add-button,\n:host(:not([active])) .add-button{display:none}.add-button:hover{background:var(--palette-blue-5);color:var(--palette-gray-2)}.external{position:absolute;top:4px;left:4px;padding:0 10px;display:flex;align-items:center;gap:6px;background:var(--palette-purple-4);font-size:12px;line-height:20px;height:22px;cursor:pointer;color:var(--palette-gray-1);border-radius:9999px;right:4px;max-width:-moz-fit-content;max-width:fit-content}.external-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.external:hover{background:var(--palette-purple-5)}.sub-nodes{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;width:100%}.sub-node{background-color:var(--palette-gray-2);border-radius:4px;padding:6px;display:flex;flex-direction:column;justify-content:space-between;height:32px}.sub-node-skeleton-title{width:18px;height:4px;border-radius:2px;align-self:flex-start;background-color:var(--palette-gray-4)}.sub-node-skeleton-content{width:100%;height:4px;border-radius:2px;background-color:var(--palette-gray-4)}.sub-node-skeleton-button{width:18px;height:4px;border-radius:2px;align-self:flex-end;background-color:var(--palette-blue-3)}.sub-node:hover{background-color:var(--palette-gray-3)}.sub-node:hover .sub-node-skeleton-title,\n.sub-node:hover .sub-node-skeleton-content{background-color:var(--palette-gray-5)}.sub-node:hover .sub-node-skeleton-button{background-color:var(--palette-blue-4)}",""]);const l=a.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);o&&a[u[0]]||(void 0!==r&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,r(n)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)o.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(7545),i=n(6902);function r(e,t,n){"symbol"==(0,o.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function l(e,t,n,l,s,c){var u,d,h,p,b,f,g,v=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,A=Object.create,y=[A(null),A(null)],x=t.length;function k(t,n,o){return function(i,r){n&&(r=i,i=e);for(var a=0;a<t.length;a++)r=t[a].apply(i,o?[r]:[]);return o?r:i}}function w(e,t,n,o){if("function"!=typeof e&&(o||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(o?"":" or undefined"));return e}function C(e,t,n,i,a,l,s,c,h,p,b){function f(e){if(!b(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),v=t[3],A=!s,x=1===a,C=3===a,E=4===a,N=2===a;function M(t,n,o){return function(i,r){return n&&(r=i,i=e),o&&o(i),S[t].call(i,r)}}if(!A){var S={},W=[],D=C?"get":E||x?"set":"value";if(h?(p||x?S={get:r((function(){return v(this)}),i,"get"),set:function(e){t[4](this,e)}}:S[D]=v,p||r(S[D],i,N?"":D)):p||(S=Object.getOwnPropertyDescriptor(e,i)),!p&&!h){if((d=y[+c][i])&&7!=(d^a))throw Error("Decorating two elements with the same name ("+S[D].name+") is not supported yet");y[+c][i]=a<3?1:a}}for(var j=e,P=g.length-1;P>=0;P-=n?2:1){var O=w(g[P],"A decorator","be",!0),z=n?g[P-1]:void 0,T={},_={kind:["field","accessor","method","getter","setter","class"][a],name:i,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");w(t,"An initializer","be",!0),l.push(t)}.bind(null,T)};if(A)d=O.call(z,j,_),T.v=1,w(d,"class decorators","return")&&(j=d);else if(_.static=c,_.private=h,d=_.access={has:h?b.bind():function(e){return i in e}},E||(d.get=h?N?function(e){return f(e),S.value}:M("get",0,f):function(e){return e[i]}),N||C||(d.set=h?M("set",0,f):function(e,t){e[i]=t}),j=O.call(z,x?{get:S.get,set:S.set}:S[D],_),T.v=1,x){if("object"==(0,o.A)(j)&&j)(d=w(j.get,"accessor.get"))&&(S.get=d),(d=w(j.set,"accessor.set"))&&(S.set=d),(d=w(j.init,"accessor.init"))&&W.unshift(d);else if(void 0!==j)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else w(j,(p?"field":"method")+" decorators","return")&&(p?W.unshift(j):S[D]=j)}return a<2&&s.push(k(W,c,1),k(l,c,0)),p||A||(h?x?s.splice(-1,0,M("get",c),M("set",c)):s.push(N?S[D]:w.call.bind(S[D])):m(e,i,S)),j}function E(e){return m(e,v,{configurable:!0,enumerable:!0,value:u})}return void 0!==c&&(u=c[v]),u=A(null==u?null:u),b=[],f=function(e){e&&b.push(k(e))},g=function(t,o){for(var r=0;r<n.length;r++){var l=n[r],c=l[1],u=7&c;if((8&c)==t&&!u==o){var d=l[2],f=!!l[3],g=16&c;C(t?e:e.prototype,l,g,f?"#"+d:(0,a.A)(d),u,u<2?[]:t?p=p||[]:h=h||[],b,!!t,f,o,t&&f?function(t){return(0,i.A)(t)===e}:s)}}},g(8,0),g(0,0),g(8,1),g(0,1),f(h),f(p),d=b,x||E(e),{e:d,get c(){var n=[];return x&&[E(e=C(e,[t],l,e.name,5,n)),k(n,1)]}}}},2559:(e,t,n)=>{"use strict";function o(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>o})},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,o.A)(e):"null"));return e}},2016:(e,t,n)=>{"use strict";function o(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>o})},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(2559);function i(e,t){return e.get((0,o.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(2016);function i(e,t,n){(0,o.A)(e,t),t.set(e,n)}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(2559);function i(e,t,n){return e.set((0,o.A)(e,t),n),n}},5536:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(2559);function i(e,t,n){return n((0,o.A)(e,t))}},4635:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(2016);function i(e,t){(0,o.A)(e,t),t.add(e)}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(7545);function i(e){var t=function(e,t){if("object"!=(0,o.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=(0,o.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,o.A)(t)?t:t+""}},7545:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}n.d(t,{A:()=>o})}}]);
|
|
3
|
-
//# sourceMappingURL=page-arch-node.631dcdb9.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[6620],{3227:(e,t,n)=>{n.r(t),n.d(t,{parsePath:()=>c});var r=n(4218),i=n(1030),a=n(264);async function c(e,t){const n=[];return{regexp:(0,a.MM)(e,n,(0,i.defaults)(t,{end:!1,strict:!1,sensitive:!0})),keys:n}}customElements.define("visual-builder.parse-path",(0,r.createProviderClass)(c))},264:(e,t,n)=>{function r(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function a(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var a=n.strict,c=void 0!==a&&a,o=n.start,f=void 0===o||o,s=n.end,u=void 0===s||s,p=n.encode,d=void 0===p?function(e){return e}:p,l=n.delimiter,v=void 0===l?"/#?":l,h=n.endsWith,E="[".concat(r(void 0===h?"":h),"]|$"),x="[".concat(r(v),"]"),g=f?"^":"",m=0,y=e;m<y.length;m++){var w=y[m];if("string"==typeof w)g+=r(d(w));else{var A=r(d(w.prefix)),C=r(d(w.suffix));if(w.pattern)if(t&&t.push(w),A||C)if("+"===w.modifier||"*"===w.modifier){var R="*"===w.modifier?"?":"";g+="(?:".concat(A,"((?:").concat(w.pattern,")(?:").concat(C).concat(A,"(?:").concat(w.pattern,"))*)").concat(C,")").concat(R)}else g+="(?:".concat(A,"(").concat(w.pattern,")").concat(C,")").concat(w.modifier);else"+"===w.modifier||"*"===w.modifier?g+="((?:".concat(w.pattern,")").concat(w.modifier,")"):g+="(".concat(w.pattern,")").concat(w.modifier);else g+="(?:".concat(A).concat(C,")").concat(w.modifier)}}if(u)c||(g+="".concat(x,"?")),g+=n.endsWith?"(?=".concat(E,")"):"$";else{var T=e[e.length-1],b="string"==typeof T?x.indexOf(T[T.length-1])>-1:void 0===T;c||(g+="(?:".concat(x,"(?=").concat(E,"))?")),b||(g+="(?=".concat(x,"|").concat(E,")"))}return new RegExp(g,i(n))}(function(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var i=1,a="";if("?"===e[o=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;)if("\\"!==e[o]){if(")"===e[o]){if(0==--i){o++;break}}else if("("===e[o]&&(i++,"?"!==e[o+1]))throw new TypeError("Capturing groups are not allowed at ".concat(o));a+=e[o++]}else a+=e[o++]+e[o++];if(i)throw new TypeError("Unbalanced pattern at ".concat(n));if(!a)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:a}),n=o}else{for(var c="",o=n+1;o<e.length;){var f=e.charCodeAt(o);if(!(f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||95===f))break;c+=e[o++]}if(!c)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:c}),n=o}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),i=t.prefixes,a=void 0===i?"./":i,c="[^".concat(r(t.delimiter||"/#?"),"]+?"),o=[],f=0,s=0,u="",p=function(e){if(s<n.length&&n[s].type===e)return n[s++].value},d=function(e){var t=p(e);if(void 0!==t)return t;var r=n[s],i=r.type,a=r.index;throw new TypeError("Unexpected ".concat(i," at ").concat(a,", expected ").concat(e))},l=function(){for(var e,t="";e=p("CHAR")||p("ESCAPED_CHAR");)t+=e;return t};s<n.length;){var v=p("CHAR"),h=p("NAME"),E=p("PATTERN");if(h||E){var x=v||"";-1===a.indexOf(x)&&(u+=x,x=""),u&&(o.push(u),u=""),o.push({name:h||f++,prefix:x,suffix:"",pattern:E||c,modifier:p("MODIFIER")||""})}else{var g=v||p("ESCAPED_CHAR");if(g)u+=g;else if(u&&(o.push(u),u=""),p("OPEN")){x=l();var m=p("NAME")||"",y=p("PATTERN")||"",w=l();d("CLOSE"),o.push({name:m||(y?f++:""),pattern:m&&!y?c:y,prefix:x,suffix:w,modifier:p("MODIFIER")||""})}else d("END")}}return o}(e,n),t,n)}function c(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,i=n.exec(e.source);i;)t.push({name:i[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),i=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return c(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),i(n))}(e,t,n):a(e,t,n)}n.d(t,{MM:()=>c})}}]);
|
|
2
|
-
//# sourceMappingURL=parse-path.d6310065.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/parse-path.d6310065.js","mappings":"uNAUOA,eAAeC,EAAUC,EAAcC,GAC5C,MAEMC,EAAc,GAGpB,MAAO,CACLC,QAHaC,EAAAA,EAAAA,IAAaJ,EAAME,GAAM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AS0E,MAAQ,IACzF,OAAO,IAAI5B,OAAO,MAAMjB,OAAOkD,EAAME,KAAK,KAAM,KAAMnE,EAAMd,GAChE,CAiFekF,CAAcnF,EAAME,EAAMD,GAC9Be,EAAehB,EAAME,EAAMD,EACtC,C","sources":["webpack:///./src/data-providers/parse-path.ts","webpack:///../../node_modules/path-to-regexp/dist.es2015/index.js"],"sourcesContent":["import { createProviderClass } from \"@next-core/utils/general\";\nimport { defaults } from \"lodash\";\nimport { pathToRegexp, Key } from \"path-to-regexp\";\n\ninterface Option {\n end?: boolean;\n strict?: boolean;\n sensitive?: boolean;\n}\n\nexport async function parsePath(path: string, options?: Option) {\n const defaultParams = { end: false, strict: false, sensitive: true };\n\n const keys: Key[] = [];\n const regexp = pathToRegexp(path, keys, defaults(options, defaultParams));\n\n return {\n regexp,\n keys,\n };\n}\n\ncustomElements.define(\n \"visual-builder.parse-path\",\n createProviderClass(parsePath)\n);\n","/**\n * Tokenize input string.\n */\nfunction lexer(str) {\n var tokens = [];\n var i = 0;\n while (i < str.length) {\n var char = str[i];\n if (char === \"*\" || char === \"+\" || char === \"?\") {\n tokens.push({ type: \"MODIFIER\", index: i, value: str[i++] });\n continue;\n }\n if (char === \"\\\\\") {\n tokens.push({ type: \"ESCAPED_CHAR\", index: i++, value: str[i++] });\n continue;\n }\n if (char === \"{\") {\n tokens.push({ type: \"OPEN\", index: i, value: str[i++] });\n continue;\n }\n if (char === \"}\") {\n tokens.push({ type: \"CLOSE\", index: i, value: str[i++] });\n continue;\n }\n if (char === \":\") {\n var name = \"\";\n var j = i + 1;\n while (j < str.length) {\n var code = str.charCodeAt(j);\n if (\n // `0-9`\n (code >= 48 && code <= 57) ||\n // `A-Z`\n (code >= 65 && code <= 90) ||\n // `a-z`\n (code >= 97 && code <= 122) ||\n // `_`\n code === 95) {\n name += str[j++];\n continue;\n }\n break;\n }\n if (!name)\n throw new TypeError(\"Missing parameter name at \".concat(i));\n tokens.push({ type: \"NAME\", index: i, value: name });\n i = j;\n continue;\n }\n if (char === \"(\") {\n var count = 1;\n var pattern = \"\";\n var j = i + 1;\n if (str[j] === \"?\") {\n throw new TypeError(\"Pattern cannot start with \\\"?\\\" at \".concat(j));\n }\n while (j < str.length) {\n if (str[j] === \"\\\\\") {\n pattern += str[j++] + str[j++];\n continue;\n }\n if (str[j] === \")\") {\n count--;\n if (count === 0) {\n j++;\n break;\n }\n }\n else if (str[j] === \"(\") {\n count++;\n if (str[j + 1] !== \"?\") {\n throw new TypeError(\"Capturing groups are not allowed at \".concat(j));\n }\n }\n pattern += str[j++];\n }\n if (count)\n throw new TypeError(\"Unbalanced pattern at \".concat(i));\n if (!pattern)\n throw new TypeError(\"Missing pattern at \".concat(i));\n tokens.push({ type: \"PATTERN\", index: i, value: pattern });\n i = j;\n continue;\n }\n tokens.push({ type: \"CHAR\", index: i, value: str[i++] });\n }\n tokens.push({ type: \"END\", index: i, value: \"\" });\n return tokens;\n}\n/**\n * Parse a string for the raw tokens.\n */\nexport function parse(str, options) {\n if (options === void 0) { options = {}; }\n var tokens = lexer(str);\n var _a = options.prefixes, prefixes = _a === void 0 ? \"./\" : _a;\n var defaultPattern = \"[^\".concat(escapeString(options.delimiter || \"/#?\"), \"]+?\");\n var result = [];\n var key = 0;\n var i = 0;\n var path = \"\";\n var tryConsume = function (type) {\n if (i < tokens.length && tokens[i].type === type)\n return tokens[i++].value;\n };\n var mustConsume = function (type) {\n var value = tryConsume(type);\n if (value !== undefined)\n return value;\n var _a = tokens[i], nextType = _a.type, index = _a.index;\n throw new TypeError(\"Unexpected \".concat(nextType, \" at \").concat(index, \", expected \").concat(type));\n };\n var consumeText = function () {\n var result = \"\";\n var value;\n while ((value = tryConsume(\"CHAR\") || tryConsume(\"ESCAPED_CHAR\"))) {\n result += value;\n }\n return result;\n };\n while (i < tokens.length) {\n var char = tryConsume(\"CHAR\");\n var name = tryConsume(\"NAME\");\n var pattern = tryConsume(\"PATTERN\");\n if (name || pattern) {\n var prefix = char || \"\";\n if (prefixes.indexOf(prefix) === -1) {\n path += prefix;\n prefix = \"\";\n }\n if (path) {\n result.push(path);\n path = \"\";\n }\n result.push({\n name: name || key++,\n prefix: prefix,\n suffix: \"\",\n pattern: pattern || defaultPattern,\n modifier: tryConsume(\"MODIFIER\") || \"\",\n });\n continue;\n }\n var value = char || tryConsume(\"ESCAPED_CHAR\");\n if (value) {\n path += value;\n continue;\n }\n if (path) {\n result.push(path);\n path = \"\";\n }\n var open = tryConsume(\"OPEN\");\n if (open) {\n var prefix = consumeText();\n var name_1 = tryConsume(\"NAME\") || \"\";\n var pattern_1 = tryConsume(\"PATTERN\") || \"\";\n var suffix = consumeText();\n mustConsume(\"CLOSE\");\n result.push({\n name: name_1 || (pattern_1 ? key++ : \"\"),\n pattern: name_1 && !pattern_1 ? defaultPattern : pattern_1,\n prefix: prefix,\n suffix: suffix,\n modifier: tryConsume(\"MODIFIER\") || \"\",\n });\n continue;\n }\n mustConsume(\"END\");\n }\n return result;\n}\n/**\n * Compile a string to a template function for the path.\n */\nexport function compile(str, options) {\n return tokensToFunction(parse(str, options), options);\n}\n/**\n * Expose a method for transforming tokens into the path function.\n */\nexport function tokensToFunction(tokens, options) {\n if (options === void 0) { options = {}; }\n var reFlags = flags(options);\n var _a = options.encode, encode = _a === void 0 ? function (x) { return x; } : _a, _b = options.validate, validate = _b === void 0 ? true : _b;\n // Compile all the tokens into regexps.\n var matches = tokens.map(function (token) {\n if (typeof token === \"object\") {\n return new RegExp(\"^(?:\".concat(token.pattern, \")$\"), reFlags);\n }\n });\n return function (data) {\n var path = \"\";\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n if (typeof token === \"string\") {\n path += token;\n continue;\n }\n var value = data ? data[token.name] : undefined;\n var optional = token.modifier === \"?\" || token.modifier === \"*\";\n var repeat = token.modifier === \"*\" || token.modifier === \"+\";\n if (Array.isArray(value)) {\n if (!repeat) {\n throw new TypeError(\"Expected \\\"\".concat(token.name, \"\\\" to not repeat, but got an array\"));\n }\n if (value.length === 0) {\n if (optional)\n continue;\n throw new TypeError(\"Expected \\\"\".concat(token.name, \"\\\" to not be empty\"));\n }\n for (var j = 0; j < value.length; j++) {\n var segment = encode(value[j], token);\n if (validate && !matches[i].test(segment)) {\n throw new TypeError(\"Expected all \\\"\".concat(token.name, \"\\\" to match \\\"\").concat(token.pattern, \"\\\", but got \\\"\").concat(segment, \"\\\"\"));\n }\n path += token.prefix + segment + token.suffix;\n }\n continue;\n }\n if (typeof value === \"string\" || typeof value === \"number\") {\n var segment = encode(String(value), token);\n if (validate && !matches[i].test(segment)) {\n throw new TypeError(\"Expected \\\"\".concat(token.name, \"\\\" to match \\\"\").concat(token.pattern, \"\\\", but got \\\"\").concat(segment, \"\\\"\"));\n }\n path += token.prefix + segment + token.suffix;\n continue;\n }\n if (optional)\n continue;\n var typeOfMessage = repeat ? \"an array\" : \"a string\";\n throw new TypeError(\"Expected \\\"\".concat(token.name, \"\\\" to be \").concat(typeOfMessage));\n }\n return path;\n };\n}\n/**\n * Create path match function from `path-to-regexp` spec.\n */\nexport function match(str, options) {\n var keys = [];\n var re = pathToRegexp(str, keys, options);\n return regexpToFunction(re, keys, options);\n}\n/**\n * Create a path match function from `path-to-regexp` output.\n */\nexport function regexpToFunction(re, keys, options) {\n if (options === void 0) { options = {}; }\n var _a = options.decode, decode = _a === void 0 ? function (x) { return x; } : _a;\n return function (pathname) {\n var m = re.exec(pathname);\n if (!m)\n return false;\n var path = m[0], index = m.index;\n var params = Object.create(null);\n var _loop_1 = function (i) {\n if (m[i] === undefined)\n return \"continue\";\n var key = keys[i - 1];\n if (key.modifier === \"*\" || key.modifier === \"+\") {\n params[key.name] = m[i].split(key.prefix + key.suffix).map(function (value) {\n return decode(value, key);\n });\n }\n else {\n params[key.name] = decode(m[i], key);\n }\n };\n for (var i = 1; i < m.length; i++) {\n _loop_1(i);\n }\n return { path: path, index: index, params: params };\n };\n}\n/**\n * Escape a regular expression string.\n */\nfunction escapeString(str) {\n return str.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, \"\\\\$1\");\n}\n/**\n * Get the flags for a regexp from the options.\n */\nfunction flags(options) {\n return options && options.sensitive ? \"\" : \"i\";\n}\n/**\n * Pull out keys from a regexp.\n */\nfunction regexpToRegexp(path, keys) {\n if (!keys)\n return path;\n var groupsRegex = /\\((?:\\?<(.*?)>)?(?!\\?)/g;\n var index = 0;\n var execResult = groupsRegex.exec(path.source);\n while (execResult) {\n keys.push({\n // Use parenthesized substring match if available, index otherwise\n name: execResult[1] || index++,\n prefix: \"\",\n suffix: \"\",\n modifier: \"\",\n pattern: \"\",\n });\n execResult = groupsRegex.exec(path.source);\n }\n return path;\n}\n/**\n * Transform an array into a regexp.\n */\nfunction arrayToRegexp(paths, keys, options) {\n var parts = paths.map(function (path) { return pathToRegexp(path, keys, options).source; });\n return new RegExp(\"(?:\".concat(parts.join(\"|\"), \")\"), flags(options));\n}\n/**\n * Create a path regexp from string input.\n */\nfunction stringToRegexp(path, keys, options) {\n return tokensToRegexp(parse(path, options), keys, options);\n}\n/**\n * Expose a function for taking tokens and returning a RegExp.\n */\nexport function tokensToRegexp(tokens, keys, options) {\n if (options === void 0) { options = {}; }\n var _a = options.strict, strict = _a === void 0 ? false : _a, _b = options.start, start = _b === void 0 ? true : _b, _c = options.end, end = _c === void 0 ? true : _c, _d = options.encode, encode = _d === void 0 ? function (x) { return x; } : _d, _e = options.delimiter, delimiter = _e === void 0 ? \"/#?\" : _e, _f = options.endsWith, endsWith = _f === void 0 ? \"\" : _f;\n var endsWithRe = \"[\".concat(escapeString(endsWith), \"]|$\");\n var delimiterRe = \"[\".concat(escapeString(delimiter), \"]\");\n var route = start ? \"^\" : \"\";\n // Iterate over the tokens and create our regexp string.\n for (var _i = 0, tokens_1 = tokens; _i < tokens_1.length; _i++) {\n var token = tokens_1[_i];\n if (typeof token === \"string\") {\n route += escapeString(encode(token));\n }\n else {\n var prefix = escapeString(encode(token.prefix));\n var suffix = escapeString(encode(token.suffix));\n if (token.pattern) {\n if (keys)\n keys.push(token);\n if (prefix || suffix) {\n if (token.modifier === \"+\" || token.modifier === \"*\") {\n var mod = token.modifier === \"*\" ? \"?\" : \"\";\n route += \"(?:\".concat(prefix, \"((?:\").concat(token.pattern, \")(?:\").concat(suffix).concat(prefix, \"(?:\").concat(token.pattern, \"))*)\").concat(suffix, \")\").concat(mod);\n }\n else {\n route += \"(?:\".concat(prefix, \"(\").concat(token.pattern, \")\").concat(suffix, \")\").concat(token.modifier);\n }\n }\n else {\n if (token.modifier === \"+\" || token.modifier === \"*\") {\n route += \"((?:\".concat(token.pattern, \")\").concat(token.modifier, \")\");\n }\n else {\n route += \"(\".concat(token.pattern, \")\").concat(token.modifier);\n }\n }\n }\n else {\n route += \"(?:\".concat(prefix).concat(suffix, \")\").concat(token.modifier);\n }\n }\n }\n if (end) {\n if (!strict)\n route += \"\".concat(delimiterRe, \"?\");\n route += !options.endsWith ? \"$\" : \"(?=\".concat(endsWithRe, \")\");\n }\n else {\n var endToken = tokens[tokens.length - 1];\n var isEndDelimited = typeof endToken === \"string\"\n ? delimiterRe.indexOf(endToken[endToken.length - 1]) > -1\n : endToken === undefined;\n if (!strict) {\n route += \"(?:\".concat(delimiterRe, \"(?=\").concat(endsWithRe, \"))?\");\n }\n if (!isEndDelimited) {\n route += \"(?=\".concat(delimiterRe, \"|\").concat(endsWithRe, \")\");\n }\n }\n return new RegExp(route, flags(options));\n}\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n */\nexport function pathToRegexp(path, keys, options) {\n if (path instanceof RegExp)\n return regexpToRegexp(path, keys);\n if (Array.isArray(path))\n return arrayToRegexp(path, keys, options);\n return stringToRegexp(path, keys, options);\n}\n//# sourceMappingURL=index.js.map"],"names":["async","parsePath","path","options","keys","regexp","pathToRegexp","defaults","end","strict","sensitive","customElements","define","createProviderClass","escapeString","str","replace","flags","stringToRegexp","tokens","_a","_b","start","_c","_d","encode","x","_e","delimiter","_f","endsWith","endsWithRe","concat","delimiterRe","route","_i","tokens_1","length","token","prefix","suffix","pattern","push","modifier","mod","endToken","isEndDelimited","indexOf","undefined","RegExp","tokensToRegexp","i","char","type","index","value","count","j","TypeError","name","code","charCodeAt","lexer","prefixes","defaultPattern","result","key","tryConsume","mustConsume","nextType","consumeText","name_1","pattern_1","parse","groupsRegex","execResult","exec","source","regexpToRegexp","Array","isArray","paths","parts","map","join","arrayToRegexp"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see pre-generated-preview.03dd751b.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[105,2052],{9191:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreGeneratedPreview:()=>N,PreGeneratedPreviewComponent:()=>V});var n,o=r(918),i=r(6121),a=r(829),s=r(2740),c=r(8769),l=r.n(c),u=r(4799),d=r(8610),p=(r(6477),r(3373)),f=r.n(p),h=r(3204),v=r(1732),b=r(4218),m=r(4014),g=r(8918);let y,w,k,A,x,S,_,E,P,j,C;const{defineElement:T,property:M}=(0,u.createDecorators)();let N;var O=new WeakMap,z=new WeakMap,B=new WeakMap,D=new WeakMap,I=new WeakMap;class W extends d.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,O,w(this)),(0,o.A)(this,z,(k(this),A(this))),(0,o.A)(this,B,(x(this),S(this))),(0,o.A)(this,D,(_(this),E(this))),(0,o.A)(this,I,(P(this),j(this))),C(this)}get generations(){return(0,a.A)(O,this)}set generations(e){(0,i.A)(O,this,e)}get category(){return(0,a.A)(z,this)}set category(e){(0,i.A)(z,this,e)}get theme(){return(0,a.A)(B,this)}set theme(e){(0,i.A)(B,this,e)}get uiVersion(){return(0,a.A)(D,this)}set uiVersion(e){(0,i.A)(D,this,e)}get app(){return(0,a.A)(I,this)}set app(e){(0,i.A)(I,this,e)}render(){return l().createElement(V,{generations:this.generations,category:this.category,theme:this.theme,uiVersion:this.uiVersion,app:this.app})}}function V(e){let{generations:t,category:r,theme:n,uiVersion:o,app:i}=e;const a=(0,c.useRef)(),[s,u]=(0,c.useState)(!1),[d,p]=(0,c.useState)(!1),m=(0,c.useCallback)((()=>{const e=()=>{var t;const r=null===(t=a.current)||void 0===t?void 0:t.contentWindow;null!=r&&r._preview_only_render?u(!0):setTimeout(e,100)};e()}),[]);return(0,c.useEffect)((()=>{if(!s)return;const e=h.__secret_internals.getBrickPackagesById("bricks/visual-builder");if(!e)throw new Error("Cannot find preview agent package: bricks/visual-builder");const t=a.current.contentWindow._preview_only_inject,r={...e,filePath:`${location.origin}${(0,h.getBasePath)()}${window.PUBLIC_ROOT??""}${e.filePath}`};Promise.allSettled(["visual-builder.pre-generated-table-view","visual-builder.pre-generated-container"].map((e=>t(e,r,void 0,!0)))).then((()=>{p(!0)}))}),[s]),(0,c.useEffect)((()=>{var e;if(!d)return;const s=null===(e=a.current)||void 0===e||null===(e=e.contentWindow)||void 0===e?void 0:e._preview_only_render;if(!s)return;const c=new Map,l=new Map;for(const e of t){let t=c.get(e.propertyId);t||c.set(e.propertyId,t=new Map);let r=t.get(e.rwType);r||t.set(e.rwType,r=new Map),r.set(e.displayLevel??0,e),l.set(e.propertyId,e.mockData)}const u=[{brick:"div",properties:{textContent:"属性",className:"head-cell"}},{brick:"div",properties:{textContent:"类别",className:"head-cell"}},{brick:"div",properties:{textContent:"展示等级",className:"head-cell last-col-cell",style:{gridColumn:"span 5",textAlign:"center"}}}],p={brick:"visual-builder.pre-generated-table-view",properties:{style:{gridTemplateColumns:"120px 80px repeat(5, 1fr)"}},children:u};let h=0;for(const[e,t]of c){let n=0;const o=h===c.size-1;for(const[i,a]of t){if(0===n){let r;for(const t of a.values()){r=t.propertyName??e;break}u.push({brick:"div",properties:{textContent:r,className:f()("body-cell",{"last-row-cell":o}),style:{gridRow:`span ${t.size}`}}})}const s=o&&n===t.size-1;u.push({brick:"div",properties:{textContent:i,className:f()("body-cell",{"last-row-cell":s})}});for(let t=-2;t<3;t++){var m;const n=a.get(t),o=(null==n?void 0:n.category)??r;let i;if(null!=n&&null!==(m=n.mockData)&&void 0!==m&&m.length){const t=n.mockData[Math.floor(Math.random()*n.mockData.length)];switch(o){case"detail-item":case"form-item":case"card-item":i={[e]:t};break;case"table-column":i={cellData:t}}}const c=[].concat((null==n?void 0:n.storyboard)??[]).filter((e=>!!(0,b.isObject)(e)||(console.error("Unexpected type of storyboard:",typeof e),!1)));let l;switch(c.forEach(R),o){case"form-item":l={brick:"eo-form",properties:{layout:"inline",values:i,className:"form-container"},children:c.map((e=>({...e,errorBoundary:!0})))};break;case"card-item":l={brick:":forEach",dataSource:[i],children:c.map((e=>({...e,errorBoundary:!0})))};break;default:l={brick:"visual-builder.pre-generated-container",properties:{useBrick:c,dataSource:i},errorBoundary:!0}}u.push({brick:"div",properties:{className:f()("body-cell",{"last-col-cell":2===t,"last-row-cell":s})},children:[{...l,errorBoundary:!0}]})}n++}h++}s("yaml",{yaml:(0,v.safeDump)(p,{schema:v.JSON_SCHEMA,skipInvalid:!0,noRefs:!0,noCompatMode:!0})},{app:i,theme:n,uiVersion:o,styleText:g.A})}),[i,d,t,n,o,r]),l().createElement("div",{className:f()("container")},l().createElement("iframe",{ref:a,src:`${(0,h.getBasePath)()}_brick-preview-v3_/preview/`,loading:"lazy",onLoad:m}))}function R(e){var t;null!==(t=e.properties)&&void 0!==t&&t.prefix&&(console.error("Unexpected readonly property of 'prefix' in:",e),delete e.properties.prefix)}n=W,({e:[w,k,A,x,S,_,E,P,j,C],c:[N,y]}=(0,s.A)(n,[T("visual-builder.pre-generated-preview",{styleTexts:[m.A]})],[[M({attribute:!1}),1,"generations"],[M(),1,"category"],[M(),1,"theme"],[M(),1,"uiVersion"],[M(),1,"app"]],0,void 0,d.ReactNextElement)),y()},8918:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(6758),o=r.n(n),i=r(935),a=r.n(i)()(o());a.push([e.id,"body{background-color:transparent}#preview-root{padding:0;height:auto;max-height:100vh;overflow-y:auto;border:1px solid var(--theme-gray-border-color);border-radius:4px;background:var(--body-background)}.head-cell{position:sticky;top:0;z-index:1;font-weight:bold}.head-cell,\n.body-cell{background:var(--body-background)}.last-col-cell{border-right-color:transparent}.last-row-cell{border-bottom-color:transparent}.form-container > ::part(message){display:none}",""]);const s=a.toString()},4014:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(6758),o=r.n(n),i=r(935),a=r.n(i)()(o());a.push([e.id,":host{display:block}:host([hidden]){display:none}*{box-sizing:border-box}.container,\niframe{width:100%;height:100%;border-radius:4px}.container{position:relative}iframe{display:block;border:none;margin:0;padding:0;transform-origin:0% 0%;-webkit-user-select:none;user-select:none}",""]);const s=a.toString()},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},3373:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},2740:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7545),o=r(6902);function i(e,t,r){"symbol"==(0,n.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:r?r+" "+t:t})}catch(e){}return e}var a=r(1369);function s(e,t,r,s,c,l){var u,d,p,f,h,v,b,m=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,y=Object.create,w=[y(null),y(null)],k=t.length;function A(t,r,n){return function(o,i){r&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,n?[i]:[]);return n?i:o}}function x(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function S(e,t,r,o,a,s,c,l,p,f,h){function v(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var b=[].concat(t[0]),m=t[3],y=!c,k=1===a,S=3===a,_=4===a,E=2===a;function P(t,r,n){return function(o,i){return r&&(i=o,o=e),n&&n(o),j[t].call(o,i)}}if(!y){var j={},C=[],T=S?"get":_||k?"set":"value";if(p?(f||k?j={get:i((function(){return m(this)}),o,"get"),set:function(e){t[4](this,e)}}:j[T]=m,f||i(j[T],o,E?"":T)):f||(j=Object.getOwnPropertyDescriptor(e,o)),!f&&!p){if((d=w[+l][o])&&7!=(d^a))throw Error("Decorating two elements with the same name ("+j[T].name+") is not supported yet");w[+l][o]=a<3?1:a}}for(var M=e,N=b.length-1;N>=0;N-=r?2:1){var O=x(b[N],"A decorator","be",!0),z=r?b[N-1]:void 0,B={},D={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");x(t,"An initializer","be",!0),s.push(t)}.bind(null,B)};if(y)d=O.call(z,M,D),B.v=1,x(d,"class decorators","return")&&(M=d);else if(D.static=l,D.private=p,d=D.access={has:p?h.bind():function(e){return o in e}},_||(d.get=p?E?function(e){return v(e),j.value}:P("get",0,v):function(e){return e[o]}),E||S||(d.set=p?P("set",0,v):function(e,t){e[o]=t}),M=O.call(z,k?{get:j.get,set:j.set}:j[T],D),B.v=1,k){if("object"==(0,n.A)(M)&&M)(d=x(M.get,"accessor.get"))&&(j.get=d),(d=x(M.set,"accessor.set"))&&(j.set=d),(d=x(M.init,"accessor.init"))&&C.unshift(d);else if(void 0!==M)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else x(M,(f?"field":"method")+" decorators","return")&&(f?C.unshift(M):j[T]=M)}return a<2&&c.push(A(C,l,1),A(s,l,0)),f||y||(p?k?c.splice(-1,0,P("get",l),P("set",l)):c.push(E?j[T]:x.call.bind(j[T])):g(e,o,j)),M}function _(e){return g(e,m,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[m]),u=y(null==u?null:u),h=[],v=function(e){e&&h.push(A(e))},b=function(t,n){for(var i=0;i<r.length;i++){var s=r[i],l=s[1],u=7&l;if((8&l)==t&&!u==n){var d=s[2],v=!!s[3],b=16&l;S(t?e:e.prototype,s,b,v?"#"+d:(0,a.A)(d),u,u<2?[]:t?f=f||[]:p=p||[],h,!!t,v,n,t&&v?function(t){return(0,o.A)(t)===e}:c)}}},b(8,0),b(0,0),b(8,1),b(0,1),v(p),v(f),d=h,k||_(e),{e:d,get c(){var r=[];return k&&[_(e=S(e,[t],s,e.name,5,r)),A(r,1)]}}}},2559:(e,t,r)=>{"use strict";function n(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r.d(t,{A:()=>n})},6902:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,n.A)(e):"null"));return e}},2016:(e,t,r)=>{"use strict";function n(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{A:()=>n})},829:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2559);function o(e,t){return e.get((0,n.A)(e,t))}},918:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2016);function o(e,t,r){(0,n.A)(e,t),t.set(e,r)}},6121:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2559);function o(e,t,r){return e.set((0,n.A)(e,t),r),r}},1369:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7545);function o(e){var t=function(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}},7545:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}r.d(t,{A:()=>n})}}]);
|
|
3
|
-
//# sourceMappingURL=pre-generated-preview.03dd751b.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[5689,2052],{5111:(t,e,r)=>{r.r(e),r.d(e,{PreGeneratedTableView:()=>d,PreGeneratedTableViewComponent:()=>v});var n,o=r(2740),i=r(8769),a=r.n(i),c=r(4799),u=r(8610),l=(r(6477),r(9216));let s;const{defineElement:f}=(0,c.createDecorators)();let d;class p extends u.ReactNextElement{render(){return a().createElement(v,null)}}function v(){return a().createElement("slot",null)}n=p,[d,s]=(0,o.A)(n,[f("visual-builder.pre-generated-table-view",{styleTexts:[l.A]})],[],0,void 0,u.ReactNextElement).c,s()},9216:(t,e,r)=>{r.d(e,{A:()=>c});var n=r(6758),o=r.n(n),i=r(935),a=r.n(i)()(o());a.push([t.id,":host{display:grid;width:100%}:host([hidden]){display:none}::slotted(*){padding:4px 8px;border:1px solid var(--theme-gray-border-color);border-left-color:transparent;border-top-color:transparent;min-width:0;word-break:break-word}",""]);const c=a.toString()},935:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var l=0;l<t.length;l++){var s=[].concat(t[l]);n&&a[s[0]]||(void 0!==i&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=i),r&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=r):s[2]=r),o&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=o):s[4]="".concat(o)),e.push(s))}},e}},6758:t=>{t.exports=function(t){return t[1]}},2740:(t,e,r)=>{r.d(e,{A:()=>c});var n=r(7545),o=r(6902);function i(t,e,r){"symbol"==(0,n.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:r?r+" "+e:e})}catch(t){}return t}var a=r(1369);function c(t,e,r,c,u,l){var s,f,d,p,v,b,h,m=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,y=Object.create,w=[y(null),y(null)],A=e.length;function E(e,r,n){return function(o,i){r&&(i=o,o=t);for(var a=0;a<e.length;a++)i=e[a].apply(o,n?[i]:[]);return n?i:o}}function S(t,e,r,n){if("function"!=typeof t&&(n||void 0!==t))throw new TypeError(e+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return t}function j(t,e,r,o,a,c,u,l,d,p,v){function b(t){if(!v(t))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(e[0]),m=e[3],y=!u,A=1===a,j=3===a,x=4===a,T=2===a;function k(e,r,n){return function(o,i){return r&&(i=o,o=t),n&&n(o),_[e].call(o,i)}}if(!y){var _={},P=[],O=j?"get":x||A?"set":"value";if(d?(p||A?_={get:i((function(){return m(this)}),o,"get"),set:function(t){e[4](this,t)}}:_[O]=m,p||i(_[O],o,T?"":O)):p||(_=Object.getOwnPropertyDescriptor(t,o)),!p&&!d){if((f=w[+l][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+_[O].name+") is not supported yet");w[+l][o]=a<3?1:a}}for(var z=t,C=h.length-1;C>=0;C-=r?2:1){var D=S(h[C],"A decorator","be",!0),G=r?h[C-1]:void 0,I={},N={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:s,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");S(e,"An initializer","be",!0),c.push(e)}.bind(null,I)};if(y)f=D.call(G,z,N),I.v=1,S(f,"class decorators","return")&&(z=f);else if(N.static=l,N.private=d,f=N.access={has:d?v.bind():function(t){return o in t}},x||(f.get=d?T?function(t){return b(t),_.value}:k("get",0,b):function(t){return t[o]}),T||j||(f.set=d?k("set",0,b):function(t,e){t[o]=e}),z=D.call(G,A?{get:_.get,set:_.set}:_[O],N),I.v=1,A){if("object"==(0,n.A)(z)&&z)(f=S(z.get,"accessor.get"))&&(_.get=f),(f=S(z.set,"accessor.set"))&&(_.set=f),(f=S(z.init,"accessor.init"))&&P.unshift(f);else if(void 0!==z)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else S(z,(p?"field":"method")+" decorators","return")&&(p?P.unshift(z):_[O]=z)}return a<2&&u.push(E(P,l,1),E(c,l,0)),p||y||(d?A?u.splice(-1,0,k("get",l),k("set",l)):u.push(T?_[O]:S.call.bind(_[O])):g(t,o,_)),z}function x(t){return g(t,m,{configurable:!0,enumerable:!0,value:s})}return void 0!==l&&(s=l[m]),s=y(null==s?null:s),v=[],b=function(t){t&&v.push(E(t))},h=function(e,n){for(var i=0;i<r.length;i++){var c=r[i],l=c[1],s=7&l;if((8&l)==e&&!s==n){var f=c[2],b=!!c[3],h=16&l;j(e?t:t.prototype,c,h,b?"#"+f:(0,a.A)(f),s,s<2?[]:e?p=p||[]:d=d||[],v,!!e,b,n,e&&b?function(e){return(0,o.A)(e)===t}:u)}}},h(8,0),h(0,0),h(8,1),h(0,1),b(d),b(p),f=v,A||x(t),{e:f,get c(){var r=[];return A&&[x(t=j(t,[e],c,t.name,5,r)),E(r,1)]}}}},6902:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(7545);function o(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,n.A)(t):"null"));return t}},1369:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(7545);function o(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,n.A)(e)?e:e+""}},7545:(t,e,r)=>{function n(t){return n="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},n(t)}r.d(e,{A:()=>n})}}]);
|
|
2
|
-
//# sourceMappingURL=pre-generated-table-view.c9bb5b19.js.map
|