@next-bricks/vs 1.16.6 → 1.16.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/bricks.json +1 -1
  2. package/dist/chunks/{114.3ead0011.js → 114.1e1ed097.js} +2 -2
  3. package/dist/chunks/{114.3ead0011.js.map → 114.1e1ed097.js.map} +1 -1
  4. package/dist/chunks/{3171.8c3143c3.js → 3171.73656b72.js} +2 -2
  5. package/dist/chunks/{3171.8c3143c3.js.map → 3171.73656b72.js.map} +1 -1
  6. package/dist/chunks/{3933.986f0e93.js → 3933.ef8099f3.js} +2 -2
  7. package/dist/chunks/{3933.986f0e93.js.map → 3933.ef8099f3.js.map} +1 -1
  8. package/dist/chunks/{4539.d5255034.js → 4539.e571397e.js} +3 -3
  9. package/dist/chunks/{4539.d5255034.js.map → 4539.e571397e.js.map} +1 -1
  10. package/dist/chunks/4837.84976d7d.js +2 -0
  11. package/dist/chunks/{4837.72d944ed.js.map → 4837.84976d7d.js.map} +1 -1
  12. package/dist/chunks/{5552.6e6afcde.js → 5552.01d3b722.js} +2 -2
  13. package/dist/chunks/{5552.6e6afcde.js.map → 5552.01d3b722.js.map} +1 -1
  14. package/dist/chunks/{6314.f8b3f142.js → 6314.0c419cba.js} +2 -2
  15. package/dist/chunks/{6314.f8b3f142.js.map → 6314.0c419cba.js.map} +1 -1
  16. package/dist/chunks/{2677.30b5c198.js → 7094.55027c1e.js} +2 -2
  17. package/dist/chunks/{2677.30b5c198.js.map → 7094.55027c1e.js.map} +1 -1
  18. package/dist/chunks/7218.a66d381f.js +2 -0
  19. package/dist/chunks/{7218.ff3b87f0.js.map → 7218.a66d381f.js.map} +1 -1
  20. package/dist/chunks/7242.057e2fe0.js +2 -0
  21. package/dist/chunks/{7242.bb0466da.js.map → 7242.057e2fe0.js.map} +1 -1
  22. package/dist/chunks/{7733.851be6e5.js → 7733.6944ed7b.js} +2 -2
  23. package/dist/chunks/{7733.851be6e5.js.map → 7733.6944ed7b.js.map} +1 -1
  24. package/dist/chunks/{871.6d5e77c9.js → 871.63a9fc57.js} +2 -2
  25. package/dist/chunks/{871.6d5e77c9.js.map → 871.63a9fc57.js.map} +1 -1
  26. package/dist/chunks/{9140.ced6af24.js → 9140.dc58d876.js} +3 -3
  27. package/dist/chunks/9140.dc58d876.js.map +1 -0
  28. package/dist/chunks/code-editor.a7f1eca7.js +2 -0
  29. package/dist/chunks/{code-editor.a5c7d465.js.map → code-editor.a7f1eca7.js.map} +1 -1
  30. package/dist/chunks/main.10e09668.js +2 -0
  31. package/dist/chunks/{main.9b9421ac.js.map → main.10e09668.js.map} +1 -1
  32. package/dist/{index.46d45d07.js → index.7df8e225.js} +2 -2
  33. package/dist/{index.46d45d07.js.map → index.7df8e225.js.map} +1 -1
  34. package/package.json +4 -4
  35. package/dist/chunks/4837.72d944ed.js +0 -2
  36. package/dist/chunks/7218.ff3b87f0.js +0 -2
  37. package/dist/chunks/7242.bb0466da.js +0 -2
  38. package/dist/chunks/9140.ced6af24.js.map +0 -1
  39. package/dist/chunks/code-editor.a5c7d465.js +0 -2
  40. package/dist/chunks/main.9b9421ac.js +0 -2
  41. /package/dist/chunks/{4539.d5255034.js.LICENSE.txt → 4539.e571397e.js.LICENSE.txt} +0 -0
  42. /package/dist/chunks/{9140.ced6af24.js.LICENSE.txt → 9140.dc58d876.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_vs=globalThis.webpackChunk_next_bricks_vs||[]).push([[3722],{2580:(e,t,n)=>{n.r(t),n.d(t,{CodeEditor:()=>Et,CodeEditorComponent:()=>un});var i=n(4635),s=n(918),r=n(6902),o=n(5536),a=n(6121),l=n(829),c=n(2740),u=n(8769),h=n.n(u),d=n(6192),g=n(9005),m=n(9859),p=n(7390),k=n(140),f=n(1361),A=n(426),v=n(210),b=n(6197),y=n(3909),w=n(2257),M=n(3135),C=n(5310),E=n.n(C),x=(n(6477),n(563)),W=n(7137),S=n(4046),L=n(4804),N=n(4102),B=n(9704),P=n(8182),_=n(3373),z=n.n(_),R=n(7726),O=n(2414),I=(n(3569),n(1968)),V=n(1836),D=n(5087),F=n(5808),T=n(896),H=n(2066),K=n(8546),Y=n(6984),q=n(4794),j=n(5262);let J,U,X,$,Z,G,Q,ee,te,ne,ie,se,re,oe,ae,le,ce,ue,he,de,ge,me,pe,ke,fe,Ae,ve,be,ye,we,Me,Ce,Ee,xe,We,Se,Le,Ne,Be,Pe,_e,ze,Re,Oe,Ie,Ve,De,Fe,Te,He,Ke,Ye,qe,je,Je,Ue,Xe,$e,Ze,Ge,Qe,et,tt,nt,it,st,rt,ot,at;var lt,ct,ut;(0,B.initializeReactI18n)(P.NS,P.I),(0,b.kz)(v),(0,y.kz)(v),(0,w.kz)(v,"brick_next_yaml"),(0,M.kz)(v),(0,T.kz)(v),(0,H.kz)(v),(0,K.kz)(v);const ht=["cel_yaml","cel_str"],dt=["cel",...ht];for(const e of ht)v.languages.registerCompletionItemProvider(e,{triggerCharacters:["<"],provideCompletionItems:Y.ix});for(const e of dt)v.languages.registerCompletionItemProvider(e,(0,Y.ZY)(e));const{enabled:gt,...mt}=null!==(lt=null===(ct=(0,k.getRuntime)())||void 0===ct?void 0:ct.getMiscSettings().globalMonacoEditorCopilotOptions)&&void 0!==lt?lt:{};gt&&v.languages.registerInlineCompletionsProvider(R.F,new R.$({...mt,async request(e){var t;let{model:n,temperature:i,system:s,prompt:r,signal:o}=e;return null===(t=(await(0,O.b)({model:n,temperature:i,enableSensitiveWordsFilter:!1,stream:!1,messages:[...s?[{role:"system",content:s}]:[],{role:"user",content:r}]},{signal:o,interceptorParams:{ignoreLoadingBar:!0}})).choices)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.message)||void 0===t||null===(t=t.content)||void 0===t?void 0:t.trim()},HttpAbortError:f.HttpAbortError}));const{defineElement:pt,property:kt,event:ft}=(0,d.createDecorators)(),At=(0,m.wrapBrick)("eo-form-item"),vt=(0,m.wrapBrick)("eo-tooltip"),bt=(0,m.wrapBrick)("eo-icon"),yt=(0,g.unwrapProvider)("basic.copy-to-clipboard"),wt=(0,g.unwrapProvider)("basic.show-notification"),Mt="spell_check",Ct="brick_next_yaml_lint";let Et;var xt=new WeakMap,Wt=new WeakMap,St=new WeakMap,Lt=new WeakMap,Nt=new WeakMap,Bt=new WeakMap,Pt=new WeakMap,_t=new WeakMap,zt=new WeakMap,Rt=new WeakMap,Ot=new WeakMap,It=new WeakMap,Vt=new WeakMap,Dt=new WeakMap,Ft=new WeakMap,Tt=new WeakMap,Ht=new WeakMap,Kt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,jt=new WeakMap,Jt=new WeakMap,Ut=new WeakMap,Xt=new WeakMap,$t=new WeakMap,Zt=new WeakMap,Gt=new WeakMap,Qt=new WeakMap,en=new WeakMap,tn=new WeakSet,nn=new WeakMap,sn=new WeakMap,rn=new WeakMap,on=new WeakMap,an=new WeakMap,ln=new WeakMap;class cn extends A.N{constructor(){super(...arguments),(0,i.A)(this,tn),(0,s.A)(this,xt,U(this)),(0,s.A)(this,Wt,(X(this),$(this))),(0,s.A)(this,St,(Z(this),G(this))),(0,s.A)(this,Lt,(Q(this),ee(this))),(0,s.A)(this,Nt,(te(this),ne(this))),(0,s.A)(this,Bt,(ie(this),se(this))),(0,s.A)(this,Pt,(re(this),oe(this))),(0,s.A)(this,_t,(ae(this),le(this))),(0,s.A)(this,zt,(ce(this),ue(this))),(0,s.A)(this,Rt,(he(this),de(this))),(0,s.A)(this,Ot,(ge(this),me(this))),(0,s.A)(this,It,(pe(this),ke(this))),(0,s.A)(this,Vt,(fe(this),Ae(this))),(0,s.A)(this,Dt,(ve(this),be(this))),(0,s.A)(this,Ft,(ye(this),we(this))),(0,s.A)(this,Tt,(Me(this),Ce(this))),(0,s.A)(this,Ht,(Ee(this),xe(this))),(0,s.A)(this,Kt,(We(this),Se(this))),(0,s.A)(this,Yt,(Le(this),Ne(this))),(0,s.A)(this,qt,(Be(this),Pe(this))),(0,s.A)(this,jt,(_e(this),ze(this))),(0,s.A)(this,Jt,(Re(this),Oe(this))),(0,s.A)(this,Ut,(Ie(this),Ve(this))),(0,s.A)(this,Xt,(De(this),Fe(this))),(0,s.A)(this,$t,(Te(this),He(this))),(0,s.A)(this,Zt,(Ke(this),Ye(this))),(0,s.A)(this,Gt,(qe(this),je(this))),(0,s.A)(this,Qt,(Je(this),Ue(this))),(0,s.A)(this,en,(Xe(this),$e(this))),(0,s.A)(this,nn,(Qe(this),et(this))),(0,s.A)(this,sn,(it(this),e=>{var t;this.value=e,null===(t=this.getFormElement())||void 0===t||t.formStore.onChange(this.name,e),(0,o.A)(tn,this,Ze).emit(e)})),(0,s.A)(this,rn,(e=>{(0,o.A)(tn,this,tt).emit(e)})),(0,s.A)(this,on,st(this)),(0,s.A)(this,an,(at(this),e=>{(0,o.A)(tn,this,rt).emit(e)})),(0,s.A)(this,ln,(e=>{if("brick_next_yaml"===this.language||"yaml"===this.language)try{E().load(e)}catch{return"请填写正确的格式"}return""}))}get name(){return(0,l.A)(xt,this)}set name(e){(0,a.A)(xt,this,e)}get label(){return(0,l.A)(Wt,this)}set label(e){(0,a.A)(Wt,this,e)}get value(){return(0,l.A)(St,this)}set value(e){(0,a.A)(St,this,e)}get language(){return(0,l.A)(Lt,this)}set language(e){(0,a.A)(Lt,this,e)}get theme(){return(0,l.A)(Nt,this)}set theme(e){(0,a.A)(Nt,this,e)}get required(){return(0,l.A)(Bt,this)}set required(e){(0,a.A)(Bt,this,e)}get readOnly(){return(0,l.A)(Pt,this)}set readOnly(e){(0,a.A)(Pt,this,e)}get automaticLayout(){return(0,l.A)(_t,this)}set automaticLayout(e){(0,a.A)(_t,this,e)}get minLines(){return(0,l.A)(zt,this)}set minLines(e){(0,a.A)(zt,this,e)}get completers(){return(0,l.A)(Rt,this)}set completers(e){(0,a.A)(Rt,this,e)}get advancedCompleters(){return(0,l.A)(Ot,this)}set advancedCompleters(e){(0,a.A)(Ot,this,e)}get markers(){return(0,l.A)(It,this)}set markers(e){(0,a.A)(It,this,e)}get links(){return(0,l.A)(Vt,this)}set links(e){(0,a.A)(Vt,this,e)}get maxLines(){return(0,l.A)(Dt,this)}set maxLines(e){(0,a.A)(Dt,this,e)}get height(){return(0,l.A)(Ft,this)}set height(e){(0,a.A)(Ft,this,e)}get message(){return(0,l.A)(Tt,this)}set message(e){(0,a.A)(Tt,this,e)}get placeholder(){return(0,l.A)(Ht,this)}set placeholder(e){(0,a.A)(Ht,this,e)}get showExpandButton(){return(0,l.A)(Kt,this)}set showExpandButton(e){(0,a.A)(Kt,this,e)}get lineNumbers(){return(0,l.A)(Yt,this)}set lineNumbers(e){(0,a.A)(Yt,this,e)}get tokenConfig(){return(0,l.A)(qt,this)}set tokenConfig(e){(0,a.A)(qt,this,e)}get customValidationInBrickNextYaml(){return(0,l.A)(jt,this)}set customValidationInBrickNextYaml(e){(0,a.A)(jt,this,e)}get showCopyButton(){return(0,l.A)(Jt,this)}set showCopyButton(e){(0,a.A)(Jt,this,e)}get glyphMargin(){return(0,l.A)(Ut,this)}set glyphMargin(e){(0,a.A)(Ut,this,e)}get extraLibs(){return(0,l.A)(Xt,this)}set extraLibs(e){(0,a.A)(Xt,this,e)}get fixedOverflowWidgets(){return(0,l.A)($t,this)}set fixedOverflowWidgets(e){(0,a.A)($t,this,e)}get spellCheck(){return(0,l.A)(Zt,this)}set spellCheck(e){(0,a.A)(Zt,this,e)}get knownWords(){return(0,l.A)(Gt,this)}set knownWords(e){(0,a.A)(Gt,this,e)}get domLibsEnabled(){return(0,l.A)(Qt,this)}set domLibsEnabled(e){(0,a.A)(Qt,this,e)}connectedCallback(){this.style.display||(this.style.display="block"),super.connectedCallback()}render(){return h().createElement(At,{exportparts:"message",curElement:this,formElement:this.getFormElement(),name:this.name,label:this.label,required:this.required,helpBrick:this.helpBrick,labelBrick:this.labelBrick,notRender:this.notRender,validator:(0,l.A)(ln,this)},h().createElement(un,{value:this.value,language:this.language,readOnly:this.readOnly,theme:this.theme,automaticLayout:this.automaticLayout,minLines:this.minLines,maxLines:this.maxLines,height:this.height,completers:this.completers,advancedCompleters:this.advancedCompleters,extraLibs:this.extraLibs,markers:this.markers,links:this.links,tokenConfig:this.tokenConfig,lineNumbers:this.lineNumbers,glyphMargin:this.glyphMargin,placeholder:this.placeholder,showCopyButton:this.showCopyButton,showExpandButton:this.showExpandButton,validateState:this.validateState,onChange:(0,l.A)(sn,this),onUserInput:(0,l.A)(rn,this),onTokenClick:(0,l.A)(an,this),customValidationInBrickNextYaml:this.customValidationInBrickNextYaml,fixedOverflowWidgets:this.fixedOverflowWidgets,spellCheck:this.spellCheck,knownWords:this.knownWords,domLibsEnabled:this.domLibsEnabled}))}}function un(e){let{value:t,language:n,theme:i,minLines:s,maxLines:r,height:o,automaticLayout:a,completers:l,advancedCompleters:c,markers:d,readOnly:g,links:m,extraLibs:k,tokenConfig:f,showExpandButton:A,showCopyButton:b=!0,lineNumbers:y="on",glyphMargin:w=!1,placeholder:M,validateState:C,onChange:E,onTokenClick:_,customValidationInBrickNextYaml:R,fixedOverflowWidgets:O,spellCheck:T,knownWords:H,domLibsEnabled:K}=e;const J=null!=t?t:"",U=null!=n?n:"plaintext",X=null!=i?i:"auto",$=null!=s?s:3,Z=null!=r?r:1/0,G=null!=o?o:500,Q=null==O||O,ee=null==T||T,[te,ne]=(0,u.useState)(!1),ie=(0,u.useMemo)((()=>(0,x.uniqueId)("worker")),[]),{t:se}=(0,B.useTranslation)(P.NS),re=(0,u.useRef)(null),oe=(0,u.useRef)(),ae=(0,u.useRef)(),le=(0,u.useRef)({width:300,height:hn(J,$,Z)}),[ce,ue]=(0,u.useState)(),he=(0,u.useRef)(a),de=(0,p.useCurrentTheme)(),ge="auto"===X?"dark"===de||"dark-v2"===de?"vs-dark":"vs":X,me="vs-dark"===ge||"hc-black"===ge;(0,u.useEffect)((()=>{const e=me?"#FFFFFF0F":"#0000000A";v.editor.defineTheme("custom-theme",{base:ge,inherit:!0,rules:[],colors:{"editor.lineHighlightBackground":`${e}`}}),v.editor.setTheme("custom-theme")}),[ge,me]),(0,u.useEffect)((()=>{if(ae.current){const e=ae.current.getModel();v.editor.setModelLanguage(e,U)}}),[U]),(0,u.useEffect)((()=>{if("brick_next_yaml"===U){const e=(0,S.v)(l,Array.isArray(c)?void 0:c,ie,f),t=v.languages.registerCompletionItemProvider("brick_next_yaml",{provideCompletionItems:e,triggerCharacters:[".",":","<"]});return()=>{t.dispose()}}}),[l,c,U,ie,f]),(0,u.useEffect)((()=>{if(Array.isArray(c)&&c.length>0&&dt.includes(U)){const e=v.languages.registerCompletionItemProvider(U,(0,Y.MY)(U,ie,c));return()=>{e.dispose()}}}),[U,c,ie]),(0,u.useEffect)((()=>{const e=ae.current;if(e){const t=e.getModel();null!=t&&t.getValue&&J!==t.getValue()&&t.setValue(J)}}),[J]),(0,u.useLayoutEffect)((()=>{var e;if("fit-content"!==he.current||!re.current)return;le.current.width=re.current.getBoundingClientRect().width,null===(e=ae.current)||void 0===e||e.layout(le.current);const t=new ResizeObserver((e=>{for(const n of e)if(n.target===re.current){const e=n.contentBoxSize?n.contentBoxSize[0]?n.contentBoxSize[0].inlineSize:n.contentBoxSize.inlineSize:n.contentRect.width,i=n.contentBoxSize?n.contentBoxSize[0]?n.contentBoxSize[0].blockSize:n.contentBoxSize.blockSize:n.contentRect.height;var t;(e!==le.current.width||te)&&(le.current.width=e,null===(t=ae.current)||void 0===t||t.layout({width:e,height:te?i:le.current.height}));break}}));return t.observe(re.current),()=>{t.disconnect()}}),[te]),(0,u.useLayoutEffect)((()=>{if("fit-container"!==he.current)return;const e=function(e){let t=e;for(;t;){const e="vs.code-editor"===t.tagName.toLowerCase();if(t=t.parentElement,e)return t}}(re.current);if(!e)return;const t=new ResizeObserver((()=>{ue(e.offsetHeight)}));return t.observe(e),()=>{t.disconnect()}}),[]),(0,u.useEffect)((()=>{"fit-container"!==he.current&&"fit-content"!==he.current&&ue(G)}),[G]),(0,u.useEffect)((()=>{ae.current&&ae.current.updateOptions({readOnly:g,lineNumbersMinChars:te?5:3})}),[g,te]),(0,u.useEffect)((()=>{if(ae.current||!re.current)return;const e=v.editor.createModel(J,U);if("brick_next_yaml"===U){const t=(0,N.AR)(e.uri);v.editor.createModel(J,"javascript",t),v.languages.typescript.javascriptDefaults.addExtraLib((0,N.Eh)(),e.uri.toString()+"d.ts")}ae.current=v.editor.create(re.current,{extraEditorClassName:"monaco-editor-v3",model:e,minimap:{enabled:!1,showRegionSectionHeaders:!1,showMarkSectionHeaders:!1},scrollBeyondLastLine:!1,tabSize:2,insertSpaces:!0,automaticLayout:"fit-content"!==he.current,fontSize:W.yU,lineHeight:W.fE,scrollbar:{horizontalScrollbarSize:W.lP,verticalScrollbarSize:W.lP,horizontalSliderSize:8,verticalSliderSize:8,alwaysConsumeMouseWheel:!1},padding:{top:W.Vu,bottom:"fit-content"==he.current?void 0:W.Vu},overviewRulerBorder:!1,mouseWheelScrollSensitivity:.5,fixedOverflowWidgets:Q,lineNumbers:y,lineNumbersMinChars:3,glyphMargin:w,folding:"off"!==y,suggest:{insertMode:"insert",preview:!0},readOnly:g,quickSuggestions:{strings:!0,other:!0,comments:!0},renderLineHighlightOnlyWhenFocus:!0,unicodeHighlight:{ambiguousCharacters:!1}}),oe.current=ae.current.createDecorationsCollection()}),[]);const pe="typescript"===U?"typescriptDefaults":"javascriptDefaults";(0,u.useEffect)((()=>{"javascript"!==U&&"typescript"!==U&&"brick_next_yaml"!==U||v.languages.typescript[pe].setCompilerOptions({allowNonTsExtensions:!0,lib:K?void 0:["esnext"],target:v.languages.typescript.ScriptTarget.ESNext,moduleResolution:v.languages.typescript.ModuleResolutionKind.NodeJs})}),[U,K,pe]),(0,u.useEffect)((()=>{const e=ae.current;if(e)return()=>{(0,q.X2)(e)}}),[]),(0,u.useEffect)((()=>{const e=ae.current;if(!e)return;const t=()=>{(0,j.$)(k,{languageDefaults:pe}),"javascript"!==U&&"typescript"!==U&&"brick_next_yaml"!==U||v.languages.typescript[pe].setCompilerOptions({allowNonTsExtensions:!0,lib:K?void 0:["esnext"],target:v.languages.typescript.ScriptTarget.ESNext,moduleResolution:v.languages.typescript.ModuleResolutionKind.NodeJs})};(0,q.xx)(e)&&t();const n=e.onDidFocusEditorWidget((()=>{(0,q.MX)(e)&&t()}));return()=>{n.dispose()}}),[K,k,U,pe]),(0,u.useEffect)((()=>{const e=ae.current;if("brick_next_yaml"===U&&e){const t=e.getModel(),n=e.onMouseDown((function(e){var n,i;const s=oe.current;(null!==(n=null==s||null===(i=s.getRanges)||void 0===i?void 0:i.call(s))&&void 0!==n?n:[]).forEach((n=>{const i=/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"metaKey":"ctrlKey";n&&e.target.position&&e.event[i]&&n.containsPosition(e.target.position)&&_(t.getValueInRange(n))}))})),i=e.onMouseMove((function(e){const t=oe.current;t&&t.getRanges().forEach((n=>{const i=/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"metaKey":"ctrlKey";if(n&&e.target.position&&e.event[i]&&n.containsPosition(e.target.position)){const e=t.getRanges().map((e=>({range:e,options:{inlineClassName:n.equalsRange(e)?"highlight pointer":"highlight"}})));t.set(e)}else if(!e.event[i]){const e=t.getRanges().map((e=>({range:e,options:{inlineClassName:"highlight"}})));t.set(e)}}))}));return()=>{null==i||i.dispose(),null==n||n.dispose()}}}),[U,_,de,X]),(0,u.useEffect)((()=>{const e=ae.current;if(!e||!re.current||"fit-content"!==he.current)return;const t=e.onDidContentSizeChange((t=>{if(!te&&t.contentHeightChanged){const n=dn(t.contentHeight,$,Z);n!==le.current.height&&(le.current.height=n,e.layout(le.current))}})),n=dn(e.getContentHeight(),$,Z);return n!==le.current.height&&(le.current.height=n,e.layout(le.current)),()=>{t.dispose()}}),[Z,$,te]);const ke=(0,u.useCallback)((async(e,t)=>{v.editor.setModelMarkers(e,"semantic_validate",[]);const n=e.findPreviousMatch("<%[~=]?",t,!0,!1,null,!1),i=e.findNextMatch("%>",t,!1,!1,null,!1),s=null==n?void 0:n.range,r=null==i?void 0:i.range;if(s&&r){const n=new v.Range(s.startLineNumber,s.endColumn,r.startLineNumber,r.startColumn),i=e.getValueInRange(n);if(n.containsPosition(t)&&!/<% | %>/.test(i)){const t=(0,N.AR)(e.uri);v.editor.getModel(t).setValue(i);const r=e.getOffsetAt(new v.Position(s.startLineNumber,s.endColumn));if(I.b.getInstance(ie).updateState({content:i,range:n,offset:r}),!R)return;const o=await v.languages.typescript.getJavaScriptWorker(),a=await o(t),l=(await a.getSemanticDiagnostics(t.toString())).map((t=>{var n;const i=r+(null!==(n=t.start)&&void 0!==n?n:0),s=e.getPositionAt(i);return{startLineNumber:s.lineNumber,startColumn:s.column,endLineNumber:s.lineNumber,endColumn:s.column+t.length,message:t.messageText,severity:v.MarkerSeverity.Warning}}));v.editor.setModelMarkers(e,"semantic_validate",l)}}}),[ie]);(0,u.useEffect)((()=>{if(!ae.current)return;const e=ae.current.getModel(),t=e.onDidChangeContent((async t=>{(0,L.J)(ie),["brick_next_yaml"].includes(U)&&ke(e,ae.current.getPosition()),t.isFlush||E(e.getValue())}));return()=>{t.dispose()}}),[E,ie,U,ke]),(0,u.useEffect)((()=>{if(te){const e=t=>{"Escape"!==t.key&&"Esc"!==t.key||(window.removeEventListener("keydown",e),ne(!1))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}}}),[te]),(0,u.useEffect)((()=>{if(!ae.current&&!M)return;const e=new V.j(M,ae.current,me?"rgba(174,174,175,0.4)":"rgba(89,89,89,0.4)");return()=>{e.dispose()}}),[M,me]);const fe=(0,u.useCallback)((()=>{if(ae.current){const e=ae.current.getModel();yt(e.getValue()).then((()=>wt({type:"success",message:se(P.K.COPY_SUCCESS)}))).catch((()=>wt({type:"error",message:se(P.K.COPY_FAILED)})))}}),[se]),Ae=(0,u.useCallback)((()=>{ne(!te)}),[te]);return(0,u.useEffect)((()=>{const e=ae.current;if(!e||"brick_next_yaml"!==U)return;let t=!1;const n=(0,x.debounce)((async()=>{var n;const i=await(0,D.K)();if(t)return;const{lintMarkers:s,lintDecorations:r}=await i.lint({source:e.getValue(),links:m,markers:d}),o=e.getModel();!t&&o&&(v.editor.setModelMarkers(o,Ct,s.map((e=>{let{start:t,end:n,message:i,severity:s,code:r}=e;const a=o.getPositionAt(t),l=o.getPositionAt(n);return{startLineNumber:a.lineNumber,startColumn:a.column,endLineNumber:l.lineNumber,endColumn:l.column,severity:v.MarkerSeverity[s],message:i,code:r}}))),null===(n=oe.current)||void 0===n||n.set(r.map((e=>{let{start:t,end:n,options:i}=e;return{range:v.Range.fromPositions(o.getPositionAt(t),o.getPositionAt(n)),options:i}}))))}),200),i=e.onDidChangeModelContent(n);return n(),()=>{t=!0,i.dispose(),v.editor.setModelMarkers(e.getModel(),Ct,[])}}),[U,m,d,X,ie]),(0,u.useEffect)((()=>{const e=ae.current;if(!e||!ee)return;let t=!1;const n=(0,x.debounce)((async()=>{const n=await(0,F.n)();if(t)return;const{markers:i}=await n.spellCheck({source:e.getValue(),knownWords:H}),s=e.getModel();!t&&s&&v.editor.setModelMarkers(s,Mt,i.map((e=>{let{start:t,end:n,message:i,severity:r}=e;const o=s.getPositionAt(t),a=s.getPositionAt(n);return{startLineNumber:o.lineNumber,startColumn:o.column,endLineNumber:a.lineNumber,endColumn:a.column,severity:v.MarkerSeverity[r],message:i}})))}),200),i=e.onDidChangeModelContent(n);return n(),()=>{t=!0,i.dispose(),v.editor.setModelMarkers(e.getModel(),Mt,[])}}),[ee,H]),h().createElement("div",{className:z()("code-editor-wrapper",{expanded:te,error:"error"===C})},h().createElement("div",{ref:re,style:{height:te?"100%":ce,overflow:te?"scroll":""}}),h().createElement("div",{className:"toolbar-wrapper"},h().createElement("div",{className:"toolbar sticky"},b&&h().createElement(vt,{content:se(P.K.COPY)},h().createElement(bt,{className:"copy-icon",icon:"copy",lib:"antd",theme:"outlined",onClick:fe})),A&&h().createElement(vt,{content:se(te?P.K.COLLAPSE:P.K.EXPAND)},h().createElement(bt,{className:"expand-icon",icon:te?"compress":"expand",lib:"antd",theme:"outlined",onClick:Ae})))))}function hn(e,t,n){return gn(Math.min(n,Math.max(t,e.split("\n").length)))}function dn(e,t,n){let i=e;return(e-W.Vu)%W.fE==0&&(i=e+W.lP),Math.min(gn(n),Math.max(i,gn(t)))}function gn(e){return e*W.fE+W.lP+W.Vu}ut=cn,({e:[U,X,$,Z,G,Q,ee,te,ne,ie,se,re,oe,ae,le,ce,ue,he,de,ge,me,pe,ke,fe,Ae,ve,be,ye,we,Me,Ce,Ee,xe,We,Se,Le,Ne,Be,Pe,_e,ze,Re,Oe,Ie,Ve,De,Fe,Te,He,Ke,Ye,qe,je,Je,Ue,Xe,$e,Ze,Ge,Qe,et,tt,nt,it,st,rt,ot,at],c:[Et,J]}=(0,c.A)(ut,[pt("vs.code-editor",{shadowOptions:!1})],[[kt(),1,"name"],[kt(),1,"label"],[kt(),1,"value"],[kt(),1,"language"],[kt(),1,"theme"],[kt({type:Boolean}),1,"required"],[kt({type:Boolean}),1,"readOnly"],[kt(),1,"automaticLayout"],[kt({type:Number}),1,"minLines"],[kt({attribute:!1}),1,"completers"],[kt({attribute:!1}),1,"advancedCompleters"],[kt({attribute:!1}),1,"markers"],[kt({attribute:!1}),1,"links"],[kt({type:Number}),1,"maxLines"],[kt({attribute:!1}),1,"height"],[kt(),1,"message"],[kt(),1,"placeholder"],[kt({type:Boolean}),1,"showExpandButton"],[kt(),1,"lineNumbers"],[kt({attribute:!1}),1,"tokenConfig"],[kt({type:Boolean}),1,"customValidationInBrickNextYaml"],[kt({type:Boolean}),1,"showCopyButton"],[kt({type:Boolean}),1,"glyphMargin"],[kt({attribute:!1}),1,"extraLibs"],[kt({type:Boolean}),1,"fixedOverflowWidgets"],[kt({type:Boolean}),1,"spellCheck"],[kt({attribute:!1}),1,"knownWords"],[kt({type:Boolean}),1,"domLibsEnabled"],[ft({type:"code.change"}),1,"codeChange",e=>(0,l.A)(en,e),(e,t)=>(0,a.A)(en,e,t)],[ft({type:"user.input"}),1,"userInput",e=>(0,l.A)(nn,e),(e,t)=>(0,a.A)(nn,e,t)],[ft({type:"token.click"}),1,"tokenClickEvent",e=>(0,l.A)(on,e),(e,t)=>(0,a.A)(on,e,t)]],0,(e=>ln.has((0,r.A)(e))),A.N)),J()}}]);
2
- //# sourceMappingURL=code-editor.a5c7d465.js.map
@@ -1,2 +0,0 @@
1
- (()=>{var e,t,r,n,a,o,l,i,c,s,d,f,u,h,p,m,b,v,g,x,y,P,k,w={7934:(e,t,r)=>{Promise.all([r.e(8251),r.e(563),r.e(9005),r.e(8769),r.e(1361),r.e(6192),r.e(1730),r.e(5310),r.e(2677),r.e(7242)]).then(r.bind(r,7242))}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return w[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=w,S.c=j,S.amdO={},S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+e+"."+{114:"3ead0011",726:"5edb9607",871:"6d5e77c9",1045:"ec735c5e",1055:"971d1ea8",1122:"789bcad4",1370:"c8fc1f63",1889:"f310a89e",1898:"618c76b1",1940:"6670b31b",2227:"00da9185",2277:"c681256c",2487:"10db9263",2675:"bd0d2b40",2677:"30b5c198",2725:"0252ca43",3053:"7ab76317",3144:"4c37c31b",3171:"8c3143c3",3426:"038a1c73",3435:"22fb4fc9",3505:"da226241",3933:"986f0e93",4041:"b0a4be00",4306:"8f7ec0db",4539:"d5255034",4658:"fd615f36",4837:"72d944ed",4873:"fbe1c782",4933:"4a425a04",5250:"fb96d030",5331:"c356cd03",5384:"ff4d1879",5399:"446beb43",5497:"ec3d9547",5552:"6e6afcde",5637:"03befad7",6314:"f8b3f142",6519:"18ceeb43",6693:"5499070b",6773:"7bf3b917",7218:"ff3b87f0",7242:"bb0466da",7721:"db8c0bae",7733:"851be6e5",8097:"b7e88868",8251:"2e04a653",8989:"5cea7acd",9140:"ced6af24",9515:"46f118b5",9542:"f3e771cb",9559:"8bf3000d",9780:"6386fa71",9844:"68e68c95"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/vs:",S.l=(r,n,a,o)=>{if(e[r])e[r].push(n);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")==r||d.getAttribute("data-webpack")==t+a){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[n];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(u);var a=e[r];if(delete e[r],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)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.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];S.o(S.S,r)||(S.S[r]={});var o=S.S[r],l="@next-bricks/vs",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.27.2",(()=>S.e(6773).then((()=>()=>S(6773))))),i("@easyops-cn/brick-next-pipes","0.7.2",(()=>Promise.all([S.e(4306),S.e(563),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),i("@next-core/cook","2.5.8",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(1122))))),i("@next-core/element","1.2.17",(()=>S.e(1045).then((()=>()=>S(1045))))),i("@next-core/http","1.2.12",(()=>S.e(8989).then((()=>()=>S(8989))))),i("@next-core/i18n/react","1.0.77",(()=>Promise.all([S.e(9733),S.e(8097)]).then((()=>()=>S(8097))))),i("@next-core/i18n","1.0.77",(()=>Promise.all([S.e(9005),S.e(9733),S.e(671),S.e(5552)]).then((()=>()=>S(5552))))),i("@next-core/inject","1.0.54",(()=>Promise.all([S.e(563),S.e(9933),S.e(2277)]).then((()=>()=>S(2277))))),i("@next-core/loader","1.6.15",(()=>S.e(5399).then((()=>()=>S(5399))))),i("@next-core/pipes","2.0.32",(()=>S.e(6519).then((()=>()=>S(6519))))),i("@next-core/react-element","1.0.36",(()=>Promise.all([S.e(8769),S.e(6192),S.e(9435),S.e(114)]).then((()=>()=>S(114))))),i("@next-core/react-runtime","1.7.16",(()=>Promise.all([S.e(563),S.e(8769),S.e(1730),S.e(4837)]).then((()=>()=>S(4837))))),i("@next-core/runtime","1.62.0",(()=>Promise.all([S.e(9140),S.e(563),S.e(9005),S.e(1916),S.e(9733),S.e(1361),S.e(6732),S.e(9003)]).then((()=>()=>S(9140))))),i("@next-core/supply","2.3.5",(()=>Promise.all([S.e(563),S.e(1916),S.e(9933),S.e(9559)]).then((()=>()=>S(9559))))),i("@next-core/theme","1.5.4",(()=>Promise.all([S.e(1889),S.e(1055)]).then((()=>()=>S(1889))))),i("@next-core/utils/general","1.7.35",(()=>S.e(871).then((()=>()=>S(871))))),i("@next-core/utils/storyboard","1.7.35",(()=>Promise.all([S.e(9005),S.e(6732),S.e(3933)]).then((()=>()=>S(3933))))),i("history","4.10.1",(()=>S.e(5384).then((()=>()=>S(5384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(726))))),i("i18next","22.5.1",(()=>S.e(9542).then((()=>()=>S(9542))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(9515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(7039))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(3144))))),i("react-i18next","12.3.1",(()=>Promise.all([S.e(9780),S.e(8769)]).then((()=>()=>S(9780))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(4041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.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(/\/[^\/]+$/,"/"),S.p=e+"../"})(),r=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},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=e[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var l=t[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=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,o=1;o<e.length;o++)n--,r+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():a(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,c=!0;;i++,l++){var s,d,f=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(s=t[l]))[0]))return!c||("u"==f?i>n&&!a:""==f!=a);if("u"==d){if(!c||"u"!=f)return!1}else if(c)if(f==d)if(i<=n){if(s!=e[i])return!1}else{if(a?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=f&&"n"!=f){if(a||i<=n)return!1;c=!1,i--}else{if(i<=n||d<f!=a)return!1;c=!1}else"s"!=f&&"n"!=f&&(c=!1,i--)}}var u=[],h=u.pop.bind(u);for(l=1;l<e.length;l++){var p=e[l];u.push(1==p?h()|h():2==p?h()&h():p?o(p,t):!h())}return!!h()},l=(e,t)=>e&&S.o(e,t),i=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),s=(e,t,r,a)=>{var l=a?c(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!o(r,t)||e&&!n(e,t)?e:t),0))&&l[t]},d=(e,t,r)=>{var a=r?c(e[t]):e[t];return Object.keys(a).reduce(((e,t)=>!e||!a[e].loaded&&n(e,t)?t:e),0)},f=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",u=(e,t,r,n,o)=>{var l=e[r];return"No satisfying version ("+a(n)+")"+(o?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,t,r)=>r?r():((e,t)=>h("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(m=e=>function(t,r,n,a,o){var l=S.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,S.S[t],r,!1,a,o)):e(t,S.S[t],r,n,a,o)})(((e,t,r,n,a,o)=>{if(!l(t,r))return b(e,r,o);var c=s(t,r,a,n);return c?i(c):o?o():void h(u(t,e,r,a,n))})),g=m(((e,t,r,n,a,c)=>{if(!l(t,r))return b(e,r,c);var s=d(t,r,n);return o(a,s)||p(f(t,r,s,a)),i(t[r][s])})),x={},y={563:()=>g("default","lodash",!1,[0],(()=>S.e(5250).then((()=>()=>S(5250))))),9005:()=>g("default","@next-core/utils/general",!1,[1,1,7,35],(()=>S.e(871).then((()=>()=>S(871))))),8769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(4041))))),1361:()=>g("default","@next-core/http",!1,[0],(()=>S.e(1370).then((()=>()=>S(8989))))),6192:()=>v("default","@next-core/element",!1,[1,1,2,17],(()=>S.e(3426).then((()=>()=>S(1045))))),140:()=>g("default","@next-core/runtime",!1,[1,1,62,0],(()=>Promise.all([S.e(9140),S.e(9005),S.e(1916),S.e(9733),S.e(1361),S.e(6732),S.e(9003)]).then((()=>()=>S(9140))))),9859:()=>v("default","@next-core/react-element",!1,[1,1,0,36],(()=>Promise.all([S.e(6192),S.e(9435),S.e(7733)]).then((()=>()=>S(114))))),5310:()=>g("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(9515))))),6477:()=>g("default","@next-core/theme",!1,[1,1,5,4],(()=>S.e(1889).then((()=>()=>S(1889))))),7390:()=>v("default","@next-core/react-runtime",!1,[1,1,7,16],(()=>S.e(7218).then((()=>()=>S(4837))))),9704:()=>g("default","@next-core/i18n/react",!1,[0],(()=>Promise.all([S.e(9733),S.e(8097)]).then((()=>()=>S(8097))))),1916:()=>g("default","moment",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(7039))))),580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(6773))))),9733:()=>g("default","@next-core/i18n",!1,[0],(()=>Promise.all([S.e(9005),S.e(671),S.e(3171)]).then((()=>()=>S(5552))))),7825:()=>g("default","react-i18next",!1,[1,12,3,1],(()=>Promise.all([S.e(9780),S.e(8769)]).then((()=>()=>S(9780))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(726))))),5630:()=>g("default","i18next",!1,[0],(()=>S.e(9542).then((()=>()=>S(9542))))),9933:()=>g("default","@next-core/pipes",!1,[0],(()=>S.e(6519).then((()=>()=>S(6519))))),8377:()=>g("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([S.e(4306),S.e(563),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),9435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(3144))))),6732:()=>g("default","@next-core/cook",!1,[1,2,5,8],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(1122))))),1732:()=>g("default","history",!1,[0],(()=>S.e(5384).then((()=>()=>S(5384))))),1858:()=>g("default","moment/locale/zh-cn.js",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),2575:()=>g("default","@next-core/utils/storyboard",!1,[1,1,7,35],(()=>S.e(6314).then((()=>()=>S(3933))))),4167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(9559))))),5599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(5399))))),9283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(2277)))))},P={563:[563],580:[580],671:[848,5630],1361:[1361],1730:[140,9859],1916:[1916],2677:[6477,7390,9704],5310:[5310],6192:[6192],6519:[8377],6732:[6732],8097:[7825],8769:[8769],9003:[1732,1858,2575,4167,5599,9283],9005:[9005],9435:[9435],9733:[9733],9933:[9933]},k={},S.f.consumes=(e,t)=>{S.o(P,e)&&P[e].forEach((e=>{if(S.o(x,e))return t.push(x[e]);if(!k[e]){var r=t=>{x[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};k[e]=!0;var n=t=>{delete x[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var a=y[e]();a.then?t.push(x[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{S.b=document.baseURI||self.location.href;var e={8792:0};S.f.j=(t,r)=>{var n=S.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(361|730|916)|5(310|63|80)|6(192|71|732)|9(00[35]|[79]33|435)|8769)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=S.p+S.u(t),l=new Error;S.l(o,(r=>{if(S.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)S.o(l,n)&&(S.m[n]=l[n]);i&&i(S)}for(t&&t(r);c<o.length;c++)a=o[c],S.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_vs=globalThis.webpackChunk_next_bricks_vs||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0,S(7934)})();
2
- //# sourceMappingURL=main.9b9421ac.js.map