@vc-shell/framework 1.1.46 → 1.1.47
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/CHANGELOG.md +4 -0
- package/core/plugins/modularity/loader.ts +126 -97
- package/dist/assets/042c75b764bc78a7.svg +1 -0
- package/dist/assets/0ba156439a339f2a.svg +1 -0
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0f590f8a94577092.svg +1 -0
- package/dist/assets/0fc5820f8be53a1b.svg +1 -0
- package/dist/assets/10768e2cc79fc60b.svg +1 -0
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +1 -0
- package/dist/assets/15e91cdd649cde9a.svg +1 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +1 -0
- package/dist/assets/1ea01de36eb5491b.svg +1 -0
- package/dist/assets/204eaf512fde2023.svg +1 -0
- package/dist/assets/2088983edf42e153.svg +1 -0
- package/dist/assets/208f810a9321a327.svg +1 -0
- package/dist/assets/21220a9d10e6c558.svg +1 -0
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +1 -0
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +1 -0
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +1 -0
- package/dist/assets/2857c513073467da.svg +1 -0
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +1 -0
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/327511cd4a7ba7f9.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +1 -0
- package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
- package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
- package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
- package/dist/assets/41275bcb979cb650.svg +1 -0
- package/dist/assets/42df4e2d6fa3fd2a.woff2 +0 -0
- package/dist/assets/434f7982590e462f.woff +0 -0
- package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
- package/dist/assets/4d7a77b0e5373992.svg +1 -0
- package/dist/assets/4e43c74354534fb3.svg +1 -0
- package/dist/assets/4fe75f5117100705.svg +1 -0
- package/dist/assets/52610491f372cb0c.woff2 +0 -0
- package/dist/assets/52e261a005074e1b.woff +0 -0
- package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
- package/dist/assets/572bb1bb4156a9c1.svg +1 -0
- package/dist/assets/5b3661be8be679d0.woff2 +0 -0
- package/dist/assets/5d96cfcc5bedd917.woff2 +0 -0
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/6619e9e10beea0e7.woff2 +0 -0
- package/dist/assets/67230f05dc94a265.svg +1 -0
- package/dist/assets/6798e4dd4add9b48.svg +1 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +1 -0
- package/dist/assets/72de3a63bc0b70dd.svg +1 -0
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +1 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +1 -0
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +1 -0
- package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
- package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
- package/dist/assets/861e6b7192b3b6c7.woff +0 -0
- package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
- package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
- package/dist/assets/910b0d99b9e26568.svg +1 -0
- package/dist/assets/91eee1aa81f72683.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +1 -0
- package/dist/assets/9392bf1d591e1abb.svg +1 -0
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +1 -0
- package/dist/assets/a2017fe7f0a26510.svg +1 -0
- package/dist/assets/a47034e65dbcc3d7.woff +0 -0
- package/dist/assets/a617e11804bbacb7.woff +0 -0
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +1 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +1 -0
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b291dc35a17511f7.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +1 -0
- package/dist/assets/b372390551ca2fa1.svg +1 -0
- package/dist/assets/b5bb1e8fc975decd.svg +1 -0
- package/dist/assets/b645a4a2181b9dc1.svg +1 -0
- package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
- package/dist/assets/b94421fadd23b0f2.svg +1 -0
- package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
- package/dist/assets/bfbe205759295eca.woff2 +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +1 -0
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/d084bda16abe8a56.svg +1 -0
- package/dist/assets/d32b129cae2fffd6.svg +1 -0
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +1 -0
- package/dist/assets/d5a5b8630120073d.svg +1 -0
- package/dist/assets/d5f9664ebbfb104b.svg +1 -0
- package/dist/assets/d80b05788e407de7.woff2 +0 -0
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
- package/dist/assets/e38acaa1757232e0.svg +1 -0
- package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
- package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +1 -0
- package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/f09d89268e4c0317.svg +1 -0
- package/dist/assets/f276d55184e05a07.woff +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
- package/dist/assets/fcb1c1ffb5640194.woff +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +1 -0
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/framework.js +16544 -25878
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
- package/dist/vendor-boolbase-Bgn9I6iN.js +21 -0
- package/dist/vendor-cheerio-CleDsuQZ.js +1053 -0
- package/dist/vendor-cheerio-select-CVkYl3Z-.js +191 -0
- package/dist/vendor-css-select-CtIzVIiG.js +622 -0
- package/dist/vendor-css-what-CZZaquJM.js +267 -0
- package/dist/vendor-cypress-signalr-mock-CdKwIhWw.js +769 -0
- package/dist/vendor-date-fns-CdFbeoHV.js +2989 -0
- package/dist/vendor-dom-serializer-CugO0RdN.js +213 -0
- package/dist/vendor-dom7-wvIUV9pT.js +529 -0
- package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
- package/dist/vendor-domhandler-CL40eeX9.js +311 -0
- package/dist/vendor-dompurify-eYFoHPwR.js +528 -0
- package/dist/vendor-domutils-D3Y2YQFR.js +386 -0
- package/dist/vendor-entities-v26HW8wW.js +363 -0
- package/dist/vendor-floating-ui-core-C9uEvi1M.js +349 -0
- package/dist/vendor-floating-ui-dom-CZkYGmv4.js +393 -0
- package/dist/vendor-floating-ui-utils-Bx3BTd6_.js +259 -0
- package/dist/vendor-floating-ui-vue-CLOiVYP7.js +107 -0
- package/dist/vendor-headlessui-vue-Dg0Llidi.js +961 -0
- package/dist/vendor-htmlparser2-CXL_uhMI.js +735 -0
- package/dist/vendor-iconify-vue-D4fihzvl.js +1205 -0
- package/dist/vendor-intlify-core-base-Bvt2vJFV.js +1129 -0
- package/dist/vendor-intlify-message-compiler-1VxNzq21.js +945 -0
- package/dist/vendor-intlify-shared-D7kiPMOG.js +130 -0
- package/dist/vendor-iso-639-1-dVGfSUIM.js +781 -0
- package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
- package/dist/vendor-linkifyjs-DTu7SY_Y.js +705 -0
- package/dist/vendor-lodash-es-CrYlgAi8.js +4816 -0
- package/dist/vendor-markdown-it-4AJoRTAg.js +2263 -0
- package/dist/vendor-markdown-it-task-lists-Byg1-ms9.js +69 -0
- package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
- package/dist/vendor-microsoft-applicationinsights-analytics-js-DA-ctcAL.js +1105 -0
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-COfRj-2q.js +261 -0
- package/dist/vendor-microsoft-applicationinsights-channel-js-MTPYhH-I.js +1809 -0
- package/dist/vendor-microsoft-applicationinsights-common-CDVnJ6MR.js +1921 -0
- package/dist/vendor-microsoft-applicationinsights-core-js-D7Aicf8S.js +4127 -0
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-CvQWWraU.js +1399 -0
- package/dist/vendor-microsoft-applicationinsights-properties-js-C0Iv1cZE.js +572 -0
- package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +43 -0
- package/dist/vendor-microsoft-applicationinsights-web-BRuQAzjU.js +487 -0
- package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +147 -0
- package/dist/vendor-microsoft-signalr-qIrag5xx.js +1761 -0
- package/dist/vendor-moment-CwOqp704.js +2589 -0
- package/dist/vendor-nevware21-ts-async-FAyg3c9V.js +260 -0
- package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +853 -0
- package/dist/vendor-nth-check-BE7AeBMg.js +45 -0
- package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
- package/dist/vendor-parse5-DqztJOGh.js +5747 -0
- package/dist/vendor-parse5-htmlparser2-tree-adapter-CNubfdOP.js +143 -0
- package/dist/vendor-popperjs-core-LGjf7Wza.js +905 -0
- package/dist/vendor-prettier-D8C9GG-0.js +4858 -0
- package/dist/vendor-prosemirror-commands-BqYcdumy.js +344 -0
- package/dist/vendor-prosemirror-dropcursor-zknUsW5x.js +86 -0
- package/dist/vendor-prosemirror-gapcursor-DjOZhP78.js +200 -0
- package/dist/vendor-prosemirror-history-l8l3CFac.js +248 -0
- package/dist/vendor-prosemirror-keymap-C17r08p-.js +62 -0
- package/dist/vendor-prosemirror-markdown-WJEDhc-w.js +650 -0
- package/dist/vendor-prosemirror-model-BN5TnJD_.js +2736 -0
- package/dist/vendor-prosemirror-schema-list-CR0gi7aY.js +87 -0
- package/dist/vendor-prosemirror-state-B0bFP8WI.js +821 -0
- package/dist/vendor-prosemirror-tables-B1txTKlC.js +1711 -0
- package/dist/vendor-prosemirror-transform-Bo7kNPme.js +1507 -0
- package/dist/vendor-prosemirror-view--C7TZvmQ.js +3746 -0
- package/dist/vendor-punycode-js-CNI-zL6U.js +133 -0
- package/dist/vendor-rope-sequence-sEGCUMi8.js +100 -0
- package/dist/vendor-semver-BoKYtkQw.js +1021 -0
- package/dist/vendor-ssr-window-D4k3p53c.js +133 -0
- package/dist/vendor-swiper-CMVLTGu0.js +2825 -0
- package/dist/vendor-tippy-js-BGdgwGX-.js +812 -0
- package/dist/vendor-tiptap-core-BRY37Sb2.js +2806 -0
- package/dist/vendor-tiptap-extension-blockquote-CPd5qv-9.js +43 -0
- package/dist/vendor-tiptap-extension-bold-B0GwBNks.js +71 -0
- package/dist/vendor-tiptap-extension-bubble-menu-B0sZZld7.js +128 -0
- package/dist/vendor-tiptap-extension-bullet-list-CQm4ReOu.js +53 -0
- package/dist/vendor-tiptap-extension-code-C8cy6bRj.js +51 -0
- package/dist/vendor-tiptap-extension-code-block-BqTchNEf.js +133 -0
- package/dist/vendor-tiptap-extension-document-Dka1Uu0g.js +9 -0
- package/dist/vendor-tiptap-extension-dropcursor-CFSh-BuE.js +20 -0
- package/dist/vendor-tiptap-extension-floating-menu-H8PB4zeI.js +99 -0
- package/dist/vendor-tiptap-extension-gapcursor-CzwfD_IT.js +24 -0
- package/dist/vendor-tiptap-extension-hard-break-Rm6aVcrK.js +55 -0
- package/dist/vendor-tiptap-extension-heading-CavI6u1v.js +54 -0
- package/dist/vendor-tiptap-extension-history-WEN1_74D.js +35 -0
- package/dist/vendor-tiptap-extension-horizontal-rule-DZkUEL6s.js +58 -0
- package/dist/vendor-tiptap-extension-image-B67_mxGM.js +64 -0
- package/dist/vendor-tiptap-extension-italic-BshxBFou.js +70 -0
- package/dist/vendor-tiptap-extension-link-CJAQIgui.js +262 -0
- package/dist/vendor-tiptap-extension-list-item-DF-iMpqO.js +33 -0
- package/dist/vendor-tiptap-extension-ordered-list-CN8MF-kN.js +71 -0
- package/dist/vendor-tiptap-extension-paragraph-DI577lM5.js +33 -0
- package/dist/vendor-tiptap-extension-placeholder-DwAtlfAF.js +52 -0
- package/dist/vendor-tiptap-extension-strike-CIty09KN.js +61 -0
- package/dist/vendor-tiptap-extension-table-C5nv-GUb.js +213 -0
- package/dist/vendor-tiptap-extension-table-cell-DXbBhJW3.js +40 -0
- package/dist/vendor-tiptap-extension-table-header-rtggsYXA.js +40 -0
- package/dist/vendor-tiptap-extension-table-row-67khjMDt.js +22 -0
- package/dist/vendor-tiptap-extension-text-D1OHb_a1.js +8 -0
- package/dist/vendor-tiptap-extension-underline-IqWixw3m.js +40 -0
- package/dist/vendor-tiptap-markdown-DVxB1hbO.js +825 -0
- package/dist/vendor-tiptap-starter-kit-CPH9gu2X.js +29 -0
- package/dist/vendor-tiptap-vue-3-CkBe4_xM.js +225 -0
- package/dist/vendor-truncate-html-Bx1HJzRq.js +145 -0
- package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
- package/dist/vendor-vee-validate-rules-DDeNM2Gc.js +314 -0
- package/dist/vendor-vue-currency-input-DxWnS-HB.js +315 -0
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
- package/dist/vendor-vue-i18n-DPtOLen3.js +1359 -0
- package/dist/vendor-vue3-application-insights-dAGGfA_M.js +69 -0
- package/dist/vendor-vue3-touch-events-8Pa3HHlV.js +169 -0
- package/dist/vendor-vuepic-vue-datepicker-DglsiNYa.js +4997 -0
- package/dist/vendor-vueuse-components-DtK_mxpP.js +219 -0
- package/dist/vendor-vueuse-core-cB-c7DzH.js +5129 -0
- package/dist/vendor-vueuse-shared-Dg7PMM0z.js +1169 -0
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
- package/dist/vendor-whatwg-fetch-l0sNRNKZ.js +1 -0
- package/package.json +5 -4
- package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +2 -1
- package/dist/vendor-boolbase-Cp9L0GAZ.js +0 -25
- package/dist/vendor-cheerio-HN9zIPZn.js +0 -3135
- package/dist/vendor-cheerio-select-5Ry0HvBq.js +0 -306
- package/dist/vendor-css-select-DRIZ9kfZ.js +0 -966
- package/dist/vendor-css-what-DuPJ1HEF.js +0 -448
- package/dist/vendor-cypress-signalr-mock-BKdBJpdt.js +0 -778
- package/dist/vendor-date-fns-515YWkk-.js +0 -6724
- package/dist/vendor-dom-serializer-nQMsqjYW.js +0 -286
- package/dist/vendor-dom7-CJLPMwy5.js +0 -941
- package/dist/vendor-domelementtype-CjSzQey5.js +0 -53
- package/dist/vendor-domhandler-9z8cS16a.js +0 -484
- package/dist/vendor-dompurify-CRFzu7ib.js +0 -1336
- package/dist/vendor-domutils-Bc-Opz-v.js +0 -981
- package/dist/vendor-entities-Bfsx4xOQ.js +0 -636
- package/dist/vendor-floating-ui-core-wV8u8QP4.js +0 -511
- package/dist/vendor-floating-ui-dom-DDnRPs17.js +0 -706
- package/dist/vendor-floating-ui-utils-OMIFy1QU.js +0 -296
- package/dist/vendor-floating-ui-vue-D-tCDAMm.js +0 -167
- package/dist/vendor-fontsource-plus-jakarta-sans.css +0 -1
- package/dist/vendor-headlessui-vue-CY9FRgTb.js +0 -83
- package/dist/vendor-htmlparser2-B1dhFPOs.js +0 -1426
- package/dist/vendor-iconify-vue-DfRGgyNu.js +0 -1840
- package/dist/vendor-intlify-core-base-BuknsFQe.js +0 -1876
- package/dist/vendor-intlify-message-compiler-CuOQDWx1.js +0 -1508
- package/dist/vendor-intlify-shared-Cz4YRMuC.js +0 -241
- package/dist/vendor-iso-639-1-BJCk9DvE.js +0 -819
- package/dist/vendor-linkify-it-CKUf4vsc.js +0 -830
- package/dist/vendor-linkifyjs-BfyGgbCh.js +0 -1756
- package/dist/vendor-lodash-es-BySUOlwf.js +0 -18333
- package/dist/vendor-markdown-it-D-apazHa.js +0 -6000
- package/dist/vendor-markdown-it-task-lists-rxMVH6Ku.js +0 -131
- package/dist/vendor-mdurl-BNh2CCgT.js +0 -537
- package/dist/vendor-microsoft-applicationinsights-analytics-js-kG3lLg8X.js +0 -1275
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-C0uQkiQq.js +0 -591
- package/dist/vendor-microsoft-applicationinsights-channel-js-Dyd_PXA3.js +0 -2153
- package/dist/vendor-microsoft-applicationinsights-common-CfmP1_Qr.js +0 -2470
- package/dist/vendor-microsoft-applicationinsights-core-js-Cq4YSEvZ.js +0 -6589
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-C56OBFr4.js +0 -1510
- package/dist/vendor-microsoft-applicationinsights-properties-js-CBJTBawx.js +0 -761
- package/dist/vendor-microsoft-applicationinsights-shims-CX8sJgar.js +0 -70
- package/dist/vendor-microsoft-applicationinsights-web-pim2ri-g.js +0 -667
- package/dist/vendor-microsoft-dynamicproto-js-CFBBUu9p.js +0 -520
- package/dist/vendor-microsoft-signalr-dUnlRsGm.js +0 -3339
- package/dist/vendor-moment-Mki5YqAR.js +0 -5679
- package/dist/vendor-nevware21-ts-async-CLMApQ9E.js +0 -395
- package/dist/vendor-nevware21-ts-utils-e8v8Jty3.js +0 -1160
- package/dist/vendor-nth-check-Bx8TxtJt.js +0 -157
- package/dist/vendor-orderedmap-dGG6uMFJ.js +0 -137
- package/dist/vendor-parse5-Bt2NhSzR.js +0 -8432
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BUUtKzf8.js +0 -216
- package/dist/vendor-popperjs-core-Cr2byIky.js +0 -1790
- package/dist/vendor-prettier-B4PaeWRQ.js +0 -98
- package/dist/vendor-prosemirror-commands-BH9lWGpW.js +0 -561
- package/dist/vendor-prosemirror-dropcursor-CeyPcxrA.js +0 -146
- package/dist/vendor-prosemirror-gapcursor-U8UoUJII.js +0 -236
- package/dist/vendor-prosemirror-history-BDaJkvNx.js +0 -414
- package/dist/vendor-prosemirror-keymap-BbWvIWmH.js +0 -128
- package/dist/vendor-prosemirror-markdown-gB0PXBbz.js +0 -866
- package/dist/vendor-prosemirror-model-BZu3WVcD.js +0 -3463
- package/dist/vendor-prosemirror-schema-list-Bl9NpKA7.js +0 -158
- package/dist/vendor-prosemirror-state-BvL9Pxph.js +0 -1003
- package/dist/vendor-prosemirror-tables-17qAnviK.js +0 -2159
- package/dist/vendor-prosemirror-transform-CE9VV3qg.js +0 -2156
- package/dist/vendor-prosemirror-view-CU2WTHT7.js +0 -5811
- package/dist/vendor-punycode-js-iAs5RxMf.js +0 -441
- package/dist/vendor-rope-sequence-BdXDKoGt.js +0 -207
- package/dist/vendor-semver-CVLMK-S4.js +0 -2702
- package/dist/vendor-ssr-window-s6OpKa3O.js +0 -150
- package/dist/vendor-swiper-CdiyNHVt.js +0 -5679
- package/dist/vendor-tippy-js-DWFe2TfK.js +0 -1647
- package/dist/vendor-tiptap-core-NfwGfaQk.js +0 -4910
- package/dist/vendor-tiptap-extension-blockquote-jmWBTtsI.js +0 -57
- package/dist/vendor-tiptap-extension-bold-p5frh4ak.js +0 -97
- package/dist/vendor-tiptap-extension-bubble-menu-KUhZSfrs.js +0 -218
- package/dist/vendor-tiptap-extension-bullet-list-COmZRoSB.js +0 -73
- package/dist/vendor-tiptap-extension-code-block-DyTARZss.js +0 -221
- package/dist/vendor-tiptap-extension-code-jVv6CXpX.js +0 -75
- package/dist/vendor-tiptap-extension-document-DssuotYs.js +0 -13
- package/dist/vendor-tiptap-extension-dropcursor-BoO0Qv91.js +0 -26
- package/dist/vendor-tiptap-extension-floating-menu-CrO8CN5w.js +0 -165
- package/dist/vendor-tiptap-extension-gapcursor-KpsWEoMD.js +0 -30
- package/dist/vendor-tiptap-extension-hard-break-ldOzhSvf.js +0 -68
- package/dist/vendor-tiptap-extension-heading-CKz2llX0.js +0 -77
- package/dist/vendor-tiptap-extension-history-DeKZ2VQ9.js +0 -48
- package/dist/vendor-tiptap-extension-horizontal-rule-CAjWRyDS.js +0 -92
- package/dist/vendor-tiptap-extension-image-ZagcEYuk.js +0 -76
- package/dist/vendor-tiptap-extension-italic-CM4xdznY.js +0 -96
- package/dist/vendor-tiptap-extension-link-Z-AMC4Ri.js +0 -414
- package/dist/vendor-tiptap-extension-list-item-BJi5QpXc.js +0 -37
- package/dist/vendor-tiptap-extension-ordered-list-C_TMrfBE.js +0 -97
- package/dist/vendor-tiptap-extension-paragraph-CQw0E0Au.js +0 -39
- package/dist/vendor-tiptap-extension-placeholder-BBNVKfa_.js +0 -66
- package/dist/vendor-tiptap-extension-strike-DUyMYX1Z.js +0 -79
- package/dist/vendor-tiptap-extension-table-cell-CoDIMPA5.js +0 -47
- package/dist/vendor-tiptap-extension-table-header-DvbGHnmw.js +0 -47
- package/dist/vendor-tiptap-extension-table-row-D1uqN5Aj.js +0 -26
- package/dist/vendor-tiptap-extension-table-tKS4MOM4.js +0 -354
- package/dist/vendor-tiptap-extension-text-DtRBhKB2.js +0 -12
- package/dist/vendor-tiptap-extension-underline-DqaSFp_P.js +0 -50
- package/dist/vendor-tiptap-markdown-7-PCADTU.js +0 -1017
- package/dist/vendor-tiptap-starter-kit-CDSV_Zuu.js +0 -88
- package/dist/vendor-tiptap-vue-3-DZg2fjq_.js +0 -268
- package/dist/vendor-truncate-html-3qQY0Djo.js +0 -196
- package/dist/vendor-uc-micro-jjt6LQ65.js +0 -23
- package/dist/vendor-vee-validate-i18n-v_gHjRmD.js +0 -154
- package/dist/vendor-vee-validate-rules-DzV3VY3N.js +0 -536
- package/dist/vendor-vue-currency-input-DGAkEFBO.js +0 -545
- package/dist/vendor-vue-devtools-api-DXYR8qBG.js +0 -169
- package/dist/vendor-vue-i18n-Co752uk3.js +0 -1897
- package/dist/vendor-vue3-application-insights-CYWFCr_J.js +0 -119
- package/dist/vendor-vue3-touch-events-BJEAiSa3.js +0 -416
- package/dist/vendor-vuepic-vue-datepicker-BSWXRSiu.js +0 -5019
- package/dist/vendor-vueuse-components-l1bL12mE.js +0 -339
- package/dist/vendor-vueuse-core-DGcJOmwG.js +0 -7743
- package/dist/vendor-vueuse-shared-_mOXsFuM.js +0 -1568
- package/dist/vendor-w3c-keyname-BOm2dtJm.js +0 -121
|
@@ -0,0 +1,1205 @@
|
|
|
1
|
+
import { defineComponent as be, ref as R, shallowRef as ve, onMounted as we, watch as Ie, onUnmounted as Se, h as B, nextTick as ke } from "vue";
|
|
2
|
+
const re = /^[a-z0-9]+(-[a-z0-9]+)*$/, F = (e, o, n, i = "") => {
|
|
3
|
+
const t = e.split(":");
|
|
4
|
+
if (e.slice(0, 1) === "@") {
|
|
5
|
+
if (t.length < 2 || t.length > 3)
|
|
6
|
+
return null;
|
|
7
|
+
i = t.shift().slice(1);
|
|
8
|
+
}
|
|
9
|
+
if (t.length > 3 || !t.length)
|
|
10
|
+
return null;
|
|
11
|
+
if (t.length > 1) {
|
|
12
|
+
const l = t.pop(), u = t.pop(), c = {
|
|
13
|
+
// Allow provider without '@': "provider:prefix:name"
|
|
14
|
+
provider: t.length > 0 ? t[0] : i,
|
|
15
|
+
prefix: u,
|
|
16
|
+
name: l
|
|
17
|
+
};
|
|
18
|
+
return o && !A(c) ? null : c;
|
|
19
|
+
}
|
|
20
|
+
const s = t[0], r = s.split("-");
|
|
21
|
+
if (r.length > 1) {
|
|
22
|
+
const l = {
|
|
23
|
+
provider: i,
|
|
24
|
+
prefix: r.shift(),
|
|
25
|
+
name: r.join("-")
|
|
26
|
+
};
|
|
27
|
+
return o && !A(l) ? null : l;
|
|
28
|
+
}
|
|
29
|
+
if (n && i === "") {
|
|
30
|
+
const l = {
|
|
31
|
+
provider: i,
|
|
32
|
+
prefix: "",
|
|
33
|
+
name: s
|
|
34
|
+
};
|
|
35
|
+
return o && !A(l, n) ? null : l;
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
}, A = (e, o) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
39
|
+
// Check name: cannot be empty
|
|
40
|
+
((o && e.prefix === "" || e.prefix) && e.name) : !1, ce = Object.freeze(
|
|
41
|
+
{
|
|
42
|
+
left: 0,
|
|
43
|
+
top: 0,
|
|
44
|
+
width: 16,
|
|
45
|
+
height: 16
|
|
46
|
+
}
|
|
47
|
+
), D = Object.freeze({
|
|
48
|
+
rotate: 0,
|
|
49
|
+
vFlip: !1,
|
|
50
|
+
hFlip: !1
|
|
51
|
+
}), E = Object.freeze({
|
|
52
|
+
...ce,
|
|
53
|
+
...D
|
|
54
|
+
}), U = Object.freeze({
|
|
55
|
+
...E,
|
|
56
|
+
body: "",
|
|
57
|
+
hidden: !1
|
|
58
|
+
});
|
|
59
|
+
function Te(e, o) {
|
|
60
|
+
const n = {};
|
|
61
|
+
!e.hFlip != !o.hFlip && (n.hFlip = !0), !e.vFlip != !o.vFlip && (n.vFlip = !0);
|
|
62
|
+
const i = ((e.rotate || 0) + (o.rotate || 0)) % 4;
|
|
63
|
+
return i && (n.rotate = i), n;
|
|
64
|
+
}
|
|
65
|
+
function K(e, o) {
|
|
66
|
+
const n = Te(e, o);
|
|
67
|
+
for (const i in U)
|
|
68
|
+
i in D ? i in e && !(i in n) && (n[i] = D[i]) : i in o ? n[i] = o[i] : i in e && (n[i] = e[i]);
|
|
69
|
+
return n;
|
|
70
|
+
}
|
|
71
|
+
function Ce(e, o) {
|
|
72
|
+
const n = e.icons, i = e.aliases || /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
73
|
+
function s(r) {
|
|
74
|
+
if (n[r])
|
|
75
|
+
return t[r] = [];
|
|
76
|
+
if (!(r in t)) {
|
|
77
|
+
t[r] = null;
|
|
78
|
+
const l = i[r] && i[r].parent, u = l && s(l);
|
|
79
|
+
u && (t[r] = [l].concat(u));
|
|
80
|
+
}
|
|
81
|
+
return t[r];
|
|
82
|
+
}
|
|
83
|
+
return Object.keys(n).concat(Object.keys(i)).forEach(s), t;
|
|
84
|
+
}
|
|
85
|
+
function Pe(e, o, n) {
|
|
86
|
+
const i = e.icons, t = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
87
|
+
let s = {};
|
|
88
|
+
function r(l) {
|
|
89
|
+
s = K(
|
|
90
|
+
i[l] || t[l],
|
|
91
|
+
s
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
return r(o), n.forEach(r), K(e, s);
|
|
95
|
+
}
|
|
96
|
+
function le(e, o) {
|
|
97
|
+
const n = [];
|
|
98
|
+
if (typeof e != "object" || typeof e.icons != "object")
|
|
99
|
+
return n;
|
|
100
|
+
e.not_found instanceof Array && e.not_found.forEach((t) => {
|
|
101
|
+
o(t, null), n.push(t);
|
|
102
|
+
});
|
|
103
|
+
const i = Ce(e);
|
|
104
|
+
for (const t in i) {
|
|
105
|
+
const s = i[t];
|
|
106
|
+
s && (o(t, Pe(e, t, s)), n.push(t));
|
|
107
|
+
}
|
|
108
|
+
return n;
|
|
109
|
+
}
|
|
110
|
+
const je = {
|
|
111
|
+
provider: "",
|
|
112
|
+
aliases: {},
|
|
113
|
+
not_found: {},
|
|
114
|
+
...ce
|
|
115
|
+
};
|
|
116
|
+
function z(e, o) {
|
|
117
|
+
for (const n in o)
|
|
118
|
+
if (n in e && typeof e[n] != typeof o[n])
|
|
119
|
+
return !1;
|
|
120
|
+
return !0;
|
|
121
|
+
}
|
|
122
|
+
function ue(e) {
|
|
123
|
+
if (typeof e != "object" || e === null)
|
|
124
|
+
return null;
|
|
125
|
+
const o = e;
|
|
126
|
+
if (typeof o.prefix != "string" || !e.icons || typeof e.icons != "object" || !z(e, je))
|
|
127
|
+
return null;
|
|
128
|
+
const n = o.icons;
|
|
129
|
+
for (const t in n) {
|
|
130
|
+
const s = n[t];
|
|
131
|
+
if (
|
|
132
|
+
// Name cannot be empty
|
|
133
|
+
!t || // Must have body
|
|
134
|
+
typeof s.body != "string" || // Check other props
|
|
135
|
+
!z(
|
|
136
|
+
s,
|
|
137
|
+
U
|
|
138
|
+
)
|
|
139
|
+
)
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
const i = o.aliases || /* @__PURE__ */ Object.create(null);
|
|
143
|
+
for (const t in i) {
|
|
144
|
+
const s = i[t], r = s.parent;
|
|
145
|
+
if (
|
|
146
|
+
// Name cannot be empty
|
|
147
|
+
!t || // Parent must be set and point to existing icon
|
|
148
|
+
typeof r != "string" || !n[r] && !i[r] || // Check other props
|
|
149
|
+
!z(
|
|
150
|
+
s,
|
|
151
|
+
U
|
|
152
|
+
)
|
|
153
|
+
)
|
|
154
|
+
return null;
|
|
155
|
+
}
|
|
156
|
+
return o;
|
|
157
|
+
}
|
|
158
|
+
const W = /* @__PURE__ */ Object.create(null);
|
|
159
|
+
function Fe(e, o) {
|
|
160
|
+
return {
|
|
161
|
+
provider: e,
|
|
162
|
+
prefix: o,
|
|
163
|
+
icons: /* @__PURE__ */ Object.create(null),
|
|
164
|
+
missing: /* @__PURE__ */ new Set()
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function k(e, o) {
|
|
168
|
+
const n = W[e] || (W[e] = /* @__PURE__ */ Object.create(null));
|
|
169
|
+
return n[o] || (n[o] = Fe(e, o));
|
|
170
|
+
}
|
|
171
|
+
function fe(e, o) {
|
|
172
|
+
return ue(o) ? le(o, (n, i) => {
|
|
173
|
+
i ? e.icons[n] = i : e.missing.add(n);
|
|
174
|
+
}) : [];
|
|
175
|
+
}
|
|
176
|
+
function Ee(e, o, n) {
|
|
177
|
+
try {
|
|
178
|
+
if (typeof n.body == "string")
|
|
179
|
+
return e.icons[o] = { ...n }, !0;
|
|
180
|
+
} catch {
|
|
181
|
+
}
|
|
182
|
+
return !1;
|
|
183
|
+
}
|
|
184
|
+
let j = !1;
|
|
185
|
+
function ae(e) {
|
|
186
|
+
return typeof e == "boolean" && (j = e), j;
|
|
187
|
+
}
|
|
188
|
+
function de(e) {
|
|
189
|
+
const o = typeof e == "string" ? F(e, !0, j) : e;
|
|
190
|
+
if (o) {
|
|
191
|
+
const n = k(o.provider, o.prefix), i = o.name;
|
|
192
|
+
return n.icons[i] || (n.missing.has(i) ? null : void 0);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
function Oe(e, o) {
|
|
196
|
+
const n = F(e, !0, j);
|
|
197
|
+
if (!n)
|
|
198
|
+
return !1;
|
|
199
|
+
const i = k(n.provider, n.prefix);
|
|
200
|
+
return o ? Ee(i, n.name, o) : (i.missing.add(n.name), !0);
|
|
201
|
+
}
|
|
202
|
+
function Ae(e, o) {
|
|
203
|
+
if (typeof e != "object")
|
|
204
|
+
return !1;
|
|
205
|
+
if (typeof o != "string" && (o = e.provider || ""), j && !o && !e.prefix) {
|
|
206
|
+
let t = !1;
|
|
207
|
+
return ue(e) && (e.prefix = "", le(e, (s, r) => {
|
|
208
|
+
Oe(s, r) && (t = !0);
|
|
209
|
+
})), t;
|
|
210
|
+
}
|
|
211
|
+
const n = e.prefix;
|
|
212
|
+
if (!A({
|
|
213
|
+
prefix: n,
|
|
214
|
+
name: "a"
|
|
215
|
+
}))
|
|
216
|
+
return !1;
|
|
217
|
+
const i = k(o, n);
|
|
218
|
+
return !!fe(i, e);
|
|
219
|
+
}
|
|
220
|
+
const pe = Object.freeze({
|
|
221
|
+
width: null,
|
|
222
|
+
height: null
|
|
223
|
+
}), he = Object.freeze({
|
|
224
|
+
// Dimensions
|
|
225
|
+
...pe,
|
|
226
|
+
// Transformations
|
|
227
|
+
...D
|
|
228
|
+
}), Le = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Me = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
229
|
+
function J(e, o, n) {
|
|
230
|
+
if (o === 1)
|
|
231
|
+
return e;
|
|
232
|
+
if (n = n || 100, typeof e == "number")
|
|
233
|
+
return Math.ceil(e * o * n) / n;
|
|
234
|
+
if (typeof e != "string")
|
|
235
|
+
return e;
|
|
236
|
+
const i = e.split(Le);
|
|
237
|
+
if (i === null || !i.length)
|
|
238
|
+
return e;
|
|
239
|
+
const t = [];
|
|
240
|
+
let s = i.shift(), r = Me.test(s);
|
|
241
|
+
for (; ; ) {
|
|
242
|
+
if (r) {
|
|
243
|
+
const l = parseFloat(s);
|
|
244
|
+
isNaN(l) ? t.push(s) : t.push(Math.ceil(l * o * n) / n);
|
|
245
|
+
} else
|
|
246
|
+
t.push(s);
|
|
247
|
+
if (s = i.shift(), s === void 0)
|
|
248
|
+
return t.join("");
|
|
249
|
+
r = !r;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
function De(e, o = "defs") {
|
|
253
|
+
let n = "";
|
|
254
|
+
const i = e.indexOf("<" + o);
|
|
255
|
+
for (; i >= 0; ) {
|
|
256
|
+
const t = e.indexOf(">", i), s = e.indexOf("</" + o);
|
|
257
|
+
if (t === -1 || s === -1)
|
|
258
|
+
break;
|
|
259
|
+
const r = e.indexOf(">", s);
|
|
260
|
+
if (r === -1)
|
|
261
|
+
break;
|
|
262
|
+
n += e.slice(t + 1, s).trim(), e = e.slice(0, i).trim() + e.slice(r + 1);
|
|
263
|
+
}
|
|
264
|
+
return {
|
|
265
|
+
defs: n,
|
|
266
|
+
content: e
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
function Ne(e, o) {
|
|
270
|
+
return e ? "<defs>" + e + "</defs>" + o : o;
|
|
271
|
+
}
|
|
272
|
+
function Re(e, o, n) {
|
|
273
|
+
const i = De(e);
|
|
274
|
+
return Ne(i.defs, o + i.content + n);
|
|
275
|
+
}
|
|
276
|
+
const ze = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
277
|
+
function Qe(e, o) {
|
|
278
|
+
const n = {
|
|
279
|
+
...E,
|
|
280
|
+
...e
|
|
281
|
+
}, i = {
|
|
282
|
+
...he,
|
|
283
|
+
...o
|
|
284
|
+
}, t = {
|
|
285
|
+
left: n.left,
|
|
286
|
+
top: n.top,
|
|
287
|
+
width: n.width,
|
|
288
|
+
height: n.height
|
|
289
|
+
};
|
|
290
|
+
let s = n.body;
|
|
291
|
+
[n, i].forEach((m) => {
|
|
292
|
+
const a = [], S = m.hFlip, w = m.vFlip;
|
|
293
|
+
let v = m.rotate;
|
|
294
|
+
S ? w ? v += 2 : (a.push(
|
|
295
|
+
"translate(" + (t.width + t.left).toString() + " " + (0 - t.top).toString() + ")"
|
|
296
|
+
), a.push("scale(-1 1)"), t.top = t.left = 0) : w && (a.push(
|
|
297
|
+
"translate(" + (0 - t.left).toString() + " " + (t.height + t.top).toString() + ")"
|
|
298
|
+
), a.push("scale(1 -1)"), t.top = t.left = 0);
|
|
299
|
+
let x;
|
|
300
|
+
switch (v < 0 && (v -= Math.floor(v / 4) * 4), v = v % 4, v) {
|
|
301
|
+
case 1:
|
|
302
|
+
x = t.height / 2 + t.top, a.unshift(
|
|
303
|
+
"rotate(90 " + x.toString() + " " + x.toString() + ")"
|
|
304
|
+
);
|
|
305
|
+
break;
|
|
306
|
+
case 2:
|
|
307
|
+
a.unshift(
|
|
308
|
+
"rotate(180 " + (t.width / 2 + t.left).toString() + " " + (t.height / 2 + t.top).toString() + ")"
|
|
309
|
+
);
|
|
310
|
+
break;
|
|
311
|
+
case 3:
|
|
312
|
+
x = t.width / 2 + t.left, a.unshift(
|
|
313
|
+
"rotate(-90 " + x.toString() + " " + x.toString() + ")"
|
|
314
|
+
);
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
v % 2 === 1 && (t.left !== t.top && (x = t.left, t.left = t.top, t.top = x), t.width !== t.height && (x = t.width, t.width = t.height, t.height = x)), a.length && (s = Re(
|
|
318
|
+
s,
|
|
319
|
+
'<g transform="' + a.join(" ") + '">',
|
|
320
|
+
"</g>"
|
|
321
|
+
));
|
|
322
|
+
});
|
|
323
|
+
const r = i.width, l = i.height, u = t.width, c = t.height;
|
|
324
|
+
let f, d;
|
|
325
|
+
r === null ? (d = l === null ? "1em" : l === "auto" ? c : l, f = J(d, u / c)) : (f = r === "auto" ? u : r, d = l === null ? J(f, c / u) : l === "auto" ? c : l);
|
|
326
|
+
const p = {}, g = (m, a) => {
|
|
327
|
+
ze(a) || (p[m] = a.toString());
|
|
328
|
+
};
|
|
329
|
+
g("width", f), g("height", d);
|
|
330
|
+
const y = [t.left, t.top, u, c];
|
|
331
|
+
return p.viewBox = y.join(" "), {
|
|
332
|
+
attributes: p,
|
|
333
|
+
viewBox: y,
|
|
334
|
+
body: s
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
const Ue = /\sid="(\S+)"/g, qe = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
338
|
+
let He = 0;
|
|
339
|
+
function $e(e, o = qe) {
|
|
340
|
+
const n = [];
|
|
341
|
+
let i;
|
|
342
|
+
for (; i = Ue.exec(e); )
|
|
343
|
+
n.push(i[1]);
|
|
344
|
+
if (!n.length)
|
|
345
|
+
return e;
|
|
346
|
+
const t = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
347
|
+
return n.forEach((s) => {
|
|
348
|
+
const r = typeof o == "function" ? o(s) : o + (He++).toString(), l = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
349
|
+
e = e.replace(
|
|
350
|
+
// Allowed characters before id: [#;"]
|
|
351
|
+
// Allowed characters after id: [)"], .[a-z]
|
|
352
|
+
new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
|
|
353
|
+
"$1" + r + t + "$3"
|
|
354
|
+
);
|
|
355
|
+
}), e = e.replace(new RegExp(t, "g"), ""), e;
|
|
356
|
+
}
|
|
357
|
+
const q = /* @__PURE__ */ Object.create(null);
|
|
358
|
+
function Ve(e, o) {
|
|
359
|
+
q[e] = o;
|
|
360
|
+
}
|
|
361
|
+
function H(e) {
|
|
362
|
+
return q[e] || q[""];
|
|
363
|
+
}
|
|
364
|
+
function V(e) {
|
|
365
|
+
let o;
|
|
366
|
+
if (typeof e.resources == "string")
|
|
367
|
+
o = [e.resources];
|
|
368
|
+
else if (o = e.resources, !(o instanceof Array) || !o.length)
|
|
369
|
+
return null;
|
|
370
|
+
return {
|
|
371
|
+
// API hosts
|
|
372
|
+
resources: o,
|
|
373
|
+
// Root path
|
|
374
|
+
path: e.path || "/",
|
|
375
|
+
// URL length limit
|
|
376
|
+
maxURL: e.maxURL || 500,
|
|
377
|
+
// Timeout before next host is used.
|
|
378
|
+
rotate: e.rotate || 750,
|
|
379
|
+
// Timeout before failing query.
|
|
380
|
+
timeout: e.timeout || 5e3,
|
|
381
|
+
// Randomise default API end point.
|
|
382
|
+
random: e.random === !0,
|
|
383
|
+
// Start index
|
|
384
|
+
index: e.index || 0,
|
|
385
|
+
// Receive data after time out (used if time out kicks in first, then API module sends data anyway).
|
|
386
|
+
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
const G = /* @__PURE__ */ Object.create(null), C = [
|
|
390
|
+
"https://api.simplesvg.com",
|
|
391
|
+
"https://api.unisvg.com"
|
|
392
|
+
], L = [];
|
|
393
|
+
for (; C.length > 0; )
|
|
394
|
+
C.length === 1 || Math.random() > 0.5 ? L.push(C.shift()) : L.push(C.pop());
|
|
395
|
+
G[""] = V({
|
|
396
|
+
resources: ["https://api.iconify.design"].concat(L)
|
|
397
|
+
});
|
|
398
|
+
function Ge(e, o) {
|
|
399
|
+
const n = V(o);
|
|
400
|
+
return n === null ? !1 : (G[e] = n, !0);
|
|
401
|
+
}
|
|
402
|
+
function _(e) {
|
|
403
|
+
return G[e];
|
|
404
|
+
}
|
|
405
|
+
const _e = () => {
|
|
406
|
+
let e;
|
|
407
|
+
try {
|
|
408
|
+
if (e = fetch, typeof e == "function")
|
|
409
|
+
return e;
|
|
410
|
+
} catch {
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
let X = _e();
|
|
414
|
+
function Be(e, o) {
|
|
415
|
+
const n = _(e);
|
|
416
|
+
if (!n)
|
|
417
|
+
return 0;
|
|
418
|
+
let i;
|
|
419
|
+
if (!n.maxURL)
|
|
420
|
+
i = 0;
|
|
421
|
+
else {
|
|
422
|
+
let t = 0;
|
|
423
|
+
n.resources.forEach((r) => {
|
|
424
|
+
t = Math.max(t, r.length);
|
|
425
|
+
});
|
|
426
|
+
const s = o + ".json?icons=";
|
|
427
|
+
i = n.maxURL - t - n.path.length - s.length;
|
|
428
|
+
}
|
|
429
|
+
return i;
|
|
430
|
+
}
|
|
431
|
+
function Ke(e) {
|
|
432
|
+
return e === 404;
|
|
433
|
+
}
|
|
434
|
+
const We = (e, o, n) => {
|
|
435
|
+
const i = [], t = Be(e, o), s = "icons";
|
|
436
|
+
let r = {
|
|
437
|
+
type: s,
|
|
438
|
+
provider: e,
|
|
439
|
+
prefix: o,
|
|
440
|
+
icons: []
|
|
441
|
+
}, l = 0;
|
|
442
|
+
return n.forEach((u, c) => {
|
|
443
|
+
l += u.length + 1, l >= t && c > 0 && (i.push(r), r = {
|
|
444
|
+
type: s,
|
|
445
|
+
provider: e,
|
|
446
|
+
prefix: o,
|
|
447
|
+
icons: []
|
|
448
|
+
}, l = u.length), r.icons.push(u);
|
|
449
|
+
}), i.push(r), i;
|
|
450
|
+
};
|
|
451
|
+
function Je(e) {
|
|
452
|
+
if (typeof e == "string") {
|
|
453
|
+
const o = _(e);
|
|
454
|
+
if (o)
|
|
455
|
+
return o.path;
|
|
456
|
+
}
|
|
457
|
+
return "/";
|
|
458
|
+
}
|
|
459
|
+
const Xe = (e, o, n) => {
|
|
460
|
+
if (!X) {
|
|
461
|
+
n("abort", 424);
|
|
462
|
+
return;
|
|
463
|
+
}
|
|
464
|
+
let i = Je(o.provider);
|
|
465
|
+
switch (o.type) {
|
|
466
|
+
case "icons": {
|
|
467
|
+
const s = o.prefix, l = o.icons.join(","), u = new URLSearchParams({
|
|
468
|
+
icons: l
|
|
469
|
+
});
|
|
470
|
+
i += s + ".json?" + u.toString();
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
473
|
+
case "custom": {
|
|
474
|
+
const s = o.uri;
|
|
475
|
+
i += s.slice(0, 1) === "/" ? s.slice(1) : s;
|
|
476
|
+
break;
|
|
477
|
+
}
|
|
478
|
+
default:
|
|
479
|
+
n("abort", 400);
|
|
480
|
+
return;
|
|
481
|
+
}
|
|
482
|
+
let t = 503;
|
|
483
|
+
X(e + i).then((s) => {
|
|
484
|
+
const r = s.status;
|
|
485
|
+
if (r !== 200) {
|
|
486
|
+
setTimeout(() => {
|
|
487
|
+
n(Ke(r) ? "abort" : "next", r);
|
|
488
|
+
});
|
|
489
|
+
return;
|
|
490
|
+
}
|
|
491
|
+
return t = 501, s.json();
|
|
492
|
+
}).then((s) => {
|
|
493
|
+
if (typeof s != "object" || s === null) {
|
|
494
|
+
setTimeout(() => {
|
|
495
|
+
s === 404 ? n("abort", s) : n("next", t);
|
|
496
|
+
});
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
setTimeout(() => {
|
|
500
|
+
n("success", s);
|
|
501
|
+
});
|
|
502
|
+
}).catch(() => {
|
|
503
|
+
n("next", t);
|
|
504
|
+
});
|
|
505
|
+
}, Ye = {
|
|
506
|
+
prepare: We,
|
|
507
|
+
send: Xe
|
|
508
|
+
};
|
|
509
|
+
function Ze(e) {
|
|
510
|
+
const o = {
|
|
511
|
+
loaded: [],
|
|
512
|
+
missing: [],
|
|
513
|
+
pending: []
|
|
514
|
+
}, n = /* @__PURE__ */ Object.create(null);
|
|
515
|
+
e.sort((t, s) => t.provider !== s.provider ? t.provider.localeCompare(s.provider) : t.prefix !== s.prefix ? t.prefix.localeCompare(s.prefix) : t.name.localeCompare(s.name));
|
|
516
|
+
let i = {
|
|
517
|
+
provider: "",
|
|
518
|
+
prefix: "",
|
|
519
|
+
name: ""
|
|
520
|
+
};
|
|
521
|
+
return e.forEach((t) => {
|
|
522
|
+
if (i.name === t.name && i.prefix === t.prefix && i.provider === t.provider)
|
|
523
|
+
return;
|
|
524
|
+
i = t;
|
|
525
|
+
const s = t.provider, r = t.prefix, l = t.name, u = n[s] || (n[s] = /* @__PURE__ */ Object.create(null)), c = u[r] || (u[r] = k(s, r));
|
|
526
|
+
let f;
|
|
527
|
+
l in c.icons ? f = o.loaded : r === "" || c.missing.has(l) ? f = o.missing : f = o.pending;
|
|
528
|
+
const d = {
|
|
529
|
+
provider: s,
|
|
530
|
+
prefix: r,
|
|
531
|
+
name: l
|
|
532
|
+
};
|
|
533
|
+
f.push(d);
|
|
534
|
+
}), o;
|
|
535
|
+
}
|
|
536
|
+
function ge(e, o) {
|
|
537
|
+
e.forEach((n) => {
|
|
538
|
+
const i = n.loaderCallbacks;
|
|
539
|
+
i && (n.loaderCallbacks = i.filter((t) => t.id !== o));
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
function et(e) {
|
|
543
|
+
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
544
|
+
e.pendingCallbacksFlag = !1;
|
|
545
|
+
const o = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
546
|
+
if (!o.length)
|
|
547
|
+
return;
|
|
548
|
+
let n = !1;
|
|
549
|
+
const i = e.provider, t = e.prefix;
|
|
550
|
+
o.forEach((s) => {
|
|
551
|
+
const r = s.icons, l = r.pending.length;
|
|
552
|
+
r.pending = r.pending.filter((u) => {
|
|
553
|
+
if (u.prefix !== t)
|
|
554
|
+
return !0;
|
|
555
|
+
const c = u.name;
|
|
556
|
+
if (e.icons[c])
|
|
557
|
+
r.loaded.push({
|
|
558
|
+
provider: i,
|
|
559
|
+
prefix: t,
|
|
560
|
+
name: c
|
|
561
|
+
});
|
|
562
|
+
else if (e.missing.has(c))
|
|
563
|
+
r.missing.push({
|
|
564
|
+
provider: i,
|
|
565
|
+
prefix: t,
|
|
566
|
+
name: c
|
|
567
|
+
});
|
|
568
|
+
else
|
|
569
|
+
return n = !0, !0;
|
|
570
|
+
return !1;
|
|
571
|
+
}), r.pending.length !== l && (n || ge([e], s.id), s.callback(
|
|
572
|
+
r.loaded.slice(0),
|
|
573
|
+
r.missing.slice(0),
|
|
574
|
+
r.pending.slice(0),
|
|
575
|
+
s.abort
|
|
576
|
+
));
|
|
577
|
+
});
|
|
578
|
+
}));
|
|
579
|
+
}
|
|
580
|
+
let tt = 0;
|
|
581
|
+
function nt(e, o, n) {
|
|
582
|
+
const i = tt++, t = ge.bind(null, n, i);
|
|
583
|
+
if (!o.pending.length)
|
|
584
|
+
return t;
|
|
585
|
+
const s = {
|
|
586
|
+
id: i,
|
|
587
|
+
icons: o,
|
|
588
|
+
callback: e,
|
|
589
|
+
abort: t
|
|
590
|
+
};
|
|
591
|
+
return n.forEach((r) => {
|
|
592
|
+
(r.loaderCallbacks || (r.loaderCallbacks = [])).push(s);
|
|
593
|
+
}), t;
|
|
594
|
+
}
|
|
595
|
+
function ot(e, o = !0, n = !1) {
|
|
596
|
+
const i = [];
|
|
597
|
+
return e.forEach((t) => {
|
|
598
|
+
const s = typeof t == "string" ? F(t, o, n) : t;
|
|
599
|
+
s && i.push(s);
|
|
600
|
+
}), i;
|
|
601
|
+
}
|
|
602
|
+
var it = {
|
|
603
|
+
resources: [],
|
|
604
|
+
index: 0,
|
|
605
|
+
timeout: 2e3,
|
|
606
|
+
rotate: 750,
|
|
607
|
+
random: !1,
|
|
608
|
+
dataAfterTimeout: !1
|
|
609
|
+
};
|
|
610
|
+
function st(e, o, n, i) {
|
|
611
|
+
const t = e.resources.length, s = e.random ? Math.floor(Math.random() * t) : e.index;
|
|
612
|
+
let r;
|
|
613
|
+
if (e.random) {
|
|
614
|
+
let h = e.resources.slice(0);
|
|
615
|
+
for (r = []; h.length > 1; ) {
|
|
616
|
+
const b = Math.floor(Math.random() * h.length);
|
|
617
|
+
r.push(h[b]), h = h.slice(0, b).concat(h.slice(b + 1));
|
|
618
|
+
}
|
|
619
|
+
r = r.concat(h);
|
|
620
|
+
} else
|
|
621
|
+
r = e.resources.slice(s).concat(e.resources.slice(0, s));
|
|
622
|
+
const l = Date.now();
|
|
623
|
+
let u = "pending", c = 0, f, d = null, p = [], g = [];
|
|
624
|
+
typeof i == "function" && g.push(i);
|
|
625
|
+
function y() {
|
|
626
|
+
d && (clearTimeout(d), d = null);
|
|
627
|
+
}
|
|
628
|
+
function m() {
|
|
629
|
+
u === "pending" && (u = "aborted"), y(), p.forEach((h) => {
|
|
630
|
+
h.status === "pending" && (h.status = "aborted");
|
|
631
|
+
}), p = [];
|
|
632
|
+
}
|
|
633
|
+
function a(h, b) {
|
|
634
|
+
b && (g = []), typeof h == "function" && g.push(h);
|
|
635
|
+
}
|
|
636
|
+
function S() {
|
|
637
|
+
return {
|
|
638
|
+
startTime: l,
|
|
639
|
+
payload: o,
|
|
640
|
+
status: u,
|
|
641
|
+
queriesSent: c,
|
|
642
|
+
queriesPending: p.length,
|
|
643
|
+
subscribe: a,
|
|
644
|
+
abort: m
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
function w() {
|
|
648
|
+
u = "failed", g.forEach((h) => {
|
|
649
|
+
h(void 0, f);
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
function v() {
|
|
653
|
+
p.forEach((h) => {
|
|
654
|
+
h.status === "pending" && (h.status = "aborted");
|
|
655
|
+
}), p = [];
|
|
656
|
+
}
|
|
657
|
+
function x(h, b, T) {
|
|
658
|
+
const O = b !== "success";
|
|
659
|
+
switch (p = p.filter((I) => I !== h), u) {
|
|
660
|
+
case "pending":
|
|
661
|
+
break;
|
|
662
|
+
case "failed":
|
|
663
|
+
if (O || !e.dataAfterTimeout)
|
|
664
|
+
return;
|
|
665
|
+
break;
|
|
666
|
+
default:
|
|
667
|
+
return;
|
|
668
|
+
}
|
|
669
|
+
if (b === "abort") {
|
|
670
|
+
f = T, w();
|
|
671
|
+
return;
|
|
672
|
+
}
|
|
673
|
+
if (O) {
|
|
674
|
+
f = T, p.length || (r.length ? N() : w());
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
if (y(), v(), !e.random) {
|
|
678
|
+
const I = e.resources.indexOf(h.resource);
|
|
679
|
+
I !== -1 && I !== e.index && (e.index = I);
|
|
680
|
+
}
|
|
681
|
+
u = "completed", g.forEach((I) => {
|
|
682
|
+
I(T);
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
function N() {
|
|
686
|
+
if (u !== "pending")
|
|
687
|
+
return;
|
|
688
|
+
y();
|
|
689
|
+
const h = r.shift();
|
|
690
|
+
if (h === void 0) {
|
|
691
|
+
if (p.length) {
|
|
692
|
+
d = setTimeout(() => {
|
|
693
|
+
y(), u === "pending" && (v(), w());
|
|
694
|
+
}, e.timeout);
|
|
695
|
+
return;
|
|
696
|
+
}
|
|
697
|
+
w();
|
|
698
|
+
return;
|
|
699
|
+
}
|
|
700
|
+
const b = {
|
|
701
|
+
status: "pending",
|
|
702
|
+
resource: h,
|
|
703
|
+
callback: (T, O) => {
|
|
704
|
+
x(b, T, O);
|
|
705
|
+
}
|
|
706
|
+
};
|
|
707
|
+
p.push(b), c++, d = setTimeout(N, e.rotate), n(h, o, b.callback);
|
|
708
|
+
}
|
|
709
|
+
return setTimeout(N), S;
|
|
710
|
+
}
|
|
711
|
+
function me(e) {
|
|
712
|
+
const o = {
|
|
713
|
+
...it,
|
|
714
|
+
...e
|
|
715
|
+
};
|
|
716
|
+
let n = [];
|
|
717
|
+
function i() {
|
|
718
|
+
n = n.filter((l) => l().status === "pending");
|
|
719
|
+
}
|
|
720
|
+
function t(l, u, c) {
|
|
721
|
+
const f = st(
|
|
722
|
+
o,
|
|
723
|
+
l,
|
|
724
|
+
u,
|
|
725
|
+
(d, p) => {
|
|
726
|
+
i(), c && c(d, p);
|
|
727
|
+
}
|
|
728
|
+
);
|
|
729
|
+
return n.push(f), f;
|
|
730
|
+
}
|
|
731
|
+
function s(l) {
|
|
732
|
+
return n.find((u) => l(u)) || null;
|
|
733
|
+
}
|
|
734
|
+
return {
|
|
735
|
+
query: t,
|
|
736
|
+
find: s,
|
|
737
|
+
setIndex: (l) => {
|
|
738
|
+
o.index = l;
|
|
739
|
+
},
|
|
740
|
+
getIndex: () => o.index,
|
|
741
|
+
cleanup: i
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
function Y() {
|
|
745
|
+
}
|
|
746
|
+
const Q = /* @__PURE__ */ Object.create(null);
|
|
747
|
+
function rt(e) {
|
|
748
|
+
if (!Q[e]) {
|
|
749
|
+
const o = _(e);
|
|
750
|
+
if (!o)
|
|
751
|
+
return;
|
|
752
|
+
const n = me(o), i = {
|
|
753
|
+
config: o,
|
|
754
|
+
redundancy: n
|
|
755
|
+
};
|
|
756
|
+
Q[e] = i;
|
|
757
|
+
}
|
|
758
|
+
return Q[e];
|
|
759
|
+
}
|
|
760
|
+
function ct(e, o, n) {
|
|
761
|
+
let i, t;
|
|
762
|
+
if (typeof e == "string") {
|
|
763
|
+
const s = H(e);
|
|
764
|
+
if (!s)
|
|
765
|
+
return n(void 0, 424), Y;
|
|
766
|
+
t = s.send;
|
|
767
|
+
const r = rt(e);
|
|
768
|
+
r && (i = r.redundancy);
|
|
769
|
+
} else {
|
|
770
|
+
const s = V(e);
|
|
771
|
+
if (s) {
|
|
772
|
+
i = me(s);
|
|
773
|
+
const r = e.resources ? e.resources[0] : "", l = H(r);
|
|
774
|
+
l && (t = l.send);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
return !i || !t ? (n(void 0, 424), Y) : i.query(o, t, n)().abort;
|
|
778
|
+
}
|
|
779
|
+
function Z() {
|
|
780
|
+
}
|
|
781
|
+
function lt(e) {
|
|
782
|
+
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
783
|
+
e.iconsLoaderFlag = !1, et(e);
|
|
784
|
+
}));
|
|
785
|
+
}
|
|
786
|
+
function ut(e) {
|
|
787
|
+
const o = [], n = [];
|
|
788
|
+
return e.forEach((i) => {
|
|
789
|
+
(i.match(re) ? o : n).push(i);
|
|
790
|
+
}), {
|
|
791
|
+
valid: o,
|
|
792
|
+
invalid: n
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
function P(e, o, n) {
|
|
796
|
+
function i() {
|
|
797
|
+
const t = e.pendingIcons;
|
|
798
|
+
o.forEach((s) => {
|
|
799
|
+
t && t.delete(s), e.icons[s] || e.missing.add(s);
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
if (n && typeof n == "object")
|
|
803
|
+
try {
|
|
804
|
+
if (!fe(e, n).length) {
|
|
805
|
+
i();
|
|
806
|
+
return;
|
|
807
|
+
}
|
|
808
|
+
} catch (t) {
|
|
809
|
+
console.error(t);
|
|
810
|
+
}
|
|
811
|
+
i(), lt(e);
|
|
812
|
+
}
|
|
813
|
+
function ee(e, o) {
|
|
814
|
+
e instanceof Promise ? e.then((n) => {
|
|
815
|
+
o(n);
|
|
816
|
+
}).catch(() => {
|
|
817
|
+
o(null);
|
|
818
|
+
}) : o(e);
|
|
819
|
+
}
|
|
820
|
+
function ft(e, o) {
|
|
821
|
+
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(o).sort() : e.iconsToLoad = o, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
822
|
+
e.iconsQueueFlag = !1;
|
|
823
|
+
const { provider: n, prefix: i } = e, t = e.iconsToLoad;
|
|
824
|
+
if (delete e.iconsToLoad, !t || !t.length)
|
|
825
|
+
return;
|
|
826
|
+
const s = e.loadIcon;
|
|
827
|
+
if (e.loadIcons && (t.length > 1 || !s)) {
|
|
828
|
+
ee(
|
|
829
|
+
e.loadIcons(t, i, n),
|
|
830
|
+
(f) => {
|
|
831
|
+
P(e, t, f);
|
|
832
|
+
}
|
|
833
|
+
);
|
|
834
|
+
return;
|
|
835
|
+
}
|
|
836
|
+
if (s) {
|
|
837
|
+
t.forEach((f) => {
|
|
838
|
+
const d = s(f, i, n);
|
|
839
|
+
ee(d, (p) => {
|
|
840
|
+
const g = p ? {
|
|
841
|
+
prefix: i,
|
|
842
|
+
icons: {
|
|
843
|
+
[f]: p
|
|
844
|
+
}
|
|
845
|
+
} : null;
|
|
846
|
+
P(e, [f], g);
|
|
847
|
+
});
|
|
848
|
+
});
|
|
849
|
+
return;
|
|
850
|
+
}
|
|
851
|
+
const { valid: r, invalid: l } = ut(t);
|
|
852
|
+
if (l.length && P(e, l, null), !r.length)
|
|
853
|
+
return;
|
|
854
|
+
const u = i.match(re) ? H(n) : null;
|
|
855
|
+
if (!u) {
|
|
856
|
+
P(e, r, null);
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
859
|
+
u.prepare(n, i, r).forEach((f) => {
|
|
860
|
+
ct(n, f, (d) => {
|
|
861
|
+
P(e, f.icons, d);
|
|
862
|
+
});
|
|
863
|
+
});
|
|
864
|
+
}));
|
|
865
|
+
}
|
|
866
|
+
const ye = (e, o) => {
|
|
867
|
+
const n = ot(e, !0, ae()), i = Ze(n);
|
|
868
|
+
if (!i.pending.length) {
|
|
869
|
+
let u = !0;
|
|
870
|
+
return o && setTimeout(() => {
|
|
871
|
+
u && o(
|
|
872
|
+
i.loaded,
|
|
873
|
+
i.missing,
|
|
874
|
+
i.pending,
|
|
875
|
+
Z
|
|
876
|
+
);
|
|
877
|
+
}), () => {
|
|
878
|
+
u = !1;
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
const t = /* @__PURE__ */ Object.create(null), s = [];
|
|
882
|
+
let r, l;
|
|
883
|
+
return i.pending.forEach((u) => {
|
|
884
|
+
const { provider: c, prefix: f } = u;
|
|
885
|
+
if (f === l && c === r)
|
|
886
|
+
return;
|
|
887
|
+
r = c, l = f, s.push(k(c, f));
|
|
888
|
+
const d = t[c] || (t[c] = /* @__PURE__ */ Object.create(null));
|
|
889
|
+
d[f] || (d[f] = []);
|
|
890
|
+
}), i.pending.forEach((u) => {
|
|
891
|
+
const { provider: c, prefix: f, name: d } = u, p = k(c, f), g = p.pendingIcons || (p.pendingIcons = /* @__PURE__ */ new Set());
|
|
892
|
+
g.has(d) || (g.add(d), t[c][f].push(d));
|
|
893
|
+
}), s.forEach((u) => {
|
|
894
|
+
const c = t[u.provider][u.prefix];
|
|
895
|
+
c.length && ft(u, c);
|
|
896
|
+
}), o ? nt(o, i, s) : Z;
|
|
897
|
+
}, St = (e) => new Promise((o, n) => {
|
|
898
|
+
const i = typeof e == "string" ? F(e, !0) : e;
|
|
899
|
+
if (!i) {
|
|
900
|
+
n(e);
|
|
901
|
+
return;
|
|
902
|
+
}
|
|
903
|
+
ye([i || e], (t) => {
|
|
904
|
+
if (t.length && i) {
|
|
905
|
+
const s = de(i);
|
|
906
|
+
if (s) {
|
|
907
|
+
o({
|
|
908
|
+
...E,
|
|
909
|
+
...s
|
|
910
|
+
});
|
|
911
|
+
return;
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
n(e);
|
|
915
|
+
});
|
|
916
|
+
});
|
|
917
|
+
function at(e, o) {
|
|
918
|
+
const n = {
|
|
919
|
+
...e
|
|
920
|
+
};
|
|
921
|
+
for (const i in o) {
|
|
922
|
+
const t = o[i], s = typeof t;
|
|
923
|
+
i in pe ? (t === null || t && (s === "string" || s === "number")) && (n[i] = t) : s === typeof n[i] && (n[i] = i === "rotate" ? t % 4 : t);
|
|
924
|
+
}
|
|
925
|
+
return n;
|
|
926
|
+
}
|
|
927
|
+
const dt = /[\s,]+/;
|
|
928
|
+
function pt(e, o) {
|
|
929
|
+
o.split(dt).forEach((n) => {
|
|
930
|
+
switch (n.trim()) {
|
|
931
|
+
case "horizontal":
|
|
932
|
+
e.hFlip = !0;
|
|
933
|
+
break;
|
|
934
|
+
case "vertical":
|
|
935
|
+
e.vFlip = !0;
|
|
936
|
+
break;
|
|
937
|
+
}
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
function ht(e, o = 0) {
|
|
941
|
+
const n = e.replace(/^-?[0-9.]*/, "");
|
|
942
|
+
function i(t) {
|
|
943
|
+
for (; t < 0; )
|
|
944
|
+
t += 4;
|
|
945
|
+
return t % 4;
|
|
946
|
+
}
|
|
947
|
+
if (n === "") {
|
|
948
|
+
const t = parseInt(e);
|
|
949
|
+
return isNaN(t) ? 0 : i(t);
|
|
950
|
+
} else if (n !== e) {
|
|
951
|
+
let t = 0;
|
|
952
|
+
switch (n) {
|
|
953
|
+
case "%":
|
|
954
|
+
t = 25;
|
|
955
|
+
break;
|
|
956
|
+
case "deg":
|
|
957
|
+
t = 90;
|
|
958
|
+
}
|
|
959
|
+
if (t) {
|
|
960
|
+
let s = parseFloat(e.slice(0, e.length - n.length));
|
|
961
|
+
return isNaN(s) ? 0 : (s = s / t, s % 1 === 0 ? i(s) : 0);
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
return o;
|
|
965
|
+
}
|
|
966
|
+
function gt(e, o) {
|
|
967
|
+
let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
968
|
+
for (const i in o)
|
|
969
|
+
n += " " + i + '="' + o[i] + '"';
|
|
970
|
+
return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
|
|
971
|
+
}
|
|
972
|
+
function mt(e) {
|
|
973
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
974
|
+
}
|
|
975
|
+
function yt(e) {
|
|
976
|
+
return "data:image/svg+xml," + mt(e);
|
|
977
|
+
}
|
|
978
|
+
function xt(e) {
|
|
979
|
+
return 'url("' + yt(e) + '")';
|
|
980
|
+
}
|
|
981
|
+
const te = {
|
|
982
|
+
...he,
|
|
983
|
+
inline: !1
|
|
984
|
+
}, bt = {
|
|
985
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
986
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
987
|
+
"aria-hidden": !0,
|
|
988
|
+
role: "img"
|
|
989
|
+
}, vt = {
|
|
990
|
+
display: "inline-block"
|
|
991
|
+
}, $ = {
|
|
992
|
+
backgroundColor: "currentColor"
|
|
993
|
+
}, xe = {
|
|
994
|
+
backgroundColor: "transparent"
|
|
995
|
+
}, ne = {
|
|
996
|
+
Image: "var(--svg)",
|
|
997
|
+
Repeat: "no-repeat",
|
|
998
|
+
Size: "100% 100%"
|
|
999
|
+
}, oe = {
|
|
1000
|
+
webkitMask: $,
|
|
1001
|
+
mask: $,
|
|
1002
|
+
background: xe
|
|
1003
|
+
};
|
|
1004
|
+
for (const e in oe) {
|
|
1005
|
+
const o = oe[e];
|
|
1006
|
+
for (const n in ne)
|
|
1007
|
+
o[e + n] = ne[n];
|
|
1008
|
+
}
|
|
1009
|
+
const M = {};
|
|
1010
|
+
["horizontal", "vertical"].forEach((e) => {
|
|
1011
|
+
const o = e.slice(0, 1) + "Flip";
|
|
1012
|
+
M[e + "-flip"] = o, M[e.slice(0, 1) + "-flip"] = o, M[e + "Flip"] = o;
|
|
1013
|
+
});
|
|
1014
|
+
function ie(e) {
|
|
1015
|
+
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1016
|
+
}
|
|
1017
|
+
const se = (e, o) => {
|
|
1018
|
+
const n = at(te, o), i = { ...bt }, t = o.mode || "svg", s = {}, r = o.style, l = typeof r == "object" && !(r instanceof Array) ? r : {};
|
|
1019
|
+
for (let m in o) {
|
|
1020
|
+
const a = o[m];
|
|
1021
|
+
if (a !== void 0)
|
|
1022
|
+
switch (m) {
|
|
1023
|
+
// Properties to ignore
|
|
1024
|
+
case "icon":
|
|
1025
|
+
case "style":
|
|
1026
|
+
case "onLoad":
|
|
1027
|
+
case "mode":
|
|
1028
|
+
case "ssr":
|
|
1029
|
+
break;
|
|
1030
|
+
// Boolean attributes
|
|
1031
|
+
case "inline":
|
|
1032
|
+
case "hFlip":
|
|
1033
|
+
case "vFlip":
|
|
1034
|
+
n[m] = a === !0 || a === "true" || a === 1;
|
|
1035
|
+
break;
|
|
1036
|
+
// Flip as string: 'horizontal,vertical'
|
|
1037
|
+
case "flip":
|
|
1038
|
+
typeof a == "string" && pt(n, a);
|
|
1039
|
+
break;
|
|
1040
|
+
// Color: override style
|
|
1041
|
+
case "color":
|
|
1042
|
+
s.color = a;
|
|
1043
|
+
break;
|
|
1044
|
+
// Rotation as string
|
|
1045
|
+
case "rotate":
|
|
1046
|
+
typeof a == "string" ? n[m] = ht(a) : typeof a == "number" && (n[m] = a);
|
|
1047
|
+
break;
|
|
1048
|
+
// Remove aria-hidden
|
|
1049
|
+
case "ariaHidden":
|
|
1050
|
+
case "aria-hidden":
|
|
1051
|
+
a !== !0 && a !== "true" && delete i["aria-hidden"];
|
|
1052
|
+
break;
|
|
1053
|
+
default: {
|
|
1054
|
+
const S = M[m];
|
|
1055
|
+
S ? (a === !0 || a === "true" || a === 1) && (n[S] = !0) : te[m] === void 0 && (i[m] = a);
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
const u = Qe(e, n), c = u.attributes;
|
|
1060
|
+
if (n.inline && (s.verticalAlign = "-0.125em"), t === "svg") {
|
|
1061
|
+
i.style = {
|
|
1062
|
+
...s,
|
|
1063
|
+
...l
|
|
1064
|
+
}, Object.assign(i, c);
|
|
1065
|
+
let m = 0, a = o.id;
|
|
1066
|
+
return typeof a == "string" && (a = a.replace(/-/g, "_")), i.innerHTML = $e(u.body, a ? () => a + "ID" + m++ : "iconifyVue"), B("svg", i);
|
|
1067
|
+
}
|
|
1068
|
+
const { body: f, width: d, height: p } = e, g = t === "mask" || (t === "bg" ? !1 : f.indexOf("currentColor") !== -1), y = gt(f, {
|
|
1069
|
+
...c,
|
|
1070
|
+
width: d + "",
|
|
1071
|
+
height: p + ""
|
|
1072
|
+
});
|
|
1073
|
+
return i.style = {
|
|
1074
|
+
...s,
|
|
1075
|
+
"--svg": xt(y),
|
|
1076
|
+
width: ie(c.width),
|
|
1077
|
+
height: ie(c.height),
|
|
1078
|
+
...vt,
|
|
1079
|
+
...g ? $ : xe,
|
|
1080
|
+
...l
|
|
1081
|
+
}, B("span", i);
|
|
1082
|
+
};
|
|
1083
|
+
ae(!0);
|
|
1084
|
+
Ve("", Ye);
|
|
1085
|
+
if (typeof document < "u" && typeof window < "u") {
|
|
1086
|
+
const e = window;
|
|
1087
|
+
if (e.IconifyPreload !== void 0) {
|
|
1088
|
+
const o = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
1089
|
+
typeof o == "object" && o !== null && (o instanceof Array ? o : [o]).forEach((i) => {
|
|
1090
|
+
try {
|
|
1091
|
+
// Check if item is an object and not null/array
|
|
1092
|
+
(typeof i != "object" || i === null || i instanceof Array || // Check for 'icons' and 'prefix'
|
|
1093
|
+
typeof i.icons != "object" || typeof i.prefix != "string" || // Add icon set
|
|
1094
|
+
!Ae(i)) && console.error(n);
|
|
1095
|
+
} catch {
|
|
1096
|
+
console.error(n);
|
|
1097
|
+
}
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
if (e.IconifyProviders !== void 0) {
|
|
1101
|
+
const o = e.IconifyProviders;
|
|
1102
|
+
if (typeof o == "object" && o !== null)
|
|
1103
|
+
for (let n in o) {
|
|
1104
|
+
const i = "IconifyProviders[" + n + "] is invalid.";
|
|
1105
|
+
try {
|
|
1106
|
+
const t = o[n];
|
|
1107
|
+
if (typeof t != "object" || !t || t.resources === void 0)
|
|
1108
|
+
continue;
|
|
1109
|
+
Ge(n, t) || console.error(i);
|
|
1110
|
+
} catch {
|
|
1111
|
+
console.error(i);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
const wt = {
|
|
1117
|
+
...E,
|
|
1118
|
+
body: ""
|
|
1119
|
+
}, kt = be((e, { emit: o }) => {
|
|
1120
|
+
const n = R(null);
|
|
1121
|
+
function i() {
|
|
1122
|
+
n.value && (n.value.abort?.(), n.value = null);
|
|
1123
|
+
}
|
|
1124
|
+
const t = R(!!e.ssr), s = R(""), r = ve(null);
|
|
1125
|
+
function l() {
|
|
1126
|
+
const c = e.icon;
|
|
1127
|
+
if (typeof c == "object" && c !== null && typeof c.body == "string")
|
|
1128
|
+
return s.value = "", {
|
|
1129
|
+
data: c
|
|
1130
|
+
};
|
|
1131
|
+
let f;
|
|
1132
|
+
if (typeof c != "string" || (f = F(c, !1, !0)) === null)
|
|
1133
|
+
return null;
|
|
1134
|
+
let d = de(f);
|
|
1135
|
+
if (!d) {
|
|
1136
|
+
const y = n.value;
|
|
1137
|
+
return (!y || y.name !== c) && (d === null ? n.value = {
|
|
1138
|
+
name: c
|
|
1139
|
+
} : n.value = {
|
|
1140
|
+
name: c,
|
|
1141
|
+
abort: ye([f], u)
|
|
1142
|
+
}), null;
|
|
1143
|
+
}
|
|
1144
|
+
i(), s.value !== c && (s.value = c, ke(() => {
|
|
1145
|
+
o("load", c);
|
|
1146
|
+
}));
|
|
1147
|
+
const p = e.customise;
|
|
1148
|
+
if (p) {
|
|
1149
|
+
d = Object.assign({}, d);
|
|
1150
|
+
const y = p(d.body, f.name, f.prefix, f.provider);
|
|
1151
|
+
typeof y == "string" && (d.body = y);
|
|
1152
|
+
}
|
|
1153
|
+
const g = ["iconify"];
|
|
1154
|
+
return f.prefix !== "" && g.push("iconify--" + f.prefix), f.provider !== "" && g.push("iconify--" + f.provider), { data: d, classes: g };
|
|
1155
|
+
}
|
|
1156
|
+
function u() {
|
|
1157
|
+
const c = l();
|
|
1158
|
+
c ? c.data !== r.value?.data && (r.value = c) : r.value = null;
|
|
1159
|
+
}
|
|
1160
|
+
return t.value ? u() : we(() => {
|
|
1161
|
+
t.value = !0, u();
|
|
1162
|
+
}), Ie(() => e.icon, u), Se(i), () => {
|
|
1163
|
+
const c = r.value;
|
|
1164
|
+
if (!c)
|
|
1165
|
+
return se(wt, e);
|
|
1166
|
+
let f = e;
|
|
1167
|
+
return c.classes && (f = {
|
|
1168
|
+
...e,
|
|
1169
|
+
class: c.classes.join(" ")
|
|
1170
|
+
}), se({
|
|
1171
|
+
...E,
|
|
1172
|
+
...c.data
|
|
1173
|
+
}, f);
|
|
1174
|
+
};
|
|
1175
|
+
}, {
|
|
1176
|
+
props: [
|
|
1177
|
+
// Icon and render mode
|
|
1178
|
+
"icon",
|
|
1179
|
+
"mode",
|
|
1180
|
+
"ssr",
|
|
1181
|
+
// Layout and style
|
|
1182
|
+
"width",
|
|
1183
|
+
"height",
|
|
1184
|
+
"style",
|
|
1185
|
+
"color",
|
|
1186
|
+
"inline",
|
|
1187
|
+
// Transformations
|
|
1188
|
+
"rotate",
|
|
1189
|
+
"hFlip",
|
|
1190
|
+
"horizontalFlip",
|
|
1191
|
+
"vFlip",
|
|
1192
|
+
"verticalFlip",
|
|
1193
|
+
"flip",
|
|
1194
|
+
// Misc
|
|
1195
|
+
"id",
|
|
1196
|
+
"ariaHidden",
|
|
1197
|
+
"customise",
|
|
1198
|
+
"title"
|
|
1199
|
+
],
|
|
1200
|
+
emits: ["load"]
|
|
1201
|
+
});
|
|
1202
|
+
export {
|
|
1203
|
+
kt as I,
|
|
1204
|
+
St as l
|
|
1205
|
+
};
|