uomtiles 0.1.0 → 0.1.2
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{BQlj8Xoe.js → 0hm88Oke.js} +1 -1
- package/.output/public/_nuxt/BNfSclJ4.js +1 -0
- package/.output/public/_nuxt/BYzlinOr2.js +1 -0
- package/.output/public/_nuxt/{BiWblTbb2.js → Bd1EvHmY.js} +1 -1
- package/.output/public/_nuxt/Be4dNlar.js +1 -0
- package/.output/public/_nuxt/{C4qlzA4o.js → C7fHMLd7.js} +1 -1
- package/.output/public/_nuxt/CQ8inUdm.js +1 -0
- package/.output/public/_nuxt/{C_0VY3Cv2.js → CU486JdV2.js} +2 -2
- package/.output/public/_nuxt/Cc_JfSB1.js +1 -0
- package/.output/public/_nuxt/CgcnoKpi.js +1 -0
- package/.output/public/_nuxt/{CgdzV712.js → CovBj6WN.js} +1 -1
- package/.output/public/_nuxt/CyZDc0eO2.js +1 -0
- package/.output/public/_nuxt/{DtFVCXI9.js → CzFefJH0.js} +1 -1
- package/.output/public/_nuxt/{DL1MZZLI.js → D-t0hXHB.js} +1 -1
- package/.output/public/_nuxt/D3Pl7yw22.js +1 -0
- package/.output/public/_nuxt/D4gbGuiW.js +1 -0
- package/.output/public/_nuxt/{DkcySee1.js → DDp9lK3g.js} +1 -1
- package/.output/public/_nuxt/DIIXHC50.js +1 -0
- package/.output/public/_nuxt/DWFUvzz0.js +1 -0
- package/.output/public/_nuxt/D_VoD6-f.js +1 -0
- package/.output/public/_nuxt/{q7DkoVkj.js → DaQqwE3R.js} +6 -6
- package/.output/public/_nuxt/DfXX-x_z.js +1 -0
- package/.output/public/_nuxt/Dgyf2aNY.js +1 -0
- package/.output/public/_nuxt/DpIPeY5m.js +1 -0
- package/.output/public/_nuxt/GM5myUL22.js +1 -0
- package/.output/public/_nuxt/IC4wc76W.js +1 -0
- package/.output/public/_nuxt/IfL46N3Z.js +1 -0
- package/.output/public/_nuxt/{Oxy7pKSk.js → KEU2l6zJ.js} +1 -1
- package/.output/public/_nuxt/{DC3bhq63.js → Q79ec-Ro.js} +1 -1
- package/.output/public/_nuxt/SEETjfdJ.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/2c4adba2-91b5-44e4-91d3-50a61695207b.json +1 -0
- package/.output/public/_nuxt/entry.CZ_dkjcs.css +1 -0
- package/.output/public/_nuxt/{ByRlKR9F.js → nGp0t_eD.js} +1 -1
- package/.output/server/chunks/_/config.mjs +58 -6
- package/.output/server/chunks/_/config.mjs.map +1 -1
- package/.output/server/chunks/_/export.mjs +7 -0
- package/.output/server/chunks/_/export.mjs.map +1 -0
- package/.output/server/chunks/_/file-workspace.mjs +153 -58
- package/.output/server/chunks/_/file-workspace.mjs.map +1 -1
- package/.output/server/chunks/_/map-service.mjs +7 -7
- package/.output/server/chunks/_/map-service.mjs.map +1 -1
- package/.output/server/chunks/_/pixel-diff.mjs +1 -1
- package/.output/server/chunks/_/uom-auth.mjs +7 -7
- package/.output/server/chunks/_/uom-auth.mjs.map +1 -1
- package/.output/server/chunks/_/uom-map.mjs +6 -6
- package/.output/server/chunks/_/uom-map.mjs.map +1 -1
- package/.output/server/chunks/build/Alert-DHVVSgdD.mjs +1074 -0
- package/.output/server/chunks/build/Alert-DHVVSgdD.mjs.map +1 -0
- package/.output/server/chunks/build/{Alert-0ngTJXxP.mjs → CompletedTaskSelect-CKTpyHS3.mjs} +31 -725
- package/.output/server/chunks/build/CompletedTaskSelect-CKTpyHS3.mjs.map +1 -0
- package/.output/server/chunks/build/{PopperArrow-Bqfdf2Et.mjs → DashboardSidebarToggle-CUI9NSow.mjs} +567 -5
- package/.output/server/chunks/build/DashboardSidebarToggle-CUI9NSow.mjs.map +1 -0
- package/.output/server/chunks/build/{Empty-CkW3mADt.mjs → Empty-BGIn09cL.mjs} +2 -2
- package/.output/server/chunks/build/{Empty-CkW3mADt.mjs.map → Empty-BGIn09cL.mjs.map} +1 -1
- package/.output/server/chunks/build/{FocusScope-Cf0lg0zt.mjs → FocusScope-DNZVMnza.mjs} +2 -2
- package/.output/server/chunks/build/{FocusScope-Cf0lg0zt.mjs.map → FocusScope-DNZVMnza.mjs.map} +1 -1
- package/.output/server/chunks/build/{FormField-CEUZHcv7.mjs → FormField-DnJWfrKE.mjs} +2 -2
- package/.output/server/chunks/build/{FormField-CEUZHcv7.mjs.map → FormField-DnJWfrKE.mjs.map} +1 -1
- package/.output/server/chunks/build/{Input-BeNavYXb.mjs → Input-AdlINKtJ.mjs} +1 -1
- package/.output/server/chunks/build/{Input-BeNavYXb.mjs.map → Input-AdlINKtJ.mjs.map} +1 -1
- package/.output/server/chunks/build/{MapBaseLayerTabs-4445J6yh.mjs → MapBaseLayerTabs-CRl5Zwlr.mjs} +15 -9
- package/.output/server/chunks/build/{MapBaseLayerTabs-4445J6yh.mjs.map → MapBaseLayerTabs-CRl5Zwlr.mjs.map} +1 -1
- package/.output/server/chunks/build/{Modal-DNZtVxca.mjs → Modal-CozaqIp1.mjs} +13 -5
- package/.output/server/chunks/build/{Modal-DNZtVxca.mjs.map → Modal-CozaqIp1.mjs.map} +1 -1
- package/.output/server/chunks/build/{OnlineMap-CKwiuqUY.mjs → OnlineMap-cFSicmkV.mjs} +1 -1
- package/.output/server/chunks/build/{OnlineMap-CKwiuqUY.mjs.map → OnlineMap-cFSicmkV.mjs.map} +1 -1
- package/.output/server/chunks/build/{Pagination-CDHx4HTZ.mjs → Pagination-GvNCxmOW.mjs} +1 -1
- package/.output/server/chunks/build/{Pagination-CDHx4HTZ.mjs.map → Pagination-GvNCxmOW.mjs.map} +1 -1
- package/.output/server/chunks/build/{Slider-D-n8Y0CX.mjs → Slider-zQx1c7hB.mjs} +10 -25
- package/.output/server/chunks/build/Slider-zQx1c7hB.mjs.map +1 -0
- package/.output/server/chunks/build/{Tooltip-CkpSktvJ.mjs → Tooltip-DNUdH4oF.mjs} +3 -4
- package/.output/server/chunks/build/{Tooltip-CkpSktvJ.mjs.map → Tooltip-DNUdH4oF.mjs.map} +1 -1
- package/.output/server/chunks/build/{advanced-D1onodoF.mjs → advanced-5ZGMUBqC.mjs} +17 -18
- package/.output/server/chunks/build/advanced-5ZGMUBqC.mjs.map +1 -0
- package/.output/server/chunks/build/clamp-CdZXprXk.mjs +65 -0
- package/.output/server/chunks/build/clamp-CdZXprXk.mjs.map +1 -0
- package/.output/server/chunks/build/{compare-DmSAW8oA.mjs → compare-CtgF4Anj.mjs} +17 -17
- package/.output/server/chunks/build/{compare-DmSAW8oA.mjs.map → compare-CtgF4Anj.mjs.map} +1 -1
- package/.output/server/chunks/build/{dashboard-BJxrZ19n.mjs → dashboard-GneN-WPG.mjs} +25 -10
- package/.output/server/chunks/build/{dashboard-BJxrZ19n.mjs.map → dashboard-GneN-WPG.mjs.map} +1 -1
- package/.output/server/chunks/build/{details-CBMqXYyo.mjs → details-CgufnL1d.mjs} +4 -4
- package/.output/server/chunks/build/{details-CBMqXYyo.mjs.map → details-CgufnL1d.mjs.map} +1 -1
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +1 -1
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +1 -1
- package/.output/server/chunks/build/{interval-BxUMpo78.mjs → interval-9B2MrM2e.mjs} +2 -2
- package/.output/server/chunks/build/{interval-BxUMpo78.mjs.map → interval-9B2MrM2e.mjs.map} +1 -1
- package/.output/server/chunks/build/{login-lbtjN0MV.mjs → login-Cf5EiCE4.mjs} +8 -8
- package/.output/server/chunks/build/{login-lbtjN0MV.mjs.map → login-Cf5EiCE4.mjs.map} +1 -1
- package/.output/server/chunks/build/{pages-Ba0Eixbd.mjs → pages-0c5sp_lv.mjs} +8 -9
- package/.output/server/chunks/build/pages-0c5sp_lv.mjs.map +1 -0
- package/.output/server/chunks/build/{services-DuJwjAB8.mjs → services-BB49kSpd.mjs} +16 -16
- package/.output/server/chunks/build/{services-DuJwjAB8.mjs.map → services-BB49kSpd.mjs.map} +1 -1
- package/.output/server/chunks/build/{tasks-D_Q5EDnn.mjs → tasks-Aa8PwjVL.mjs} +5 -5
- package/.output/server/chunks/build/{tasks-D_Q5EDnn.mjs.map → tasks-Aa8PwjVL.mjs.map} +1 -1
- package/.output/server/chunks/build/tasks-BRcMLuRW.mjs +6121 -0
- package/.output/server/chunks/build/tasks-BRcMLuRW.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +254 -257
- package/.output/server/chunks/routes/api/auth/login.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +2 -2
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/status.get.mjs +24 -0
- package/.output/server/chunks/routes/api/map/base/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/live/status.get.mjs +1 -1
- package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +3 -3
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +3 -3
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/config.post.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/file.post.mjs +4 -3
- package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/source.post.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/status.get.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +4 -3
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +11 -4
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +39 -0
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +3 -2
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +4 -3
- package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/routes/services/wms.get.mjs +3 -2
- package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -1
- package/.output/server/chunks/routes/services/wmts.get.mjs +3 -2
- package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -1
- package/.output/server/chunks/virtual/entry.mjs +149 -149
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/chunks/virtual/styles.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README.md +7 -1
- package/dist/package.json +68 -0
- package/dist/shared/export.js +4 -0
- package/dist/shared/types/export.js +1 -0
- package/dist/src/cli.js +20 -3
- package/dist/src/config.js +2 -0
- package/dist/src/core/grid-renderer.js +29 -15
- package/dist/src/core/png.js +59 -6
- package/dist/src/core/shell.js +37 -0
- package/dist/src/core/uomtiles.js +98 -14
- package/package.json +1 -1
- package/.output/public/_nuxt/1d1PDhA4.js +0 -1
- package/.output/public/_nuxt/981KwFWf.js +0 -1
- package/.output/public/_nuxt/B30dSvM4.js +0 -1
- package/.output/public/_nuxt/BRkljK8J.js +0 -1
- package/.output/public/_nuxt/B_MqTg2k2.js +0 -1
- package/.output/public/_nuxt/BrPwntMr.js +0 -1
- package/.output/public/_nuxt/BskybydR.js +0 -1
- package/.output/public/_nuxt/C7HxHbxA.js +0 -1
- package/.output/public/_nuxt/CPuhwLY1.js +0 -1
- package/.output/public/_nuxt/Ce26t8_Y.js +0 -1
- package/.output/public/_nuxt/CfW544W5.js +0 -1
- package/.output/public/_nuxt/D1wVNWS0.js +0 -1
- package/.output/public/_nuxt/Dz7VMlHR.js +0 -1
- package/.output/public/_nuxt/NL65vbjG2.js +0 -1
- package/.output/public/_nuxt/Pik8or8N2.js +0 -1
- package/.output/public/_nuxt/XZ59tThl.js +0 -1
- package/.output/public/_nuxt/ZpWjFsgV.js +0 -1
- package/.output/public/_nuxt/builds/meta/9f85104e-738d-4a74-8daa-40b136ce17d5.json +0 -1
- package/.output/public/_nuxt/dXz6dFgW2.js +0 -1
- package/.output/public/_nuxt/entry.P6tFNE31.css +0 -1
- package/.output/public/_nuxt/j0MRD-c3.js +0 -1
- package/.output/public/_nuxt/zZ1EGR7Y.js +0 -1
- package/.output/server/chunks/build/Alert-0ngTJXxP.mjs.map +0 -1
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs +0 -569
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs.map +0 -1
- package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs.map +0 -1
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs +0 -379
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs.map +0 -1
- package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs.map +0 -1
- package/.output/server/chunks/build/advanced-D1onodoF.mjs.map +0 -1
- package/.output/server/chunks/build/pages-Ba0Eixbd.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-CyN9x492.mjs +0 -915
- package/.output/server/chunks/build/tasks-CyN9x492.mjs.map +0 -1
package/.output/nitro.json
CHANGED
|
@@ -3,4 +3,4 @@ import{t as e}from"./DK3Fl9T5.js";import{$ as t,Bn as n,Cr as r,En as i,G as a,H
|
|
|
3
3
|
}
|
|
4
4
|
`},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:`
|
|
5
5
|
{key}: `}};function An(e,t=`expanded`){let n=[];for(let r=0;r<e.length;r++){let{selector:i,rules:a}=e[r],o=(i instanceof Array?i.join(t===`compressed`?`,`:`, `):i)+kn.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=kn.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=kn.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:`
|
|
6
|
-
`)}function jn(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o=Object.create(null);return Object.assign(o,t.rules,Dn(a),On({...dn,...e,body:n},a)),An([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var Mn=!1;function Nn(e){if(Mn)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"archive":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\"/></g>"},"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"badge-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3.85 8.62a4 4 0 0 1 4.78-4.77a4 4 0 0 1 6.74 0a4 4 0 0 1 4.78 4.78a4 4 0 0 1 0 6.74a4 4 0 0 1-4.77 4.78a4 4 0 0 1-6.75 0a4 4 0 0 1-4.78-4.77a4 4 0 0 1 0-6.76\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"circle-stop":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"9\\" rx=\\"1\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"cloud":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9\\"/>"},"cloud-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057m-2.926 2.753A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78M2 2l20 20\\"/>"},"columns-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 3v18\\"/></g>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"database":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><ellipse cx=\\"12\\" cy=\\"5\\" rx=\\"9\\" ry=\\"3\\"/><path d=\\"M3 5v14a9 3 0 0 0 18 0V5\\"/><path d=\\"M3 12a9 3 0 0 0 18 0\\"/></g>"},"download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/><path d=\\"m7 10l5 5l5-5\\"/></g>"},"earth":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21.54 15H17a2 2 0 0 0-2 2v4.54M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-check-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M3 15l2 2l4-4\\"/></g>","hidden":true},"file-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5m-8 4v6m3-3l-3-3l-3 3\\"/></g>"},"file-x-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M8 12.5l-5 5m0-5l5 5\\"/></g>","hidden":true},"files":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8\\"/><path d=\\"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706zM5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1\\"/></g>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/></g>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"keyboard":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01\\"/><rect width=\\"20\\" height=\\"16\\" x=\\"2\\" y=\\"4\\" rx=\\"2\\"/></g>"},"layers-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74zm7 .545l1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845\\"/>"},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"list":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13\\"/>"},"list-check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 5H3m13 7H3m8 7H3m12-1l2 2l4-4\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"locate-fixed":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"log-out":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\"/>"},"map":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0zm.894.211v15M9 3.236v15\\"/>"},"map-pin":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/></g>"},"map-pin-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0a32 32 0 0 0 .813-.728\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m16 18l2 2l4-4\\"/></g>"},"map-pin-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.75 7.09a3 3 0 0 1 2.16 2.16m2.162 7.822c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568M2 2l20 20\\"/><path d=\\"M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533M9.13 9.13a3 3 0 0 0 3.74 3.74\\"/></g>"},"map-pin-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.752 11.901A7.8 7.8 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0l.09-.077\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m21.5 15.5l-5 5m5 0l-5-5\\"/></g>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"message-square-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/><path d=\\"m9 11l2 2l4-4\\"/></g>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"monitor-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m14.5 12.5l-5-5m0 5l5-5\\"/><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 17v4m-4 0h8\\"/></g>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"package":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12\\"/><path d=\\"M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"panel-right-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18M8 9l3 3l-3 3\\"/></g>"},"panel-right-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18m-5-6l-3-3l3-3\\"/></g>"},"play":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\"/>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"radar":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.07 4.93A10 10 0 0 0 6.99 3.34M4 6h.01M2.29 9.62a10 10 0 1 0 19.02-1.27\\"/><path d=\\"M16.24 7.76a6 6 0 1 0-8.01 8.91M12 18h.01m5.98-6.34a6 6 0 0 1-2.22 5.01\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/><path d=\\"m13.41 10.59l5.66-5.66\\"/></g>"},"radio-tower":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4.9 16.1C1 12.2 1 5.8 4.9 1.9m2.9 2.8a6.14 6.14 0 0 0-.8 7.5\\"/><circle cx=\\"12\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"M16.2 4.8c2 2 2.26 5.11.8 7.47M19.1 1.9a9.96 9.96 0 0 1 0 14.1m-9.6 2h5M8 22l4-11l4 11\\"/></g>"},"refresh-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"scan-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-5h10\\"/>"},"scan-text":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-9h8m-8 4h10M7 16h6\\"/>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"sliders-horizontal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3\\"/>"},"smartphone":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"20\\" x=\\"5\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M12 18h.01\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"user-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"8\\" r=\\"5\\"/><path d=\\"M20 21a8 8 0 0 0-16 0\\"/></g>"},"wand-sparkles":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72M14 7l3 3M5 6v4m14 4v4M10 2v2M7 8H3m18 8h-4M11 3H9\\"/>"},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);Mn=!0}async function Pn(e,t){if(!e)return null;Nn(H);let n=U(e);if(n)return n;let r,i=Bt(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,U(e)}function Fn(e){let t=M().icon,n=(t.collections||[]).sort((e,t)=>t.length-e.length);return l(()=>{let r=e(),i=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,a=t.aliases?.[i]||i;if(!a.includes(`:`)){let e=n.find(e=>a.startsWith(e+`-`));return e?e+`:`+a.slice(e.length+1):a}return a})}function In(e,t){if(e!==!1)return e===!0||e===null?t:e}var $;function Ln(e){return e.replace(/([^\w-])/g,`\\$1`)}function Rn(){if($)return $;$=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&$.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return $}var zn=a({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let t=v(),n=M().icon,r=l(()=>{if(!e.name)return``;let t=n.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+Me(e.customize.toString()):t});function i(e){if(!e)return;let n=U(e);if(n)return n;let r=t.payload?.data?.[e];if(r)return H(e,r),r}let a=l(()=>`.`+Ln(r.value));function o(t,r=!0){let i=a.value;n.cssWherePseudo&&(i=`:where(${i})`);let o=jn(t,{iconSelector:i,format:`compressed`,customise:In(e.customize,n.customize)});return n.cssLayer&&r?`@layer ${n.cssLayer} { ${o} }`:o}{let t=Rn();async function n(e){if(t.has(a.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=o(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(a.value)}b(()=>e.name,()=>{if(t.has(a.value))return;let r=i(e.name);r?n(r):Pn(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>S(`span`,{class:[`iconify`,r.value]})}}),Bn=a({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=`i-`+i.value;if(i.value){let e=n.payload.data[a];e?H(i.value,e):Nn(H)}return()=>S(sn,{icon:i.value,ssr:!0,customise:In(e.customize,r.customize)},t)}}),Vn=e({default:()=>Hn}),Hn=a({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=l(()=>n.vueApp?.component(i.value)||((e.mode||r.mode)===`svg`?Bn:zn)),o=l(()=>{let t=e.size||r.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>S(a.value,{...r.attrs,name:i.value,class:r.class,style:o.value,customize:e.customize},t)}});export{Vt as a,Ee as c,ge as d,de as f,ft as i,D as l,Vn as n,M as o,ue as p,cn as r,Pe as s,Hn as t,ve as u};
|
|
6
|
+
`)}function jn(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o=Object.create(null);return Object.assign(o,t.rules,Dn(a),On({...dn,...e,body:n},a)),An([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var Mn=!1;function Nn(e){if(Mn)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"archive":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\"/></g>"},"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"badge-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3.85 8.62a4 4 0 0 1 4.78-4.77a4 4 0 0 1 6.74 0a4 4 0 0 1 4.78 4.78a4 4 0 0 1 0 6.74a4 4 0 0 1-4.77 4.78a4 4 0 0 1-6.75 0a4 4 0 0 1-4.78-4.77a4 4 0 0 1 0-6.76\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"circle-stop":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"9\\" rx=\\"1\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"cloud":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9\\"/>"},"cloud-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057m-2.926 2.753A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78M2 2l20 20\\"/>"},"columns-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 3v18\\"/></g>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"database":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><ellipse cx=\\"12\\" cy=\\"5\\" rx=\\"9\\" ry=\\"3\\"/><path d=\\"M3 5v14a9 3 0 0 0 18 0V5\\"/><path d=\\"M3 12a9 3 0 0 0 18 0\\"/></g>"},"download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/><path d=\\"m7 10l5 5l5-5\\"/></g>"},"earth":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21.54 15H17a2 2 0 0 0-2 2v4.54M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-check-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M3 15l2 2l4-4\\"/></g>","hidden":true},"file-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5m-8 4v6m3-3l-3-3l-3 3\\"/></g>"},"file-x-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M8 12.5l-5 5m0-5l5 5\\"/></g>","hidden":true},"files":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8\\"/><path d=\\"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706zM5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1\\"/></g>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/></g>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"keyboard":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01\\"/><rect width=\\"20\\" height=\\"16\\" x=\\"2\\" y=\\"4\\" rx=\\"2\\"/></g>"},"layers-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74zm7 .545l1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845\\"/>"},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"list":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13\\"/>"},"list-check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 5H3m13 7H3m8 7H3m12-1l2 2l4-4\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"locate-fixed":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"log-out":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\"/>"},"map":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0zm.894.211v15M9 3.236v15\\"/>"},"map-pin":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/></g>"},"map-pin-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0a32 32 0 0 0 .813-.728\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m16 18l2 2l4-4\\"/></g>"},"map-pin-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.75 7.09a3 3 0 0 1 2.16 2.16m2.162 7.822c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568M2 2l20 20\\"/><path d=\\"M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533M9.13 9.13a3 3 0 0 0 3.74 3.74\\"/></g>"},"map-pin-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.752 11.901A7.8 7.8 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0l.09-.077\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m21.5 15.5l-5 5m5 0l-5-5\\"/></g>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"message-square-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/><path d=\\"m9 11l2 2l4-4\\"/></g>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"monitor-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m14.5 12.5l-5-5m0 5l5-5\\"/><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 17v4m-4 0h8\\"/></g>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"package":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12\\"/><path d=\\"M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15\\"/></g>"},"package-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 22v-9m3.17-10.79a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.66 1.66 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z\\"/><path d=\\"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13\\"/><path d=\\"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.64 1.64 0 0 0 1.63 0z\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"panel-right-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18M8 9l3 3l-3 3\\"/></g>"},"panel-right-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18m-5-6l-3-3l3-3\\"/></g>"},"play":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\"/>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"radar":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.07 4.93A10 10 0 0 0 6.99 3.34M4 6h.01M2.29 9.62a10 10 0 1 0 19.02-1.27\\"/><path d=\\"M16.24 7.76a6 6 0 1 0-8.01 8.91M12 18h.01m5.98-6.34a6 6 0 0 1-2.22 5.01\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/><path d=\\"m13.41 10.59l5.66-5.66\\"/></g>"},"radio-tower":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4.9 16.1C1 12.2 1 5.8 4.9 1.9m2.9 2.8a6.14 6.14 0 0 0-.8 7.5\\"/><circle cx=\\"12\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"M16.2 4.8c2 2 2.26 5.11.8 7.47M19.1 1.9a9.96 9.96 0 0 1 0 14.1m-9.6 2h5M8 22l4-11l4 11\\"/></g>"},"refresh-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"scan-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-5h10\\"/>"},"scan-text":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-9h8m-8 4h10M7 16h6\\"/>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"sliders-horizontal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3\\"/>"},"smartphone":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"20\\" x=\\"5\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M12 18h.01\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"user-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"8\\" r=\\"5\\"/><path d=\\"M20 21a8 8 0 0 0-16 0\\"/></g>"},"wand-sparkles":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72M14 7l3 3M5 6v4m14 4v4M10 2v2M7 8H3m18 8h-4M11 3H9\\"/>"},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);Mn=!0}async function Pn(e,t){if(!e)return null;Nn(H);let n=U(e);if(n)return n;let r,i=Bt(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,U(e)}function Fn(e){let t=M().icon,n=(t.collections||[]).sort((e,t)=>t.length-e.length);return l(()=>{let r=e(),i=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,a=t.aliases?.[i]||i;if(!a.includes(`:`)){let e=n.find(e=>a.startsWith(e+`-`));return e?e+`:`+a.slice(e.length+1):a}return a})}function In(e,t){if(e!==!1)return e===!0||e===null?t:e}var $;function Ln(e){return e.replace(/([^\w-])/g,`\\$1`)}function Rn(){if($)return $;$=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&$.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return $}var zn=a({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let t=v(),n=M().icon,r=l(()=>{if(!e.name)return``;let t=n.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+Me(e.customize.toString()):t});function i(e){if(!e)return;let n=U(e);if(n)return n;let r=t.payload?.data?.[e];if(r)return H(e,r),r}let a=l(()=>`.`+Ln(r.value));function o(t,r=!0){let i=a.value;n.cssWherePseudo&&(i=`:where(${i})`);let o=jn(t,{iconSelector:i,format:`compressed`,customise:In(e.customize,n.customize)});return n.cssLayer&&r?`@layer ${n.cssLayer} { ${o} }`:o}{let t=Rn();async function n(e){if(t.has(a.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=o(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(a.value)}b(()=>e.name,()=>{if(t.has(a.value))return;let r=i(e.name);r?n(r):Pn(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>S(`span`,{class:[`iconify`,r.value]})}}),Bn=a({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=`i-`+i.value;if(i.value){let e=n.payload.data[a];e?H(i.value,e):Nn(H)}return()=>S(sn,{icon:i.value,ssr:!0,customise:In(e.customize,r.customize)},t)}}),Vn=e({default:()=>Hn}),Hn=a({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=l(()=>n.vueApp?.component(i.value)||((e.mode||r.mode)===`svg`?Bn:zn)),o=l(()=>{let t=e.size||r.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>S(a.value,{...r.attrs,name:i.value,class:r.class,style:o.value,customize:e.customize},t)}});export{Vt as a,Ee as c,ge as d,de as f,ft as i,D as l,Vn as n,M as o,ue as p,cn as r,Pe as s,Hn as t,ve as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,$t as t,At as n,Bn as r,Bt as i,En as a,F as o,G as s,H as c,I as l,It as u,Lt as d,M as f,N as p,Ot as m,P as h,Pn as g,S as _,U as v,Vn as y,Wn as b,Zt as x,_r as S,_t as C,en as w,fn as T,gr as E,gt as D,hr as O,ht as k,in as A,j,ln as M,pr as N,sn as P,tt as F,wt as I,zn as ee}from"./C97TfNgP.js";import{Jt as L,Yt as R,ot as z}from"./CgMd2Y5s.js";import{c as B,d as V,f as H,l as te,o as ne,p as re,s as U}from"./SEETjfdJ.js";import{C as ie,D as W,J as ae,P as oe,R as se,S as G,T as ce,_ as le,b as ue,d as de,g as fe,h as pe,k as me,m as he,ot as ge,p as _e,q as ve,t as ye,u as be,v as xe,w as Se,x as Ce,y as we}from"./nGp0t_eD.js";import{n as Te}from"./D4gbGuiW.js";import{c as Ee,o as De}from"./0hm88Oke.js";import{a as Oe,d as ke,f as Ae,i as je,n as Me,s as Ne}from"./KEU2l6zJ.js";import{h as K,n as Pe,t as q,u as Fe}from"./DIIXHC50.js";import{n as Ie,r as Le,t as Re}from"./D-t0hXHB.js";import{a as ze,c as Be,i as Ve,l as He,o as J,s as Ue,u as We}from"./DfXX-x_z.js";import{o as Ge,s as Ke}from"./IfL46N3Z.js";import{t as qe}from"./CVE291Pi.js";import{a as Y,p as X}from"#entry";import{t as Je}from"./Q79ec-Ro.js";import{r as Ye}from"./DDp9lK3g.js";function Xe(e,t,n){let r=e.findIndex(e=>Ee(e,t)),i=e.findIndex(e=>Ee(e,n));if(r===-1||i===-1)return[];let[a,o]=[r,i].sort((e,t)=>e-t);return e.slice(a,o+1)}function Ze(e){let t=f(()=>b(e)),n=f(()=>new Intl.Collator(`en`,{usage:`search`,...t.value}));return{startsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),n.value.compare(e.slice(0,t.length),t)===0),endsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),n.value.compare(e.slice(-t.length),t)===0),contains:(e,t)=>{if(t.length===0)return!0;e=e.normalize(`NFC`),t=t.normalize(`NFC`);let r=0,i=t.length;for(;r+i<=e.length;r++){let a=e.slice(r,r+i);if(n.value.compare(t,a)===0)return!0}return!1}}}function Qe(e){return e?.querySelector(`[data-state=checked]`)}function $e(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(e=>Z(e,t,n)):Z(e,t,n)}function Z(e,t,n){return e===void 0||t===void 0?!1:typeof e==`string`?e===t:typeof n==`function`?n(e,t):typeof n==`string`?e?.[n]===t?.[n]:Ee(e,t)}var[et,Q]=ge(`ListboxRoot`),tt=s({__name:`ListboxRoot`,props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},orientation:{type:String,required:!1,default:`vertical`},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},selectionBehavior:{type:String,required:!1,default:`toggle`},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`],setup(e,{expose:t,emit:r}){let i=e,a=r,{multiple:s,highlightOnHover:c,orientation:l,disabled:u,selectionBehavior:f,dir:p}=y(i),{getItems:m}=Y({isProvider:!0}),{handleTypeaheadSearch:_}=J(),{primitiveElement:v,currentElement:x}=X(),S=Ue(),w=re(p),T=Be(x),E=g(),D=g(!1),O=g(!0),k=K(i,`modelValue`,a,{defaultValue:i.defaultValue??(s.value?[]:void 0),passive:i.modelValue===void 0,deep:!0});function j(e){if(D.value=!0,i.multiple){let t=Array.isArray(k.value)?[...k.value]:[],n=t.findIndex(t=>Z(t,e,i.by));i.selectionBehavior===`toggle`?(n===-1?t.push(e):t.splice(n,1),k.value=t):(k.value=[e],E.value=e)}else i.selectionBehavior===`toggle`&&Z(k.value,e,i.by)?k.value=void 0:k.value=e;setTimeout(()=>{D.value=!1},1)}let N=g(null),P=g(null),F=g(!1),I=g(!1),ee=oe(),L=oe(),R=oe();function z(){return m().map(e=>e.ref).filter(e=>e.dataset.disabled!==``)}function B(e,t=!0,n){if(!e)return;N.value=e,(n??O.value)&&N.value.focus(),t&&N.value.scrollIntoView({block:`nearest`});let r=m().find(t=>t.ref===e);a(`highlight`,r)}function V(e){if(F.value)R.trigger(e);else{let t=m().find(t=>Z(t.value,e,i.by));t&&(N.value=t.ref,B(t.ref))}}function H(e){if(N.value&&N.value.isConnected){if(e.ctrlKey||e.metaKey||e.altKey)return;e.preventDefault(),e.stopPropagation(),I.value||N.value.click()}}function te(e){if(O.value){if(D.value=!0,F.value)L.trigger(e);else{let t=e.altKey||e.ctrlKey||e.metaKey;if(t&&e.key===`a`&&s.value){let t=m(),n=t.map(e=>e.value);k.value=[...n],e.preventDefault();let r=t.at(-1);r&&B(r.ref)}else if(!t){let t=_(e.key,m());t&&B(t)}}setTimeout(()=>{D.value=!1},1)}}function ne(){I.value=!0}function U(){C(()=>{I.value=!1})}function ie(){C(()=>{ce(new KeyboardEvent(`keydown`,{key:`PageUp`}))})}function ae(e){let t=N.value;t?.isConnected&&(P.value=t),N.value=null,a(`leave`,e)}function G(e){let t=new CustomEvent(`listbox.entryFocus`,{bubbles:!1,cancelable:!0});if(e.currentTarget?.dispatchEvent(t),a(`entryFocus`,t),!t.defaultPrevented){if(P.value)B(P.value);else{let e=z()?.[0];B(e)}}}function ce(e){let t=Ke(e,l.value,w.value);if(!t)return;let n=z();if(N.value){if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let e=n.indexOf(N.value);n=n.slice(e+1)}le(e,n[0])}if(n.length){let e=!N.value&&t===`prev`?n.length-1:0;B(n[e])}if(F.value)return L.trigger(e)}function le(e,t){if(!(F.value||i.selectionBehavior!==`replace`||!s.value||!Array.isArray(k.value))&&!((e.altKey||e.ctrlKey||e.metaKey)&&!e.shiftKey)&&e.shiftKey){let n=m().filter(e=>e.ref.dataset.disabled!==``),r=n.find(e=>e.ref===t)?.value;if(e.key===S.END?r=n.at(-1)?.value:e.key===S.HOME&&(r=n[0]?.value),!r||!E.value)return;let i=Xe(n.map(e=>e.value),E.value,r);k.value=i}}async function ue(e,t=!0){if(se){if(await C(),F.value)ee.trigger({event:e,scroll:t});else{let e=z(),n=e.find(e=>e.dataset.state===`checked`),r=t?void 0:!1;n?B(n,t,r):e.length&&B(e[0],t,r)}}}let de=!1;return A(k,()=>{if(!D.value){let e=de;de=!0,C(()=>{ue(void 0,e)})}},{immediate:!0,deep:!0}),t({highlightedElement:N,highlightItem:V,highlightFirstItem:ie,highlightSelected:ue,getItems:m}),Q({modelValue:k,onValueChange:j,multiple:s,orientation:l,dir:w,disabled:u,highlightOnHover:c,highlightedElement:N,isVirtual:F,virtualFocusHook:ee,virtualKeydownHook:L,virtualHighlightHook:R,by:i.by,firstValue:E,selectionBehavior:f,focusable:O,onLeave:ae,onEnter:G,changeHighlight:B,onKeydownEnter:H,onKeydownNavigation:ce,onKeydownTypeAhead:te,onCompositionStart:ne,onCompositionEnd:U,highlightFirstItem:ie}),(e,t)=>(n(),h(b(W),{ref_key:`primitiveElement`,ref:v,as:e.as,"as-child":e.asChild,dir:b(w),"data-disabled":b(u)?``:void 0,onPointerleave:ae,onFocusout:t[0]||=async e=>{let t=e.relatedTarget||e.target;await C(),N.value&&b(x)&&!b(x).contains(t)&&ae(e)}},{default:M(()=>[d(e.$slots,`default`,{modelValue:b(k)}),b(T)&&e.name?(n(),h(b(Ve),{key:0,name:e.name,value:b(k),disabled:b(u),required:e.required},null,8,[`name`,`value`,`disabled`,`required`])):o(`v-if`,!0)]),_:3},8,[`as`,`as-child`,`dir`,`data-disabled`]))}}),nt=s({__name:`ListboxContent`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let{CollectionSlot:t}=Y(),r=et(),i=ae(!1,10);return(e,a)=>(n(),h(b(t),null,{default:M(()=>[v(b(W),{role:`listbox`,as:e.as,"as-child":e.asChild,tabindex:b(r).focusable.value?b(r).highlightedElement.value?`-1`:`0`:`-1`,"aria-orientation":b(r).orientation.value,"aria-multiselectable":!!b(r).multiple.value,"data-orientation":b(r).orientation.value,onMousedown:a[0]||=R(e=>i.value=!0,[`left`]),onFocus:a[1]||=e=>{b(i)||b(r).onEnter(e)},onKeydown:[a[2]||=L(e=>{(b(r).orientation.value!==`vertical`||e.key!==`ArrowLeft`&&e.key!==`ArrowRight`)&&(b(r).orientation.value!==`horizontal`||e.key!==`ArrowUp`&&e.key!==`ArrowDown`)&&(e.preventDefault(),b(r).focusable.value&&b(r).onKeydownNavigation(e))},[`down`,`up`,`left`,`right`,`home`,`end`]),L(b(r).onKeydownEnter,[`enter`]),b(r).onKeydownTypeAhead]},{default:M(()=>[d(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`tabindex`,`aria-orientation`,`aria-multiselectable`,`data-orientation`,`onKeydown`])]),_:3}))}}),rt=s({__name:`ListboxFilter`,props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`input`}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=e,i=K(r,`modelValue`,t,{defaultValue:``,passive:r.modelValue===void 0}),a=et(),{primitiveElement:o,currentElement:s}=X(),c=f(()=>r.disabled||a.disabled.value||!1),l=g();P(()=>l.value=a.highlightedElement.value?.id),I(()=>{a.focusable.value=!1,setTimeout(()=>{r.autoFocus&&s.value?.focus()},1)}),m(()=>{a.focusable.value=!0});let{isComposing:u,handleCompositionStart:p,handleCompositionEnd:_}=We(e=>{i.value=e.target.value,a.onCompositionEnd(),a.highlightFirstItem()});function v(){a.onCompositionStart(),p()}function y(e){u.value||(i.value=e.target.value,a.highlightFirstItem())}function x(e){u.value||(e.preventDefault(),a.onKeydownNavigation(e))}function S(e){u.value||a.onKeydownEnter(e)}return(e,t)=>(n(),h(b(W),{ref_key:`primitiveElement`,ref:o,as:e.as,"as-child":e.asChild,value:b(i),disabled:c.value?``:void 0,"data-disabled":c.value?``:void 0,"aria-disabled":c.value??void 0,"aria-activedescendant":l.value,type:`text`,onKeydown:[L(x,[`down`,`up`,`home`,`end`]),L(S,[`enter`])],onInput:y,onCompositionstart:v,onCompositionend:b(_)},{default:M(()=>[d(e.$slots,`default`,{modelValue:b(i)})]),_:3},8,[`as`,`as-child`,`value`,`disabled`,`data-disabled`,`aria-disabled`,`aria-activedescendant`,`onCompositionend`]))}}),[it,at]=ge(`ListboxGroup`),ot=s({__name:`ListboxGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,r=V(void 0,`reka-listbox-group`);return at({id:r}),(e,i)=>(n(),h(b(W),D({role:`group`},t,{"aria-labelledby":b(r)}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`aria-labelledby`]))}}),st=`listbox.select`,[ct,lt]=ge(`ListboxItem`),ut=s({__name:`ListboxItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`div`}},emits:[`select`],setup(e,{emit:t}){let r=e,i=t,a=V(void 0,`reka-listbox-item`),{CollectionItem:o}=Y(),{forwardRef:s,currentElement:c}=q(),l=et(),u=f(()=>c.value!=null&&c.value===l.highlightedElement.value),p=f(()=>$e(l.modelValue.value,r.value,l.by)),m=f(()=>l.disabled.value||r.disabled);async function g(e){i(`select`,e),!e?.defaultPrevented&&!m.value&&e&&(l.onValueChange(r.value),l.changeHighlight(c.value))}function _(e){let t={originalEvent:e,value:r.value};ke(st,g,t)}return lt({isSelected:p}),(e,t)=>(n(),h(b(o),{value:e.value},{default:M(()=>[T([u.value,p.value,m.value,b(l).focusable.value],()=>v(b(W),D({id:b(a)},e.$attrs,{ref:b(s),role:`option`,tabindex:b(l).focusable.value?u.value?`0`:`-1`:-1,"aria-selected":p.value,as:e.as,"as-child":e.asChild,disabled:m.value?``:void 0,"data-disabled":m.value?``:void 0,"data-highlighted":u.value?``:void 0,"data-state":p.value?`checked`:`unchecked`,onClick:_,onKeydown:L(R(_,[`prevent`]),[`space`]),onPointermove:t[0]||=()=>{b(l).highlightedElement.value!==b(c)&&b(l).highlightOnHover.value&&b(l).changeHighlight(b(c),!1,!1)}}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`id`,`tabindex`,`aria-selected`,`as`,`as-child`,`disabled`,`data-disabled`,`data-highlighted`,`data-state`,`onKeydown`]),t,1)]),_:3},8,[`value`]))}}),dt=s({__name:`ListboxItemIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e;q();let r=ct();return(e,i)=>b(r).isSelected.value?(n(),h(b(W),D({key:0,"aria-hidden":`true`},t),{default:M(()=>[d(e.$slots,`default`)]),_:3},16)):o(`v-if`,!0)}}),ft=s({__name:`ListboxVirtualizer`,props:{options:{type:Array,required:!0},overscan:{type:Number,required:!1},estimateSize:{type:[Number,Function],required:!1},textContent:{type:Function,required:!1}},setup(e){let r=e,a=t(),o=et(),s=Fe(),{getItems:c}=Y();o.isVirtual.value=!0;let d=f(()=>{let e=s.value;if(e){let t=window.getComputedStyle(e);return{start:Number.parseFloat(t.paddingBlockStart||t.paddingTop),end:Number.parseFloat(t.paddingBlockEnd||t.paddingBottom)}}return{start:0,end:0}}),p=qe({get scrollPaddingStart(){return d.value.start},get scrollPaddingEnd(){return d.value.end},get count(){return r.options.length},get horizontal(){return o.orientation.value===`horizontal`},estimateSize(e){return typeof r.estimateSize==`function`?r.estimateSize(e):r.estimateSize??28},getScrollElement(){return s.value},overscan:r.overscan??12}),m=f(()=>p.value.getVirtualItems().map(e=>{let t=a.default({option:r.options[e.index],virtualizer:p.value,virtualItem:e})[0],n=t.type===_&&Array.isArray(t.children)?t.children.find(e=>typeof e.type!=`symbol`):t;return{item:e,is:j(n,{key:`${e.key}`,"data-index":e.index,"aria-setsize":r.options.length,"aria-posinset":e.index+1,style:{position:`absolute`,top:0,left:0,transform:`translateY(${e.start}px)`,overflowAnchor:`none`}})}}));o.virtualFocusHook.on(({event:e,scroll:t})=>{let n=r.options.findIndex(e=>Array.isArray(o.modelValue.value)?Z(e,o.modelValue.value[0],o.by):Z(e,o.modelValue.value,o.by));n===-1?t?o.highlightFirstItem():requestAnimationFrame(()=>{let e=c().find(e=>e.ref.dataset.disabled!==``)?.ref;e&&o.changeHighlight(e,!1,!1)}):(e?.preventDefault(),p.value.scrollToIndex(n,{align:`start`}),requestAnimationFrame(()=>{let n=Qe(s.value);n&&(o.changeHighlight(n,t,t?void 0:!1),e&&n?.focus())}))}),o.virtualHighlightHook.on(e=>{let t=r.options.findIndex(t=>Z(t,e,o.by));p.value.scrollToIndex(t,{align:`start`}),requestAnimationFrame(()=>{let e=Qe(s.value);e&&o.changeHighlight(e)})});let g=ae(``,1e3),v=f(()=>{let e=e=>r.textContent?r.textContent(e):e?.toString().toLowerCase();return r.options.map((t,n)=>({index:n,textContent:e(t)}))});function y(e,t){if(!o.firstValue?.value||!o.multiple.value||!Array.isArray(o.modelValue.value))return;let n=c().filter(e=>e.ref.dataset.disabled!==``).find(e=>e.ref===o.highlightedElement.value)?.value;if(!n)return;let i=null;switch(t){case`prev`:case`next`:i=Xe(r.options,o.firstValue.value,n);break;case`first`:i=Xe(r.options,o.firstValue.value,r.options?.[0]);break;case`last`:i=Xe(r.options,o.firstValue.value,r.options.at(-1))}o.modelValue.value=i}return o.virtualKeydownHook.on(e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!t)return;let n=Ge[e.key];if(t&&e.key===`a`&&o.multiple.value?(e.preventDefault(),o.modelValue.value=[...r.options],n=`last`):e.shiftKey&&n&&y(e,n),[`first`,`last`].includes(n)){e.preventDefault();let t=n===`first`?0:r.options.length-1;p.value.scrollToIndex(t),requestAnimationFrame(()=>{let e=c(),t=n===`first`?e[0]:e.at(-1);t&&o.changeHighlight(t.ref)})}else if(!n&&!t){g.value+=e.key;let t=Number(Ae()?.getAttribute(`data-index`)),n=v.value[t].textContent,r=v.value.map(e=>e.textContent??``),i=ze(r,g.value,n),a=v.value.find(e=>e.textContent===i);a&&(p.value.scrollToIndex(a.index,{align:`start`}),requestAnimationFrame(()=>{let e=s.value.querySelector(`[data-index="${a.index}"]`);e instanceof HTMLElement&&o.changeHighlight(e)}))}}),(e,t)=>(n(),l(`div`,{"data-reka-virtualizer":``,style:E({position:`relative`,width:`100%`,height:`${b(p).getTotalSize()}px`})},[(n(!0),l(_,null,u(m.value,({is:e,item:t})=>(n(),h(i(e),{key:t.index}))),128))],4))}}),[$,pt]=ge(`ComboboxRoot`),mt=s({__name:`ComboboxRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},resetSearchTermOnBlur:{type:Boolean,required:!1,default:!0},resetSearchTermOnSelect:{type:Boolean,required:!1,default:!0},openOnFocus:{type:Boolean,required:!1,default:!1},openOnClick:{type:Boolean,required:!1,default:!1},ignoreFilter:{type:Boolean,required:!1},resetModelValueOnClear:{type:Boolean,required:!1,default:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},highlightOnHover:{type:Boolean,required:!1,default:!0},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`highlight`,`update:open`],setup(t,{expose:r,emit:i}){let o=t,s=i,{primitiveElement:c,currentElement:l}=X(),{multiple:u,disabled:p,ignoreFilter:m,resetSearchTermOnSelect:_,openOnFocus:x,openOnClick:S,dir:w,resetModelValueOnClear:T,highlightOnHover:E}=y(o),O=re(w),k=K(o,`modelValue`,s,{defaultValue:o.defaultValue??(u.value?[]:void 0),passive:o.modelValue===void 0,deep:!0}),A=K(o,`open`,s,{defaultValue:o.defaultOpen,passive:o.open===void 0});async function j(e){A.value=e,H.value=``,e?(await C(),c.value?.highlightSelected(),P.value=!0,ee.value?.focus()):(P.value=!1,setTimeout(()=>{!e&&o.resetSearchTermOnBlur&&N.trigger()},1))}let N=oe(),P=g(!1),F=g(!1),ee=g(),L=g(),R=f(()=>c.value?.highlightedElement??void 0),z=g(new Map),B=g(new Map),{contains:V}=Ze({sensitivity:`base`}),H=g(``),ne=f(e=>{if(!H.value||o.ignoreFilter||F.value)return{count:z.value.size,items:e?.items??new Map,groups:e?.groups??new Set(B.value.keys())};let t=0,n=new Map,r=new Set;for(let[e,r]of z.value){let i=V(r,H.value);n.set(e,+!!i),i&&t++}for(let[e,t]of B.value)for(let i of t)if(n.get(i)>0){r.add(e);break}return{count:t,items:n,groups:r}}),U=e();return I(()=>{U?.exposed&&(U.exposed.highlightItem=c.value?.highlightItem,U.exposed.highlightFirstItem=c.value?.highlightFirstItem,U.exposed.highlightSelected=c.value?.highlightSelected)}),r({filtered:ne,highlightedElement:R,highlightItem:c.value?.highlightItem,highlightFirstItem:c.value?.highlightFirstItem,highlightSelected:c.value?.highlightSelected}),pt({modelValue:k,multiple:u,disabled:p,open:A,onOpenChange:j,contentId:``,isUserInputted:P,isVirtual:F,inputElement:ee,highlightedElement:R,onInputElementChange:e=>ee.value=e,triggerElement:L,onTriggerElementChange:e=>L.value=e,parentElement:l,resetSearchTermOnSelect:_,onResetSearchTerm:N.on,allItems:z,allGroups:B,filterSearch:H,filterState:ne,ignoreFilter:m,openOnFocus:x,openOnClick:S,resetModelValueOnClear:T}),(e,t)=>(n(),h(b(te),null,{default:M(()=>[v(b(tt),D({ref_key:`primitiveElement`,ref:c},e.$attrs,{modelValue:b(k),"onUpdate:modelValue":t[0]||=e=>a(k)?k.value=e:null,style:{pointerEvents:b(A)?`auto`:void 0},as:e.as,"as-child":e.asChild,dir:b(O),multiple:b(u),name:e.name,required:e.required,disabled:b(p),"highlight-on-hover":b(E),by:o.by,onHighlight:t[1]||=e=>s(`highlight`,e)}),{default:M(()=>[d(e.$slots,`default`,{open:b(A),modelValue:b(k)})]),_:3},16,[`modelValue`,`style`,`as`,`as-child`,`dir`,`multiple`,`name`,`required`,`disabled`,`highlight-on-hover`,`by`])]),_:3}))}}),ht=s({__name:`ComboboxAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let{forwardRef:t}=q();return(e,r)=>(n(),h(b(B),{"as-child":``,reference:e.reference},{default:M(()=>[v(b(W),D({ref:b(t),"as-child":e.asChild,as:e.as},e.$attrs),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`as-child`,`as`])]),_:3},8,[`reference`]))}}),[gt,_t]=ge(`ComboboxContent`),vt=s({__name:`ComboboxContentImpl`,props:{position:{type:String,required:!1,default:`inline`},bodyLock:{type:Boolean,required:!1},hideWhenEmpty:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`],setup(e,{emit:t}){let r=e,a=t,{position:o}=y(r),s=$(),c=f(()=>s.ignoreFilter.value?s.allItems.value.size===0:s.filterState.value.count===0),{forwardRef:l,currentElement:u}=q();Le(r.bodyLock),He(),Ie(s.parentElement);let p=f(()=>r.position===`popper`?r:{}),_=me(p.value),x={boxSizing:`border-box`,"--reka-combobox-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-combobox-content-available-width":`var(--reka-popper-available-width)`,"--reka-combobox-content-available-height":`var(--reka-popper-available-height)`,"--reka-combobox-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-combobox-trigger-height":`var(--reka-popper-anchor-height)`};_t({position:o});let S=g(!1);I(()=>{s.inputElement.value&&(S.value=u.value.contains(s.inputElement.value),S.value&&s.inputElement.value.focus())}),m(()=>{let e=Ae();S.value&&(!e||e===document.body)&&s.triggerElement.value?.focus()});function C(e){if(s.parentElement.value?.contains(e))return!0;let t=(e instanceof Element?e.closest(`label`):null)?.control;return!!t&&!!s.parentElement.value?.contains(t)}return(e,t)=>(n(),h(b(nt),{"as-child":``},{default:M(()=>[v(b(Re),{"as-child":``,onMountAutoFocus:t[5]||=R(()=>{},[`prevent`]),onUnmountAutoFocus:t[6]||=R(()=>{},[`prevent`])},{default:M(()=>[v(b(Oe),{"as-child":``,"disable-outside-pointer-events":e.disableOutsidePointerEvents,onDismiss:t[0]||=e=>b(s).onOpenChange(!1),onFocusOutside:t[1]||=e=>{C(e.target)&&e.preventDefault(),a(`focusOutside`,e)},onInteractOutside:t[2]||=e=>a(`interactOutside`,e),onEscapeKeyDown:t[3]||=e=>a(`escapeKeyDown`,e),onPointerDownOutside:t[4]||=e=>{C(e.target)&&e.preventDefault(),a(`pointerDownOutside`,e)}},{default:M(()=>[(n(),h(i(b(o)===`popper`?b(U):b(W)),D({...e.$attrs,...b(_)},{id:b(s).contentId,ref:b(l),"memo-dependencies":b(o)===`popper`?[b(s).filterSearch.value,b(s).filterState.value]:void 0,"data-state":b(s).open.value?`open`:`closed`,"data-empty":c.value?``:void 0,style:{display:r.hideWhenEmpty&&c.value?`none`:`flex`,flexDirection:`column`,outline:`none`,...b(o)===`popper`?x:{}}}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`id`,`memo-dependencies`,`data-state`,`data-empty`,`style`]))]),_:3},8,[`disable-outside-pointer-events`])]),_:3})]),_:3}))}}),yt=s({__name:`ComboboxArrow`,props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(e){let t=e,r=$(),i=gt();return q(),(e,a)=>b(r).open.value&&b(i).position.value===`popper`?(n(),h(b(ne),O(D({key:0},t)),{default:M(()=>[d(e.$slots,`default`)]),_:3},16)):o(`v-if`,!0)}}),bt=s({__name:`ComboboxCancel`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e;q();let r=$();function i(){r.filterSearch.value=``,r.inputElement.value&&(r.inputElement.value.value=``,r.inputElement.value.focus()),r.resetModelValueOnClear?.value&&(r.modelValue.value=r.multiple.value?[]:null)}return(e,r)=>(n(),h(b(W),D({type:e.as===`button`?`button`:void 0},t,{tabindex:`-1`,onClick:i}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`type`]))}}),xt=s({__name:`ComboboxContent`,props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},hideWhenEmpty:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`],setup(e,{emit:t}){let r=H(e,t),{forwardRef:i}=q(),a=$();return a.contentId||=V(void 0,`reka-combobox-content`),(e,t)=>(n(),h(b(Ne),{present:e.forceMount||b(a).open.value},{default:M(()=>[v(vt,D({...b(r),...e.$attrs},{ref:b(i)}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16)]),_:3},8,[`present`]))}}),St=s({__name:`ComboboxEmpty`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,r=$(),i=f(()=>r.ignoreFilter.value?r.allItems.value.size===0:r.filterState.value.count===0);return(e,r)=>i.value?(n(),h(b(W),O(D({key:0},t)),{default:M(()=>[d(e.$slots,`default`,{},()=>[r[0]||=c(`No options`)])]),_:3},16)):o(`v-if`,!0)}}),[Ct,wt]=ge(`ComboboxGroup`),Tt=s({__name:`ComboboxGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,r=V(void 0,`reka-combobox-group`),i=$(),a=f(()=>i.ignoreFilter.value?!0:!i.filterSearch.value||i.filterState.value.groups.has(r)),o=wt({id:r,labelId:``});return I(()=>{i.allGroups.value.has(r)||i.allGroups.value.set(r,new Set)}),m(()=>{i.allGroups.value.delete(r)}),(e,i)=>(n(),h(b(ot),D({id:b(r),"aria-labelledby":b(o).labelId},t,{hidden:!a.value||void 0}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`id`,`aria-labelledby`,`hidden`]))}}),Et=s({__name:`ComboboxInput`,props:{displayValue:{type:Function,required:!1},modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`input`}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=e,i=t,o=$(),s=et(),{primitiveElement:c,currentElement:l}=X(),u=K(r,`modelValue`,i,{passive:r.modelValue===void 0});I(()=>{l.value&&o.onInputElementChange(l.value)});let{isComposing:f,handleCompositionStart:p,handleCompositionEnd:m}=We(e=>{let t=e.target;t&&_(t.value)});function g(e){f.value||(e.preventDefault(),o.open.value||o.onOpenChange(!0))}function _(e){o.open.value?o.filterSearch.value=e:(o.onOpenChange(!0),C(()=>{e&&(o.filterSearch.value=e,s.highlightFirstItem())}))}function v(e){f.value||_(e.target.value)}function y(){o.openOnFocus.value&&!o.open.value&&o.onOpenChange(!0)}function x(e){if(!o.open.value)return;let t=e.relatedTarget;if(!t)return;let n=o.parentElement.value?.contains(t),r=document.getElementById(o.contentId)?.contains(t);!n&&!r&&requestAnimationFrame(()=>{if(!o.open.value)return;let e=document.activeElement;!o.parentElement.value?.contains(e)&&!document.getElementById(o.contentId)?.contains(e)&&o.onOpenChange(!1)})}function S(){o.openOnClick.value&&!o.open.value&&o.onOpenChange(!0)}function w(){let e=o.modelValue.value;r.displayValue?u.value=r.displayValue(e):!o.multiple.value&&e&&!Array.isArray(e)?typeof e==`object`?u.value=``:u.value=e.toString():u.value=``,C(()=>{u.value=u.value})}return o.onResetSearchTerm(()=>{w()}),A(o.modelValue,async()=>{!o.isUserInputted.value&&o.resetSearchTermOnSelect.value&&w()},{immediate:!0,deep:!0}),A(o.filterState,(e,t)=>{!o.isVirtual.value&&t.count===0&&s.highlightFirstItem()}),(e,t)=>(n(),h(b(rt),{ref_key:`primitiveElement`,ref:c,modelValue:b(u),"onUpdate:modelValue":t[0]||=e=>a(u)?u.value=e:null,as:e.as,"as-child":e.asChild,"auto-focus":e.autoFocus,disabled:e.disabled,"aria-expanded":b(o).open.value,"aria-controls":b(o).contentId,"aria-autocomplete":`list`,role:`combobox`,autocomplete:`off`,onClick:S,onInput:v,onKeydown:L(g,[`down`,`up`]),onFocus:y,onBlur:x,onCompositionstart:b(p),onCompositionend:b(m)},{default:M(()=>[d(e.$slots,`default`)]),_:3},8,[`modelValue`,`as`,`as-child`,`auto-focus`,`disabled`,`aria-expanded`,`aria-controls`,`onCompositionstart`,`onCompositionend`]))}}),Dt=s({__name:`ComboboxItem`,props:{textValue:{type:String,required:!1},value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let r=e,i=t,a=V(void 0,`reka-combobox-item`),s=$(),l=Ct(null),{primitiveElement:u,currentElement:p}=X();if(r.value===``)throw Error(`A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.`);let g=f(()=>{if(s.isVirtual.value||s.ignoreFilter.value||!s.filterSearch.value)return!0;{let e=s.filterState.value.items.get(a);return e===void 0||e>0}});return I(()=>{s.allItems.value.set(a,r.textValue||p.value.textContent||p.value.innerText);let e=l?.id;e&&(s.allGroups.value.has(e)?s.allGroups.value.get(e)?.add(a):s.allGroups.value.set(e,new Set([a])))}),m(()=>{s.allItems.value.delete(a)}),(e,t)=>g.value?T([g.value,b(s).filterSearch.value,b(s).disabled.value,e.disabled,r.value,r.as,r.asChild,...Object.values(e.$attrs)],()=>(n(),h(b(ut),D({key:0},r,{id:b(a),ref_key:`primitiveElement`,ref:u,disabled:b(s).disabled.value||e.disabled,onSelect:t[0]||=t=>{i(`select`,t),!t.defaultPrevented&&(!b(s).multiple.value&&!e.disabled&&!b(s).disabled.value?(t.preventDefault(),b(s).onOpenChange(!1),b(s).modelValue.value=r.value):b(s).multiple.value&&b(s).inputElement.value?.focus())}}),{default:M(()=>[d(e.$slots,`default`,{},()=>[c(S(e.value),1)])]),_:3},16,[`id`,`disabled`])),t,1):o(`v-if`,!0)}}),Ot=s({__name:`ComboboxItemIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e;return(e,r)=>(n(),h(b(dt),O(F(t)),{default:M(()=>[d(e.$slots,`default`)]),_:3},16))}}),kt=s({__name:`ComboboxLabel`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`div`}},setup(e){let t=e;q();let r=Ct({id:``,labelId:``});return r.labelId||=V(void 0,`reka-combobox-group-label`),(e,i)=>(n(),h(b(W),D(t,{id:b(r).labelId}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`id`]))}}),At=s({__name:`ComboboxPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,r)=>(n(),h(b(je),O(F(t)),{default:M(()=>[d(e.$slots,`default`)]),_:3},16))}}),jt=s({__name:`ComboboxSeparator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return q(),(e,r)=>(n(),h(b(W),D(t,{"aria-hidden":`true`}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16))}}),Mt=s({__name:`ComboboxTrigger`,props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,{forwardRef:r,currentElement:i}=q(),a=$(),o=f(()=>t.disabled||a.disabled.value||!1);return I(()=>{i.value&&a.onTriggerElementChange(i.value)}),(e,i)=>(n(),h(b(W),D(t,{ref:b(r),type:e.as===`button`?`button`:void 0,tabindex:`-1`,"aria-label":`Show popup`,"aria-haspopup":`listbox`,"aria-expanded":b(a).open.value,"aria-controls":b(a).contentId,"data-state":b(a).open.value?`open`:`closed`,disabled:o.value,"data-disabled":o.value?``:void 0,"aria-disabled":o.value??void 0,onClick:i[0]||=e=>b(a).onOpenChange(!b(a).open.value)}),{default:M(()=>[d(e.$slots,`default`)]),_:3},16,[`type`,`aria-expanded`,`aria-controls`,`data-state`,`disabled`,`data-disabled`,`aria-disabled`]))}}),Nt=s({__name:`ComboboxVirtualizer`,props:{options:{type:Array,required:!0},overscan:{type:Number,required:!1},estimateSize:{type:[Number,Function],required:!1},textContent:{type:Function,required:!1}},setup(e){let t=e,r=$();return r.isVirtual.value=!0,(e,r)=>(n(),h(ft,O(F(t)),{default:M(t=>[d(e.$slots,`default`,O(F(t)))]),_:3},16))}});function Pt(){let{contains:e,startsWith:t}=Ze({sensitivity:`base`});function n(n,r){return e(n,r)?e(r,n)?0:t(n,r)?1:2:null}function r(e,t,r){if(typeof e!=`object`||!e)return n(String(e),t);let i=null;for(let a of r){let r=G(e,a);if(r==null)continue;let o=Array.isArray(r)?r.map(String):[String(r)];for(let e of o){let r=n(e,t);if(r!==null&&(i===null||r<i)&&(i=r),i===0)return 0}}return i}function i(e,t,n){if(!t)return e;let i=[];for(let a of e){let e=r(a,t,n);e!==null&&i.push({item:a,score:e})}return i.sort((e,t)=>e.score-t.score),i.map(({item:e})=>e)}function a(e,t,n){return t?e.map(e=>{let i=[];for(let a of e){if(a==null)continue;if(n.isStructural?.(a)){i.push({item:a,score:-1});continue}let e=r(a,t,n.fields);e!==null&&i.push({item:a,score:e})}return i.sort((e,t)=>e.score-t.score),i.map(({item:e})=>e)}).filter(e=>e.some(e=>!n.isStructural?.(e))):e}return{score:n,scoreItem:r,filter:i,filterGroups:a}}function Ft(e,t){if(typeof e!=`object`||!e)return!1;let n=G(e,t);return n!=null&&n!==``}function It(e,t){return t?{xs:44,sm:48,md:52,lg:56,xl:60}[e]:{xs:24,sm:28,md:32,lg:36,xl:40}[e]}function Lt(e,t,n,r){let i=It(t,!0),a=It(t,!1);return r?()=>i:n?t=>Ft(e[t],n)?i:a:()=>a}var Rt={slots:{base:[`relative group rounded-md inline-flex items-center disabled:cursor-not-allowed disabled:opacity-75`,`transition-colors`],leading:`absolute inset-y-0 start-0 flex items-center`,leadingIcon:`shrink-0 text-dimmed`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,trailing:`absolute inset-y-0 end-0 flex items-center`,trailingIcon:`shrink-0 text-dimmed`,value:`truncate pointer-events-none`,placeholder:`truncate text-dimmed`,arrow:`fill-bg stroke-default`,content:[`max-h-[min(15rem,var(--reka-select-content-available-height,15rem))] w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col`,`max-h-[min(15rem,var(--reka-combobox-content-available-height,15rem))] origin-(--reka-combobox-content-transform-origin) w-(--reka-combobox-trigger-width)`],viewport:`relative scroll-py-1 overflow-y-auto flex-1`,group:`p-1 isolate`,empty:`text-center text-muted`,label:`font-semibold text-highlighted`,separator:`-mx-1 my-1 h-px bg-border`,item:[`group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50`,`transition-colors before:transition-colors`],itemLeadingIcon:[`shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default`,`transition-colors`],itemLeadingAvatar:`shrink-0`,itemLeadingAvatarSize:``,itemLeadingChip:`shrink-0`,itemLeadingChipSize:``,itemTrailing:`ms-auto inline-flex gap-1.5 items-center`,itemTrailingIcon:`shrink-0`,itemWrapper:`flex-1 flex flex-col min-w-0`,itemLabel:`truncate`,itemDescription:`truncate text-muted`,input:`border-b border-default`,focusScope:`flex flex-col min-h-0`,trailingClear:`p-0`},variants:{fieldGroup:{horizontal:`not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]`,vertical:`not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]`},size:{xs:{base:`px-2 py-1 text-xs gap-1`,leading:`ps-2`,trailing:`pe-2`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`,label:`p-1 text-[10px]/3 gap-1`,item:`p-1 text-xs gap-1`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemLeadingChip:`size-4`,itemLeadingChipSize:`sm`,itemTrailingIcon:`size-4`,empty:`p-2 text-xs`},sm:{base:`px-2.5 py-1.5 text-xs gap-1.5`,leading:`ps-2.5`,trailing:`pe-2.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`,label:`p-1.5 text-[10px]/3 gap-1.5`,item:`p-1.5 text-xs gap-1.5`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemLeadingChip:`size-4`,itemLeadingChipSize:`sm`,itemTrailingIcon:`size-4`,empty:`p-2.5 text-xs`},md:{base:`px-2.5 py-1.5 text-sm gap-1.5`,leading:`ps-2.5`,trailing:`pe-2.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`,label:`p-1.5 text-xs gap-1.5`,item:`p-1.5 text-sm gap-1.5`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemLeadingChip:`size-5`,itemLeadingChipSize:`md`,itemTrailingIcon:`size-5`,empty:`p-2.5 text-sm`},lg:{base:`px-3 py-2 text-sm gap-2`,leading:`ps-3`,trailing:`pe-3`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`,label:`p-2 text-xs gap-2`,item:`p-2 text-sm gap-2`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemLeadingChip:`size-5`,itemLeadingChipSize:`md`,itemTrailingIcon:`size-5`,empty:`p-3 text-sm`},xl:{base:`px-3 py-2 text-base gap-2`,leading:`ps-3`,trailing:`pe-3`,leadingIcon:`size-6`,leadingAvatarSize:`xs`,trailingIcon:`size-6`,label:`p-2 text-sm gap-2`,item:`p-2 text-base gap-2`,itemLeadingIcon:`size-6`,itemLeadingAvatarSize:`xs`,itemLeadingChip:`size-6`,itemLeadingChipSize:`lg`,itemTrailingIcon:`size-6`,empty:`p-3 text-base`}},variant:{outline:`text-highlighted bg-default ring ring-inset ring-accented hover:bg-elevated disabled:bg-default`,soft:`text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50`,subtle:`text-highlighted bg-elevated ring ring-inset ring-accented hover:bg-accented/75 disabled:bg-elevated`,ghost:`text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent`,none:`text-highlighted bg-transparent focus:outline-none`},color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},leading:{true:``},trailing:{true:``},loading:{true:``},highlight:{true:``},fixed:{false:``},type:{file:`file:me-1.5 file:font-medium file:text-muted file:outline-none`},position:{popper:{content:`data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]`},"item-aligned":{content:``}},multiple:{true:``},virtualize:{true:{viewport:`p-1 isolate`},false:{viewport:`divide-y divide-default`}}},compoundVariants:[{color:`primary`,variant:[`outline`,`subtle`],class:`outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:[`outline`,`subtle`],class:`outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:[`outline`,`subtle`],class:`outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:[`outline`,`subtle`],class:`outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:[`outline`,`subtle`],class:`outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:[`outline`,`subtle`],class:`outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:[`soft`,`ghost`],class:`outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:[`soft`,`ghost`],class:`outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:[`soft`,`ghost`],class:`outline-success/25 focus-visible:outline-3`},{color:`info`,variant:[`soft`,`ghost`],class:`outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:[`soft`,`ghost`],class:`outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:[`soft`,`ghost`],class:`outline-error/25 focus-visible:outline-3`},{color:`primary`,highlight:!0,class:`ring ring-inset ring-primary`},{color:`secondary`,highlight:!0,class:`ring ring-inset ring-secondary`},{color:`success`,highlight:!0,class:`ring ring-inset ring-success`},{color:`info`,highlight:!0,class:`ring ring-inset ring-info`},{color:`warning`,highlight:!0,class:`ring ring-inset ring-warning`},{color:`error`,highlight:!0,class:`ring ring-inset ring-error`},{color:`neutral`,variant:[`outline`,`subtle`],class:`outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:[`soft`,`ghost`],class:`outline-inverted/25 focus-visible:outline-3`},{color:`neutral`,highlight:!0,class:`ring ring-inset ring-inverted`},{leading:!0,size:`xs`,class:`ps-7`},{leading:!0,size:`sm`,class:`ps-8`},{leading:!0,size:`md`,class:`ps-9`},{leading:!0,size:`lg`,class:`ps-10`},{leading:!0,size:`xl`,class:`ps-11`},{trailing:!0,size:`xs`,class:`pe-7`},{trailing:!0,size:`sm`,class:`pe-8`},{trailing:!0,size:`md`,class:`pe-9`},{trailing:!0,size:`lg`,class:`pe-10`},{trailing:!0,size:`xl`,class:`pe-11`},{loading:!0,leading:!0,class:{leadingIcon:`animate-spin`}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:`animate-spin`}},{fixed:!1,size:`xs`,class:`md:text-xs`},{fixed:!1,size:`sm`,class:`md:text-xs`},{fixed:!1,size:`md`,class:`md:text-sm`},{fixed:!1,size:`lg`,class:`md:text-sm`}],defaultVariants:{size:`md`,color:`primary`,variant:`outline`,position:`popper`}},zt=Object.assign({inheritAttrs:!1},{__name:`USelectMenu`,props:k({id:{type:String,required:!1},placeholder:{type:String,required:!1},searchInput:{type:[Boolean,Object],required:!1,default:!0},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},selectedIcon:{type:null,required:!1},clear:{type:[Boolean,Object],required:!1},clearIcon:{type:null,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},virtualize:{type:[Boolean,Object],required:!1,default:!1},valueKey:{type:null,required:!1},labelKey:{type:null,required:!1,default:`label`},descriptionKey:{type:null,required:!1,default:`description`},items:{type:null,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},multiple:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},createItem:{type:[Boolean,String,Object],required:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},resetSearchTermOnBlur:{type:Boolean,required:!1,default:!0},resetSearchTermOnSelect:{type:Boolean,required:!1,default:!0},resetModelValueOnClear:{type:Boolean,required:!1,default:!0},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},{searchTerm:{type:String,default:``},searchTermModifiers:{}}),emits:k([`change`,`blur`,`focus`,`create`,`clear`,`highlight`,`update:modelValue`,`update:open`],[`update:searchTerm`]),setup(e,{expose:i,emit:a}){let s=e,m=a,y=t(),T=ue(`selectMenu`,s),E=x(e,`searchTerm`,{type:String,default:``}),{t:k}=Te(),j=De(),{filterGroups:P}=Pt(),L=we(ve(T,`modelValue`,`defaultValue`,`open`,`defaultOpen`,`required`,`multiple`,`resetSearchTermOnBlur`,`resetSearchTermOnSelect`,`resetModelValueOnClear`,`highlightOnHover`,`by`),m),B=Me(r(()=>T.portal)),V=r(()=>z(T.content,{side:`bottom`,sideOffset:8,collisionPadding:8,position:`popper`})),H=r(()=>z(T.arrow,{rounded:!0})),te=f(()=>typeof T.clear==`object`?T.clear:{}),ne=r(()=>T.virtualize?z(typeof T.virtualize==`boolean`?{}:T.virtualize,{estimateSize:Lt(qe.value,Le.value||`md`,T.descriptionKey,!!y[`item-description`])}):!1),re=r(()=>z(T.searchInput,{placeholder:k(`selectMenu.search`),variant:`none`})),{emitFormBlur:U,emitFormFocus:W,emitFormInput:ae,emitFormChange:oe,size:se,color:me,id:ge,name:Ee,highlight:Oe,disabled:ke,ariaAttrs:Ae}=be(s),{orientation:je,size:Ne}=_e(s),{isLeading:K,isTrailing:q,leadingIconName:Fe,trailingIconName:Ie}=he(r(()=>z(T,{trailingIcon:j.ui.icons.chevronDown}))),Le=f(()=>Ne.value||se.value),[ze,Be]=Pe(),[Ve,He]=Pe({props:{item:{type:[Object,String,Number,Boolean],required:!0},index:{type:Number,required:!1}}}),J=f(()=>xe({extend:Rt,...j.ui?.selectMenu||{}})({color:me.value??T.color,variant:T.variant,size:Le?.value??T.size,loading:T.loading,highlight:Oe.value??T.highlight,leading:K.value||!!T.avatar||!!y.leading,trailing:q.value||!!y.trailing,fieldGroup:je.value,virtualize:!!T.virtualize,multiple:T.multiple}));function Ue(e){if(T.multiple&&Array.isArray(e)){let t=e.map(e=>ie(Ge.value,e,{labelKey:T.labelKey,valueKey:T.valueKey,by:T.by})).filter(e=>e!=null&&e!==``);return t.length>0?t.join(`, `):void 0}return ie(Ge.value,e,{labelKey:T.labelKey,valueKey:T.valueKey,by:T.by})}let We=f(()=>T.items?.length?Se(T.items)?T.items:[T.items]:[]),Ge=f(()=>We.value.flatMap(e=>e)),Ke=f(()=>{if(T.ignoreFilter||!E.value)return We.value;let e=Array.isArray(T.filterFields)?T.filterFields:[T.labelKey];return P(We.value,E.value,{fields:e,isStructural:e=>Q(e)&&!!e.type&&[`label`,`separator`].includes(e.type)})}),qe=f(()=>Ke.value.flatMap(e=>e)),Y=f(()=>{if(!T.createItem||!E.value)return!1;let e=T.valueKey?{[T.valueKey]:E.value}:E.value;return typeof T.createItem==`object`&&T.createItem.when===`always`||T.createItem===`always`?!qe.value.find(t=>Ce(t,e,T.by??T.valueKey)):!qe.value.length}),X=f(()=>typeof T.createItem==`object`?T.createItem.position:`bottom`),Ye=w(`triggerRef`);function Xe(){T.autofocus&&Ye.value?.$el?.focus({focusVisible:!0})}I(()=>{setTimeout(()=>{Xe()},T.autofocusDelay)});function Ze(e){if(ee(T.modelValue)===e)return;T.modelModifiers?.trim&&(typeof e==`string`||e==null)&&(e=e?.trim()??null),T.modelModifiers?.number&&(e=ce(e)),T.modelModifiers?.nullable&&(e??=null),T.modelModifiers?.optional&&!T.modelModifiers?.nullable&&e!==null&&(e??=void 0);let t=new Event(`change`,{target:{value:e}});m(`change`,t),oe(),ae(),T.resetSearchTermOnSelect&&(E.value=``)}let Qe=g(!1);function $e(e){Qe.value=e;let t;if(e){let e=new FocusEvent(`focus`);m(`focus`,e),W(),clearTimeout(t)}else{let e=new FocusEvent(`blur`);m(`blur`,e),U(),T.resetSearchTermOnBlur&&(t=setTimeout(()=>{E.value=``},100))}}function Z(e){e.preventDefault(),e.stopPropagation(),m(`create`,E.value)}function et(e,t){if(Q(t)){if(t.disabled){e.preventDefault();return}t.onSelect?.(e)}}function Q(e){return typeof e==`object`&&!!e}function tt(e){return T.multiple&&Array.isArray(e)?e.length===0:e==null||e===``}function nt(){m(`clear`)}let rt=w(`viewportRef`),it=w(`comboboxRootRef`);return A(()=>T.items,async()=>{!Qe.value||!T.createItem||(await C(),it.value?.highlightFirstItem?.())},{flush:`post`}),i({triggerRef:r(()=>Ye.value?.$el),viewportRef:r(()=>rt.value)}),(e,t)=>(n(),l(_,null,[v(b(ze),null,{default:M(()=>[v(b(Dt),{"data-slot":`item`,class:N(J.value.item({class:b(T).ui?.item})),value:E.value,onSelect:Z},{default:M(()=>[p(`span`,{"data-slot":`itemLabel`,class:N(J.value.itemLabel({class:b(T).ui?.itemLabel}))},[d(e.$slots,`create-item-label`,{item:E.value},()=>[c(S(b(k)(`selectMenu.create`,{label:E.value})),1)])],2)]),_:3},8,[`class`,`value`])]),_:3}),v(b(Ve),null,{default:M(({item:t,index:r})=>[Q(t)&&t.type===`label`?(n(),h(b(kt),{key:0,"data-slot":`label`,class:N(J.value.label({class:[b(T).ui?.label,t.ui?.label,t.class]}))},{default:M(()=>[c(S(b(G)(t,b(T).labelKey)),1)]),_:2},1032,[`class`])):Q(t)&&t.type===`separator`?(n(),h(b(jt),{key:1,"data-slot":`separator`,class:N(J.value.separator({class:[b(T).ui?.separator,t.ui?.separator,t.class]}))},null,8,[`class`])):(n(),h(b(Dt),{key:2,"data-slot":`item`,class:N(J.value.item({class:[b(T).ui?.item,Q(t)&&t.ui?.item,Q(t)&&t.class]})),disabled:Q(t)&&t.disabled,value:b(T).valueKey&&Q(t)?b(G)(t,b(T).valueKey):t,onSelect:e=>et(e,t)},{default:M(()=>[d(e.$slots,`item`,{item:t,index:r,ui:J.value},()=>[d(e.$slots,`item-leading`,{item:t,index:r,ui:J.value},()=>[Q(t)&&t.icon?(n(),h(le,{key:0,name:t.icon,"data-slot":`itemLeadingIcon`,class:N(J.value.itemLeadingIcon({class:[b(T).ui?.itemLeadingIcon,t.ui?.itemLeadingIcon]}))},null,8,[`name`,`class`])):Q(t)&&t.avatar?(n(),h(pe,D({key:1,size:t.ui?.itemLeadingAvatarSize||b(T).ui?.itemLeadingAvatarSize||J.value.itemLeadingAvatarSize()},t.avatar,{"data-slot":`itemLeadingAvatar`,class:J.value.itemLeadingAvatar({class:[b(T).ui?.itemLeadingAvatar,t.ui?.itemLeadingAvatar]})}),null,16,[`size`,`class`])):Q(t)&&t.chip?(n(),h(fe,D({key:2,size:t.ui?.itemLeadingChipSize||b(T).ui?.itemLeadingChipSize||J.value.itemLeadingChipSize(),inset:``,standalone:``},t.chip,{"data-slot":`itemLeadingChip`,class:J.value.itemLeadingChip({class:[b(T).ui?.itemLeadingChip,t.ui?.itemLeadingChip]})}),null,16,[`size`,`class`])):o(``,!0)]),p(`span`,{"data-slot":`itemWrapper`,class:N(J.value.itemWrapper({class:[b(T).ui?.itemWrapper,Q(t)&&t.ui?.itemWrapper]}))},[p(`span`,{"data-slot":`itemLabel`,class:N(J.value.itemLabel({class:[b(T).ui?.itemLabel,Q(t)&&t.ui?.itemLabel]}))},[d(e.$slots,`item-label`,{item:t,index:r},()=>[c(S(Q(t)?b(G)(t,b(T).labelKey):t),1)])],2),Q(t)&&(b(G)(t,b(T).descriptionKey)||y[`item-description`])?(n(),l(`span`,{key:0,"data-slot":`itemDescription`,class:N(J.value.itemDescription({class:[b(T).ui?.itemDescription,Q(t)&&t.ui?.itemDescription]}))},[d(e.$slots,`item-description`,{item:t,index:r},()=>[c(S(b(G)(t,b(T).descriptionKey)),1)])],2)):o(``,!0)],2),p(`span`,{"data-slot":`itemTrailing`,class:N(J.value.itemTrailing({class:[b(T).ui?.itemTrailing,Q(t)&&t.ui?.itemTrailing]}))},[d(e.$slots,`item-trailing`,{item:t,index:r,ui:J.value}),v(b(Ot),{"as-child":``},{default:M(()=>[v(le,{name:b(T).selectedIcon||b(j).ui.icons.check,"data-slot":`itemTrailingIcon`,class:N(J.value.itemTrailingIcon({class:[b(T).ui?.itemTrailingIcon,Q(t)&&t.ui?.itemTrailingIcon]}))},null,8,[`name`,`class`])]),_:2},1024)],2)])]),_:2},1032,[`class`,`disabled`,`value`,`onSelect`]))]),_:3}),v(b(mt),D({ref_key:`comboboxRootRef`,ref:it},b(L),{"ignore-filter":``,"as-child":``,name:b(Ee),disabled:b(ke),"onUpdate:modelValue":Ze,"onUpdate:open":$e}),{default:M(({modelValue:r,open:i})=>[v(b(ht),{"as-child":``},{default:M(()=>[v(b(Mt),D({id:b(ge),ref_key:`triggerRef`,ref:Ye,"data-slot":`base`,class:J.value.base({class:[b(T).ui?.base,b(T).class]}),tabindex:`0`},{...e.$attrs,...b(Ae)}),{default:M(()=>[b(K)||b(T).avatar||y.leading?(n(),l(`span`,{key:0,"data-slot":`leading`,class:N(J.value.leading({class:b(T).ui?.leading}))},[d(e.$slots,`leading`,{modelValue:r,open:i,ui:J.value},()=>[b(K)&&b(Fe)?(n(),h(le,{key:0,name:b(Fe),"data-slot":`leadingIcon`,class:N(J.value.leadingIcon({class:b(T).ui?.leadingIcon}))},null,8,[`name`,`class`])):b(T).avatar?(n(),h(pe,D({key:1,size:b(T).ui?.itemLeadingAvatarSize||J.value.itemLeadingAvatarSize()},b(T).avatar,{"data-slot":`itemLeadingAvatar`,class:J.value.itemLeadingAvatar({class:b(T).ui?.itemLeadingAvatar})}),null,16,[`size`,`class`])):o(``,!0)])],2)):o(``,!0),d(e.$slots,`default`,{modelValue:r,open:i,ui:J.value},()=>[(n(!0),l(_,null,u([Ue(r)],e=>(n(),l(_,{key:e},[e==null?(n(),l(`span`,{key:1,"data-slot":`placeholder`,class:N(J.value.placeholder({class:b(T).ui?.placeholder}))},S(b(T).placeholder??`\xA0`),3)):(n(),l(`span`,{key:0,"data-slot":`value`,class:N(J.value.value({class:b(T).ui?.value}))},S(e),3))],64))),128))]),b(q)||y.trailing||b(T).clear?(n(),l(`span`,{key:1,"data-slot":`trailing`,class:N(J.value.trailing({class:b(T).ui?.trailing}))},[d(e.$slots,`trailing`,{modelValue:r,open:i,ui:J.value},()=>[b(T).clear&&!tt(r)?(n(),h(b(bt),{key:0,"as-child":``},{default:M(()=>[v(ye,D({as:`span`,icon:b(T).clearIcon||b(j).ui.icons.close,size:Le.value,variant:`link`,color:`neutral`,tabindex:`-1`},te.value,{"data-slot":`trailingClear`,class:J.value.trailingClear({class:b(T).ui?.trailingClear}),onClick:R(nt,[`stop`])}),null,16,[`icon`,`size`,`class`])]),_:1})):b(Ie)?(n(),h(le,{key:1,name:b(Ie),"data-slot":`trailingIcon`,class:N(J.value.trailingIcon({class:b(T).ui?.trailingIcon}))},null,8,[`name`,`class`])):o(``,!0)])],2)):o(``,!0)]),_:2},1040,[`id`,`class`])]),_:2},1024),v(b(At),O(F(b(B))),{default:M(()=>[v(b(de),null,{default:M(()=>[v(b(xt),D({"data-slot":`content`,class:J.value.content({class:b(T).ui?.content})},V.value),{default:M(()=>[v(b(Re),{trapped:``,"data-slot":`focusScope`,class:N(J.value.focusScope({class:b(T).ui?.focusScope}))},{default:M(()=>[d(e.$slots,`content-top`),b(T).searchInput?(n(),h(b(Et),{key:0,modelValue:E.value,"onUpdate:modelValue":t[1]||=e=>E.value=e,"display-value":()=>E.value,"as-child":``},{default:M(()=>[v(Je,D({autofocus:``,autocomplete:`off`,size:Le.value},re.value,{"model-modifiers":{trim:b(T).modelModifiers?.trim},"data-slot":`input`,class:J.value.input({class:b(T).ui?.input}),onChange:t[0]||=R(()=>{},[`stop`])}),null,16,[`size`,`model-modifiers`,`class`])]),_:1},8,[`modelValue`,`display-value`])):o(``,!0),v(b(St),{"data-slot":`empty`,class:N(J.value.empty({class:b(T).ui?.empty}))},{default:M(()=>[d(e.$slots,`empty`,{searchTerm:E.value},()=>[c(S(E.value?b(k)(`selectMenu.noMatch`,{searchTerm:E.value}):b(k)(`selectMenu.noData`)),1)])]),_:3},8,[`class`]),p(`div`,{ref_key:`viewportRef`,ref:rt,role:`presentation`,"data-slot":`viewport`,class:N(J.value.viewport({class:b(T).ui?.viewport}))},[b(T).virtualize?(n(),l(_,{key:0},[Y.value&&X.value===`top`?(n(),h(b(Be),{key:0})):o(``,!0),v(b(Nt),D({options:qe.value,"text-content":e=>Q(e)?b(G)(e,b(T).labelKey):String(e)},ne.value),{default:M(({option:e,virtualItem:t})=>[v(b(He),{item:e,index:t.index},null,8,[`item`,`index`])]),_:1},16,[`options`,`text-content`]),Y.value&&X.value===`bottom`?(n(),h(b(Be),{key:1})):o(``,!0)],64)):(n(),l(_,{key:1},[Y.value&&X.value===`top`?(n(),h(b(Tt),{key:0,"data-slot":`group`,class:N(J.value.group({class:b(T).ui?.group}))},{default:M(()=>[v(b(Be))]),_:1},8,[`class`])):o(``,!0),(n(!0),l(_,null,u(Ke.value,(e,t)=>(n(),h(b(Tt),{key:`group-${t}`,"data-slot":`group`,class:N(J.value.group({class:b(T).ui?.group}))},{default:M(()=>[(n(!0),l(_,null,u(e,(e,r)=>(n(),h(b(He),{key:`group-${t}-${r}`,item:e,index:r},null,8,[`item`,`index`]))),128))]),_:2},1032,[`class`]))),128)),Y.value&&X.value===`bottom`?(n(),h(b(Tt),{key:1,"data-slot":`group`,class:N(J.value.group({class:b(T).ui?.group}))},{default:M(()=>[v(b(Be))]),_:1},8,[`class`])):o(``,!0)],64))],2),d(e.$slots,`content-bottom`)]),_:3},8,[`class`]),b(T).arrow?(n(),h(b(yt),D({key:0},H.value,{"data-slot":`arrow`,class:J.value.arrow({class:b(T).ui?.arrow})}),null,16,[`class`])):o(``,!0)]),_:3},16,[`class`])]),_:3})]),_:3},16)]),_:3},16,[`name`,`disabled`])],64))}}),Bt=Object.assign(s({__name:`CompletedTaskSelect`,props:k({class:{},icon:{default:`i-lucide-list-check`}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=x(e,`modelValue`),r=Ye(),i=f(()=>r.files.value.filter(e=>e.kind===`uomtiles`&&e.summary?.state===`completed`).map(e=>({label:r.displayWorkspaceName(e.filename),value:e.filename}))),o=f({get:()=>i.value.some(e=>e.value===t.value)?t.value:void 0,set:e=>{t.value=e}});return(t,s)=>{let c=zt;return n(),h(c,{modelValue:b(o),"onUpdate:modelValue":s[0]||=e=>a(o)?o.value=e:null,items:b(i),"value-key":`value`,"label-key":`label`,icon:e.icon,loading:!b(r).ready.value,placeholder:`快速选取已完成任务`,class:N(e.class)},null,8,[`modelValue`,`items`,`icon`,`loading`,`class`])}}}),{__name:`CompletedTaskSelect`});export{zt as n,Bt as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{At as e,En as t,F as n,G as r,Hn as i,I as a,M as o,N as s,P as c,Pn as l,U as u,Wn as d,Zt as f,_r as p,_t as ee,cn as te,gr as m,ht as h,ln as g,pr as _,wt as ne}from"./C97TfNgP.js";import{D as v,R as re,at as y,b as ie,it as ae,st as oe,t as se,v as b}from"./nGp0t_eD.js";import{r as ce}from"./3B2XYGg4.js";import{r as le}from"./D4gbGuiW.js";import{o as ue}from"./0hm88Oke.js";import{t as de}from"./BNfSclJ4.js";import{c as x,o as fe}from"./DIIXHC50.js";import{n as pe,r as me,t as he}from"./DfXX-x_z.js";import{t as ge}from"./CQ8inUdm.js";import{n as _e,r as ve,t as ye}from"./IfL46N3Z.js";import{t as be}from"./DpIPeY5m.js";import{t as xe}from"./C7fHMLd7.js";import{r as Se,t as Ce}from"#entry";import{t as we}from"./Q79ec-Ro.js";import{r as Te,t as Ee}from"./DDp9lK3g.js";import{t as De}from"./CzFefJH0.js";import{t as Oe}from"./CNs_Ozdc.js";var S=255,C=100,w=125,ke=150,T,E,D,Ae;(function(e){e.HEX=`HEX`,e.RGB=`RGB`,e.HWB=`HWB`,e.HSL=`HSL`,e.CIELab=`CIELab`,e.LCH=`LCH`,e.CMYK=`CMYK`})(T||={}),function(e){e.ANALOGOUS=`ANALOGOUS`,e.COMPLEMENTARY=`COMPLEMENTARY`,e.SPLIT_COMPLEMENTARY=`SPLIT_COMPLEMENTARY`,e.TRIADIC=`TRIADIC`,e.TETRADIC=`TETRADIC`,e.SQUARE=`SQUARE`}(E||={}),function(e){e.ADDITIVE=`ADDITIVE`,e.SUBTRACTIVE=`SUBTRACTIVE`}(D||={}),function(e){e.black=`#000000`,e.silver=`#C0C0C0`,e.gray=`#808080`,e.white=`#FFFFFF`,e.maroon=`#800000`,e.red=`#FF0000`,e.purple=`#800080`,e.fuchsia=`#FF00FF`,e.green=`#008000`,e.lime=`#00FF00`,e.olive=`#808000`,e.yellow=`#FFFF00`,e.navy=`#000080`,e.blue=`#0000FF`,e.teal=`#008080`,e.aqua=`#00FFFF`,e.orange=`#FFA500`,e.aliceblue=`#F0F8FF`,e.antiquewhite=`#FAEBD7`,e.aquamarine=`#7FFFD4`,e.azure=`#F0FFFF`,e.beige=`#F5F5DC`,e.bisque=`#FFE4C4`,e.blanchedalmond=`#FFEBCD`,e.blueviolet=`#8A2BE2`,e.brown=`#A52A2A`,e.burlywood=`#DEB887`,e.cadetblue=`#5F9EA0`,e.chartreuse=`#7FFF00`,e.chocolate=`#D2691E`,e.coral=`#FF7F50`,e.cornflowerblue=`#6495ED`,e.cornsilk=`#FFF8DC`,e.crimson=`#DC143C`,e.cyan=`#00FFFF`,e.darkblue=`#00008B`,e.darkcyan=`#008B8B`,e.darkgoldenrod=`#B8860B`,e.darkgray=`#A9A9A9`,e.darkgreen=`#006400`,e.darkgrey=`#A9A9A9`,e.darkkhaki=`#BDB76B`,e.darkmagenta=`#8B008B`,e.darkolivegreen=`#556B2F`,e.darkorange=`#FF8C00`,e.darkorchid=`#9932CC`,e.darkred=`#8B0000`,e.darksalmon=`#E9967A`,e.darkseagreen=`#8FBC8F`,e.darkslateblue=`#483D8B`,e.darkslategray=`#2F4F4F`,e.darkslategrey=`#2F4F4F`,e.darkturquoise=`#00CED1`,e.darkviolet=`#9400D3`,e.deeppink=`#FF1493`,e.deepskyblue=`#00BFFF`,e.dimgray=`#696969`,e.dimgrey=`#696969`,e.dodgerblue=`#1E90FF`,e.firebrick=`#B22222`,e.floralwhite=`#FFFAF0`,e.forestgreen=`#228B22`,e.gainsboro=`#DCDCDC`,e.ghostwhite=`#F8F8FF`,e.gold=`#FFD700`,e.goldenrod=`#DAA520`,e.greenyellow=`#ADFF2F`,e.grey=`#808080`,e.honeydew=`#F0FFF0`,e.hotpink=`#FF69B4`,e.indianred=`#CD5C5C`,e.indigo=`#4B0082`,e.ivory=`#FFFFF0`,e.khaki=`#F0E68C`,e.lavender=`#E6E6FA`,e.lavenderblush=`#FFF0F5`,e.lawngreen=`#7CFC00`,e.lemonchiffon=`#FFFACD`,e.lightblue=`#ADD8E6`,e.lightcoral=`#F08080`,e.lightcyan=`#E0FFFF`,e.lightgoldenrodyellow=`#FAFAD2`,e.lightgray=`#D3D3D3`,e.lightgreen=`#90EE90`,e.lightgrey=`#D3D3D3`,e.lightpink=`#FFB6C1`,e.lightsalmon=`#FFA07A`,e.lightseagreen=`#20B2AA`,e.lightskyblue=`#87CEFA`,e.lightslategray=`#778899`,e.lightslategrey=`#778899`,e.lightsteelblue=`#B0C4DE`,e.lightyellow=`#FFFFE0`,e.limegreen=`#32CD32`,e.linen=`#FAF0E6`,e.magenta=`#FF00FF`,e.mediumaquamarine=`#66CDAA`,e.mediumblue=`#0000CD`,e.mediumorchid=`#BA55D3`,e.mediumpurple=`#9370DB`,e.mediumseagreen=`#3CB371`,e.mediumslateblue=`#7B68EE`,e.mediumspringgreen=`#00FA9A`,e.mediumturquoise=`#48D1CC`,e.mediumvioletred=`#C71585`,e.midnightblue=`#191970`,e.mintcream=`#F5FFFA`,e.mistyrose=`#FFE4E1`,e.moccasin=`#FFE4B5`,e.navajowhite=`#FFDEAD`,e.oldlace=`#FDF5E6`,e.olivedrab=`#6B8E23`,e.orangered=`#FF4500`,e.orchid=`#DA70D6`,e.palegoldenrod=`#EEE8AA`,e.palegreen=`#98FB98`,e.paleturquoise=`#AFEEEE`,e.palevioletred=`#DB7093`,e.papayawhip=`#FFEFD5`,e.peachpuff=`#FFDAB9`,e.peru=`#CD853F`,e.pink=`#FFC0CB`,e.plum=`#DDA0DD`,e.powderblue=`#B0E0E6`,e.rosybrown=`#BC8F8F`,e.royalblue=`#4169E1`,e.saddlebrown=`#8B4513`,e.salmon=`#FA8072`,e.sandybrown=`#F4A460`,e.seagreen=`#2E8B57`,e.seashell=`#FFF5EE`,e.sienna=`#A0522D`,e.skyblue=`#87CEEB`,e.slateblue=`#6A5ACD`,e.slategray=`#708090`,e.slategrey=`#708090`,e.snow=`#FFFAFA`,e.springgreen=`#00FF7F`,e.steelblue=`#4682B4`,e.tan=`#D2B48C`,e.thistle=`#D8BFD8`,e.tomato=`#FF6347`,e.turquoise=`#40E0D0`,e.violet=`#EE82EE`,e.wheat=`#F5DEB3`,e.whitesmoke=`#F5F5F5`,e.yellowgreen=`#9ACD32`,e.rebeccapurple=`#663399`}(Ae||={});var je=Object.keys(Ae),Me={HEX:[`R`,`G`,`B`,`A`],RGB:[`R`,`G`,`B`,`A`],HSL:[`H`,`S`,`L`,`A`],HWB:[`H`,`W`,`B`,`A`],CIELab:[`L`,`a`,`b`,`A`],LCH:[`L`,`C`,`H`,`A`],CMYK:[`C`,`M`,`Y`,`K`,`A`]},Ne={ABGR:T.RGB,ABHW:T.HWB,ACHL:T.LCH,ACKMY:T.CMYK,AHLS:T.HSL,ALAB:T.CIELab,BGR:T.RGB,BHW:T.HWB,CHL:T.LCH,CKMY:T.CMYK,HLS:T.HSL,LAB:T.CIELab},Pe;(function(e){e.NUMBER=`number`,e.BOOLEAN=`boolean`})(Pe||={});var O={[T.HEX]:/^#(?:(?<r>[a-f\d])(?<g>[a-f\d])(?<b>[a-f\d])(?<a>[a-f\d])?|(?<rr>[a-f\d]{2})(?<gg>[a-f\d]{2})(?<bb>[a-f\d]{2})(?<aa>[a-f\d]{2})?)$/i,[T.RGB]:/^rgba?\s*\(\s*(?:(?<r_legacy>(?:\d*\.)?\d+%?)\s*,\s*(?<g_legacy>(?:\d*\.)?\d+%?)\s*,\s*(?<b_legacy>(?:\d*\.)?\d+%?)(?:\s*,\s*(?<a_legacy>(?:\d*\.)?\d+))?|(?<r>(?:\d*\.)?\d+%?)\s+(?<g>(?:\d*\.)?\d+%?)\s+(?<b>(?:\d*\.)?\d+%?)(?:\s*\/\s*(?<a>(?:\d*\.)?\d+%?))?|from\s+(?<from>(?:\w+|\w+\(\s*[^())]+\s*\)|\w+\(from\s+\w+\(.*\)\s*\)|#[a-fA-F\d]+))\s+(?<relative_r>(?:[rgb]|(?:\d*\.)?\d+|calc\([rgb()/*\-+\d.\s]+\)))\s+(?<relative_g>(?:[rgb]|(?:\d*\.)?\d+|calc\([rgb()/*\-+\d.\s]+\)))\s+(?<relative_b>(?:[rgb]|(?:\d*\.)?\d+|calc\([rgb()/*\-+\d.\s]+\)))(?:\s*\/\s*(?<relative_a>(?:(?:\d*\.)?\d+%?|calc\([()/*\-+\d.\s\w]*(?:alpha)?[()/*\-+\d.\s\w]*\)|alpha)))?)\s*\)$/,[T.HWB]:/^hwb\s*\(\s*(?:(?<h>(?:\d*\.)?\d+(?:deg|grad|rad|turn)?)\s+(?<w>(?:\d*\.)?\d+)%\s+(?<b>(?:\d*\.)?\d+)%(?:\s*\/\s*(?<a>(?:\d*\.)?\d+%?))?|from\s+(?<from>(?:\w+|\w+\(\s*[^())]+\s*\)|\w+\(from\s+\w+\(.*\)\s*\)|#[a-fA-F\d]+))\s+(?<relative_h>(?:[hwb]|(?:\d*\.)?\d+|calc\([hwb()/*\-+\d.\s]+\)))\s+(?<relative_w>(?:[hwb]|(?:\d*\.)?\d+|calc\([hwb()/*\-+\d.\s]+\)))%?\s+(?<relative_b>(?:[hwb]|(?:\d*\.)?\d+|calc\([hwb()/*\-+\d.\s]+\)))%?(?:\s*\/\s*(?<relative_a>(?:(?:\d*\.)?\d+%?|calc\([()/*\-+\d.\s\w]*(?:alpha)?[()/*\-+\d.\s\w]*\)|alpha)))?)\s*\)$/,[T.HSL]:/^hsla?\s*\(\s*(?:(?<h_legacy>-?(?:\d*\.)?\d+(?:deg|grad|rad|turn)?)\s*,\s*(?<s_legacy>(?:\d*\.)?\d+)%\s*,\s*(?<l_legacy>(?:\d*\.)?\d+)%(?:\s*,\s*(?<a_legacy>(?:\d*\.)?\d+))?|(?<h>-?(?:\d*\.)?\d+(?:deg|grad|rad|turn)?)\s+(?<s>(?:\d*\.)?\d+)%?\s+(?<l>(?:\d*\.)?\d+)%?(?:\s*\/\s*(?<a>(?:\d*\.)?\d+%?))?|from\s+(?<from>(?:\w+|\w+\(\s*[^())]+\s*\)|\w+\(from\s+\w+\(.*\)\s*\)|#[a-fA-F\d]+))\s+(?<relative_h>(?:[hsl]|(?:\d*\.)?\d+|calc\([hsl()/*\-+\d.\s]+\)))\s+(?<relative_s>(?:[hsl]|(?:\d*\.)?\d+|calc\([hsl()/*\-+\d.\s]+\)))%?\s+(?<relative_l>(?:[hsl]|(?:\d*\.)?\d+|calc\([hsl()/*\-+\d.\s]+\)))%?(?:\s*\/\s*(?<relative_a>(?:(?:\d*\.)?\d+%?|calc\([()/*\-+\d.\s\w]*(?:alpha)?[()/*\-+\d.\s\w]*\)|alpha)))?)\s*\)$/,[T.CIELab]:/^lab\s*\(\s*(?:(?<L>(?:\d*\.)?\d+%?)\s+(?<a>-?(?:\d*\.)?\d+%?)\s+(?<b>-?(?:\d*\.)?\d+%?)(?:\s*\/\s*(?<A>(?:\d*\.)?\d+%?))?|from\s+(?<from>(?:\w+|\w+\(\s*[^())]+\s*\)|\w+\(from\s+\w+\(.*\)\s*\)|#[a-fA-F\d]+))\s+(?<relative_L>(?:[lab]|(?:\d*\.)?\d+|calc\([lab()/*\-+\d.\s]+\)))\s+(?<relative_a>(?:[lab]|(?:\d*\.)?\d+|calc\([lab()/*\-+\d.\s]+\)))\s+(?<relative_b>(?:[lab]|(?:\d*\.)?\d+|calc\([lab()/*\-+\d.\s]+\)))(?:\s*\/\s*(?<relative_A>(?:(?:\d*\.)?\d+%?|calc\([()/*\-+\d.\s\w]*(?:alpha)?[()/*\-+\d.\s\w]*\)|alpha)))?)\s*\)$/,[T.LCH]:/^lch\s*\(\s*(?:(?<l>(?:\d*\.)?\d+%?)\s+(?<c>-?(?:\d*\.)?\d+%?)\s+(?<h>-?(?:\d*\.)?\d+(?:deg|grad|rad|turn)?)(?:\s*\/\s*(?<a>(?:\d*\.)?\d+%?))?|from\s+(?<from>(?:\w+|\w+\(\s*[^())]+\s*\)|\w+\(from\s+\w+\(.*\)\s*\)|#[a-fA-F\d]+))\s+(?<relative_l>(?:[lch]|(?:\d*\.)?\d+|calc\([lch()/*\-+\d.\s]+\)))\s+(?<relative_c>(?:[lch]|(?:\d*\.)?\d+|calc\([lch()/*\-+\d.\s]+\)))\s+(?<relative_h>(?:[lch]|(?:\d*\.)?\d+|calc\([lch()/*\-+\d.\s]+\)))(?:\s*\/\s*(?<relative_a>(?:(?:\d*\.)?\d+%?|calc\([()/*\-+\d.\s\w]*(?:alpha)?[()/*\-+\d.\s\w]*\)|alpha)))?)\s*\)$/,[T.CMYK]:/^(?:device-cmyk|cmyk)\s*\(\s*(?:(?<c_legacy>(?:\d*\.)?\d+%?)\s*,\s*(?<m_legacy>(?:\d*\.)?\d+%?)\s*,\s*(?<y_legacy>(?:\d*\.)?\d+%?)\s*,\s*(?<k_legacy>(?:\d*\.)?\d+%?)(?:\s*,\s*(?<a_legacy>(?:\d*\.)?\d+))?|(?<c>(?:\d*\.)?\d+%?)\s+(?<m>(?:\d*\.)?\d+%?)\s+(?<y>(?:\d*\.)?\d+%?)\s+(?<k>(?:\d*\.)?\d+%?)(?:\s*\/\s*(?<a>(?:\d*\.)?\d+%?))?)\s*\)$/},k={REGEXP:/^calc\(\s*(?<operation>[\d./*+-\w\s]+)\s*\)$/,SCOPED:/\(\s*([^()]+)\s*\)/g,DIVISION:/\s*(?<left>(?:(?:\d*\.)?\d+|\w+))\s*\/\s*(?<right>(?:(?:\d*\.)?\d+|\w+))\s*/,MULTIPLICATION:/\s*(?<left>(?:(?:\d*\.)?\d+|\w+))\s*\*\s*(?<right>(?:(?:\d*\.)?\d+|\w+))\s*/,SUM:/\s*(?<left>(?:(?:\d*\.)?\d+|\w+))\s*\+\s*(?<right>(?:(?:\d*\.)?\d+|\w+))\s*/,REST:/\s*(?<left>(?:(?:\d*\.)?\d+|\w+))\s*-\s*(?<right>(?:(?:\d*\.)?\d+|\w+))\s*/},Fe=/^(?<number>-?(?:\d*\.)?\d+)(?<units>(?:deg|grad|rad|turn)?)$/,A=/^(-?\d+(?:\.\d+)?|-?\.\d+)%$/,Ie=/^0x([a-f\d]{1,2})$/i,Le=/\{(\d+)\}/g,Re=/,( +|\d+)/g,ze=/ +/,Be=`The provided string color doesn't have a correct format`,Ve=`The provided color object doesn't have the proper keys or format`,He=`is not a valid operation for a relative color`,j,M,Ue;(function(e){e.NONE=`none`,e.DEGREES=`deg`,e.GRADIANS=`grad`,e.RADIANS=`rad`,e.TURNS=`turn`})(j||={}),function(e){e.NONE=`none`,e.PERCENT=`percent`}(M||={}),function(e){e.DEVICE_CMYK=`device-cmyk`,e.CMYK=`cmyk`}(Ue||={});var N={decimals:6,legacyCSS:!1,spacesAfterCommas:!1,anglesUnit:j.NONE,rgbUnit:M.NONE,labUnit:M.NONE,lchUnit:M.NONE,cmykUnit:M.PERCENT,alphaUnit:M.NONE,cmykFunction:Ue.DEVICE_CMYK},P=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),We=e=>+`${e}`.replace(A,`$1`),F=e=>A.test(`${e}`)?We(e):Math.min(+e,100),Ge=e=>(e.length===1&&(e+=e),parseInt(e,16)),Ke=e=>{let t=L(e,0).toString(16).toUpperCase();return t.length===1?`0x0${t}`:`0x${t}`},qe=(e,t=!1)=>!t&&A.test(e)?Math.min(S*We(e)/100,S):Ie.test(e)?(e.length===3&&(e+=e.slice(-1)),t?L(e)/S:L(e)):Math.min(+e,t?1:S),Je=e=>A.test(e)?R(w*We(e)/100,-125,w):R(+e,-125,w),Ye=e=>A.test(e)?R(ke*We(e)/100,-150,ke):R(+e,-150,ke),I=e=>Math.min(A.test(e)?We(e)/100:+e,1),Xe=e=>[...e].sort().join(``).toUpperCase(),L=(e,t=6)=>{let n=10**t;return Math.round(+e*n)/n},R=(e,t,n)=>Math.max(t,Math.min(e,n)),Ze=e=>180*e/Math.PI,Qe=e=>e*Math.PI/180,$e=360,z=e=>{if(typeof e==`string`){let t=e.match(Fe).groups,n=+t.number;switch(t.units){case j.RADIANS:e=L(Ze(n));break;case j.TURNS:e=L(n*$e);break;case j.GRADIANS:e=L(.9*n);break;case j.DEGREES:default:e=n}}return(e>360||e<0)&&(e-=Math.floor(e/$e)*$e),e},B=e=>(typeof e==`string`&&(e=A.test(e)?We(e)/100:+e),isNaN(+e)||e>1?1:L(e)),et=(e,t)=>{let n;switch(t){case j.RADIANS:n=L(Qe(e));break;case j.TURNS:n=L(e/$e);break;case j.GRADIANS:n=L(10/9*e);break;case j.DEGREES:case j.NONE:default:n=e}return n},tt=e=>`${e}`in D,nt=[[.4360747,.3850649,.1430804],[.2225045,.7168786,.0606169],[.0139322,.0971045,.7141733]],rt=[[3.1338561,-1.6168667,-.4906146],[-.9787684,1.9161415,.033454],[.0719453,-.2289914,1.4052427]],it=nt.map((e=>e.reduce(((e,t)=>e+t),0))),at=(e,t,n)=>(n<0&&(n+=6),n>=6&&(n-=6),L(n<1?((t-e)*n+e)*S:n<3?t*S:n<4?((t-e)*(4-n)+e)*S:e*S)),ot=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,st=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055,ct=(e,t,n,r)=>{let i=[0,0,0],a=[e,t,n];return r.forEach(((e,t)=>{e.forEach(((e,n)=>{i[t]+=e*a[n]}))})),i},V=(e,t,n)=>{t/=100;let r=(n/=100)<=.5?n*(t+1):n+t-n*t,i=2*n-r;return{R:at(i,r,(e/=60)+2),G:at(i,r,e),B:at(i,r,e-2)}},H=(e,t,n,r=1)=>{e/=S,t/=S,n/=S,r=Math.min(r,1);let i=Math.max(e,t,n),a=Math.min(e,t,n),o=i-a,s=0,c=0,l=(i+a)/2;if(o!==0){switch(i){case e:s=(t-n)/o%6;break;case t:s=(n-e)/o+2;break;case n:s=(e-t)/o+4}s=L(60*s),s<0&&(s+=360),c=o/(1-Math.abs(2*l-1))}return{H:s,S:L(100*c),L:L(100*l),A:r}},U=(e,t,n)=>{let r=[e/S,t/S,n/S].map(ot),i=ct(r[0],r[1],r[2],nt),a=((e,t,n)=>{let r=e=>e>(6/29)**3?Math.cbrt(e):e/(3*(6/29)**2)+4/29,i=r(e/it[0]),a=r(t/it[1]);return[116*a-16,500*(i-a),200*(a-r(n/it[2]))]})(i[0],i[1],i[2]);return{L:a[0],a:a[1],b:a[2]}},lt=(e,t,n)=>{let r=((e,t,n)=>{let r=e=>e>6/29?e**3:3*(6/29)**2*(e-4/29),i=(e+16)/116,a=t/500,o=n/200;return[it[0]*r(i+a),it[1]*r(i),it[2]*r(i-o)]})(e,t,n),i=ct(r[0],r[1],r[2],rt).map(st);return{R:R(i[0]*S,0,S),G:R(i[1]*S,0,S),B:R(i[2]*S,0,S)}},ut=(e,t,n)=>({L:e,C:Math.sqrt(t**2+n**2),H:z(Ze(Math.atan2(n,t)))}),dt=(e,t,n)=>{let r=Qe(n);return{L:e,a:t*Math.cos(r),b:t*Math.sin(r)}},ft=(e,t,n)=>{let r=U(e,t,n);return ut(r.L,r.a,r.b)},pt=(e,t,n)=>{let r=dt(e,t,n);return lt(r.L,r.a,r.b)},mt=(e,t,n,r=1)=>({H:H(e,t,n,r).H,W:L(Math.min(e,t,n)/S*100),B:L(100*(1-Math.max(e,t,n)/S)),A:r}),ht=(e,t,n)=>{let r=1-(n/=100)-(t/=100),i=r*(1-Math.abs(e/60%2-1)),a=0,o=0,s=0;return e<60?(a=r,o=i,s=0):e>=60&&e<120?(a=i,o=r,s=0):e>=120&&e<180?(a=0,o=r,s=i):e>=180&&e<240?(a=0,o=i,s=r):e>=240&&e<300?(a=i,o=0,s=r):e>=300&&(a=r,o=0,s=i),a+=t,o+=t,s+=t,{R:R(a*S,0,S),G:R(o*S,0,S),B:R(s*S,0,S)}},gt=(e,t,n,r)=>({R:L(S*(1-e)*(r=1-r)),G:L(S*(1-t)*r),B:L(S*(1-n)*r)}),_t=(e,t,n)=>{e/=S,t/=S,n/=S;let r=1-Math.max(e,t,n),i=1-r,a=i&&(i-t)/i,o=i&&(i-n)/i;return{C:L(100*(i&&(i-e)/i)),M:L(100*a),Y:L(100*o),K:L(100*r)}},vt=(e,t)=>{if(e<0&&(e+=360),e>360&&(e-=360),e===360||e===0)return e;let n=[[0,120],[120,180],[180,240],[240,360]],r=[[0,60],[60,120],[120,240],[240,360]],i=t?r:n,a=0,o=0,s=0,c=0;return(t?n:r).find(((t,n)=>e>=t[0]&&e<t[1]&&(a=t[0],o=t[1],s=i[n][0],c=i[n][1],!0))),s+(c-s)/(o-a)*(e-a)},yt=class{get rgb(){return this._rgb}},bt=class extends yt{constructor(e){super();let t=e.match(O.HEX).groups;this._r=t.r??t.rr,this._g=t.g??t.gg,this._b=t.b??t.bb,this._a=t.a??t.aa;let n={R:Ge(this._r),G:Ge(this._g),B:Ge(this._b)};this._a!==void 0&&(n.A=Ge(this._a)/S),this._rgb=n}},W=class{constructor(e,t,n){this._operations=new Map([[k.DIVISION,this._division],[k.MULTIPLICATION,this._multiplication],[k.SUM,this._sum],[k.REST,this._rest]]),this._colorIndex=e;let r=t,i=0;if(Number.isNaN(+t)){if(t in n)this._result=n[t];else if(k.REGEXP.test(r))k.REGEXP.lastIndex=0,this._result=this._getCalcValue(r,n);else{for(;k.SCOPED.test(r)&&i<100;){if(k.SCOPED.lastIndex=0,r=r.replace(k.SCOPED,((e,t)=>this._calculate(t,n).toString())),k.REGEXP.test(r)){k.REGEXP.lastIndex=0;break}i++}this._result=this._getCalcValue(r,n)}}else this._result=+t}_division(e,t){return e/t}_multiplication(e,t){return e*t}_sum(e,t){return e+t}_rest(e,t){return e-t}_getCalcValue(e,t){let n=e.match(k.REGEXP).groups.operation,r=this._calculate(n,t);if(Number.isNaN(r))throw Error(`Invalid value for ${this._colorIndex}. ${n} ${He}`);return r}_calculate(e,t){return this._operations.forEach(((n,r)=>{let i=0;for(;r.test(e)&&i<100;)e=e.replace(r,((e,r,i)=>n(t[r]??+r,t[i]??+i).toString())),i++})),+e}get result(){return this._result}},xt=class extends yt{get hasPercentageAlpha(){return A.test(this._a)}},St=class extends xt{constructor(e,t){super();let{r_legacy:n,g_legacy:r,b_legacy:i,a_legacy:a,r:o,g:s,b:c,a:l,from:u,relative_r:d,relative_g:f,relative_b:p,relative_a:ee}=e.match(O.RGB).groups;if(u){let e=t(u),n={r:e.R,g:e.G,b:e.B,alpha:e.A??1},r=new W(`r`,d,n).result,i=new W(`g`,f,n).result,a=new W(`b`,p,n).result,o={R:Math.min(r,S),G:Math.min(i,S),B:Math.min(a,S)};if(ee){let e=new W(`alpha`,ee,n).result;o.A=Math.min(e,1)}this._rgb=o}else{this._r=n??o,this._g=r??s,this._b=i??c,this._a=a??l;let e={R:Math.min(qe(this._r),S),G:Math.min(qe(this._g),S),B:Math.min(qe(this._b),S)};this._a!==void 0&&(e.A=B(this._a)),this._rgb=e}}get hasPercentageValues(){return A.test(this._r)&&A.test(this._g)&&A.test(this._b)}static test(e){return O.RGB.test(e)}},Ct=class extends xt{get angleUnit(){if(this._h){let e=this._h.match(Fe).groups.units;return e===``?j.NONE:e}return j.NONE}},wt=class extends Ct{constructor(e,t){super();let{h_legacy:n,s_legacy:r,l_legacy:i,a_legacy:a,h:o,s,l:c,a:l,from:u,relative_h:d,relative_s:f,relative_l:p,relative_a:ee}=e.match(O.HSL).groups;if(u){let e=t(u),n=H(e.R,e.G,e.B,e.A),r={h:n.H,s:n.S,l:n.L,alpha:n.A},i=new W(`h`,d,r).result,a=new W(`s`,f,r).result,o=new W(`l`,p,r).result,s=V(R(i,0,360),R(a,0,C),R(o,0,C));if(ee){let e=new W(`alpha`,ee,r).result;s.A=R(e,0,1)}this._rgb=s}else{this._h=n??o,this._s=r??s,this._l=i??c,this._a=a??l;let e=V(z(this._h),F(this._s),F(this._l));this._a!==void 0&&(e.A=B(this._a)),this._rgb=e}}static test(e){return O.HSL.test(e)}},Tt=class extends Ct{constructor(e,t){super();let{h:n,w:r,b:i,a,from:o,relative_h:s,relative_w:c,relative_b:l,relative_a:u}=e.match(O.HWB).groups;if(o){let e=t(o),n=mt(e.R,e.G,e.B,e.A),r={h:n.H,w:n.W,b:n.B,alpha:n.A},i=new W(`h`,s,r).result,a=new W(`w`,c,r).result,d=new W(`b`,l,r).result,f=ht(R(i,0,360),R(a,0,C),R(d,0,C));if(u){let e=new W(`alpha`,u,r).result;f.A=R(e,0,1)}this._rgb=f}else{this._h=n,this._w=r,this._b=i,this._a=a;let e=ht(z(this._h),F(this._w),F(this._b));this._a!==void 0&&(e.A=B(this._a)),this._rgb=e}}static test(e){return O.HWB.test(e)}},Et=class extends xt{constructor(e,t){super();let{L:n,a:r,b:i,A:a,from:o,relative_L:s,relative_a:c,relative_b:l,relative_A:u}=e.match(O.CIELab).groups;if(o){let e=t(o),n=U(e.R,e.G,e.B),r={l:n.L,a:n.a,b:n.b,alpha:e.A??1},i=new W(`l`,s,r).result,a=new W(`a`,c,r).result,d=new W(`b`,l,r).result,f=lt(R(i,0,C),R(a,-125,w),R(d,-125,w));if(u){let e=new W(`alpha`,u,r).result;f.A=R(e,0,1)}this._rgb=f}else{this._L=n,this._A=r,this._B=i,this._a=a;let e=lt(F(this._L),Je(this._A),Je(this._B));this._a!==void 0&&(e.A=B(this._a)),this._rgb=e}}get hasPercentageValues(){return A.test(this._L)&&A.test(this._A)&&A.test(this._B)}static test(e){return O.CIELab.test(e)}},Dt=class extends Ct{constructor(e,t){super();let{l:n,c:r,h:i,a,from:o,relative_l:s,relative_c:c,relative_h:l,relative_a:u}=e.match(O.LCH).groups;if(o){let e=t(o),n=ft(e.R,e.G,e.B),r={l:n.L,c:n.C,h:n.H,alpha:e.A??1},i=new W(`l`,s,r).result,a=new W(`c`,c,r).result,d=new W(`h`,l,r).result,f=pt(R(i,0,C),R(a,-150,ke),z(d));if(u){let e=new W(`alpha`,u,r).result;f.A=R(e,0,1)}this._rgb=f}else{this._l=n,this._c=r,this._h=i,this._a=a;let e=pt(F(this._l),Ye(this._c),z(this._h));this._a!==void 0&&(e.A=B(this._a)),this._rgb=e}}get hasPercentageValues(){return A.test(this._l)&&A.test(this._c)}static test(e){return O.LCH.test(e)}},Ot=class extends xt{constructor(e){super();let t=e.match(O.CMYK).groups;this._c=t.c_legacy??t.c,this._m=t.m_legacy??t.m,this._y=t.y_legacy??t.y,this._k=t.k_legacy??t.k,this._a=t.a_legacy??t.a;let n=gt(I(this._c),I(this._m),I(this._y),I(this._k));this._a!==void 0&&(n.A=B(this._a)),this._rgb=n}get hasPercentageValues(){return A.test(this._c)&&A.test(this._m)&&A.test(this._y)&&A.test(this._k)}static test(e){return O.CMYK.test(e)}},G=e=>typeof e==`string`?(e=>{let t;if(Object.keys(T).some((n=>{if(O[n].test(e))return t=n,!0})),!t&&~je.indexOf(e)&&(t=T.HEX),!t)throw Error(Be);return t})(e):(e=>{let t,n=!1,r=Xe(Object.keys(e));if(Ne[r]&&(t=Ne[r]),t&&t===T.RGB){let r=Object.entries(e).some((e=>!Ie.test(`${e[1]}`))),i=Object.entries(e).some((e=>!(A.test(`${e[1]}`)||!Ie.test(`${e[1]}`)&&!isNaN(+e[1])&&+e[1]<=S)));r&&i&&(n=!0),r||(t=T.HEX)}if(!t||n)throw Error(Ve);return t})(e),kt={[T.HEX](e){return new bt(~je.indexOf(e)?Ae[e]:e).rgb},[T.RGB]:e=>new St(e,K).rgb,[T.HSL]:e=>new wt(e,K).rgb,[T.HWB]:e=>new Tt(e,K).rgb,[T.CIELab]:e=>new Et(e,K).rgb,[T.LCH]:e=>new Dt(e,K).rgb,[T.CMYK]:e=>new Ot(e).rgb},At={[T.HEX](e){let t={R:qe(`${e.R}`),G:qe(`${e.G}`),B:qe(`${e.B}`)};return P(e,`A`)&&(t.A=Math.min(qe(`${e.A}`,!0),1)),t},[T.RGB](e){return this.HEX(e)},[T.HSL](e){let t=F(`${e.S}`),n=F(`${e.L}`),r=V(z(e.H),t,n);return P(e,`A`)&&(r.A=B(e.A)),r},[T.HWB](e){let t=F(`${e.W}`),n=F(`${e.B}`),r=ht(z(e.H),t,n);return P(e,`A`)&&(r.A=B(e.A)),r},[T.CIELab](e){let t=lt(F(`${e.L}`),Je(`${e.a}`),Je(`${e.b}`));return P(e,`A`)&&(t.A=B(e.A)),t},[T.LCH](e){let t=pt(F(`${e.L}`),Ye(`${e.C}`),z(`${e.H}`));return P(e,`A`)&&(t.A=B(e.A)),t},[T.CMYK](e){let t=gt(I(`${e.C}`),I(`${e.M}`),I(`${e.Y}`),I(`${e.K}`));return P(e,`A`)&&(t.A=B(e.A)),t}},K=(e,t=G(e))=>typeof e==`string`?kt[t](e):At[t](e),q=(e,...t)=>{let n=[],r=[],i=[],a=[],o=[],s=[],c=[],l=Object.values(j),u=Object.values(M),d=Object.values(Ue),f={legacyCSS:0,spacesAfterCommas:0,cmykFunction:0};for(let e of t)if(typeof e==`string`){if(n.push(e),e.includes(`,`)){f.legacyCSS++;let t=e.match(Re);new Set(t).size===1&&ze.test(t[0].slice(1))&&f.spacesAfterCommas++}if(wt.test(e)){let t=new wt(e,K);r.push(t.angleUnit),c.push(t.hasPercentageAlpha);continue}if(Tt.test(e)){let t=new Tt(e,K);r.push(t.angleUnit),c.push(t.hasPercentageAlpha);continue}if(St.test(e)){let t=new St(e,K);i.push(t.hasPercentageValues),c.push(t.hasPercentageAlpha);continue}if(Et.test(e)){let t=new Et(e,K);a.push(t.hasPercentageValues),c.push(t.hasPercentageAlpha);continue}if(Dt.test(e)){let t=new Dt(e,K);r.push(t.angleUnit),o.push(t.hasPercentageValues),c.push(t.hasPercentageAlpha);continue}if(Ot.test(e)){let t=new Ot(e);s.push(t.hasPercentageValues),e.startsWith(`cmyk`)&&f.cmykFunction++,c.push(t.hasPercentageAlpha)}}return{decimals:typeof e.decimals===Pe.NUMBER?e.decimals:N.decimals,legacyCSS:typeof e.legacyCSS===Pe.BOOLEAN?e.legacyCSS:!!(n.length&&f.legacyCSS===n.length)||N.legacyCSS,spacesAfterCommas:typeof e.spacesAfterCommas===Pe.BOOLEAN?e.spacesAfterCommas:!!(n.length&&f.spacesAfterCommas===n.length)||N.spacesAfterCommas,anglesUnit:e.anglesUnit&&l.includes(e.anglesUnit)?e.anglesUnit:new Set(r).size===1?r[0]:N.anglesUnit,rgbUnit:e.rgbUnit&&u.includes(e.rgbUnit)?e.rgbUnit:new Set(i).size===1&&i[0]?M.PERCENT:N.rgbUnit,labUnit:e.labUnit&&u.includes(e.labUnit)?e.labUnit:new Set(a).size===1&&a[0]?M.PERCENT:N.labUnit,lchUnit:e.lchUnit&&u.includes(e.lchUnit)?e.lchUnit:new Set(o).size===1&&o[0]?M.PERCENT:N.lchUnit,cmykUnit:e.cmykUnit&&u.includes(e.cmykUnit)?e.cmykUnit:new Set(s).size!==1||s[0]?N.cmykUnit:M.NONE,alphaUnit:e.alphaUnit&&u.includes(e.alphaUnit)?e.alphaUnit:new Set(c).size===1&&c[0]?M.PERCENT:N.alphaUnit,cmykFunction:e.cmykFunction&&d.includes(e.cmykFunction)?e.cmykFunction:s.length&&s.length===f.cmykFunction?Ue.CMYK:N.cmykFunction}},jt=(e,t)=>({H:L(e.H,t),S:L(e.S,t),L:L(e.L,t)}),Mt=e=>e?`, `:`,`,Nt=(e,t)=>Me[Ne[Xe(Object.keys(e))]].reduce(((n,r,i)=>{let a=e[r];return a!==void 0&&n.push(t(a,i)),n}),[]),Pt=(e,t)=>e.replace(Le,((e,n)=>`${t[n-1]}`)),Ft=(e,t,n=!1)=>{let{alphaUnit:r,legacyCSS:i,decimals:a}=t;return r!==M.PERCENT||i&&!n?L(e,a):`${L(100*e,a)}%`},It=e=>{let{anglesUnit:t,decimals:n}=e;return(r,i)=>i===0&&t!==j.NONE?`${L(et(r,t),n)}${t}`:i===3?Ft(r,e):L(r,n)},J={[T.HEX]:e=>{let t=Nt(e,(e=>(e=>{let t=L(e,0).toString(16).toUpperCase();return t.length===1&&(t=`0${t}`),t})(L(e))));return Pt(t.length===4?`#{1}{2}{3}{4}`:`#{1}{2}{3}`,t)},[T.RGB]:(e,t)=>{let{decimals:n,legacyCSS:r,spacesAfterCommas:i,rgbUnit:a}=t,o=Mt(i),s=Nt(e,((e,r)=>a===M.PERCENT&&r<3?`${((e,t)=>L(e/S*100,t))(e,n)}%`:r===3?Ft(e,t):L(e,n)));return Pt(r?s.length===4?`rgba({1}${o}{2}${o}{3}${o}{4})`:`rgb({1}${o}{2}${o}{3})`:s.length===4?`rgb({1} {2} {3} / {4})`:`rgb({1} {2} {3})`,s)},[T.HSL]:(e,t)=>{let{legacyCSS:n,spacesAfterCommas:r}=t,i=Mt(r),a=Nt(e,It(t));return Pt(n?a.length===4?`hsla({1}${i}{2}%${i}{3}%${i}{4})`:`hsl({1}${i}{2}%${i}{3}%)`:a.length===4?`hsl({1} {2}% {3}% / {4})`:`hsl({1} {2}% {3}%)`,a)},[T.HWB]:(e,t)=>{let n=Nt(e,It(t));return Pt(n.length===4?`hwb({1} {2}% {3}% / {4})`:`hwb({1} {2}% {3}%)`,n)},[T.CIELab]:(e,t)=>{let{decimals:n,labUnit:r}=t,i=Nt(e,((e,i)=>{if(i===0){let t=L(F(e),n);return r===M.PERCENT?`${t}%`:`${t}`}return i<3?r===M.PERCENT?`${((e,t)=>L(e/w*100,t))(e,n)}%`:L(e,n):Ft(e,t,!0)}));return Pt(i.length===4?`lab({1} {2} {3} / {4})`:`lab({1} {2} {3})`,i)},[T.LCH]:(e,t)=>{let{decimals:n,lchUnit:r,anglesUnit:i}=t,a=Nt(e,((e,a)=>{if(a===0){let t=L(F(e),n);return r===M.PERCENT?`${t}%`:`${t}`}return a===1?r===M.PERCENT?`${((e,t)=>L(e/ke*100,t))(e,n)}%`:L(e,n):a===2?i===j.NONE?L(e,n):`${L(et(e,i),n)}${i}`:Ft(e,t,!0)}));return Pt(a.length===4?`lch({1} {2} {3} / {4})`:`lch({1} {2} {3})`,a)},[T.CMYK]:(e,t)=>{let{decimals:n,legacyCSS:r,spacesAfterCommas:i,cmykUnit:a,cmykFunction:o}=t,s=Mt(i),c=Nt(e,((e,r)=>a===M.PERCENT&&r<4?`${L(e,n)}%`:r===4?Ft(e,t):L(e/100,n)));return Pt(r?c.length===5?`${o}({1}${s}{2}${s}{3}${s}{4}${s}{5})`:`${o}({1}${s}{2}${s}{3}${s}{4})`:c.length===5?`${o}({1} {2} {3} {4} / {5})`:`${o}({1} {2} {3} {4})`,c)}},Lt=(e,t,n)=>t.reduce(((t,r)=>[...t,{...e,H:n===D.ADDITIVE?z(e.H+r):z(vt(vt(e.H,!1)+r,!0))}]),[{...e}]),Rt=(e,t)=>Lt(e,[30,-30],t),zt=(e,t)=>Lt(e,[180],t),Bt=(e,t)=>Lt(e,[150,-150],t),Vt=(e,t)=>Lt(e,[120,-120],t),Ht=(e,t)=>Lt(e,[60,-120,180],t),Ut=(e,t)=>Lt(e,[90,-90,180],t),Y={[T.HEX]:e=>({R:Ke(e.R),G:Ke(e.G),B:Ke(e.B)}),HEXA(e){let t=Y.HEX(e);return t.A=P(e,`A`)?Ke(e.A*S):`0xFF`,t},[T.RGB](e,t){let n=qt(e,t);return P(n,`A`)&&delete n.A,n},RGBA(e,t){let n=Y.RGB(e,t);return n.A=P(e,`A`)?L(e.A):1,n},[T.HSL](e,t){let n=H(e.R,e.G,e.B);return delete n.A,jt(n,t)},HSLA(e,t){let n=Y.HSL(e,t);return n.A=P(e,`A`)?L(e.A,t):1,n},[T.HWB](e,t){let n=mt(e.R,e.G,e.B);return delete n.A,((e,t)=>({H:L(e.H,t),W:L(e.W,t),B:L(e.B,t)}))(n,t)},HWBA(e,t){let n=Y.HWB(e,t);return n.A=P(e,`A`)?L(e.A,t):1,n},[T.CIELab]:(e,t)=>((e,t)=>({L:L(e.L,t),a:L(e.a,t),b:L(e.b,t)}))(U(e.R,e.G,e.B),t),CIELabA(e,t){let n=Y.CIELab(e,t);return n.A=P(e,`A`)?L(e.A,t):1,n},[T.LCH]:(e,t)=>((e,t)=>({L:L(e.L,t),C:L(e.C,t),H:L(e.H,t)}))(ft(e.R,e.G,e.B),t),LCHA(e,t){let n=Y.LCH(e,t);return n.A=P(e,`A`)?L(e.A,t):1,n},[T.CMYK]:(e,t)=>((e,t)=>({C:L(e.C,t),M:L(e.M,t),Y:L(e.Y,t),K:L(e.K,t)}))(_t(e.R,e.G,e.B),t),CMYKA(e,t){let n=Y.CMYK(e,t);return n.A=P(e,`A`)?L(e.A,t):1,n}},Wt=(e,t,n,r)=>{let i=G(e),a=typeof e==`string`,o=K(e,i),s=typeof e==`string`&&P(o,`A`)||typeof e!=`string`&&P(e,`A`),c=H(o.R,o.G,o.B,o.A);s||delete c.A;let l=n?c.L/(t+1):(100-c.L)/(t+1),u=Array(t).fill(null).map(((e,t)=>({...c,L:c.L+l*(t+1)*(1-2*n)})));switch(i){case T.HEX:default:return u.map((e=>{let t=V(e.H,e.S,e.L);return s&&(t.A=e.A),a?s?J.HEX({...t,A:L(t.A*S)}):J.HEX(t):s?Y.HEXA(t):Y.HEX(t)}));case T.RGB:return u.map((e=>{let t=V(e.H,e.S,e.L);return s&&(t.A=e.A),a?J.RGB(t,r):s?Y.RGBA(t,r.decimals):Y.RGB(t,r.decimals)}));case T.HSL:return u.map((e=>a?J.HSL(e,r):s?Y.HSLA({...V(e.H,e.S,e.L),A:e.A},r.decimals):Y.HSL(V(e.H,e.S,e.L),r.decimals)));case T.HWB:return u.map((e=>{let t=V(e.H,e.S,e.L);s&&(t.A=e.A);let n=s?Y.HWBA(t,r.decimals):Y.HWB(t,r.decimals);return a?J.HWB(n,r):n}));case T.CIELab:return u.map((e=>{let t=V(e.H,e.S,e.L);s&&(t.A=e.A);let n=s?Y.CIELabA(t,r.decimals):Y.CIELab(t,r.decimals);return a?J.CIELab(n,r):n}));case T.LCH:return u.map((e=>{let t=V(e.H,e.S,e.L),n=ft(t.R,t.G,t.B);return s&&(n.A=e.A),a?J.LCH(n,r):s?Y.LCHA({...t,A:e.A},r.decimals):Y.LCH(t,r.decimals)}))}},Gt={buildHarmony(e,t,n,r){let i=G(e),a=K(e,i),o=H(a.R,a.G,a.B,a.A),s=typeof e==`string`&&P(a,`A`)||typeof e!=`string`&&P(e,`A`),c=typeof e==`string`;switch(i){case T.HEX:default:return s?this.HEXA(jt(o,0),t,n,c):this.HEX(jt(o,0),t,n,c);case T.HSL:return s?this.HSLA(o,t,n,c,r):this.HSL(o,t,n,c,r);case T.HWB:return s?this.HWBA(o,t,n,c,r):this.HWB(o,t,n,c,r);case T.RGB:return s?this.RGBA(o,t,n,c,r):this.RGB(o,t,n,c,r);case T.CIELab:return s?this.CIELabA(o,t,n,c,r):this.CIELab(o,t,n,c,r);case T.LCH:return s?this.LCHA(o,t,n,c,r):this.LCH(o,t,n,c,r)}},[T.HEX]:(e,t,n,r)=>t(e,n).map((e=>r?J.HEX(V(e.H,e.S,e.L)):Y.HEX(V(e.H,e.S,e.L)))),HEXA:(e,t,n,r)=>t(e,n).map((e=>r?J.HEX({...V(e.H,e.S,e.L),A:B(e.A)*S}):Y.HEXA({...V(e.H,e.S,e.L),A:B(e.A)}))),[T.RGB]:(e,t,n,r,i)=>t(e,n).map((e=>r?J.RGB(V(e.H,e.S,e.L),i):Y.RGB(V(e.H,e.S,e.L),i.decimals))),RGBA:(e,t,n,r,i)=>t(e,n).map((e=>r?J.RGB({...V(e.H,e.S,e.L),A:B(e.A)},i):Y.RGBA({...V(e.H,e.S,e.L),A:B(e.A)},i.decimals))),[T.HSL]:(e,t,n,r,i)=>t(e,n).map((e=>r?J.HSL({H:e.H,S:e.S,L:e.L},i):Y.HSL(V(e.H,e.S,e.L),i.decimals))),HSLA:(e,t,n,r,i)=>t(e,n).map((e=>r?J.HSL({...e,A:B(e.A)},i):Y.HSLA({...V(e.H,e.S,e.L),A:B(e.A)},i.decimals))),[T.HWB]:(e,t,n,r,i)=>t(e,n).map((e=>{let t=V(e.H,e.S,e.L),n=mt(t.R,t.G,t.B);return r?J.HWB({H:n.H,W:n.W,B:n.B},i):Y.HWB(t,i.decimals)})),HWBA:(e,t,n,r,i)=>t(e,n).map((e=>{let t=V(e.H,e.S,e.L),n=mt(t.R,t.G,t.B);return r?J.HWB({...n,A:B(e.A)},i):Y.HWBA({...t,A:B(e.A)},i.decimals)})),[T.CIELab]:(e,t,n,r,i)=>t(e,n).map((e=>{let t=V(e.H,e.S,e.L);return r?J.CIELab(U(t.R,t.G,t.B),i):Y.CIELab(t,i.decimals)})),CIELabA:(e,t,n,r,i)=>t(e,n).map((e=>{let t=V(e.H,e.S,e.L);return r?J.CIELab({...U(t.R,t.G,t.B),A:B(e.A)},i):Y.CIELabA({...t,A:B(e.A)},i.decimals)})),[T.LCH]:(e,t,n,r,i)=>t(e,n).map((e=>{let t=V(e.H,e.S,e.L);return r?J.LCH(ft(t.R,t.G,t.B),i):Y.LCH(t,i.decimals)})),LCHA:(e,t,n,r,i)=>t(e,n).map((e=>{let t=V(e.H,e.S,e.L);return r?J.LCH({...ft(t.R,t.G,t.B),A:B(e.A)},i):Y.LCHA({...t,A:B(e.A)},i.decimals)}))},Kt={mix(e,t){let n=e.map((e=>K(e,G(e)))),r=t===D.SUBTRACTIVE?n.map((e=>{let t=((e,t,n)=>{let r=Math.min(e,t,n),i=Math.min(S-e,S-t,S-n),a=e-r,o=t-r,s=n-r,c=Math.min(a,o),l=a-c,u=(o+c)/2,d=(s+o-c)/2,f=Math.max(l,u,d)/Math.max(a,o,s),p=isNaN(f)||f===1/0||f<=0?1:f;return{R:l/p+i,Y:u/p+i,B:d/p+i}})(e.R,e.G,e.B);return P(e,`A`)&&(t.A=e.A),t})):null;function i(e){let n=t===D.ADDITIVE?{R:0,G:0,B:0,A:0}:{R:0,Y:0,B:0,A:0};return e.reduce(((e,n)=>{let r=P(n,`A`)?n.A:1,i={R:Math.min(e.R+n.R*r,S),B:Math.min(e.B+n.B*r,S),A:1-(1-r)*(1-e.A)},a=`G`in e?e.G:e.Y,o=`G`in n?n.G:n.Y;return{...i,...t===D.ADDITIVE?{G:Math.min(a+o*r,S)}:{Y:Math.min(a+o*r,S)}}}),n)}let a;if(t===D.ADDITIVE)a=i(n);else{let e=i(r);a=((e,t,n)=>{let r=Math.min(e,t,n),i=Math.min(S-e,S-t,S-n),a=e-r,o=t-r,s=n-r,c=Math.min(o,s),l=a+o-c,u=o+c,d=2*(s-c),f=Math.max(l,u,d)/Math.max(a,o,s),p=isNaN(f)||f===1/0||f<=0?1:f;return{R:l/p+i,G:u/p+i,B:d/p+i}})(e.R,e.Y,e.B),a.A=e.A}return{R:L(a.R),G:L(a.G),B:L(a.B),A:R(a.A,0,1)}},[T.HEX](e,t,n){let r=this.mix(e,t);return delete r.A,n?J.HEX(r):Y.HEX(r)},HEXA(e,t,n){let r=this.mix(e,t);return r.A=n?B(r.A)*S:B(r.A),n?J.HEX(r):Y.HEXA(r)},[T.RGB](e,t,n,r){let i=this.mix(e,t);return delete i.A,n?J.RGB(i,r):Y.RGB(i,r.decimals)},RGBA(e,t,n,r){let i=this.mix(e,t);return n?J.RGB(i,r):Y.RGBA(i,r.decimals)},[T.HSL](e,t,n,r){let i=this.mix(e,t),a=H(i.R,i.G,i.B);return delete i.A,delete a.A,n?J.HSL(a,r):Y.HSL(i,r.decimals)},HSLA(e,t,n,r){let i=this.mix(e,t),a=H(i.R,i.G,i.B,i.A);return n?J.HSL(a,r):Y.HSLA(i,r.decimals)},[T.HWB](e,t,n,r){let i=this.mix(e,t),a=mt(i.R,i.G,i.B);return delete i.A,delete a.A,n?J.HWB(a,r):Y.HWB(i,r.decimals)},HWBA(e,t,n,r){let i=this.mix(e,t),a=mt(i.R,i.G,i.B,i.A);return n?J.HWB(a,r):Y.HWBA(i,r.decimals)},[T.CIELab](e,t,n,r){let i=this.mix(e,t),a=U(i.R,i.G,i.B);return delete i.A,n?J.CIELab(a,r):Y.CIELab(i,r.decimals)},CIELabA(e,t,n,r){let i=this.mix(e,t),a=U(i.R,i.G,i.B);return P(i,`A`)&&(a.A=i.A),n?J.CIELab(a,r):Y.CIELabA(i,r.decimals)},[T.LCH](e,t,n,r){let i=this.mix(e,t),a=ft(i.R,i.G,i.B);return delete i.A,n?J.LCH(a,r):Y.LCH(i,r.decimals)},LCHA(e,t,n,r){let i=this.mix(e,t),a=ft(i.R,i.G,i.B);return P(i,`A`)&&(a.A=i.A),n?J.LCH(a,r):Y.LCHA(i,r.decimals)}},qt=(e,t)=>({R:L(e.R,t),G:L(e.G,t),B:L(e.B,t),...P(e,`A`)?{A:L(e.A,t)}:{}}),X=(e,t,n,r)=>r(K(e,t),n),Jt=(e,t,n,r,i)=>(n<1&&(n=5),((e,t,n)=>{let r=n-1,i=(t.R-e.R)/r,a=(t.G-e.G)/r,o=(t.B-e.B)/r,s=B(e.A),c=(B(t.A)-s)/r;return Array(n).fill(null).map(((n,l)=>l===0?e:l===r?t:{R:L(e.R+i*l),G:L(e.G+a*l),B:L(e.B+o*l),A:L(s+c*l)}))})(K(e),K(t),n).map((e=>i(e,r))));function Z(e){let{from:t,to:n,thirdParameter:r,fourthParameter:i,translateFunction:a,cssFunction:o}=e,s=typeof r==`number`?Jt(t,n,r,i?.decimals,a):Jt(t,n,5,r?.decimals,a);return o?s.map((e=>o(e,q((typeof r==`number`?i:r)??{},t,n)))):s}function Q(e){let{colors:t,secondParameter:n,thirdParameter:r,colorMixerFunction:i,css:a}=e,o=q((typeof n==`string`?r:n)??{},...t);return i(t,typeof n==`string`?n:D.ADDITIVE,a,o)}var Yt=(e,t,n,r)=>({[E.ANALOGOUS]:Gt.buildHarmony(t,Rt,n,r),[E.COMPLEMENTARY]:Gt.buildHarmony(t,zt,n,r),[E.SPLIT_COMPLEMENTARY]:Gt.buildHarmony(t,Bt,n,r),[E.TRIADIC]:Gt.buildHarmony(t,Vt,n,r),[E.TETRADIC]:Gt.buildHarmony(t,Ht,n,r),[E.SQUARE]:Gt.buildHarmony(t,Ut,n,r)})[e],$=Object.fromEntries(Object.entries(Kt).map((e=>{let[t,n]=e;return[t,n.bind(Kt)]}))),Xt=class e{constructor(e,t={}){this._options=q(t,e),this.rgb=K(e),this.update(`rgb`)}update(...e){e.includes(`rgb`)||this.updateRGB(),e.includes(`hsl`)||this.updateHSL(),e.includes(`hwb`)||this.updateHWB(),e.includes(`lab`)||this.updateLAB(),e.includes(`lch`)||this.updateLCH(),e.includes(`cmyk`)||this.updateCMYK()}updateRGB(){this.rgb={...V(this.hsl.H,this.hsl.S,this.hsl.L),A:this.hsl.A}}updateHSL(){this.hsl=H(this.rgb.R,this.rgb.G,this.rgb.B,this.rgb.A)}updateHWB(){this.hwb=mt(this.rgb.R,this.rgb.G,this.rgb.B,this.rgb.A)}updateLAB(){this.lab={...U(this.rgb.R,this.rgb.G,this.rgb.B),A:this.rgb.A}}updateLCH(){this.lch={...ft(this.rgb.R,this.rgb.G,this.rgb.B),A:this.rgb.A}}updateCMYK(){this.cmyk=_t(this.rgb.R,this.rgb.G,this.rgb.B)}updateRGBFromHWB(){this.rgb={...ht(this.hwb.H,this.hwb.W,this.hwb.B),A:this.rgb.A}}updateRGBFromLCH(){this.rgb={...pt(this.lch.L,this.lch.C,this.lch.H),A:this.rgb.A}}updateRGBFromCMYK(){this.rgb={...gt(this.cmyk.C,this.cmyk.M,this.cmyk.Y,this.cmyk.K),A:this.rgb.A}}updateRGBFromLAB(){this.rgb={...lt(this.lab.L,this.lab.a,this.lab.b),A:this.rgb.A}}updateLCHFromLAB(){this.lch={...ut(this.lab.L,this.lab.a,this.lab.b),A:this.lab.A}}updateLABromLCH(){this.lab={...dt(this.lch.L,this.lch.C,this.lch.H),A:this.lch.A}}setOptions(e={}){return this._options={...this._options,...e},this}setR(e){this.rgb.R=R(e,0,S),this.update(`rgb`)}setG(e){return this.rgb.G=R(e,0,S),this.update(`rgb`),this}setB(e){return this.rgb.B=R(e,0,S),this.update(`rgb`),this}setH(e){return this.hsl.H=z(e),this.update(`hsl`),this}setS(e){return this.hsl.S=R(e,0,C),this.update(`hsl`),this}setL(e){return this.hsl.L=R(e,0,C),this.update(`hsl`),this}setWhiteness(e){return this.hwb.W=R(e,0,C),this.updateRGBFromHWB(),this.update(`rgb`,`hwb`),this}setBlackness(e){return this.hwb.B=R(e,0,C),this.updateRGBFromHWB(),this.update(`rgb`,`hwb`),this}setCIEL(e){return this.lab.L=R(e,0,C),this.updateRGBFromLAB(),this.updateLCHFromLAB(),this.update(`rgb`,`lab`,`lch`),this}setCIEa(e){return this.lab.a=R(e,-125,w),this.updateRGBFromLAB(),this.updateLCHFromLAB(),this.update(`rgb`,`lab`,`lch`),this}setCIEb(e){return this.lab.b=R(e,-125,w),this.updateRGBFromLAB(),this.updateLCHFromLAB(),this.update(`rgb`,`lab`,`lch`),this}setLCHL(e){return this.lch.L=R(e,0,C),this.updateRGBFromLCH(),this.updateLABromLCH(),this.update(`rgb`,`lab`,`lch`),this}setLCHC(e){return this.lch.C=R(e,0,ke),this.updateRGBFromLCH(),this.updateLABromLCH(),this.update(`rgb`,`lab`,`lch`),this}setLCHH(e){return this.lch.H=z(e),this.updateRGBFromLCH(),this.updateLABromLCH(),this.update(`rgb`,`lab`,`lch`),this}setA(e){let t=R(e,0,1);return this.rgb.A=t,this.hsl.A=t,this.hwb.A=t,this.lab.A=t,this.lch.A=t,this.cmyk.A=t,this}setC(e){return this.cmyk.C=R(e,0,100),this.updateRGBFromCMYK(),this.update(`cmyk`),this}setM(e){return this.cmyk.M=R(e,0,100),this.updateRGBFromCMYK(),this.update(`cmyk`),this}setY(e){return this.cmyk.Y=R(e,0,100),this.updateRGBFromCMYK(),this.update(`cmyk`),this}setK(e){return this.cmyk.K=R(e,0,100),this.updateRGBFromCMYK(),this.update(`cmyk`),this}get options(){return this._options}get R(){return L(this.rgb.R,this.options.decimals)}get G(){return L(this.rgb.G,this.options.decimals)}get B(){return L(this.rgb.B,this.options.decimals)}get H(){return L(this.hsl.H,this.options.decimals)}get S(){return L(this.hsl.S,this.options.decimals)}get L(){return L(this.hsl.L,this.options.decimals)}get Whiteness(){return L(this.hwb.W,this.options.decimals)}get Blackness(){return L(this.hwb.B,this.options.decimals)}get CIEL(){return L(this.lab.L,this.options.decimals)}get CIEa(){return L(this.lab.a,this.options.decimals)}get CIEb(){return L(this.lab.b,this.options.decimals)}get LCHL(){return L(this.lch.L,this.options.decimals)}get LCHC(){return L(this.lch.C,this.options.decimals)}get LCHH(){return L(this.lch.H,this.options.decimals)}get A(){return L(this.hsl.A,this.options.decimals)}get C(){return L(this.cmyk.C,this.options.decimals)}get M(){return L(this.cmyk.M,this.options.decimals)}get Y(){return L(this.cmyk.Y,this.options.decimals)}get K(){return L(this.cmyk.K,this.options.decimals)}get HEXObject(){return Y.HEX(this.rgb)}get HEXAObject(){return Y.HEXA(this.rgb)}get RGBObject(){return{R:this.R,G:this.G,B:this.B}}get RGBAObject(){return{...this.RGBObject,A:this.A}}get HSLObject(){return{H:this.H,S:this.S,L:this.L}}get HSLAObject(){return{...this.HSLObject,A:this.A}}get HWBObject(){return{H:this.H,W:this.Whiteness,B:this.Blackness}}get HWBAObject(){return{...this.HWBObject,A:this.A}}get CIELabObject(){return{L:this.CIEL,a:this.CIEa,b:this.CIEb}}get CIELabAObject(){return{...this.CIELabObject,A:this.A}}get LCHObject(){return{L:this.LCHL,C:this.LCHC,H:this.LCHH}}get LCHAObject(){return{...this.LCHObject,A:this.A}}get CMYKObject(){return{C:this.C,M:this.M,Y:this.Y,K:this.K}}get CMYKAObject(){return{...this.CMYKObject,A:this.A}}get HEX(){return J.HEX({R:this.R,G:this.G,B:this.B})}get HEXA(){return J.HEX({R:this.R,G:this.G,B:this.B,A:this.A*S})}get RGB(){return J.RGB({R:this.R,G:this.G,B:this.B},this.options)}get RGBA(){return J.RGB({R:this.R,G:this.G,B:this.B,A:this.A},this.options)}get HSL(){return J.HSL({H:this.H,S:this.S,L:this.L},this.options)}get HSLA(){return J.HSL({H:this.H,S:this.S,L:this.L,A:this.A},this.options)}get HWB(){return J.HWB({H:this.H,W:this.Whiteness,B:this.Blackness},this.options)}get HWBA(){return J.HWB({H:this.H,W:this.Whiteness,B:this.Blackness,A:this.A},this.options)}get CIELab(){return J.CIELab({L:this.CIEL,a:this.CIEa,b:this.CIEb},this.options)}get CIELabA(){return J.CIELab({L:this.CIEL,a:this.CIEa,b:this.CIEb,A:this.A},this.options)}get LCH(){return J.LCH({L:this.LCHL,C:this.LCHC,H:this.LCHH},this.options)}get LCHA(){return J.LCH({L:this.LCHL,C:this.LCHC,H:this.LCHH,A:this.A},this.options)}get CMYK(){return J.CMYK({C:this.C,M:this.M,Y:this.Y,K:this.K},this.options)}get CMYKA(){return J.CMYK({C:this.C,M:this.M,Y:this.Y,K:this.K,A:this.A},this.options)}static toHEXObject(e){return X(e,G(e),0,Y.HEX)}static toHEX(t){return J.HEX(e.toHEXObject(t))}static toHEXAObject(e){return X(e,G(e),0,Y.HEXA)}static toHEXA(t){return J.HEX(e.toHEXAObject(t))}static toRGBObject(e,t={}){return X(e,G(e),t.decimals,Y.RGB)}static toRGB(t,n={}){let r=e.toRGBObject(t,n),i=q(n,t);return J.RGB(r,i)}static toRGBAObject(e,t={}){return X(e,G(e),t.decimals,Y.RGBA)}static toRGBA(t,n={}){let r=e.toRGBAObject(t,n),i=q(n,t);return J.RGB(r,i)}static toHSLObject(e,t={}){return X(e,G(e),t.decimals,Y.HSL)}static toHSL(t,n={}){let r=e.toHSLObject(t,n),i=q(n,t);return J.HSL(r,i)}static toHSLAObject(e,t={}){return X(e,G(e),t.decimals,Y.HSLA)}static toHSLA(t,n={}){let r=e.toHSLAObject(t,n),i=q(n,t);return J.HSL(r,i)}static toHWBObject(e,t={}){return X(e,G(e),t.decimals,Y.HWB)}static toHWB(t,n={}){let r=e.toHWBObject(t,n),i=q(n,t);return J.HWB(r,i)}static toHWBAObject(e,t={}){return X(e,G(e),t.decimals,Y.HWBA)}static toHWBA(t,n={}){let r=e.toHWBAObject(t,n),i=q(n,t);return J.HWB(r,i)}static toCIELabObject(e,t={}){return X(e,G(e),t.decimals,Y.CIELab)}static toCIELab(t,n={}){let r=e.toCIELabObject(t,n),i=q(n,t);return J.CIELab(r,i)}static toCIELabAObject(e,t={}){return X(e,G(e),t.decimals,Y.CIELabA)}static toCIELabA(t,n={}){let r=e.toCIELabAObject(t,n),i=q(n,t);return J.CIELab(r,i)}static toLCHObject(e,t={}){return X(e,G(e),t.decimals,Y.LCH)}static toLCH(t,n={}){let r=e.toLCHObject(t,n),i=q(n,t);return J.LCH(r,i)}static toLCHAObject(e,t={}){return X(e,G(e),t.decimals,Y.LCHA)}static toLCHA(t,n={}){let r=e.toLCHAObject(t,n),i=q(n,t);return J.LCH(r,i)}static toCMYKObject(e,t={}){return X(e,G(e),t.decimals,Y.CMYK)}static toCMYK(t,n={}){let r=e.toCMYKObject(t,n),i=q(n,t);return J.CMYK(r,i)}static toCMYKAObject(e,t={}){return X(e,G(e),t.decimals,Y.CMYKA)}static toCMYKA(t,n={}){let r=e.toCMYKAObject(t,n),i=q(n,t);return J.CMYK(r,i)}static getBlendHEXObject(e,t,n=5){return Jt(e,t,n,0,Y.HEX)}static getBlendHEX(t,n,r=5){return e.getBlendHEXObject(t,n,r).map((e=>J.HEX(e)))}static getBlendHEXAObject(e,t,n=5){return Jt(e,t,n,0,Y.HEXA)}static getBlendHEXA(t,n,r=5){return e.getBlendHEXAObject(t,n,r).map((e=>J.HEX(e)))}static getBlendRGBObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.RGB})}static getBlendRGB(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.RGB,cssFunction:J.RGB})}static getBlendRGBAObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.RGBA})}static getBlendRGBA(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.RGBA,cssFunction:J.RGB})}static getBlendHSLObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HSL})}static getBlendHSL(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HSL,cssFunction:J.HSL})}static getBlendHSLAObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HSLA})}static getBlendHSLA(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HSLA,cssFunction:J.HSL})}static getBlendHWBObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HWB})}static getBlendHWB(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HWB,cssFunction:J.HWB})}static getBlendHWBAObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HWBA})}static getBlendHWBA(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.HWBA,cssFunction:J.HWB})}static getBlendCIELabObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.CIELab})}static getBlendCIELab(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.CIELab,cssFunction:J.CIELab})}static getBlendCIELabAObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.CIELabA})}static getBlendCIELabA(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.CIELabA,cssFunction:J.CIELab})}static getBlendLCHObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.LCH})}static getBlendLCH(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.LCH,cssFunction:J.LCH})}static getBlendLCHAObject(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.LCHA})}static getBlendLCHA(e,t,n,r){return Z({from:e,to:t,thirdParameter:n,fourthParameter:r,translateFunction:Y.LCHA,cssFunction:J.LCH})}static getMixHEXObject(e,t=D.ADDITIVE){return Kt.HEX(e,t,!1)}static getMixHEX(e,t=D.ADDITIVE){return Kt.HEX(e,t,!0)}static getMixHEXAObject(e,t=D.ADDITIVE){return Kt.HEXA(e,t,!1)}static getMixHEXA(e,t=D.ADDITIVE){return Kt.HEXA(e,t,!0)}static getMixRGBObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.RGB,css:!1})}static getMixRGB(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.RGB,css:!0})}static getMixRGBAObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.RGBA,css:!1})}static getMixRGBA(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.RGBA,css:!0})}static getMixHSLObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HSL,css:!1})}static getMixHSL(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HSL,css:!0})}static getMixHSLAObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HSLA,css:!1})}static getMixHSLA(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HSLA,css:!0})}static getMixHWBObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HWB,css:!1})}static getMixHWB(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HWB,css:!0})}static getMixHWBAObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HWBA,css:!1})}static getMixHWBA(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.HWBA,css:!0})}static getMixCIELabObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.CIELab,css:!1})}static getMixCIELab(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.CIELab,css:!0})}static getMixCIELabAObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.CIELabA,css:!1})}static getMixCIELabA(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.CIELabA,css:!0})}static getMixLCHObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.LCH,css:!1})}static getMixLCH(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.LCH,css:!0})}static getMixLCHAObject(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.LCHA,css:!1})}static getMixLCHA(e,t,n){return Q({colors:e,secondParameter:t,thirdParameter:n,colorMixerFunction:$.LCHA,css:!0})}static getShades(e,t,n){return typeof t==`number`?Wt(e,t,!0,q(n||{},e)):Wt(e,5,!0,q(t||{},e))}static getTints(e,t,n){return typeof t==`number`?Wt(e,t,!1,q(n||{},e)):Wt(e,5,!1,q(t||{},e))}static getHarmony(e,t,n,r){return`${t}`in E?Yt(t,e,tt(n)?n:D.ADDITIVE,q(tt(n)?r||{}:n||{},e)):tt(t)?Yt(E.COMPLEMENTARY,e,t,q(n||{},e)):Yt(E.COMPLEMENTARY,e,D.ADDITIVE,q(t||{},e))}},Zt={slots:{root:`data-[disabled]:opacity-75`,picker:`flex gap-4`,selector:`rounded-md touch-none`,selectorBackground:`w-full h-full relative rounded-md`,selectorThumb:`-translate-y-1/2 -translate-x-1/2 absolute size-4 ring-2 ring-white rounded-full cursor-pointer data-[disabled]:cursor-not-allowed`,track:`w-[8px] relative rounded-md touch-none`,trackThumb:`absolute transform -translate-y-1/2 -translate-x-[4px] rtl:translate-x-[4px] size-4 rounded-full ring-2 ring-white cursor-pointer data-[disabled]:cursor-not-allowed`},variants:{size:{xs:{selector:`w-38 h-38`,track:`h-38`},sm:{selector:`w-40 h-40`,track:`h-40`},md:{selector:`w-42 h-42`,track:`h-42`},lg:{selector:`w-44 h-44`,track:`h-44`},xl:{selector:`w-46 h-46`,track:`h-46`}}},compoundVariants:[],defaultVariants:{size:`md`}},Qt=[`data-disabled`],$t=[`data-disabled`];function en(e){let t=e.S*(e.L<50?e.L:100-e.L),n=e.L+t/100;return{h:e.H,s:e.L===0?e.S:2*t/n,v:n}}function tn(e){let t=(200-e.s)*e.v/100;return{H:e.h,S:t===0||t===200?0:Math.round(e.s*e.v/(t<=100?t:200-t)),L:t/2}}var nn=Ce({__name:`UColorPicker`,props:h({as:{type:null,required:!1},throttle:{type:Number,required:!1,default:50},disabled:{type:Boolean,required:!1},defaultValue:{type:String,required:!1,default:`#FFFFFF`},format:{type:String,required:!1,default:`hex`},size:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n=ie(`colorPicker`,t),r=f(t,`modelValue`,{type:String}),a=ue(),u=o(()=>b({extend:Zt,...a.ui?.colorPicker||{}})({size:n.size})),p=o({get(){try{return en(new Xt(r.value||n.defaultValue).HSLObject)}catch{return{h:0,s:0,v:100}}},set(e){let t=new Xt(tn(e),{labUnit:`percent`,cmykUnit:`percent`,cmykFunction:`cmyk`});switch(n.format){case`rgb`:r.value=t.RGB;break;case`hsl`:r.value=t.HSL;break;case`cmyk`:r.value=t.CMYK;break;case`lab`:r.value=t.CIELab;break;default:r.value=t.HEX}}});function te(e,t,n=`both`,r={x:0,y:0},a){let o=l(r),s=l(),c=fe(e),u=fe(t);function d(e){if(i(a))return e.preventDefault();let n=i(t);s.value={x:e.clientX-(n?e.clientX-u.left.value+n.scrollLeft:c.left.value),y:e.clientY-(n?e.clientY-u.top.value+n.scrollTop:c.top.value)},f(e)}function f(e){if(!s.value)return;let r=i(t),{x:a,y:c}=o.value;r&&(n===`x`||n===`both`)&&(a=Math.min(Math.max(0,(e.clientX-s.value.x)/r.scrollWidth*100),100)),r&&(n===`y`||n===`both`)&&(c=Math.min(Math.max(0,(e.clientY-s.value.y)/r.scrollHeight*100),100)),o.value={x:a,y:c}}function p(){s.value&&=void 0}return re&&(x(t,`pointerdown`,d),x(window,`pointermove`,f),x(window,`pointerup`,p)),{position:o}}function h(e,t=`left`){return t===`right`?e*100/360:e/100*360}function ne(e){return 100-e}let oe=l(null),se=l(null),ce=l(null),le=l(null),de=o(()=>n.disabled),{position:pe}=te(se,oe,`both`,{x:p.value.s,y:ne(p.value.v)},de),{position:me}=te(le,ce,`y`,{x:0,y:h(p.value.h,`right`)},de),{pause:he,resume:ge}=ae(p,e=>{pe.value={x:e.s,y:ne(e.v)},me.value={x:0,y:h(e.h,`right`)}});y([pe,me],()=>{he(),p.value={h:h(me.value.y),s:pe.value.x,v:ne(pe.value.y)},ee(ge)},{throttle:()=>n.throttle});let _e=o(()=>new Xt(tn({h:h(me.value.y),s:100,v:100})).HEX),ve=o(()=>({backgroundColor:_e.value})),ye=o(()=>({backgroundColor:new Xt(r.value||n.defaultValue).HEX,left:`${pe.value.x}%`,top:`${pe.value.y}%`})),be=o(()=>({backgroundColor:_e.value,top:`${me.value.y}%`}));return(t,r)=>(e(),c(d(v),{as:d(n).as,"data-slot":`root`,class:_(u.value.root({class:[d(n).ui?.root,d(n).class]})),"data-disabled":de.value?!0:void 0},{default:g(()=>[s(`div`,{"data-slot":`picker`,class:_(u.value.picker({class:d(n).ui?.picker}))},[s(`div`,{ref_key:`selectorRef`,ref:oe,"data-slot":`selector`,class:_(u.value.selector({class:d(n).ui?.selector})),style:m(ve.value)},[s(`div`,{"data-slot":`selectorBackground`,class:_(u.value.selectorBackground({class:d(n).ui?.selectorBackground})),"data-color-picker-background":``},[s(`div`,{ref_key:`selectorThumbRef`,ref:se,"data-slot":`selectorThumb`,class:_(u.value.selectorThumb({class:d(n).ui?.selectorThumb})),style:m(ye.value),"data-disabled":de.value?!0:void 0},null,14,Qt)],2)],6),s(`div`,{ref_key:`trackRef`,ref:ce,"data-slot":`track`,class:_(u.value.track({class:d(n).ui?.track})),"data-color-picker-track":``},[s(`div`,{ref_key:`trackThumbRef`,ref:le,"data-slot":`trackThumb`,class:_(u.value.trackThumb({class:d(n).ui?.trackThumb})),style:m(be.value),"data-disabled":de.value?!0:void 0},null,14,$t)],2)],2)]),_:1},8,[`as`,`class`,`data-disabled`]))}},[[`__scopeId`,`data-v-33dd0d17`]]);function rn(e){return new URL(globalThis.location.href)}var an={class:`grid min-h-0 flex-1 xl:grid-cols-[23rem_minmax(0,1fr)]`},on={class:`flex min-h-0 flex-col border-r border-default`},sn={class:`border-b border-default px-5 py-3`},cn={key:0,class:`space-y-7 p-5`},ln={class:`mt-4 grid grid-cols-[7rem_minmax(0,1fr)] items-start gap-4`},un={key:1,class:`space-y-5 p-5`},dn={class:`mt-2 flex items-start gap-2`},fn={class:`min-w-0 flex-1 break-all bg-elevated px-3 py-2 text-[11px] text-muted`},pn={class:`mt-2 flex items-start gap-2`},mn={class:`min-w-0 flex-1 break-all bg-elevated px-3 py-2 text-[11px] text-muted`},hn={class:`relative min-h-[560px]`},gn={key:1,class:`grid h-full min-h-[560px] place-items-center px-6 text-center`},_n=r({__name:`services`,async setup(r){let i,f;Oe({layout:`dashboard`}),ce({title:`地图服务管理`});let ee=Te(),m=Se(),h=rn(),_=l(`osm`),{data:v,refresh:re}=([i,f]=te(()=>le(`/api/map-service/status`,`$q9uYHAZagQ`)),i=await i,f(),i),y=l(),ie=l(v.value?.color||`#2980b9`),ae=l(v.value?.opacity??88),b=l(!1),ue=l(!1),x=l(Date.now()),fe=l(`settings`),Ce=[{label:`参数设置`,value:`settings`,icon:`i-lucide-sliders-horizontal`},{label:`服务信息`,value:`info`,icon:`i-lucide-radio-tower`}];ne(async()=>{await ee.refresh(),S()});function S(){let e=v.value?.file?.filename;y.value=e&&ee.files.value.some(t=>t.filename===e&&t.summary?.state===`completed`)?e:void 0}let C=o(()=>`${h.origin}/services/wms?SERVICE=WMS&REQUEST=GetCapabilities`),w=o(()=>`${h.origin}/services/wmts?SERVICE=WMTS&REQUEST=GetCapabilities`),ke=o(()=>`/services/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=uomtiles&STYLE=default&TILEMATRIXSET=WebMercatorQuad&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image/png`);async function T(e){if(!/\.(uomtiles|mbtiles|pmtiles)$/i.test(e.name)){m.add({title:`不支持的地图文件`,description:`请选择 .uomtiles、.mbtiles 或 .pmtiles。`,color:`error`});return}b.value=!0;try{await oe(`/api/map-service/file`,{method:`POST`,headers:{"x-map-service-filename":encodeURIComponent(e.name),"content-type":`application/octet-stream`},body:e}),await re(),y.value=void 0,x.value=Date.now()}catch(e){m.add({title:`无法打开地图文件`,description:e?.data?.message||e?.message,color:`error`})}finally{b.value=!1}}async function E(e){if(!(e&&!v.value?.file)){ue.value=!0;try{let t=v.value?.enabled;await oe(`/api/map-service/config`,{method:`POST`,body:{enabled:e,color:ie.value,opacity:ae.value}}),await re(),x.value=Date.now(),m.add({title:e?t?`地图服务设置已应用`:`地图服务已启用`:`地图服务已停用`,color:e?`success`:`neutral`,icon:e?`i-lucide-radio-tower`:`i-lucide-circle-stop`})}catch(e){m.add({title:`地图服务配置失败`,description:e?.data?.message||e?.message,color:`error`})}finally{ue.value=!1}}}async function D(){if(y.value){b.value=!0;try{await oe(`/api/map-service/source`,{method:`POST`,body:{filename:y.value}}),await re(),S(),x.value=Date.now(),m.add({title:`服务文件已替换`,color:`success`,icon:`i-lucide-file-check-2`})}catch(e){m.add({title:`无法选择服务文件`,description:e?.data?.message||e?.message,color:`error`})}finally{b.value=!1}}}async function Ae(e,t){await navigator.clipboard.writeText(e),m.add({title:`${t} 地址已复制`,color:`success`,icon:`i-lucide-copy-check`})}return(r,i)=>{let o=ve,l=se,f=_e,te=me,m=de,h=nn,ne=we,re=xe,oe=be,ce=pe,le=ge,Se=he,Te=De,Oe=Ee,S=ye;return e(),c(S,{id:`map-services`,class:`min-w-0`,ui:{body:`gap-0 overflow-hidden p-0 sm:gap-0 sm:p-0`}},{header:g(()=>[u(f,{title:`地图服务管理`},{right:g(()=>[u(o,{modelValue:d(_),"onUpdate:modelValue":i[0]||=e=>t(_)?_.value=e:null},null,8,[`modelValue`]),u(l,{icon:d(v)?.enabled?`i-lucide-circle-stop`:`i-lucide-radio-tower`,label:d(v)?.enabled?`停用服务`:`启用服务`,color:d(v)?.enabled?`error`:`primary`,variant:d(v)?.enabled?`soft`:`solid`,disabled:!d(v)?.enabled&&!d(v)?.file,loading:d(ue),onClick:i[1]||=e=>E(!d(v)?.enabled)},null,8,[`icon`,`label`,`color`,`variant`,`disabled`,`loading`])]),_:1})]),body:g(()=>[s(`div`,an,[s(`aside`,on,[s(`div`,sn,[u(o,{modelValue:d(fe),"onUpdate:modelValue":i[2]||=e=>t(fe)?fe.value=e:null,items:Ce},null,8,[`modelValue`])]),u(Se,{class:`min-h-0 flex-1`},{default:g(()=>[d(fe)===`settings`?(e(),a(`div`,cn,[s(`section`,null,[i[10]||=s(`h2`,{class:`text-sm font-semibold text-highlighted`},`服务文件`,-1),u(te,{class:`mt-3`,accept:`.uomtiles,.mbtiles,.pmtiles`,title:`上传并替换服务文件`,"file-name":d(v)?.file?d(ee).displayWorkspaceName(d(v).file.filename):void 0,pending:d(b),onSelect:T},null,8,[`file-name`,`pending`]),u(m,{modelValue:d(y),"onUpdate:modelValue":i[3]||=e=>t(y)?y.value=e:null,class:`mt-3 w-full`},null,8,[`modelValue`]),u(l,{class:`mt-2`,icon:`i-lucide-copy`,label:`使用此任务文件`,color:`neutral`,variant:`outline`,block:``,disabled:!d(y)||d(b),loading:d(b),onClick:D},null,8,[`disabled`,`loading`])]),s(`section`,null,[i[11]||=s(`h2`,{class:`text-sm font-semibold text-highlighted`},`输出样式`,-1),s(`div`,ln,[u(h,{modelValue:d(ie),"onUpdate:modelValue":i[4]||=e=>t(ie)?ie.value=e:null,size:`sm`},null,8,[`modelValue`]),u(re,{label:`区域颜色`},{default:g(()=>[u(ne,{modelValue:d(ie),"onUpdate:modelValue":i[5]||=e=>t(ie)?ie.value=e:null,class:`w-full`},null,8,[`modelValue`])]),_:1})]),u(re,{class:`mt-5`,label:`透明度 ${d(ae)}%`},{default:g(()=>[u(oe,{modelValue:d(ae),"onUpdate:modelValue":i[6]||=e=>t(ae)?ae.value=e:null,min:0,max:100,step:1},null,8,[`modelValue`])]),_:1},8,[`label`]),d(v)?.enabled?(e(),c(l,{key:0,class:`mt-5`,icon:`i-lucide-check`,label:`应用设置`,block:``,loading:d(ue),onClick:i[7]||=e=>E(!0)},null,8,[`loading`])):n(``,!0)])])):(e(),a(`div`,un,[d(v)?.enabled?n(``,!0):(e(),c(ce,{key:0,color:`neutral`,icon:`i-lucide-info`,title:`服务尚未启用`})),s(`section`,null,[i[12]||=s(`h2`,{class:`text-sm font-semibold text-highlighted`},`WMS 1.3.0`,-1),s(`div`,dn,[s(`code`,fn,p(d(C)),1),u(le,{text:`复制 WMS 地址`},{default:g(()=>[u(l,{icon:`i-lucide-copy`,color:`neutral`,variant:`ghost`,size:`sm`,"aria-label":`复制 WMS 地址`,onClick:i[8]||=e=>Ae(d(C),`WMS`)})]),_:1})])]),s(`section`,null,[i[13]||=s(`h2`,{class:`text-sm font-semibold text-highlighted`},`WMTS 1.0.0`,-1),s(`div`,pn,[s(`code`,mn,p(d(w)),1),u(le,{text:`复制 WMTS 地址`},{default:g(()=>[u(l,{icon:`i-lucide-copy`,color:`neutral`,variant:`ghost`,size:`sm`,"aria-label":`复制 WMTS 地址`,onClick:i[9]||=e=>Ae(d(w),`WMTS`)})]),_:1})])])]))]),_:1})]),s(`div`,hn,[d(v)?.enabled?(e(),c(Te,{key:d(x),"tile-url":d(ke),"base-map":d(_),"min-zoom":0,"max-zoom":18,"map-min-zoom":3,"map-max-zoom":18,"initial-zoom":9,center:[116.4,39.9],"raster-opacity":1,"refresh-version":d(x)},null,8,[`tile-url`,`base-map`,`refresh-version`])):(e(),a(`div`,gn,[u(Oe,{icon:`i-lucide-radio-tower`,title:`地图服务尚未启用`})]))])])]),_:1})}}});export{_n as default};
|