@next-bricks/advanced 0.44.3 → 0.44.4

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.
@@ -0,0 +1,2 @@
1
+ "use strict";(globalThis.webpackChunk_next_bricks_advanced=globalThis.webpackChunk_next_bricks_advanced||[]).push([[771],{1740:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var a=void 0!==r.layer;a&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,a&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},5536:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(12559);function a(e,t,r){return r((0,n.A)(e,t))}},7231:(e,t,r)=>{r.d(t,{q:()=>d});var n=r(18769),a=r.n(n),i=r(88361),o=r(99859),s=r(41640),l=r(41030);const c=(0,o.wrapBrick)("eo-icon");function d(e){const{component:t,isEdit:r,onDelete:n,layout:o}=e;return a().createElement("div",{className:s.A.component,style:t.style},r&&a().createElement("div",{className:s.A.editMask,onMouseDown:e=>{e.preventDefault()},"data-testid":"droppable-component-layout-item-edit-mask"}),a().createElement(i.ReactUseBrick,{useBrick:(0,l.cloneDeep)(t.useBrick),data:o}),r&&a().createElement(c,{icon:"delete",lib:"antd",className:s.A.deleteIcon,onClick:e=>{e.preventDefault(),null==n||n()},"data-testid":"droppable-component-layout-item-delete"}))}},20504:(e,t,r)=>{r.r(t),r.d(t,{EoWorkbenchLayoutComponent:()=>ge,EoWorkbenchLayoutV2:()=>be});var n,a=r(74635),i=r(70918),o=r(26902),s=r(5536),l=r(86121),c=r(70829),d=r(62740),p=r(18769),u=r.n(p),h=r(6192),m=r(99859),g=r(49523),b=r(88361),y=r(69113),f=r(45833),v=(r(76477),r(41030)),A=r(7231),k=r(79120),w=r(48669),x=r(72465),z=r(41640);let M,E,W,I,D,L,C,B,T,N,S,P,R,O,H,j,Q,U,Z,G,K,_,Y,F,J,X,q,$,V,ee,te,re,ne,ae;r(78259);const{defineElement:ie,property:oe,event:se,method:le}=(0,h.createDecorators)(),ce=(0,m.wrapBrick)("eo-sidebar-menu"),de=(0,m.wrapBrick)("eo-button"),pe=(0,m.wrapBrick)("eo-dropdown-button",{onActionClick:"action.click"}),ue=(0,g.unwrapProvider)("basic.show-dialog"),he=e=>null!=e&&e.includes(":")?e.split(":")[0]:e,{isAdmin:me}=y.auth.getAuth(),ge=(0,p.forwardRef)((function(e,t){let{cardTitle:r="卡片列表",layouts:n,toolbarBricks:a,componentList:i=[],isEdit:o,showSettingButton:s,onChange:l,onSave:c,onCancel:d,onActionClick:h,onSetting:m}=e;const g=(0,p.useMemo)((()=>(0,f.WidthProvider)(f.Responsive)),[]),y=(0,p.useRef)(null),M=(0,p.useRef)(null),E=(0,p.useRef)(null!=n?n:[]),[W,I]=(0,p.useState)(E.current),D=(0,p.useMemo)((()=>(0,v.keyBy)(i,"key")),[i]),[L,C]=(0,p.useState)(3),[B,T]=(0,p.useState)(),N=(0,p.useRef)(),S=(0,p.useCallback)((e=>{E.current=e,I(e)}),[]);(0,p.useImperativeHandle)(t,(()=>({setLayouts:S})));const P=(0,p.useCallback)((e=>{S(e),null==l||l(e)}),[l,S]),R=(0,p.useCallback)((e=>{if(!o)return;if(e.some((e=>e.isDraggable)))return;const t=(0,v.keyBy)(W,"i");let r=!0;for(let t=0;t<e.length;t++){const{x:a,w:i,y:o,h:s,i:l,minH:c}=e[t];if(i>1&&a>0){r=!1;break}if(1===i&&a<2){const r=e.find((e=>e.i!==l&&1===e.w&&e.y===o&&a<2));var n;r&&(e[t].minH=null!==(n=e[t].minH)&&void 0!==n?n:s,e[t].h=Math.max(r.h,s))}else e[t].h=null!=c?c:s,e[t].minH=void 0}P(r?e.map((e=>({...null==t?void 0:t[e.i],...e,type:he(e.i)}))):E.current.map((e=>{const{w:t,type:r,i:n}=e,a=null!=n?n:`${he(r)}:${Math.random()}`;let i=e.x;return t>1&&i>0&&(i=0),{...e,x:i,i:a}})))}),[P,o,W]),O=()=>{P([])},H=(0,p.useCallback)((()=>{null==c||c(W)}),[W,c]),j=(e,t)=>{const r={...(0,w.D)(e.key),...e.position,cardWidth:e.position.w,type:e.key,...t?(0,v.pick)(t,["x","y"]):{x:e.position.w>1?0:2*W.length%L,y:1/0}};P(t?[r,...W]:W.concat(r))},Q=(0,p.useCallback)((e=>{var t;P(null!==(t=W.filter((t=>t.i!==e.position.i)))&&void 0!==t?t:[])}),[P,W]),U=(0,p.useMemo)((()=>W.map((e=>{var t;const r=D[he(e.type)];return r?u().createElement("div",{className:"drag-box","data-grid":{...null!==(t=r.position)&&void 0!==t?t:{},...e,w:e.cardWidth||e.w},key:e.i},u().createElement(A.q,{component:r,isEdit:o,layout:e,onDelete:()=>Q(r)})):null})).filter(Boolean)),[W,D,o,Q]),Z=(0,p.useCallback)((()=>{if(M&&o){var e,t;const{top:r}=null!==(e=null===(t=M.current)||void 0===t||null===(t=t.getClientRects())||void 0===t?void 0:t[0])&&void 0!==e?e:{};void 0!==r&&T({height:document.body.clientHeight-r})}}),[o]);return(0,p.useEffect)((()=>{if(o)return Z(),S(n||[]),window.addEventListener("resize",Z),()=>{window.removeEventListener("resize",Z)}}),[o,Z,n,S]),u().createElement("div",{className:x.A.gridLayoutWrapper,ref:y},o&&u().createElement("div",{className:x.A.componentWrapper,style:B},u().createElement("div",{className:x.A.componentTitle},r),u().createElement("div",{className:x.A.componentList},u().createElement(ce,null,null==i?void 0:i.map(((e,t)=>u().createElement(k.T,{component:e,onClick:()=>{j(e)},onDragStart:()=>{N.current=e},onDragEnd:()=>{N.current=void 0},key:e.key||t})))),(null==a?void 0:a.useBrick)&&u().createElement(b.ReactUseMultipleBricks,{useBrick:a.useBrick}))),u().createElement("div",{className:x.A.layoutWrapper,ref:M,style:B},o&&u().createElement("div",{className:x.A.actionsWrapper},u().createElement(de,{type:"primary",onClick:H},"保存"),u().createElement(de,{onClick:()=>{null==d||d()}},"取消"),s&&u().createElement(de,{"data-testid":"setting-button",onClick:()=>{null==m||m()}},"设置"),u().createElement(pe,{btnText:"更多",icon:{lib:"antd",icon:"down"},actions:[...me?[{text:"另存为模板",event:"saveAsTemplate"}]:[],{text:"从模版加载",event:"loadFromTemplate"},{text:"清空所有",danger:!0,event:"clear"}],onActionClick:e=>{(e=>{const{event:t}=e;"clear"===t?ue({type:"confirm",title:"清空确认",content:"将清空所有卡片,从零开始编辑,该操作无法撤回。"}).then(O):null==h||h(e,(null!=W?W:[]).map((e=>({...e,i:he(e.i)}))))})(e.detail)},"data-testid":"edit-layout-actions"})),u().createElement(g,{className:x.A.layout,draggableCancel:`.${z.A.deleteIcon},.edit-actions,.ignore-item`,breakpoints:{lg:1300,md:1024,sm:768},rowHeight:1,cols:{lg:3,md:3,sm:o?3:1},isResizable:!1,isDraggable:o,isDroppable:o,onDrag:(e,t,r)=>{var n;const a=null===(n=y.current)||void 0===n?void 0:n.querySelector(".react-grid-placeholder");a&&(r.w>1&&r.x>0?!a.classList.contains("forbidden")&&a.classList.add("forbidden"):a.classList.contains("forbidden")&&a.classList.remove("forbidden"))},onDropDragOver:()=>{if(N.current)return(0,v.pick)(N.current.position,["w","h"])},onDrop:(e,t)=>{N.current&&j(N.current,t)},onLayoutChange:R,onBreakpointChange:(e,t)=>{C(t)}},U)))}));let be;var ye=new WeakMap,fe=new WeakMap,ve=new WeakMap,Ae=new WeakMap,ke=new WeakMap,we=new WeakMap,xe=new WeakMap,ze=new WeakMap,Me=new WeakSet,Ee=new WeakMap,We=new WeakMap,Ie=new WeakMap,De=new WeakMap,Le=new WeakMap,Ce=new WeakMap,Be=new WeakMap,Te=new WeakMap,Ne=new WeakMap;class Se extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,Me),(0,i.A)(this,ye,(M(this),(0,p.createRef)())),(0,i.A)(this,fe,W(this)),(0,i.A)(this,ve,(I(this),D(this))),(0,i.A)(this,Ae,(L(this),C(this))),(0,i.A)(this,ke,(B(this),T(this))),(0,i.A)(this,we,(N(this),S(this))),(0,i.A)(this,xe,(P(this),R(this))),(0,i.A)(this,ze,(O(this),H(this))),(0,i.A)(this,Ee,(U(this),e=>{(0,s.A)(Me,this,j).emit(e)})),(0,i.A)(this,We,Z(this)),(0,i.A)(this,Ie,(_(this),e=>{(0,s.A)(Me,this,G).emit(e)})),(0,i.A)(this,De,Y(this)),(0,i.A)(this,Le,(X(this),()=>{(0,s.A)(Me,this,F).emit()})),(0,i.A)(this,Ce,q(this)),(0,i.A)(this,Be,(ee(this),()=>{(0,s.A)(Me,this,$).emit()})),(0,i.A)(this,Te,te(this)),(0,i.A)(this,Ne,(ae(this),(e,t)=>{(0,s.A)(Me,this,re).emit({action:e,layouts:t}),e.event&&this.dispatchEvent(new CustomEvent(e.event,{detail:t}))}))}get cardTitle(){return(0,c.A)(fe,this)}set cardTitle(e){(0,l.A)(fe,this,e)}get isEdit(){return(0,c.A)(ve,this)}set isEdit(e){(0,l.A)(ve,this,e)}get layouts(){return(0,c.A)(Ae,this)}set layouts(e){(0,l.A)(Ae,this,e)}get toolbarBricks(){return(0,c.A)(ke,this)}set toolbarBricks(e){(0,l.A)(ke,this,e)}get componentList(){return(0,c.A)(we,this)}set componentList(e){(0,l.A)(we,this,e)}get showSettingButton(){return(0,c.A)(xe,this)}set showSettingButton(e){(0,l.A)(xe,this,e)}setLayouts(e){var t;null===(t=(0,c.A)(ye,this).current)||void 0===t||t.setLayouts(e)}connectedCallback(){this.style.display||(this.style.display="block"),super.connectedCallback()}render(){return u().createElement(ge,{cardTitle:this.cardTitle,layouts:this.layouts,toolbarBricks:this.toolbarBricks,componentList:this.componentList,showSettingButton:this.showSettingButton,isEdit:this.isEdit,onChange:(0,c.A)(Ee,this),onSave:(0,c.A)(Ie,this),onCancel:(0,c.A)(Le,this),onActionClick:(0,c.A)(Ne,this),onSetting:(0,c.A)(Be,this),ref:(0,c.A)(ye,this)})}}n=Se,({e:[W,I,D,L,C,B,T,N,S,P,R,O,H,j,Q,U,Z,G,K,_,Y,F,J,X,q,$,V,ee,te,re,ne,ae,M],c:[be,E]}=(0,d.A)(n,[ie("eo-workbench-layout-v2",{shadowOptions:!1})],[[oe(),1,"cardTitle"],[oe({type:Boolean}),1,"isEdit"],[oe({attribute:!1}),1,"layouts"],[oe({attribute:!1}),1,"toolbarBricks"],[oe({attribute:!1}),1,"componentList"],[oe({type:Boolean}),1,"showSettingButton"],[se({type:"change"}),1,"changeEvent",e=>(0,c.A)(ze,e),(e,t)=>(0,l.A)(ze,e,t)],[se({type:"save"}),1,"saveEvent",e=>(0,c.A)(We,e),(e,t)=>(0,l.A)(We,e,t)],[se({type:"cancel"}),1,"cancelEvent",e=>(0,c.A)(De,e),(e,t)=>(0,l.A)(De,e,t)],[se({type:"setting"}),1,"settingEvent",e=>(0,c.A)(Ce,e),(e,t)=>(0,l.A)(Ce,e,t)],[se({type:"action.click"}),1,"actionClickEvent",e=>(0,c.A)(Te,e),(e,t)=>(0,l.A)(Te,e,t)],[le(),2,"setLayouts"]],0,(e=>Ne.has((0,o.A)(e))),m.ReactNextElement)),E()},30855:(e,t,r)=>{e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},37564:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(36758),a=r.n(n),i=r(40935),o=r.n(i),s=r(20062),l=r.n(s),c=new URL(r(59224),r.b),d=o()(a()),p=l()(c);d.push([e.id,`.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(${p});background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,\n.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,\n.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}`,""]);const u=d},41640:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(72591),a=r.n(n),i=r(1740),o=r.n(i),s=r(88128),l=r.n(s),c=r(30855),d=r.n(c),p=r(93051),u=r.n(p),h=r(73656),m=r.n(h),g=r(61590),b={};b.styleTagTransform=m(),b.setAttributes=d(),b.insert=l().bind(null,"head"),b.domAPI=o(),b.insertStyleElement=u(),a()(g.A,b);const y=g.A&&g.A.locals?g.A.locals:void 0},48669:(e,t,r)=>{r.d(t,{D:()=>a});const n={cardWidth:2,showMoreIcon:!1,cardBorderStyle:"solid",cardTitleFontSize:16,cardBorderWidth:1,cardBorderRadius:6,cardTitleColor:"#262626",cardBorderColor:"#e8e8e8",cardBgType:"none"},a=e=>{var t;const r={"notice-card":{moreIconLink:"/announcement-management",showMoreIcon:!0},"cmdb-object-collect-card":{moreIconLink:"/cmdb-model-management",showMoreIcon:!0},"itsm-todos":{moreIconLink:"/itsc-workbench/workbench?activeKey=run",showMoreIcon:!0}};return{...n,...null!==(t=null==r?void 0:r[e])&&void 0!==t?t:{}}}},59224:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+"},61590:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(36758),a=r.n(n),i=r(40935),o=r.n(i)()(a());o.push([e.id,".component--MVAoEnGN{height:100%}.editMask--nl6r17tE{position:absolute;left:0;right:0;top:45px;bottom:0;z-index:10}.deleteIcon--tNyE_ou4{position:absolute;right:15px;top:15px;cursor:pointer;font-size:16px;width:30px;height:30px;display:flex;justify-content:center;align-items:center;background:var(--color-fill-bg-container-1);color:var(--color-normal-text)}.deleteIcon--tNyE_ou4:hover{color:var(--color-error)}.deleteIcon--tNyE_ou4:active{color:var(--color-error-active)}",""]),o.locals={component:"component--MVAoEnGN",editMask:"editMask--nl6r17tE",deleteIcon:"deleteIcon--tNyE_ou4"};const s=o},72465:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(72591),a=r.n(n),i=r(1740),o=r.n(i),s=r(88128),l=r.n(s),c=r(30855),d=r.n(c),p=r(93051),u=r.n(p),h=r(73656),m=r.n(h),g=r(89739),b={};b.styleTagTransform=m(),b.setAttributes=d(),b.insert=l().bind(null,"head"),b.domAPI=o(),b.insertStyleElement=u(),a()(g.A,b);const y=g.A&&g.A.locals?g.A.locals:void 0},72591:e=>{var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var i={},o=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],d=i[c]||0,p="".concat(c," ").concat(d);i[c]=d+1;var u=r(p),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==u)t[u].references++,t[u].updater(h);else{var m=a(h,n);n.byIndex=s,t.splice(s,0,{identifier:p,updater:m,references:1})}o.push(p)}return o}function a(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,a){var i=n(e=e||[],a=a||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=r(i[o]);t[s].references--}for(var l=n(e,a),c=0;c<i.length;c++){var d=r(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},73656:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},74635:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(72016);function a(e,t){(0,n.A)(e,t),t.add(e)}},78259:(e,t,r)=>{var n=r(72591),a=r.n(n),i=r(1740),o=r.n(i),s=r(88128),l=r.n(s),c=r(30855),d=r.n(c),p=r(93051),u=r.n(p),h=r(73656),m=r.n(h),g=r(85689),b={};b.styleTagTransform=m(),b.setAttributes=d(),b.insert=l().bind(null,"head"),b.domAPI=o(),b.insertStyleElement=u(),a()(g.A,b),g.A&&g.A.locals&&g.A.locals},79120:(e,t,r)=>{r.d(t,{T:()=>o});var n=r(18769),a=r.n(n);const i=(0,r(99859).wrapBrick)("eo-sidebar-menu-item");function o(e){const{component:t,onClick:r,onDragStart:n,onDragEnd:o}=e,{key:s,title:l}=t;return a().createElement(i,{icon:{lib:"antd",icon:"menu"},title:l,draggable:!0,onDragStart:e=>{e.dataTransfer.setData("text/plain",s),null==n||n()},onDragEnd:o,onClick:r,"data-testid":"draggable-component-menu-item"},l)}},85689:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(36758),a=r.n(n),i=r(40935),o=r.n(i),s=r(87796),l=r(37564),c=o()(a());c.i(s.A),c.i(l.A),c.push([e.id,".react-grid-item.react-grid-placeholder{background-color:#ddd}.react-grid-item.react-draggable-dragging{pointer-events:none}.react-grid-item.react-grid-placeholder.forbidden{background-color:red}",""]);const d=c},87796:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(36758),a=r.n(n),i=r(40935),o=r.n(i)()(a());o.push([e.id,'.react-grid-layout{position:relative;transition:height 200ms ease}.react-grid-item{transition:all 200ms ease;transition-property:left,top,width,height}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{transition:none;z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:0.2;transition-duration:100ms;z-index:2;-webkit-user-select:none;-o-user-select:none;user-select:none}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item > .react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item > .react-resizable-handle::after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,0.4);border-bottom:2px solid rgba(0,0,0,0.4)}.react-resizable-hide > .react-resizable-handle{display:none}.react-grid-item > .react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item > .react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-w,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item > .react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-n,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item > .react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}',""]);const s=o},88128:e=>{var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},89739:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(36758),a=r.n(n),i=r(40935),o=r.n(i)()(a());o.push([e.id,".gridLayoutWrapper--DIttynOM{display:flex;height:100%;position:relative;width:100%}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP,.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR{overflow:auto}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP{width:200px;padding:6px 12px;overflow-y:scroll;box-shadow:1px 0 0 0 var(--palette-gray-5);background:var(--color-fill-bg-container-1);z-index:999;position:sticky;top:0}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentTitle--nKf9GEoj{font-size:16px;padding:6px 0;font-weight:500}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentList--s3XnAYsB{margin-top:6px}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentList--s3XnAYsB eo-checkbox::part(checkbox-wrapper){display:flex;flex-wrap:wrap;gap:8px}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentList--s3XnAYsB eo-checkbox::part(checkbox-option){margin-left:0;width:100%;background:none}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR{flex:1;display:flex;flex-direction:column;align-items:center;width:100%}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .layout--kz28taJj,.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .actionsWrapper--vQro2Dyn{width:100%}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .layout--kz28taJj{flex-grow:1;width:100%}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .actionsWrapper--vQro2Dyn{position:sticky;top:0;z-index:999;margin-left:1px;display:flex;gap:8px;justify-content:flex-end;background:var(--color-fill-bg-container-1);padding:8px 12px;box-shadow:0 1px 1px 0 var(--palette-gray-5)}",""]),o.locals={gridLayoutWrapper:"gridLayoutWrapper--DIttynOM",componentWrapper:"componentWrapper--P8xsKOQP",layoutWrapper:"layoutWrapper--pk1t3UAR",componentTitle:"componentTitle--nKf9GEoj",componentList:"componentList--s3XnAYsB",layout:"layout--kz28taJj",actionsWrapper:"actionsWrapper--vQro2Dyn"};const s=o},93051:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}}}]);
2
+ //# sourceMappingURL=eo-workbench-layout-v2.b1586458.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/eo-workbench-layout-v2.b1586458.js","mappings":"mIA4DAA,EAAOC,QAjBP,SAAgBC,GACd,GAAwB,oBAAbC,SACT,MAAO,CACLC,OAAQ,WAAmB,EAC3BC,OAAQ,WAAmB,GAG/B,IAAIC,EAAeJ,EAAQK,mBAAmBL,GAC9C,MAAO,CACLE,OAAQ,SAAgBI,IAjD5B,SAAeF,EAAcJ,EAASM,GACpC,IAAIC,EAAM,GACND,EAAIE,WACND,GAAO,cAAcE,OAAOH,EAAIE,SAAU,QAExCF,EAAII,QACNH,GAAO,UAAUE,OAAOH,EAAII,MAAO,OAErC,IAAIC,OAAiC,IAAdL,EAAIM,MACvB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IAAIoT,EAtBN,SAAmBA,GACjB,QAA4B,IAAjBD,EAAKC,GAAyB,CACvC,IAAIC,EAAc5V,SAASmM,cAAcwJ,GAGzC,GAAIhM,OAAOkM,mBAAqBD,aAAuBjM,OAAOkM,kBAC5D,IAGED,EAAcA,EAAYE,gBAAgBC,IAC5C,CAAE,MAAOrT,GAEPkT,EAAc,IAChB,CAEFF,EAAKC,GAAUC,CACjB,CACA,OAAOF,EAAKC,EACd,CAIeK,CAAUvD,GACvB,IAAKkD,EACH,MAAM,IAAIM,MAAM,2GAElBN,EAAOR,YAAY5S,EACrB,C,sEC7BI6P,E,MAA0B,GAA4B,KAE1DA,EAAwBE,KAAK,CAACzS,EAAO0S,GAAI,umDAAwmD,KAEjpDH,EAAwBO,OAAS,CAChC,kBAAqB,8BACrB,iBAAoB,6BACpB,cAAiB,0BACjB,eAAkB,2BAClB,cAAiB,0BACjB,OAAU,mBACV,eAAkB,4BAEnB,S,YCPA9S,EAAOC,QANP,SAA4BC,GAC1B,IAAImW,EAAUlW,SAASmW,cAAc,SAGrC,OAFApW,EAAQyS,cAAc0D,EAASnW,EAAQqW,YACvCrW,EAAQ0S,OAAOyD,EAASnW,EAAQA,SACzBmW,CACT,C","sources":["webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js","webpack:///./src/workbench-layout-v2/DroppableComponentLayoutItem.tsx","webpack:///./src/workbench-layout-v2/index.tsx","webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/react-resizable/css/styles.css?2de9","webpack:///./src/workbench-layout-v2/DroppableComponentLayoutItem.module.css?5d2f","webpack:///./src/workbench-layout-v2/utils.ts","webpack:///./src/workbench-layout-v2/DroppableComponentLayoutItem.module.css","webpack:///./src/workbench-layout-v2/styles.module.css?4307","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///./src/workbench-layout-v2/styles.css?4d90","webpack:///./src/workbench-layout-v2/DraggableComponentMenuItem.tsx","webpack:///./src/workbench-layout-v2/styles.css","webpack:///../../node_modules/react-grid-layout/css/styles.css?df02","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack:///./src/workbench-layout-v2/styles.module.css","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateGetter(s, r, a) {\n return a(assertClassBrand(s, r));\n}","import React from \"react\";\nimport { ReactUseBrick } from \"@next-core/react-runtime\";\nimport { wrapBrick } from \"@next-core/react-element\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\n\nimport { WorkbenchComponent, ExtraLayout } from \"../interfaces\";\n\nimport styles from \"./DroppableComponentLayoutItem.module.css\";\nimport { cloneDeep } from \"lodash\";\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\n\nexport interface DroppableComponentLayoutItemProps {\n component: WorkbenchComponent;\n layout?: ExtraLayout;\n isEdit?: boolean;\n onDelete?(): void;\n}\n\nexport function DroppableComponentLayoutItem(\n props: DroppableComponentLayoutItemProps\n): React.ReactElement {\n const { component, isEdit, onDelete, layout } = props;\n\n const handleEditMaskClick = (e: React.MouseEvent) => {\n e.preventDefault();\n };\n\n const handleDeleteClick = (e: React.MouseEvent) => {\n e.preventDefault();\n onDelete?.();\n };\n\n return (\n <div className={styles.component} style={component.style}>\n {isEdit && (\n <div\n className={styles.editMask}\n onMouseDown={handleEditMaskClick}\n data-testid=\"droppable-component-layout-item-edit-mask\"\n />\n )}\n <ReactUseBrick useBrick={cloneDeep(component.useBrick)} data={layout} />\n {isEdit && (\n <WrappedIcon\n icon=\"delete\"\n lib=\"antd\"\n className={styles.deleteIcon}\n onClick={handleDeleteClick}\n data-testid=\"droppable-component-layout-item-delete\"\n />\n )}\n </div>\n );\n}\n","import React, {\n createRef,\n forwardRef,\n useCallback,\n useEffect,\n useImperativeHandle,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { EventEmitter, createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport { unwrapProvider } from \"@next-core/utils/general\";\nimport { UseSingleBrickConf } from \"@next-core/types\";\nimport { ReactUseMultipleBricks } from \"@next-core/react-runtime\";\nimport { auth } from \"@next-core/easyops-runtime\";\nimport {\n ItemCallback,\n Layout,\n Responsive,\n WidthProvider,\n} from \"react-grid-layout\";\nimport \"@next-core/theme\";\nimport {\n EoSidebarMenu,\n EoSidebarMenuProps,\n} from \"@next-bricks/nav/sidebar/sidebar-menu\";\nimport type { Button, ButtonProps } from \"@next-bricks/basic/button\";\nimport {\n DropdownButton,\n DropdownButtonEvents,\n DropdownButtonEventsMap,\n DropdownButtonProps,\n} from \"@next-bricks/basic/dropdown-button\";\nimport type { showDialog as _showDialog } from \"@next-bricks/basic/data-providers/show-dialog/show-dialog\";\nimport { SimpleAction } from \"@next-bricks/basic/actions\";\nimport { keyBy, pick } from \"lodash\";\n\nimport { WorkbenchComponent, ExtraLayout } from \"../interfaces\";\nimport { DroppableComponentLayoutItem } from \"./DroppableComponentLayoutItem\";\nimport { DraggableComponentMenuItem } from \"./DraggableComponentMenuItem\";\nimport { getLayoutDefaultCardConfig } from \"./utils\";\n\nimport styles from \"./styles.module.css\";\nimport layoutItemStyles from \"./DroppableComponentLayoutItem.module.css\";\nimport \"./styles.css\";\n\nconst { defineElement, property, event, method } = createDecorators();\n\nconst WrappedSidebarMenu = wrapBrick<EoSidebarMenu, EoSidebarMenuProps>(\n \"eo-sidebar-menu\"\n);\nconst WrappedButton = wrapBrick<Button, ButtonProps>(\"eo-button\");\nconst WrappedDropdownButton = wrapBrick<\n DropdownButton,\n DropdownButtonProps,\n DropdownButtonEvents,\n DropdownButtonEventsMap\n>(\"eo-dropdown-button\", { onActionClick: \"action.click\" });\nconst showDialog = unwrapProvider<typeof _showDialog>(\"basic.show-dialog\");\n\nexport interface EoWorkbenchLayoutV2Props {\n cardTitle?: string;\n layouts?: ExtraLayout[];\n toolbarBricks?: { useBrick: UseSingleBrickConf[] };\n componentList?: WorkbenchComponent[];\n isEdit?: boolean;\n showSettingButton?: boolean;\n}\n\nexport interface EoWorkbenchLayoutV2ComponentRef {\n setLayouts(layouts: ExtraLayout[]): void;\n}\n\nexport interface EoWorkbenchLayoutV2ComponentProps\n extends EoWorkbenchLayoutV2Props {\n onChange?: (layout: ExtraLayout[]) => void;\n onSave?: (layout: ExtraLayout[]) => void;\n onCancel?: () => void;\n onActionClick?: (action: SimpleAction, layouts: ExtraLayout[]) => void;\n onSetting?: () => void;\n}\n\nconst getRealKey = (key: string): string =>\n key?.includes(\":\") ? key.split(\":\")[0] : key;\nconst { isAdmin } = auth.getAuth();\n\nexport const EoWorkbenchLayoutComponent = forwardRef<\n EoWorkbenchLayoutV2ComponentRef,\n EoWorkbenchLayoutV2ComponentProps\n>(function EoWorkbenchLayoutComponent(\n {\n cardTitle = \"卡片列表\",\n layouts: layoutsProps,\n toolbarBricks,\n componentList = [],\n isEdit,\n showSettingButton,\n onChange,\n onSave,\n onCancel,\n onActionClick,\n onSetting,\n },\n ref\n) {\n const ResponsiveReactGridLayout = useMemo(\n () => WidthProvider(Responsive),\n []\n );\n const gridLayoutRef = useRef<HTMLDivElement>(null);\n const layoutWrapperRef = useRef<HTMLDivElement>(null);\n const layoutCacheRef = useRef<ExtraLayout[]>(layoutsProps ?? []);\n const [layouts, _setLayouts] = useState<ExtraLayout[]>(\n layoutCacheRef.current\n );\n const keyComponentMap = useMemo(\n () => keyBy(componentList, \"key\"),\n [componentList]\n );\n const [cols, setCols] = useState<number>(3);\n const [layoutWrapperStyle, setLayoutWrapperStyle] =\n useState<React.CSSProperties>();\n const draggingComponentRef = useRef<WorkbenchComponent>();\n\n const setLayouts = useCallback((layouts: ExtraLayout[]) => {\n layoutCacheRef.current = layouts;\n _setLayouts(layouts);\n }, []);\n\n useImperativeHandle(ref, () => ({ setLayouts }));\n\n const handleChange = useCallback(\n (layouts: ExtraLayout[]) => {\n setLayouts(layouts);\n onChange?.(layouts);\n },\n [onChange, setLayouts]\n );\n\n const handleDragCallback: ItemCallback = (layout, oldItem, newItem) => {\n const placeholderDOM = gridLayoutRef.current?.querySelector(\n \".react-grid-placeholder\"\n );\n if (placeholderDOM) {\n if (newItem.w > 1 && newItem.x > 0) {\n !placeholderDOM.classList.contains(\"forbidden\") &&\n placeholderDOM.classList.add(\"forbidden\");\n } else {\n placeholderDOM.classList.contains(\"forbidden\") &&\n placeholderDOM.classList.remove(\"forbidden\");\n }\n }\n };\n\n /* istanbul ignore next */\n const handleLayoutChange = useCallback(\n (currentLayout: ExtraLayout[]) => {\n if (!isEdit) {\n return;\n }\n\n // 占位拖拽不触发 setLayouts\n if (currentLayout.some((v) => v.isDraggable)) {\n return;\n }\n\n const currentLayoutsMap = keyBy(layouts, \"i\");\n\n let isAllowAction = true;\n for (let t = 0; t < currentLayout.length; t++) {\n const { x, w, y, h, i, minH } = currentLayout[t];\n if (w > 1 && x > 0) {\n isAllowAction = false;\n break;\n }\n if (w === 1 && x < 2) {\n const matchItem = currentLayout.find(\n (item) => item.i !== i && item.w === 1 && item.y === y && x < 2\n );\n if (matchItem) {\n currentLayout[t].minH = currentLayout[t].minH ?? h;\n currentLayout[t].h = Math.max(matchItem.h, h);\n }\n } else {\n currentLayout[t].h = minH ?? h;\n currentLayout[t].minH = undefined;\n }\n }\n\n handleChange(\n !isAllowAction\n ? // revert to previous layouts\n layoutCacheRef.current.map((item) => {\n const { w, type, i } = item;\n // should update key to refresh layout\n const key = i ?? `${getRealKey(type as string)}:${Math.random()}`;\n let x = item.x;\n\n if (w > 1 && x > 0) {\n x = 0;\n }\n\n return { ...item, x, i: key };\n })\n : currentLayout.map((v) => {\n const layoutItem = currentLayoutsMap?.[v.i];\n return { ...layoutItem, ...v, type: getRealKey(v.i) };\n })\n );\n },\n [handleChange, isEdit, layouts]\n );\n\n const handleBreakpointChange = (_newBreakpoint: string, newCols: number) => {\n setCols(newCols);\n };\n\n const handleClearLayout = () => {\n handleChange([]);\n };\n\n const handleSave = useCallback(() => {\n onSave?.(layouts);\n }, [layouts, onSave]);\n\n const handleSetting = () => {\n onSetting?.();\n };\n\n const handleCancel = () => {\n onCancel?.();\n };\n\n const handleActionClick = (action: SimpleAction) => {\n const { event } = action;\n\n switch (event) {\n case \"clear\":\n showDialog({\n type: \"confirm\",\n title: \"清空确认\",\n content: \"将清空所有卡片,从零开始编辑,该操作无法撤回。\",\n }).then(handleClearLayout);\n break;\n default:\n onActionClick?.(\n action,\n (layouts ?? []).map((item) => ({ ...item, i: getRealKey(item.i) }))\n );\n }\n };\n\n const addComponent = (\n component: WorkbenchComponent,\n layout?: Layout\n ): void => {\n const defaultCardConfig = getLayoutDefaultCardConfig(component.key);\n const newLayout = {\n ...defaultCardConfig,\n ...component.position,\n cardWidth: component.position.w,\n type: component.key,\n ...(layout\n ? pick(layout, [\"x\", \"y\"])\n : {\n x: component.position.w > 1 ? 0 : (layouts.length * 2) % cols,\n y: Infinity,\n }),\n };\n\n handleChange(layout ? [newLayout, ...layouts] : layouts.concat(newLayout));\n };\n\n const handleDeleteItem = useCallback(\n (deletedItem: WorkbenchComponent) => {\n handleChange(\n layouts.filter((item) => item.i !== deletedItem.position.i) ?? []\n );\n },\n [handleChange, layouts]\n );\n\n const renderChild = useMemo(() => {\n return layouts\n .map((layout) => {\n const component = keyComponentMap[getRealKey(layout.type as string)];\n if (!component) {\n return null;\n }\n return (\n <div\n className=\"drag-box\"\n data-grid={{\n ...(component.position ?? {}),\n ...layout,\n w: layout.cardWidth || layout.w,\n }}\n key={layout.i}\n >\n <DroppableComponentLayoutItem\n component={component}\n isEdit={isEdit}\n layout={layout}\n onDelete={() => handleDeleteItem(component)}\n />\n </div>\n );\n })\n .filter(Boolean);\n }, [layouts, keyComponentMap, isEdit, handleDeleteItem]);\n\n const handleWatchLayoutSizeChange = useCallback(() => {\n if (layoutWrapperRef && isEdit) {\n const { top } =\n layoutWrapperRef.current?.getClientRects()?.[0] ?? ({} as DOMRect);\n top !== undefined &&\n setLayoutWrapperStyle({\n height: document.body.clientHeight - top,\n });\n }\n }, [isEdit]);\n\n useEffect(() => {\n if (isEdit) {\n handleWatchLayoutSizeChange();\n setLayouts(layoutsProps || []); // 编辑的情况下需要动态改变一些布局\n window.addEventListener(\"resize\", handleWatchLayoutSizeChange);\n\n return () => {\n window.removeEventListener(\"resize\", handleWatchLayoutSizeChange);\n };\n }\n }, [isEdit, handleWatchLayoutSizeChange, layoutsProps, setLayouts]);\n\n return (\n <div className={styles.gridLayoutWrapper} ref={gridLayoutRef}>\n {isEdit && (\n <div className={styles.componentWrapper} style={layoutWrapperStyle}>\n <div className={styles.componentTitle}>{cardTitle}</div>\n <div className={styles.componentList}>\n <WrappedSidebarMenu>\n {componentList?.map((component, index) => (\n <DraggableComponentMenuItem\n component={component}\n onClick={() => {\n addComponent(component);\n }}\n onDragStart={() => {\n draggingComponentRef.current = component;\n }}\n onDragEnd={() => {\n draggingComponentRef.current = undefined;\n }}\n key={component.key || index}\n />\n ))}\n </WrappedSidebarMenu>\n {toolbarBricks?.useBrick && (\n <ReactUseMultipleBricks useBrick={toolbarBricks.useBrick} />\n )}\n </div>\n </div>\n )}\n <div\n className={styles.layoutWrapper}\n ref={layoutWrapperRef}\n style={layoutWrapperStyle}\n >\n {isEdit && (\n <div className={styles.actionsWrapper}>\n <WrappedButton type=\"primary\" onClick={handleSave}>\n 保存\n </WrappedButton>\n <WrappedButton onClick={handleCancel}>取消</WrappedButton>\n {showSettingButton && (\n <WrappedButton\n data-testid=\"setting-button\"\n onClick={handleSetting}\n >\n 设置\n </WrappedButton>\n )}\n <WrappedDropdownButton\n btnText=\"更多\"\n icon={{ lib: \"antd\", icon: \"down\" }}\n actions={[\n ...(isAdmin\n ? [{ text: \"另存为模板\", event: \"saveAsTemplate\" }]\n : []),\n { text: \"从模版加载\", event: \"loadFromTemplate\" },\n { text: \"清空所有\", danger: true, event: \"clear\" },\n ]}\n onActionClick={(e) => {\n handleActionClick(e.detail);\n }}\n data-testid=\"edit-layout-actions\"\n />\n </div>\n )}\n <ResponsiveReactGridLayout\n className={styles.layout}\n draggableCancel={`.${layoutItemStyles.deleteIcon},.edit-actions,.ignore-item`}\n breakpoints={{ lg: 1300, md: 1024, sm: 768 }}\n rowHeight={1}\n cols={{ lg: 3, md: 3, sm: isEdit ? 3 : 1 }}\n isResizable={false}\n isDraggable={isEdit}\n isDroppable={isEdit}\n onDrag={handleDragCallback}\n onDropDragOver={() => {\n if (draggingComponentRef.current) {\n return pick(draggingComponentRef.current.position, [\"w\", \"h\"]);\n }\n }}\n onDrop={(layout, item) => {\n if (draggingComponentRef.current) {\n addComponent(draggingComponentRef.current, item);\n }\n }}\n onLayoutChange={handleLayoutChange}\n onBreakpointChange={handleBreakpointChange}\n >\n {renderChild}\n </ResponsiveReactGridLayout>\n </div>\n </div>\n );\n});\n\n/**\n * 工作台布局V2,未使用shadow dom\n */\nexport\n@defineElement(\"eo-workbench-layout-v2\", { shadowOptions: false })\nclass EoWorkbenchLayoutV2 extends ReactNextElement {\n #componentRef = createRef<EoWorkbenchLayoutV2ComponentRef>();\n\n @property()\n accessor cardTitle: string | undefined;\n\n @property({ type: Boolean })\n accessor isEdit: boolean | undefined;\n\n @property({ attribute: false })\n accessor layouts: ExtraLayout[] | undefined;\n\n @property({ attribute: false })\n accessor toolbarBricks: { useBrick: UseSingleBrickConf[] } | undefined;\n\n @property({ attribute: false })\n accessor componentList: WorkbenchComponent[] | undefined;\n /**\n * description: 用于设置页面样式和布局的按钮\n */\n @property({ type: Boolean })\n accessor showSettingButton: boolean | undefined;\n\n @event({ type: \"change\" })\n accessor #changeEvent!: EventEmitter<ExtraLayout[]>;\n\n #handleChange = (layouts: ExtraLayout[]) => {\n this.#changeEvent.emit(layouts);\n };\n\n @event({ type: \"save\" })\n accessor #saveEvent!: EventEmitter<ExtraLayout[]>;\n\n #handleSave = (layouts: ExtraLayout[]) => {\n this.#saveEvent.emit(layouts);\n };\n\n @event({ type: \"cancel\" })\n accessor #cancelEvent!: EventEmitter<void>;\n\n #handleCancel = () => {\n this.#cancelEvent.emit();\n };\n\n @event({ type: \"setting\" })\n accessor #settingEvent!: EventEmitter<void>;\n #handleSetting = () => {\n this.#settingEvent.emit();\n };\n\n /**\n * 操作点击事件\n * @detail {\n action: SimpleAction;\n layouts: Layout[];\n }\n */\n @event({ type: \"action.click\" })\n accessor #actionClickEvent!: EventEmitter<{\n action: SimpleAction;\n layouts: Layout[];\n }>;\n\n #handleActionClick = (action: SimpleAction, layouts: Layout[]): void => {\n this.#actionClickEvent.emit({ action, layouts });\n action.event &&\n this.dispatchEvent(new CustomEvent(action.event, { detail: layouts }));\n };\n\n @method()\n setLayouts(layouts: Layout[]) {\n this.#componentRef.current?.setLayouts(layouts);\n }\n\n connectedCallback(): void {\n // Don't override user's style settings.\n // istanbul ignore else\n if (!this.style.display) {\n this.style.display = \"block\";\n }\n super.connectedCallback();\n }\n\n render() {\n return (\n <EoWorkbenchLayoutComponent\n cardTitle={this.cardTitle}\n layouts={this.layouts}\n toolbarBricks={this.toolbarBricks}\n componentList={this.componentList}\n showSettingButton={this.showSettingButton}\n isEdit={this.isEdit}\n onChange={this.#handleChange}\n onSave={this.#handleSave}\n onCancel={this.#handleCancel}\n onActionClick={this.#handleActionClick}\n onSetting={this.#handleSetting}\n ref={this.#componentRef}\n />\n );\n }\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(${___CSS_LOADER_URL_REPLACEMENT_0___});background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,\n.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,\n.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./DroppableComponentLayoutItem.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./DroppableComponentLayoutItem.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { CardStyleConfig } from \"../interfaces\";\n\nexport const defaultCardConfig: CardStyleConfig = {\n cardWidth: 2,\n showMoreIcon: false,\n cardBorderStyle: \"solid\",\n cardTitleFontSize: 16,\n cardBorderWidth: 1,\n cardBorderRadius: 6,\n cardTitleColor: \"#262626\",\n cardBorderColor: \"#e8e8e8\",\n cardBgType: \"none\",\n};\n\nexport const getLayoutDefaultCardConfig = (\n cardType: string\n): CardStyleConfig => {\n const moreLinkByCardTypeMap: Record<string, CardStyleConfig> = {\n \"notice-card\": {\n moreIconLink: \"/announcement-management\",\n showMoreIcon: true,\n },\n \"cmdb-object-collect-card\": {\n moreIconLink: \"/cmdb-model-management\",\n showMoreIcon: true,\n },\n \"itsm-todos\": {\n moreIconLink: \"/itsc-workbench/workbench?activeKey=run\",\n showMoreIcon: true,\n },\n };\n return {\n ...defaultCardConfig,\n ...(moreLinkByCardTypeMap?.[cardType] ?? {}),\n };\n};\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.component--MVAoEnGN{height:100%}.editMask--nl6r17tE{position:absolute;left:0;right:0;top:45px;bottom:0;z-index:10}.deleteIcon--tNyE_ou4{position:absolute;right:15px;top:15px;cursor:pointer;font-size:16px;width:30px;height:30px;display:flex;justify-content:center;align-items:center;background:var(--color-fill-bg-container-1);color:var(--color-normal-text)}.deleteIcon--tNyE_ou4:hover{color:var(--color-error)}.deleteIcon--tNyE_ou4:active{color:var(--color-error-active)}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"component\": `component--MVAoEnGN`,\n\t\"editMask\": `editMask--nl6r17tE`,\n\t\"deleteIcon\": `deleteIcon--tNyE_ou4`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./styles.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./styles.css\";\n export default content && content.locals ? content.locals : undefined;\n","import React from \"react\";\nimport { wrapBrick } from \"@next-core/react-element\";\nimport type {\n EoSidebarMenuItem,\n EoSidebarMenuItemProps,\n} from \"@next-bricks/nav/sidebar/sidebar-menu-item\";\n\nimport { WorkbenchComponent } from \"../interfaces\";\n\nconst WrappedSidebarMenuItem = wrapBrick<\n EoSidebarMenuItem,\n EoSidebarMenuItemProps\n>(\"eo-sidebar-menu-item\");\n\nexport interface DraggableComponentMenuItemProps {\n component: WorkbenchComponent;\n onClick?(): void;\n onDragStart?(): void;\n onDragEnd?(): void;\n}\n\nexport function DraggableComponentMenuItem(\n props: DraggableComponentMenuItemProps\n): React.ReactElement {\n const { component, onClick, onDragStart, onDragEnd } = props;\n const { key, title } = component;\n\n return (\n <WrappedSidebarMenuItem\n icon={{\n lib: \"antd\",\n icon: \"menu\",\n }}\n title={title}\n draggable\n onDragStart={(e) => {\n e.dataTransfer.setData(\"text/plain\", key);\n onDragStart?.();\n }}\n onDragEnd={onDragEnd}\n onClick={onClick}\n data-testid=\"draggable-component-menu-item\"\n >\n {title}\n </WrappedSidebarMenuItem>\n );\n}\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../../node_modules/react-grid-layout/css/styles.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_1___ from \"-!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../../node_modules/react-resizable/css/styles.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.react-grid-item.react-grid-placeholder{background-color:#ddd}.react-grid-item.react-draggable-dragging{pointer-events:none}.react-grid-item.react-grid-placeholder.forbidden{background-color:red}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.react-grid-layout{position:relative;transition:height 200ms ease}.react-grid-item{transition:all 200ms ease;transition-property:left,top,width,height}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{transition:none;z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:0.2;transition-duration:100ms;z-index:2;-webkit-user-select:none;-o-user-select:none;user-select:none}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item > .react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item > .react-resizable-handle::after{content:\"\";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,0.4);border-bottom:2px solid rgba(0,0,0,0.4)}.react-resizable-hide > .react-resizable-handle{display:none}.react-grid-item > .react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item > .react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-w,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item > .react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-n,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item > .react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item > .react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.gridLayoutWrapper--DIttynOM{display:flex;height:100%;position:relative;width:100%}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP,.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR{overflow:auto}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP{width:200px;padding:6px 12px;overflow-y:scroll;box-shadow:1px 0 0 0 var(--palette-gray-5);background:var(--color-fill-bg-container-1);z-index:999;position:sticky;top:0}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentTitle--nKf9GEoj{font-size:16px;padding:6px 0;font-weight:500}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentList--s3XnAYsB{margin-top:6px}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentList--s3XnAYsB eo-checkbox::part(checkbox-wrapper){display:flex;flex-wrap:wrap;gap:8px}.gridLayoutWrapper--DIttynOM .componentWrapper--P8xsKOQP .componentList--s3XnAYsB eo-checkbox::part(checkbox-option){margin-left:0;width:100%;background:none}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR{flex:1;display:flex;flex-direction:column;align-items:center;width:100%}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .layout--kz28taJj,.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .actionsWrapper--vQro2Dyn{width:100%}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .layout--kz28taJj{flex-grow:1;width:100%}.gridLayoutWrapper--DIttynOM .layoutWrapper--pk1t3UAR .actionsWrapper--vQro2Dyn{position:sticky;top:0;z-index:999;margin-left:1px;display:flex;gap:8px;justify-content:flex-end;background:var(--color-fill-bg-container-1);padding:8px 12px;box-shadow:0 1px 1px 0 var(--palette-gray-5)}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"gridLayoutWrapper\": `gridLayoutWrapper--DIttynOM`,\n\t\"componentWrapper\": `componentWrapper--P8xsKOQP`,\n\t\"layoutWrapper\": `layoutWrapper--pk1t3UAR`,\n\t\"componentTitle\": `componentTitle--nKf9GEoj`,\n\t\"componentList\": `componentList--s3XnAYsB`,\n\t\"layout\": `layout--kz28taJj`,\n\t\"actionsWrapper\": `actionsWrapper--vQro2Dyn`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;"],"names":["module","exports","options","document","update","remove","styleElement","insertStyleElement","obj","css","supports","concat","media","needLayer","layer","length","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","_classPrivateGetter","s","r","a","WrappedIcon","wrapBrick","DroppableComponentLayoutItem","props","component","isEdit","onDelete","layout","React","className","styles","style","editMask","onMouseDown","e","preventDefault","ReactUseBrick","useBrick","cloneDeep","data","icon","lib","deleteIcon","onClick","defineElement","property","event","method","createDecorators","WrappedSidebarMenu","WrappedButton","WrappedDropdownButton","onActionClick","showDialog","unwrapProvider","getRealKey","key","includes","split","isAdmin","auth","getAuth","EoWorkbenchLayoutComponent","forwardRef","_ref","ref","cardTitle","layouts","layoutsProps","toolbarBricks","componentList","showSettingButton","onChange","onSave","onCancel","onSetting","ResponsiveReactGridLayout","useMemo","WidthProvider","Responsive","gridLayoutRef","useRef","layoutWrapperRef","layoutCacheRef","_setLayouts","useState","current","keyComponentMap","keyBy","cols","setCols","layoutWrapperStyle","setLayoutWrapperStyle","draggingComponentRef","setLayouts","useCallback","useImperativeHandle","handleChange","handleLayoutChange","currentLayout","some","v","isDraggable","currentLayoutsMap","isAllowAction","t","x","w","y","h","i","minH","matchItem","find","item","_currentLayout$t$minH","Math","max","undefined","map","type","random","handleClearLayout","handleSave","addComponent","newLayout","getLayoutDefaultCardConfig","position","cardWidth","pick","Infinity","handleDeleteItem","deletedItem","_layouts$filter","filter","renderChild","_component$position","Boolean","handleWatchLayoutSizeChange","_layoutWrapperRef$cur","_layoutWrapperRef$cur2","top","getClientRects","height","body","clientHeight","useEffect","window","addEventListener","removeEventListener","gridLayoutWrapper","componentWrapper","componentTitle","index","DraggableComponentMenuItem","onDragStart","onDragEnd","ReactUseMultipleBricks","layoutWrapper","actionsWrapper","handleCancel","handleSetting","btnText","actions","text","danger","action","title","content","then","handleActionClick","detail","draggableCancel","layoutItemStyles","breakpoints","lg","md","sm","rowHeight","isResizable","isDroppable","onDrag","handleDragCallback","oldItem","newItem","_gridLayoutRef$curren","placeholderDOM","querySelector","classList","contains","add","onDropDragOver","onDrop","onLayoutChange","onBreakpointChange","handleBreakpointChange","_newBreakpoint","newCols","_EoWorkbenchLayoutV","_componentRef","WeakMap","_A","_B","_C","_D","_E","_F","_G","_EoWorkbenchLayoutV2_brand","WeakSet","_handleChange","_H","_handleSave","_I","_handleCancel","_J","_handleSetting","_K","_handleActionClick","EoWorkbenchLayoutV2","ReactNextElement","constructor","arguments","_classPrivateMethodInitSpec","_classPrivateFieldInitSpec","_initProto","createRef","_init_cardTitle","_init_extra_cardTitle","_init_isEdit","_init_extra_isEdit","_init_layouts","_init_extra_layouts","_init_toolbarBricks","_init_extra_toolbarBricks","_init_componentList","_init_extra_componentList","_init_showSettingButton","_init_extra_showSettingButton","_init_changeEvent","_init_extra_changeEvent","this","_get_changeEvent","emit","_init_saveEvent","_init_extra_saveEvent","_get_saveEvent","_init_cancelEvent","_init_extra_cancelEvent","_get_cancelEvent","_init_settingEvent","_init_extra_settingEvent","_get_settingEvent","_init_actionClickEvent","_init_extra_actionClickEvent","_get_actionClickEvent","dispatchEvent","CustomEvent","_classPrivateFieldGet","_classPrivateFieldSet","_classPrivateFieldGet2","connectedCallback","display","super","render","_EoWorkbenchLayoutV2","_set_changeEvent","_set_saveEvent","_set_cancelEvent","_set_settingEvent","_set_actionClickEvent","c","_initClass","_applyDecs","shadowOptions","attribute","o","_","has","_checkInRHS","nonce","setAttribute","___CSS_LOADER_URL_IMPORT_0___","URL","___CSS_LOADER_EXPORT___","___CSS_LOADER_URL_REPLACEMENT_0___","push","id","setAttributes","insert","domAPI","locals","defaultCardConfig","showMoreIcon","cardBorderStyle","cardTitleFontSize","cardBorderWidth","cardBorderRadius","cardTitleColor","cardBorderColor","cardBgType","cardType","_moreLinkByCardTypeMa","moreLinkByCardTypeMap","moreIconLink","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","list","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","newObj","lastIdentifiers","newList","newLastIdentifiers","_i","_index","styleSheet","cssText","firstChild","appendChild","createTextNode","privateSet","WrappedSidebarMenuItem","draggable","dataTransfer","setData","memo","target","styleTarget","HTMLIFrameElement","contentDocument","head","getTarget","Error","element","createElement","attributes"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (()=>{var e,t,r,n,a,o,l,i,c,s,d,f,u,h,p,m,b,v,g,x,y,P,j,k,w,O={17934:(e,t,r)=>{Promise.all([r.e(1977),r.e(4758),r.e(9914),r.e(2353),r.e(9978),r.e(106),r.e(5612),r.e(4670),r.e(9946),r.e(3063),r.e(8317),r.e(9655),r.e(1512),r.e(6070),r.e(8623),r.e(8769),r.e(7966),r.e(1030),r.e(9859),r.e(6477),r.e(9523),r.e(8974),r.e(8361),r.e(9733),r.e(3357),r.e(7825),r.e(9113),r.e(9704),r.e(8609),r.e(7157)]).then(r.bind(r,93815))}},S={};function _(e){var t=S[e];if(void 0!==t)return t.exports;var r=S[e]={id:e,loaded:!1,exports:{}};return O[e].call(r.exports,r,r.exports,_),r.loaded=!0,r.exports}_.m=O,_.c=S,_.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return _.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,_.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);_.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,_.d(a,o),a},_.d=(e,t)=>{for(var r in t)_.o(t,r)&&!_.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},_.f={},_.e=e=>Promise.all(Object.keys(_.f).reduce(((t,r)=>(_.f[r](e,t),t)),[])),_.u=e=>"chunks/"+e+"."+{106:"46449f05",114:"e11973ce",478:"11360446",726:"4b35900f",871:"33388a7f",1045:"96a924fb",1122:"bdc6fc27",1512:"778c85af",1576:"de87244a",1651:"995950c9",1889:"9115a29a",1940:"51cab672",1977:"bd61f6b1",2052:"b5062857",2073:"6d61e70a",2252:"917ebce8",2277:"04841590",2353:"1a21de38",3063:"9f74f334",3144:"a8b62897",3171:"a0713c82",3426:"e0fa46bd",3933:"6f31d144",4041:"806ee88e",4306:"2eb5235d",4658:"6665a649",4670:"e99278b5",4758:"1b0e0b14",4837:"a78e6eb3",5139:"30dacc51",5250:"3ab2d263",5384:"2dc078c6",5399:"c6d3cd26",5552:"b8201181",5612:"4f32db4f",6070:"74d93326",6314:"de17c1ed",6519:"7f3a6524",6773:"37102d3b",7157:"e4553c8c",7218:"03bcfedb",7304:"83c68bc3",7434:"288c8782",7721:"a2ced46d",7733:"1d71636c",8097:"51f4faca",8317:"4cfa4505",8609:"3ffed8bd",8623:"d8f1c0ca",8989:"d6f1406a",9140:"8bdb5201",9515:"cb756ef8",9559:"569573af",9655:"d135a41f",9844:"9cb901e3",9914:"de323936",9946:"86c821ce",9978:"ff6624df"}[e]+".js",_.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),_.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@next-bricks/advanced:",_.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"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+a){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,_.nc&&l.setAttribute("nonce",_.nc),l.setAttribute("data-webpack",n+a),l.src=e),r[e]=[t];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(u);var a=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},u=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),i&&document.head.appendChild(l)}},_.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},_.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{_.S={};var e={},t={};_.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];_.o(_.S,r)||(_.S[r]={});var o=_.S[r],l="@next-bricks/advanced",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(6773).then((()=>()=>_(46773))))),i("@easyops-cn/brick-next-pipes","0.7.2",(()=>Promise.all([_.e(4306),_.e(1030),_.e(1916),_.e(5310)]).then((()=>()=>_(34306))))),i("@next-core/cook","2.5.8",(()=>Promise.all([_.e(1122),_.e(580)]).then((()=>()=>_(61122))))),i("@next-core/easyops-runtime","0.13.7",(()=>Promise.all([_.e(2252),_.e(1030),_.e(9523),_.e(8974),_.e(9733),_.e(9933),_.e(3357),_.e(1321),_.e(44),_.e(5310),_.e(5139)]).then((()=>()=>_(62252))))),i("@next-core/element","1.2.17",(()=>_.e(1045).then((()=>()=>_(21045))))),i("@next-core/http","1.2.12",(()=>_.e(8989).then((()=>()=>_(48989))))),i("@next-core/i18n/react","1.0.75",(()=>Promise.all([_.e(9733),_.e(7825),_.e(8097)]).then((()=>()=>_(88097))))),i("@next-core/i18n","1.0.75",(()=>Promise.all([_.e(9523),_.e(9733),_.e(671),_.e(5552)]).then((()=>()=>_(75552))))),i("@next-core/inject","1.0.53",(()=>Promise.all([_.e(1030),_.e(9933),_.e(2277)]).then((()=>()=>_(72277))))),i("@next-core/loader","1.6.15",(()=>_.e(5399).then((()=>()=>_(35399))))),i("@next-core/pipes","2.0.32",(()=>_.e(6519).then((()=>()=>_(76519))))),i("@next-core/react-element","1.0.36",(()=>Promise.all([_.e(8769),_.e(7966),_.e(114)]).then((()=>()=>_(20114))))),i("@next-core/react-runtime","1.7.13",(()=>Promise.all([_.e(8769),_.e(1030),_.e(9859),_.e(8974),_.e(4837)]).then((()=>()=>_(64837))))),i("@next-core/runtime","1.60.0",(()=>Promise.all([_.e(9140),_.e(1030),_.e(9523),_.e(9733),_.e(3357),_.e(1321),_.e(44),_.e(1916),_.e(668)]).then((()=>()=>_(19140))))),i("@next-core/supply","2.3.5",(()=>Promise.all([_.e(1030),_.e(9933),_.e(1916),_.e(9559)]).then((()=>()=>_(49559))))),i("@next-core/theme","1.5.4",(()=>Promise.all([_.e(1889),_.e(2052)]).then((()=>()=>_(51889))))),i("@next-core/utils/general","1.7.33",(()=>_.e(871).then((()=>()=>_(40871))))),i("@next-core/utils/storyboard","1.7.33",(()=>Promise.all([_.e(9523),_.e(1321),_.e(3933)]).then((()=>()=>_(13933))))),i("history","4.10.1",(()=>_.e(5384).then((()=>()=>_(65384))))),i("i18next-browser-languagedetector","7.2.2",(()=>_.e(726).then((()=>()=>_(50726))))),i("i18next","22.5.1",(()=>_.e(7304).then((()=>()=>_(47304))))),i("js-yaml","3.14.1",(()=>_.e(9515).then((()=>()=>_(19515))))),i("lodash","4.17.21",(()=>_.e(5250).then((()=>()=>_(45250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(61329))))),i("moment","2.30.1",(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(99420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([_.e(3144),_.e(8769)]).then((()=>()=>_(43144))))),i("react-i18next","12.3.1",(()=>Promise.all([_.e(7434),_.e(8769)]).then((()=>()=>_(97434))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>_.e(4041).then((()=>()=>_(14041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;_.g.importScripts&&(e=_.g.location+"");var t=_.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(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),_.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 s,d,f=l<e.length?(typeof e[l])[0]:"";if(o>=t.length||"o"==(d=(typeof(s=t[o]))[0]))return!c||("u"==f?l>r&&!n:""==f!=n);if("u"==d){if(!c||"u"!=f)return!1}else if(c)if(f==d)if(l<=r){if(s!=e[l])return!1}else{if(n?s>e[l]:s<e[l])return!1;s!=e[l]&&(c=!1)}else if("s"!=f&&"n"!=f){if(n||l<=r)return!1;c=!1,l--}else{if(l<=r||d<f!=n)return!1;c=!1}else"s"!=f&&"n"!=f&&(c=!1,l--)}}var u=[],h=u.pop.bind(u);for(o=1;o<e.length;o++){var p=e[o];u.push(1==p?h()|h():2==p?h()&h():p?i(p,t):!h())}return!!h()},c=(e,t)=>e&&_.o(e,t),s=e=>(e.loaded=1,e.get()),d=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),f=(e,t,r,n)=>{var a=n?d(e[t]):e[t];return(t=Object.keys(a).reduce(((e,t)=>!i(r,t)||e&&!o(e,t)?e:t),0))&&a[t]},u=(e,t,r)=>{var n=r?d(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(", ")},m=e=>{throw new Error(e)},b=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},g=(e,t,r)=>r?r():((e,t)=>m("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),x=(v=e=>function(t,r,n,a,o){var l=_.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,_.S[t],r,!1,a,o)):e(t,_.S[t],r,n,a,o)})(((e,t,r,n,a,o)=>{if(!c(t,r))return g(e,r,o);var l=f(t,r,a,n);return l?s(l):o?o():void m(p(t,e,r,a,n))})),y=v(((e,t,r,n,a,o)=>{if(!c(t,r))return g(e,r,o);var l=u(t,r,n);return i(a,l)||b(h(t,r,l,a)),s(t[r][l])})),P={},j={18769:()=>x("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>_.e(4041).then((()=>()=>_(14041))))),6192:()=>x("default","@next-core/element",!1,[1,1,2,17],(()=>_.e(3426).then((()=>()=>_(21045))))),59435:()=>x("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>_.e(3144).then((()=>()=>_(43144))))),41030:()=>y("default","lodash",!1,[1,4,17,21],(()=>_.e(5250).then((()=>()=>_(45250))))),99859:()=>x("default","@next-core/react-element",!1,[1,1,0,36],(()=>Promise.all([_.e(7966),_.e(7733)]).then((()=>()=>_(20114))))),76477:()=>y("default","@next-core/theme",!1,[1,1,5,4],(()=>_.e(1889).then((()=>()=>_(51889))))),49523:()=>y("default","@next-core/utils/general",!1,[0],(()=>_.e(871).then((()=>()=>_(40871))))),18974:()=>y("default","@next-core/runtime",!1,[1,1,60,0],(()=>Promise.all([_.e(9140),_.e(1030),_.e(9523),_.e(9733),_.e(3357),_.e(1321),_.e(44),_.e(1916),_.e(668)]).then((()=>()=>_(19140))))),88361:()=>x("default","@next-core/react-runtime",!1,[1,1,7,13],(()=>Promise.all([_.e(1030),_.e(8974),_.e(7218)]).then((()=>()=>_(64837))))),99733:()=>y("default","@next-core/i18n",!1,[0],(()=>Promise.all([_.e(9523),_.e(671),_.e(3171)]).then((()=>()=>_(75552))))),13357:()=>y("default","@next-core/http",!1,[1,1,2,12],(()=>_.e(8989).then((()=>()=>_(48989))))),47825:()=>y("default","react-i18next",!1,[1,12,3,1],(()=>Promise.all([_.e(7434),_.e(8769)]).then((()=>()=>_(97434))))),69113:()=>y("default","@next-core/easyops-runtime",!1,[0],(()=>Promise.all([_.e(2252),_.e(1030),_.e(8974),_.e(9733),_.e(9933),_.e(3357),_.e(1321),_.e(44),_.e(5310)]).then((()=>()=>_(62252))))),69704:()=>y("default","@next-core/i18n/react",!1,[0],(()=>Promise.all([_.e(7825),_.e(478)]).then((()=>()=>_(88097))))),91916:()=>y("default","moment",!1,[0],(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(99420))))),55310:()=>y("default","js-yaml",!1,[0],(()=>_.e(9515).then((()=>()=>_(19515))))),40580:()=>y("default","@babel/parser",!1,[0],(()=>_.e(6773).then((()=>()=>_(46773))))),59933:()=>y("default","@next-core/pipes",!1,[0],(()=>_.e(6519).then((()=>()=>_(76519))))),71321:()=>y("default","@next-core/cook",!1,[0],(()=>Promise.all([_.e(1122),_.e(580)]).then((()=>()=>_(61122))))),11732:()=>y("default","history",!1,[0],(()=>_.e(5384).then((()=>()=>_(65384))))),85801:()=>y("default","@next-core/utils/storyboard",!1,[0],(()=>_.e(6314).then((()=>()=>_(13933))))),848:()=>y("default","i18next-browser-languagedetector",!1,[0],(()=>_.e(726).then((()=>()=>_(50726))))),75630:()=>y("default","i18next",!1,[0],(()=>_.e(7304).then((()=>()=>_(47304))))),58377:()=>y("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([_.e(4306),_.e(1030),_.e(1916),_.e(5310)]).then((()=>()=>_(34306))))),29283:()=>y("default","@next-core/inject",!1,[0],(()=>Promise.all([_.e(9933),_.e(4658)]).then((()=>()=>_(72277))))),45599:()=>y("default","@next-core/loader",!1,[0],(()=>_.e(5399).then((()=>()=>_(35399))))),71858:()=>y("default","moment/locale/zh-cn.js",!1,[0],(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(61329))))),94167:()=>y("default","@next-core/supply",!1,[0],(()=>Promise.all([_.e(9933),_.e(1940)]).then((()=>()=>_(49559)))))},k={44:[11732,85801],580:[40580],668:[29283,45599,71858,94167],671:[848,75630],1030:[41030],1321:[71321],1916:[91916],3357:[13357],5310:[55310],6477:[76477],6519:[58377],7825:[47825],7966:[6192,59435],8361:[88361],8769:[18769],8974:[18974],9113:[69113],9523:[49523],9704:[69704],9733:[99733],9859:[99859],9933:[59933]},w={},_.f.consumes=(e,t)=>{_.o(k,e)&&k[e].forEach((e=>{if(_.o(P,e))return t.push(P[e]);if(!w[e]){var r=t=>{P[e]=0,_.m[e]=r=>{delete _.c[e],r.exports=t()}};w[e]=!0;var n=t=>{delete P[e],_.m[e]=r=>{throw delete _.c[e],t}};try{var a=j[e]();a.then?t.push(P[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{_.b=document.baseURI||self.location.href;var e={8792:0};_.f.j=(t,r)=>{var n=_.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(030|321|916)|6(477|68|71)|8(361|769|974)|9((11|52|73|93)3|704|859)|3357|44|5310|580|7825|7966)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=_.p+_.u(t),l=new Error;_.l(o,(r=>{if(_.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)_.o(l,n)&&(_.m[n]=l[n]);i&&i(_)}for(t&&t(r);c<o.length;c++)a=o[c],_.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_advanced=globalThis.webpackChunk_next_bricks_advanced||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),_.nc=void 0,_(17934)})();
2
- //# sourceMappingURL=main.1f8c33e1.js.map
1
+ (()=>{var e,t,r,n,a,o,l,i,c,s,d,u,f,h,p,m,b,v,g,x,y,P,j,k,w,O={17934:(e,t,r)=>{Promise.all([r.e(1977),r.e(4758),r.e(9914),r.e(2353),r.e(9978),r.e(106),r.e(5612),r.e(4670),r.e(9946),r.e(3063),r.e(8317),r.e(9655),r.e(1512),r.e(6070),r.e(8623),r.e(8769),r.e(7966),r.e(1030),r.e(9859),r.e(6477),r.e(9523),r.e(8974),r.e(8361),r.e(9733),r.e(3357),r.e(7825),r.e(9113),r.e(9704),r.e(8609),r.e(1833)]).then(r.bind(r,39643))}},S={};function _(e){var t=S[e];if(void 0!==t)return t.exports;var r=S[e]={id:e,loaded:!1,exports:{}};return O[e].call(r.exports,r,r.exports,_),r.loaded=!0,r.exports}_.m=O,_.c=S,_.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return _.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,_.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);_.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,_.d(a,o),a},_.d=(e,t)=>{for(var r in t)_.o(t,r)&&!_.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},_.f={},_.e=e=>Promise.all(Object.keys(_.f).reduce(((t,r)=>(_.f[r](e,t),t)),[])),_.u=e=>"chunks/"+e+"."+{106:"46449f05",114:"e11973ce",478:"11360446",726:"4b35900f",871:"33388a7f",1045:"96a924fb",1122:"bdc6fc27",1512:"778c85af",1576:"de87244a",1651:"995950c9",1833:"c795d21f",1889:"9115a29a",1940:"51cab672",1977:"bd61f6b1",2052:"b5062857",2073:"6d61e70a",2252:"917ebce8",2277:"04841590",2353:"1a21de38",3063:"9f74f334",3144:"a8b62897",3171:"a0713c82",3426:"e0fa46bd",3933:"6f31d144",4041:"806ee88e",4306:"2eb5235d",4658:"6665a649",4670:"e99278b5",4758:"1b0e0b14",4837:"a78e6eb3",5139:"30dacc51",5250:"3ab2d263",5384:"2dc078c6",5399:"c6d3cd26",5552:"b8201181",5612:"4f32db4f",6070:"74d93326",6314:"de17c1ed",6519:"7f3a6524",6773:"37102d3b",7218:"03bcfedb",7304:"83c68bc3",7434:"288c8782",7721:"a2ced46d",7733:"1d71636c",8097:"51f4faca",8317:"4cfa4505",8609:"3ffed8bd",8623:"d8f1c0ca",8989:"d6f1406a",9140:"8bdb5201",9515:"cb756ef8",9559:"569573af",9655:"d135a41f",9844:"9cb901e3",9914:"de323936",9946:"86c821ce",9978:"ff6624df"}[e]+".js",_.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),_.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@next-bricks/advanced:",_.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"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+a){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,_.nc&&l.setAttribute("nonce",_.nc),l.setAttribute("data-webpack",n+a),l.src=e),r[e]=[t];var u=(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(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),i&&document.head.appendChild(l)}},_.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},_.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{_.S={};var e={},t={};_.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];_.o(_.S,r)||(_.S[r]={});var o=_.S[r],l="@next-bricks/advanced",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(6773).then((()=>()=>_(46773))))),i("@easyops-cn/brick-next-pipes","0.7.2",(()=>Promise.all([_.e(4306),_.e(1030),_.e(1916),_.e(5310)]).then((()=>()=>_(34306))))),i("@next-core/cook","2.5.8",(()=>Promise.all([_.e(1122),_.e(580)]).then((()=>()=>_(61122))))),i("@next-core/easyops-runtime","0.13.7",(()=>Promise.all([_.e(2252),_.e(1030),_.e(9523),_.e(8974),_.e(9733),_.e(9933),_.e(3357),_.e(1321),_.e(44),_.e(5310),_.e(5139)]).then((()=>()=>_(62252))))),i("@next-core/element","1.2.17",(()=>_.e(1045).then((()=>()=>_(21045))))),i("@next-core/http","1.2.12",(()=>_.e(8989).then((()=>()=>_(48989))))),i("@next-core/i18n/react","1.0.75",(()=>Promise.all([_.e(9733),_.e(7825),_.e(8097)]).then((()=>()=>_(88097))))),i("@next-core/i18n","1.0.75",(()=>Promise.all([_.e(9523),_.e(9733),_.e(671),_.e(5552)]).then((()=>()=>_(75552))))),i("@next-core/inject","1.0.53",(()=>Promise.all([_.e(1030),_.e(9933),_.e(2277)]).then((()=>()=>_(72277))))),i("@next-core/loader","1.6.15",(()=>_.e(5399).then((()=>()=>_(35399))))),i("@next-core/pipes","2.0.32",(()=>_.e(6519).then((()=>()=>_(76519))))),i("@next-core/react-element","1.0.36",(()=>Promise.all([_.e(8769),_.e(7966),_.e(114)]).then((()=>()=>_(20114))))),i("@next-core/react-runtime","1.7.13",(()=>Promise.all([_.e(8769),_.e(1030),_.e(9859),_.e(8974),_.e(4837)]).then((()=>()=>_(64837))))),i("@next-core/runtime","1.60.0",(()=>Promise.all([_.e(9140),_.e(1030),_.e(9523),_.e(9733),_.e(3357),_.e(1321),_.e(44),_.e(1916),_.e(668)]).then((()=>()=>_(19140))))),i("@next-core/supply","2.3.5",(()=>Promise.all([_.e(1030),_.e(9933),_.e(1916),_.e(9559)]).then((()=>()=>_(49559))))),i("@next-core/theme","1.5.4",(()=>Promise.all([_.e(1889),_.e(2052)]).then((()=>()=>_(51889))))),i("@next-core/utils/general","1.7.33",(()=>_.e(871).then((()=>()=>_(40871))))),i("@next-core/utils/storyboard","1.7.33",(()=>Promise.all([_.e(9523),_.e(1321),_.e(3933)]).then((()=>()=>_(13933))))),i("history","4.10.1",(()=>_.e(5384).then((()=>()=>_(65384))))),i("i18next-browser-languagedetector","7.2.2",(()=>_.e(726).then((()=>()=>_(50726))))),i("i18next","22.5.1",(()=>_.e(7304).then((()=>()=>_(47304))))),i("js-yaml","3.14.1",(()=>_.e(9515).then((()=>()=>_(19515))))),i("lodash","4.17.21",(()=>_.e(5250).then((()=>()=>_(45250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(61329))))),i("moment","2.30.1",(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(99420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([_.e(3144),_.e(8769)]).then((()=>()=>_(43144))))),i("react-i18next","12.3.1",(()=>Promise.all([_.e(7434),_.e(8769)]).then((()=>()=>_(97434))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>_.e(4041).then((()=>()=>_(14041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;_.g.importScripts&&(e=_.g.location+"");var t=_.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(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),_.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 s,d,u=l<e.length?(typeof e[l])[0]:"";if(o>=t.length||"o"==(d=(typeof(s=t[o]))[0]))return!c||("u"==u?l>r&&!n:""==u!=n);if("u"==d){if(!c||"u"!=u)return!1}else if(c)if(u==d)if(l<=r){if(s!=e[l])return!1}else{if(n?s>e[l]:s<e[l])return!1;s!=e[l]&&(c=!1)}else if("s"!=u&&"n"!=u){if(n||l<=r)return!1;c=!1,l--}else{if(l<=r||d<u!=n)return!1;c=!1}else"s"!=u&&"n"!=u&&(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&&_.o(e,t),s=e=>(e.loaded=1,e.get()),d=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),u=(e,t,r,n)=>{var a=n?d(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?d(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(", ")},m=e=>{throw new Error(e)},b=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},g=(e,t,r)=>r?r():((e,t)=>m("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),x=(v=e=>function(t,r,n,a,o){var l=_.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,_.S[t],r,!1,a,o)):e(t,_.S[t],r,n,a,o)})(((e,t,r,n,a,o)=>{if(!c(t,r))return g(e,r,o);var l=u(t,r,a,n);return l?s(l):o?o():void m(p(t,e,r,a,n))})),y=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)||b(h(t,r,l,a)),s(t[r][l])})),P={},j={18769:()=>x("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>_.e(4041).then((()=>()=>_(14041))))),6192:()=>x("default","@next-core/element",!1,[1,1,2,17],(()=>_.e(3426).then((()=>()=>_(21045))))),59435:()=>x("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>_.e(3144).then((()=>()=>_(43144))))),41030:()=>y("default","lodash",!1,[1,4,17,21],(()=>_.e(5250).then((()=>()=>_(45250))))),99859:()=>x("default","@next-core/react-element",!1,[1,1,0,36],(()=>Promise.all([_.e(7966),_.e(7733)]).then((()=>()=>_(20114))))),76477:()=>y("default","@next-core/theme",!1,[1,1,5,4],(()=>_.e(1889).then((()=>()=>_(51889))))),49523:()=>y("default","@next-core/utils/general",!1,[0],(()=>_.e(871).then((()=>()=>_(40871))))),18974:()=>y("default","@next-core/runtime",!1,[1,1,60,0],(()=>Promise.all([_.e(9140),_.e(1030),_.e(9523),_.e(9733),_.e(3357),_.e(1321),_.e(44),_.e(1916),_.e(668)]).then((()=>()=>_(19140))))),88361:()=>x("default","@next-core/react-runtime",!1,[1,1,7,13],(()=>Promise.all([_.e(1030),_.e(8974),_.e(7218)]).then((()=>()=>_(64837))))),99733:()=>y("default","@next-core/i18n",!1,[0],(()=>Promise.all([_.e(9523),_.e(671),_.e(3171)]).then((()=>()=>_(75552))))),13357:()=>y("default","@next-core/http",!1,[1,1,2,12],(()=>_.e(8989).then((()=>()=>_(48989))))),47825:()=>y("default","react-i18next",!1,[1,12,3,1],(()=>Promise.all([_.e(7434),_.e(8769)]).then((()=>()=>_(97434))))),69113:()=>y("default","@next-core/easyops-runtime",!1,[0],(()=>Promise.all([_.e(2252),_.e(1030),_.e(8974),_.e(9733),_.e(9933),_.e(3357),_.e(1321),_.e(44),_.e(5310)]).then((()=>()=>_(62252))))),69704:()=>y("default","@next-core/i18n/react",!1,[0],(()=>Promise.all([_.e(7825),_.e(478)]).then((()=>()=>_(88097))))),91916:()=>y("default","moment",!1,[0],(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(99420))))),55310:()=>y("default","js-yaml",!1,[0],(()=>_.e(9515).then((()=>()=>_(19515))))),40580:()=>y("default","@babel/parser",!1,[0],(()=>_.e(6773).then((()=>()=>_(46773))))),59933:()=>y("default","@next-core/pipes",!1,[0],(()=>_.e(6519).then((()=>()=>_(76519))))),71321:()=>y("default","@next-core/cook",!1,[0],(()=>Promise.all([_.e(1122),_.e(580)]).then((()=>()=>_(61122))))),11732:()=>y("default","history",!1,[0],(()=>_.e(5384).then((()=>()=>_(65384))))),85801:()=>y("default","@next-core/utils/storyboard",!1,[0],(()=>_.e(6314).then((()=>()=>_(13933))))),848:()=>y("default","i18next-browser-languagedetector",!1,[0],(()=>_.e(726).then((()=>()=>_(50726))))),75630:()=>y("default","i18next",!1,[0],(()=>_.e(7304).then((()=>()=>_(47304))))),58377:()=>y("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([_.e(4306),_.e(1030),_.e(1916),_.e(5310)]).then((()=>()=>_(34306))))),29283:()=>y("default","@next-core/inject",!1,[0],(()=>Promise.all([_.e(9933),_.e(4658)]).then((()=>()=>_(72277))))),45599:()=>y("default","@next-core/loader",!1,[0],(()=>_.e(5399).then((()=>()=>_(35399))))),71858:()=>y("default","moment/locale/zh-cn.js",!1,[0],(()=>Promise.all([_.e(7721),_.e(9844)]).then((()=>()=>_(61329))))),94167:()=>y("default","@next-core/supply",!1,[0],(()=>Promise.all([_.e(9933),_.e(1940)]).then((()=>()=>_(49559)))))},k={44:[11732,85801],580:[40580],668:[29283,45599,71858,94167],671:[848,75630],1030:[41030],1321:[71321],1916:[91916],3357:[13357],5310:[55310],6477:[76477],6519:[58377],7825:[47825],7966:[6192,59435],8361:[88361],8769:[18769],8974:[18974],9113:[69113],9523:[49523],9704:[69704],9733:[99733],9859:[99859],9933:[59933]},w={},_.f.consumes=(e,t)=>{_.o(k,e)&&k[e].forEach((e=>{if(_.o(P,e))return t.push(P[e]);if(!w[e]){var r=t=>{P[e]=0,_.m[e]=r=>{delete _.c[e],r.exports=t()}};w[e]=!0;var n=t=>{delete P[e],_.m[e]=r=>{throw delete _.c[e],t}};try{var a=j[e]();a.then?t.push(P[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{_.b=document.baseURI||self.location.href;var e={8792:0};_.f.j=(t,r)=>{var n=_.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(030|321|916)|6(477|68|71)|8(361|769|974)|9((11|52|73|93)3|704|859)|3357|44|5310|580|7825|7966)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=_.p+_.u(t),l=new Error;_.l(o,(r=>{if(_.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)_.o(l,n)&&(_.m[n]=l[n]);i&&i(_)}for(t&&t(r);c<o.length;c++)a=o[c],_.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_advanced=globalThis.webpackChunk_next_bricks_advanced||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),_.nc=void 0,_(17934)})();
2
+ //# sourceMappingURL=main.bf101d8f.js.map