@next-bricks/presentational 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +9 -2
- package/dist/chunks/{1646.049c2ded.js → 1646.6d08d060.js} +2 -2
- package/dist/chunks/{1646.049c2ded.js.map → 1646.6d08d060.js.map} +1 -1
- package/dist/chunks/1966.a89310ae.js +2 -0
- package/dist/chunks/1966.a89310ae.js.map +1 -0
- package/dist/chunks/{3458.a706d22e.js → 3458.894c6bdf.js} +2 -2
- package/dist/chunks/{3458.a706d22e.js.map → 3458.894c6bdf.js.map} +1 -1
- package/dist/chunks/{3494.d34f0003.js → 3494.3a4ddcf2.js} +2 -2
- package/dist/chunks/{3494.d34f0003.js.map → 3494.3a4ddcf2.js.map} +1 -1
- package/dist/chunks/{4049.0fad23fc.js → 4049.2e08d4be.js} +2 -2
- package/dist/chunks/{4049.0fad23fc.js.map → 4049.2e08d4be.js.map} +1 -1
- package/dist/chunks/4131.ad560aba.js +2 -0
- package/dist/chunks/4131.ad560aba.js.map +1 -0
- package/dist/chunks/4791.f94a8c59.js +2 -0
- package/dist/chunks/{4791.caba53db.js.map → 4791.f94a8c59.js.map} +1 -1
- package/dist/chunks/{5636.24a5619b.js → 5636.f35175ee.js} +2 -2
- package/dist/chunks/{5636.24a5619b.js.map → 5636.f35175ee.js.map} +1 -1
- package/dist/chunks/{5725.0c5e968c.js → 5725.0eee4f70.js} +2 -2
- package/dist/chunks/{7672.e9568b0e.js.map → 5725.0eee4f70.js.map} +1 -1
- package/dist/chunks/{6205.d066aef9.js → 6205.f1acd4a6.js} +2 -2
- package/dist/chunks/{6205.d066aef9.js.map → 6205.f1acd4a6.js.map} +1 -1
- package/dist/chunks/{6473.a144b081.js → 6473.760cf96e.js} +2 -2
- package/dist/chunks/{6473.a144b081.js.map → 6473.760cf96e.js.map} +1 -1
- package/dist/chunks/{7164.cbd0cfc6.js → 7164.94fe1c96.js} +2 -2
- package/dist/chunks/{7164.cbd0cfc6.js.map → 7164.94fe1c96.js.map} +1 -1
- package/dist/chunks/{7672.e9568b0e.js → 7672.5dd9bb9e.js} +2 -2
- package/dist/chunks/{5725.0c5e968c.js.map → 7672.5dd9bb9e.js.map} +1 -1
- package/dist/chunks/7746.1f9cdbc9.js +2 -0
- package/dist/chunks/{7746.2f0c763f.js.map → 7746.1f9cdbc9.js.map} +1 -1
- package/dist/chunks/{7822.b1e2bf01.js → 7822.57098318.js} +2 -2
- package/dist/chunks/{7822.b1e2bf01.js.map → 7822.57098318.js.map} +1 -1
- package/dist/chunks/{8691.5374cfcf.js → 8691.c948b4b4.js} +2 -2
- package/dist/chunks/{8691.5374cfcf.js.map → 8691.c948b4b4.js.map} +1 -1
- package/dist/chunks/9411.957c8dc4.js +2 -0
- package/dist/chunks/9411.957c8dc4.js.map +1 -0
- package/dist/chunks/eo-alert.e05defde.js +3 -0
- package/dist/chunks/{eo-alert.a884f40a.js.map → eo-alert.e05defde.js.map} +1 -1
- package/dist/chunks/eo-code-display.8df7e32d.js +2 -0
- package/dist/chunks/{eo-code-display.8a23b0a2.js.map → eo-code-display.8df7e32d.js.map} +1 -1
- package/dist/chunks/eo-descriptions.b656dc3e.js +3 -0
- package/dist/chunks/{eo-descriptions.2d2f7262.js.map → eo-descriptions.b656dc3e.js.map} +1 -1
- package/dist/chunks/eo-pagination.bd3b1e77.js +3 -0
- package/dist/chunks/eo-pagination.bd3b1e77.js.LICENSE.txt +5 -0
- package/dist/chunks/eo-pagination.bd3b1e77.js.map +1 -0
- package/dist/chunks/main.c36209ba.js +2 -0
- package/dist/chunks/main.c36209ba.js.map +1 -0
- package/dist/index.64cb41fb.js +2 -0
- package/dist/index.64cb41fb.js.map +1 -0
- package/dist/manifest.json +42 -0
- package/dist/types.json +72 -0
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/pagination/i18n.d.ts +17 -0
- package/dist-types/pagination/index.d.ts +40 -0
- package/dist-types/pagination/index.spec.d.ts +1 -0
- package/docs/eo-pagination.md +18 -0
- package/package.json +4 -4
- package/dist/chunks/2599.cea99b2d.js +0 -2
- package/dist/chunks/2599.cea99b2d.js.map +0 -1
- package/dist/chunks/4131.7c57d839.js +0 -2
- package/dist/chunks/4131.7c57d839.js.map +0 -1
- package/dist/chunks/4791.caba53db.js +0 -2
- package/dist/chunks/7746.2f0c763f.js +0 -2
- package/dist/chunks/eo-alert.a884f40a.js +0 -3
- package/dist/chunks/eo-code-display.8a23b0a2.js +0 -2
- package/dist/chunks/eo-descriptions.2d2f7262.js +0 -3
- package/dist/chunks/main.8401d1fb.js +0 -2
- package/dist/chunks/main.8401d1fb.js.map +0 -1
- package/dist/index.f985a3a7.js +0 -2
- package/dist/index.f985a3a7.js.map +0 -1
- /package/dist/chunks/{eo-alert.a884f40a.js.LICENSE.txt → eo-alert.e05defde.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.2d2f7262.js.LICENSE.txt → eo-descriptions.b656dc3e.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[7822,3494,4795],{34795:(e,t,r)=>{function n(e,t,r,n,a,u,c){try{var i=e[u](c),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,u){var c=e.apply(t,r);function i(e){n(c,a,u,i,s,"next",e)}function s(e){n(c,a,u,i,s,"throw",e)}i(void 0)}))}}r.d(t,{Z:()=>a})},27822:(e,t,r)=>{r.r(t),r.d(t,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>i,useCurrentApp:()=>o,useCurrentTheme:()=>s,useRecentApps:()=>l});var n=r(34795),a=r(48657),u=r(
|
|
2
|
-
//# sourceMappingURL=7822.
|
|
1
|
+
"use strict";(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[7822,3494,4795],{34795:(e,t,r)=>{function n(e,t,r,n,a,u,c){try{var i=e[u](c),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,u){var c=e.apply(t,r);function i(e){n(c,a,u,i,s,"next",e)}function s(e){n(c,a,u,i,s,"throw",e)}i(void 0)}))}}r.d(t,{Z:()=>a})},27822:(e,t,r)=>{r.r(t),r.d(t,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>i,useCurrentApp:()=>o,useCurrentTheme:()=>s,useRecentApps:()=>l});var n=r(34795),a=r(48657),u=r(74639);function c(e){var{useBrick:t,data:r}=e,[c,i]=(0,a.useState)(null),s=(0,a.useRef)(),[l,o]=(0,a.useState)(),f=(0,a.useRef)(0);(0,a.useEffect)((()=>{function e(){return(e=(0,n.Z)((function*(){try{i(yield u.__secret_internals.renderUseBrick(t,r)),o(++f.current)}catch(e){console.error("Render useBrick failed:",t,"with data:",r),(0,u.handleHttpError)(e)}}))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[r,t]);var d=(0,a.useCallback)((e=>{e?s.current=u.__secret_internals.mountUseBrick(c,e):(u.__secret_internals.unmountUseBrick(c,s.current),s.current=void 0)}),[c]);if(!c)return null;var{tagName:p}=c;if(null===p)return null;var v=p;return a.createElement(v,{key:l,ref:d})}function i(e){var{useBrick:t,data:r}=e;return Array.isArray(t)?a.createElement(a.Fragment,null,t.map(((e,t)=>a.createElement(c,{key:t,useBrick:e,data:r})))):a.createElement(c,{useBrick:t,data:r})}function s(){var[e,t]=(0,a.useState)(u.getCurrentTheme);return(0,a.useEffect)((()=>{var e=e=>{t(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function l(){var[e,t]=a.useState((()=>(0,u.getRuntime)().getRecentApps()));return a.useEffect((()=>{var e=e=>{t(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function o(){return l().currentApp}}}]);
|
|
2
|
+
//# sourceMappingURL=7822.57098318.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/7822.
|
|
1
|
+
{"version":3,"file":"chunks/7822.57098318.js","mappings":"qJAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,KACnB,CAAE,MAAOC,GAEP,YADAP,EAAOO,EAET,CACIF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,EAEvC,CACe,SAASS,EAAkBC,GACxC,OAAO,WACL,IAAIC,EAAOC,KACTC,EAAOC,UACT,OAAO,IAAIP,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMc,EAAGK,MAAMJ,EAAME,GACzB,SAASd,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,EAClE,CACA,SAASJ,EAAOgB,GACdrB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASgB,EACnE,CACAjB,OAAMkB,EACR,GACF,CACF,C,sMCxBO,SAASC,EAAcC,GAC5B,IAAI,SACFC,EAAQ,KACRC,GACEF,GACCG,EAAcC,IAAmB,IAAAC,UAAS,MAC3CC,GAAc,IAAAC,WACbC,EAAWC,IAAgB,IAAAJ,YAC5BK,GAAe,IAAAH,QAAO,IAC1B,IAAAI,YAAU,KAIR,SAASC,IAWP,OAVAA,GAAQ,QAAkB,YACxB,IACER,QAAsB,EAAAS,mBAAA,eAAkCZ,EAAUC,IAClEO,IAAyBC,EAyCpBI,QAxCP,CAAE,MAAO5B,GAEP6B,QAAQ7B,MAAM,0BAA2Be,EAAU,aAAcC,IACjE,IAAAc,iBAAgB9B,EAClB,CACF,KACaU,MAAMH,KAAME,UAC3B,EAfA,WACSiB,EAAMhB,MAAMH,KAAME,UAC3B,CAcAsB,EAAM,GACL,CAACf,EAAMD,IACV,IAAIiB,GAAc,IAAAC,cAAYC,IACxBA,EACFd,EAAYQ,QAAU,EAAAD,mBAAA,cAEtBV,EAAciB,IAGd,EAAAP,mBAAA,gBAAmCV,EAAcG,EAAYQ,SAC7DR,EAAYQ,aAAUhB,EACxB,GACC,CAACK,IACJ,IAAKA,EAEH,OAAO,KAIT,IAAI,QACFkB,GACElB,EACJ,GAAgB,OAAZkB,EACF,OAAO,KAET,IAAIC,EAAeD,EACnB,OAAoB,gBAAoBC,EAAc,CACpDxC,IAAK0B,EACLe,IAAKL,GAET,CAIO,SAASM,EAAuBC,GACrC,IAAI,SACFxB,EAAQ,KACRC,GACEuB,EACJ,OAAIC,MAAMC,QAAQ1B,GACI,gBAAoB,WAAgB,KAAMA,EAAS2B,KAAI,CAACC,EAAMC,IAAuB,gBAAoB/B,EAAe,CAC1IjB,IAAKgD,EACL7B,SAAU4B,EACV3B,KAAMA,OAGU,gBAAoBH,EAAe,CACrDE,SAAUA,EACVC,KAAMA,GAEV,CC/EO,SAAS6B,IACd,IAAKC,EAAcC,IAAmB,IAAA5B,UAAS,EAAA6B,iBAU/C,OATA,IAAAvB,YAAU,KACR,IAAIwB,EAAsBC,IACxBH,EAAgBG,EAAMC,OAAO,EAG/B,OADAC,OAAOC,iBAAiB,eAAgBJ,GACjC,KACLG,OAAOE,oBAAoB,eAAgBL,EAAoB,CAChE,GACA,IACIH,CACT,CCZO,SAASS,IACd,IAAKC,EAAYC,GAAiB,YAAe,KAAM,IAAAC,cAAaC,kBAQpE,OAPA,aAAgB,KACd,IAAIC,EAAWV,IACbO,EAAcP,EAAMC,OAAO,EAG7B,OADAC,OAAOC,iBAAiB,aAAcO,GAC/B,IAAMR,OAAOE,oBAAoB,aAAcM,EAAS,GAC9D,IACIJ,CACT,CCIO,SAASK,IACd,OAAON,IAAgBO,UACzB,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js"],"sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nexport function ReactUseBrick(_ref) {\n var {\n useBrick,\n data\n } = _ref;\n var [renderResult, setRenderResult] = useState(null);\n var mountResult = useRef();\n var [renderKey, setRenderKey] = useState();\n var IdCounterRef = useRef(0);\n useEffect(() => {\n function init() {\n return _init.apply(this, arguments);\n }\n function _init() {\n _init = _asyncToGenerator(function* () {\n try {\n setRenderResult(yield __secret_internals.renderUseBrick(useBrick, data));\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n });\n return _init.apply(this, arguments);\n }\n init();\n }, [data, useBrick]);\n var refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n }, [renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n\n var {\n tagName\n } = renderResult;\n if (tagName === null) {\n return null;\n }\n var WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: refCallback\n });\n}\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nexport function ReactUseMultipleBricks(_ref2) {\n var {\n useBrick,\n data\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data\n });\n}\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n var [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n var listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n var [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n var listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","ReactUseBrick","_ref","useBrick","data","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","useEffect","_init","__secret_internals","current","console","handleHttpError","init","refCallback","useCallback","element","tagName","WebComponent","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[8691,3458],{43458:(e,t,r)=>{function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){if("string"==typeof t?o.name===t:t.includes(o.name)){for(var i=[],s=1;s<=r;s++){var c=a[a.length-s];if("MemberExpression"===(null==c?void 0:c.node.type)&&"object"===c.key){var u=c.node;u.computed||"Identifier"!==u.property.type?u.computed&&"Literal"===u.property.type&&"string"==typeof u.property.value?i.push(n?"".concat(o.name,".").concat(u.property.value):u.property.value):e.hasNonStaticUsage=!0:i.push(n?"".concat(o.name,".").concat(u.property.name):u.property.name)}else e.hasNonStaticUsage=!0}i.length===r&&e.usedProperties.add(i.join("."))}}}function o(e,t){return function(r,n,o){if(n.name===e){var a=o[o.length-1],i=o[o.length-2];if("CallExpression"===(null==i?void 0:i.node.type)&&"callee"===(null==i?void 0:i.key)&&"MemberExpression"===(null==a?void 0:a.node.type)&&"object"===a.key&&(a.node.computed?"Literal"===a.node.property.type&&a.node.property.value===t:"Identifier"===a.node.property.type&&a.node.property.name===t)){var s=i.node.arguments;if(s.length>0){var c=s[0];"Literal"===c.type&&"string"==typeof c.value?r.usedArgs.add(c.value):r.hasNonStaticUsage=!0}}}}}r.r(t),r.d(t,{beforeVisitGlobalMember:()=>n,collectAppGetMenuUsage:()=>a,collectInstalledAppsHasUsage:()=>i,collectMemberUsage:()=>p,collectMemberUsageInFunction:()=>h,createProviderClass:()=>c.createProviderClass,scanPermissionActionsInAny:()=>P,scanPermissionActionsInStoryboard:()=>m,strictCollectMemberUsage:()=>l,strictCollectMemberUsageInFunction:()=>g,track:()=>d,trackAll:()=>f,traverseStoryboardExpressions:()=>u,traverseStoryboardFunction:()=>v,traverseStoryboardFunctions:()=>y,unwrapProvider:()=>c.unwrapProvider});var a=o("APP","getMenu"),i=o("INSTALLED_APPS","has"),s=r(
|
|
2
|
-
//# sourceMappingURL=8691.
|
|
1
|
+
"use strict";(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[8691,3458],{43458:(e,t,r)=>{function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){if("string"==typeof t?o.name===t:t.includes(o.name)){for(var i=[],s=1;s<=r;s++){var c=a[a.length-s];if("MemberExpression"===(null==c?void 0:c.node.type)&&"object"===c.key){var u=c.node;u.computed||"Identifier"!==u.property.type?u.computed&&"Literal"===u.property.type&&"string"==typeof u.property.value?i.push(n?"".concat(o.name,".").concat(u.property.value):u.property.value):e.hasNonStaticUsage=!0:i.push(n?"".concat(o.name,".").concat(u.property.name):u.property.name)}else e.hasNonStaticUsage=!0}i.length===r&&e.usedProperties.add(i.join("."))}}}function o(e,t){return function(r,n,o){if(n.name===e){var a=o[o.length-1],i=o[o.length-2];if("CallExpression"===(null==i?void 0:i.node.type)&&"callee"===(null==i?void 0:i.key)&&"MemberExpression"===(null==a?void 0:a.node.type)&&"object"===a.key&&(a.node.computed?"Literal"===a.node.property.type&&a.node.property.value===t:"Identifier"===a.node.property.type&&a.node.property.name===t)){var s=i.node.arguments;if(s.length>0){var c=s[0];"Literal"===c.type&&"string"==typeof c.value?r.usedArgs.add(c.value):r.hasNonStaticUsage=!0}}}}}r.r(t),r.d(t,{beforeVisitGlobalMember:()=>n,collectAppGetMenuUsage:()=>a,collectInstalledAppsHasUsage:()=>i,collectMemberUsage:()=>p,collectMemberUsageInFunction:()=>h,createProviderClass:()=>c.createProviderClass,scanPermissionActionsInAny:()=>P,scanPermissionActionsInStoryboard:()=>m,strictCollectMemberUsage:()=>l,strictCollectMemberUsageInFunction:()=>g,track:()=>d,trackAll:()=>f,traverseStoryboardExpressions:()=>u,traverseStoryboardFunction:()=>v,traverseStoryboardFunctions:()=>y,unwrapProvider:()=>c.unwrapProvider});var a=o("APP","getMenu"),i=o("INSTALLED_APPS","has"),s=r(98319),c=r(32372);function u(e,t,r){var n=new WeakSet,{matchExpressionString:o,visitNotMatchedExpressionString:a,visitNonExpressionString:i,visitObject:u}="string"==typeof r?{matchExpressionString:e=>e.includes(r)}:r;!function e(r){if("string"==typeof r)if((0,s.isEvaluable)(r))if(o(r))try{(0,s.preevaluate)(r,{withParent:!0,hooks:{beforeVisitGlobal(e,n){t(e,n,r)}}})}catch(e){console.error("Parse storyboard expression failed:",e)}else null==a||a(r);else null==i||i(r);else if((0,c.isObject)(r)){if(n.has(r))return;for(var l of(n.add(r),null==u||u(r),Array.isArray(r)?r:Object.values(r)))e(l)}}(e)}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{hasNonStaticUsage:n,nonStaticUsage:o,usedProperties:a}=p(e,t,r);if(n)throw new Error("Non-static usage of ".concat(t,' is prohibited, check your expression: "').concat(o,'"'));return a}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o={usedProperties:new Set,hasNonStaticUsage:!1},a=n(o,t,r);return u(e,((e,t,r)=>{a(e,t),o.hasNonStaticUsage&&(o.nonStaticUsage=r)}),t),o}function d(e,t,r){if(e.includes(t)){var o,a={usedProperties:new Set,hasNonStaticUsage:!1},{expression:i}=(0,s.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:n(a,r)}});if("SequenceExpression"===i.type&&(o=i.expressions[0])&&"Literal"===o.type&&o.value===t){if(a.usedProperties.size>0)return a.usedProperties;console.warn('You are using "'.concat(t,'" but no `').concat(r,"` usage found in your expression: ").concat(JSON.stringify(e)))}}return!1}function f(e){if(e){var t={usedProperties:new Set,hasNonStaticUsage:!1};if((0,s.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:n(t,["CTX","STATE","FORM_STATE"],1,!0)}}),t.usedProperties.size>0){var r=[...t.usedProperties],o={context:!1,state:!1,formState:!1},a={CTX:"context",STATE:"state",FORM_STATE:"formState"};return r.forEach((e=>{var[t,r]=e.split(".");o[a[t]]||(o[a[t]]=[]),o[a[t]].push(r)})),o}console.warn('You are using track all but no "CTX" or "STATE" or "FORM_STATE" usage found in your expression: '.concat(JSON.stringify(e)))}return!1}function y(e,t){if(Array.isArray(e))for(var r of e)v(r,t)}function v(e,t){try{(0,s.precookFunction)(e.source,{typescript:e.typescript,withParent:!0,hooks:{beforeVisitGlobal:t}})}catch(t){console.error('Parse storyboard function "'.concat(e.name,'" failed:'),t)}}function g(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{hasNonStaticUsage:n,usedProperties:o}=h(e,t,r);if(n)throw new Error("Non-static usage of ".concat(t,' is prohibited, check your function: "').concat(e.name,'"'));return o}function h(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o={usedProperties:new Set,hasNonStaticUsage:!1};return v(e,n(o,t,r)),o.usedProperties.delete(e.name),o}var S="PERMISSIONS",b="check";function m(e){var t,r=new Set,n=k(r),{customTemplates:o,functions:a}=null!==(t=e.meta)&&void 0!==t?t:{};return u([e.routes,o],n,S),y(a,n),Array.from(r)}function P(e){var t=new Set;return u(e,k(t),S),Array.from(t)}function k(e){return function(t,r){if(t.name===S){var n=r[r.length-1],o=r[r.length-2];if("CallExpression"===(null==o?void 0:o.node.type)&&"callee"===(null==o?void 0:o.key)&&"MemberExpression"===(null==n?void 0:n.node.type)&&"object"===n.key&&(n.node.computed?"Literal"===n.node.property.type&&n.node.property.value===b:"Identifier"===n.node.property.type&&n.node.property.name===b))for(var a of o.node.arguments)"Literal"===a.type&&"string"==typeof a.value&&e.add(a.value)}}}}}]);
|
|
2
|
+
//# sourceMappingURL=8691.c948b4b4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/8691.5374cfcf.js","mappings":"gJAAO,SAASA,EAAwBC,EAAOC,GAC7C,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EG,EAAqBH,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,IAAmBA,UAAU,GACxF,OAAO,SAA2BI,EAAMC,GACtC,GAA0B,iBAAfP,EAA0BM,EAAKE,OAASR,EAAaA,EAAWS,SAASH,EAAKE,MAAO,CAE9F,IADA,IAAIE,EAAW,GACNC,EAAI,EAAGA,GAAKV,EAAOU,IAAK,CAC/B,IAAIC,EAAeL,EAAOA,EAAOJ,OAASQ,GAC1C,GAA6F,sBAAxFC,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,IAAkB,CAChJ,IAAIC,EAAaH,EAAaN,KACzBS,EAAWC,UAAyC,eAA7BD,EAAWE,SAASJ,KAErCE,EAAWC,UAAyC,YAA7BD,EAAWE,SAASJ,MAA2D,iBAA9BE,EAAWE,SAASC,MACrGR,EAASS,KAAKd,EAAqB,GAAGe,OAAOd,EAAKE,KAAM,KAAKY,OAAOL,EAAWE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2B3E,GACzC,IAAIoE,EAAa,IAAIxC,IAErB,OADA7B,EAA8BC,EAAMsE,EAA8BF,GAAaL,GACxE3C,MAAMsD,KAAKN,EACpB,CACA,SAASE,EAA8BF,GACrC,OAAO,SAAgChG,EAAMC,GAC3C,GAAID,EAAKE,OAASyF,EAAa,CAC7B,IAAIrF,EAAeL,EAAOA,EAAOJ,OAAS,GACtCwB,EAAapB,EAAOA,EAAOJ,OAAS,GACxC,GAAuF,oBAAlFwB,aAA+C,EAASA,EAAWrB,KAAKO,OAA2G,YAA5Ec,aAA+C,EAASA,EAAWb,MAA8G,sBAAxFF,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,MAAqBF,EAAaN,KAAKU,SAA+C,YAApCJ,EAAaN,KAAKW,SAASJ,MAAsBD,EAAaN,KAAKW,SAASC,QAAUgF,EAA4C,eAApCtF,EAAaN,KAAKW,SAASJ,MAAyBD,EAAaN,KAAKW,SAAST,OAAS0F,GACtiB,IAAK,IAAIY,KAAOnF,EAAWrB,KAAKJ,UACb,YAAb4G,EAAIjG,MAA2C,iBAAdiG,EAAI5F,OACvCoF,EAAW/E,IAAIuF,EAAI5F,MAI3B,CACF,CACF,C","sources":["webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/beforeVisitGlobalMember.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberCallUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/track.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/collectMemberUsageInFunction.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/permissions.js"],"sourcesContent":["export function beforeVisitGlobalMember(usage, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var rememberObjectName = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n return function beforeVisitGlobal(node, parent) {\n if (typeof objectName === \"string\" ? node.name === objectName : objectName.includes(node.name)) {\n var segments = [];\n for (var i = 1; i <= level; i++) {\n var memberParent = parent[parent.length - i];\n if ((memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\") {\n var memberNode = memberParent.node;\n if (!memberNode.computed && memberNode.property.type === \"Identifier\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.name) : memberNode.property.name);\n } else if (memberNode.computed && memberNode.property.type === \"Literal\" && typeof memberNode.property.value === \"string\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.value) : memberNode.property.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n if (segments.length === level) {\n usage.usedProperties.add(segments.join(\".\"));\n }\n }\n };\n}\n//# sourceMappingURL=beforeVisitGlobalMember.js.map","function collectMemberCallUsageFactory(object, property) {\n return function collectMemberCallUsage(usage, node, parent) {\n if (node.name === object) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === property : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === property)) {\n var args = callParent.node.arguments;\n if (args.length > 0) {\n var firstArg = args[0];\n if (firstArg.type === \"Literal\" && typeof firstArg.value === \"string\") {\n usage.usedArgs.add(firstArg.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n }\n }\n };\n}\nexport var collectAppGetMenuUsage = collectMemberCallUsageFactory(\"APP\", \"getMenu\");\nexport var collectInstalledAppsHasUsage = collectMemberCallUsageFactory(\"INSTALLED_APPS\", \"has\");\n//# sourceMappingURL=collectMemberCallUsage.js.map","import { isEvaluable, preevaluate } from \"@next-core/cook\";\nimport { isObject } from \"@next-core/utils/general\";\nexport function traverseStoryboardExpressions(data, beforeVisitGlobal,\n// If `options` is a string, it means the *keyword*.\noptions) {\n var memo = new WeakSet();\n var {\n matchExpressionString,\n visitNotMatchedExpressionString,\n visitNonExpressionString,\n visitObject\n } = typeof options === \"string\" ? {\n matchExpressionString: v => v.includes(options)\n } : options;\n function traverse(value) {\n if (typeof value === \"string\") {\n if (isEvaluable(value)) {\n if (matchExpressionString(value)) {\n try {\n preevaluate(value, {\n withParent: true,\n hooks: {\n beforeVisitGlobal(node, parent) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n beforeVisitGlobal(node, parent, value);\n }\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard expression failed:\", error);\n }\n } else {\n visitNotMatchedExpressionString === null || visitNotMatchedExpressionString === void 0 ? void 0 : visitNotMatchedExpressionString(value);\n }\n } else {\n visitNonExpressionString === null || visitNonExpressionString === void 0 ? void 0 : visitNonExpressionString(value);\n }\n } else if (isObject(value)) {\n // Avoid call stack overflow.\n if (memo.has(value)) {\n return;\n }\n memo.add(value);\n visitObject === null || visitObject === void 0 ? void 0 : visitObject(value);\n for (var item of Array.isArray(value) ? value : Object.values(value)) {\n traverse(item);\n }\n }\n }\n traverse(data);\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nimport { traverseStoryboardExpressions } from \"./traverse.js\";\nexport function strictCollectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n nonStaticUsage,\n usedProperties\n } = collectMemberUsage(data, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your expression: \\\"\").concat(nonStaticUsage, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var beforeVisitGlobal = beforeVisitGlobalMember(usage, objectName, level);\n traverseStoryboardExpressions(data, (node, parent, expr) => {\n beforeVisitGlobal(node, parent);\n if (usage.hasNonStaticUsage) {\n usage.nonStaticUsage = expr;\n }\n }, objectName);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsage.js.map","import { preevaluate } from \"@next-core/cook\";\nimport { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nexport function track(raw, trackText, variableName) {\n if (raw.includes(trackText)) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var {\n expression\n } = preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, variableName)\n }\n });\n var trackCtxExp;\n if (expression.type === \"SequenceExpression\" && (trackCtxExp = expression.expressions[0]) && trackCtxExp.type === \"Literal\" && trackCtxExp.value === trackText) {\n if (usage.usedProperties.size > 0) {\n return usage.usedProperties;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using \\\"\".concat(trackText, \"\\\" but no `\").concat(variableName, \"` usage found in your expression: \").concat(JSON.stringify(raw)));\n }\n }\n }\n return false;\n}\nexport function trackAll(raw) {\n if (raw) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, [\"CTX\", \"STATE\", \"FORM_STATE\"], 1, true)\n }\n });\n if (usage.usedProperties.size > 0) {\n var usedProperites = [...usage.usedProperties];\n var result = {\n context: false,\n state: false,\n formState: false\n };\n var keyMap = {\n CTX: \"context\",\n STATE: \"state\",\n FORM_STATE: \"formState\"\n };\n usedProperites.forEach(item => {\n var [key, name] = item.split(\".\");\n if (!result[keyMap[key]]) {\n result[keyMap[key]] = [];\n }\n result[keyMap[key]].push(name);\n });\n return result;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using track all but no \\\"CTX\\\" or \\\"STATE\\\" or \\\"FORM_STATE\\\" usage found in your expression: \".concat(JSON.stringify(raw)));\n }\n }\n return false;\n}\n//# sourceMappingURL=track.js.map","import { precookFunction } from \"@next-core/cook\";\nexport function traverseStoryboardFunctions(functions, beforeVisitGlobal) {\n if (Array.isArray(functions)) {\n for (var fn of functions) {\n traverseStoryboardFunction(fn, beforeVisitGlobal);\n }\n }\n}\nexport function traverseStoryboardFunction(fn, beforeVisitGlobal) {\n try {\n precookFunction(fn.source, {\n typescript: fn.typescript,\n withParent: true,\n hooks: {\n beforeVisitGlobal\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard function \\\"\".concat(fn.name, \"\\\" failed:\"), error);\n }\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"../expressions/beforeVisitGlobalMember.js\";\nimport { traverseStoryboardFunction } from \"./traverse.js\";\nexport function strictCollectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n usedProperties\n } = collectMemberUsageInFunction(fn, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your function: \\\"\").concat(fn.name, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n traverseStoryboardFunction(fn, beforeVisitGlobalMember(usage, objectName, level));\n usage.usedProperties.delete(fn.name);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsageInFunction.js.map","import { traverseStoryboardExpressions } from \"./expressions/index.js\";\nimport { traverseStoryboardFunctions } from \"./functions/index.js\";\nvar PERMISSIONS = \"PERMISSIONS\";\nvar check = \"check\";\nexport function scanPermissionActionsInStoryboard(storyboard) {\n var _storyboard$meta;\n var collection = new Set();\n var beforeVisitPermissions = beforeVisitPermissionsFactory(collection);\n var {\n customTemplates,\n functions\n } = (_storyboard$meta = storyboard.meta) !== null && _storyboard$meta !== void 0 ? _storyboard$meta : {};\n traverseStoryboardExpressions([storyboard.routes, customTemplates], beforeVisitPermissions, PERMISSIONS);\n traverseStoryboardFunctions(functions, beforeVisitPermissions);\n return Array.from(collection);\n}\nexport function scanPermissionActionsInAny(data) {\n var collection = new Set();\n traverseStoryboardExpressions(data, beforeVisitPermissionsFactory(collection), PERMISSIONS);\n return Array.from(collection);\n}\nfunction beforeVisitPermissionsFactory(collection) {\n return function beforeVisitPermissions(node, parent) {\n if (node.name === PERMISSIONS) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === check : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === check)) {\n for (var arg of callParent.node.arguments) {\n if (arg.type === \"Literal\" && typeof arg.value === \"string\") {\n collection.add(arg.value);\n }\n }\n }\n }\n };\n}\n//# sourceMappingURL=permissions.js.map"],"names":["beforeVisitGlobalMember","usage","objectName","level","arguments","length","undefined","rememberObjectName","node","parent","name","includes","segments","i","memberParent","type","key","memberNode","computed","property","value","push","concat","hasNonStaticUsage","usedProperties","add","join","collectMemberCallUsageFactory","object","callParent","args","firstArg","usedArgs","collectAppGetMenuUsage","collectInstalledAppsHasUsage","traverseStoryboardExpressions","data","beforeVisitGlobal","options","memo","WeakSet","matchExpressionString","visitNotMatchedExpressionString","visitNonExpressionString","visitObject","v","traverse","isEvaluable","preevaluate","withParent","hooks","error","console","isObject","has","item","Array","isArray","Object","values","strictCollectMemberUsage","nonStaticUsage","collectMemberUsage","Error","Set","expr","track","raw","trackText","variableName","trackCtxExp","expression","expressions","size","warn","JSON","stringify","trackAll","usedProperites","result","context","state","formState","keyMap","CTX","STATE","FORM_STATE","forEach","split","traverseStoryboardFunctions","functions","fn","traverseStoryboardFunction","precookFunction","source","typescript","strictCollectMemberUsageInFunction","collectMemberUsageInFunction","delete","PERMISSIONS","check","scanPermissionActionsInStoryboard","storyboard","_storyboard$meta","collection","beforeVisitPermissions","beforeVisitPermissionsFactory","customTemplates","meta","routes","from","scanPermissionActionsInAny","arg"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"chunks/8691.c948b4b4.js","mappings":"gJAAO,SAASA,EAAwBC,EAAOC,GAC7C,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EG,EAAqBH,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,IAAmBA,UAAU,GACxF,OAAO,SAA2BI,EAAMC,GACtC,GAA0B,iBAAfP,EAA0BM,EAAKE,OAASR,EAAaA,EAAWS,SAASH,EAAKE,MAAO,CAE9F,IADA,IAAIE,EAAW,GACNC,EAAI,EAAGA,GAAKV,EAAOU,IAAK,CAC/B,IAAIC,EAAeL,EAAOA,EAAOJ,OAASQ,GAC1C,GAA6F,sBAAxFC,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,IAAkB,CAChJ,IAAIC,EAAaH,EAAaN,KACzBS,EAAWC,UAAyC,eAA7BD,EAAWE,SAASJ,KAErCE,EAAWC,UAAyC,YAA7BD,EAAWE,SAASJ,MAA2D,iBAA9BE,EAAWE,SAASC,MACrGR,EAASS,KAAKd,EAAqB,GAAGe,OAAOd,EAA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D,KAAKN,EACpB,CACO,SAASO,EAA2B3E,GACzC,IAAIoE,EAAa,IAAIxC,IAErB,OADA7B,EAA8BC,EAAMsE,EAA8BF,GAAaL,GACxE3C,MAAMsD,KAAKN,EACpB,CACA,SAASE,EAA8BF,GACrC,OAAO,SAAgChG,EAAMC,GAC3C,GAAID,EAAKE,OAASyF,EAAa,CAC7B,IAAIrF,EAAeL,EAAOA,EAAOJ,OAAS,GACtCwB,EAAapB,EAAOA,EAAOJ,OAAS,GACxC,GAAuF,oBAAlFwB,aAA+C,EAASA,EAAWrB,KAAKO,OAA2G,YAA5Ec,aAA+C,EAASA,EAAWb,MAA8G,sBAAxFF,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,MAAqBF,EAAaN,KAAKU,SAA+C,YAApCJ,EAAaN,KAAKW,SAASJ,MAAsBD,EAAaN,KAAKW,SAASC,QAAUgF,EAA4C,eAApCtF,EAAaN,KAAKW,SAASJ,MAAyBD,EAAaN,KAAKW,SAAST,OAAS0F,GACtiB,IAAK,IAAIY,KAAOnF,EAAWrB,KAAKJ,UACb,YAAb4G,EAAIjG,MAA2C,iBAAdiG,EAAI5F,OACvCoF,EAAW/E,IAAIuF,EAAI5F,MAI3B,CACF,CACF,C","sources":["webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/beforeVisitGlobalMember.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberCallUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/track.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/collectMemberUsageInFunction.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/permissions.js"],"sourcesContent":["export function beforeVisitGlobalMember(usage, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var rememberObjectName = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n return function beforeVisitGlobal(node, parent) {\n if (typeof objectName === \"string\" ? node.name === objectName : objectName.includes(node.name)) {\n var segments = [];\n for (var i = 1; i <= level; i++) {\n var memberParent = parent[parent.length - i];\n if ((memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\") {\n var memberNode = memberParent.node;\n if (!memberNode.computed && memberNode.property.type === \"Identifier\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.name) : memberNode.property.name);\n } else if (memberNode.computed && memberNode.property.type === \"Literal\" && typeof memberNode.property.value === \"string\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.value) : memberNode.property.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n if (segments.length === level) {\n usage.usedProperties.add(segments.join(\".\"));\n }\n }\n };\n}\n//# sourceMappingURL=beforeVisitGlobalMember.js.map","function collectMemberCallUsageFactory(object, property) {\n return function collectMemberCallUsage(usage, node, parent) {\n if (node.name === object) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === property : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === property)) {\n var args = callParent.node.arguments;\n if (args.length > 0) {\n var firstArg = args[0];\n if (firstArg.type === \"Literal\" && typeof firstArg.value === \"string\") {\n usage.usedArgs.add(firstArg.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n }\n }\n };\n}\nexport var collectAppGetMenuUsage = collectMemberCallUsageFactory(\"APP\", \"getMenu\");\nexport var collectInstalledAppsHasUsage = collectMemberCallUsageFactory(\"INSTALLED_APPS\", \"has\");\n//# sourceMappingURL=collectMemberCallUsage.js.map","import { isEvaluable, preevaluate } from \"@next-core/cook\";\nimport { isObject } from \"@next-core/utils/general\";\nexport function traverseStoryboardExpressions(data, beforeVisitGlobal,\n// If `options` is a string, it means the *keyword*.\noptions) {\n var memo = new WeakSet();\n var {\n matchExpressionString,\n visitNotMatchedExpressionString,\n visitNonExpressionString,\n visitObject\n } = typeof options === \"string\" ? {\n matchExpressionString: v => v.includes(options)\n } : options;\n function traverse(value) {\n if (typeof value === \"string\") {\n if (isEvaluable(value)) {\n if (matchExpressionString(value)) {\n try {\n preevaluate(value, {\n withParent: true,\n hooks: {\n beforeVisitGlobal(node, parent) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n beforeVisitGlobal(node, parent, value);\n }\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard expression failed:\", error);\n }\n } else {\n visitNotMatchedExpressionString === null || visitNotMatchedExpressionString === void 0 ? void 0 : visitNotMatchedExpressionString(value);\n }\n } else {\n visitNonExpressionString === null || visitNonExpressionString === void 0 ? void 0 : visitNonExpressionString(value);\n }\n } else if (isObject(value)) {\n // Avoid call stack overflow.\n if (memo.has(value)) {\n return;\n }\n memo.add(value);\n visitObject === null || visitObject === void 0 ? void 0 : visitObject(value);\n for (var item of Array.isArray(value) ? value : Object.values(value)) {\n traverse(item);\n }\n }\n }\n traverse(data);\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nimport { traverseStoryboardExpressions } from \"./traverse.js\";\nexport function strictCollectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n nonStaticUsage,\n usedProperties\n } = collectMemberUsage(data, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your expression: \\\"\").concat(nonStaticUsage, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var beforeVisitGlobal = beforeVisitGlobalMember(usage, objectName, level);\n traverseStoryboardExpressions(data, (node, parent, expr) => {\n beforeVisitGlobal(node, parent);\n if (usage.hasNonStaticUsage) {\n usage.nonStaticUsage = expr;\n }\n }, objectName);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsage.js.map","import { preevaluate } from \"@next-core/cook\";\nimport { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nexport function track(raw, trackText, variableName) {\n if (raw.includes(trackText)) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var {\n expression\n } = preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, variableName)\n }\n });\n var trackCtxExp;\n if (expression.type === \"SequenceExpression\" && (trackCtxExp = expression.expressions[0]) && trackCtxExp.type === \"Literal\" && trackCtxExp.value === trackText) {\n if (usage.usedProperties.size > 0) {\n return usage.usedProperties;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using \\\"\".concat(trackText, \"\\\" but no `\").concat(variableName, \"` usage found in your expression: \").concat(JSON.stringify(raw)));\n }\n }\n }\n return false;\n}\nexport function trackAll(raw) {\n if (raw) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, [\"CTX\", \"STATE\", \"FORM_STATE\"], 1, true)\n }\n });\n if (usage.usedProperties.size > 0) {\n var usedProperites = [...usage.usedProperties];\n var result = {\n context: false,\n state: false,\n formState: false\n };\n var keyMap = {\n CTX: \"context\",\n STATE: \"state\",\n FORM_STATE: \"formState\"\n };\n usedProperites.forEach(item => {\n var [key, name] = item.split(\".\");\n if (!result[keyMap[key]]) {\n result[keyMap[key]] = [];\n }\n result[keyMap[key]].push(name);\n });\n return result;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using track all but no \\\"CTX\\\" or \\\"STATE\\\" or \\\"FORM_STATE\\\" usage found in your expression: \".concat(JSON.stringify(raw)));\n }\n }\n return false;\n}\n//# sourceMappingURL=track.js.map","import { precookFunction } from \"@next-core/cook\";\nexport function traverseStoryboardFunctions(functions, beforeVisitGlobal) {\n if (Array.isArray(functions)) {\n for (var fn of functions) {\n traverseStoryboardFunction(fn, beforeVisitGlobal);\n }\n }\n}\nexport function traverseStoryboardFunction(fn, beforeVisitGlobal) {\n try {\n precookFunction(fn.source, {\n typescript: fn.typescript,\n withParent: true,\n hooks: {\n beforeVisitGlobal\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard function \\\"\".concat(fn.name, \"\\\" failed:\"), error);\n }\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"../expressions/beforeVisitGlobalMember.js\";\nimport { traverseStoryboardFunction } from \"./traverse.js\";\nexport function strictCollectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n usedProperties\n } = collectMemberUsageInFunction(fn, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your function: \\\"\").concat(fn.name, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsageInFunction(fn, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n traverseStoryboardFunction(fn, beforeVisitGlobalMember(usage, objectName, level));\n usage.usedProperties.delete(fn.name);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsageInFunction.js.map","import { traverseStoryboardExpressions } from \"./expressions/index.js\";\nimport { traverseStoryboardFunctions } from \"./functions/index.js\";\nvar PERMISSIONS = \"PERMISSIONS\";\nvar check = \"check\";\nexport function scanPermissionActionsInStoryboard(storyboard) {\n var _storyboard$meta;\n var collection = new Set();\n var beforeVisitPermissions = beforeVisitPermissionsFactory(collection);\n var {\n customTemplates,\n functions\n } = (_storyboard$meta = storyboard.meta) !== null && _storyboard$meta !== void 0 ? _storyboard$meta : {};\n traverseStoryboardExpressions([storyboard.routes, customTemplates], beforeVisitPermissions, PERMISSIONS);\n traverseStoryboardFunctions(functions, beforeVisitPermissions);\n return Array.from(collection);\n}\nexport function scanPermissionActionsInAny(data) {\n var collection = new Set();\n traverseStoryboardExpressions(data, beforeVisitPermissionsFactory(collection), PERMISSIONS);\n return Array.from(collection);\n}\nfunction beforeVisitPermissionsFactory(collection) {\n return function beforeVisitPermissions(node, parent) {\n if (node.name === PERMISSIONS) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === check : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === check)) {\n for (var arg of callParent.node.arguments) {\n if (arg.type === \"Literal\" && typeof arg.value === \"string\") {\n collection.add(arg.value);\n }\n }\n }\n }\n };\n}\n//# sourceMappingURL=permissions.js.map"],"names":["beforeVisitGlobalMember","usage","objectName","level","arguments","length","undefined","rememberObjectName","node","parent","name","includes","segments","i","memberParent","type","key","memberNode","computed","property","value","push","concat","hasNonStaticUsage","usedProperties","add","join","collectMemberCallUsageFactory","object","callParent","args","firstArg","usedArgs","collectAppGetMenuUsage","collectInstalledAppsHasUsage","traverseStoryboardExpressions","data","beforeVisitGlobal","options","memo","WeakSet","matchExpressionString","visitNotMatchedExpressionString","visitNonExpressionString","visitObject","v","traverse","isEvaluable","preevaluate","withParent","hooks","error","console","isObject","has","item","Array","isArray","Object","values","strictCollectMemberUsage","nonStaticUsage","collectMemberUsage","Error","Set","expr","track","raw","trackText","variableName","trackCtxExp","expression","expressions","size","warn","JSON","stringify","trackAll","usedProperites","result","context","state","formState","keyMap","CTX","STATE","FORM_STATE","forEach","split","traverseStoryboardFunctions","functions","fn","traverseStoryboardFunction","precookFunction","source","typescript","strictCollectMemberUsageInFunction","collectMemberUsageInFunction","delete","PERMISSIONS","check","scanPermissionActionsInStoryboard","storyboard","_storyboard$meta","collection","beforeVisitPermissions","beforeVisitPermissionsFactory","customTemplates","meta","routes","from","scanPermissionActionsInAny","arg"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[9411],{79411:(e,i,s)=>{"use strict";s.r(i);var t,r,n,a,o,p,m,l,c,u,d,h,g,j,b,v,y,x,f,w,E=s(33028),k=s(53395),Z=s(40381),S=s(70687),N=s(25303),z=s(48657),_=s.n(z),C=s(75476),P=s(29049),T=s(58803),I=(s(31800),s(72779)),M=s.n(I),O=s(1150),A=(0,P.wrapBrick)("containers.general-card"),B=(0,P.wrapBrick)("containers.grid-layout"),{defineElement:G,property:W}=(0,C.createDecorators)();r=G("eo-descriptions",{styleTexts:[T.Z],alias:["presentational.general-descriptions"]}),n=W(),o=W({attribute:!1}),m=W({type:Boolean}),c=W({attribute:!0}),d=W(),g=W({type:Boolean}),b=W({attribute:!1}),y=W({attribute:!1});var L=new WeakMap,U=new WeakMap,R=new WeakMap,q=new WeakMap,D=new WeakMap,F=new WeakMap,V=new WeakMap,X=new WeakMap;class Y extends P.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,L,{writable:!0,value:(f(this),a(this))}),(0,k.Z)(this,U,{writable:!0,value:p(this)}),(0,k.Z)(this,R,{writable:!0,value:l(this)}),(0,k.Z)(this,q,{writable:!0,value:u(this)}),(0,k.Z)(this,D,{writable:!0,value:h(this)}),(0,k.Z)(this,F,{writable:!0,value:j(this)}),(0,k.Z)(this,V,{writable:!0,value:v(this)}),(0,k.Z)(this,X,{writable:!0,value:x(this)})}get descriptionTitle(){return(0,S.Z)(this,L)}set descriptionTitle(e){(0,Z.Z)(this,L,e)}get list(){return(0,S.Z)(this,U)}set list(e){(0,Z.Z)(this,U,e)}get showCard(){return(0,S.Z)(this,R)}set showCard(e){(0,Z.Z)(this,R,e)}get column(){return(0,S.Z)(this,q)}set column(e){(0,Z.Z)(this,q,e)}get layout(){return(0,S.Z)(this,D)}set layout(e){(0,Z.Z)(this,D,e)}get bordered(){return(0,S.Z)(this,F)}set bordered(e){(0,Z.Z)(this,F,e)}get hideGroups(){return(0,S.Z)(this,V)}set hideGroups(e){(0,Z.Z)(this,V,e)}get dataSource(){return(0,S.Z)(this,X)}set dataSource(e){(0,Z.Z)(this,X,e)}render(){return _().createElement(K,{descriptionTitle:this.descriptionTitle,list:this.list,showCard:this.showCard,column:this.column,layout:this.layout,bordered:this.bordered,hideGroups:this.hideGroups,dataSource:this.dataSource})}}function K(e){var i,{descriptionTitle:s,list:t,showCard:r=!0,column:n=3,layout:a="horizontal",bordered:o=!1,hideGroups:p,dataSource:m}=e,[l,c]=(0,z.useState)();return(0,z.useEffect)((()=>{if(p){var e=new Set([].concat(p).filter(Boolean));c(e)}}),[p]),_().createElement(A,{cardTitle:s,headerStyle:{border:"none",padding:"12px 12px 0 12px"},background:r},_().createElement(B,{gap:"vertical"===a||o?"0":"10px",columns:n,className:"description-content"},null==t||null===(i=t.filter((e=>!e.group||!(null!=l&&l.has(e.group)))))||void 0===i?void 0:i.map(((e,i)=>_().createElement("div",{key:i,className:M()("description-item",a,{bordered:o}),style:(0,E.Z)({},i===t.length-1?{gridColumnStart:t.length%n,gridColumnEnd:+n+1}:{})},_().createElement("span",null,e.label,": "),_().createElement("span",null,(e=>e.useBrick?_().createElement(O.ReactUseMultipleBricks,{useBrick:e.useBrick,data:null!=m?m:{}}):e.text)(e)))))))}({e:[a,p,l,u,h,j,v,x,f],c:[w,t]}=(0,N.Z)(Y,[[n,1,"descriptionTitle"],[o,1,"list"],[m,1,"showCard"],[c,1,"column"],[d,1,"layout"],[g,1,"bordered"],[b,1,"hideGroups"],[y,1,"dataSource"]],[r])),t();var H=s(7896),J=s(53622);class ${constructor(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=i}setItem(e,i){this.storage.setItem(this.prefix+e,JSON.stringify(i))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}var Q,ee,ie,se,te,re,ne,ae,oe,pe,me,le,ce,ue,de=s(52297),he=function(e){return e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.ERROR="error",e}({}),ge={[he.SUCCESS]:{outlinedIcon:{lib:"antd",icon:"check-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"check-circle",theme:"filled"},color:"var(--theme-green-color)",bgColor:"var(--theme-green-background)"},[he.INFO]:{outlinedIcon:{lib:"antd",icon:"info-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"info-circle",theme:"filled"},color:"var(--theme-blue-color)",bgColor:"var(--theme-blue-background)"},[he.WARNING]:{outlinedIcon:{lib:"antd",icon:"exclamation-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"exclamation-circle",theme:"filled"},color:"var(--theme-orange-color)",bgColor:"var(--theme-orange-background)"},[he.ERROR]:{outlinedIcon:{lib:"antd",icon:"close-circle",theme:"outlined"},filledIcon:{lib:"antd",icon:"close-circle",theme:"filled"},color:"var(--theme-red-color)",bgColor:"var(--theme-red-background)"}},je="presentational.general-alert-hidden",{defineElement:be,property:ve}=(0,C.createDecorators)(),ye=(0,P.wrapBrick)("eo-icon");ee=be("eo-alert",{styleTexts:[de.Z],alias:["presentational.general-alert"]}),ie=ve({attribute:!1}),te=ve({type:Boolean}),ne=ve({type:Boolean}),oe=ve(),me=ve({type:Boolean});var xe=new WeakMap,fe=new WeakMap,we=new WeakMap,Ee=new WeakMap,ke=new WeakMap;class Ze extends P.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,xe,{writable:!0,value:(ce(this),se(this))}),(0,k.Z)(this,fe,{writable:!0,value:re(this)}),(0,k.Z)(this,we,{writable:!0,value:ae(this)}),(0,k.Z)(this,Ee,{writable:!0,value:pe(this)}),(0,k.Z)(this,ke,{writable:!0,value:le(this)})}get type(){return(0,S.Z)(this,xe)}set type(e){(0,Z.Z)(this,xe,e)}get hasTitle(){return(0,S.Z)(this,fe)}set hasTitle(e){(0,Z.Z)(this,fe,e)}get closable(){return(0,S.Z)(this,we)}set closable(e){(0,Z.Z)(this,we,e)}get localStorageKey(){return(0,S.Z)(this,Ee)}set localStorageKey(e){(0,Z.Z)(this,Ee,e)}get disableUrlNamespace(){return(0,S.Z)(this,ke)}set disableUrlNamespace(e){(0,Z.Z)(this,ke,e)}render(){return _().createElement(Se,{type:this.type,hasTitle:this.hasTitle,closable:this.closable,localStorageKey:this.localStorageKey,disableUrlNamespace:this.disableUrlNamespace})}}function Se(e){var{type:i,hasTitle:s,closable:t,localStorageKey:r,disableUrlNamespace:n}=e,a=(0,z.useMemo)((()=>new $(localStorage)),[]),o=(0,z.useMemo)((()=>{if(r){var e=(0,J.getHistory)().location.pathname;return n?"".concat(je,"_").concat(r):"".concat(je,"_").concat(r,"_").concat(e)}return null}),[n,r]),p=(0,z.useMemo)((()=>ge[i]),[i]),[m,l]=(0,z.useState)((()=>!(!t||!o||!a.getItem(o))));return m?null:_().createElement("div",{className:M()("alert-wrapper",s?"alert-wrapper-has-title":"alert-wrapper-no-title"),style:{background:null==p?void 0:p.bgColor}},_().createElement(ye,(0,H.Z)({},s?null==p?void 0:p.outlinedIcon:null==p?void 0:p.filledIcon,{className:"alert-icon",style:{color:null==p?void 0:p.color}})),_().createElement("div",{className:"alert-container"},s&&_().createElement("div",{className:"alert-title"},_().createElement("slot",{name:"title"})),_().createElement("div",{className:"alert-content"},_().createElement("slot",null))),t&&_().createElement(ye,{lib:"antd",theme:"outlined",icon:"close",className:"close-icon",onClick:()=>{l(!0),a.setItem(o,!0)}}))}({e:[se,re,ae,pe,le,ce],c:[ue,Q]}=(0,N.Z)(Ze,[[ie,1,"type"],[te,1,"hasTitle"],[ne,1,"closable"],[oe,1,"localStorageKey"],[me,1,"disableUrlNamespace"]],[ee])),Q();var Ne=s(32372),ze=s(24271),_e=function(e){return e.COPY_SUCCESS="COPY_SUCCESS",e.COPY_FAILED="COPY_FAILED",e}({}),Ce="bricks/presentational/code-display",Pe=s(375),Te=s(46782),Ie=s(53712),Me=s.n(Ie),Oe=(s(18267),s(55744),s(64883),s(89651),s(58650),s(54089),s(51702),s(35586),s(15329),s(83701),s(62363),s(23502),s(84999),s(93133),s(71109),s(98513),s(79468),s(63083),s(46518),s(58032)),Ae={styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#999"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","deleted"],style:{color:"#e2777a"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","number","function"],style:{color:"#f08d49"}},{types:["property","class-name","constant","symbol"],style:{color:"#f8c555"}},{types:["selector","important","atrule","keyword","builtin"],style:{color:"#cc99cd"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#7ec699"}},{types:["operator","entity","url"],style:{color:"#67cdcc"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},Be={color:"#ccc",background:"#2d2d2d",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",MozTabSize:4,OTabSize:4,tabSize:4,WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},Ge=s(34795),We=s(59528),Le=s(81211),Ue=Me().languages,Re=(0,Le.cloneDeep)(We.languages),qe=new Map;(()=>{var e=function(e){var i=Re[e];i.requireDeps=[].concat(i.require||[]),i.optionalDeps=[].concat(i.optional||[]),qe.set(e,e),[].concat(i.alias||[]).forEach((i=>{qe.set(i,e)}))};for(var i in Re)e(i)})();var De,Fe,Ve,Xe,Ye,Ke,He,Je,$e,Qe,ei,ii,si,ti,ri,ni,ai,oi,pi,mi=e=>new Promise(((i,t)=>{s(98933)("./prism-".concat(e,".min.js")).then((()=>i(void 0)),(i=>{var s="load language failed: ".concat(e,"\n reason: ").concat(i);console.error(s),t(s)}))})),li=function(){var e=(0,Ge.Z)((function*(e){if(Ue[e])return Promise.resolve();var i=Re[e],s=i.requireDeps.map((e=>li(e))),t=i.optionalDeps.map((e=>li(e)));return yield Promise.all(s),Promise.all([mi(e),...t])}));return function(i){return e.apply(this,arguments)}}(),ci=function(){var e=(0,Ge.Z)((function*(e){var i=qe.get(e);if(i&&Re[i])return li(i);var s="unsupported language: "+e;return console.error(s),Promise.reject(s)}));return function(i){return e.apply(this,arguments)}}();Me().manual=!0,(0,ze.initializeReactI18n)(Ce,{en:{COPY_SUCCESS:"Copied!",COPY_FAILED:"Copy failed!"},zh:{COPY_SUCCESS:"已复制!",COPY_FAILED:"复制失败!"}});var ui,{defineElement:di,property:hi}=(0,C.createDecorators)(),gi=(0,P.wrapBrick)("eo-icon"),ji=(0,Ne.unwrapProvider)("basic.copy-to-clipboard"),bi=(0,Ne.unwrapProvider)("basic.show-notification");Fe=di("eo-code-display",{styleTexts:[Pe.Z],alias:["presentational.code-display"]}),Ve=hi(),Ye=hi(),He=hi({type:Boolean}),$e=hi({type:Number}),ei=hi({type:Number}),si=hi({type:Boolean}),ri=hi({type:Boolean}),ai=hi();var vi=new WeakMap,yi=new WeakMap,xi=new WeakMap,fi=new WeakMap,wi=new WeakMap,Ei=new WeakMap,ki=new WeakMap,Zi=new WeakMap;class Si extends P.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,vi,{writable:!0,value:(pi(this),Xe(this,""))}),(0,k.Z)(this,yi,{writable:!0,value:Ke(this)}),(0,k.Z)(this,xi,{writable:!0,value:Je(this)}),(0,k.Z)(this,fi,{writable:!0,value:Qe(this)}),(0,k.Z)(this,wi,{writable:!0,value:ii(this)}),(0,k.Z)(this,Ei,{writable:!0,value:ti(this,!0)}),(0,k.Z)(this,ki,{writable:!0,value:ni(this)}),(0,k.Z)(this,Zi,{writable:!0,value:oi(this)})}get value(){return(0,S.Z)(this,vi)}set value(e){(0,Z.Z)(this,vi,e)}get language(){return(0,S.Z)(this,yi)}set language(e){(0,Z.Z)(this,yi,e)}get hideLineNumber(){return(0,S.Z)(this,xi)}set hideLineNumber(e){(0,Z.Z)(this,xi,e)}get maxLines(){return(0,S.Z)(this,fi)}set maxLines(e){(0,Z.Z)(this,fi,e)}get minLines(){return(0,S.Z)(this,wi)}set minLines(e){(0,Z.Z)(this,wi,e)}get showCopyButton(){return(0,S.Z)(this,Ei)}set showCopyButton(e){(0,Z.Z)(this,Ei,e)}get showExportButton(){return(0,S.Z)(this,ki)}set showExportButton(e){(0,Z.Z)(this,ki,e)}get exportFileName(){return(0,S.Z)(this,Zi)}set exportFileName(e){(0,Z.Z)(this,Zi,e)}render(){return _().createElement(Ni,{value:this.value,language:this.language,hideLineNumber:this.hideLineNumber,maxLines:this.maxLines,minLines:this.minLines,showCopyButton:this.showCopyButton,showExportButton:this.showExportButton,exportFileName:this.exportFileName})}}function Ni(e){var{value:i,language:s,hideLineNumber:t,maxLines:r,minLines:n,showCopyButton:a,showExportButton:o,exportFileName:p}=e,{t:m}=(0,ze.useTranslation)(Ce),[,l]=(0,z.useState)();return(0,z.useEffect)((()=>{ci(s).then((()=>{l(null)}),(()=>{}))}),[s]),_().createElement("div",{className:"code-wrapper"},_().createElement(Oe.y$,{theme:Ae,code:i,language:s,prism:Me()},(e=>{var{className:i,style:s,tokens:a,getLineProps:o,getTokenProps:p}=e;return _().createElement("pre",{style:(0,E.Z)((0,E.Z)({},Be),{},{"--max-lines":r-0>0?r:null,"--min-lines":n-0>0?n:null}),className:M()(i,t?"no-line-numbers":"line-numbers")},a.map(((e,i)=>_().createElement("div",(0,H.Z)({key:i},o({line:e})),_().createElement("span",{className:"line-number"},i+1),_().createElement("span",null,e.map(((e,i)=>_().createElement("span",(0,H.Z)({key:i},p({token:e}))))))))))})),_().createElement("div",{className:"tool-bar"},a&&_().createElement(gi,{lib:"antd",theme:"outlined",icon:"copy",className:"copy-icon",onClick:()=>{ji(i).then((()=>bi({type:"success",message:m(_e.COPY_SUCCESS)}))).catch((()=>bi({type:"error",message:m(_e.COPY_FAILED)})))}}),o&&_().createElement(gi,{lib:"antd",theme:"outlined",icon:"export",className:"export-icon",onClick:()=>{(0,Te.saveAs)(new Blob([i]),p)}})))}({e:[Xe,Ke,Je,Qe,ii,ti,ni,oi,pi],c:[ui,De]}=(0,N.Z)(Si,[[Ve,1,"value"],[Ye,1,"language"],[He,1,"hideLineNumber"],[$e,1,"maxLines"],[ei,1,"minLines"],[si,1,"showCopyButton"],[ri,1,"showExportButton"],[ai,1,"exportFileName"]],[Fe])),De();var zi,_i,Ci,Pi,Ti,Ii,Mi,Oi,Ai,Bi,Gi,Wi,Li,Ui,Ri,qi=s(37995),Di=s(52068),Fi=function(e){return e.TOTAL="TOTAL",e.PAGE_SIZE="PAGE_SIZE",e.NEXT_PAGE_one="NEXT_PAGE_one",e.NEXT_PAGE_other="NEXT_PAGE_other",e.PREVIOUS_PAGE_one="PREVIOUS_PAGE_one",e.PREVIOUS_PAGE_other="PREVIOUS_PAGE_other",e}({}),Vi="bricks/presentational/eo-pagination";(0,ze.initializeReactI18n)(Vi,{en:{TOTAL:"Total <total>{{ total }}</total> Items",PAGE_SIZE:"{{ count }} / page",NEXT_PAGE_one:"Next Page",NEXT_PAGE_other:"Next {{ count }} Pages",PREVIOUS_PAGE_one:"Previous Page",PREVIOUS_PAGE_other:"Previous {{ count }} Pages"},zh:{TOTAL:"共 <total>{{ total }}</total> 条",PAGE_SIZE:"{{ count }} / 页",NEXT_PAGE_one:"下一页",NEXT_PAGE_other:"向后 {{ count }} 页",PREVIOUS_PAGE_one:"上一页",PREVIOUS_PAGE_other:"向前 {{ count }} 页"}});var Xi,{defineElement:Yi,property:Ki,event:Hi}=(0,C.createDecorators)(),Ji=(0,P.wrapBrick)("eo-icon"),$i=(0,P.wrapBrick)("eo-popover"),Qi=(0,P.wrapBrick)("eo-menu"),es=(0,P.wrapBrick)("eo-menu-item");_i=Yi("eo-pagination",{styleTexts:[qi.Z]}),Ci=Ki({type:Number}),Ti=Ki({type:Number}),Mi=Ki({type:Number}),Ai=Ki({attribute:!1}),Gi=Hi({type:"change"});var is=new WeakMap,ss=new WeakMap,ts=new WeakMap,rs=new WeakMap,ns=new WeakMap,as=new WeakMap,os=new WeakMap;class ps extends P.ReactNextElement{constructor(){super(...arguments),(0,k.Z)(this,as,{get:ls,set:ms}),(0,k.Z)(this,is,{writable:!0,value:(Ri(this),Pi(this,0))}),(0,k.Z)(this,ss,{writable:!0,value:Ii(this,1)}),(0,k.Z)(this,ts,{writable:!0,value:Oi(this,20)}),(0,k.Z)(this,rs,{writable:!0,value:Bi(this,[10,20,50,100])}),(0,k.Z)(this,ns,{writable:!0,value:Wi(this)}),(0,k.Z)(this,os,{writable:!0,value:e=>{(0,S.Z)(this,as).emit(e)}})}get total(){return(0,S.Z)(this,is)}set total(e){(0,Z.Z)(this,is,e)}get page(){return(0,S.Z)(this,ss)}set page(e){(0,Z.Z)(this,ss,e)}get pageSize(){return(0,S.Z)(this,ts)}set pageSize(e){(0,Z.Z)(this,ts,e)}get pageSizeOptions(){return(0,S.Z)(this,rs)}set pageSizeOptions(e){(0,Z.Z)(this,rs,e)}render(){return _().createElement(cs,{total:this.total,page:this.page,pageSize:this.pageSize,pageSizeOptions:this.pageSizeOptions,onChange:(0,S.Z)(this,os)})}}function ms(e){Ui(this,e)}function ls(){return Li(this)}function cs(e){var{t:i}=(0,ze.useTranslation)(Vi),{onChange:s}=e,[{total:t,page:r,pageSize:n},a]=(0,z.useState)({});(0,z.useEffect)((()=>{var i=gs(e.total,0),s=gs(e.page,0),t=gs(e.pageSize,0);a({total:i,page:s,pageSize:t})}),[e.page,e.pageSize,e.total]);var o=(0,z.useMemo)((()=>{var i=[n].concat(e.pageSizeOptions||[]).map((e=>Number(e))).filter((e=>!Number.isNaN(e)));return(0,Le.sortBy)([...new Set(i)],(e=>e))}),[n,e.pageSizeOptions]),p=(0,z.useMemo)((()=>gs(Math.ceil(t/n),0)),[n,t]),m=(0,z.useMemo)((()=>{var e=[],i={type:"prev-arrow",disabled:1===r||0===p},s={type:"next-arrow",disabled:r===p||0===p},t=function(e,i,s){var t,r;if(e<=5)t=1,r=e;else{var n=Math.floor(2),a=4-n;i-n<1&&(a+=n-i+1),i+a>e&&(n+=i+a-e),t=i-n<1?1:i-n,r=i+a>e?e:i+a}return Array.from(new Array(r+1).keys()).slice(t)}(p,r).map((e=>({type:"page",page:e,active:e===r})));return e.push(i),t.length&&t[0].page>1&&(e.push({type:"page",page:1}),t[0].page>2&&e.push({type:"prev-jump",span:5})),t.forEach((i=>e.push(i))),t.length&&t[t.length-1].page<p&&(t[t.length-1].page<p-1&&e.push({type:"next-jump",span:5}),e.push({type:"page",page:p})),e.push(s),e}),[p,r]),l=e=>{switch(e.type){case"prev-arrow":e.disabled||(a((e=>(0,E.Z)((0,E.Z)({},e),{},{page:r-1}))),null==s||s({page:r-1,pageSize:n}));break;case"next-arrow":e.disabled||(a((e=>(0,E.Z)((0,E.Z)({},e),{},{page:r+1}))),null==s||s({page:r+1,pageSize:n}));break;case"prev-jump":var i=r-e.span<1?1:r-e.span;a((e=>(0,E.Z)((0,E.Z)({},e),{},{page:i}))),null==s||s({page:i,pageSize:n});break;case"next-jump":var t=r+e.span>p?p:r+e.span;a((e=>(0,E.Z)((0,E.Z)({},e),{},{page:t}))),null==s||s({page:t,pageSize:n});break;case"page":a((i=>(0,E.Z)((0,E.Z)({},i),{},{page:e.page}))),null==s||s({page:e.page,pageSize:n})}};return _().createElement("div",{className:"pagination-wrapper"},_().createElement("div",{className:"pagination-total"},_().createElement(Di.Trans,{i18nKey:i(Fi.TOTAL),values:{total:t},components:{total:_().createElement("span",{className:"pagination-total-number"})}})),_().createElement("div",{className:"pagination-size-changer"},_().createElement($i,{placement:"bottom",sync:"width"},_().createElement("div",{className:"pagination-size-selection",slot:"anchor"},i(Fi.PAGE_SIZE,{count:n})+" ▼"),_().createElement(Qi,{style:{minWidth:"max-content"}},o.map((e=>{var t=e===n;return _().createElement(es,{className:M()("pagination-size-selector-item",t?"pagination-size-selector-active":null),key:e,onClick:()=>(e=>{a((i=>(0,E.Z)((0,E.Z)({},i),{},{page:1,pageSize:e}))),null==s||s({page:1,pageSize:e})})(e)},i(Fi.PAGE_SIZE,{count:e}))}))))),_().createElement("div",{className:"pagination-page"},m.map((e=>{switch(e.type){case"prev-arrow":case"next-arrow":return _().createElement(ds,(0,H.Z)({key:e.type},e,{onClick:()=>l(e)}));case"prev-jump":case"next-jump":return _().createElement(hs,(0,H.Z)({key:e.type},e,{onClick:()=>l(e)}));case"page":return _().createElement(us,(0,H.Z)({key:e.page},e,{onClick:()=>l(e)}))}}))))}function us(e){var{active:i,page:s,onClick:t}=e;return _().createElement("div",{className:M()("pagination-page-item","pagination-page-item-number",i?"pagination-page-item-active":null),title:String(s),onClick:t},s)}function ds(e){var{t:i}=(0,ze.useTranslation)(Vi),{type:s,disabled:t,onClick:r}=e,n="prev-arrow"===s?"left":"right",a=i("prev-arrow"===s?Fi.PREVIOUS_PAGE_one:Fi.NEXT_PAGE_one);return _().createElement("div",{className:M()("pagination-page-item","pagination-page-item-arrow",t?"pagination-page-item-disabled":null),title:a,onClick:r},_().createElement(Ji,{lib:"antd",theme:"outlined",icon:n}))}function hs(e){var{t:i}=(0,ze.useTranslation)(Vi),{type:s,span:t,onClick:r}=e,n="prev-jump"===s?"double-left":"double-right",a=i("prev-jump"===s?Fi.PREVIOUS_PAGE_other:Fi.NEXT_PAGE_other,{count:t});return _().createElement("div",{className:M()("pagination-page-item","pagination-page-item-jump"),title:a,onClick:r},_().createElement(Ji,{className:"pagination-page-item-jump-arrow",lib:"antd",theme:"outlined",icon:n}),_().createElement("span",{className:"pagination-page-item-jump-ellipsis"},"•••"))}function gs(e,i){var s=Number(e);return Number.isNaN(s)?i:s}({e:[Pi,Ii,Oi,Bi,Wi,Li,Ui,Ri],c:[Xi,zi]}=(0,N.Z)(ps,[[Ci,1,"total"],[Ti,1,"page"],[Mi,1,"pageSize"],[Ai,1,"pageSizeOptions"],[Gi,1,"changeEvent",function(){return(0,S.Z)(this,ns)},function(e){(0,Z.Z)(this,ns,e)}]],[_i])),zi()},375:(e,i,s)=>{"use strict";s.d(i,{Z:()=>o});var t=s(39601),r=s.n(t),n=s(82609),a=s.n(n)()(r());a.push([e.id,":host{display:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.code-wrapper{position:relative}.code-wrapper .prism-code{margin:0;padding:0 12px 0 0;font-size:12px;line-height:16px;overflow:auto;white-space:pre-wrap;border-radius:var(--medius-border-radius);min-height:calc(var(--min-lines) * 16px);max-height:calc(var(--max-lines) * 16px)}.no-line-numbers.prism-code{padding-left:12px}.no-line-numbers .line-number{display:none}.token-line{display:flex;gap:0.5em}.line-number{flex-shrink:0;display:inline-block;width:3.8em;padding-right:0.8em;text-align:right;color:#999;background:#3b3b3b;letter-spacing:-1px;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tool-bar{position:absolute;top:8px;right:8px;display:flex;gap:10px;transition:all 0.3s;z-index:1;opacity:0}.code-wrapper:hover .tool-bar{opacity:1}.copy-icon,\n.export-icon{color:var(--color-white);cursor:pointer;font-size:16px;opacity:0.5}.copy-icon:hover,\n.export-icon:hover{opacity:1}",""]);const o=a.toString()},58803:(e,i,s)=>{"use strict";s.d(i,{Z:()=>o});var t=s(39601),r=s.n(t),n=s(82609),a=s.n(n)()(r());a.push([e.id,".description-content{padding:0 16px}.description-item{display:flex}.description-item.horizontal{flex-direction:inherit}.description-item.vertical{flex-direction:column;margin-bottom:10px}.description-item.horizontal > span:first-child{margin-right:20px}.description-item.vertical > span:first-child{margin-bottom:8px}.description-item.bordered{box-sizing:border-box;border:1px solid var(--antd-border-color-split)}.description-item.horizontal.bordered > span:first-child{margin-right:0;padding:10px;min-width:150px}.description-item.horizontal.bordered > span:last-child{padding:10px}.description-item.vertical.bordered{margin-bottom:0}.description-item.vertical.bordered > span:first-child{margin-bottom:0;padding:10px}.description-item.vertical.bordered > span:last-child{padding:10px}.description-item.bordered > span:first-child{background-color:var(--palette-gray-3)}",""]);const o=a.toString()},52297:(e,i,s)=>{"use strict";s.d(i,{Z:()=>o});var t=s(39601),r=s.n(t),n=s(82609),a=s.n(n)()(r());a.push([e.id,":host{display:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.alert-wrapper{display:flex;border-radius:var(--larger-border-radius)}.alert-container{flex:1;display:flex;flex-direction:column}.close-icon{font-size:12px;color:var(--palette-gray-10);cursor:pointer}.alert-wrapper-no-title.alert-wrapper{gap:10px;padding:10px 16px}.alert-wrapper-no-title .alert-icon{font-size:14px;margin-top:5px}.alert-wrapper-no-title .alert-content{font-size:14px;color:var(--text-color-default);line-height:24px}.alert-wrapper-no-title .close-icon{margin-top:6px}.alert-wrapper-has-title.alert-wrapper{gap:16px;padding:16px 16px 16px 24px}.alert-wrapper-has-title .alert-icon{font-size:24px}.alert-wrapper-has-title .alert-title{margin-bottom:6px;font-size:16px;font-weight:var(--font-weight-500);color:var(--text-color-default);line-height:24px}.alert-wrapper-has-title .alert-content{font-size:12px;color:var(--text-color-default);line-height:20px}",""]);const o=a.toString()},37995:(e,i,s)=>{"use strict";s.d(i,{Z:()=>o});var t=s(39601),r=s.n(t),n=s(82609),a=s.n(n)()(r());a.push([e.id,":host{display:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.pagination-wrapper{display:flex;align-items:center;justify-content:flex-end}.pagination-total{margin-right:auto;font-size:14px;color:var(--text-color-disabled);line-height:20px}.pagination-total .pagination-total-number{color:var(--text-color-default)}.pagination-size-changer{margin-right:20px;color:var(--text-color-default)}.pagination-size-selection{font-size:14px;line-height:16px;cursor:pointer}.pagination-size-selector-item{padding:6px;border-radius:var(--medius-border-radius);cursor:pointer}.pagination-size-selector-active{background-color:var(--v8-top-menu-item-selected-bg)!important}.pagination-size-selector-item:hover{background-color:var(--antd-item-hover-bg)}.pagination-page{display:flex;gap:10px;color:var(--text-color-default);-webkit-user-select:none;-moz-user-select:none;user-select:none}.pagination-page-item{display:flex;justify-content:center;align-items:center;padding:0 12px;height:32px;border-radius:6px;cursor:pointer}.pagination-page-item-number{border:1px solid transparent}.pagination-page-item:not(.pagination-page-item-disabled):hover{color:var(--theme-doderblue-color)}.pagination-page-item-active{color:var(--theme-doderblue-color);border-color:var(--theme-doderblue-color)}.pagination-page-item-disabled{color:var(--text-color-disabled);border-color:var(--text-color-disabled);cursor:not-allowed}.pagination-page-item-jump{position:relative}.pagination-page-item-jump:hover .pagination-page-item-jump-arrow{opacity:1}.pagination-page-item-jump:hover .pagination-page-item-jump-ellipsis{opacity:0}.pagination-page-item-jump-arrow{position:absolute;opacity:0;transition:opacity 0.2s}.pagination-page-item-jump-ellipsis{opacity:1;transition:opacity 0.2s}",""]);const o=a.toString()},98933:(e,i,s)=>{var t={"./prism-abap.min.js":[58163,2144],"./prism-abnf.min.js":[53925,36],"./prism-actionscript.min.js":[21283,112],"./prism-ada.min.js":[7319,454],"./prism-agda.min.js":[78350,7962],"./prism-al.min.js":[48935,4012],"./prism-antlr4.min.js":[61499,4417],"./prism-apacheconf.min.js":[39254,5535],"./prism-apex.min.js":[41270,9747],"./prism-apl.min.js":[92857,7722],"./prism-applescript.min.js":[47602,9325],"./prism-aql.min.js":[57162,8919],"./prism-arduino.min.js":[88206,9594],"./prism-arff.min.js":[42255,5642],"./prism-armasm.min.js":[80105,1310],"./prism-arturo.min.js":[94476,9082],"./prism-asciidoc.min.js":[14907,7086],"./prism-asm6502.min.js":[19330,1344],"./prism-asmatmel.min.js":[18719,6074],"./prism-aspnet.min.js":[94793,2107],"./prism-autohotkey.min.js":[27627,4833],"./prism-autoit.min.js":[79467,2185],"./prism-avisynth.min.js":[56575,9859],"./prism-avro-idl.min.js":[83039,6397],"./prism-awk.min.js":[6699,3036],"./prism-bash.min.js":[68229,91],"./prism-basic.min.js":[82251,7328],"./prism-batch.min.js":[86905,8394],"./prism-bbcode.min.js":[75896,7800],"./prism-bbj.min.js":[43917,1772],"./prism-bicep.min.js":[28271,8751],"./prism-birb.min.js":[71623,9907],"./prism-bison.min.js":[21434,7701],"./prism-bnf.min.js":[82471,9352],"./prism-bqn.min.js":[69341,9148],"./prism-brainfuck.min.js":[91709,4195],"./prism-brightscript.min.js":[7631,3297],"./prism-bro.min.js":[79263,6667],"./prism-bsl.min.js":[13863,5471],"./prism-c.min.js":[31192,2300],"./prism-cfscript.min.js":[92643,7217],"./prism-chaiscript.min.js":[94412,9635],"./prism-cil.min.js":[3032,1623],"./prism-cilkc.min.js":[45729,1457],"./prism-cilkcpp.min.js":[23689,2949],"./prism-clike.min.js":[61929,6234],"./prism-clojure.min.js":[26242,992],"./prism-cmake.min.js":[31575,5123],"./prism-cobol.min.js":[22533,7843],"./prism-coffeescript.min.js":[98327,8260],"./prism-concurnas.min.js":[2392,9470],"./prism-cooklang.min.js":[83042,5785],"./prism-coq.min.js":[91235,7327],"./prism-core.min.js":[78958,7486],"./prism-cpp.min.js":[80241,4381],"./prism-crystal.min.js":[26543,9681],"./prism-csharp.min.js":[95696,8827],"./prism-cshtml.min.js":[92741,5374],"./prism-csp.min.js":[23309,8016],"./prism-css-extras.min.js":[93908,1221],"./prism-css.min.js":[9203,4037],"./prism-csv.min.js":[4407,1446],"./prism-cue.min.js":[44767,4358],"./prism-cypher.min.js":[75208,1077],"./prism-d.min.js":[17880,4426],"./prism-dart.min.js":[55564,2502],"./prism-dataweave.min.js":[64552,4079],"./prism-dax.min.js":[36464,9091],"./prism-dhall.min.js":[33618,6079],"./prism-diff.min.js":[99853,6425],"./prism-django.min.js":[96710,1699],"./prism-dns-zone-file.min.js":[82763,4008],"./prism-docker.min.js":[94489,5818],"./prism-dot.min.js":[71974,9872],"./prism-ebnf.min.js":[47271,1171],"./prism-editorconfig.min.js":[7398,7897],"./prism-eiffel.min.js":[57399,4521],"./prism-ejs.min.js":[66545,4212],"./prism-elixir.min.js":[93815,2966],"./prism-elm.min.js":[40198,8644],"./prism-erb.min.js":[20826,4908],"./prism-erlang.min.js":[79834,7318],"./prism-etlua.min.js":[53882,7030],"./prism-excel-formula.min.js":[15806,2136],"./prism-factor.min.js":[96953,6644],"./prism-false.min.js":[91906,7642],"./prism-firestore-security-rules.min.js":[54694,642],"./prism-flow.min.js":[61225,4846],"./prism-fortran.min.js":[52067,46],"./prism-fsharp.min.js":[74957,3223],"./prism-ftl.min.js":[5822,9451],"./prism-gap.min.js":[85289,2455],"./prism-gcode.min.js":[84680,126],"./prism-gdscript.min.js":[72863,7181],"./prism-gedcom.min.js":[58293,5647],"./prism-gettext.min.js":[67717,668],"./prism-gherkin.min.js":[78862,1409],"./prism-git.min.js":[60680,4057],"./prism-glsl.min.js":[79666,7507],"./prism-gml.min.js":[80755,2884],"./prism-gn.min.js":[11917,8788],"./prism-go-module.min.js":[66332,14],"./prism-go.min.js":[31817,4397],"./prism-gradle.min.js":[42124,882],"./prism-graphql.min.js":[31377,5966],"./prism-groovy.min.js":[95778,3883],"./prism-haml.min.js":[14702,8043],"./prism-handlebars.min.js":[2724,3520],"./prism-haskell.min.js":[23969,2915],"./prism-haxe.min.js":[10157,2942],"./prism-hcl.min.js":[68480,455],"./prism-hlsl.min.js":[19145,6638],"./prism-hoon.min.js":[77519,6913],"./prism-hpkp.min.js":[5810,1332],"./prism-hsts.min.js":[64839,3533],"./prism-http.min.js":[95144,9600],"./prism-ichigojam.min.js":[97899,3373],"./prism-icon.min.js":[27379,7051],"./prism-icu-message-format.min.js":[31603,725],"./prism-idris.min.js":[58766,9636],"./prism-iecst.min.js":[50559,6128],"./prism-ignore.min.js":[33098,3351],"./prism-inform7.min.js":[24617,7937],"./prism-ini.min.js":[24620,5128],"./prism-io.min.js":[7619,8831],"./prism-j.min.js":[67709,695],"./prism-java.min.js":[801,4438],"./prism-javadoc.min.js":[81631,1637],"./prism-javadoclike.min.js":[61169,1906],"./prism-javascript.min.js":[56507,4997],"./prism-javastacktrace.min.js":[90539,1268],"./prism-jexl.min.js":[17481,4363],"./prism-jolie.min.js":[62872,6622],"./prism-jq.min.js":[65201,9198],"./prism-js-extras.min.js":[71294,6244],"./prism-js-templates.min.js":[29179,9695],"./prism-jsdoc.min.js":[50406,9487],"./prism-json.min.js":[23201,7821],"./prism-json5.min.js":[81067,5701],"./prism-jsonp.min.js":[24260,7996],"./prism-jsstacktrace.min.js":[41358,9682],"./prism-jsx.min.js":[73113,8881],"./prism-julia.min.js":[1488,2250],"./prism-keepalived.min.js":[52055,7827],"./prism-keyman.min.js":[30769,5659],"./prism-kotlin.min.js":[92668,6587],"./prism-kumir.min.js":[68353,3470],"./prism-kusto.min.js":[45055,199],"./prism-latex.min.js":[97348,8382],"./prism-latte.min.js":[32289,9984],"./prism-less.min.js":[97085,9631],"./prism-lilypond.min.js":[16611,9642],"./prism-linker-script.min.js":[1369,2745],"./prism-liquid.min.js":[38525,7377],"./prism-lisp.min.js":[13999,6263],"./prism-livescript.min.js":[2666,3310],"./prism-llvm.min.js":[36502,6850],"./prism-log.min.js":[41705,6330],"./prism-lolcode.min.js":[12732,467],"./prism-lua.min.js":[92298,8754],"./prism-magma.min.js":[82650,6374],"./prism-makefile.min.js":[70034,9849],"./prism-markdown.min.js":[73432,4132],"./prism-markup-templating.min.js":[37024,3361],"./prism-markup.min.js":[50851,9780],"./prism-mata.min.js":[32410,4152],"./prism-matlab.min.js":[24040,3244],"./prism-maxscript.min.js":[51168,3061],"./prism-mel.min.js":[68241,2874],"./prism-mermaid.min.js":[83571,3175],"./prism-metafont.min.js":[4189,5164],"./prism-mizar.min.js":[72670,4707],"./prism-mongodb.min.js":[67728,6895],"./prism-monkey.min.js":[37697,4035],"./prism-moonscript.min.js":[74317,9002],"./prism-n1ql.min.js":[63994,1022],"./prism-n4js.min.js":[15466,1851],"./prism-nand2tetris-hdl.min.js":[27868,3268],"./prism-naniscript.min.js":[63075,6504],"./prism-nasm.min.js":[86560,3974],"./prism-neon.min.js":[85577,5690],"./prism-nevod.min.js":[62838,3863],"./prism-nginx.min.js":[27106,1740],"./prism-nim.min.js":[20409,9014],"./prism-nix.min.js":[91153,7064],"./prism-nsis.min.js":[2693,4121],"./prism-objectivec.min.js":[95580,6948],"./prism-ocaml.min.js":[76969,2248],"./prism-odin.min.js":[24965,1625],"./prism-opencl.min.js":[39150,2161],"./prism-openqasm.min.js":[25690,5120],"./prism-oz.min.js":[42846,6791],"./prism-parigp.min.js":[1128,4015],"./prism-parser.min.js":[23776,3296],"./prism-pascal.min.js":[79223,8222],"./prism-pascaligo.min.js":[74994,5620],"./prism-pcaxis.min.js":[98534,4078],"./prism-peoplecode.min.js":[67693,6259],"./prism-perl.min.js":[967,7620],"./prism-php-extras.min.js":[34638,321],"./prism-php.min.js":[43361,8183],"./prism-phpdoc.min.js":[16600,4978],"./prism-plant-uml.min.js":[85326,2053],"./prism-plsql.min.js":[23175,3945],"./prism-powerquery.min.js":[20898,6594],"./prism-powershell.min.js":[24139,5010],"./prism-processing.min.js":[88865,4039],"./prism-prolog.min.js":[14651,6402],"./prism-promql.min.js":[54453,2612],"./prism-properties.min.js":[71563,1846],"./prism-protobuf.min.js":[24963,8801],"./prism-psl.min.js":[80613,5716],"./prism-pug.min.js":[58898,3426],"./prism-puppet.min.js":[33745,723],"./prism-pure.min.js":[49012,47],"./prism-purebasic.min.js":[82594,8374],"./prism-purescript.min.js":[1328,5554],"./prism-python.min.js":[90453,7771],"./prism-q.min.js":[97128,4413],"./prism-qml.min.js":[28220,3378],"./prism-qore.min.js":[85343,4191],"./prism-qsharp.min.js":[82427,1810],"./prism-r.min.js":[44769,8392],"./prism-racket.min.js":[51310,568],"./prism-reason.min.js":[37258,6966],"./prism-regex.min.js":[89413,3331],"./prism-rego.min.js":[47176,8324],"./prism-renpy.min.js":[12191,3397],"./prism-rescript.min.js":[10907,8786],"./prism-rest.min.js":[99713,6130],"./prism-rip.min.js":[90650,9558],"./prism-roboconf.min.js":[51691,5956],"./prism-robotframework.min.js":[31933,2856],"./prism-ruby.min.js":[84633,5399],"./prism-rust.min.js":[54261,648],"./prism-sas.min.js":[58228,8960],"./prism-sass.min.js":[16808,7357],"./prism-scala.min.js":[16036,4330],"./prism-scheme.min.js":[27360,760],"./prism-scss.min.js":[1193,3399],"./prism-shell-session.min.js":[79030,4879],"./prism-smali.min.js":[55917,3191],"./prism-smalltalk.min.js":[43691,6114],"./prism-smarty.min.js":[3167,6404],"./prism-sml.min.js":[85840,8042],"./prism-solidity.min.js":[27920,3017],"./prism-solution-file.min.js":[50969,7852],"./prism-soy.min.js":[43994,2354],"./prism-sparql.min.js":[86718,8259],"./prism-splunk-spl.min.js":[97499,9509],"./prism-sqf.min.js":[16220,6121],"./prism-sql.min.js":[43402,9326],"./prism-squirrel.min.js":[53709,8959],"./prism-stan.min.js":[6742,8263],"./prism-stata.min.js":[49725,7441],"./prism-stylus.min.js":[81309,1949],"./prism-supercollider.min.js":[83688,7367],"./prism-swift.min.js":[40256,5793],"./prism-systemd.min.js":[36407,6965],"./prism-t4-cs.min.js":[70566,8150],"./prism-t4-templating.min.js":[41906,9444],"./prism-t4-vb.min.js":[53376,7316],"./prism-tap.min.js":[67999,4026],"./prism-tcl.min.js":[52046,4209],"./prism-textile.min.js":[95812,4390],"./prism-toml.min.js":[77314,6363],"./prism-tremor.min.js":[63850,6087],"./prism-tsx.min.js":[2847,1633],"./prism-tt2.min.js":[43546,9489],"./prism-turtle.min.js":[32522,5106],"./prism-twig.min.js":[49188,4053],"./prism-typescript.min.js":[15961,1874],"./prism-typoscript.min.js":[31663,8892],"./prism-unrealscript.min.js":[35285,6873],"./prism-uorazor.min.js":[35597,4158],"./prism-uri.min.js":[49224,764],"./prism-v.min.js":[64062,3483],"./prism-vala.min.js":[11949,5407],"./prism-vbnet.min.js":[46159,6166],"./prism-velocity.min.js":[29527,4199],"./prism-verilog.min.js":[46431,1875],"./prism-vhdl.min.js":[92074,2314],"./prism-vim.min.js":[11617,3222],"./prism-visual-basic.min.js":[15009,3162],"./prism-warpscript.min.js":[63963,6737],"./prism-wasm.min.js":[48929,6608],"./prism-web-idl.min.js":[38612,9420],"./prism-wgsl.min.js":[49260,7797],"./prism-wiki.min.js":[63709,8707],"./prism-wolfram.min.js":[29635,2952],"./prism-wren.min.js":[71128,7473],"./prism-xeora.min.js":[20673,4839],"./prism-xml-doc.min.js":[24760,9348],"./prism-xojo.min.js":[15320,9159],"./prism-xquery.min.js":[19775,5505],"./prism-yaml.min.js":[4912,3782],"./prism-yang.min.js":[79284,9435],"./prism-zig.min.js":[92086,1720]};function r(e){if(!s.o(t,e))return Promise.resolve().then((()=>{var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}));var i=t[e],r=i[0];return s.e(i[1]).then((()=>s.t(r,23)))}r.keys=()=>Object.keys(t),r.id=98933,e.exports=r}}]);
|
|
2
|
+
//# sourceMappingURL=9411.957c8dc4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/9411.957c8dc4.js","mappings":"4LA6CAA,E,qJA/BMC,GAAqBC,EAAAA,EAAAA,WACzB,2BAGIC,GAAoBD,EAAAA,EAAAA,WACxB,2BAwBI,cAAEE,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAEpCC,EAICH,EAAc,kB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AED,0BAA2B,CAC1B,MACA,MAED,yBAA0B,CACzB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,qBAAsB,CACrB,KACA,MAED,sBAAuB,CACtB,MACA,IAED,uBAAwB,CACvB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,8BAA+B,CAC9B,KACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,qBAAsB,CACrB,KACA,MAED,uBAAwB,CACvB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,yBAA0B,CACzB,MACA,KAED,uBAAwB,CACvB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,2BAA4B,CAC3B,KACA,MAED,0BAA2B,CAC1B,MACA,MAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,qBAAsB,CACrB,KACA,MAED,qBAAsB,CACrB,KACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,qBAAsB,CACrB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,+BAAgC,CAC/B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,8BAA+B,CAC9B,KACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,+BAAgC,CAC/B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,0CAA2C,CAC1C,MACA,KAED,sBAAuB,CACtB,MACA,MAED,yBAA0B,CACzB,MACA,IAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,KACA,MAED,qBAAsB,CACrB,MACA,MAED,uBAAwB,CACvB,MACA,KAED,0BAA2B,CAC1B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,yBAA0B,CACzB,MACA,KAED,yBAA0B,CACzB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,2BAA4B,CAC3B,MACA,IAED,oBAAqB,CACpB,MACA,MAED,wBAAyB,CACxB,MACA,KAED,yBAA0B,CACzB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,4BAA6B,CAC5B,KACA,MAED,yBAA0B,CACzB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,sBAAuB,CACtB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,sBAAuB,CACtB,KACA,MAED,sBAAuB,CACtB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,oCAAqC,CACpC,MACA,KAED,uBAAwB,CACvB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,oBAAqB,CACpB,KACA,MAED,mBAAoB,CACnB,MACA,KAED,sBAAuB,CACtB,IACA,MAED,yBAA0B,CACzB,MACA,MAED,6BAA8B,CAC7B,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,gCAAiC,CAChC,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,uBAAwB,CACvB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,qBAAsB,CACrB,MACA,MAED,uBAAwB,CACvB,KACA,MAED,4BAA6B,CAC5B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,uBAAwB,CACvB,MACA,KAED,uBAAwB,CACvB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,+BAAgC,CAC/B,KACA,MAED,wBAAyB,CACxB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,4BAA6B,CAC5B,KACA,MAED,sBAAuB,CACtB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,yBAA0B,CACzB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,mCAAoC,CACnC,MACA,MAED,wBAAyB,CACxB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,qBAAsB,CACrB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,0BAA2B,CAC1B,KACA,MAED,uBAAwB,CACvB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,iCAAkC,CACjC,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,KACA,MAED,4BAA6B,CAC5B,MACA,MAED,uBAAwB,CACvB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,oBAAqB,CACpB,MACA,MAED,wBAAyB,CACxB,KACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,sBAAuB,CACtB,IACA,MAED,4BAA6B,CAC5B,MACA,KAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,uBAAwB,CACvB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,KAED,sBAAuB,CACtB,MACA,IAED,2BAA4B,CAC3B,MACA,MAED,4BAA6B,CAC5B,KACA,MAED,wBAAyB,CACxB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,wBAAyB,CACxB,MACA,KAED,wBAAyB,CACxB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,gCAAiC,CAChC,MACA,MAED,sBAAuB,CACtB,MACA,MAED,sBAAuB,CACtB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,wBAAyB,CACxB,MACA,KAED,sBAAuB,CACtB,KACA,MAED,+BAAgC,CAC/B,MACA,MAED,uBAAwB,CACvB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,wBAAyB,CACxB,KACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,+BAAgC,CAC/B,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,sBAAuB,CACtB,KACA,MAED,uBAAwB,CACvB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,+BAAgC,CAC/B,MACA,MAED,uBAAwB,CACvB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,+BAAgC,CAC/B,MACA,MAED,uBAAwB,CACvB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,KACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,yBAA0B,CACzB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,mBAAoB,CACnB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,yBAA0B,CACzB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,sBAAuB,CACtB,KACA,MAED,sBAAuB,CACtB,MACA,MAED,qBAAsB,CACrB,MACA,OAGF,SAASgQ,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEnQ,EAAKiQ,GAC9B,OAAOxJ,QAAQC,UAAUE,MAAK,KAC7B,IAAI7F,EAAI,IAAIqP,MAAM,uBAAyBH,EAAM,KAEjD,MADAlP,EAAE6I,KAAO,mBACH7I,CAAC,IAIT,IAAIsP,EAAMrQ,EAAIiQ,GAAMH,EAAKO,EAAI,GAC7B,OAAOH,EAAoBnP,EAAEsP,EAAI,IAAIzJ,MAAK,IAClCsJ,EAAoB1G,EAAEsG,EAAI,KAEnC,CACAE,EAAoB/B,KAAO,IAAOqC,OAAOrC,KAAKjO,GAC9CgQ,EAAoBF,GAAK,MACzBD,EAAOU,QAAUP,C","sources":["webpack:///./src/descriptions/index.tsx","webpack:///../../src/JsonStorage.ts","webpack:///./src/general-alert/index.tsx","webpack:///./src/general-alert/constants.ts","webpack:///./src/code-display/i18n.ts","webpack:///./src/code-display/themes/tomorrow.ts","webpack:///./src/code-display/utils.ts","webpack:///./src/code-display/index.tsx","webpack:///./src/pagination/i18n.ts","webpack:///./src/pagination/index.tsx","webpack:///./src/code-display/styles.shadow.css","webpack:///./src/descriptions/descriptions.shadow.css","webpack:///./src/general-alert/styles.shadow.css","webpack:///./src/pagination/styles.shadow.css","webpack:///../../node_modules/prismjs/components/ lazy ^\\.\\/prism\\-.*\\.min\\.js$ chunkName: ./prismjs/languages/[request] namespace object"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport type { Card, CardProps } from \"@next-bricks/containers/card\";\nimport type {\n GridLayout,\n GridProps,\n} from \"@next-bricks/containers/grid-layout\";\nimport styleText from \"./descriptions.shadow.css\";\nimport \"@next-core/theme\";\nimport { UseSingleBrickConf } from \"@next-core/types\";\nimport classnames from \"classnames\";\nimport { ReactUseMultipleBricks } from \"@next-core/react-runtime\";\n\nconst WrappedGeneralCard = wrapBrick<Card, CardProps>(\n \"containers.general-card\"\n);\n\nconst WrappedGridLayout = wrapBrick<GridLayout, GridProps>(\n \"containers.grid-layout\"\n);\n\ninterface DescriptionItem {\n label: string;\n field?: string;\n group?: string;\n text?: string | number;\n useBrick?: UseSingleBrickConf;\n}\n\ntype Layout = \"horizontal\" | \"vertical\";\n\nexport interface DescriptionsProps {\n descriptionTitle?: string;\n list?: DescriptionItem[];\n showCard?: boolean;\n column?: number;\n layout?: Layout;\n bordered?: boolean;\n hideGroups?: string[] | string;\n dataSource?: Record<string, unknown>;\n}\n\nconst { defineElement, property } = createDecorators();\n\n/**\n * 通用描述列表构件\n * @author sailor\n */\n@defineElement(\"eo-descriptions\", {\n styleTexts: [styleText],\n alias: [\"presentational.general-descriptions\"],\n})\nclass Descriptions extends ReactNextElement {\n /**\n * 描述标题\n */\n @property()\n accessor descriptionTitle: string | undefined;\n\n /**\n * 描述列表\n */\n @property({\n attribute: false,\n })\n accessor list: DescriptionItem[] | undefined;\n\n /**\n * 是否展示卡片背景\n * @default true\n */\n @property({\n type: Boolean,\n })\n accessor showCard: boolean | undefined;\n\n /**\n * 列数\n */\n @property({\n attribute: true,\n })\n accessor column: number | undefined;\n\n /**\n * 布局模式\n * @default \"horizontal\"\n */\n @property()\n accessor layout: Layout | undefined;\n\n /**\n * 是否展示边框\n * @default false\n */\n @property({\n type: Boolean,\n })\n accessor bordered: boolean | undefined;\n\n /**\n * 隐藏的描述列表项\n */\n @property({\n attribute: false,\n })\n accessor hideGroups: string | string[] | undefined;\n\n /**\n * 数据源\n */\n @property({\n attribute: false,\n })\n accessor dataSource: Record<string, unknown> | undefined;\n\n render() {\n return (\n <DescriptionsComponent\n descriptionTitle={this.descriptionTitle}\n list={this.list}\n showCard={this.showCard}\n column={this.column}\n layout={this.layout}\n bordered={this.bordered}\n hideGroups={this.hideGroups}\n dataSource={this.dataSource}\n />\n );\n }\n}\n\nexport function DescriptionsComponent(props: DescriptionsProps) {\n const {\n descriptionTitle,\n list,\n showCard = true,\n column = 3,\n layout = \"horizontal\",\n bordered = false,\n hideGroups,\n dataSource,\n } = props;\n const [hideGroupsSet, setHideGroupsSet] = useState<Set<string>>();\n\n const renderItem = (item: DescriptionItem) => {\n if (item.useBrick) {\n return (\n <ReactUseMultipleBricks\n useBrick={item.useBrick}\n data={dataSource ?? {}}\n />\n );\n }\n return item.text;\n };\n\n useEffect(() => {\n if (hideGroups) {\n const newHideGroupsSet = new Set(\n ([] as string[]).concat(hideGroups).filter(Boolean)\n );\n setHideGroupsSet(newHideGroupsSet);\n }\n }, [hideGroups]);\n\n return (\n <WrappedGeneralCard\n cardTitle={descriptionTitle}\n headerStyle={{\n border: \"none\",\n padding: \"12px 12px 0 12px\",\n }}\n background={showCard}\n >\n <WrappedGridLayout\n gap={layout === \"vertical\" || bordered ? \"0\" : \"10px\"}\n columns={column}\n className=\"description-content\"\n >\n {list\n ?.filter((item) =>\n item.group ? !hideGroupsSet?.has(item.group) : true\n )\n ?.map((item, index) => (\n <div\n key={index}\n className={classnames(\"description-item\", layout, {\n bordered,\n })}\n style={{\n ...(index === list.length - 1\n ? {\n gridColumnStart: list.length % column,\n gridColumnEnd: +column + 1,\n }\n : {}),\n }}\n >\n <span>{item.label}: </span>\n <span>{renderItem(item)}</span>\n </div>\n ))}\n </WrappedGridLayout>\n </WrappedGeneralCard>\n );\n}\n\nexport { Descriptions };\n","export class JsonStorage {\n constructor(\n private storage: Storage,\n private prefix: string = \"brick-next-\"\n ) {}\n\n setItem<T = any>(name: string, value: T): void {\n this.storage.setItem(this.prefix + name, JSON.stringify(value));\n }\n\n getItem<T = any>(name: string): T {\n return JSON.parse(this.storage.getItem(this.prefix + name) as string) as T;\n }\n\n removeItem(name: string): void {\n return this.storage.removeItem(this.prefix + name);\n }\n\n clear(): void {\n return this.storage.clear();\n }\n}\n","import React, { useMemo, useState } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport { getHistory } from \"@next-core/runtime\";\nimport { JsonStorage } from \"@next-shared/general/JsonStorage\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport \"@next-core/theme\";\nimport styleText from \"./styles.shadow.css\";\nimport { AlertType, LOCAL_STORAGE_PREFIX, alertTypeMap } from \"./constants.js\";\nimport classNames from \"classnames\";\n\nconst { defineElement, property } = createDecorators();\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\n\nexport interface GeneralAlertProps {\n type: AlertType;\n hasTitle?: boolean;\n closable?: boolean;\n localStorageKey?: string;\n disableUrlNamespace?: boolean;\n}\n\n/**\n * 告警提示\n * @slot - 内容区\n * @slot title - 标题\n */\nexport\n@defineElement(\"eo-alert\", {\n styleTexts: [styleText],\n alias: [\"presentational.general-alert\"],\n})\nclass GeneralAlert extends ReactNextElement implements GeneralAlertProps {\n /**\n * 警告类型\n */\n @property({\n attribute: false,\n })\n accessor type: AlertType;\n\n /**\n * 是否显示标题。开启后,可以使用 `title` 插槽\n */\n @property({\n type: Boolean,\n })\n accessor hasTitle: boolean | undefined;\n\n /**\n * 是否显示关闭按钮\n */\n @property({\n type: Boolean,\n })\n accessor closable: boolean | undefined;\n\n /**\n * 以该值和页面 url 作为命名空间,决定是否显示该警告提示\n */\n @property()\n accessor localStorageKey: string | undefined;\n\n /**\n * 关闭后仅以 `localStorageKey` 作为命名空间\n */\n @property({\n type: Boolean,\n })\n accessor disableUrlNamespace: boolean | undefined;\n\n render() {\n return (\n <GeneralAlertComponent\n type={this.type}\n hasTitle={this.hasTitle}\n closable={this.closable}\n localStorageKey={this.localStorageKey}\n disableUrlNamespace={this.disableUrlNamespace}\n />\n );\n }\n}\n\nexport function GeneralAlertComponent(props: GeneralAlertProps) {\n const { type, hasTitle, closable, localStorageKey, disableUrlNamespace } =\n props;\n\n const storage = useMemo(() => new JsonStorage(localStorage), []);\n const nameSpace = useMemo(() => {\n if (localStorageKey) {\n const url = getHistory().location.pathname;\n const key = disableUrlNamespace\n ? `${LOCAL_STORAGE_PREFIX}_${localStorageKey}`\n : `${LOCAL_STORAGE_PREFIX}_${localStorageKey}_${url}`;\n return key;\n }\n return null;\n }, [disableUrlNamespace, localStorageKey]);\n\n const curTypeInfo = useMemo(() => alertTypeMap[type], [type]);\n const [hidden, setHidden] = useState(() => {\n if (closable && nameSpace) {\n return !!storage.getItem(nameSpace);\n }\n return false;\n });\n\n return hidden ? null : (\n <div\n className={classNames(\n \"alert-wrapper\",\n hasTitle ? \"alert-wrapper-has-title\" : \"alert-wrapper-no-title\"\n )}\n style={{ background: curTypeInfo?.bgColor }}\n >\n <WrappedIcon\n {...((hasTitle\n ? curTypeInfo?.outlinedIcon\n : curTypeInfo?.filledIcon) as GeneralIconProps)}\n className=\"alert-icon\"\n style={{ color: curTypeInfo?.color }}\n />\n <div className=\"alert-container\">\n {hasTitle && (\n <div className=\"alert-title\">\n <slot name=\"title\" />\n </div>\n )}\n <div className=\"alert-content\">\n <slot />\n </div>\n </div>\n {closable && (\n <WrappedIcon\n lib=\"antd\"\n theme=\"outlined\"\n icon=\"close\"\n className=\"close-icon\"\n onClick={() => {\n setHidden(true);\n storage.setItem(nameSpace, true);\n }}\n />\n )}\n </div>\n );\n}\n","export enum AlertType {\n \"SUCCESS\" = \"success\",\n \"INFO\" = \"info\",\n \"WARNING\" = \"warning\",\n \"ERROR\" = \"error\",\n}\n\nexport const alertTypeMap = {\n [AlertType.SUCCESS]: {\n outlinedIcon: {\n lib: \"antd\",\n icon: \"check-circle\",\n theme: \"outlined\",\n },\n filledIcon: {\n lib: \"antd\",\n icon: \"check-circle\",\n theme: \"filled\",\n },\n color: \"var(--theme-green-color)\",\n bgColor: \"var(--theme-green-background)\",\n },\n [AlertType.INFO]: {\n outlinedIcon: {\n lib: \"antd\",\n icon: \"info-circle\",\n theme: \"outlined\",\n },\n filledIcon: {\n lib: \"antd\",\n icon: \"info-circle\",\n theme: \"filled\",\n },\n color: \"var(--theme-blue-color)\",\n bgColor: \"var(--theme-blue-background)\",\n },\n [AlertType.WARNING]: {\n outlinedIcon: {\n lib: \"antd\",\n icon: \"exclamation-circle\",\n theme: \"outlined\",\n },\n filledIcon: {\n lib: \"antd\",\n icon: \"exclamation-circle\",\n theme: \"filled\",\n },\n color: \"var(--theme-orange-color)\",\n bgColor: \"var(--theme-orange-background)\",\n },\n [AlertType.ERROR]: {\n outlinedIcon: {\n lib: \"antd\",\n icon: \"close-circle\",\n theme: \"outlined\",\n },\n filledIcon: {\n lib: \"antd\",\n icon: \"close-circle\",\n theme: \"filled\",\n },\n color: \"var(--theme-red-color)\",\n bgColor: \"var(--theme-red-background)\",\n },\n};\n\nexport const LOCAL_STORAGE_PREFIX = \"presentational.general-alert-hidden\";\n","export enum K {\n COPY_SUCCESS = \"COPY_SUCCESS\",\n COPY_FAILED = \"COPY_FAILED\",\n}\n\nconst en: Locale = {\n COPY_SUCCESS: \"Copied!\",\n COPY_FAILED: \"Copy failed!\",\n};\n\nconst zh: Locale = {\n COPY_SUCCESS: \"已复制!\",\n COPY_FAILED: \"复制失败!\",\n};\n\nexport const NS = \"bricks/presentational/code-display\";\n\nexport const locales = { en, zh };\n\ntype Locale = { [key in K]: string };\n","import type { PrismTheme } from \"prism-react-renderer\";\nimport type { CSSProperties } from \"react\";\n\nexport const theme: PrismTheme = {\n styles: [\n {\n types: [\"comment\", \"block-comment\", \"prolog\", \"doctype\", \"cdata\"],\n style: {\n color: \"#999\",\n },\n },\n {\n types: [\"punctuation\"],\n style: {\n color: \"#ccc\",\n },\n },\n {\n types: [\"tag\", \"attr-name\", \"namespace\", \"deleted\"],\n style: {\n color: \"#e2777a\",\n },\n },\n {\n types: [\"function-name\"],\n style: {\n color: \"#6196cc\",\n },\n },\n {\n types: [\"boolean\", \"number\", \"function\"],\n style: {\n color: \"#f08d49\",\n },\n },\n {\n types: [\"property\", \"class-name\", \"constant\", \"symbol\"],\n style: {\n color: \"#f8c555\",\n },\n },\n {\n types: [\"selector\", \"important\", \"atrule\", \"keyword\", \"builtin\"],\n style: {\n color: \"#cc99cd\",\n },\n },\n {\n types: [\"string\", \"char\", \"attr-value\", \"regex\", \"variable\"],\n style: {\n color: \"#7ec699\",\n },\n },\n {\n types: [\"operator\", \"entity\", \"url\"],\n style: {\n color: \"#67cdcc\",\n },\n },\n {\n types: [\"important\", \"bold\"],\n style: {\n fontWeight: \"bold\",\n },\n },\n {\n types: [\"italic\"],\n style: {\n fontStyle: \"italic\",\n },\n },\n {\n types: [\"entity\"],\n style: {\n cursor: \"help\",\n },\n },\n {\n types: [\"inserted\"],\n style: {\n color: \"green\",\n },\n },\n ],\n} as PrismTheme;\n\nexport const preStyle: CSSProperties = {\n color: \"#ccc\",\n background: \"#2d2d2d\",\n fontFamily: \"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace\",\n MozTabSize: 4,\n OTabSize: 4,\n tabSize: 4,\n WebkitHyphens: \"none\",\n MozHyphens: \"none\",\n msHyphens: \"none\",\n hyphens: \"none\",\n};\n","import Prism from \"prismjs\";\nimport { languages } from \"prismjs/components.js\";\nimport { cloneDeep } from \"lodash\";\n\ninterface LanguageDetail {\n title: string;\n alias?: string | string[];\n require?: string | string[];\n requireDeps?: string[];\n optional?: string | string[];\n optionalDeps?: string[];\n}\n\nconst loadedLanguages = Prism.languages;\nconst supportedLanguages = cloneDeep(languages) as Record<\n string,\n LanguageDetail\n>;\nconst aliasMap = new Map<string, string>();\n\nconst initSupportedLanguages = () => {\n for (const language in supportedLanguages) {\n const languageDetail = supportedLanguages[language];\n\n languageDetail.requireDeps = ([] as string[]).concat(\n languageDetail.require || []\n );\n languageDetail.optionalDeps = ([] as string[]).concat(\n languageDetail.optional || []\n );\n\n aliasMap.set(language, language);\n const aliases = ([] as string[]).concat(languageDetail.alias || []);\n aliases.forEach((alias) => {\n aliasMap.set(alias, language);\n });\n }\n};\n\ninitSupportedLanguages();\n\nconst importLanguage = (language: string): Promise<unknown> => {\n return new Promise((resolve, reject) => {\n import(\n /* webpackChunkName: \"./prismjs/languages/[request]\" */\n `prismjs/components/prism-${language}.min.js`\n ).then(\n () => resolve(void 0),\n (err) => {\n const error = `load language failed: ${language}\n reason: ${err}`;\n\n // eslint-disable-next-line no-console\n console.error(error);\n reject(error);\n }\n );\n });\n};\n\nconst loadLanguageAccordingToDeps = async (\n language: string\n): Promise<unknown[] | unknown> => {\n if (loadedLanguages[language]) {\n return Promise.resolve();\n } else {\n const languageDetail = supportedLanguages[language];\n\n const requireDepsLoadingList = languageDetail.requireDeps.map((dep) =>\n loadLanguageAccordingToDeps(dep)\n );\n const optionalDepsLoadingList = languageDetail.optionalDeps.map((dep) =>\n loadLanguageAccordingToDeps(dep)\n );\n\n await Promise.all(requireDepsLoadingList);\n\n return Promise.all([importLanguage(language), ...optionalDepsLoadingList]);\n }\n};\n\nexport const loadLanguage = async (language: string) => {\n const _language = aliasMap.get(language);\n if (!_language || !supportedLanguages[_language]) {\n const error = \"unsupported language: \" + language;\n\n // eslint-disable-next-line no-console\n console.error(error);\n return Promise.reject(error);\n } else {\n return loadLanguageAccordingToDeps(_language);\n }\n};\n","import React, { CSSProperties, useEffect, useState } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport { unwrapProvider } from \"@next-core/utils/general\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport type { copyToClipboard as _copyToClipboard } from \"@next-bricks/basic/data-providers/copy-to-clipboard\";\nimport type { showNotification as _showNotification } from \"@next-bricks/basic/data-providers/show-notification/show-notification\";\nimport { useTranslation, initializeReactI18n } from \"@next-core/i18n/react\";\nimport { K, NS, locales } from \"./i18n.js\";\nimport \"@next-core/theme\";\nimport styleText from \"./styles.shadow.css\";\nimport classNames from \"classnames\";\nimport { saveAs } from \"file-saver\";\nimport Prism from \"prismjs\";\nimport { Highlight } from \"prism-react-renderer\";\nimport { preStyle, theme } from \"./themes/tomorrow.js\";\nimport { loadLanguage } from \"./utils.js\";\n\nPrism.manual = true;\ninitializeReactI18n(NS, locales);\n\nconst { defineElement, property } = createDecorators();\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\nconst copyToClipboard = unwrapProvider<typeof _copyToClipboard>(\n \"basic.copy-to-clipboard\"\n);\nconst showNotification = unwrapProvider<typeof _showNotification>(\n \"basic.show-notification\"\n);\n\nexport interface CodeDisplayProps {\n value?: string;\n language?: string;\n hideLineNumber?: boolean;\n maxLines?: number;\n minLines?: number;\n showCopyButton?: boolean;\n showExportButton?: boolean;\n exportFileName?: string;\n}\n\n/**\n * 代码展示\n */\nexport\n@defineElement(\"eo-code-display\", {\n styleTexts: [styleText],\n alias: [\"presentational.code-display\"],\n})\nclass CodeDisplay extends ReactNextElement implements CodeDisplayProps {\n /**\n * 代码内容\n */\n @property()\n accessor value: string = \"\";\n\n /**\n * 语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)\n */\n @property()\n accessor language: string | undefined;\n\n /**\n * 是否隐藏行号\n */\n @property({\n type: Boolean,\n })\n accessor hideLineNumber: boolean | undefined;\n\n /**\n * 最大行数\n */\n @property({\n type: Number,\n })\n accessor maxLines: number | undefined;\n\n /**\n * 最小行数\n */\n @property({\n type: Number,\n })\n accessor minLines: number | undefined;\n\n /**\n * 是否显示复制按钮\n */\n @property({\n type: Boolean,\n })\n accessor showCopyButton: boolean = true;\n\n /**\n * 是否显示导出按钮\n */\n @property({\n type: Boolean,\n })\n accessor showExportButton: boolean | undefined;\n\n /**\n * 导出的文件名\n * @default download.txt\n */\n @property()\n accessor exportFileName: string | undefined;\n\n render() {\n return (\n <CodeDisplayComponent\n value={this.value}\n language={this.language}\n hideLineNumber={this.hideLineNumber}\n maxLines={this.maxLines}\n minLines={this.minLines}\n showCopyButton={this.showCopyButton}\n showExportButton={this.showExportButton}\n exportFileName={this.exportFileName}\n />\n );\n }\n}\n\nexport function CodeDisplayComponent(props: CodeDisplayProps) {\n const {\n value,\n language,\n hideLineNumber,\n maxLines,\n minLines,\n showCopyButton,\n showExportButton,\n exportFileName,\n } = props;\n const { t } = useTranslation(NS);\n\n const [, forceUpdate] = useState();\n\n const handleCopyIconClick = () => {\n copyToClipboard(value)\n .then(() =>\n showNotification({ type: \"success\", message: t(K.COPY_SUCCESS) })\n )\n .catch(() =>\n showNotification({ type: \"error\", message: t(K.COPY_FAILED) })\n );\n };\n\n const handleExportIconClick = () => {\n saveAs(new Blob([value]), exportFileName);\n };\n\n useEffect(() => {\n loadLanguage(language).then(\n () => {\n forceUpdate(null);\n },\n () => {\n // do nothing\n }\n );\n }, [language]);\n\n return (\n <div className=\"code-wrapper\">\n <Highlight theme={theme} code={value} language={language} prism={Prism}>\n {({\n className: preClassName,\n style,\n tokens,\n getLineProps,\n getTokenProps,\n }) => {\n return (\n <pre\n style={\n {\n ...preStyle,\n \"--max-lines\": maxLines - 0 > 0 ? maxLines : null,\n \"--min-lines\": minLines - 0 > 0 ? minLines : null,\n } as CSSProperties\n }\n className={classNames(\n preClassName,\n hideLineNumber ? \"no-line-numbers\" : \"line-numbers\"\n )}\n >\n {tokens.map((line, i) => {\n return (\n <div key={i} {...getLineProps({ line })}>\n <span className=\"line-number\">{i + 1}</span>\n <span>\n {line.map((token, key) => {\n return <span key={key} {...getTokenProps({ token })} />;\n })}\n </span>\n </div>\n );\n })}\n </pre>\n );\n }}\n </Highlight>\n <div className=\"tool-bar\">\n {showCopyButton && (\n <WrappedIcon\n lib=\"antd\"\n theme=\"outlined\"\n icon=\"copy\"\n className=\"copy-icon\"\n onClick={handleCopyIconClick}\n />\n )}\n {showExportButton && (\n <WrappedIcon\n lib=\"antd\"\n theme=\"outlined\"\n icon=\"export\"\n className=\"export-icon\"\n onClick={handleExportIconClick}\n />\n )}\n </div>\n </div>\n );\n}\n","export enum K {\n TOTAL = \"TOTAL\",\n PAGE_SIZE = \"PAGE_SIZE\",\n NEXT_PAGE_one = \"NEXT_PAGE_one\",\n NEXT_PAGE_other = \"NEXT_PAGE_other\",\n PREVIOUS_PAGE_one = \"PREVIOUS_PAGE_one\",\n PREVIOUS_PAGE_other = \"PREVIOUS_PAGE_other\",\n}\n\nconst en: Locale = {\n TOTAL: \"Total <total>{{ total }}</total> Items\",\n PAGE_SIZE: \"{{ count }} / page\",\n NEXT_PAGE_one: \"Next Page\",\n NEXT_PAGE_other: \"Next {{ count }} Pages\",\n PREVIOUS_PAGE_one: \"Previous Page\",\n PREVIOUS_PAGE_other: \"Previous {{ count }} Pages\",\n};\n\nconst zh: Locale = {\n TOTAL: \"共 <total>{{ total }}</total> 条\",\n PAGE_SIZE: \"{{ count }} / 页\",\n NEXT_PAGE_one: \"下一页\",\n NEXT_PAGE_other: \"向后 {{ count }} 页\",\n PREVIOUS_PAGE_one: \"上一页\",\n PREVIOUS_PAGE_other: \"向前 {{ count }} 页\",\n};\n\nexport const NS = \"bricks/presentational/eo-pagination\";\n\nexport const locales = { en, zh };\n\ntype Locale = { [key in K]: string };\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { EventEmitter, createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport \"@next-core/theme\";\nimport styleText from \"./styles.shadow.css\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport type { Popover, PopoverProps } from \"@next-bricks/basic/popover\";\nimport type { Menu } from \"@next-bricks/basic/menu\";\nimport type { MenuItem } from \"@next-bricks/basic/menu-item\";\nimport { Trans } from \"react-i18next\";\nimport { useTranslation, initializeReactI18n } from \"@next-core/i18n/react\";\nimport { K, NS, locales } from \"./i18n.js\";\nimport classNames from \"classnames\";\nimport { sortBy } from \"lodash\";\n\ninitializeReactI18n(NS, locales);\n\nconst { defineElement, property, event } = createDecorators();\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\nconst WrappedPopover = wrapBrick<Popover, PopoverProps>(\"eo-popover\");\nconst WrappedMenu = wrapBrick<Menu, any>(\"eo-menu\");\nconst WrappedMenuItem = wrapBrick<MenuItem, any>(\"eo-menu-item\");\n\ninterface EoPaginationProps {\n total: number;\n page: number;\n pageSize: number;\n pageSizeOptions?: number[];\n}\n\n/**\n * 分页\n */\nexport\n@defineElement(\"eo-pagination\", {\n styleTexts: [styleText],\n})\nclass EoPagination extends ReactNextElement {\n /**\n * 数据总数\n */\n @property({\n type: Number,\n })\n accessor total: number = 0;\n\n /**\n * 当前页数\n */\n @property({\n type: Number,\n })\n accessor page: number = 1;\n\n /**\n * 每页条数\n */\n @property({\n type: Number,\n })\n accessor pageSize: number = 20;\n\n /**\n * 指定每页可以显示多少条\n */\n @property({\n attribute: false,\n })\n accessor pageSizeOptions: number[] = [10, 20, 50, 100];\n\n /**\n * 页码及每页条数改变事件\n */\n @event({ type: \"change\" })\n accessor #changeEvent!: EventEmitter<{ page: number; pageSize: number }>;\n #handleChange = (data: { page: number; pageSize: number }) => {\n this.#changeEvent.emit(data);\n };\n\n render() {\n return (\n <EoPaginationComponent\n total={this.total}\n page={this.page}\n pageSize={this.pageSize}\n pageSizeOptions={this.pageSizeOptions}\n onChange={this.#handleChange}\n />\n );\n }\n}\n\ninterface PageArrowData {\n type: \"prev-arrow\" | \"next-arrow\";\n disabled?: boolean;\n}\n\ninterface PageJumpData {\n type: \"prev-jump\" | \"next-jump\";\n span: number;\n}\n\ninterface PageItemData {\n type: \"page\";\n page: number;\n active?: boolean;\n}\n\ntype PagerData = PageArrowData | PageJumpData | PageItemData;\n\ninterface EoPaginationComponentProps extends EoPaginationProps {\n onChange?: (data: { page: number; pageSize: number }) => void;\n}\n\nexport function EoPaginationComponent(props: EoPaginationComponentProps) {\n const { t } = useTranslation(NS);\n const { onChange } = props;\n\n const [{ total, page, pageSize }, setPaginationData] = useState<{\n page?: number;\n pageSize?: number;\n total?: number;\n }>({});\n\n useEffect(() => {\n const _total = formatValue(props.total, 0);\n const _page = formatValue(props.page, 0);\n const _pageSize = formatValue(props.pageSize, 0);\n setPaginationData({ total: _total, page: _page, pageSize: _pageSize });\n }, [props.page, props.pageSize, props.total]);\n\n const pageSizeOptions = useMemo(() => {\n const options = [pageSize]\n .concat(props.pageSizeOptions || [])\n .map((v) => Number(v))\n .filter((v) => !Number.isNaN(v));\n return sortBy([...new Set(options)], (value) => value);\n }, [pageSize, props.pageSizeOptions]);\n\n const allPages = useMemo(\n () => formatValue(Math.ceil(total / pageSize), 0),\n [pageSize, total]\n );\n\n const pagerDataSource = useMemo(() => {\n const data: PagerData[] = [];\n\n const prevArrow = {\n type: \"prev-arrow\",\n disabled: page === 1 || allPages === 0,\n } as const;\n const nextArrow = {\n type: \"next-arrow\",\n disabled: page === allPages || allPages === 0,\n } as const;\n const prevJump = { type: \"prev-jump\", span: 5 } as const;\n const nextJump = { type: \"next-jump\", span: 5 } as const;\n\n const pageList = getPageWindow(allPages, page, 5).map((p) => {\n return { type: \"page\", page: p, active: p === page } as const;\n });\n\n data.push(prevArrow);\n\n if (pageList.length && pageList[0].page > 1) {\n data.push({ type: \"page\", page: 1 });\n if (pageList[0].page > 2) {\n data.push(prevJump);\n }\n }\n\n pageList.forEach((p) => data.push(p));\n\n if (pageList.length && pageList[pageList.length - 1].page < allPages) {\n if (pageList[pageList.length - 1].page < allPages - 1) {\n data.push(nextJump);\n }\n data.push({ type: \"page\", page: allPages });\n }\n\n data.push(nextArrow);\n\n return data;\n }, [allPages, page]);\n\n const handlePageSizeChange = (value: number) => {\n setPaginationData((pre) => ({ ...pre, page: 1, pageSize: value }));\n onChange?.({ page: 1, pageSize: value });\n };\n\n const handlePagerClick = (pagerData: PagerData) => {\n switch (pagerData.type) {\n case \"prev-arrow\": {\n if (!pagerData.disabled) {\n setPaginationData((pre) => ({ ...pre, page: page - 1 }));\n onChange?.({ page: page - 1, pageSize });\n }\n break;\n }\n case \"next-arrow\": {\n if (!pagerData.disabled) {\n setPaginationData((pre) => ({ ...pre, page: page + 1 }));\n onChange?.({ page: page + 1, pageSize });\n }\n break;\n }\n case \"prev-jump\": {\n const _page = page - pagerData.span < 1 ? 1 : page - pagerData.span;\n setPaginationData((pre) => ({ ...pre, page: _page }));\n onChange?.({ page: _page, pageSize });\n break;\n }\n case \"next-jump\": {\n const _page =\n page + pagerData.span > allPages ? allPages : page + pagerData.span;\n setPaginationData((pre) => ({ ...pre, page: _page }));\n onChange?.({ page: _page, pageSize });\n break;\n }\n case \"page\": {\n setPaginationData((pre) => ({ ...pre, page: pagerData.page }));\n onChange?.({ page: pagerData.page, pageSize });\n }\n }\n };\n\n return (\n <div className=\"pagination-wrapper\">\n <div className=\"pagination-total\">\n <Trans\n i18nKey={t(K.TOTAL)}\n values={{ total }}\n components={{\n total: <span className=\"pagination-total-number\" />,\n }}\n />\n </div>\n <div className=\"pagination-size-changer\">\n <WrappedPopover placement=\"bottom\" sync=\"width\">\n <div className=\"pagination-size-selection\" slot=\"anchor\">\n {t(K.PAGE_SIZE, { count: pageSize }) + \" ▼\"}\n </div>\n <WrappedMenu style={{ minWidth: \"max-content\" }}>\n {pageSizeOptions.map((value) => {\n const active = value === pageSize;\n return (\n <WrappedMenuItem\n className={classNames(\n \"pagination-size-selector-item\",\n active ? \"pagination-size-selector-active\" : null\n )}\n key={value}\n onClick={() => handlePageSizeChange(value)}\n >\n {t(K.PAGE_SIZE, { count: value })}\n </WrappedMenuItem>\n );\n })}\n </WrappedMenu>\n </WrappedPopover>\n </div>\n <div className=\"pagination-page\">\n {pagerDataSource.map((pagerData) => {\n switch (pagerData.type) {\n case \"prev-arrow\":\n case \"next-arrow\": {\n return (\n <PageArrow\n key={pagerData.type}\n {...pagerData}\n onClick={() => handlePagerClick(pagerData)}\n />\n );\n }\n case \"prev-jump\":\n case \"next-jump\": {\n return (\n <PageJump\n key={pagerData.type}\n {...pagerData}\n onClick={() => handlePagerClick(pagerData)}\n />\n );\n }\n case \"page\": {\n return (\n <PageItem\n key={pagerData.page}\n {...pagerData}\n onClick={() => handlePagerClick(pagerData)}\n />\n );\n }\n }\n })}\n </div>\n </div>\n );\n}\n\nfunction PageItem(props: PageItemData & { onClick?: () => void }) {\n const { active, page, onClick } = props;\n return (\n <div\n className={classNames(\n \"pagination-page-item\",\n \"pagination-page-item-number\",\n active ? \"pagination-page-item-active\" : null\n )}\n title={String(page)}\n onClick={onClick}\n >\n {page}\n </div>\n );\n}\n\nfunction PageArrow(props: PageArrowData & { onClick?: () => void }) {\n const { t } = useTranslation(NS);\n const { type, disabled, onClick } = props;\n const icon = type === \"prev-arrow\" ? \"left\" : \"right\";\n const title =\n type === \"prev-arrow\" ? t(K.PREVIOUS_PAGE_one) : t(K.NEXT_PAGE_one);\n\n return (\n <div\n className={classNames(\n \"pagination-page-item\",\n \"pagination-page-item-arrow\",\n disabled ? \"pagination-page-item-disabled\" : null\n )}\n title={title}\n onClick={onClick}\n >\n <WrappedIcon lib=\"antd\" theme=\"outlined\" icon={icon} />\n </div>\n );\n}\n\nfunction PageJump(props: PageJumpData & { onClick?: () => void }) {\n const { t } = useTranslation(NS);\n const { type, span, onClick } = props;\n const icon = type === \"prev-jump\" ? \"double-left\" : \"double-right\";\n const title =\n type === \"prev-jump\"\n ? t(K.PREVIOUS_PAGE_other, { count: span })\n : t(K.NEXT_PAGE_other, { count: span });\n\n return (\n <div\n className={classNames(\n \"pagination-page-item\",\n \"pagination-page-item-jump\"\n )}\n title={title}\n onClick={onClick}\n >\n <WrappedIcon\n className=\"pagination-page-item-jump-arrow\"\n lib=\"antd\"\n theme=\"outlined\"\n icon={icon}\n />\n <span className=\"pagination-page-item-jump-ellipsis\">•••</span>\n </div>\n );\n}\n\nfunction formatValue(value: number, defaultValue: number): number {\n const _value = Number(value);\n\n return Number.isNaN(_value) ? defaultValue : _value;\n}\n\nfunction getPageWindow(allPages: number, page: number, size: number) {\n let leftPage, rightPage;\n if (allPages <= size) {\n leftPage = 1;\n rightPage = allPages;\n } else {\n let leftSize = Math.floor((size - 1) / 2);\n let rightSize = size - 1 - leftSize;\n\n if (page - leftSize < 1) {\n rightSize += leftSize - page + 1;\n }\n if (page + rightSize > allPages) {\n leftSize += page + rightSize - allPages;\n }\n leftPage = page - leftSize < 1 ? 1 : page - leftSize;\n rightPage = page + rightSize > allPages ? allPages : page + rightSize;\n }\n return Array.from(new Array(rightPage + 1).keys()).slice(leftPage);\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, \":host{display:block}:host([hidden]){display:none}*,\\n*::before,\\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.code-wrapper{position:relative}.code-wrapper .prism-code{margin:0;padding:0 12px 0 0;font-size:12px;line-height:16px;overflow:auto;white-space:pre-wrap;border-radius:var(--medius-border-radius);min-height:calc(var(--min-lines) * 16px);max-height:calc(var(--max-lines) * 16px)}.no-line-numbers.prism-code{padding-left:12px}.no-line-numbers .line-number{display:none}.token-line{display:flex;gap:0.5em}.line-number{flex-shrink:0;display:inline-block;width:3.8em;padding-right:0.8em;text-align:right;color:#999;background:#3b3b3b;letter-spacing:-1px;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tool-bar{position:absolute;top:8px;right:8px;display:flex;gap:10px;transition:all 0.3s;z-index:1;opacity:0}.code-wrapper:hover .tool-bar{opacity:1}.copy-icon,\\n.export-icon{color:var(--color-white);cursor:pointer;font-size:16px;opacity:0.5}.copy-icon:hover,\\n.export-icon:hover{opacity:1}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\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, \".description-content{padding:0 16px}.description-item{display:flex}.description-item.horizontal{flex-direction:inherit}.description-item.vertical{flex-direction:column;margin-bottom:10px}.description-item.horizontal > span:first-child{margin-right:20px}.description-item.vertical > span:first-child{margin-bottom:8px}.description-item.bordered{box-sizing:border-box;border:1px solid var(--antd-border-color-split)}.description-item.horizontal.bordered > span:first-child{margin-right:0;padding:10px;min-width:150px}.description-item.horizontal.bordered > span:last-child{padding:10px}.description-item.vertical.bordered{margin-bottom:0}.description-item.vertical.bordered > span:first-child{margin-bottom:0;padding:10px}.description-item.vertical.bordered > span:last-child{padding:10px}.description-item.bordered > span:first-child{background-color:var(--palette-gray-3)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\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, \":host{display:block}:host([hidden]){display:none}*,\\n*::before,\\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.alert-wrapper{display:flex;border-radius:var(--larger-border-radius)}.alert-container{flex:1;display:flex;flex-direction:column}.close-icon{font-size:12px;color:var(--palette-gray-10);cursor:pointer}.alert-wrapper-no-title.alert-wrapper{gap:10px;padding:10px 16px}.alert-wrapper-no-title .alert-icon{font-size:14px;margin-top:5px}.alert-wrapper-no-title .alert-content{font-size:14px;color:var(--text-color-default);line-height:24px}.alert-wrapper-no-title .close-icon{margin-top:6px}.alert-wrapper-has-title.alert-wrapper{gap:16px;padding:16px 16px 16px 24px}.alert-wrapper-has-title .alert-icon{font-size:24px}.alert-wrapper-has-title .alert-title{margin-bottom:6px;font-size:16px;font-weight:var(--font-weight-500);color:var(--text-color-default);line-height:24px}.alert-wrapper-has-title .alert-content{font-size:12px;color:var(--text-color-default);line-height:20px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\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, \":host{display:block}:host([hidden]){display:none}*,\\n*::before,\\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.pagination-wrapper{display:flex;align-items:center;justify-content:flex-end}.pagination-total{margin-right:auto;font-size:14px;color:var(--text-color-disabled);line-height:20px}.pagination-total .pagination-total-number{color:var(--text-color-default)}.pagination-size-changer{margin-right:20px;color:var(--text-color-default)}.pagination-size-selection{font-size:14px;line-height:16px;cursor:pointer}.pagination-size-selector-item{padding:6px;border-radius:var(--medius-border-radius);cursor:pointer}.pagination-size-selector-active{background-color:var(--v8-top-menu-item-selected-bg)!important}.pagination-size-selector-item:hover{background-color:var(--antd-item-hover-bg)}.pagination-page{display:flex;gap:10px;color:var(--text-color-default);-webkit-user-select:none;-moz-user-select:none;user-select:none}.pagination-page-item{display:flex;justify-content:center;align-items:center;padding:0 12px;height:32px;border-radius:6px;cursor:pointer}.pagination-page-item-number{border:1px solid transparent}.pagination-page-item:not(.pagination-page-item-disabled):hover{color:var(--theme-doderblue-color)}.pagination-page-item-active{color:var(--theme-doderblue-color);border-color:var(--theme-doderblue-color)}.pagination-page-item-disabled{color:var(--text-color-disabled);border-color:var(--text-color-disabled);cursor:not-allowed}.pagination-page-item-jump{position:relative}.pagination-page-item-jump:hover .pagination-page-item-jump-arrow{opacity:1}.pagination-page-item-jump:hover .pagination-page-item-jump-ellipsis{opacity:0}.pagination-page-item-jump-arrow{position:absolute;opacity:0;transition:opacity 0.2s}.pagination-page-item-jump-ellipsis{opacity:1;transition:opacity 0.2s}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","var map = {\n\t\"./prism-abap.min.js\": [\n\t\t58163,\n\t\t2144\n\t],\n\t\"./prism-abnf.min.js\": [\n\t\t53925,\n\t\t36\n\t],\n\t\"./prism-actionscript.min.js\": [\n\t\t21283,\n\t\t112\n\t],\n\t\"./prism-ada.min.js\": [\n\t\t7319,\n\t\t454\n\t],\n\t\"./prism-agda.min.js\": [\n\t\t78350,\n\t\t7962\n\t],\n\t\"./prism-al.min.js\": [\n\t\t48935,\n\t\t4012\n\t],\n\t\"./prism-antlr4.min.js\": [\n\t\t61499,\n\t\t4417\n\t],\n\t\"./prism-apacheconf.min.js\": [\n\t\t39254,\n\t\t5535\n\t],\n\t\"./prism-apex.min.js\": [\n\t\t41270,\n\t\t9747\n\t],\n\t\"./prism-apl.min.js\": [\n\t\t92857,\n\t\t7722\n\t],\n\t\"./prism-applescript.min.js\": [\n\t\t47602,\n\t\t9325\n\t],\n\t\"./prism-aql.min.js\": [\n\t\t57162,\n\t\t8919\n\t],\n\t\"./prism-arduino.min.js\": [\n\t\t88206,\n\t\t9594\n\t],\n\t\"./prism-arff.min.js\": [\n\t\t42255,\n\t\t5642\n\t],\n\t\"./prism-armasm.min.js\": [\n\t\t80105,\n\t\t1310\n\t],\n\t\"./prism-arturo.min.js\": [\n\t\t94476,\n\t\t9082\n\t],\n\t\"./prism-asciidoc.min.js\": [\n\t\t14907,\n\t\t7086\n\t],\n\t\"./prism-asm6502.min.js\": [\n\t\t19330,\n\t\t1344\n\t],\n\t\"./prism-asmatmel.min.js\": [\n\t\t18719,\n\t\t6074\n\t],\n\t\"./prism-aspnet.min.js\": [\n\t\t94793,\n\t\t2107\n\t],\n\t\"./prism-autohotkey.min.js\": [\n\t\t27627,\n\t\t4833\n\t],\n\t\"./prism-autoit.min.js\": [\n\t\t79467,\n\t\t2185\n\t],\n\t\"./prism-avisynth.min.js\": [\n\t\t56575,\n\t\t9859\n\t],\n\t\"./prism-avro-idl.min.js\": [\n\t\t83039,\n\t\t6397\n\t],\n\t\"./prism-awk.min.js\": [\n\t\t6699,\n\t\t3036\n\t],\n\t\"./prism-bash.min.js\": [\n\t\t68229,\n\t\t91\n\t],\n\t\"./prism-basic.min.js\": [\n\t\t82251,\n\t\t7328\n\t],\n\t\"./prism-batch.min.js\": [\n\t\t86905,\n\t\t8394\n\t],\n\t\"./prism-bbcode.min.js\": [\n\t\t75896,\n\t\t7800\n\t],\n\t\"./prism-bbj.min.js\": [\n\t\t43917,\n\t\t1772\n\t],\n\t\"./prism-bicep.min.js\": [\n\t\t28271,\n\t\t8751\n\t],\n\t\"./prism-birb.min.js\": [\n\t\t71623,\n\t\t9907\n\t],\n\t\"./prism-bison.min.js\": [\n\t\t21434,\n\t\t7701\n\t],\n\t\"./prism-bnf.min.js\": [\n\t\t82471,\n\t\t9352\n\t],\n\t\"./prism-bqn.min.js\": [\n\t\t69341,\n\t\t9148\n\t],\n\t\"./prism-brainfuck.min.js\": [\n\t\t91709,\n\t\t4195\n\t],\n\t\"./prism-brightscript.min.js\": [\n\t\t7631,\n\t\t3297\n\t],\n\t\"./prism-bro.min.js\": [\n\t\t79263,\n\t\t6667\n\t],\n\t\"./prism-bsl.min.js\": [\n\t\t13863,\n\t\t5471\n\t],\n\t\"./prism-c.min.js\": [\n\t\t31192,\n\t\t2300\n\t],\n\t\"./prism-cfscript.min.js\": [\n\t\t92643,\n\t\t7217\n\t],\n\t\"./prism-chaiscript.min.js\": [\n\t\t94412,\n\t\t9635\n\t],\n\t\"./prism-cil.min.js\": [\n\t\t3032,\n\t\t1623\n\t],\n\t\"./prism-cilkc.min.js\": [\n\t\t45729,\n\t\t1457\n\t],\n\t\"./prism-cilkcpp.min.js\": [\n\t\t23689,\n\t\t2949\n\t],\n\t\"./prism-clike.min.js\": [\n\t\t61929,\n\t\t6234\n\t],\n\t\"./prism-clojure.min.js\": [\n\t\t26242,\n\t\t992\n\t],\n\t\"./prism-cmake.min.js\": [\n\t\t31575,\n\t\t5123\n\t],\n\t\"./prism-cobol.min.js\": [\n\t\t22533,\n\t\t7843\n\t],\n\t\"./prism-coffeescript.min.js\": [\n\t\t98327,\n\t\t8260\n\t],\n\t\"./prism-concurnas.min.js\": [\n\t\t2392,\n\t\t9470\n\t],\n\t\"./prism-cooklang.min.js\": [\n\t\t83042,\n\t\t5785\n\t],\n\t\"./prism-coq.min.js\": [\n\t\t91235,\n\t\t7327\n\t],\n\t\"./prism-core.min.js\": [\n\t\t78958,\n\t\t7486\n\t],\n\t\"./prism-cpp.min.js\": [\n\t\t80241,\n\t\t4381\n\t],\n\t\"./prism-crystal.min.js\": [\n\t\t26543,\n\t\t9681\n\t],\n\t\"./prism-csharp.min.js\": [\n\t\t95696,\n\t\t8827\n\t],\n\t\"./prism-cshtml.min.js\": [\n\t\t92741,\n\t\t5374\n\t],\n\t\"./prism-csp.min.js\": [\n\t\t23309,\n\t\t8016\n\t],\n\t\"./prism-css-extras.min.js\": [\n\t\t93908,\n\t\t1221\n\t],\n\t\"./prism-css.min.js\": [\n\t\t9203,\n\t\t4037\n\t],\n\t\"./prism-csv.min.js\": [\n\t\t4407,\n\t\t1446\n\t],\n\t\"./prism-cue.min.js\": [\n\t\t44767,\n\t\t4358\n\t],\n\t\"./prism-cypher.min.js\": [\n\t\t75208,\n\t\t1077\n\t],\n\t\"./prism-d.min.js\": [\n\t\t17880,\n\t\t4426\n\t],\n\t\"./prism-dart.min.js\": [\n\t\t55564,\n\t\t2502\n\t],\n\t\"./prism-dataweave.min.js\": [\n\t\t64552,\n\t\t4079\n\t],\n\t\"./prism-dax.min.js\": [\n\t\t36464,\n\t\t9091\n\t],\n\t\"./prism-dhall.min.js\": [\n\t\t33618,\n\t\t6079\n\t],\n\t\"./prism-diff.min.js\": [\n\t\t99853,\n\t\t6425\n\t],\n\t\"./prism-django.min.js\": [\n\t\t96710,\n\t\t1699\n\t],\n\t\"./prism-dns-zone-file.min.js\": [\n\t\t82763,\n\t\t4008\n\t],\n\t\"./prism-docker.min.js\": [\n\t\t94489,\n\t\t5818\n\t],\n\t\"./prism-dot.min.js\": [\n\t\t71974,\n\t\t9872\n\t],\n\t\"./prism-ebnf.min.js\": [\n\t\t47271,\n\t\t1171\n\t],\n\t\"./prism-editorconfig.min.js\": [\n\t\t7398,\n\t\t7897\n\t],\n\t\"./prism-eiffel.min.js\": [\n\t\t57399,\n\t\t4521\n\t],\n\t\"./prism-ejs.min.js\": [\n\t\t66545,\n\t\t4212\n\t],\n\t\"./prism-elixir.min.js\": [\n\t\t93815,\n\t\t2966\n\t],\n\t\"./prism-elm.min.js\": [\n\t\t40198,\n\t\t8644\n\t],\n\t\"./prism-erb.min.js\": [\n\t\t20826,\n\t\t4908\n\t],\n\t\"./prism-erlang.min.js\": [\n\t\t79834,\n\t\t7318\n\t],\n\t\"./prism-etlua.min.js\": [\n\t\t53882,\n\t\t7030\n\t],\n\t\"./prism-excel-formula.min.js\": [\n\t\t15806,\n\t\t2136\n\t],\n\t\"./prism-factor.min.js\": [\n\t\t96953,\n\t\t6644\n\t],\n\t\"./prism-false.min.js\": [\n\t\t91906,\n\t\t7642\n\t],\n\t\"./prism-firestore-security-rules.min.js\": [\n\t\t54694,\n\t\t642\n\t],\n\t\"./prism-flow.min.js\": [\n\t\t61225,\n\t\t4846\n\t],\n\t\"./prism-fortran.min.js\": [\n\t\t52067,\n\t\t46\n\t],\n\t\"./prism-fsharp.min.js\": [\n\t\t74957,\n\t\t3223\n\t],\n\t\"./prism-ftl.min.js\": [\n\t\t5822,\n\t\t9451\n\t],\n\t\"./prism-gap.min.js\": [\n\t\t85289,\n\t\t2455\n\t],\n\t\"./prism-gcode.min.js\": [\n\t\t84680,\n\t\t126\n\t],\n\t\"./prism-gdscript.min.js\": [\n\t\t72863,\n\t\t7181\n\t],\n\t\"./prism-gedcom.min.js\": [\n\t\t58293,\n\t\t5647\n\t],\n\t\"./prism-gettext.min.js\": [\n\t\t67717,\n\t\t668\n\t],\n\t\"./prism-gherkin.min.js\": [\n\t\t78862,\n\t\t1409\n\t],\n\t\"./prism-git.min.js\": [\n\t\t60680,\n\t\t4057\n\t],\n\t\"./prism-glsl.min.js\": [\n\t\t79666,\n\t\t7507\n\t],\n\t\"./prism-gml.min.js\": [\n\t\t80755,\n\t\t2884\n\t],\n\t\"./prism-gn.min.js\": [\n\t\t11917,\n\t\t8788\n\t],\n\t\"./prism-go-module.min.js\": [\n\t\t66332,\n\t\t14\n\t],\n\t\"./prism-go.min.js\": [\n\t\t31817,\n\t\t4397\n\t],\n\t\"./prism-gradle.min.js\": [\n\t\t42124,\n\t\t882\n\t],\n\t\"./prism-graphql.min.js\": [\n\t\t31377,\n\t\t5966\n\t],\n\t\"./prism-groovy.min.js\": [\n\t\t95778,\n\t\t3883\n\t],\n\t\"./prism-haml.min.js\": [\n\t\t14702,\n\t\t8043\n\t],\n\t\"./prism-handlebars.min.js\": [\n\t\t2724,\n\t\t3520\n\t],\n\t\"./prism-haskell.min.js\": [\n\t\t23969,\n\t\t2915\n\t],\n\t\"./prism-haxe.min.js\": [\n\t\t10157,\n\t\t2942\n\t],\n\t\"./prism-hcl.min.js\": [\n\t\t68480,\n\t\t455\n\t],\n\t\"./prism-hlsl.min.js\": [\n\t\t19145,\n\t\t6638\n\t],\n\t\"./prism-hoon.min.js\": [\n\t\t77519,\n\t\t6913\n\t],\n\t\"./prism-hpkp.min.js\": [\n\t\t5810,\n\t\t1332\n\t],\n\t\"./prism-hsts.min.js\": [\n\t\t64839,\n\t\t3533\n\t],\n\t\"./prism-http.min.js\": [\n\t\t95144,\n\t\t9600\n\t],\n\t\"./prism-ichigojam.min.js\": [\n\t\t97899,\n\t\t3373\n\t],\n\t\"./prism-icon.min.js\": [\n\t\t27379,\n\t\t7051\n\t],\n\t\"./prism-icu-message-format.min.js\": [\n\t\t31603,\n\t\t725\n\t],\n\t\"./prism-idris.min.js\": [\n\t\t58766,\n\t\t9636\n\t],\n\t\"./prism-iecst.min.js\": [\n\t\t50559,\n\t\t6128\n\t],\n\t\"./prism-ignore.min.js\": [\n\t\t33098,\n\t\t3351\n\t],\n\t\"./prism-inform7.min.js\": [\n\t\t24617,\n\t\t7937\n\t],\n\t\"./prism-ini.min.js\": [\n\t\t24620,\n\t\t5128\n\t],\n\t\"./prism-io.min.js\": [\n\t\t7619,\n\t\t8831\n\t],\n\t\"./prism-j.min.js\": [\n\t\t67709,\n\t\t695\n\t],\n\t\"./prism-java.min.js\": [\n\t\t801,\n\t\t4438\n\t],\n\t\"./prism-javadoc.min.js\": [\n\t\t81631,\n\t\t1637\n\t],\n\t\"./prism-javadoclike.min.js\": [\n\t\t61169,\n\t\t1906\n\t],\n\t\"./prism-javascript.min.js\": [\n\t\t56507,\n\t\t4997\n\t],\n\t\"./prism-javastacktrace.min.js\": [\n\t\t90539,\n\t\t1268\n\t],\n\t\"./prism-jexl.min.js\": [\n\t\t17481,\n\t\t4363\n\t],\n\t\"./prism-jolie.min.js\": [\n\t\t62872,\n\t\t6622\n\t],\n\t\"./prism-jq.min.js\": [\n\t\t65201,\n\t\t9198\n\t],\n\t\"./prism-js-extras.min.js\": [\n\t\t71294,\n\t\t6244\n\t],\n\t\"./prism-js-templates.min.js\": [\n\t\t29179,\n\t\t9695\n\t],\n\t\"./prism-jsdoc.min.js\": [\n\t\t50406,\n\t\t9487\n\t],\n\t\"./prism-json.min.js\": [\n\t\t23201,\n\t\t7821\n\t],\n\t\"./prism-json5.min.js\": [\n\t\t81067,\n\t\t5701\n\t],\n\t\"./prism-jsonp.min.js\": [\n\t\t24260,\n\t\t7996\n\t],\n\t\"./prism-jsstacktrace.min.js\": [\n\t\t41358,\n\t\t9682\n\t],\n\t\"./prism-jsx.min.js\": [\n\t\t73113,\n\t\t8881\n\t],\n\t\"./prism-julia.min.js\": [\n\t\t1488,\n\t\t2250\n\t],\n\t\"./prism-keepalived.min.js\": [\n\t\t52055,\n\t\t7827\n\t],\n\t\"./prism-keyman.min.js\": [\n\t\t30769,\n\t\t5659\n\t],\n\t\"./prism-kotlin.min.js\": [\n\t\t92668,\n\t\t6587\n\t],\n\t\"./prism-kumir.min.js\": [\n\t\t68353,\n\t\t3470\n\t],\n\t\"./prism-kusto.min.js\": [\n\t\t45055,\n\t\t199\n\t],\n\t\"./prism-latex.min.js\": [\n\t\t97348,\n\t\t8382\n\t],\n\t\"./prism-latte.min.js\": [\n\t\t32289,\n\t\t9984\n\t],\n\t\"./prism-less.min.js\": [\n\t\t97085,\n\t\t9631\n\t],\n\t\"./prism-lilypond.min.js\": [\n\t\t16611,\n\t\t9642\n\t],\n\t\"./prism-linker-script.min.js\": [\n\t\t1369,\n\t\t2745\n\t],\n\t\"./prism-liquid.min.js\": [\n\t\t38525,\n\t\t7377\n\t],\n\t\"./prism-lisp.min.js\": [\n\t\t13999,\n\t\t6263\n\t],\n\t\"./prism-livescript.min.js\": [\n\t\t2666,\n\t\t3310\n\t],\n\t\"./prism-llvm.min.js\": [\n\t\t36502,\n\t\t6850\n\t],\n\t\"./prism-log.min.js\": [\n\t\t41705,\n\t\t6330\n\t],\n\t\"./prism-lolcode.min.js\": [\n\t\t12732,\n\t\t467\n\t],\n\t\"./prism-lua.min.js\": [\n\t\t92298,\n\t\t8754\n\t],\n\t\"./prism-magma.min.js\": [\n\t\t82650,\n\t\t6374\n\t],\n\t\"./prism-makefile.min.js\": [\n\t\t70034,\n\t\t9849\n\t],\n\t\"./prism-markdown.min.js\": [\n\t\t73432,\n\t\t4132\n\t],\n\t\"./prism-markup-templating.min.js\": [\n\t\t37024,\n\t\t3361\n\t],\n\t\"./prism-markup.min.js\": [\n\t\t50851,\n\t\t9780\n\t],\n\t\"./prism-mata.min.js\": [\n\t\t32410,\n\t\t4152\n\t],\n\t\"./prism-matlab.min.js\": [\n\t\t24040,\n\t\t3244\n\t],\n\t\"./prism-maxscript.min.js\": [\n\t\t51168,\n\t\t3061\n\t],\n\t\"./prism-mel.min.js\": [\n\t\t68241,\n\t\t2874\n\t],\n\t\"./prism-mermaid.min.js\": [\n\t\t83571,\n\t\t3175\n\t],\n\t\"./prism-metafont.min.js\": [\n\t\t4189,\n\t\t5164\n\t],\n\t\"./prism-mizar.min.js\": [\n\t\t72670,\n\t\t4707\n\t],\n\t\"./prism-mongodb.min.js\": [\n\t\t67728,\n\t\t6895\n\t],\n\t\"./prism-monkey.min.js\": [\n\t\t37697,\n\t\t4035\n\t],\n\t\"./prism-moonscript.min.js\": [\n\t\t74317,\n\t\t9002\n\t],\n\t\"./prism-n1ql.min.js\": [\n\t\t63994,\n\t\t1022\n\t],\n\t\"./prism-n4js.min.js\": [\n\t\t15466,\n\t\t1851\n\t],\n\t\"./prism-nand2tetris-hdl.min.js\": [\n\t\t27868,\n\t\t3268\n\t],\n\t\"./prism-naniscript.min.js\": [\n\t\t63075,\n\t\t6504\n\t],\n\t\"./prism-nasm.min.js\": [\n\t\t86560,\n\t\t3974\n\t],\n\t\"./prism-neon.min.js\": [\n\t\t85577,\n\t\t5690\n\t],\n\t\"./prism-nevod.min.js\": [\n\t\t62838,\n\t\t3863\n\t],\n\t\"./prism-nginx.min.js\": [\n\t\t27106,\n\t\t1740\n\t],\n\t\"./prism-nim.min.js\": [\n\t\t20409,\n\t\t9014\n\t],\n\t\"./prism-nix.min.js\": [\n\t\t91153,\n\t\t7064\n\t],\n\t\"./prism-nsis.min.js\": [\n\t\t2693,\n\t\t4121\n\t],\n\t\"./prism-objectivec.min.js\": [\n\t\t95580,\n\t\t6948\n\t],\n\t\"./prism-ocaml.min.js\": [\n\t\t76969,\n\t\t2248\n\t],\n\t\"./prism-odin.min.js\": [\n\t\t24965,\n\t\t1625\n\t],\n\t\"./prism-opencl.min.js\": [\n\t\t39150,\n\t\t2161\n\t],\n\t\"./prism-openqasm.min.js\": [\n\t\t25690,\n\t\t5120\n\t],\n\t\"./prism-oz.min.js\": [\n\t\t42846,\n\t\t6791\n\t],\n\t\"./prism-parigp.min.js\": [\n\t\t1128,\n\t\t4015\n\t],\n\t\"./prism-parser.min.js\": [\n\t\t23776,\n\t\t3296\n\t],\n\t\"./prism-pascal.min.js\": [\n\t\t79223,\n\t\t8222\n\t],\n\t\"./prism-pascaligo.min.js\": [\n\t\t74994,\n\t\t5620\n\t],\n\t\"./prism-pcaxis.min.js\": [\n\t\t98534,\n\t\t4078\n\t],\n\t\"./prism-peoplecode.min.js\": [\n\t\t67693,\n\t\t6259\n\t],\n\t\"./prism-perl.min.js\": [\n\t\t967,\n\t\t7620\n\t],\n\t\"./prism-php-extras.min.js\": [\n\t\t34638,\n\t\t321\n\t],\n\t\"./prism-php.min.js\": [\n\t\t43361,\n\t\t8183\n\t],\n\t\"./prism-phpdoc.min.js\": [\n\t\t16600,\n\t\t4978\n\t],\n\t\"./prism-plant-uml.min.js\": [\n\t\t85326,\n\t\t2053\n\t],\n\t\"./prism-plsql.min.js\": [\n\t\t23175,\n\t\t3945\n\t],\n\t\"./prism-powerquery.min.js\": [\n\t\t20898,\n\t\t6594\n\t],\n\t\"./prism-powershell.min.js\": [\n\t\t24139,\n\t\t5010\n\t],\n\t\"./prism-processing.min.js\": [\n\t\t88865,\n\t\t4039\n\t],\n\t\"./prism-prolog.min.js\": [\n\t\t14651,\n\t\t6402\n\t],\n\t\"./prism-promql.min.js\": [\n\t\t54453,\n\t\t2612\n\t],\n\t\"./prism-properties.min.js\": [\n\t\t71563,\n\t\t1846\n\t],\n\t\"./prism-protobuf.min.js\": [\n\t\t24963,\n\t\t8801\n\t],\n\t\"./prism-psl.min.js\": [\n\t\t80613,\n\t\t5716\n\t],\n\t\"./prism-pug.min.js\": [\n\t\t58898,\n\t\t3426\n\t],\n\t\"./prism-puppet.min.js\": [\n\t\t33745,\n\t\t723\n\t],\n\t\"./prism-pure.min.js\": [\n\t\t49012,\n\t\t47\n\t],\n\t\"./prism-purebasic.min.js\": [\n\t\t82594,\n\t\t8374\n\t],\n\t\"./prism-purescript.min.js\": [\n\t\t1328,\n\t\t5554\n\t],\n\t\"./prism-python.min.js\": [\n\t\t90453,\n\t\t7771\n\t],\n\t\"./prism-q.min.js\": [\n\t\t97128,\n\t\t4413\n\t],\n\t\"./prism-qml.min.js\": [\n\t\t28220,\n\t\t3378\n\t],\n\t\"./prism-qore.min.js\": [\n\t\t85343,\n\t\t4191\n\t],\n\t\"./prism-qsharp.min.js\": [\n\t\t82427,\n\t\t1810\n\t],\n\t\"./prism-r.min.js\": [\n\t\t44769,\n\t\t8392\n\t],\n\t\"./prism-racket.min.js\": [\n\t\t51310,\n\t\t568\n\t],\n\t\"./prism-reason.min.js\": [\n\t\t37258,\n\t\t6966\n\t],\n\t\"./prism-regex.min.js\": [\n\t\t89413,\n\t\t3331\n\t],\n\t\"./prism-rego.min.js\": [\n\t\t47176,\n\t\t8324\n\t],\n\t\"./prism-renpy.min.js\": [\n\t\t12191,\n\t\t3397\n\t],\n\t\"./prism-rescript.min.js\": [\n\t\t10907,\n\t\t8786\n\t],\n\t\"./prism-rest.min.js\": [\n\t\t99713,\n\t\t6130\n\t],\n\t\"./prism-rip.min.js\": [\n\t\t90650,\n\t\t9558\n\t],\n\t\"./prism-roboconf.min.js\": [\n\t\t51691,\n\t\t5956\n\t],\n\t\"./prism-robotframework.min.js\": [\n\t\t31933,\n\t\t2856\n\t],\n\t\"./prism-ruby.min.js\": [\n\t\t84633,\n\t\t5399\n\t],\n\t\"./prism-rust.min.js\": [\n\t\t54261,\n\t\t648\n\t],\n\t\"./prism-sas.min.js\": [\n\t\t58228,\n\t\t8960\n\t],\n\t\"./prism-sass.min.js\": [\n\t\t16808,\n\t\t7357\n\t],\n\t\"./prism-scala.min.js\": [\n\t\t16036,\n\t\t4330\n\t],\n\t\"./prism-scheme.min.js\": [\n\t\t27360,\n\t\t760\n\t],\n\t\"./prism-scss.min.js\": [\n\t\t1193,\n\t\t3399\n\t],\n\t\"./prism-shell-session.min.js\": [\n\t\t79030,\n\t\t4879\n\t],\n\t\"./prism-smali.min.js\": [\n\t\t55917,\n\t\t3191\n\t],\n\t\"./prism-smalltalk.min.js\": [\n\t\t43691,\n\t\t6114\n\t],\n\t\"./prism-smarty.min.js\": [\n\t\t3167,\n\t\t6404\n\t],\n\t\"./prism-sml.min.js\": [\n\t\t85840,\n\t\t8042\n\t],\n\t\"./prism-solidity.min.js\": [\n\t\t27920,\n\t\t3017\n\t],\n\t\"./prism-solution-file.min.js\": [\n\t\t50969,\n\t\t7852\n\t],\n\t\"./prism-soy.min.js\": [\n\t\t43994,\n\t\t2354\n\t],\n\t\"./prism-sparql.min.js\": [\n\t\t86718,\n\t\t8259\n\t],\n\t\"./prism-splunk-spl.min.js\": [\n\t\t97499,\n\t\t9509\n\t],\n\t\"./prism-sqf.min.js\": [\n\t\t16220,\n\t\t6121\n\t],\n\t\"./prism-sql.min.js\": [\n\t\t43402,\n\t\t9326\n\t],\n\t\"./prism-squirrel.min.js\": [\n\t\t53709,\n\t\t8959\n\t],\n\t\"./prism-stan.min.js\": [\n\t\t6742,\n\t\t8263\n\t],\n\t\"./prism-stata.min.js\": [\n\t\t49725,\n\t\t7441\n\t],\n\t\"./prism-stylus.min.js\": [\n\t\t81309,\n\t\t1949\n\t],\n\t\"./prism-supercollider.min.js\": [\n\t\t83688,\n\t\t7367\n\t],\n\t\"./prism-swift.min.js\": [\n\t\t40256,\n\t\t5793\n\t],\n\t\"./prism-systemd.min.js\": [\n\t\t36407,\n\t\t6965\n\t],\n\t\"./prism-t4-cs.min.js\": [\n\t\t70566,\n\t\t8150\n\t],\n\t\"./prism-t4-templating.min.js\": [\n\t\t41906,\n\t\t9444\n\t],\n\t\"./prism-t4-vb.min.js\": [\n\t\t53376,\n\t\t7316\n\t],\n\t\"./prism-tap.min.js\": [\n\t\t67999,\n\t\t4026\n\t],\n\t\"./prism-tcl.min.js\": [\n\t\t52046,\n\t\t4209\n\t],\n\t\"./prism-textile.min.js\": [\n\t\t95812,\n\t\t4390\n\t],\n\t\"./prism-toml.min.js\": [\n\t\t77314,\n\t\t6363\n\t],\n\t\"./prism-tremor.min.js\": [\n\t\t63850,\n\t\t6087\n\t],\n\t\"./prism-tsx.min.js\": [\n\t\t2847,\n\t\t1633\n\t],\n\t\"./prism-tt2.min.js\": [\n\t\t43546,\n\t\t9489\n\t],\n\t\"./prism-turtle.min.js\": [\n\t\t32522,\n\t\t5106\n\t],\n\t\"./prism-twig.min.js\": [\n\t\t49188,\n\t\t4053\n\t],\n\t\"./prism-typescript.min.js\": [\n\t\t15961,\n\t\t1874\n\t],\n\t\"./prism-typoscript.min.js\": [\n\t\t31663,\n\t\t8892\n\t],\n\t\"./prism-unrealscript.min.js\": [\n\t\t35285,\n\t\t6873\n\t],\n\t\"./prism-uorazor.min.js\": [\n\t\t35597,\n\t\t4158\n\t],\n\t\"./prism-uri.min.js\": [\n\t\t49224,\n\t\t764\n\t],\n\t\"./prism-v.min.js\": [\n\t\t64062,\n\t\t3483\n\t],\n\t\"./prism-vala.min.js\": [\n\t\t11949,\n\t\t5407\n\t],\n\t\"./prism-vbnet.min.js\": [\n\t\t46159,\n\t\t6166\n\t],\n\t\"./prism-velocity.min.js\": [\n\t\t29527,\n\t\t4199\n\t],\n\t\"./prism-verilog.min.js\": [\n\t\t46431,\n\t\t1875\n\t],\n\t\"./prism-vhdl.min.js\": [\n\t\t92074,\n\t\t2314\n\t],\n\t\"./prism-vim.min.js\": [\n\t\t11617,\n\t\t3222\n\t],\n\t\"./prism-visual-basic.min.js\": [\n\t\t15009,\n\t\t3162\n\t],\n\t\"./prism-warpscript.min.js\": [\n\t\t63963,\n\t\t6737\n\t],\n\t\"./prism-wasm.min.js\": [\n\t\t48929,\n\t\t6608\n\t],\n\t\"./prism-web-idl.min.js\": [\n\t\t38612,\n\t\t9420\n\t],\n\t\"./prism-wgsl.min.js\": [\n\t\t49260,\n\t\t7797\n\t],\n\t\"./prism-wiki.min.js\": [\n\t\t63709,\n\t\t8707\n\t],\n\t\"./prism-wolfram.min.js\": [\n\t\t29635,\n\t\t2952\n\t],\n\t\"./prism-wren.min.js\": [\n\t\t71128,\n\t\t7473\n\t],\n\t\"./prism-xeora.min.js\": [\n\t\t20673,\n\t\t4839\n\t],\n\t\"./prism-xml-doc.min.js\": [\n\t\t24760,\n\t\t9348\n\t],\n\t\"./prism-xojo.min.js\": [\n\t\t15320,\n\t\t9159\n\t],\n\t\"./prism-xquery.min.js\": [\n\t\t19775,\n\t\t5505\n\t],\n\t\"./prism-yaml.min.js\": [\n\t\t4912,\n\t\t3782\n\t],\n\t\"./prism-yang.min.js\": [\n\t\t79284,\n\t\t9435\n\t],\n\t\"./prism-zig.min.js\": [\n\t\t92086,\n\t\t1720\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__.t(id, 7 | 16);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 98933;\nmodule.exports = webpackAsyncContext;"],"names":["_Descriptions","WrappedGeneralCard","wrapBrick","WrappedGridLayout","defineElement","property","createDecorators","_dec","styleTexts","styleText","alias","_dec2","_dec3","attribute","_dec4","type","Boolean","_dec5","_dec6","_dec7","_dec8","_dec9","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","Descriptions","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","writable","value","_initProto","_init_descriptionTitle","_init_list","_init_showCard","_init_column","_init_layout","_init_bordered","_init_hideGroups","_init_dataSource","descriptionTitle","_classPrivateFieldGet","v","_classPrivateFieldSet","list","showCard","column","layout","bordered","hideGroups","dataSource","render","React","DescriptionsComponent","this","props","_list$filter","hideGroupsSet","setHideGroupsSet","useState","useEffect","newHideGroupsSet","Set","concat","filter","cardTitle","headerStyle","border","padding","background","gap","columns","className","item","group","has","map","index","key","classnames","style","_objectSpread","length","gridColumnStart","gridColumnEnd","label","useBrick","ReactUseMultipleBricks","data","text","renderItem","e","c","_initClass","_applyDecs2203R","JsonStorage","storage","prefix","undefined","setItem","name","JSON","stringify","getItem","parse","removeItem","clear","_GeneralAlert","AlertType","alertTypeMap","SUCCESS","outlinedIcon","lib","icon","theme","filledIcon","color","bgColor","INFO","WARNING","ERROR","LOCAL_STORAGE_PREFIX","WrappedIcon","GeneralAlert","_init_type","_init_hasTitle","_init_closable","_init_localStorageKey","_init_disableUrlNamespace","hasTitle","closable","localStorageKey","disableUrlNamespace","GeneralAlertComponent","useMemo","localStorage","nameSpace","url","getHistory","location","pathname","curTypeInfo","hidden","setHidden","classNames","_extends","onClick","K","NS","styles","types","fontWeight","fontStyle","cursor","preStyle","fontFamily","MozTabSize","OTabSize","tabSize","WebkitHyphens","MozHyphens","msHyphens","hyphens","loadedLanguages","Prism","supportedLanguages","cloneDeep","languages","aliasMap","Map","initSupportedLanguages","_loop","language","languageDetail","requireDeps","require","optionalDeps","optional","set","forEach","importLanguage","Promise","resolve","reject","then","err","error","console","loadLanguageAccordingToDeps","_ref","_asyncToGenerator","requireDepsLoadingList","dep","optionalDepsLoadingList","all","_x","apply","loadLanguage","_ref2","_language","get","_x2","initializeReactI18n","en","COPY_SUCCESS","COPY_FAILED","zh","_CodeDisplay","copyToClipboard","unwrapProvider","showNotification","Number","CodeDisplay","_init_value","_init_language","_init_hideLineNumber","_init_maxLines","_init_minLines","_init_showCopyButton","_init_showExportButton","_init_exportFileName","hideLineNumber","maxLines","minLines","showCopyButton","showExportButton","exportFileName","CodeDisplayComponent","t","useTranslation","forceUpdate","Highlight","code","prism","preClassName","tokens","getLineProps","getTokenProps","line","i","token","handleCopyIconClick","message","catch","handleExportIconClick","saveAs","Blob","TOTAL","PAGE_SIZE","NEXT_PAGE_one","NEXT_PAGE_other","PREVIOUS_PAGE_one","PREVIOUS_PAGE_other","_EoPagination","event","WrappedPopover","WrappedMenu","WrappedMenuItem","_changeEvent","_handleChange","EoPagination","_get_changeEvent2","_set_changeEvent2","_init_total","_init_page","_init_pageSize","_init_pageSizeOptions","_init_changeEvent","emit","total","page","pageSize","pageSizeOptions","EoPaginationComponent","onChange","_set_changeEvent","_get_changeEvent","setPaginationData","_total","formatValue","_page","_pageSize","options","isNaN","sortBy","allPages","Math","ceil","pagerDataSource","prevArrow","disabled","nextArrow","pageList","size","leftPage","rightPage","leftSize","floor","rightSize","Array","from","keys","slice","getPageWindow","p","active","push","span","handlePagerClick","pagerData","pre","Trans","i18nKey","values","components","placement","sync","slot","count","minWidth","handlePageSizeChange","PageArrow","PageJump","PageItem","title","String","defaultValue","_value","___CSS_LOADER_EXPORT___","module","id","toString","webpackAsyncContext","req","__webpack_require__","o","Error","ids","Object","exports"],"sourceRoot":""}
|